/* ============================================
   MAISON ADMISSIONS : Design System
   ============================================ */
:root {
  --cream: #F4EFE3;
  --cream-2: #F4EFE3; /* unifiée avec --cream : une seule teinte de fond clair */
  --navy: #12182B;
  --navy-2: #1C2A45;
  --gold: #E0B84D;
  --gold-dark: #C9A227;
  /* Or « encre » : version assombrie pour le texte doré sur fond crème (contraste WCAG AA) */
  --gold-ink: #7E6427;
  --ink: #1C2A45;
  --ink-soft: #4a5468;
  /* Gris-bleu clair : texte secondaire/légendes sur fond marine (remplace les surcharges rgba(cream) trop faibles) */
  --mist: #B8BFCF;
  --line: rgba(20, 35, 54, 0.12);
  --line-light: rgba(244, 239, 227, 0.16);
  --white: #ffffff;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1200px;
  --radius: 10px;        /* champs, petits blocs */
  --radius-card: 18px;   /* cartes */
  --radius-pill: 999px;  /* boutons, badges, nav */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 6px 24px rgba(20, 35, 54, 0.07), 0 18px 48px rgba(20, 35, 54, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
/* Le site se dessine trop grand à 100 % : on affiche par défaut à l'équivalent d'un zoom navigateur à 70 %
   (uniquement au-delà du point de rupture mobile, déjà pensé pour sa propre échelle). */
@media (min-width: 761px) {
  html { zoom: 0.7; }
}
/* Même constat sur téléphone, en plus léger (-15 %) : la mise en page mobile est déjà
   pensée à sa propre échelle, contrairement au desktop elle n'a pas besoin d'un gros
   facteur de zoom, juste d'être un peu resserrée. */
@media (max-width: 760px) {
  html { zoom: 0.85; }
}
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 18px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-soft);
}
/* Badges de section en pilule */
.eyebrow--gold, .eyebrow--light {
  display: inline-block; padding: 7px 16px; border-radius: var(--radius-pill);
}
.eyebrow--gold { color: var(--gold-ink); background: var(--white); border: 1px solid var(--line); }
.eyebrow--light { color: var(--gold); background: rgba(224,184,77, 0.12); border: 1px solid rgba(224,184,77, 0.4); }

.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05;
  letter-spacing: -0.01em; margin-top: 14px;
  overflow-wrap: break-word; hyphens: auto;
}
.section-title em { font-style: italic; color: var(--gold-ink); }
.section-title--light { color: var(--cream); }
.section-title--light em { color: var(--gold); }

.section-lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 640px; margin-top: 16px; }
.section-lead--light { color: rgba(244, 239, 227, 0.78); }

/* Complément de titre discret mais lisible (contraste AA garanti, jamais caché) */
.title-note {
  display: block; font-size: 0.56em; font-weight: 400; font-style: italic;
  letter-spacing: 0; line-height: 1.25; margin-top: 12px;
}
.title-note--onlight { color: var(--ink-soft); }   /* #4a5468 sur crème : 6.7:1 */
.title-note--ondark { color: var(--gold); }        /* #E0B84D sur #12182B : 9.3:1 */

.section-head { margin-bottom: 44px; }
.section-head--center { text-align: center; }
.section-head--center .section-lead { margin-left: auto; margin-right: auto; }
.section-cta { text-align: center; margin-top: 48px; }

/* ---------- Accessibilité : utilitaires ---------- */
.sr-only {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
/* Saut de ligne réservé au mobile (voir @media max-width:760px pour l'activer) */
.br-mobile { display: none; }
/* Contenu masqué en mobile uniquement (voir @media max-width:760px) */
.hide-mobile { display: inline; }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--gold); color: var(--navy);
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  letter-spacing: 0.06em; padding: 12px 18px;
  border-radius: 0 0 var(--radius) var(--radius); text-decoration: none;
}
.skip-link:focus { left: 16px; }

/* ---------- Courbes de transition entre sections ---------- */
.curve {
  position: absolute; left: 0; width: 100%; height: 70px;
  pointer-events: none; display: block;
}
.curve--top { top: -1px; }
.curve--bottom { bottom: -1px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 15px 30px; border-radius: var(--radius-pill);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
  white-space: nowrap;
}
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.btn--primary { background: var(--gold); color: var(--navy); }
.btn--primary:hover { background: #F0CB66; transform: translateY(-2px); box-shadow: 0 10px 26px rgba(201,162,39,0.32); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-2px); }
.btn--sm { padding: 11px 20px; font-size: 12px; }
.btn--lg { padding: 18px 34px; font-size: 14px; }
.btn--block { display: flex; width: 100%; }

/* ---------- Nav : pilule flottante ---------- */
.nav {
  position: sticky; top: 12px; z-index: 100;
  padding: 0 14px;
}
/* La nav agrandie a besoin d'un conteneur plus large que les sections */
.nav .container { max-width: var(--container); }
.nav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px;
  background: transparent; border: 1px solid transparent; border-radius: var(--radius-pill);
  padding: 0 14px 0 30px;
  transition: box-shadow .3s var(--ease), background .3s var(--ease), border-color .3s var(--ease);
}
.nav.is-scrolled .nav__inner {
  background: rgba(244, 239, 227, 0.95);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-color: var(--line);
  box-shadow: 0 14px 40px rgba(20, 35, 54, 0.14);
}
.nav__logo {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; color: var(--cream);
  text-decoration: none; white-space: nowrap; transition: color .3s var(--ease);
}
.nav__logo-icon { width: 15px; height: 30px; flex-shrink: 0; object-fit: contain; }
.nav.is-scrolled .nav__logo { color: var(--ink); }
.nav__links { display: flex; flex-shrink: 0; gap: 22px; }
.nav__links a {
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 500;
  letter-spacing: 0.09em; text-transform: uppercase; white-space: nowrap;
  color: rgba(244,239,227,0.85); text-decoration: none; position: relative; padding: 4px 0;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1.5px;
  background: var(--gold); transition: width .3s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
.nav__links a.is-active { color: var(--gold); }
.nav__links a.is-active::after { width: 100%; }
.nav.is-scrolled .nav__links a { color: var(--ink); }
.nav.is-scrolled .nav__links a.is-active { color: var(--gold-ink); }
.nav__actions { display: flex; align-items: center; gap: 12px; }
.nav__burger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 44px; height: 44px; background: none; border: none; cursor: pointer; padding: 0;
}
.nav__burger span { width: 24px; height: 2px; background: rgba(244,239,227,0.9); transition: background .3s var(--ease), transform .3s var(--ease); }
.nav.is-scrolled .nav__burger span { background: var(--ink); }
.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 (navy) ---------- */
.hero {
  background: var(--navy); color: var(--cream);
  /* Haut : compense la nav flottante détachée. */
  margin-top: -102px;
  padding: clamp(160px, 17vw, 210px) 0 clamp(133px, 9vw, 177px);
  position: relative; overflow: hidden;
}
.hero__badge {
  display: inline-block; text-align: center; line-height: 1.55;
  font-family: var(--font-ui); font-size: 14.5px; font-weight: 500;
  letter-spacing: 0.05em; color: var(--cream);
  background: rgba(224,184,77, 0.12);
  border: 1px solid rgba(224,184,77, 0.45);
  border-radius: 26px; padding: 11px 24px;
  animation: badgePulse 2.6s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(224,184,77, 0.35); border-color: rgba(224,184,77, 0.45); }
  50% { box-shadow: 0 0 0 8px rgba(224,184,77, 0); border-color: rgba(224,184,77, 0.85); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__badge { animation: none; }
}
.hero__badge strong { color: var(--gold); font-weight: 600; }
/* Vignettage radial : assombrit légèrement les bords pour donner de la profondeur */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 95% at 32% 40%, rgba(0,0,0,0) 55%, rgba(4,10,19,0.45) 100%);
}
/* Grain fin en surimpression : casse l'aplat du gradient, donne une texture matière */
.hero__grain {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}
/* Motif architectural : façade en fin trait doré, filigrane centré derrière le texte */
.hero__motif {
  position: absolute; z-index: 0; left: 50%; top: 55%;
  transform: translate(-50%, -50%);
  height: min(92%, 520px); width: auto;
  color: var(--gold); opacity: 0.07; pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; top: 0; right: -8%; width: 560px; height: 560px;
  background: radial-gradient(circle, rgba(224,184,77,0.22), transparent 68%);
  border-radius: 50%; pointer-events: none;
}
/* Hero élargi : ~90 % de largeur utile sur desktop, tailles augmentées */
.hero__inner { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; text-align: center; }
.hero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.3rem, 6vw, 4.3rem); line-height: 1.06;
  letter-spacing: -0.015em; margin: 24px 0 0; color: var(--cream);
}
.hero__title em { font-style: italic; color: var(--gold); white-space: nowrap; }
.hero__desc {
  font-family: var(--font-ui); font-weight: 500;
  font-size: clamp(0.92rem, 1.05vw, 1.02rem); letter-spacing: 0.01em;
  color: rgba(244,239,227,0.85);
  max-width: 640px; margin: 20px auto 0; line-height: 1.5;
}
.hero__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero .btn--ghost { color: var(--cream); border-color: rgba(244,239,227,0.45); }
.hero .btn--ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.hero__micro {
  font-family: var(--font-ui); font-size: 12.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(244,239,227,0.6); margin-top: 24px;
}

/* ---------- Logos marquee ---------- */
.logos { padding: 42px 0 34px; background: var(--cream-2); }

