/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/space-grotesk-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* ==========================================================================
   THE BRAINS COMPANY — Design System
   Thème sombre · Ratio φ (1.618) · Mobile-first · Zero framework
   ========================================================================== */

@layer reset, base, layout, components, animations, utilities;

/* --- Propriétés globales ------------------------------------------------- */
:root {
  --bg-deep:       #0a0a0f;
  --bg-section:    #111118;
  --bg-card:       #1a1a24;
  --text-primary:  #ffffff;
  --text-secondary:#a0a0b0;
  --text-muted:    #6a6a7a;
  --gold:          #c9a962;
  --gold-light:    #ddc482;
  --gold-glow:     rgba(212,184,112,.25);
  --gold-glow-s:   rgba(212,184,112,.50);
  --success:       #4ade80;
  --danger:        #f87171;

  --font-h: 'Space Grotesk', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;

  /* Échelle φ */
  --fs-hero:  clamp(2.2rem, 4.5vw + 0.5rem, 4rem);
  --fs-h1:    clamp(2rem, 3vw + .5rem, 2.8rem);
  --fs-h2:    clamp(1.4rem, 2vw + .3rem, 1.75rem);
  --fs-h3:    clamp(1.1rem, 1.2vw + .2rem, 1.25rem);
  --fs-body:  clamp(.95rem, .8vw + .3rem, 1.05rem);
  --fs-sm:    clamp(.8rem, .6vw + .3rem, .875rem);

  /* Espacement Fibonacci */
  --s-xs: 8px; --s-sm: 13px; --s-md: 21px;
  --s-lg: 34px; --s-xl: 55px; --s-2xl: 89px;

  --radius: 12px;
  --max-w: 1200px;
  --z-nav: 100;
  --ease: cubic-bezier(.22,1,.36,1);
}

/* === RESET ================================================================ */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
  body { min-height: 100dvh; -webkit-font-smoothing: antialiased; }
  img, video, canvas, svg { display: block; max-width: 100%; height: auto; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { cursor: pointer; border: none; background: none; }
  a { text-decoration: none; color: inherit; }
  ul, ol { list-style: none; }
  p, h1, h2, h3 { overflow-wrap: break-word; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: .01ms !important;
      transition-duration: .01ms !important;
    }
  }
}

/* === BASE ================================================================= */
@layer base {
  body {
    font-family: var(--font-b);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-deep);
  }
  h1, h2, h3 {
    font-family: var(--font-h);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.02em;
  }
  h1 { font-size: var(--fs-h1); }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); }

  p { color: var(--text-secondary); max-width: 65ch; }
  strong { font-weight: 700; color: var(--text-primary); }

  a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  ::selection { background: var(--gold); color: var(--bg-deep); }

  /* Scrollbar */
  html { scrollbar-width: thin; scrollbar-color: var(--gold) var(--bg-deep); }
  ::-webkit-scrollbar { width: 8px; }
  ::-webkit-scrollbar-track { background: var(--bg-deep); }
  ::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 99px; }
}

