/* ==========================================================================
   NEUROHARMONY ACADÉMIE — Design System (rebuild)
   Display : Fraunces (optical-sizing soft-serif, characterful italic)
   Body    : Inter
   Utility : IBM Plex Mono (eyebrows, numbers, data — the "lab notes" voice)
   Palette : deep ink navy + brand emerald green (#1D9E75 logo family) on warm parchment
   ========================================================================== */

:root {
  /* ---- Color ---- */
  --ink:        #131C30;   /* deepest navy-black */
  --navy:       #1A2744;
  --navy-700:   #223457;
  --navy-600:   #2C4068;
  /* Brand accent — emerald green from the official logo (#1D9E75 family).
     Names kept as --gold* to stay drop-in across the system. */
  --gold:       #0F8A66;   /* primary accent: text-on-light, buttons, bullets */
  --gold-400:   #16A87C;   /* brighter hover */
  --gold-300:   #84D8B6;   /* light accent for dark backgrounds */
  --teal:       #15916C;   /* secondary, shifted into the green family */
  --teal-400:   #2AB184;
  --paper:      #F4F0E8;   /* cooler parchment than the default cream */
  --paper-2:    #EAE3D5;
  --paper-3:    #E1D8C7;
  --white:      #FFFFFF;

  --text:        var(--navy);
  --text-soft:   rgba(19, 28, 48, 0.62);
  --text-faint:  rgba(19, 28, 48, 0.40);
  --line:        rgba(19, 28, 48, 0.12);
  --line-strong: rgba(19, 28, 48, 0.22);

  /* on-dark */
  --on-dark:        rgba(255,255,255,0.92);
  --on-dark-soft:   rgba(255,255,255,0.66);
  --on-dark-faint:  rgba(255,255,255,0.42);
  --on-dark-line:   rgba(255,255,255,0.14);

  /* ---- Type ---- */
  --f-display: 'Fraunces', 'Times New Roman', serif;
  --f-body:    'Inter', system-ui, sans-serif;
  --f-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --t-eyebrow: 0.72rem;
  --t-xs:   clamp(0.78rem, 0.74rem + 0.18vw, 0.875rem);
  --t-sm:   clamp(0.88rem, 0.84rem + 0.2vw,  0.98rem);
  --t-base: clamp(1rem,    0.97rem + 0.18vw, 1.08rem);
  --t-lg:   clamp(1.12rem, 1rem + 0.55vw,    1.4rem);
  --t-h3:   clamp(1.45rem, 1.2rem + 1.1vw,   2rem);
  --t-h2:   clamp(2.1rem,  1.4rem + 2.9vw,   3.6rem);
  --t-hero: clamp(2.9rem,  1.3rem + 6vw,     6.2rem);
  --t-stat: clamp(2.6rem,  1.6rem + 3.4vw,   4rem);

  /* ---- Space ---- */
  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.25rem;
  --s6: 1.5rem; --s8: 2rem; --s10: 2.5rem; --s12: 3rem; --s16: 4rem;
  --s20: 5rem; --s24: 6rem;

  /* ---- Radius / shadow / motion ---- */
  --r-sm: 6px; --r-md: 12px; --r-lg: 18px; --r-xl: 26px; --r-pill: 999px;
  --sh-sm: 0 1px 3px rgba(19,28,48,.07);
  --sh-md: 0 10px 30px -12px rgba(19,28,48,.22);
  --sh-lg: 0 30px 60px -24px rgba(19,28,48,.30);
  --sh-gold: 0 16px 36px -14px rgba(15,138,102,.45);
  --ease: cubic-bezier(.22,1,.36,1);
  --spring: cubic-bezier(.34,1.4,.5,1);

  --nav-h: 88px;
  --maxw: 1180px;
}

/* ==================== RESET ==================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
:focus-visible { outline: 2.5px solid var(--gold); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: 50%; top: -100px; transform: translateX(-50%);
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--r-md) var(--r-md);
  z-index: 2000; transition: top .2s;
}
.skip-link:focus { top: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--s6); }
.section { padding-block: clamp(var(--s16), 9vw, var(--s24)); }

/* ==================== SHARED TYPE BITS ==================== */
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--f-mono);
  font-size: var(--t-eyebrow);
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s5);
}
.eyebrow__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.eyebrow--light { color: var(--gold-300); }