/* ---------- KPIs (sous le titre « Pourquoi Maison Admissions », même échelle que les logos écoles) ---------- */
.kpis {
  display: flex; justify-content: center; align-items: center; flex-wrap: wrap;
  gap: 24px 64px; margin: 0 0 clamp(44px, 6vw, 64px);
}
.kpi { display: flex; align-items: center; gap: 18px; }
.kpi__icon {
  display: grid; place-items: center; width: 66px; height: 66px; flex-shrink: 0;
  border-radius: 50%; background: rgba(224,184,77,0.14); color: var(--gold-ink);
  border: 1px solid rgba(224,184,77,0.3);
}
.kpi__icon svg { width: 32px; height: 32px; }
.kpi__text {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  letter-spacing: 0.01em; color: var(--ink); white-space: nowrap;
}
.logos__label {
  text-align: center; font-family: var(--font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 26px;
}
.marquee {
  overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; align-items: center; gap: 56px; width: max-content;
  animation: marquee 46s linear infinite;
}
.marquee--second { margin-top: 18px; }
.marquee__track--b { animation-duration: 52s; animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
/* :hover ne se déclenche pas de façon fiable au tap tactile : la popup admissions
   pilote elle-même cette classe en JS pour figer le défilement le temps qu'elle
   est ouverte (sinon les logos continuent de glisser sous une popup immobile). */
.marquee--paused .marquee__track { animation-play-state: paused; }
.marquee__track .logo {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; height: 66px; padding: 0; border: 0; background: none;
  cursor: pointer;
}
.marquee__track .logo img {
  height: 44px; width: auto; object-fit: contain;
  transition: transform .25s var(--ease);
}
/* Hauteurs harmonisées par masse visuelle (H ∝ 1/ratio^0.4, bornée entre 20 et 36px) */
.marquee__track .logo[data-school="Imperial College"] img      { height: 19px; }
.marquee__track .logo[data-school="Bocconi"] img                { height: 26px; }
.marquee__track .logo[data-school="EDHEC"] img                  { height: 35px; }
.marquee__track .logo[data-school="SKEMA"] img                  { height: 38px; }
.marquee__track .logo[data-school="NEOMA"] img                  { height: 34px; }
.marquee__track .logo[data-school="IE Business School"] img     { height: 40px; }
.marquee__track .logo[data-school="ESCP"] img                   { height: 53px; }
.marquee__track .logo[data-school="EM Lyon"] img                { height: 47px; }
.marquee__track .logo[data-school="INSEAD"] img                 { height: 56px; }
.marquee__track .logo[data-school="ESSEC"] img                  { height: 59px; }
.marquee__track .logo[data-school="London Business School"] img { height: 50px; }
.marquee__track .logo:hover img,
.marquee__track .logo:focus-visible img { transform: scale(1.06); }
/* Tuiles typographiques provisoires (logos à fournir) */
.logo--placeholder span {
  display: inline-block; font-family: var(--font-display);
  font-size: 1.65rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--ink); opacity: 0.82; white-space: nowrap;
  border-bottom: 1px solid rgba(20, 35, 54, 0.28); padding-bottom: 2px;
  transition: transform .25s var(--ease);
}
.marquee__track .logo--placeholder:hover span,
.marquee__track .logo--placeholder:focus-visible span { transform: scale(1.06); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Popup admissions ---------- */
.admit-pop {
  position: fixed; z-index: 200; width: 250px; max-width: calc(100vw - 24px);
  background: var(--cream, #fff); color: var(--ink); border: 1px solid var(--line);
  border-radius: 12px; box-shadow: 0 18px 50px rgba(0,0,0,.18);
  padding: 13px 14px 12px; opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}
.admit-pop.is-open { opacity: 1; transform: translateY(0); }
.admit-pop::after {
  content: ""; position: absolute; left: var(--arrow-x, 50%); bottom: -7px; width: 14px; height: 14px;
  background: var(--cream, #fff); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  transform: translateX(-50%) rotate(45deg);
}
.admit-pop--below::after { top: -7px; bottom: auto; border: 0; border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
.admit-pop__school {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin: 0 0 9px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.admit-pop__prog { margin-bottom: 12px; }
.admit-pop__prog:last-child { margin-bottom: 0; }
.admit-pop__head { display: flex; align-items: baseline; gap: 8px; }
.admit-pop__name { font-family: var(--font-ui); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); }
.admit-pop__rounds { list-style: none; margin: 6px 0 0; padding: 0; }
.admit-pop__rounds li { display: flex; justify-content: space-between; gap: 10px; font-size: .82rem; padding: 3px 0; color: var(--ink-soft); }
.admit-pop__rounds li span:first-child { font-weight: 600; color: var(--ink); }
.admit-pop__prognote { margin: 6px 0 0; font-family: var(--font-ui); font-size: .7rem; line-height: 1.35; color: var(--ink-soft); font-style: italic; }

/* ---------- Why / Accompagnement (clair, prolonge le fond crème de la bande logos) ---------- */
.why {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0 clamp(36px, calc(8vw - 28px), 68px);
  background: var(--cream-2); color: var(--ink);
}
.why .section-head { margin-bottom: clamp(44px, 6vw, 64px); }
.why__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  position: relative; z-index: 2;
}
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 34px 30px; position: relative; overflow: hidden; cursor: default;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 3px;
  background: var(--gold); transform: scaleY(0); transform-origin: top;
  transition: transform .4s var(--ease);
}
.card:hover, .card:focus-visible {
  transform: translateY(-4px); border-color: rgba(224,184,77,0.5);
  box-shadow: 0 16px 36px rgba(20,35,54,0.10); outline: none;
}
.card:hover::before, .card:focus-visible::before { transform: scaleY(1); }
.card__icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 14px; background: rgba(224,184,77,0.14); color: var(--gold-ink);
  border: 1px solid rgba(224,184,77,0.3);
  margin-bottom: 18px; transition: background .35s var(--ease), transform .35s var(--ease);
}
.card__icon svg { width: 22px; height: 22px; }
.card:hover .card__icon { background: var(--gold); color: var(--navy); transform: scale(1.06); }
.card__num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-display); font-size: 2rem; font-weight: 600;
  color: var(--gold-ink); opacity: 0.22;
}
.card__title { font-family: var(--font-display); font-size: 1.55rem; font-weight: 500; margin-bottom: 12px; color: var(--ink); }
.card p { color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- Méthode (parcours scroll-driven façon Twilio) ---------- */
.methode { position: relative; padding: clamp(64px, 7vw, 96px) 0 clamp(56px, 7vw, 84px); background: var(--cream); }
.methode-cta { background: var(--cream-2); padding: clamp(48px, 6vw, 72px) 0 clamp(56px, 7vw, 84px); }
.methode-cta .hero__micro { color: var(--ink-soft); }

/* --- Base : version empilée (mobile, no-JS, reduced-motion) --- */
.mtw { position: relative; }
.mtw__inner { }
.mtw__stage { display: grid; grid-template-columns: 1fr; gap: 0; }
.mtw__panel + .mtw__panel { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.mtw__panel-art {
  display: grid; place-items: center; width: 100%; max-width: 320px; aspect-ratio: 200 / 150;
  margin-bottom: 20px;
}
.mtw__panel-art svg { width: 100%; height: 100%; }
.mtw__tag {
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold-ink);
}
.mtw__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.3rem, 4vw, 3.4rem); line-height: 1.1;
  color: var(--ink); margin: 12px 0 20px;
}
.mtw__title em { font-style: italic; color: var(--gold); }
.mtw__body { max-width: none; color: var(--ink-soft); font-size: 1.42rem; line-height: 1.6; text-align: justify; hyphens: auto; }
.mtw__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.mtw__pill {
  font-family: var(--font-ui); font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--gold-ink); background: rgba(224,184,77,0.1);
  border: 1px solid rgba(224,184,77,0.4); border-radius: var(--radius-pill);
  padding: 8px 16px; white-space: nowrap;
}
.mtw__visual, .mtw__timeline, .mtw__scroll, .mtw__swipehint { display: none; }