/* === LAYOUT =============================================================== */
@layer layout {
  .wrap {
    width: 100%;
    max-width: var(--max-w);
    margin-inline: auto;
    padding-inline: var(--s-md);
  }
  @media (min-width: 768px) { .wrap { padding-inline: var(--s-lg); } }

  .section {
    padding-block: var(--s-2xl);
    position: relative;
  }
  .section--alt { background: var(--bg-section); }

  .grid { display: grid; gap: var(--s-lg); }
  .grid--2 { grid-template-columns: 1fr; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  @media (min-width: 640px) {
    .grid--2 { grid-template-columns: repeat(2,1fr); }
    .grid--3 { grid-template-columns: repeat(3,1fr); }
    .grid--4 { grid-template-columns: repeat(2,1fr); }
  }
  @media (min-width: 1024px) {
    .grid--4 { grid-template-columns: repeat(4,1fr); }
  }
}

/* === COMPONENTS =========================================================== */
@layer components {

  /* --- Skip link ---------------------------------------------------------- */
  .skip { position: absolute; top: -100%; left: var(--s-md); background: var(--gold);
    color: var(--bg-deep); padding: var(--s-sm) var(--s-md); border-radius: var(--radius);
    font-weight: 600; z-index: 200; }
  .skip:focus { top: var(--s-sm); }

  /* --- Nav ---------------------------------------------------------------- */
  .nav {
    position: fixed; inset: 0 0 auto; z-index: var(--z-nav);
    background: rgba(10,10,15,.75);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,169,98,.08);
    transition: background .3s var(--ease), padding .3s var(--ease);
    padding: var(--s-sm) 0;
  }
  .nav.scrolled { background: rgba(10,10,15,.95); padding: var(--s-xs) 0; }

  .nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: var(--max-w); margin-inline: auto; padding-inline: var(--s-md);
  }
  @media (min-width: 768px) { .nav-inner { padding-inline: var(--s-lg); } }

  .nav-logo img { height: 40px; width: auto; }

  .nav-links {
    display: none; gap: var(--s-lg); align-items: center;
  }
  @media (min-width: 768px) { .nav-links { display: flex; } }

  .nav-links a {
    font-size: var(--fs-sm); font-weight: 500; color: var(--text-secondary);
    transition: color .2s; position: relative;
  }
  .nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px; background: var(--gold);
    transition: width .3s var(--ease);
  }
  .nav-links a:hover { color: var(--text-primary); }
  .nav-links a:hover::after { width: 100%; }
  .nav-links a.active { color: var(--gold); }
  .nav-links a.active::after { width: 100%; }

  .nav-cta { display: none; }
  @media (min-width: 768px) { .nav-cta { display: inline-flex; } }

  /* Hamburger */
  .burger {
    display: flex; flex-direction: column; gap: 5px; padding: var(--s-xs);
    z-index: 101; border-radius: 4px;
  }
  .burger:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
  @media (min-width: 768px) { .burger { display: none; } }
  .burger span {
    display: block; width: 24px; height: 2px; background: var(--text-primary);
    border-radius: 2px; transition: transform .3s var(--ease), opacity .2s;
  }
  .burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Mobile menu */
  .mobile-menu {
    position: fixed; inset: 0; z-index: 100;
    background: rgba(10,10,15,.97); backdrop-filter: blur(20px);
    display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: var(--s-lg);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), visibility .3s;
  }
  .mobile-menu.open { opacity: 1; visibility: visible; }
  .mobile-menu a {
    font-family: var(--font-h); font-size: var(--fs-h2); font-weight: 600;
    color: var(--text-secondary); transition: color .2s;
  }
  .mobile-menu a:hover { color: var(--gold); }

  /* --- Boutons ------------------------------------------------------------ */
  .btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: var(--s-sm) var(--s-lg); font-family: var(--font-h);
    font-size: var(--fs-sm); font-weight: 600; border-radius: var(--radius);
    border: 2px solid transparent; transition: all .3s var(--ease);
    white-space: nowrap; cursor: pointer;
  }
  .btn-primary {
    background: var(--gold); color: var(--bg-deep); border-color: var(--gold);
  }
  .btn-primary:hover {
    background: var(--gold-light); border-color: var(--gold-light);
    box-shadow: 0 0 40px var(--gold-glow-s); transform: translateY(-2px);
  }
  .btn-secondary {
    background: transparent; color: var(--gold); border-color: var(--gold);
  }
  .btn-secondary:hover {
    background: rgba(201,169,98,.1); box-shadow: 0 0 30px var(--gold-glow);
    transform: translateY(-2px);
  }
  .btn-lg { padding: var(--s-md) var(--s-xl); font-size: var(--fs-body); }

  /* --- Hero --------------------------------------------------------------- */
  .hero {
    min-height: 100dvh; display: flex; align-items: center; justify-content: center;
    text-align: center; position: relative; padding: var(--s-2xl) var(--s-md);
    overflow: hidden;
  }
  .hero--short { min-height: 60dvh; }

  .hero::before {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 50% at 50% 45%, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
  }
  .hero-content { position: relative; z-index: 2; max-width: 1100px; }

  .hero-tagline {
    font-size: var(--fs-sm); text-transform: uppercase; letter-spacing: .15em;
    color: var(--gold); margin-bottom: var(--s-md);
  }
  .hero-headline { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; }
  .hero-sub { font-size: var(--fs-h2); color: var(--gold); margin-top: var(--s-sm); font-weight: 600; }
  .hero-desc { margin: var(--s-md) auto 0; color: var(--text-secondary); text-align: center; }
  .hero-cta { margin-top: var(--s-xl); }
  .hero-content .btn-secondary { margin-top: var(--s-sm); }
  .hero-canvas { position: absolute; inset: 0; z-index: 1; }

  /* Vidéo en fond du hero */
  .hero-video-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
  }
  .hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    mix-blend-mode: lighten;
    filter: brightness(0.8) contrast(1.2);
  }

  .hero-trust {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: var(--s-lg); margin-top: var(--s-2xl);
  }
  .hero-trust img { height: 36px; width: auto; filter: brightness(.85); transition: filter .3s; }
  .hero-trust img:hover { filter: brightness(1); }
  .hero-trust-badge {
    font-size: var(--fs-sm); color: var(--gold); border: 1px solid var(--gold);
    border-radius: 99px; padding: var(--s-xs) var(--s-md);
  }

  .hero-quote {
    max-width: 55ch; margin: var(--s-lg) auto; font-style: italic;
    color: var(--text-secondary); border-left: 3px solid var(--gold);
    padding-left: var(--s-md); text-align: left;
  }
  .hero-quote cite { display: block; margin-top: var(--s-xs); font-style: normal; color: var(--gold); font-size: var(--fs-sm); }

  /* --- Section title ------------------------------------------------------ */
  .section-title {
    text-align: center; margin-bottom: var(--s-xl);
  }
  .section-title h2 {
    display: inline-block; padding-bottom: var(--s-sm); position: relative;
  }
  .section-title h2::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 60px; height: 3px; border-radius: 99px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
  }
  .section-title p { margin: var(--s-md) auto 0; }

  /* --- Card --------------------------------------------------------------- */
  .card {
    background: var(--bg-card); border: 1px solid rgba(201,169,98,.06);
    border-radius: var(--radius); padding: var(--s-lg);
    transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  }
  .card:hover {
    transform: translateY(-4px); border-color: rgba(201,169,98,.2);
    box-shadow: 0 0 30px var(--gold-glow);
  }
  .card-icon {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; margin-bottom: var(--s-sm);
  }
  .card-icon svg { width: 48px; height: 48px; flex-shrink: 0; }
  .card-title { margin-bottom: var(--s-sm); }
  .card-text { font-size: var(--fs-sm); color: var(--text-secondary); }
  .card-link {
    display: inline-block; margin-top: var(--s-md); font-size: var(--fs-sm);
    font-weight: 600; color: var(--gold); transition: color .2s;
  }
  .card-link:hover { color: var(--gold-light); }

  /* Card service : centré */
  .card-service { text-align: center; display: flex; flex-direction: column; }
  .card-service .card-title { color: var(--gold); }
  .card-service .card-link { margin-top: auto; }

  /* Card pain point : cliquable */
  .card-pain {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: var(--s-sm); cursor: pointer; color: inherit;
  }
  .card-pain .card-title { font-size: var(--fs-body); font-weight: 500; color: var(--text-secondary); }
  .card-pain:hover .card-title { color: var(--gold); }

  /* --- Stat / Compteur ---------------------------------------------------- */
  .stat { text-align: center; padding: var(--s-lg); }
  .stat-number {
    font-family: var(--font-h); font-size: var(--fs-h1); font-weight: 700;
    color: var(--gold); line-height: 1; font-variant-numeric: tabular-nums;
  }
  .stat-label {
    margin-top: var(--s-xs); font-size: var(--fs-sm); color: var(--text-secondary);
    text-transform: uppercase; letter-spacing: .08em;
  }

  /* --- Testimonial -------------------------------------------------------- */
  .testimonial {
    background: var(--bg-card); border-radius: var(--radius); padding: var(--s-lg);
    border-left: 3px solid var(--gold); position: relative;
  }
  .testimonial::before {
    content: '\201C'; font-family: var(--font-h); font-size: 4rem;
    color: var(--gold-glow); position: absolute; top: var(--s-sm); left: var(--s-md); line-height: 1;
  }
  .testimonial p { font-style: italic; padding-top: var(--s-md); }
  .testimonial footer {
    margin-top: var(--s-md); font-weight: 600; font-size: var(--fs-sm);
  }
  .testimonial footer span { color: var(--text-muted); font-weight: 400; }
  .testimonial .stars { color: var(--gold); letter-spacing: 2px; }

  /* --- Step (méthode) ----------------------------------------------------- */
  .step {
    text-align: center; padding: var(--s-lg); background: var(--bg-card);
    border-radius: var(--radius); border: 1px solid rgba(201,169,98,.06);
    transition: border-color .3s, box-shadow .3s;
  }
  .step:hover { border-color: rgba(201,169,98,.2); box-shadow: 0 0 30px var(--gold-glow); }
  .step-num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--gold); color: var(--bg-deep);
    font-family: var(--font-h); font-size: var(--fs-h3); font-weight: 700;
    margin-bottom: var(--s-md);
  }
  .step h3 { margin-bottom: var(--s-sm); }
  .step p { font-size: var(--fs-sm); margin-inline: auto; }

  /* --- Content block (pages service) -------------------------------------- */
  .content-blocks { display: grid; gap: var(--s-xl); max-width: 800px; margin-inline: auto; }
  .content-block {
    background: var(--bg-card); border: 1px solid rgba(201,169,98,.06);
    border-radius: var(--radius); padding: var(--s-lg);
    transition: border-color .3s, box-shadow .3s;
  }
  .content-block:hover { border-color: rgba(201,169,98,.2); box-shadow: 0 0 30px var(--gold-glow); }
  .content-block h3 { margin-bottom: var(--s-sm); }

  /* --- Social proof ------------------------------------------------------- */
  .proof {
    text-align: center; margin-top: var(--s-xl); padding-top: var(--s-lg);
    border-top: 1px solid rgba(255,255,255,.05);
  }
  .proof-label {
    font-size: var(--fs-sm); color: var(--text-muted);
    text-transform: uppercase; letter-spacing: .1em; margin-bottom: var(--s-sm);
  }
  .proof-logos { font-size: var(--fs-sm); color: var(--text-secondary); letter-spacing: .05em; }
  .proof-bar {
    display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
    gap: var(--s-md); margin-top: var(--s-md);
  }
  .proof-logo-text {
    display: inline-flex; align-items: center; justify-content: center;
    padding: var(--s-sm) var(--s-lg); background: var(--bg-card);
    border: 1px solid rgba(201,169,98,.1); border-radius: var(--radius);
    font-family: var(--font-h); font-size: var(--fs-sm); font-weight: 600;
    color: var(--text-muted); letter-spacing: .05em; text-transform: uppercase;
  }
  .proof-note {
    margin-top: var(--s-md); font-size: var(--fs-sm); color: var(--text-muted);
    font-style: italic;
  }

  /* --- CTA section -------------------------------------------------------- */
  .cta-section {
    text-align: center; padding-block: var(--s-2xl); position: relative; overflow: hidden;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-section) 30%, rgba(201,169,98,.04) 60%, var(--bg-section) 100%);
  }
  .cta-section::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 600px; height: 600px;
    background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
    pointer-events: none;
  }
  .cta-section > * { position: relative; z-index: 1; }
  .cta-section h2 { font-size: var(--fs-h1); margin-bottom: var(--s-md); }
  .cta-section > p { margin-inline: auto; margin-bottom: var(--s-xl); }

  /* --- Form --------------------------------------------------------------- */
  .form { display: flex; flex-direction: column; gap: var(--s-md); max-width: 550px; margin-inline: auto; text-align: left; }
  .form-group { display: flex; flex-direction: column; gap: var(--s-xs); }
  .form-label { font-size: var(--fs-sm); font-weight: 500; color: var(--text-secondary); }
  .form-input, .form-textarea {
    width: 100%; padding: var(--s-sm) var(--s-md); font-size: var(--fs-body);
    color: var(--text-primary); background: var(--bg-card);
    border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius);
    transition: border-color .3s, box-shadow .3s; outline: none;
  }
  .form-input::placeholder, .form-textarea::placeholder { color: var(--text-muted); }
  .form-input:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-glow); }
  .form-textarea { min-height: 120px; resize: vertical; }
  .form-info { text-align: center; font-size: var(--fs-sm); color: var(--text-muted); margin-top: var(--s-sm); }
  .form-info a { color: var(--gold); }
  .form-info a:hover { color: var(--gold-light); }
  .form-success {
    text-align: center; padding: var(--s-lg); background: rgba(74,222,128,.08);
    border: 1px solid rgba(74,222,128,.3); border-radius: var(--radius);
    color: var(--success); max-width: 550px; margin-inline: auto;
  }
  .form-success[hidden] { display: none; }

  /* --- Partner badges ----------------------------------------------------- */
  .partners {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
    gap: var(--s-lg); margin-top: var(--s-xl); padding: var(--s-lg);
    background: var(--bg-card); border-radius: var(--radius);
    border: 1px solid rgba(201,169,98,.06);
  }
  .partners img { max-height: 50px; width: auto; filter: brightness(.85); transition: filter .3s; }
  .partners img:hover { filter: brightness(1); }

  /* --- Footer ------------------------------------------------------------- */
  .footer {
    background: var(--bg-deep); border-top: 1px solid rgba(255,255,255,.05);
    padding: var(--s-xl) 0 var(--s-lg); font-size: var(--fs-sm); color: var(--text-muted);
  }
  .footer-grid {
    display: flex; flex-direction: column; gap: var(--s-lg);
    align-items: center; text-align: center; margin-bottom: var(--s-lg);
  }
  @media (min-width: 768px) {
    .footer-grid { flex-direction: row; justify-content: space-between; text-align: left; }
  }
  .footer-grid nav ul { display: flex; gap: var(--s-md); flex-wrap: wrap; justify-content: center; }
  @media (min-width: 768px) { .footer-grid nav ul { justify-content: flex-start; } }
  .footer-grid a { color: var(--text-muted); transition: color .2s; }
  .footer-grid a:hover { color: var(--gold); }
  .footer-links { display: flex; flex-direction: column; gap: var(--s-xs); }
  .footer-copy { text-align: center; opacity: .7; }

  /* --- Scroll progress ---------------------------------------------------- */
  .scroll-bar {
    position: fixed; top: 0; left: 0; width: 100%; height: 3px;
    z-index: 200; transform-origin: left; transform: scaleX(0);
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    animation: scroll-fill linear; animation-timeline: scroll(root);
  }
  @keyframes scroll-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

  /* --- Cookie banner ------------------------------------------------------ */
  .cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
    background: var(--bg-card); border-top: 1px solid rgba(201,169,98,.1);
    padding: var(--s-md) var(--s-lg); display: flex; flex-wrap: wrap;
    align-items: center; justify-content: center; gap: var(--s-md);
    font-size: var(--fs-sm); color: var(--text-secondary);
    transform: translateY(100%); transition: transform .4s var(--ease);
  }
  .cookie-banner.visible { transform: translateY(0); }
  .cookie-banner a { color: var(--gold); }
  .cookie-banner button {
    padding: var(--s-xs) var(--s-md); border-radius: var(--radius);
    font-weight: 600; font-size: var(--fs-sm);
  }
  .cookie-accept { background: var(--gold); color: var(--bg-deep); }
  .cookie-refuse { border: 1px solid var(--text-muted); color: var(--text-secondary); }

  /* --- Legal pages -------------------------------------------------------- */
  .legal { max-width: 800px; margin-inline: auto; padding: var(--s-xl) 0; }
  .legal h2 { margin-top: var(--s-xl); margin-bottom: var(--s-md); color: var(--gold); }
  .legal h3 { margin-top: var(--s-lg); margin-bottom: var(--s-sm); }
  .legal p, .legal li { color: var(--text-secondary); margin-bottom: var(--s-sm); }
  .legal ul { padding-left: var(--s-lg); list-style: disc; }
  .legal a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
}

