/* ================================================================
   Aizora — Glassmorphism Design System (Agentova-inspired)
   ================================================================ */

/* ─── FONT FACES ─────────────────────────────────────────── */
@font-face {
  font-family: 'Chillax';
  src: url('../fonts/Chillax-Variable.woff2') format('woff2'),
       url('../fonts/Chillax-Variable.woff') format('woff');
  font-weight: 200 700;
  font-display: swap;
  font-style: normal;
}
/* Syne loaded via Google Fonts <link> in index.html */

/* ─── DESIGN TOKENS ──────────────────────────────────────── */
:root {
  /* Brand */
  --indigo: #7130F0;
  --indigo-light: #9060f5;
  --indigo-dark: #5a20d0;
  --cyan: #72f9ff;
  --cyan-light: #a0fbff;
  --callie: #F5A7F5;

  /* Surfaces */
  --bg: #08090A;
  --bg2: #0d0e10;
  --surface: rgba(255,255,255,0.03);
  --surface-md: rgba(255,255,255,0.05);
  --surface-lt: rgba(255,255,255,0.02);

  /* Text */
  --text: #e8eaed;
  --text-muted: #8b8f96;
  --bleu-blanc: #F3F5FF;

  /* Borders */
  --border: rgba(255,255,255,0.06);
  --border-hover: rgba(255,255,255,0.12);
  --border-accent: rgba(113,48,240,0.25);

  /* Glass */
  --glass-bg: rgba(255,255,255,0.03);
  --glass-bg-hover: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.08);
  --glass-shadow: 0 0 15px rgba(255,255,255,0.02) inset;
  /* backdrop-filter only on navbar/mobile-menu — too expensive on many cards */

  /* Shadows */
  --sh-sm: 0 2px 8px rgba(0,0,0,0.3);
  --sh-md: 0 8px 32px rgba(0,0,0,0.4);
  --sh-btn: 0 4px 24px rgba(113,48,240,0.15);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Spacing */
  --section-pad: 8rem 6%;

  /* Transitions */
  --duration: 0.3s;
  --duration-s: 0.15s;
  --ease: cubic-bezier(0.34,1,0.64,1);
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Chillax', sans-serif;
  background:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px),
    var(--bg);
  background-size: 80px 80px;
  background-attachment: fixed;
  color: var(--text);
  overflow-x: hidden;
  cursor: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Fade grid at edges */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 50% 50%, transparent 30%, var(--bg) 80%);
  pointer-events: none;
  z-index: 0;
}

*, *::before, *::after,
a, a:hover, a:focus,
button, select, label,
input[type="submit"], input[type="button"],
.hamburger, .nav-links a, .tab-btn, .sim-tab,
.pricing-btn, .toggle-label, .submit-btn {
  cursor: none !important;
}

/* ─── GRAIN OVERLAY ──────────────────────────────────────── */
.grain-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.03;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUAAAAAAAAAAAAAAAAAAAAAAADgKxmiAAAABnRSTlMFCA0RFRkMi0ZIAAAASUlEQVQ4y2MYBaNgGAMTJ05kYJw4kQEIGCdOBNKMQMw4EUgDMRMDA+NEBgYGBkYGBiDNxMjAwMDExMDAwMDMBKSZmRkYBgEAL0oIBXtGpbEAAAAASUVORK5CYII=");
  background-repeat: repeat;
}

/* ─── UTILITY ────────────────────────────────────────────── */
.container {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* ─── CUSTOM CURSOR ──────────────────────────────────────── */
#cursor {
  width: 10px; height: 10px;
  background: var(--cyan);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transition: transform var(--duration-s) ease, width 0.2s, height 0.2s, background 0.2s;
  transform: translate(-50%, -50%);
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(114,249,255,0.3);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: all 0.08s ease;
}
body:has(a:hover) #cursor,
body:has(button:hover) #cursor { transform: translate(-50%,-50%) scale(2.5); background: var(--indigo); }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: rgba(113,48,240,0.4); border-radius: 2px; }

/* ─── NAVBAR ─────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 6%;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(8,9,10,0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}
nav.scrolled {
  background: rgba(8,9,10,0.9);
  border-bottom-color: var(--border-hover);
  box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
}
.nav-logo img { width: 140px; height: auto; }

.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.88rem; font-weight: 500;
  transition: color var(--duration);
  position: relative;
  letter-spacing: 0.01em;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -6px; left: 0; right: 0;
  height: 2px; background: var(--cyan);
  transform: scaleX(0); transition: transform 0.25s var(--ease);
  border-radius: 1px;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-ctas { display: flex; align-items: center; gap: 1rem; }

.nav-cta {
  color: var(--text); border: none;
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.85rem;
  cursor: none; transition: all var(--duration);
  text-decoration: none; letter-spacing: 0.01em;
  display: inline-flex; align-items: center; gap: 0.5rem;
}

.nav-cta--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.nav-cta--ghost:hover {
  border-color: var(--border-hover);
  color: #fff;
  background: var(--glass-bg);
}

.nav-cta--primary {
  background: #fff;
  color: #08090A;
}
.nav-cta--primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: var(--sh-btn);
}
.nav-cta--primary svg { transition: transform var(--duration); }
.nav-cta--primary:hover svg { transform: translateX(3px); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: none; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* ─── MOBILE MENU ────────────────────────────────────────── */
.mobile-menu {
  position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
  background: rgba(8,9,10,0.95);
  backdrop-filter: blur(30px);
  z-index: 999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2rem;
  transform: translateX(100%);
  transition: transform 0.35s var(--ease);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a:not(.btn-primary) {
  color: var(--text); text-decoration: none;
  font-size: 1.4rem; font-weight: 600;
  transition: color 0.2s;
}
.mobile-menu a:not(.btn-primary):hover { color: var(--cyan); }

/* ─── HERO ───────────────────────────────────────────────── */
#hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
#hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 250px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 1; pointer-events: none;
}