/* En-tête cliquable de chaque étape (accordéon sur mobile, simple titre en desktop épinglé) */
.mtw__panelhead { margin-bottom: 4px; }
.mtw__panelq {
  all: unset; box-sizing: border-box; display: flex; align-items: center;
  gap: 14px; width: 100%; cursor: pointer;
}
.mtw__panelnum {
  display: none; flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: var(--gold);
  font-family: var(--font-display); font-weight: 600; font-size: 1.15rem;
  align-items: center; justify-content: center;
}
.mtw__panelmain { display: block; flex: 1 1 auto; min-width: 0; }
.mtw__panelq .mtw__title { display: block; }
.mtw__panelchev {
  flex-shrink: 0; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(224,184,77,0.35); color: var(--gold-ink);
  transition: transform .35s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.mtw__panelchev svg { width: 17px; height: 17px; display: block; }
.mtw__panel.is-active .mtw__panelchev {
  transform: rotate(180deg); background: var(--gold); color: var(--navy); border-color: var(--gold);
}
.mtw__panelbody { display: block; }

/* Schémas illustrés façon unipad (accent or sur fond crème) */
.mschema { display: block; }
.mschema .pnl { fill: rgba(28,42,69,0.04); stroke: rgba(28,42,69,0.18); stroke-width: 1.4; }
.mschema .bar { fill: rgba(28,42,69,0.32); }
.mschema .barlite { fill: rgba(28,42,69,0.15); }
.mschema .gold { fill: var(--gold); }
.mschema .goldlite { fill: rgba(224,184,77,0.4); }
.mschema .line { fill: none; stroke: rgba(28,42,69,0.35); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mschema .goldstroke { fill: none; stroke: var(--gold-dark); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mschema .avatar { fill: rgba(28,42,69,0.1); }
.mschema .avatar-i { fill: rgba(28,42,69,0.4); }
.mschema .navystroke { fill: none; stroke: var(--navy); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.mschema .navyfill { fill: var(--navy); }

/* --- Desktop épinglé : le panneau reste fixe, le scroll change l'étape ---
   La dernière étape n'a pas besoin d'autant de recul scroll que les précédentes
   (rien à anticiper après elle) : son segment est raccourci pour éviter le grand
   vide avant le CTA de fin de page. */
/* Le site est affiché en zoom CSS 0.7 (voir html{zoom} plus haut) : ce zoom réduit
   proportionnellement tout ce qui est dimensionné en vh, donc on compense (/ 0.7)
   pour que la section occupe vraiment l'écran visible, pas 70 % de celui-ci. */
.mtw--driven { height: calc((5 * 76vh + 34vh) / 0.7); }
.mtw--driven .mtw__pin {
  position: sticky; top: 104px; height: calc((100vh - 128px) / 0.7); min-height: calc(540px / 0.7);
  display: flex; flex-direction: column; align-items: stretch;
}
.mtw--driven .mtw__inner {
  display: flex; flex-direction: column; justify-content: center;
  flex: 1; min-height: 0; width: 100%; max-width: var(--container);
}
.mtw--driven .mtw__stage {
  grid-template-columns: 1.3fr 1fr; gap: clamp(40px, 5vw, 80px); align-items: start;
}
.mtw--driven .mtw__visual { align-self: start; }
/* Panneaux de texte empilés dans une même cellule : un seul visible */
.mtw--driven .mtw__text { display: grid; }
.mtw--driven .mtw__panel {
  grid-area: 1 / 1; margin: 0; padding: 0; border: 0;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.mtw--driven .mtw__panel.is-active { opacity: 1; transform: none; pointer-events: auto; }
.mtw--driven .mtw__panel-art { display: none; }
.mtw--driven .mtw__visual { display: block; }
.mtw--driven .mtw__timeline {
  display: grid; flex-shrink: 0; margin-top: 40px; padding: 10px 24px 4px; width: 100%;
}
.mtw--driven .mtw__scroll { display: block; position: absolute; inset: 0; z-index: -1; }
.mtw--driven .mtw__seg { height: 76vh; }
.mtw--driven .mtw__seg:last-child { height: 34vh; }
.mtw--driven .mtw__panelchev { display: none; }
.mtw--driven .mtw__panelq { cursor: default; pointer-events: none; }

/* --- Fallback (no-JS / reduced-motion / pas d'IntersectionObserver) : les 6 étapes
   s'enchaînent à la suite, sans le mécanisme de scroll piloté. --- */
.mtw:not(.mtw--driven) .mtw__panelbody { display: block; }
.mtw:not(.mtw--driven) .mtw__panelq { cursor: default; pointer-events: none; }
.mtw:not(.mtw--driven) .mtw__panelchev { display: none; }
.mtw:not(.mtw--driven) .mtw__panelnum { display: flex; }
.mtw:not(.mtw--driven) .mtw__panelq .mtw__title { font-size: 1.55rem; margin: 3px 0 0; }
.mtw:not(.mtw--driven) .mtw__panel-art { margin-top: 18px; }

/* Timeline compacte et défilante (réutilisée par le mode piloté mobile ci-dessous) */
.mtw__timeline--compact {
  display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 10px;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mtw__timeline--compact::-webkit-scrollbar { display: none; }
.mtw__timeline--compact .mtw__node { flex: 0 0 auto; padding: 18px 0 0; }
.mtw__timeline--compact .mtw__diamond { width: 26px; height: 26px; }
.mtw__timeline--compact .mtw__nodeicon { width: 26px; height: 26px; }
.mtw__timeline--compact .mtw__nodeicon svg { width: 12px; height: 12px; }
.mtw__timeline--compact .mtw__nodenum { font-size: 1.05rem; margin-top: 12px; }
.mtw__timeline--compact .mtw__label { font-size: 9.5px; letter-spacing: 0.06em; margin-top: 5px; white-space: nowrap; }
.mtw:not(.mtw--driven) .mtw__timeline {
  display: flex; gap: 22px; overflow-x: auto; padding: 6px 4px 10px;
  margin-top: 36px; border-top: 1px solid var(--line);
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mtw:not(.mtw--driven) .mtw__timeline::-webkit-scrollbar { display: none; }
.mtw:not(.mtw--driven) .mtw__track { display: none; }
.mtw:not(.mtw--driven) .mtw__node { flex: 0 0 auto; padding: 18px 0 0; }
.mtw:not(.mtw--driven) .mtw__diamond { width: 26px; height: 26px; }
.mtw:not(.mtw--driven) .mtw__nodeicon { width: 26px; height: 26px; }
.mtw:not(.mtw--driven) .mtw__nodeicon svg { width: 12px; height: 12px; }
.mtw:not(.mtw--driven) .mtw__nodenum { font-size: 1.05rem; margin-top: 12px; }
.mtw:not(.mtw--driven) .mtw__label { font-size: 9.5px; letter-spacing: 0.06em; margin-top: 5px; white-space: nowrap; }

/* --- Sur téléphone, pas de mode épinglé (voir mtwEvalDriven en JS, désactivé
   sous 761px) : la section devient un carrousel qu'on fait défiler
   horizontalement au pouce, un panneau = une étape = un swipe. La timeline à
   losanges du bas est purement décorative une fois qu'on navigue au swipe :
   supprimée sur mobile plutôt que juste dépouillée de son animation. --- */
@media (max-width: 760px) {
  .mtw:not(.mtw--driven) .mtw__text {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; scrollbar-width: none;
  }
  .mtw:not(.mtw--driven) .mtw__text::-webkit-scrollbar { display: none; }
  .mtw:not(.mtw--driven) .mtw__panel { flex: 0 0 100%; min-width: 0; scroll-snap-align: start; }
  .mtw:not(.mtw--driven) .mtw__panel + .mtw__panel { margin-top: 0; padding-top: 0; border-top: none; }
  .mtw:not(.mtw--driven) .mtw__timeline { display: none; }
  /* Petite flèche pour indiquer que ça se swipe vers la droite ; disparaît sur
     la dernière étape puisqu'il n'y a alors plus rien à découvrir. */
  .mtw__pin { position: relative; }
  .mtw:not(.mtw--driven) .mtw__swipehint {
    display: grid; place-items: center; position: absolute; bottom: 4px; right: 2px;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(224,184,77,0.14); color: var(--gold-ink); pointer-events: none;
  }
  .mtw:not(.mtw--driven) .mtw__swipehint svg { width: 16px; height: 16px; }
  .mtw.is-last-step .mtw__swipehint { display: none; }
}

/* Zone visuelle (droite) : plus de bulle, le schéma flotte directement sur le fond de page */
.mtw__card {
  position: relative;
  min-height: 300px;
  display: flex; flex-direction: column;
}
.mtw__count { position: relative; z-index: 1; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-soft); }
.mtw__count b { font-size: 2.1rem; font-weight: 600; color: var(--gold); }
.mtw__arts { position: relative; z-index: 1; flex: 1; display: grid; place-items: center; margin-top: 8px; }
.mtwart {
  grid-area: 1 / 1; width: min(230px, 88%); height: auto;
  opacity: 0; transform: scale(0.97);
  transition: opacity .45s var(--ease), transform .45s var(--ease);
}
.mtwart.is-active { opacity: 1; transform: none; }

/* Timeline horizontale (nœuds nommés + progression) */
/* Timeline plus grande et plus présente (losanges + numéro + libellé) */
.mtw__timeline { position: relative; grid-template-columns: repeat(6, 1fr); align-items: start; padding-top: 8px; }
.mtw__track { position: absolute; top: 28px; left: 24px; right: 24px; height: 4px; border-radius: 4px; background: rgba(28,42,69,0.12); }
.mtw__fill { display: block; height: 100%; border-radius: 4px; width: 0; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); transition: width .5s var(--ease); }
.mtw__node {
  position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0;
  background: none; border: 0; cursor: pointer; padding: 0 6px;
}
.mtw__diamond {
  width: 44px; height: 44px; transform: rotate(45deg);
  background: var(--navy-2); border: 2.5px solid rgba(224,184,77,0.25);
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.mtw__nodeicon {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 44px; height: 44px; display: grid; place-items: center;
  color: rgba(244,239,227,0.55); pointer-events: none; transition: color .3s var(--ease);
}
.mtw__nodeicon svg { width: 20px; height: 20px; display: block; }
.mtw__node.is-done .mtw__nodeicon { color: var(--navy); }
.mtw__node.is-active .mtw__nodeicon { color: var(--navy); }
.mtw__node:hover .mtw__diamond { border-color: var(--gold); }
.mtw__node.is-done .mtw__diamond { background: var(--gold-dark); border-color: var(--gold-dark); }
.mtw__node.is-active .mtw__diamond { background: var(--gold); border-color: var(--gold); transform: rotate(45deg) scale(1.12); }
.mtw__nodenum { display: none; }
.mtw__label {
  display: block; font-family: var(--font-ui); font-weight: 600; font-size: 13px;
  letter-spacing: 0.02em; color: var(--ink-soft); margin-top: 30px;
  transition: color .3s var(--ease); white-space: nowrap;
}
.mtw__node.is-done .mtw__label { color: var(--ink); }
.mtw__node.is-active .mtw__label { color: var(--gold-ink); font-weight: 700; }
.mtw__node:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  .mtwart, .mtw__fill, .mtw__diamond, .mtw__label, .mtw__node .mtw__diamond { transition: none; }
}

/* ---------- Battle card ----------
   Markup : vraie <table> sémantique ; le rendu grid est conservé en
   surchargeant les display (les role="…" du HTML préservent la sémantique). */
.battle { padding: clamp(56px, 7vw, 84px) 0; }
.battle__table {
  /* La table elle-même est transparente : l'en-tête (dont la cellule vide en haut
     à gauche) se fond dans la section ; seul le corps porte la carte blanche. */
  display: block; max-width: 1120px; margin: 0 auto;
  background: transparent; border: 0; border-collapse: collapse;
}
.battle__table thead { display: block; }
.battle__table tbody {
  display: block; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.battle__row { display: grid; grid-template-columns: 1.1fr 1.4fr 1.4fr; align-items: stretch; }
.battle__table tbody .battle__row + .battle__row { border-top: 1px solid var(--line); }
.battle__crit {
  padding: 26px 30px; font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  letter-spacing: -0.005em; color: var(--ink); display: flex; align-items: center;
  text-align: left; background: var(--cream-2);
}
.battle__col { padding: 26px 30px; font-size: 1.16rem; display: flex; align-items: center; gap: 12px; text-align: left; font-weight: 400; }
.battle__col--us { background: rgba(224,184,77,0.09); color: var(--ink); font-weight: 500; border-left: 3px solid var(--gold); }
.battle__col--them { color: var(--ink-soft); }
.battle__row--head .battle__col {
  flex-direction: column; align-items: flex-start; gap: 5px;
  justify-content: center; text-align: left;
  background: transparent; border-left: none; padding-bottom: 16px;
}
.battle__colname { font-family: var(--font-display); font-size: 1.8rem; font-weight: 600; line-height: 1.1; }
.battle__colcap { display: none; }
.battle__sub { font-family: var(--font-ui); font-size: 13px; font-weight: 400; color: var(--ink-soft); }
.battle__row .ic { font-size: 1.15rem; }
.battle__row--head .battle__col--us .battle__colname { color: var(--gold-ink); }
.battle__row--head .battle__col--them .battle__colname { color: var(--ink); }
.battle__row--head .battle__crit { background: transparent; }
.ic { flex-shrink: 0; display: inline-flex; }
.ic svg { width: 18px; height: 18px; display: block; }
.ic--yes { color: var(--gold-ink); }
.ic--no { color: var(--ink-soft); }

/* ---------- Témoignages ---------- */
.voices {
  padding: clamp(27px, calc(7vw - 29px), 55px) 0;
  background: var(--cream-2);
}
.voice__stars { display: flex; gap: 4px; }
.voice__stars svg { width: 15px; height: 15px; fill: var(--gold); }
.voices__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0 auto; }
.voice {
  background: #FBF8F0; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 15px;
  box-shadow: 0 4px 16px rgba(20,35,54,0.05);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.voice:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(20,35,54,0.08); border-color: rgba(224,184,77,0.45); }
.voice__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.voice__school { flex-shrink: 0; max-height: 24px; max-width: 96px; width: auto; object-fit: contain; }
.voice__flag { font-size: 0.95em; margin-left: 4px; }
.voice__quote p { font-size: 0.99rem; line-height: 1.55; color: var(--ink); }
.voice__cite { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 12px; }
.voice__avatar {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-ui); font-weight: 600; font-size: 14px;
  color: var(--gold-ink); background: rgba(224,184,77,0.14);
  border: 1px solid rgba(224,184,77,0.35);
}
.voice:nth-of-type(even) .voice__avatar { color: var(--navy); background: rgba(20,35,54,0.08); border-color: rgba(20,35,54,0.18); }
.voice__meta { display: flex; flex-direction: column; gap: 3px; }
.voice__name { font-family: var(--font-ui); font-weight: 600; font-size: 14px; color: var(--ink); }
.voice__prog { font-family: var(--font-ui); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-ink); }
.voices__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin: 48px auto 0; text-align: center; }
.vstat__num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--ink); }
.vstat__label { font-family: var(--font-ui); font-size: 12.5px; color: var(--ink-soft); }