/* === ANIMATIONS =========================================================== */
@layer animations {
  @keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  @keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px var(--gold-glow); }
    50% { box-shadow: 0 0 40px var(--gold-glow-s); }
  }

  .reveal {
    opacity: 0; transform: translateY(30px);
    animation: fadeUp .6s var(--ease) forwards;
    animation-timeline: view(); animation-range: entry 0% entry 35%;
  }
  .hero-cta { animation: pulseGlow 3s ease-in-out infinite; }
}

/* === UTILITIES ============================================================ */
@layer utilities {
  .text-gold { color: var(--gold); }
  .text-center { text-align: center; }
  .mx-auto { margin-inline: auto; }
  .mt-lg { margin-top: var(--s-lg); }
  .mt-xl { margin-top: var(--s-xl); }
  .sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); border: 0;
  }
  .honey {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important; overflow: hidden !important;
    clip: rect(0,0,0,0) !important; opacity: 0; pointer-events: none;
  }
}

/* === DNA Brains Cortex (ecosystem badge) ================================= */
.footer__dna {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-xs);
  margin-top: var(--s-md);
  padding-top: var(--s-md);
  border-top: 1px solid rgba(201, 169, 98, 0.08);
}
.footer__dna-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: dna-pulse 3s ease-in-out infinite;
}
@keyframes dna-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}
.footer__dna-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}
.footer__dna-label a {
  color: var(--gold);
  transition: color 0.2s;
}
.footer__dna-label a:hover {
  color: var(--gold-light);
}

/* === View Transitions ==================================================== */
@view-transition { navigation: auto; }