.head { max-width: 660px; margin: 0 auto var(--s16); text-align: center; }
.head--left { margin-inline: 0; text-align: left; max-width: 720px; }
.head--left .eyebrow { justify-content: flex-start; }
.head__title {
  font-family: var(--f-display);
  font-optical-sizing: auto;
  font-weight: 500;
  font-size: var(--t-h2);
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--navy);
}
.head__title em { font-style: italic; font-weight: 400; color: var(--gold); }
.head__title--light { color: #fff; }
.head__title--light em { color: var(--gold-300); }
.head__lead { margin-top: var(--s5); color: var(--text-soft); font-size: var(--t-lg); font-weight: 300; line-height: 1.6; }
.head:not(.head--left) .head__lead { margin-inline: auto; max-width: 560px; }

/* ==================== BUTTONS ==================== */
.btn {
  --pad: .85rem 1.6rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--f-body); font-size: var(--t-sm); font-weight: 500; letter-spacing: .01em;
  padding: var(--pad);
  border-radius: var(--r-pill);
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }

.btn:not(:has(svg))::after {
  content: "→";
  display: inline-block;
  max-width: 0;
  margin-left: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width .3s var(--ease), opacity .25s var(--ease), margin-left .3s var(--ease);
}
.btn:not(:has(svg)):hover::after { max-width: 1.2em; opacity: 1; margin-left: .4em; }