/* ---------- Pricing ---------- */
.pricing { padding: clamp(56px, 7vw, 84px) 0; background: var(--cream-2); }
.section-lead--center { margin-left: auto; margin-right: auto; text-align: center; }
.pricing__card {
  position: relative; max-width: 660px; margin: 34px auto 0;
  background: var(--navy); color: var(--cream); border-radius: 22px;
  padding: 42px 44px 34px; box-shadow: 0 30px 70px rgba(20,35,54,0.22);
}
.pricing__badge {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--navy); background: var(--gold);
  padding: 8px 20px; border-radius: 100px; box-shadow: 0 8px 20px rgba(20,35,54,0.25);
}
.pricing__top { text-align: center; padding-bottom: 20px; border-bottom: 1px solid var(--line-light); margin-bottom: 20px; }
.pricing__kicker { font-family: var(--font-ui); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.pricing__price { font-family: var(--font-display); font-size: 4rem; font-weight: 600; color: var(--cream); margin: 6px 0 4px; }
.pricing__price-unit { font-size: 1.4rem; font-weight: 500; color: rgba(244,239,227,0.6); }
.pricing__note { font-size: 1rem; color: rgba(244,239,227,0.7); }
.pricing__split {
  display: inline-block; margin-top: 18px; padding: 9px 18px; border-radius: 100px;
  border: 1px solid rgba(224,184,77,0.4); background: rgba(224,184,77,0.08);
  font-size: 0.95rem; color: rgba(244,239,227,0.78);
}
.pricing__split strong { color: var(--gold); font-weight: 600; }
.pricing__value {
  max-width: 440px; margin: 18px auto 0; font-family: var(--font-display);
  font-style: italic; font-size: 1.05rem; line-height: 1.45; color: rgba(244,239,227,0.72);
}
.pricing__value strong { color: var(--cream); font-weight: 500; font-style: normal; }
.pricing__featured {
  position: relative; padding: 0 0 22px 32px; margin-bottom: 22px;
  border-bottom: 1px solid var(--line-light); font-size: 1.08rem; color: rgba(244,239,227,0.92);
}
.pricing__featured::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.pricing__featured strong { color: var(--cream); font-weight: 600; }
.pricing__grid {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px 26px; margin-bottom: 26px;
}
.pricing__grid li { position: relative; padding-left: 30px; font-size: 1.02rem; color: rgba(244,239,227,0.88); line-height: 1.4; }
.pricing__grid li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--gold); font-weight: 700; }
.pricing__grid strong { color: var(--cream); font-weight: 600; }
.pricing__foot { text-align: center; margin-top: 18px; font-size: 0.95rem; color: rgba(244,239,227,0.62); }
.pricing__foot strong { color: rgba(244,239,227,0.85); font-weight: 600; }
/* ---------- FAQ ---------- */
.faq { padding: clamp(28px, calc(7vw - 28px), 56px) 0 clamp(56px, 7vw, 84px); }
.faq__more { text-align: center; margin-top: 34px; }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  padding: 0 24px; margin-bottom: 12px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease);
}
.faq__item:hover, .faq__item.is-open { border-color: rgba(224,184,77,0.5); }
.faq__item:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.faq__item.is-open { box-shadow: var(--shadow-soft); transform: none; }
.faq__q {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  width: 100%; background: none; border: none; cursor: pointer; text-align: left;
  padding: 21px 0; font-family: var(--font-display); font-size: 1.35rem; font-weight: 500; color: var(--ink);
}
.faq__h { margin: 0; }
.faq__q:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.faq__toggle { display: inline-flex; color: var(--gold-ink); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq__toggle svg { width: 20px; height: 20px; display: block; }
.faq__item.is-open .faq__toggle { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq__a p { padding: 0 0 24px; color: var(--ink-soft); font-size: 1.1rem; max-width: 700px; }
.faq__item.is-open .faq__a { max-height: 620px; }

/* ---------- Final CTA ---------- */
.cta {
  position: relative;
  padding: clamp(64px, 8vw, 96px) 0 clamp(56px, 7vw, 84px);
  background: var(--navy); color: var(--cream);
}
/* Bloc de réservation centré : titre, accroche, trois atouts en pastilles, gros bouton */
.cta__inner { display: flex; flex-direction: column; align-items: center; gap: 36px; text-align: center; }
.cta__copy { max-width: 720px; }
.cta__title { font-family: var(--font-display); font-size: clamp(2.2rem, 4.6vw, 3.4rem); font-weight: 500; line-height: 1.08; margin: 14px 0 22px; }
.cta__lead { color: rgba(244,239,227,0.78); font-size: 1.15rem; }
.cta__points { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.cta__points li {
  position: relative; padding: 10px 18px 10px 40px; color: var(--cream);
  font-family: var(--font-ui); font-size: 14px; font-weight: 500;
  border: 1px solid rgba(224,184,77,0.35); border-radius: 999px; background: rgba(224,184,77,0.07);
}
.cta__points li::before { content: '✓'; position: absolute; left: 17px; top: 50%; transform: translateY(-50%); color: var(--gold); font-weight: 700; }
.cta__book { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta__book .btn { min-width: 340px; padding: 20px 44px; box-shadow: 0 14px 40px rgba(224,184,77,0.25); }
.cta__formnote { text-align: center; font-family: var(--font-ui); font-size: 12.5px; color: rgba(244,239,227,0.6); }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: var(--cream); padding: 60px 0 36px; border-top: 1px solid rgba(224,184,77, 0.3); }
/* Variante avec vague : la courbe remplace le trait, pas de section navy juste avant */
.footer--wave { position: relative; border-top: none; padding-top: 84px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; align-items: start; }
.footer__logo { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; }
.footer__tag { color: rgba(244,239,227,0.6); font-size: 1.02rem; margin-top: 12px; max-width: 320px; }
.footer__nav { display: flex; flex-direction: column; gap: 12px; }
.footer__nav a { font-family: var(--font-ui); font-size: 13px; letter-spacing: 0.04em; color: rgba(244,239,227,0.78); text-decoration: none; }
.footer__nav a:hover { color: var(--gold); }
.footer__contact a { color: var(--gold); text-decoration: none; font-size: 1.05rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 14px; }
.footer__legal a { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.04em; color: rgba(244,239,227,0.78); text-decoration: none; }
.footer__legal a:hover { color: var(--gold); }
.footer__copy { font-family: var(--font-ui); font-size: 12px; color: rgba(244,239,227,0.6); margin-top: 16px; }

/* ---------- Mobile sticky CTA ---------- */
.mobile-cta {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  background: var(--gold); color: var(--navy); text-align: center;
  font-family: var(--font-ui); font-weight: 600; font-size: 13px; letter-spacing: 0.1em;
  text-transform: uppercase; padding: 16px; border-radius: var(--radius-pill); text-decoration: none;
  box-shadow: 0 8px 28px rgba(20,35,54,0.28);
  opacity: 1; transform: translateY(0);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
/* Masqué quand un CTA identique du contenu est déjà visible à l'écran */
.mobile-cta.is-hidden { opacity: 0; transform: translateY(12px); pointer-events: none; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Motion : comparatif → fin ---------- */

/* Stagger children */
.stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.stagger.is-visible > * { opacity: 1; transform: none; transition-delay: calc(var(--si, 0) * 70ms); }

/* Battle : cascade des lignes + flash doré colonne « us » + ✓ qui pop */
.battle__table.anim-rows .battle__row:not(.battle__row--head) { opacity: 0; transform: translateY(16px); }
.battle__table.anim-rows .battle__row:not(.battle__row--head) .ic--yes { display: inline-block; transform: scale(0); }
.battle__table.is-in .battle__row:not(.battle__row--head) {
  animation: battleRowIn .55s var(--ease) forwards;
  animation-delay: calc(var(--ri, 0) * 65ms);
}
.battle__table.is-in .battle__row:not(.battle__row--head) .battle__col--us {
  animation: usFlash .8s var(--ease);
  animation-delay: calc(var(--ri, 0) * 65ms);
}
.battle__table.is-in .battle__row:not(.battle__row--head) .ic--yes {
  animation: icPop .45s var(--ease) forwards;
  animation-delay: calc(var(--ri, 0) * 65ms + 130ms);
}
@keyframes battleRowIn { to { opacity: 1; transform: none; } }
@keyframes usFlash { 0% { background: rgba(224,184,77,0.05); } 45% { background: rgba(224,184,77,0.30); } 100% { background: rgba(224,184,77,0.09); } }
@keyframes icPop { 0% { transform: scale(0); } 60% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* Lueur dorée ambiante dans les sections navy */
.cta::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  top: -20%; left: 50%; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(224,184,77,0.10) 0%, rgba(224,184,77,0) 62%);
  animation: ambientDrift 16s ease-in-out infinite;
}
.cta__inner { position: relative; z-index: 1; }
@keyframes ambientDrift {
  0%, 100% { transform: translateX(-50%) translateY(0) scale(1); opacity: .8; }
  50% { transform: translateX(-42%) translateY(34px) scale(1.12); opacity: 1; }
}

/* Pricing : badge qui pulse doucement */
.pricing__badge { animation: badgePulse 2.6s ease-in-out infinite; }
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 8px 20px rgba(20,35,54,0.25), 0 0 0 0 rgba(224,184,77,0.5); }
  50% { box-shadow: 0 8px 20px rgba(20,35,54,0.25), 0 0 0 8px rgba(224,184,77,0); }
}
.pricing__price-num { font-variant-numeric: tabular-nums; }

/* FAQ : réponse plus fluide (hauteur + fondu) */
.faq__a { transition: max-height .45s var(--ease); }
.faq__a p { opacity: 0; transform: translateY(-6px); transition: opacity .35s var(--ease) .05s, transform .35s var(--ease) .05s; }
.faq__item.is-open .faq__a p { opacity: 1; transform: none; }

/* Comparatif : survol doré des cases */
.battle__col, .battle__crit { transition: background .25s var(--ease), color .25s var(--ease); }
.battle__row:not(.battle__row--head):hover .battle__crit { background: rgba(224,184,77,0.16); }
.battle__row:not(.battle__row--head):hover .battle__col--us { background: rgba(224,184,77,0.18); }
.battle__row:not(.battle__row--head):hover .battle__col--them { background: rgba(224,184,77,0.05); }
.battle__row:not(.battle__row--head) .battle__crit:hover,
.battle__row:not(.battle__row--head) .battle__col:hover { background: rgba(224,184,77,0.28); }
.battle__row:not(.battle__row--head) .ic { transition: transform .25s var(--ease); }
.battle__row:not(.battle__row--head):hover .ic--yes { transform: scale(1.25); }

/* ---------- Pages légales ---------- */
.legal-nav { border-bottom: 1px solid var(--line); background: var(--cream); }
.legal-nav__inner { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.legal-nav__back { font-family: var(--font-ui); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); text-decoration: none; }
.legal-nav__back:hover { color: var(--gold-ink); }
.legal { max-width: 760px; margin: 0 auto; padding: clamp(50px, 7vw, 80px) 28px 90px; }
.legal h1 { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.1; }
.legal__updated { font-family: var(--font-ui); font-size: 12.5px; color: var(--ink-soft); margin-top: 10px; }
.legal h2 { font-family: var(--font-display); font-weight: 500; font-size: 1.5rem; margin: 42px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 1.05rem; }
.legal p + p { margin-top: 10px; }
.legal ul { margin: 10px 0 0 22px; }
.legal a { color: var(--gold-ink); }
.legal mark { background: rgba(224,184,77,0.22); color: var(--ink); padding: 1px 6px; border-radius: 3px; font-family: var(--font-ui); font-size: 0.85em; }
.legal-footer { border-top: 1px solid var(--line); padding: 28px 0; text-align: center; font-family: var(--font-ui); font-size: 12px; color: var(--ink-soft); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 980px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .cta__inner { gap: 30px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .pricing__reassure-row { grid-template-columns: 1fr; max-width: 420px; }
  .voices__grid { grid-template-columns: repeat(2, 1fr); max-width: 720px; }
  .hero__motif { display: none; }
  .kpis { flex-direction: column; gap: 26px; margin-top: 0; }
  .kpi__text { white-space: normal; text-align: center; }
}

/* Nav agrandie : compaction progressive, puis menu burger dès 1080 px */
@media (max-width: 1240px) {
  .nav__links { gap: 15px; }
  .nav__links a { font-size: 11.5px; letter-spacing: 0.07em; }
  .nav__logo { font-size: 1.2rem; }
  .nav__actions { gap: 10px; }
}
@media (max-width: 1080px) {
  .nav__links {
    position: fixed; top: 104px; left: 14px; right: 14px;
    flex-direction: column; gap: 0; background: var(--cream);
    background-clip: padding-box; /* pas de liseré crème sous la bordure transparente quand le menu est replié */
    border: 1px solid transparent; border-radius: 16px;
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .nav__links.is-open {
    max-height: 440px; border-color: var(--line);
    box-shadow: 0 20px 50px rgba(20, 35, 54, 0.18);
  }
  .nav__links a { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--ink); }
  .nav__links a:last-child { border-bottom: none; }
  .nav__burger { display: flex; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav__actions .btn--sm { display: none; }

  /* Police générale trop grosse sur téléphone, et titres qui passaient sur
     plusieurs lignes : tailles réduites pour que chaque ligne de titre tienne. */
  .hero__title { font-size: clamp(1.7rem, 8vw, 2.6rem); line-height: 1.15; }
  .hero__badge { font-size: 12px; padding: 9px 18px; }
  .hero__desc { font-size: 0.82rem; line-height: 1.45; }
  /* En colonne, chaque ligne icône+texte était centrée indépendamment : comme les
     3 libellés n'ont pas la même longueur, les icônes ne s'alignaient pas entre
     elles (illisible). En grille 3 colonnes, icône au-dessus du texte, tout
     s'aligne naturellement, et ça se distingue à la fois de la bande de logos
     au-dessus et des cartes "pourquoi nous" en dessous. */
  .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 6px; margin-top: 0; }
  .kpi { flex-direction: column; gap: 10px; text-align: center; }
  .kpi__icon { width: 46px; height: 46px; }
  .kpi__icon svg { width: 22px; height: 22px; }
  /* "0 % IA" tient sur une ligne, les deux autres libellés sur deux : sans
     hauteur commune, les 3 textes ne démarraient pas à la même hauteur. */
  .kpi__text { font-size: 15px; line-height: 1.25; min-height: 2.5em; display: flex; align-items: flex-start; justify-content: center; }
  .section-title { font-size: clamp(1.4rem, 6.2vw, 2.4rem); }
  .why.why .section-title { font-size: clamp(1.3rem, 6vw, 2.4rem); }
  .eyebrow { font-size: 11px; }

  /* « Pourquoi Maison Admissions » : liste compacte icône + texte plutôt que des cartes empilées */
  .why__grid { display: flex; flex-direction: column; gap: 0; }
  .card {
    display: grid; grid-template-columns: 42px 1fr; column-gap: 16px; row-gap: 2px;
    background: none; border: none; border-radius: 0; box-shadow: none;
    padding: 24px 0;
  }
  /* --line-light est un liseré crème pensé pour un fond sombre (carte tarif navy) :
     invisible ici, sur un fond déjà crème. --line (foncé) est le bon choix. */
  .card:not(:last-child) { border-bottom: 1px solid var(--line); }
  .card::before { display: none; }
  .card:hover, .card:focus-visible { transform: none; box-shadow: none; }
  .card:hover .card__icon { transform: none; }
  .marquee__track .logo:hover img,
  .marquee__track .logo--placeholder:hover span { transform: none; }
  .battle__row:not(.battle__row--head):hover .battle__crit,
  .battle__row:not(.battle__row--head):hover .battle__col--us,
  .battle__row:not(.battle__row--head):hover .battle__col--them,
  .battle__row:not(.battle__row--head) .battle__crit:hover,
  .battle__row:not(.battle__row--head) .battle__col:hover { background: none; }
  .battle__row:not(.battle__row--head):hover .ic--yes { transform: none; }
  .card__icon { grid-row: 1 / 3; align-self: start; width: 42px; height: 42px; margin-bottom: 0; }
  .card__num { display: none; }
  .card__title { grid-column: 2; margin-bottom: 4px; font-size: 1.18rem; }
  .card p { grid-column: 2; }

  .step__head { grid-template-columns: 40px 1fr 32px; }
  .step__tag { display: none; }
  .step__body p { padding-left: 4px; }

  /* Comparatif : une carte par critère, avec les deux réponses en vraies cases
     côte à côte (Maison Admissions à gauche, mise en valeur en or, prépa
     classique à droite), pour vraiment comparer d'un coup d'œil plutôt que de lire
     une réponse puis l'autre en dessous. */
  /* tbody porte un fond blanc + un cadre pour la vue tableau desktop : entre les
     cartes mobiles (avec leur marge), ce fond blanc débordait dans les interstices
     à la place du crème de la page. */
  .battle__table, .battle__table tbody {
    display: block; background: none; border: none; border-radius: 0; overflow: visible;
  }
  .battle__table thead { display: none; }
  /* La page reste crème ; chaque « bulle » (carte) est blanche avec un fin
     contour doré, titre centré, et deux sous-bulles à l'intérieur : grisée pour
     la prépa classique, plus claire (dorée pâle) pour Maison Admissions. */
  .battle__row {
    display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "crit crit" "us them";
    column-gap: 10px; row-gap: 14px; position: relative; overflow: hidden;
    background: var(--white); border: 1px solid rgba(224,184,77,0.55);
    border-radius: 20px; box-shadow: 0 10px 28px rgba(20,35,54,0.07);
    padding: 20px 16px 18px; margin-bottom: 16px;
  }
  .battle__crit {
    grid-area: crit; display: block; background: none; color: var(--ink);
    font-family: var(--font-display); font-weight: 600; font-size: 1.18rem;
    letter-spacing: 0; text-transform: none; padding: 0; text-align: center;
  }
  .battle__col {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 8px; border-radius: 14px; padding: 14px 10px 16px;
  }
  .battle__col .ic {
    width: 26px; height: 26px; border-radius: 50%;
    display: grid; place-items: center;
  }
  .battle__col .ic svg { width: 13px; height: 13px; display: block; }
  .battle__col--us {
    grid-area: us; font-size: 0.95rem; font-weight: 600; color: var(--ink);
    background: rgba(224,184,77,0.14);
  }
  .battle__col--us .ic { background: var(--gold); color: var(--navy); }
  .battle__col--them {
    grid-area: them; font-size: 0.86rem; color: var(--ink-soft);
    background: rgba(28,42,69,0.06);
  }
  .battle__col--them .ic { background: rgba(28,42,69,0.14); color: var(--ink-soft); }
  /* En carte, le thead (Maison Admissions / Prépas classiques) est caché : sans
     étiquette, on ne sait plus qui répond quoi. On la réaffiche en tête de case. */
  .battle__colcap {
    display: block; font-family: var(--font-ui); font-size: 9.5px;
    font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  }
  .battle__col--us .battle__colcap { color: var(--gold-ink); }
  .battle__col--them .battle__colcap { color: var(--ink-soft); opacity: 0.75; }
  /* La cascade ligne par ligne (pensée pour un grand écran) se sent lente et saccadée
     sur mobile : on affiche tout immédiatement, sans animation. */
  .battle__table.anim-rows .battle__row:not(.battle__row--head),
  .battle__table.anim-rows .battle__row:not(.battle__row--head) .ic--yes {
    opacity: 1; transform: none;
  }
  .battle__table.is-in .battle__row:not(.battle__row--head),
  .battle__table.is-in .battle__row:not(.battle__row--head) .battle__col--us,
  .battle__table.is-in .battle__row:not(.battle__row--head) .ic--yes {
    animation: none;
  }
  /* La règle desktop qui force display:inline-block sur .ic--yes (pour l'animation
     d'apparition) écrasait le centrage en grille de la pastille sur mobile. */
  .battle__table.anim-rows .battle__row:not(.battle__row--head) .ic--yes {
    display: grid;
  }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }

  .pricing__card { padding: 46px 24px 34px; }
  .pricing__grid { grid-template-columns: 1fr; }
  .pricing__badge { font-size: 9.5px; letter-spacing: 0.08em; padding: 7px 14px; }
  .mobile-cta { display: block; }
  .pricing__card { padding: 44px 26px 38px; }

  /* « Notre tarif » : liste compacte icône + titre pour ce qui est inclus */
  .includes__grid--compact { grid-template-columns: 1fr; }
  .includes__grid--compact .include {
    background: none; border: none; border-radius: 0; box-shadow: none;
  }
  .includes__grid--compact .include:not(:last-child) { border-bottom: 1px solid var(--line); }
  .includes__grid--compact .include:hover { transform: none; box-shadow: none; }
  .includes__grid--compact .include__row { padding: 16px 0; }

  .curve { height: 44px; }
  /* Trop de vide entre la bande de logos et le titre "Pourquoi Maison Admissions" */
  .why { padding-top: 48px; padding-bottom: 47px; }
  .cta { padding-top: 96px; }

  /* Dégager le contenu derrière le bouton fixe du bas */
  body { padding-bottom: 84px; }
  /* CTA du hero : empilés, pleine largeur, même taille */
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { width: 100%; }

  /* Texte justifié demandé explicitement : coupure de mots réactivée avec, sinon
     le justifié seul (sans césure) laisse de grands trous sur les colonnes étroites. */
  .mtw__body { text-align: justify; hyphens: auto; font-size: 1.15rem; }
  .mtw__panel-art { max-width: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  .btn, .card, .voice, .card__icon, .faq__toggle,
  .battle__col, .battle__crit, .battle__row .ic, .mart, .logo--placeholder span { transition: none; }
  .btn:hover, .card:hover, .voice:hover { transform: none; }
  html { scroll-behavior: auto; }
  .stagger > * { opacity: 1; transform: none; transition: none; }
  .battle__table.anim-rows .battle__row:not(.battle__row--head),
  .battle__table.anim-rows .battle__row:not(.battle__row--head) .ic--yes { opacity: 1; transform: none; }
  .battle__table.is-in .battle__row:not(.battle__row--head),
  .battle__table.is-in .battle__row:not(.battle__row--head) .battle__col--us,
  .battle__table.is-in .battle__row:not(.battle__row--head) .ic--yes { animation: none; }
  .cta::before, .pricing__badge { animation: none; }
}

/* ============================================
   MULTI-PAGES (refonte juillet 2026)
   ============================================ */

/* ---------- Conteneur élargi (hero, pourquoi nous) ---------- */
.container--wide { max-width: var(--container); padding: 0 28px; }

/* ---------- Toggle FR/EN ---------- */
.lang-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 8px 13px; cursor: pointer;
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
  color: var(--ink-soft); transition: border-color .25s var(--ease);
}
.lang-toggle:hover, .lang-toggle:focus-visible { border-color: var(--gold); outline: none; }
.lang-toggle span[data-lang] { opacity: 0.45; transition: opacity .2s var(--ease), color .2s var(--ease); }
.lang-toggle span.is-on { opacity: 1; color: var(--gold-ink); }
.lang-toggle .lang-toggle__sep { color: var(--line); opacity: 1; }

/* ---------- « Pourquoi Maison Admissions » : titres agrandis ---------- */
.why .section-title { font-size: clamp(2rem, 5.6vw, 4.4rem); }

/* ---------- Hero de sous-page ---------- */
.phero {
  background: var(--navy); color: var(--cream);
  margin-top: -102px;
  padding: clamp(150px, 15vw, 190px) 0 clamp(60px, 8vw, 92px);
  position: relative; overflow: hidden; text-align: center;
  display: flex; align-items: center; justify-content: center;
}
.phero .container { width: 100%; }
@media (min-width: 761px) {
  /* Bannières de même hauteur sur toutes les pages, quelle que soit la longueur du titre */
  .phero { min-height: 620px; }
}
.phero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 95% at 32% 40%, rgba(0,0,0,0) 55%, rgba(4,10,19,0.45) 100%);
}
.phero::after {
  content: ''; position: absolute; top: -10%; right: -8%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(224,184,77,0.2), transparent 68%);
  border-radius: 50%; pointer-events: none;
}
.phero .container { position: relative; z-index: 1; }
/* Variante claire : toute la page reste dans le même beige, sans bloc navy */
.phero--cream { background: var(--cream); color: var(--ink); }
.phero--cream::before, .phero--cream::after { display: none; }
.phero--cream .phero__title { color: var(--ink); }
.phero--cream .phero__lead { color: var(--ink-soft); }
.phero__title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.8rem, 6.2vw, 5rem); line-height: 1.04;
  letter-spacing: -0.015em; margin-top: 20px; color: var(--cream);
}
.phero__title em { font-style: italic; color: var(--gold); }
.phero__lead {
  max-width: 800px; margin: 22px auto 0;
  font-size: clamp(1.02rem, 1.3vw, 1.14rem); color: rgba(244,239,227,0.82);
}