#heroCanvas {
  position: absolute; inset: 0; z-index: 0;
  will-change: transform; transform: translateZ(0);
}

/* Hero center glow (Agentova style — wide spread) */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 45%, rgba(113,48,240,0.22), transparent),
    radial-gradient(ellipse 40% 40% at 30% 40%, rgba(114,249,255,0.10), transparent),
    radial-gradient(ellipse 40% 40% at 70% 55%, rgba(245,167,245,0.08), transparent);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 860px; padding: 0 2rem;
  padding-top: 72px;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.45rem 1.2rem; border-radius: 50px;
  font-size: 0.78rem; color: var(--text-muted);
  margin-bottom: 2.5rem;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34,197,94,0.6);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.4} }

h1 {
  font-family: 'Syne', 'Chillax', serif;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 400; line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: #fff;
}

.gradient-text {
  background: linear-gradient(135deg, var(--indigo-light), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted); max-width: 560px;
  margin: 0 auto 3rem; line-height: 1.8;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 2.5rem; justify-content: center; align-items: center;
  margin-top: 4.5rem; flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 1.8rem; font-weight: 700;
  color: #fff;
}
.hero-stat .label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.3rem; letter-spacing: 0.04em; text-transform: uppercase; }

.divider-v {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, transparent, var(--border-hover), transparent);
}

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-primary {
  background: #fff;
  color: #08090A; padding: 0.9rem 2rem;
  border: none; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.95rem;
  cursor: none; transition: all var(--duration);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 24px rgba(255,255,255,0.08);
}
.btn-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 32px rgba(255,255,255,0.15);
}
.btn-primary:active { transform: scale(0.97); }
.btn-primary svg { transition: transform var(--duration); }
.btn-primary:hover svg { transform: translateX(3px); }

.btn-ghost {
  background: transparent; color: var(--text-muted);
  padding: 0.9rem 2rem; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  cursor: none; transition: all var(--duration);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-ghost:hover { border-color: var(--border-hover); color: #fff; background: var(--glass-bg); }

.btn-glass {
  background: rgba(255,255,255,0.05);
  color: var(--text); padding: 0.9rem 2rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  cursor: none; transition: all var(--duration);
  text-decoration: none; display: inline-flex; align-items: center; gap: 0.5rem;
}
.btn-glass:hover { background: var(--glass-bg-hover); border-color: var(--border-hover); color: #fff; }

/* ─── SECTIONS ───────────────────────────────────────────── */
section {
  padding: var(--section-pad);
  position: relative;
  overflow: hidden;
}

/* Ambient light spots — random per section */
#pain {
  background:
    radial-gradient(circle 500px at 80% 50%, rgba(113,48,240,0.16), transparent),
    radial-gradient(circle 350px at 10% 40%, rgba(114,249,255,0.12), transparent),
    radial-gradient(circle 200px at 45% 60%, rgba(245,167,245,0.08), transparent);
}
#services {
  background:
    radial-gradient(circle 450px at 8% 45%, rgba(245,167,245,0.12), transparent),
    radial-gradient(circle 500px at 78% 55%, rgba(113,48,240,0.16), transparent),
    radial-gradient(circle 250px at 50% 35%, rgba(114,249,255,0.09), transparent);
}
#simulateurs {
  background:
    radial-gradient(circle 500px at 88% 45%, rgba(113,48,240,0.15), transparent),
    radial-gradient(circle 400px at 15% 50%, rgba(114,249,255,0.12), transparent),
    radial-gradient(circle 200px at 55% 40%, rgba(245,167,245,0.07), transparent);
}
#trust {
  background:
    radial-gradient(circle 500px at 22% 45%, rgba(114,249,255,0.14), transparent),
    radial-gradient(circle 400px at 82% 55%, rgba(245,167,245,0.10), transparent),
    radial-gradient(circle 300px at 55% 40%, rgba(113,48,240,0.12), transparent);
}
#pricing {
  background:
    radial-gradient(circle 550px at 85% 50%, rgba(113,48,240,0.18), transparent),
    radial-gradient(circle 400px at 8% 45%, rgba(114,249,255,0.12), transparent),
    radial-gradient(circle 250px at 40% 55%, rgba(245,167,245,0.08), transparent);
}
#contact {
  background:
    radial-gradient(circle 500px at 12% 50%, rgba(113,48,240,0.15), transparent),
    radial-gradient(circle 400px at 82% 45%, rgba(114,249,255,0.13), transparent),
    radial-gradient(circle 250px at 50% 55%, rgba(245,167,245,0.07), transparent);
}
footer {
  background:
    radial-gradient(circle 400px at 72% 50%, rgba(113,48,240,0.12), transparent),
    radial-gradient(circle 300px at 20% 45%, rgba(114,249,255,0.08), transparent),
    var(--bg);
}