.btn--solid { background: var(--navy); color: #fff; box-shadow: var(--sh-sm); }
.btn--solid:hover { background: var(--ink); box-shadow: var(--sh-md); }
.btn--ghost { color: var(--navy); border: 1.5px solid var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: rgba(19,28,48,.04); }
.btn--gold { background: var(--gold); color: #fff; padding: 1rem 2rem; font-size: var(--t-base); box-shadow: var(--sh-gold); }
.btn--gold:hover { background: var(--gold-400); box-shadow: 0 20px 40px -14px rgba(15,138,102,.55); }
.btn--cta { background: var(--gold); color: #fff; box-shadow: var(--sh-gold); animation: cta-pulse 2.6s ease-in-out infinite; }
.btn--cta:hover { background: var(--gold-400); animation-play-state: paused; }
@keyframes cta-pulse { 0%, 100% { box-shadow: var(--sh-gold); } 50% { box-shadow: 0 0 0 6px rgba(15,138,102,.15), var(--sh-gold); } }
.btn--line { color: #fff; border: 1.5px solid var(--on-dark-line); background: rgba(255,255,255,.05); padding: 1rem 1.8rem; font-size: var(--t-base); backdrop-filter: blur(6px); }
.btn--line:hover { border-color: rgba(255,255,255,.5); background: rgba(255,255,255,.12); }
.btn--white { background: #fff; color: var(--navy); padding: 1rem 2rem; font-size: var(--t-base); font-weight: 600; }
.btn--white:hover { background: var(--paper); }
.btn--lineLight { color: #fff; border: 1.5px solid var(--on-dark-line); padding: 1rem 2rem; font-size: var(--t-base); }
.btn--lineLight:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--full { width: 100%; }

.btn--block {
  width: 100%; margin-top: auto;
  border-radius: var(--r-md);
  border: 1.5px solid var(--line-strong);
  color: var(--navy); font-weight: 500;
  padding: .85rem;
}
.btn--block:hover { transform: none; background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: var(--sh-md); }
.btn--blockGold { background: var(--gold); border-color: var(--gold); color: #fff; box-shadow: var(--sh-gold); }
.btn--blockGold:hover { background: var(--gold-400); border-color: var(--gold-400); box-shadow: 0 20px 40px -14px rgba(15,138,102,.55); }

/* ==================== BRAND ==================== */
.brand { display: inline-flex; align-items: center; }
.brand__img { height: 60px; width: auto; }
.brand__img--lg { height: 78px; }

/* ==================== NAV ==================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
  background: rgba(244,240,232,0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, box-shadow .3s;
}
.nav.is-scrolled { background: rgba(244,240,232,0.94); border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.nav__inner { max-width: var(--maxw); height: 100%; margin-inline: auto; padding-inline: var(--s6); display: flex; align-items: center; gap: var(--s8); }
.nav__links { display: flex; align-items: center; gap: var(--s6); margin-left: auto; }
.nav__links a {
  font-size: var(--t-sm); font-weight: 500; color: var(--text-soft);
  position: relative; padding-block: .4rem; transition: color .2s;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -1px; height: 1.5px; width: 0; background: var(--gold);
  transition: width .28s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--navy); }
.nav__links a.is-active::after, .nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: var(--s3); }
.nav__burger { display: none; flex-direction: column; gap: 5px; padding: .5rem; }
.nav__burger span { width: 22px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; transform-origin: center; }
.nav__burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity: 0; }
.nav__burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==================== HERO ==================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  overflow: hidden; background: var(--ink); padding-top: var(--nav-h);
  isolation: isolate;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero__veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 6%, transparent 40%, rgba(19,28,48,.55) 100%),
    radial-gradient(80% 60% at 50% 120%, rgba(15,138,102,.16), transparent 70%);
}
.hero__inner {
  position: relative; z-index: 2; text-align: center; max-width: 920px;
  padding: var(--s10) var(--s6);
}
.hero__title {
  font-family: var(--f-display); font-optical-sizing: auto;
  font-size: var(--t-hero); font-weight: 500; line-height: 1.02; letter-spacing: -0.02em;
  color: #fff; margin-bottom: var(--s6);
}
.hero__title em { font-style: italic; font-weight: 400; color: var(--gold-300); }
.hero__lead {
  max-width: 660px; margin: 0 auto var(--s10);
  font-size: var(--t-lg); font-weight: 300; line-height: 1.62; color: var(--on-dark-soft);
}
.hero__cta { display: flex; gap: var(--s4); justify-content: center; flex-wrap: wrap; margin-bottom: var(--s16); }
.hero__stats { display: flex; align-items: flex-start; justify-content: center; gap: clamp(var(--s8), 6vw, var(--s20)); }
.stat { text-align: center; }
.stat__num {
  font-family: var(--f-display); font-size: var(--t-stat); font-weight: 500; line-height: 1; color: var(--gold-300);
  font-variant-numeric: lining-nums tabular-nums;
}
.stat__label {
  display: block; margin-top: .5rem; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--on-dark-faint); max-width: 11ch; margin-inline: auto;
}
.hero__scroll {
  position: absolute; left: 50%; bottom: var(--s8); transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  font-family: var(--f-mono); font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--on-dark-faint);
}
.hero__scroll-dot { animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0%,100%{ transform: translateY(0); opacity: 1; } 50% { transform: translateY(7px); opacity: .4; } }

/* hero load-in */
[data-anim] { opacity: 0; transform: translateY(22px); }
.hero.is-ready [data-anim] { animation: rise .9s var(--ease) forwards; }
.hero.is-ready [data-anim="1"] { animation-delay: .15s; }
.hero.is-ready [data-anim="2"] { animation-delay: .3s; }
.hero.is-ready [data-anim="3"] { animation-delay: .5s; }
.hero.is-ready [data-anim="4"] { animation-delay: .65s; }
.hero.is-ready [data-anim="5"] { animation-delay: .8s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ==================== TRUST ==================== */
.trust { background: var(--ink); border-top: 1px solid rgba(15,138,102,.22); padding-block: var(--s10); }
.trust__inner { display: flex; align-items: center; gap: clamp(var(--s8), 5vw, var(--s16)); flex-wrap: wrap; }
.trust__label { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-faint); flex-shrink: 0; max-width: 12ch; }
.trust__list { display: flex; gap: clamp(var(--s6), 4vw, var(--s12)); flex-wrap: wrap; flex: 1; }
.trust__item { display: flex; align-items: center; gap: var(--s3); color: var(--on-dark-soft); font-size: var(--t-sm); }
.trust__item svg { width: 26px; height: 26px; color: var(--gold-400); flex-shrink: 0; }

/* ==================== APPROCHE ==================== */
.approche { background: var(--paper); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.pillar {
  position: relative; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r-xl); padding: var(--s10) var(--s8) var(--s8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  overflow: hidden;
}
.pillar::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.pillar:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.pillar:hover::before { transform: scaleX(1); }
.pillar__index {
  position: absolute; top: var(--s6); right: var(--s8);
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; color: var(--text-faint);
}
.pillar__icon { width: 58px; height: 58px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: var(--s6); }
.pillar__icon svg { width: 32px; height: 32px; }
.pillar__icon--gold { background: rgba(15,138,102,.1); color: var(--gold); }
.pillar__icon--light { background: rgba(255,255,255,.12); color: var(--gold-300); }
.pillar__icon--teal { background: rgba(21,145,108,.1); color: var(--teal); }
.pillar__title { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 500; color: var(--navy); margin-bottom: var(--s4); letter-spacing: -.01em; }
.pillar__text { color: var(--text-soft); line-height: 1.7; font-size: var(--t-base); }
.pillar--feature { background: var(--navy); border-color: transparent; box-shadow: var(--sh-md); }
.pillar--feature .pillar__title { color: #fff; }
.pillar--feature .pillar__text { color: var(--on-dark-soft); }
.pillar--feature .pillar__index { color: var(--on-dark-faint); }
.pillar--feature::before { background: var(--gold-300); }
.pillar__badge {
  display: inline-block; margin-top: var(--s6);
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-300);
  border: 1px solid rgba(132,216,182,.4); padding: .35rem .8rem; border-radius: var(--r-pill);
}

/* ==================== OFFRES ==================== */
.offres { background: var(--paper-2); }
.offers {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s5);
}
.offer {
  grid-column: span 2;
  display: flex; flex-direction: column; gap: var(--s5);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: var(--s8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  position: relative;
}
.offer:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
/* bottom row: two wider cards */
.offer:nth-child(4) { grid-column: 1 / span 3; }
.offer:nth-child(5) { grid-column: 4 / span 3; }

.offer__top { display: flex; align-items: center; justify-content: space-between; }
.offer__num { font-family: var(--f-mono); font-size: 1.15rem; font-weight: 500; color: var(--text-faint); letter-spacing: .04em; }
.tag {
  font-family: var(--f-mono); font-size: .62rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  padding: .35rem .7rem; border-radius: var(--r-pill);
}
.tag--gold { background: rgba(15,138,102,.12); color: var(--gold); }
.tag--teal { background: rgba(21,145,108,.12); color: var(--teal); }
.tag--ink  { background: rgba(19,28,48,.07); color: var(--navy); }
.tag--onGold { background: rgba(132,216,182,.2); color: var(--gold-300); }

.offer__title { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 500; color: var(--navy); line-height: 1.12; letter-spacing: -.01em; }
.offer__desc { font-size: var(--t-sm); color: var(--text-soft); line-height: 1.65; }
.offer__list { display: flex; flex-direction: column; gap: .55rem; flex: 1; }
.offer__list li { position: relative; padding-left: 1.4rem; font-size: var(--t-sm); color: var(--text-soft); }
.offer__list li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 1px; background: var(--gold); transform: rotate(45deg); }
.offer__price { display: flex; align-items: baseline; gap: .5rem; padding-top: var(--s4); border-top: 1px solid var(--line); }
.offer__price span { font-family: var(--f-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-faint); }
.offer__price strong { font-family: var(--f-display); font-size: 1.7rem; font-weight: 500; color: var(--navy); font-variant-numeric: lining-nums; }
.offer__price small { font-size: var(--t-xs); color: var(--text-faint); }

.offer--feature { background: var(--navy); border-color: transparent; box-shadow: 0 28px 60px -22px rgba(19,28,48,.5); }
.offer--feature .offer__title { color: #fff; }
.offer--feature .offer__desc, .offer--feature .offer__list li { color: var(--on-dark-soft); }
.offer--feature .offer__num { color: var(--on-dark-faint); }
.offer--feature .offer__list li::before { background: var(--gold-300); }
.offer--feature .offer__price { border-top-color: var(--on-dark-line); }
.offer--feature .offer__price span, .offer--feature .offer__price small { color: var(--on-dark-faint); }
.offer--feature .offer__price strong { color: var(--gold-300); }
.offer__flag {
  position: absolute; top: 0; right: var(--s6); transform: translateY(-50%);
  background: var(--gold); color: #fff; font-family: var(--f-mono); font-size: .6rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; padding: .4rem .85rem; border-radius: var(--r-pill);
  box-shadow: var(--sh-gold);
}

/* ==================== PARCOURS (branching diagram) ==================== */
.parcours { background: var(--paper); }
.tree { position: relative; }
.trunk {
  position: relative; z-index: 2;
  background: linear-gradient(135deg, var(--ink), var(--navy-700));
  border-radius: var(--r-xl); padding: var(--s8) var(--s10); text-align: center;
  border: 1px solid rgba(15,138,102,.18);
}
.trunk__label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-300); margin-bottom: var(--s5); }
.trunk__chips { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; }
.trunk__chips li {
  font-size: var(--t-sm); color: var(--on-dark-soft);
  background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line);
  padding: .5rem 1rem; border-radius: var(--r-pill); transition: background .2s, border-color .2s, color .2s;
}
.trunk__chips li:hover { background: rgba(15,138,102,.16); border-color: rgba(15,138,102,.4); color: var(--gold-300); }

.tree__wires { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.tree__wires path { fill: none; stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 1; }
.tree__wires .wire-flow { stroke: var(--gold); stroke-width: 2; }

.branches { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); margin-top: clamp(var(--s12), 7vw, var(--s20)); }
.branch {
  position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: var(--s8); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.branch:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.branch__node {
  position: absolute; top: -7px; left: 50%; transform: translateX(-50%);
  width: 13px; height: 13px; border-radius: 50%; background: var(--paper); border: 2px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(15,138,102,.12);
}
.branch__icon { width: 52px; height: 52px; border-radius: var(--r-md); display: grid; place-items: center; margin-bottom: var(--s5); }
.branch__icon svg { width: 28px; height: 28px; }
.branch__icon--gold { background: rgba(15,138,102,.12); color: var(--gold); }
.branch__icon--navy { background: rgba(19,28,48,.07); color: var(--navy); }
.branch__icon--teal { background: rgba(21,145,108,.1); color: var(--teal); }
.branch__role { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: .4rem; }
.branch__title { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 500; color: var(--navy); margin-bottom: var(--s5); letter-spacing: -.01em; }
.branch__list { display: flex; flex-direction: column; gap: .55rem; }
.branch__list li { position: relative; padding-left: 1.35rem; font-size: var(--t-sm); color: var(--text-soft); }
.branch__list li::before { content: ''; position: absolute; left: 0; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }

/* ==================== NEURODIVERSITE ==================== */
.neuro { background: radial-gradient(110% 130% at 80% 0%, var(--navy-700) 0%, var(--ink) 55%); color: #fff; overflow: hidden; }
.neuro__grid { display: grid; grid-template-columns: 1fr 380px; gap: clamp(var(--s10), 6vw, var(--s24)); align-items: center; }
.neuro__lead { color: var(--on-dark-soft); font-weight: 300; line-height: 1.75; margin-block: var(--s6) var(--s8); max-width: 52ch; }
.neuro__tags { display: flex; flex-wrap: wrap; gap: var(--s3); }
.neuro__tags li {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em; color: var(--on-dark-soft);
  background: rgba(255,255,255,.06); border: 1px solid var(--on-dark-line); padding: .45rem .9rem; border-radius: var(--r-pill);
  transition: background .2s, color .2s, border-color .2s;
}
.neuro__tags li:hover { background: rgba(15,138,102,.18); color: var(--gold-300); border-color: rgba(15,138,102,.4); }
.neuro__btn { margin-top: var(--s8); }

.neuro__visual { display: grid; place-items: center; }
.orbit { position: relative; width: min(340px, 80vw); aspect-ratio: 1; display: grid; place-items: center; }
.orbit__ring { position: absolute; border-radius: 50%; border: 1.5px solid rgba(15,138,102,.25); }
.orbit__ring--1 { inset: 0; animation: spin 26s linear infinite; }
.orbit__ring--2 { inset: 16%; border-color: rgba(255,255,255,.12); animation: spin 18s linear infinite reverse; }
.orbit__ring--3 { inset: 32%; border-color: rgba(15,138,102,.4); animation: spin 12s linear infinite; }
.orbit__dot { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: var(--gold-300); box-shadow: 0 0 12px rgba(132,216,182,.6); }
.orbit__dot--a { top: 0; left: 50%; animation: orbit 26s linear infinite; }
.orbit__dot--b { top: 50%; right: 16%; animation: orbit 18s linear infinite reverse; }
.orbit__dot--c { bottom: 32%; left: 32%; background: #fff; animation: orbit 12s linear infinite; }
.orbit__core {
  position: relative; z-index: 1; width: 34%; aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: rgba(15,138,102,.14);
  border: 2px solid rgba(15,138,102,.35); backdrop-filter: blur(6px);
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes orbit { to { transform: rotate(360deg) translateX(2px) rotate(-360deg); } }

/* ==================== TEMOIGNAGES ==================== */
.temoignages { background: var(--paper-2); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s6); }
.quote {
  display: flex; flex-direction: column; gap: var(--s6); position: relative;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: var(--s8);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.quote::before {
  content: '\201C'; position: absolute; top: var(--s5); right: var(--s8);
  font-family: var(--f-display); font-size: 4.5rem; line-height: 1; color: var(--gold); opacity: .22;
}
.quote:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); }
.quote blockquote {
  font-family: var(--f-display); font-style: italic; font-weight: 400; font-size: var(--t-lg);
  line-height: 1.5; color: var(--navy); flex: 1;
}
.quote__by { display: flex; align-items: center; gap: var(--s4); padding-top: var(--s5); border-top: 1px solid var(--line); }
.quote__av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-mono); font-size: .8rem; font-weight: 500; color: #fff; flex-shrink: 0; }
.quote__av--navy { background: var(--navy); }
.quote__av--teal { background: var(--teal); }
.quote__av--gold { background: var(--gold); }
.quote__by strong { display: block; font-size: var(--t-sm); font-weight: 600; color: var(--navy); }
.quote__by small { display: block; font-size: var(--t-xs); color: var(--text-soft); margin-top: 2px; }

/* ==================== CTA ==================== */
.cta { background: linear-gradient(120deg, var(--ink) 0%, var(--navy) 55%, var(--navy-600) 100%); padding-block: clamp(var(--s16), 8vw, var(--s24)); position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; top: -120px; right: -100px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(15,138,102,.22), transparent 70%); }
.cta__inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--s12); flex-wrap: wrap; }
.cta__text h2 { font-family: var(--f-display); font-size: var(--t-h2); font-weight: 500; color: #fff; line-height: 1.08; letter-spacing: -.015em; }
.cta__text h2 em { font-style: italic; font-weight: 400; color: var(--gold-300); }
.cta__text p { margin-top: var(--s5); color: var(--on-dark-soft); font-weight: 300; line-height: 1.7; max-width: 50ch; }
.cta__actions { display: flex; flex-direction: column; gap: var(--s3); flex-shrink: 0; }

/* ==================== CONTACT ==================== */
.contact { background: var(--paper); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(var(--s10), 6vw, var(--s20)); align-items: start; }
.contact__lead { color: var(--text-soft); font-weight: 300; line-height: 1.7; margin-top: var(--s5); max-width: 46ch; }
.contact__details { display: flex; flex-direction: column; gap: var(--s5); margin-top: var(--s10); }
.contact__details li { display: flex; align-items: center; gap: var(--s4); font-size: var(--t-sm); color: var(--text-soft); }
.contact__details svg { width: 20px; height: 20px; color: var(--gold); flex-shrink: 0; }
.contact__details a { color: var(--navy); transition: color .2s; }
.contact__details a:hover { color: var(--gold); }

.contact__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(var(--s6), 3vw, var(--s10)); box-shadow: var(--sh-lg); }
.form { display: flex; flex-direction: column; gap: var(--s5); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: var(--t-sm); font-weight: 500; color: var(--navy); }
.req { color: var(--gold); }
.field input, .field textarea, .field select {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-md);
  font-size: var(--t-sm); color: var(--navy); background: var(--paper); outline: none;
  transition: border-color .2s, box-shadow .2s, background .2s; -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231A2744' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--text-faint); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(15,138,102,.14); }
.field textarea { resize: vertical; min-height: 120px; }
.field.is-error input, .field.is-error textarea { border-color: #d4493f; box-shadow: 0 0 0 3px rgba(212,73,63,.12); }
.form__success {
  display: flex; align-items: center; gap: var(--s3); color: #1f7a4d; font-size: var(--t-sm); font-weight: 500;
  padding: var(--s4); background: rgba(31,122,77,.08); border: 1px solid rgba(31,122,77,.2); border-radius: var(--r-md);
  animation: rise .4s var(--ease);
}
.form__success svg { width: 20px; height: 20px; flex-shrink: 0; }
.form__error {
  display: flex; align-items: center; gap: var(--s3); color: #b42318; font-size: var(--t-sm); font-weight: 500;
  padding: var(--s4); background: rgba(180,35,24,.07); border: 1px solid rgba(180,35,24,.22); border-radius: var(--r-md);
  animation: rise .4s var(--ease);
}
.form__error svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn__text { display: inline-block; }
/* Honeypot — masqué aux humains, accessible aux bots */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* ==================== FOOTER ==================== */
.footer { background: var(--ink); color: var(--on-dark-soft); padding-top: var(--s20); }
.footer__top { display: grid; grid-template-columns: 300px 1fr; gap: clamp(var(--s10), 6vw, var(--s20)); padding-bottom: var(--s16); border-bottom: 1px solid var(--on-dark-line); }
.footer__tagline { margin-top: var(--s5); font-family: var(--f-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-faint); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s8); }
.footer__col h3 { font-family: var(--f-mono); font-size: .68rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-faint); margin-bottom: var(--s5); }
.footer__col a { display: block; font-size: var(--t-sm); color: var(--on-dark-soft); margin-bottom: var(--s3); transition: color .2s; }
.footer__col a:hover { color: var(--gold-300); }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; padding-block: var(--s6); font-size: var(--t-xs); color: var(--on-dark-faint); }
.footer__legal { display: flex; gap: var(--s6); }
.footer__legal a { transition: color .2s; }
.footer__legal a:hover { color: var(--gold-300); }

/* ==================== SCROLL REVEAL ==================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:last-child { grid-column: span 2; }
  .offers { grid-template-columns: repeat(2, 1fr); }
  .offer, .offer:nth-child(4), .offer:nth-child(5) { grid-column: auto; }
  .offer--feature { grid-column: 1 / -1; order: -1; }
  .branches { grid-template-columns: 1fr 1fr; }
  .branch:last-child { grid-column: span 2; }
  .tree__wires { display: none; }
  .branch__node { display: none; }
  .neuro__grid { grid-template-columns: 1fr; }
  .neuro__visual { order: -1; }
  .quotes { grid-template-columns: 1fr 1fr; }
  .quote:last-child { grid-column: span 2; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: var(--s10); }
}

@media (max-width: 720px) {
  :root { --nav-h: 72px; }
  .brand__img { height: 50px; }
  .nav__links { display: none; }
  .nav__actions .btn--ghost, .nav__actions .btn--solid { display: none; }
  .nav__burger { display: flex; }
  .nav__links.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: var(--s1);
    position: fixed; inset: var(--nav-h) 0 auto 0; margin: 0;
    background: var(--paper); padding: var(--s5) var(--s6) var(--s6);
    border-bottom: 1px solid var(--line); box-shadow: var(--sh-lg);
  }
  .nav__links.is-open a { padding: var(--s4) var(--s2); font-size: var(--t-base); color: var(--navy); }
  .nav__links.is-open a::after { display: none; }

  .head, .head--left { text-align: left; margin-inline: 0; }
  .head .eyebrow { justify-content: flex-start; }
  .head:not(.head--left) .head__lead { margin-inline: 0; }

  .pillars { grid-template-columns: 1fr; }
  .pillar:last-child { grid-column: auto; }
  .offers { grid-template-columns: 1fr; }
  .offer--feature { order: 0; }
  .branches { grid-template-columns: 1fr; }
  .branch:last-child { grid-column: auto; }
  .quotes { grid-template-columns: 1fr; }
  .quote:last-child { grid-column: auto; }
  .form__row { grid-template-columns: 1fr; }
  .cta__inner { flex-direction: column; align-items: flex-start; }
  .cta__actions { flex-direction: row; flex-wrap: wrap; width: 100%; }
  .hero__stats { gap: var(--s8); flex-wrap: wrap; }
  .trust__label { max-width: none; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
}

/* ==================== MOTION PREFERENCES ==================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-anim] { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