/* ---------- Carrousel témoignages (4 visibles, plus grands) ---------- */
.carousel { position: relative; margin: 0 auto; }
.carousel__viewport {
  display: flex; gap: 22px; overflow-x: auto;
  scroll-snap-type: x mandatory; scroll-padding-left: 4px;
  padding: 8px 4px 24px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  position: relative;
}
.carousel__viewport::-webkit-scrollbar { display: none; }
.carousel__viewport:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 14px; }
/* 3 cartes visibles + un aperçu de la 4e qui dépasse légèrement */
.carousel .voice {
  flex: 0 0 calc((100% - 3 * 22px - 90px) / 3); scroll-snap-align: start;
  padding: 32px 30px 28px; gap: 20px;
}
.carousel .voice__quote p { font-size: 1.08rem; line-height: 1.6; }
.carousel .voice__cite { padding-top: 20px; }
.carousel .voice__name { font-size: 15px; }
.carousel .voice__school { max-height: 26px; max-width: 104px; }
.carousel__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow-soft);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s var(--ease);
}
.carousel__arrow svg { width: 17px; height: 17px; }
.carousel__arrow--prev { left: -22px; }
.carousel__arrow--next { right: -22px; }
.carousel__arrow:hover, .carousel__arrow:focus-visible { background: var(--gold); color: var(--navy); border-color: var(--gold); outline: none; }
.carousel__arrow.is-off { opacity: 0.3; pointer-events: none; }
.carousel__dots { display: flex; justify-content: center; gap: 9px; margin-top: 4px; }
.carousel__dot {
  width: 8px; height: 8px; border-radius: 50%; padding: 0;
  border: 1px solid var(--gold-ink); background: transparent; cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.carousel__dot.is-on { background: var(--gold-ink); transform: scale(1.25); }
.carousel__dot:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ---------- Le mot des fondateurs (encart + pop-up) ---------- */
/* L'encart occupe la même largeur que la grille de témoignages au-dessus */
.voices__founder { margin: 22px auto 0; }
.fnote {
  display: flex; flex-direction: column; align-items: center;
  gap: 20px; text-align: center;
  background: var(--navy); color: var(--cream);
  border-radius: var(--radius-card); padding: 40px 44px 36px;
  box-shadow: var(--shadow-soft);
}
.fnote__line { display: flex; align-items: baseline; justify-content: center; gap: 18px; max-width: 100%; }
.fnote__mark {
  font-family: var(--font-display); font-size: 3.6rem; line-height: 0.4;
  color: var(--gold); transform: translateY(14px); flex-shrink: 0;
}
.fnote__teaser {
  font-family: var(--font-display); font-style: italic;
  font-size: clamp(1.35rem, 2.2vw, 2rem); line-height: 1.35; color: var(--cream);
  max-width: 34ch;
}
.fnote .btn--ghost { color: var(--cream); border-color: rgba(244,239,227,0.45); }
.fnote .btn--ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.fdialog {
  border: none; border-radius: var(--radius-card); padding: 0;
  max-width: 660px; width: calc(100vw - 40px);
  margin: auto; /* centré au milieu de l'écran */
  background: var(--navy); color: var(--cream);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
}
.fdialog::backdrop { background: rgba(15, 27, 43, 0.55); backdrop-filter: blur(4px); }
.fdialog[open] { animation: fdialogIn .5s var(--ease); }
.fdialog[open]::backdrop { animation: fbackdropIn .4s ease; }
@keyframes fdialogIn {
  0% { opacity: 0; transform: translateY(34px) scale(0.92); }
  60% { opacity: 1; }
  100% { opacity: 1; transform: none; }
}
@keyframes fbackdropIn { from { opacity: 0; } to { opacity: 1; } }
.fdialog__inner { padding: 46px 44px 40px; text-align: center; position: relative; }
.fdialog__close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-light); background: none;
  color: var(--cream); cursor: pointer;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.fdialog__close svg { width: 16px; height: 16px; display: block; }