.section-tag {
  display: inline-block;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-muted); padding: 0.35rem 1rem;
  border-radius: 50px; font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.section-title {
  font-family: 'Syne', 'Chillax', serif;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 400; line-height: 1.2;
  margin-bottom: 1rem;
  color: #fff;
}

.section-sub {
  font-size: 1.05rem; color: var(--text-muted);
  max-width: 560px; line-height: 1.7;
  margin-bottom: 3.5rem;
}

.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* ─── GLASS CARD (core component) ────────────────────────── */
.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--duration), background var(--duration);
  position: relative;
}
.glass-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 40%);
  pointer-events: none;
}
.glass-card:hover {
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
}

/* ─── SECTION DIVIDER ────────────────────────────────────── */
.section-divider {
  display: none;
}

/* ─── PAIN POINTS — Diagnostic rows ─────────────────────── */
.pain-list {
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1.5rem;
  width: 100%;
}


.pain-item {
  display: grid;
  grid-template-columns: 96px 1fr 200px;
  gap: 2.5rem;
  padding: 2.25rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  align-items: center;
  transition: background var(--duration);
}
.pain-item:last-child { border-bottom: none; }
.pain-item:hover { background: rgba(113,48,240,0.03); }

.pain-num {
  font-family: 'Syne', sans-serif;
  font-size: 3rem; font-weight: 800; line-height: 1;
  color: rgba(255,255,255,0.05);
  user-select: none;
  transition: color var(--duration);
  white-space: nowrap;
  overflow: hidden;
}
.pain-item:hover .pain-num { color: rgba(113,48,240,0.18); }

.pain-content { min-width: 0; overflow-wrap: break-word; word-break: break-word; }
.pain-tag {
  display: inline-block;
  font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.2rem 0.65rem; border-radius: 999px;
  margin-bottom: 0.6rem;
}
.pain-tag--red    { background: rgba(239,68,68,0.1);  color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.pain-tag--orange { background: rgba(249,115,22,0.1); color: #fb923c; border: 1px solid rgba(249,115,22,0.2); }
.pain-tag--yellow { background: rgba(234,179,8,0.1);  color: #facc15; border: 1px solid rgba(234,179,8,0.25); }
.pain-tag--indigo { background: rgba(113,48,240,0.1); color: var(--indigo-light); border: 1px solid rgba(113,48,240,0.2); }

.pain-content h3 { font-size: 0.97rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; line-height: 1.4; }
.pain-content p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.7; }

.pain-impact {
  display: flex; flex-direction: column; align-items: flex-end;
  text-align: right; flex-shrink: 0;
}
.pain-impact-label {
  font-size: 0.62rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.pain-impact-value {
  font-size: 0.9rem; font-weight: 700;
  color: #fff; line-height: 1.3;
}

.pain-cta {
  display: flex; align-items: center;
  justify-content: space-between; gap: 1.5rem;
  padding: 1.75rem 2rem;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
}
.pain-cta p { font-size: 0.92rem; color: var(--text-muted); flex: 1; }

/* ─── SERVICES ───────────────────────────────────────────── */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card { padding: 2.5rem; }

.service-icon {
  font-size: 1.5rem; margin-bottom: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(113,48,240,0.1);
  border: 1px solid rgba(113,48,240,0.15);
  color: var(--cyan);
}

.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; color: #fff; }
.service-card p  { color: var(--text-muted); line-height: 1.7; font-size: 0.9rem; }

.service-tags {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-top: 1.5rem;
}
.service-tag {
  background: var(--glass-bg); border: 1px solid var(--border);
  color: var(--text-muted); padding: 0.25rem 0.75rem;
  border-radius: 50px; font-size: 0.72rem; letter-spacing: 0.01em;
}
.service-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1rem; font-size: 0.82rem; font-weight: 600;
  color: var(--cyan); text-decoration: none;
  transition: all var(--duration);
}
.service-link svg { transition: transform var(--duration); }
.service-link:hover svg { transform: translateX(3px); }
.service-link:hover { color: var(--cyan-light); }

/* ─── PORTFOLIO ──────────────────────────────────────────── */
#portfolio-home-section { padding: var(--section-pad); }
#portfolio-home-section .container { max-width: 1140px; margin: 0 auto; }

.portfolio-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 3rem;
}
.portfolio-grid--home {
  grid-template-columns: repeat(2, 1fr);
}

.portfolio-home-cta {
  margin-top: 3rem;
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

.portfolio-card {
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color var(--duration);
}
.portfolio-card:hover { border-color: rgba(113,48,240,0.3); }

.portfolio-img {
  aspect-ratio: 16/9; overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  background: var(--surface);
}
.portfolio-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s var(--ease);
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.03); }