.fdialog__close:hover, .fdialog__close:focus-visible { border-color: var(--gold); color: var(--gold); outline: none; }
.fdialog__mark { font-family: var(--font-display); font-size: 4rem; color: var(--gold); line-height: 0.7; display: block; }
.fdialog__quote {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.55rem); line-height: 1.4; margin-top: 14px;
}
.fdialog__quote em { display: block; font-style: italic; color: var(--gold); margin-top: 0.65em; }
.fdialog__names { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 15px; color: var(--cream); margin-top: 28px; }
.fdialog__role { display: block; font-family: var(--font-ui); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(244,239,227,0.65); margin-top: 3px; }
.fdialog .btn { margin-top: 26px; }

/* Variante claire : pop-up détail d'un point inclus (page Notre tarif) */
.fdialog--include { max-width: 640px; background: var(--cream); color: var(--ink); }
.fdialog--include .fdialog__close { border-color: var(--line); color: var(--ink-soft); }
.fdialog--include .fdialog__close:hover, .fdialog--include .fdialog__close:focus-visible { border-color: var(--gold); color: var(--gold-ink); }
.fdialog__inner--include { padding: 56px 48px 48px; text-align: left; }
.fdialog__inner--include .include__icon { width: 56px; height: 56px; margin-bottom: 22px; }
.fdialog__inner--include .include__icon svg { width: 26px; height: 26px; }
.fdialog__title { font-family: var(--font-display); font-weight: 600; font-size: 1.9rem; color: var(--ink); margin: 0 0 16px; }
.fdialog__desc { color: var(--ink-soft); font-size: 1.15rem; line-height: 1.65; }

/* ---------- FAQ en grille (page d'accueil) ---------- */
.faq--grid .faq__list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 14px; max-width: none; align-items: start;
}
.faq--grid .faq__item { margin-bottom: 0; }
.faq--grid .faq__q { font-size: 1.18rem; padding: 19px 0; }
.faq__morelink {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 600; letter-spacing: 0.05em;
  color: var(--gold-ink); text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 3px;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.faq__morelink:hover, .faq__morelink:focus-visible { gap: 16px; color: var(--gold-ink); outline: none; }

/* ---------- Page FAQ : encart contact ---------- */
.faq-mail {
  max-width: 800px; margin: 52px auto 0;
  background: var(--navy); color: var(--cream);
  border-radius: var(--radius-card); padding: 40px 36px; text-align: center;
  box-shadow: var(--shadow-soft);
}
.faq-mail__title { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; }
.faq-mail p { color: rgba(244,239,227,0.78); max-width: 46ch; margin: 12px auto 0; }
.faq-mail .btn { margin-top: 22px; }

/* ---------- Page Notre histoire : encart contact sans bulle (titre en marine, bouton or conservé) ---------- */
.story-cta .faq-mail {
  background: none; box-shadow: none; padding: 0; color: var(--ink);
}
.story-cta .faq-mail__title { color: var(--ink); }
.story-cta .faq-mail p { color: var(--ink-soft); }

/* ---------- Page Notre histoire ---------- */
/* Deux récits côte à côte (cartes verticales, hauteur égale) */
.portraits {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; max-width: 1120px;
  margin: 0 auto; align-items: stretch;
}
.portrait {
  display: flex; flex-direction: column;
  background: #FBF8F0; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: clamp(30px, 3.2vw, 46px); box-shadow: var(--shadow-soft);
}
.portrait__side {
  text-align: center;
  padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line);
}
.portrait__medal {
  position: relative; width: 132px; height: 132px; margin: 0 auto;
  border-radius: 50%; background: var(--navy); color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 2.7rem;
}
.portrait__medal::after {
  content: ''; position: absolute; inset: -7px; border-radius: 50%;
  border: 1px solid rgba(224,184,77, 0.45);
}
.portrait__name { font-family: var(--font-display); font-weight: 500; font-size: 1.95rem; margin-top: 20px; color: var(--ink); }
.portrait__role {
  font-family: var(--font-ui); font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); margin-top: 5px;
}
.portrait__linkedin {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; margin-top: 18px;
  color: var(--ink); text-decoration: none;
  border: 1px solid var(--line); border-radius: 50%;
  transition: border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.portrait__linkedin svg { width: 18px; height: 18px; }
.portrait__linkedin:hover, .portrait__linkedin:focus-visible { border-color: var(--gold); color: var(--gold-ink); transform: translateY(-2px); outline: none; }
.portrait__text .lede {
  font-family: var(--font-display); font-style: italic;
  font-size: 1.3rem; line-height: 1.4; color: var(--ink);
}
.portrait__text p { color: var(--ink-soft); font-size: 0.96rem; line-height: 1.55; text-align: justify; }
.portrait__text p + p { margin-top: 13px; }
.story { padding: clamp(56px, 7vw, 84px) 0; }
.story-cta { padding: 0 0 clamp(56px, 7vw, 84px); }

/* ---------- Page Notre méthode : schéma par étape sur mobile ---------- */
.mstep__art { display: none; }

/* ---------- Page Notre tarif ---------- */
.includes { padding: clamp(48px, 6vw, 72px) 0 75px; }
.includes__grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
  max-width: 1180px; margin: 0 auto;
}
.include {
  background: #FBF8F0; border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 26px 22px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.include:hover { transform: translateY(-3px); border-color: rgba(224,184,77,0.45); box-shadow: var(--shadow-soft); }
.include__icon {
  display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 13px; background: rgba(224,184,77,0.13); color: var(--gold-ink);
  border: 1px solid rgba(224,184,77,0.3);
}
.include__icon svg { width: 20px; height: 20px; }
.include h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.28rem; margin: 13px 0 6px; color: var(--ink); }
.include p { color: var(--ink-soft); font-size: 0.99rem; line-height: 1.5; }

/* Variante compacte : deux colonnes, icône + titre cliquable
   (le descriptif de chaque point s'ouvre dans une pop-up, voir .fdialog--include) */