.portfolio-content { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; gap: 0.6rem; }
.portfolio-content h3 { font-size: 1.1rem; font-weight: 700; color: #fff; }
.portfolio-content p  { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; flex: 1; }

.portfolio-cat-badge {
  display: inline-block;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--cyan); background: rgba(114,249,255,0.06);
  border: 1px solid rgba(114,249,255,0.15); border-radius: 50px;
  padding: 0.2rem 0.65rem;
}

/* Portfolio page hero */
.portfolio-page-hero {
  padding: calc(var(--section-pad) + 2rem) 6%;
  text-align: center;
}

/* Portfolio page filters */
.portfolio-filters-bar {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 2rem;
}
.portfolio-filter-btn {
  padding: 0.5rem 1.1rem; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; cursor: none;
  border: 1px solid var(--border); background: transparent; color: var(--text-muted);
  transition: all var(--duration);
}
.portfolio-filter-btn:hover  { border-color: var(--border-hover); color: #fff; }
.portfolio-filter-btn.active {
  background: #fff; border-color: #fff; color: #08090A;
}

.portfolio-empty {
  grid-column: 1 / -1; text-align: center;
  color: var(--text-muted); padding: 4rem 0; font-size: 0.9rem;
}

.portfolio-loading {
  grid-column: 1 / -1; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
  color: var(--text-muted); padding: 4rem 0;
}

/* Portfolio CTA card */
.portfolio-cta-card {
  padding: 4rem 3rem; text-align: center;
}
.portfolio-cta-card h2 { font-size: 2rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.portfolio-cta-card p  { color: var(--text-muted); font-size: 1rem; }

/* ─── PRICING PACKS ──────────────────────────────────────── */
.pricing-packs {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; align-items: stretch; width: 100%;
  margin-top: 3rem;
}

.pricing-pack {
  padding: 2rem 1.75rem; display: flex; flex-direction: column;
  position: relative; transition: border-color var(--duration), transform var(--duration);
}
.pricing-pack:hover { border-color: rgba(113,48,240,0.25); }

.pricing-pack--featured {
  border-color: rgba(113,48,240,0.5);
  background: linear-gradient(145deg, rgba(113,48,240,0.08) 0%, var(--card) 60%);
  transform: translateY(-6px);
  box-shadow: 0 8px 40px rgba(113,48,240,0.15);
}
.pricing-pack--featured:hover { border-color: rgba(113,48,240,0.7); }

.pack-badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--indigo), #9b59f5);
  color: #fff; font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.3rem 1rem; border-radius: 999px;
  white-space: nowrap;
}

.pack-header { margin-bottom: 1.5rem; }
.pack-header h3 { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 0.4rem; }
.pack-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; }