.includes__grid--compact {
  grid-template-columns: 1fr 1fr; gap: 4px 48px; max-width: none;
  margin: 0; padding-top: 34px; border-top: 1px solid var(--line);
}
.includes__grid--compact .include {
  background: none; border: none; border-radius: 0; box-shadow: none;
  padding: 0; border-bottom: 1px solid var(--line);
  transition: none;
}
.includes__grid--compact .include:hover { transform: none; box-shadow: none; }
.includes__grid--compact .include:nth-last-child(-n+2) { border-bottom: none; }
.include__row {
  display: flex; align-items: center; gap: 14px; width: 100%; padding: 18px 2px;
}
.includes__grid--compact .include__icon { width: 40px; height: 40px; flex-shrink: 0; }
.includes__grid--compact .include__icon svg { width: 18px; height: 18px; }
.includes__grid--compact .include h3 {
  flex: 1 1 auto; min-width: 0; font-family: var(--font-ui); font-weight: 600;
  font-size: 1.02rem; margin: 0; color: var(--ink);
}
.include__more {
  all: unset; box-sizing: border-box; flex-shrink: 0; width: 24px; height: 24px;
  display: grid; place-items: center; cursor: pointer;
  border-radius: 50%; border: 1px solid rgba(224,184,77,0.35); color: var(--gold-ink);
  font-size: 1.1rem; line-height: 1;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.include__more:hover, .include__more:focus-visible { background: var(--gold); border-color: var(--gold); color: var(--navy); outline: none; }
.include__desc { display: none; }

/* Bandeau tarif : le prix et tout ce qui est inclus, dans un seul bloc */
.tarif-banner {
  max-width: 860px; margin: 0 auto clamp(20px, 2.5vw, 30px);
  background: #FBF8F0; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: clamp(36px, 5vw, 48px) clamp(28px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
}
.tbn__top { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tbn__badge {
  display: inline-block; text-align: center;
  font-family: var(--font-ui); font-size: 11px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold-ink); background: rgba(224,184,77,0.14);
  border: 1px solid rgba(224,184,77,0.35);
  padding: 7px 16px; border-radius: var(--radius-pill);
}
.tbn__price { font-family: var(--font-display); font-size: clamp(3.6rem, 6vw, 5.4rem); font-weight: 600; line-height: 1; color: var(--ink); margin: 18px 0 6px; }
.tbn__unit { font-size: 1.7rem; font-weight: 500; color: var(--ink-soft); }
.tbn__split { font-size: 0.98rem; color: var(--ink-soft); margin-bottom: 22px; }
.tbn__split strong { color: var(--ink); font-weight: 600; }
.tarif-banner .btn--block { width: 100%; }
.tbn__foot { text-align: center; margin: 14px 0 36px; font-size: 0.9rem; color: var(--ink-soft); }
.includes__label { display: none; }
.tbn__foot strong { color: var(--ink); font-weight: 600; }

/* ---------- Page comparatif ---------- */
.battle-intro { max-width: 720px; margin: 0 auto clamp(36px, 5vw, 54px); text-align: center; }
.battle-intro p { color: var(--ink-soft); font-size: 1.15rem; }
.battle-intro p + p { margin-top: 12px; }

/* Libellés mobiles du tableau selon la langue */
html[lang="en"] .battle__col--them::after { content: 'Classic prep services'; }

/* ---------- Responsive nouveaux composants ---------- */
@media (max-width: 980px) {
  .faq--grid .faq__list { grid-template-columns: repeat(2, 1fr); }
  .includes__grid { grid-template-columns: repeat(2, 1fr); }
  /* Carrousel : 2 témoignages visibles sur tablette */
  .carousel .voice { flex: 0 0 calc((100% - 22px) / 2); }
}
@media (max-width: 820px) {
  /* Cartes histoire : empilées l'une sous l'autre */
  .portraits { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 760px) {
  /* Les libellés longs de boutons ne doivent jamais créer de débordement horizontal */
  .btn { white-space: normal; }
  .faq--grid .faq__list { grid-template-columns: 1fr; }
  .includes__grid { grid-template-columns: 1fr; }
  /* "Master de tes rêves." doit rester groupé sur sa propre ligne, jamais coupé
     en deux (une partie en blanc, une partie en or sur la même ligne). */
  .hero__title em { white-space: nowrap; }
  /* Titres de sous-page (Notre tarif, Le comparatif, FAQ…) : jamais dimensionnés
     pour mobile jusqu'ici (44.8px de base, beaucoup trop grand). La partie en
     italique (or) passe systématiquement à la ligne : 2 lignes propres partout,
     et 3 pour "Maison Admissions / vs / prépas classiques" qui a déjà un <br/>
     avant le "vs". */
  .phero__title { font-size: clamp(1.8rem, 8vw, 2.2rem); line-height: 1.2; }
  .phero__title em { display: block; }
  .phero__lead { font-size: 0.92rem; line-height: 1.5; }
  /* Notre tarif : le prix et le CTA de la bannière étaient un peu imposants sur téléphone. */
  .tbn__price { font-size: 2.9rem; margin: 14px 0 4px; }
  .tbn__unit { font-size: 1.2rem; }
  .tarif-banner .btn--lg { padding: 15px 28px; font-size: 12.5px; }
  .br-mobile { display: block; }
  .hide-mobile { display: none; }
  .tbn__sep { display: none; }
  .tbn__foot { margin: 14px 0 22px; }
  /* Repère avant la liste de ce qui est inclus, pour qu'on comprenne que tout
     ce qui suit fait partie de l'offre au même prix. */
  .includes__label {
    display: block; text-align: center; font-family: var(--font-ui);
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--gold-ink); margin: 0 0 14px;
  }
  /* Carrousel : 1 témoignage visible sur mobile, flèches ramenées dans le cadre */
  .carousel .voice { flex: 0 0 86%; padding: 26px 24px 24px; }
  .carousel__arrow--prev { left: 2px; }
  .carousel__arrow--next { right: 2px; }
  .carousel__arrow { width: 38px; height: 38px; }
  .fnote { padding: 26px 22px; }
  .fnote__line { flex-direction: column; gap: 6px; }
  .fnote__mark { transform: none; }
  .fnote__teaser { white-space: normal; overflow: visible; }
  .fdialog__inner { padding: 40px 24px 34px; }
  /* La pilule de nav gardait la même hauteur qu'en desktop (78px) : trop
     imposante une fois épinglée en haut de l'écran sur téléphone. */
  html { scroll-padding-top: 76px; }
  .nav { top: 8px; padding: 0 8px; }
  .nav__inner { height: 56px; padding: 0 6px 0 16px; }
  .nav__links { top: 72px; }
  .nav__actions { gap: 8px; }
  .nav__logo { font-size: 0.95rem; gap: 6px; }
  .nav__logo-icon { width: 12px; height: 24px; }
  .lang-toggle { padding: 5px 7px; font-size: 10px; }
  .nav .btn--sm { white-space: nowrap; padding: 8px 12px; font-size: 10px; }
  .nav__burger span { width: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .carousel__arrow, .carousel__dot, .include, .portrait__linkedin, .faq__morelink, .lang-toggle span[data-lang] { transition: none; }
  .include:hover, .portrait__linkedin:hover, .faq__item:hover { transform: none; }
  .carousel__viewport { scroll-behavior: auto; }
  .fdialog[open], .fdialog[open]::backdrop { animation: none; }
}

/* ============================================
   AJUSTEMENTS DU 19 OCTOBRE 2026
   (placés en fin de fichier : ils doivent l'emporter sur les règles de même
   spécificité définies plus haut)
   ============================================ */
.nowrap { white-space: nowrap; }

/* Notre méthode : mots-clés encadrés toujours sur une seule ligne (2 ou 3 pilules).
   La taille du texte suit la largeur du bloc (cqw) pour que 3 pilules tiennent
   côte à côte aussi bien sur desktop que sur un petit téléphone. */
.mtw__tags { flex-wrap: nowrap; gap: 8px; container-type: inline-size; }
.mtw__pill { flex: 0 0 auto; font-size: min(12.5px, 2.6cqw); padding: 0.62em 1.25em; }
@supports not (width: 1cqw) {
  .mtw__pill { font-size: 12.5px; }
  @media (max-width: 760px) { .mtw__pill { font-size: 9.5px; padding: 6px 9px; } }
}

/* Titres de sous-page : la partie en italique passe à la ligne sur ordinateur
   (sur téléphone, c'est déjà le cas pour tous les titres de sous-page). */
@media (min-width: 761px) {
  .phero__title--break em { display: block; }
}

@keyframes swipeNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

@media (max-width: 760px) {
  /* Mots-clés : marges internes resserrées pour que les 3 pilules tiennent sur la ligne */
  .mtw__tags { gap: 6px; }
  .mtw__pill { padding: 0.55em 0.85em; }

  /* Accueil : moins de texte d'un coup en première page, boutons plus discrets */
  .hero__desc { font-size: 0.74rem; line-height: 1.45; }
  .hero__cta { align-items: center; gap: 10px; margin-top: 26px; }
  .hero__cta .btn { width: auto; min-width: 210px; padding: 11px 22px; font-size: 11px; letter-spacing: 0.1em; }

  /* Bouton « Réserver mon audit » qui reste collé en bas de l'écran : plus petit */
  .mobile-cta { left: 56px; right: 56px; bottom: 14px; padding: 10px 12px; font-size: 11px; letter-spacing: 0.08em; }

  /* Comparatif : « vs prépas classiques » reste groupé sur une seule ligne */
  .phero__title--vs em { display: inline; }

  /* FAQ (accueil et page FAQ) : questions moins grosses que le reste du texte */
  .faq__q { font-size: 1rem; padding: 16px 0; gap: 14px; }
  .faq--grid .faq__q { font-size: 1rem; padding: 15px 0; }
  .faq__toggle svg { width: 18px; height: 18px; }
  .faq__a p { font-size: 0.9rem; padding-bottom: 18px; }

  /* Notre tarif : fenêtre de détail d'un point inclus, plus petite */
  .fdialog--include { width: calc(100vw - 72px); max-width: 320px; }
  .fdialog__inner--include { padding: 40px 22px 26px; }
  .fdialog__inner--include .include__icon { width: 42px; height: 42px; margin-bottom: 14px; }
  .fdialog__inner--include .include__icon svg { width: 20px; height: 20px; }
  .fdialog__title { font-size: 1.2rem; margin-bottom: 10px; }
  .fdialog__desc { font-size: 0.92rem; line-height: 1.55; }
  .fdialog--include .fdialog__close { top: 10px; right: 10px; width: 30px; height: 30px; }
  .fdialog--include .fdialog__close svg { width: 14px; height: 14px; }

  /* Notre méthode : la flèche « glisse vers la droite » devait se voir davantage.
     Pastille or pleine, plus grande, qui ondule doucement ; le texte laisse une
     ligne libre en bas pour qu'elle ne recouvre jamais les mots-clés. */
  .mtw:not(.mtw--driven) .mtw__panel { padding-bottom: 62px; }
  .mtw:not(.mtw--driven) .mtw__swipehint {
    width: 46px; height: 46px; bottom: 6px; right: 6px;
    background: var(--gold); color: var(--navy);
    box-shadow: 0 6px 18px rgba(18, 24, 43, 0.28);
    animation: swipeNudge 1.5s ease-in-out infinite;
  }
  .mtw:not(.mtw--driven) .mtw__swipehint svg { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .mtw:not(.mtw--driven) .mtw__swipehint { animation: none; }
}

.legal li + li { margin-top: 6px; }
.legal ul + p { margin-top: 12px; }

/* ---------- AJUSTEMENTS DU 19 OCTOBRE 2026 (2) ---------- */
@media (max-width: 760px) {
  /* Popup des rounds : plus lisible au doigt, flèche plus franche vers l'école */
  .admit-pop { width: 290px; padding: 16px 16px 14px; }
  .admit-pop__school { font-size: 1.15rem; }
  .admit-pop__name { font-size: .8rem; }
  .admit-pop__rounds li { font-size: .92rem; padding: 4px 0; }
  .admit-pop__prognote { font-size: .76rem; }

  /* Notre méthode : schémas plus petits (ils prenaient beaucoup de place) */
  .mtw__panel-art { max-width: 150px; margin-bottom: 12px; }
  .mtw:not(.mtw--driven) .mtw__panel-art { margin-top: 10px; }

  /* Notre tarif : liseré aussi entre l'avant-dernier et le dernier point
     (la règle desktop retirait le trait de l'avant-dernier élément) */
  .includes__grid--compact .include:not(:last-child),
  .includes__grid--compact .include:nth-last-child(2) { border-bottom: 1px solid var(--line); }
}

/* ---------- AJUSTEMENTS DU 20 OCTOBRE 2026 ---------- */
@media (max-width: 760px) {
  /* Accueil : un peu d'air entre le texte du haut et les boutons */
  .hero__cta { margin-top: 44px; }

  /* Comparatif : cartes et textes plus compacts, une seule police/taille pour les deux colonnes */
  .battle__row { padding: 15px 12px 13px; row-gap: 10px; column-gap: 8px; margin-bottom: 12px; border-radius: 16px; }
  .battle__crit { font-size: 1.02rem; }
  .battle__col { gap: 6px; padding: 10px 8px 12px; border-radius: 12px; }
  .battle__col--us, .battle__col--them {
    font-family: var(--font-ui); font-size: 0.8rem; line-height: 1.4;
  }
  .battle__col--us { font-weight: 600; }
  .battle__col--them { font-weight: 400; }
  .battle__col .ic { width: 22px; height: 22px; }
  .battle__col .ic svg { width: 11px; height: 11px; }
  .battle__colcap { font-size: 9px; }
  /* Le corps du tableau gardait l'ombre de la vue ordinateur : un voile
     rectangulaire apparaissait entre les cartes. */
  .battle__table, .battle__table tbody { box-shadow: none; }
}

@media (max-width: 760px) {
  .cta__points { flex-direction: column; align-items: stretch; gap: 10px; }
  .cta__points li { text-align: left; }
  .cta__book { width: 100%; }
  .cta__book .btn { min-width: 0; width: 100%; padding: 17px 20px; }
}