.pack-price {
  margin-bottom: 1.75rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.pack-from { display: block; font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem; }
.pack-amount {
  font-size: 1.9rem; font-weight: 800; color: #fff; line-height: 1;
}
.pricing-pack--featured .pack-amount {
  background: linear-gradient(135deg, var(--indigo-light), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.pack-currency { font-size: 1.1rem; font-weight: 600; }

.pack-features {
  list-style: none; flex: 1; margin-bottom: 1.75rem;
  display: flex; flex-direction: column; gap: 0.65rem;
}
.pack-features li {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.83rem; color: var(--text-muted);
}
.pack-features li .fa-check { color: var(--cyan); font-size: 0.7rem; flex-shrink: 0; }

/* ─── FLOATING DEVIS BUBBLE ─────────────────────────────── */
.devis-bubble {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.25rem 0.75rem 0.9rem;
  background: var(--indigo);
  color: #fff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-family: 'Chillax Variable', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(113,48,240,0.45);
  transition: background var(--duration), box-shadow var(--duration), transform var(--duration);
}
.devis-bubble:hover {
  background: #8a4af7;
  box-shadow: 0 12px 40px rgba(113,48,240,0.6);
  transform: translateY(-2px);
}
.devis-bubble:active { transform: scale(0.97); }

.devis-bubble__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Ping animation dot */
.devis-bubble__ping {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: var(--cyan);
  border-radius: 50%;
}
.devis-bubble__ping::before {
  content: '';
  position: absolute;
  inset: -3px;
  background: var(--cyan);
  border-radius: 50%;
  opacity: 0.5;
  animation: bubblePing 2s ease-out infinite;
}
@keyframes bubblePing {
  0%   { transform: scale(1); opacity: 0.5; }
  70%  { transform: scale(2.2); opacity: 0; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Hide bubble when devis panel is open */
body.devis-open .devis-bubble { opacity: 0; pointer-events: none; transition: opacity 0.2s; }

/* ─── DEVIS PANEL ────────────────────────────────────────── */
.devis-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.devis-overlay.open { opacity: 1; pointer-events: auto; }

.devis-panel {
  position: fixed; top: 0; right: 0;
  width: 520px; max-width: 100vw; height: 100vh;
  background: var(--bg2);
  border-left: 1px solid var(--border);
  z-index: 1001; display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow: hidden;
}
.devis-panel.open { transform: translateX(0); }

.devis-header {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 1.75rem 1.75rem 1.25rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.devis-header h3 { font-size: 1.2rem; font-weight: 700; color: #fff; }
.devis-subtitle  { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; }

.devis-close {
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); width: 32px; height: 32px; border-radius: 8px;
  font-size: 1.1rem; cursor: none; display: flex; align-items: center; justify-content: center;
  transition: all var(--duration); flex-shrink: 0;
}
.devis-close:hover { border-color: var(--border-hover); color: #fff; }

.devis-body {
  flex: 1; overflow-y: auto; padding: 1.75rem;
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,0.06) transparent;
}
.devis-body::-webkit-scrollbar { width: 4px; }
.devis-body::-webkit-scrollbar-track { background: transparent; }
.devis-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.06); border-radius: 4px; }

/* Devis form */
.devis-form { display: flex; flex-direction: column; gap: 2rem; }
.devis-step { display: flex; flex-direction: column; gap: 0.75rem; }
.devis-step-label {
  font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
}

.devis-type-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem;
}
.devis-type-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
  padding: 0.75rem 0.5rem; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.72rem; font-weight: 600; text-align: center;
  cursor: none; transition: all 0.2s;
}
.devis-type-btn i { font-size: 1rem; color: var(--text-muted); transition: color 0.2s; }
.devis-type-btn:hover { border-color: var(--border-hover); color: #fff; }
.devis-type-btn:hover i { color: var(--cyan); }
.devis-type-btn.active {
  border-color: rgba(113,48,240,0.5); background: rgba(113,48,240,0.08);
  color: #fff;
}
.devis-type-btn.active i { color: var(--cyan); }

.devis-textarea,
.devis-select {
  width: 100%; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.9rem 1rem;
  color: var(--text); font-family: inherit; font-size: 0.88rem;
  outline: none; transition: border-color 0.2s; resize: vertical;
}
.devis-textarea:focus,
.devis-select:focus { border-color: rgba(255,255,255,0.2); }
.devis-select { appearance: none; cursor: none; }
.devis-select option { background: #111219; }

.btn-devis-submit {
  width: 100%; padding: 1rem;
  background: #fff; color: #08090A; border: none;
  border-radius: var(--radius-sm); font-weight: 700; font-size: 0.95rem;
  cursor: none; transition: all var(--duration);
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  box-shadow: 0 4px 24px rgba(255,255,255,0.08);
}
.btn-devis-submit:hover { background: rgba(255,255,255,0.9); }

.devis-legal { font-size: 0.72rem; color: var(--text-muted); text-align: center; line-height: 1.5; }
.devis-hint  { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.4rem; }
.devis-error { font-size: 0.78rem; color: #ef4444; margin-top: 0.25rem; }

.btn-devis-submit.disabled { opacity: 0.45; cursor: not-allowed; pointer-events: none; }

/* Devis Q&A clarification */
.devis-clarif { display: flex; flex-direction: column; gap: 1.5rem; }

.devis-clarif-intro {
  display: flex; align-items: flex-start; gap: 0.9rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem 1.25rem;
}
.devis-clarif-intro > i { font-size: 1.2rem; color: var(--indigo-light); flex-shrink: 0; margin-top: 0.1rem; }
.devis-clarif-title { font-weight: 700; font-size: 0.95rem; color: #fff; margin-bottom: 0.2rem; }
.devis-clarif-sub   { font-size: 0.78rem; color: var(--text-muted); }

.devis-questions { display: flex; flex-direction: column; gap: 1.25rem; }

.devis-q-block {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}
.devis-q-block:last-child { border-bottom: none; padding-bottom: 0; }

.devis-q-label { font-size: 0.88rem; font-weight: 600; color: #fff; margin-bottom: 0.75rem; }
.devis-q-multi { font-size: 0.72rem; font-weight: 400; color: var(--text-muted); }

.devis-q-options { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.devis-q-btn {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.45rem 1rem;
  font-size: 0.82rem; color: var(--text-muted);
  cursor: none; transition: border-color var(--duration), background var(--duration), color var(--duration);
  font-family: inherit;
}
.devis-q-btn:hover { border-color: rgba(113,48,240,0.35); color: #fff; }
.devis-q-btn.active {
  border-color: rgba(113,48,240,0.6);
  background: rgba(113,48,240,0.12);
  color: #fff;
}

.devis-scope { padding: 0; }

/* Devis loading */
.devis-loading {
  display: flex; flex-direction: column; align-items: center; gap: 1.25rem;
  padding: 4rem 0; text-align: center; color: var(--text-muted);
}
.devis-loading-sub { font-size: 0.78rem; }

/* 3-dot bouncing loader */
.devis-dots { display: flex; gap: 0.5rem; justify-content: center; align-items: center; }
.devis-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  animation: devisBounce 1.4s infinite ease-in-out both;
}
.devis-dots span:nth-child(1) { background: var(--indigo);  animation-delay: -0.32s; }
.devis-dots span:nth-child(2) { background: var(--callie);  animation-delay: -0.16s; }
.devis-dots span:nth-child(3) { background: var(--cyan);    animation-delay: 0s; }
@keyframes devisBounce {
  0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
  40%           { transform: scale(1); opacity: 1; }
}

/* Keep spinner class for any legacy usage */
.devis-spinner {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.06);
  border-top-color: var(--indigo-light);
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Devis result */
.devis-result { display: flex; flex-direction: column; gap: 1.5rem; }

.devis-result-header {
  display: flex; align-items: center; gap: 1rem;
}
.devis-result-icon { font-size: 1.5rem; color: var(--cyan); }
.devis-result-header h4 { font-size: 1.1rem; font-weight: 700; color: #fff; }
.devis-result-type { font-size: 0.78rem; color: var(--text-muted); }

.devis-price-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.devis-price-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.25rem 1rem; text-align: center;
}
.devis-price-label { font-size: 0.72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; display: block; margin-bottom: 0.4rem; }
.devis-price-value {
  font-size: 1.3rem; font-weight: 700;
  background: linear-gradient(135deg, var(--indigo-light), var(--cyan));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.devis-scope-title { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.75rem; }
.devis-scope-list { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.devis-scope-list li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); }
.devis-scope-list li .fa-check { color: var(--cyan); font-size: 0.7rem; }

.devis-reco {
  display: flex; gap: 0.75rem; padding: 1rem 1.25rem;
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.6;
}
.devis-reco .fa-lightbulb { color: #fbbf24; font-size: 0.9rem; flex-shrink: 0; margin-top: 0.1rem; }

.devis-launch-title {
  font-size: 1rem; font-weight: 700; color: #fff;
  font-family: 'Syne', sans-serif;
}
.devis-lead-divider {
  display: flex; align-items: center; gap: 0.75rem;
  color: var(--text-muted); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
}
.devis-lead-divider::before,
.devis-lead-divider::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}

.devis-result-ctas { display: flex; gap: 0.65rem; }
.devis-result-ctas .btn-primary,
.devis-result-ctas .btn-whatsapp {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1rem; border-radius: var(--radius-sm); font-weight: 600; font-size: 0.88rem;
  text-decoration: none; transition: all var(--duration); border: none; cursor: none;
  flex: 1;
}
.devis-result-ctas .btn-primary { background: #fff; color: #08090A; }
.devis-result-ctas .btn-primary:hover { background: rgba(255,255,255,0.9); }
.devis-result-ctas .btn-whatsapp { background: #22c55e; color: #fff; flex: 0 0 auto; padding: 0.85rem 1.1rem; }
.devis-result-ctas .btn-whatsapp:hover { background: #16a34a; }

.devis-restart {
  background: transparent; border: none; color: var(--text-muted);
  font-size: 0.8rem; cursor: none; display: flex; align-items: center; gap: 0.4rem;
  padding: 0.25rem 0; transition: color var(--duration);
}
.devis-restart:hover { color: #fff; }

/* Devis lead capture */
.devis-lead-form {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1.25rem;
  display: flex; flex-direction: column; gap: 0.75rem;
}
.devis-lead-title { font-size: 0.92rem; font-weight: 700; color: #fff; display: flex; align-items: center; gap: 0.5rem; }
.devis-lead-title i { color: var(--indigo-light); }
.devis-lead-sub { font-size: 0.75rem; color: var(--text-muted); }
.devis-input {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.7rem 0.9rem;
  color: #fff; font-size: 0.85rem; font-family: inherit;
  transition: border-color var(--duration); outline: none;
  box-sizing: border-box;
}
.devis-input:focus { border-color: rgba(113,48,240,0.5); }
.devis-input::placeholder { color: var(--text-muted); }
.devis-lead-skip { text-align: center; font-size: 0.75rem; }
.devis-lead-skip a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 3px; }
.devis-lead-skip a:hover { color: #fff; }
.devis-lead-success {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1rem; background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25); border-radius: var(--radius-sm);
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
}
.devis-lead-success i { color: #22c55e; font-size: 1rem; flex-shrink: 0; margin-top: 0.1rem; }
.devis-lead-success strong { color: #fff; }

/* ─── TRUST ──────────────────────────────────────────────── */
.counters-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
}
.counter-box {
  text-align: center; padding: 2.5rem 1.5rem;
}
.counter-num {
  font-size: 2.8rem; font-weight: 700;
  color: #fff;
}
.counter-label { color: var(--text-muted); font-size: 0.82rem; margin-top: 0.4rem; }

.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.testimonial-card {
  padding: 2rem;
  display: flex; flex-direction: column;
}
.testimonial-card::after {
  content: '\201C';
  position: absolute; top: 1.2rem; right: 1.5rem;
  font-family: 'Syne', serif;
  font-size: 4rem; line-height: 1; color: rgba(255,255,255,0.04);
  pointer-events: none;
}
.stars { color: #fbbf24; margin-bottom: 1rem; font-size: 0.85rem; letter-spacing: 2px; }
.testimonial-card > p { color: var(--text-muted); line-height: 1.7; font-size: 0.9rem; margin-bottom: 1.5rem; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; }
.author-avatar {
  width: 42px; height: 42px; min-width: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: white;
  flex-shrink: 0; aspect-ratio: 1;
}
.author-info h4 { font-size: 0.88rem; font-weight: 700; color: #fff; }
.author-info p  { font-size: 0.78rem; color: var(--text-muted); }

/* ─── PRICING ────────────────────────────────────────────── */
.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; width: 100%;
  align-items: stretch;
}
.pricing-card {
  padding: 2.5rem;
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.pricing-card.popular {
  border-color: rgba(113,48,240,0.3);
}
.pricing-card.popular::before {
  background: radial-gradient(ellipse at top, rgba(113,48,240,0.12), transparent 60%);
}

.popular-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: #fff;
  color: #08090A; padding: 0.3rem 0.8rem; border-radius: 50px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}

.plan-name { font-size: 1rem; font-weight: 700; color: var(--text-muted); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.08em; }
.plan-price {
  font-size: 3rem; font-weight: 700; margin: 1rem 0;
  display: flex; align-items: baseline; gap: 0.25rem;
}
.plan-price .price-prefix {
  font-size: 0.78rem; color: var(--text-muted); font-weight: 400;
  margin-right: 0.25rem;
}
.plan-price .currency-symbol { font-size: 1.1rem; color: var(--text-muted); }
.plan-price .amount {
  color: #fff;
}
.plan-price .period { font-size: 0.9rem; color: var(--text-muted); font-weight: 400; }
.plan-price .amount-custom { font-size: 2rem; color: #fff; }

.plan-desc { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1.5rem; line-height: 1.6; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; margin-bottom: 2rem; flex: 1; }
.plan-features li { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-muted); }
.plan-features li .fa-check  { color: var(--cyan); font-size: 0.7rem; }
.plan-features li .fa-times  { color: rgba(255,255,255,0.15); font-size: 0.7rem; }
.plan-features li .fa-plus-circle { color: var(--indigo-light); font-size: 0.7rem; }
.plan-features li.disabled   { opacity: 0.4; }
.plan-features li.highlight-feature {
  color: var(--cyan);
  background: rgba(114,249,255,0.04); border-radius: 8px;
  padding: 0.4rem 0.6rem; margin: 0.2rem -0.6rem;
}
.plan-features li.highlight-feature i { color: var(--cyan); }

/* Add-on banner */
.addon-banner {
  display: flex; align-items: center; gap: 1.5rem;
  padding: 1.5rem 2rem;
  margin-top: 2rem; width: 100%;
}
.addon-icon {
  width: 52px; height: 52px; min-width: 52px;
  background: rgba(113,48,240,0.1);
  border: 1px solid rgba(113,48,240,0.15);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--cyan);
}
.addon-content { flex: 1; }
.addon-content h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.3rem; color: #fff; }
.addon-content p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.6; }
.addon-price { text-align: center; min-width: 100px; }
.addon-amount {
  font-size: 1.8rem; font-weight: 700;
  color: #fff;
}
.addon-period { font-size: 0.85rem; color: var(--text-muted); }
.addon-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.6rem; font-size: 0.82rem; font-weight: 600;
  color: var(--cyan); text-decoration: none;
  transition: all var(--duration);
}
.addon-link:hover { color: var(--cyan-light); }

.btn-plan {
  width: 100%; padding: 0.875rem;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.88rem;
  cursor: none; border: none;
  margin-top: auto; letter-spacing: 0.01em;
  transition: all var(--duration);
}
.btn-plan-primary {
  background: #fff; color: #08090A;
  box-shadow: 0 4px 24px rgba(255,255,255,0.08);
}
.btn-plan-primary:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 32px rgba(255,255,255,0.15);
}
.btn-plan-outline {
  background: transparent; color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-plan-outline:hover {
  border-color: var(--border-hover); color: #fff;
  background: var(--glass-bg);
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem;
  max-width: 1140px; margin: 0 auto; align-items: stretch;
}
.contact-grid > div { display: flex; flex-direction: column; }

.contact-info { display: flex; flex-direction: column; gap: 2rem; flex: 1; justify-content: center; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: rgba(113,48,240,0.1);
  border: 1px solid rgba(113,48,240,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--indigo-light); font-size: 1rem; flex-shrink: 0;
}
.contact-item h4 { font-weight: 700; margin-bottom: 0.25rem; font-size: 0.95rem; color: #fff; }
.contact-item p  { color: var(--text-muted); font-size: 0.88rem; }

.contact-grid .glass-card { display: flex; flex-direction: column; flex: 1; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; flex: 1; }
.contact-form .form-group:has(textarea) { flex: 1; display: flex; flex-direction: column; }
.contact-form .form-group textarea { flex: 1; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.75rem; color: var(--text-muted); font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 0.8rem 1rem;
  color: var(--text); font-family: inherit; font-size: 0.88rem;
  outline: none; transition: all 0.2s; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.03);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select  { appearance: none; cursor: none; }
.form-group select option { background: #111219; color: var(--text); }

.btn-submit {
  background: #fff;
  color: #08090A; border: none; padding: 1rem;
  border-radius: var(--radius-sm); font-weight: 600; font-size: 0.95rem;
  cursor: none; transition: all var(--duration); width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  box-shadow: 0 4px 24px rgba(255,255,255,0.08);
}
.btn-submit:hover {
  background: rgba(255,255,255,0.9);
  box-shadow: 0 4px 32px rgba(255,255,255,0.15);
}

.btn-whatsapp {
  background: #22c55e; color: white; border: none;
  padding: 0.875rem; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 0.9rem; cursor: none;
  transition: background 0.2s; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  text-decoration: none;
}
.btn-whatsapp:hover { background: #16a34a; }

.response-badge {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(34,197,94,0.06); border: 1px solid rgba(34,197,94,0.12);
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  font-size: 0.8rem; color: #4ade80;
}

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 5rem 6% 2rem;
  overflow: hidden;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
  max-width: 100%;
}
.footer-brand .footer-logo {
  width: 160px; height: auto; margin-bottom: 1rem; display: block;
  filter: brightness(1.3);
}
.footer-brand p { color: var(--bleu-blanc); opacity: 0.6; font-size: 0.85rem; line-height: 1.7; margin-bottom: 1.5rem; }
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: var(--glass-bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); text-decoration: none;
  transition: all var(--duration); font-size: 0.85rem;
}
.social-link:hover { background: var(--glass-bg-hover); border-color: var(--border-hover); color: #fff; }

.footer-col h4 {
  font-size: 0.78rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: #fff; margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col ul a { color: var(--bleu-blanc); opacity: 0.65; text-decoration: none; font-size: 0.85rem; transition: opacity 0.2s; }
.footer-col ul a:hover { opacity: 1; }

.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: var(--bleu-blanc); opacity: 0.5;
}
.footer-bottom a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .heart { color: var(--indigo); }

/* ─── SCROLL REVEAL ──────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: all 0.7s var(--ease);
}
.reveal.revealed     { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ─── REVEAL PERF ────────────────────────────────────────── */
.reveal { will-change: opacity, transform; }
.reveal.revealed { will-change: auto; }

/* ─── INFO BOX (simulators) ──────────────────────────────── */
.sim-info-box {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.sim-info-box i { color: var(--cyan); }

.sim-hint {
  color: var(--text-muted);
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

.sim-cta {
  justify-content: center;
  margin-top: 0;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
}

/* ─── LEGAL PAGE ─────────────────────────────────────────── */
.legal-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.legal-page nav { position: fixed; }

.legal-header {
  text-align: center;
  padding: 8rem 6% 2rem;
}

.legal-tabs {
  display: flex; gap: 0.35rem;
  max-width: 680px; margin: 0 auto;
  background: var(--surface); padding: 0.35rem;
  border-radius: 14px; border: 1px solid var(--border);
}

.sim-tab {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.55rem 1rem;
  background: transparent; border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-muted); font-family: inherit; font-size: 0.875rem; font-weight: 500;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.sim-tab:hover {
  color: #fff;
  background: var(--surface-md);
  border-color: var(--border);
}

.sim-tab.active {
  color: #fff;
  background: rgba(113, 48, 240, 0.12);
  border-color: var(--border-accent);
}

.legal-content {
  flex: 1;
  max-width: 860px; margin: 0 auto;
  padding: 2.5rem 6% 4rem;
  width: 100%;
}

.legal-card {
  padding: 2.5rem 3rem;
}

.legal-section { display: none; }
.legal-section.active { display: block; }

.legal-section h2 {
  font-family: 'Syne', 'Chillax', serif;
  font-size: 1.6rem; font-weight: 400;
  margin-bottom: 2rem;
  color: #fff;
}

.legal-section h3 {
  font-size: 1.05rem; font-weight: 700;
  margin: 2rem 0 0.75rem;
  color: #fff;
}

.legal-section p,
.legal-section li {
  color: var(--text-muted);
  font-size: 0.9rem; line-height: 1.8;
  margin-bottom: 0.75rem;
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
}

.legal-section ul li {
  padding-left: 1.2rem;
  position: relative;
}

.legal-section ul li::before {
  content: '\2022';
  color: var(--indigo-light);
  position: absolute;
  left: 0;
}

.legal-section a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s;
}
.legal-section a:hover { color: var(--indigo-light); }
