/*
 * Neurobase — site vitrine.
 * Mise en page : une colonne de 1 200 px sur un blanc à peine lavande ; les écrans du produit,
 * dessinés en HTML, portent le propos ; une seule bande nuit, pour la confiance.
 * Identité : le violet et le corail du logo, le bleu nuit du site actuel, Quicksand pour les
 * titres (la rondeur de la marque), DM Sans pour le texte (la police de l'application).
 * Le dégradé violet → rose est réservé à ce qui vient de l'IA, comme dans l'application.
 * Thème clair seulement, comme l'application.
 */
/* Polices hébergées avec le site (aucun appel à Google Fonts : l'adresse IP des visiteurs ne part
 * pas chez Google avant leur accord). Mêmes fichiers et mêmes découpages que Google Fonts, latin
 * et latin étendu ; licences SIL OFL 1.1 dans assets/fonts/. Quicksand et DM Sans sont variables. */
@font-face {
  font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/dm-mono-normal-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/dm-mono-normal-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/dm-mono-normal-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Mono"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/dm-mono-normal-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("../fonts/dm-sans-italic-400-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("../fonts/dm-sans-italic-400-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dm-sans-normal-400-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "DM Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/dm-sans-normal-400-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Quicksand"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/quicksand-normal-500-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Quicksand"; font-style: normal; font-weight: 500 700; font-display: swap;
  src: url("../fonts/quicksand-normal-500-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0b1250;
  --ink-2: #353a62;
  --ink-3: #5f6488;
  --paper: #ffffff;
  --mist: #f6f5fe;
  --mist-2: #eeecfd;
  --line: rgba(22, 24, 84, 0.1);
  --line-2: rgba(22, 24, 84, 0.17);
  --violet: #6c63ff;
  --violet-600: #5a51f0;
  --violet-700: #4c43df;
  --violet-ink: #463dd0;
  --violet-soft: #efedff;
  --violet-150: #e2dfff;
  --coral: #ed8086;
  --coral-ink: #b3384c;
  --coral-soft: #fdeced;
  --mint-soft: #e3f5ec;
  --mint-ink: #0b7550;
  --butter-soft: #fff3d6;
  --butter-ink: #855600;
  --sky-soft: #e5f0fb;
  --sky-ink: #1f5f9e;
  --night: #0c1040;
  --night-2: #151a5d;
  --night-ink: #c9cbf2;
  --ai: linear-gradient(120deg, #6c63ff 0%, #8c6bff 46%, #ee5a97 100%);
  --ai-soft: linear-gradient(120deg, #f0eeff 0%, #f6efff 50%, #fdeef5 100%);

  --font-display: "Quicksand", "Nunito", ui-rounded, system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --font-doc: Arial, "Helvetica Neue", Helvetica, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.35rem, 1.2rem + 0.6vw, 1.6rem);
  --step-3: clamp(1.85rem, 1.3rem + 1.9vw, 2.75rem);
  --step-4: clamp(2.45rem, 1.55rem + 3.6vw, 4.35rem);

  --radius-s: 10px;
  --radius: 16px;
  --radius-l: 24px;
  --pill: 999px;
  --shadow-s: 0 1px 2px rgba(16, 16, 64, 0.06), 0 8px 20px -12px rgba(40, 40, 120, 0.22);
  --shadow: 0 2px 6px rgba(16, 16, 64, 0.05), 0 26px 50px -26px rgba(40, 40, 120, 0.34);
  --shadow-l: 0 44px 90px -36px rgba(30, 30, 100, 0.42), 0 2px 8px rgba(16, 16, 64, 0.06);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --nav-h: 68px;
  color-scheme: light;
}

/* ── Base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--violet-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violet-700); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(108, 99, 255, 0.55); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet-150); color: var(--ink); }
[hidden] { display: none !important; }
.i { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.8; vertical-align: -0.18em; }
.site { overflow-x: clip; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600;
}
.skip:focus { top: 12px; color: #fff; }

/* ── Typographie ──────────────────────────────────────────────────────── */

h1, h2, h3, h4 { color: var(--ink); margin: 0; text-wrap: balance; }
h1, .h1 {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-4);
  line-height: 1.04; letter-spacing: -0.034em;
}
h2, .h2 {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-3);
  line-height: 1.08; letter-spacing: -0.03em;
}
h3, .h3 { font-family: var(--font-body); font-weight: 650; font-size: var(--step-2); line-height: 1.25; letter-spacing: -0.012em; }
h4 { font-family: var(--font-body); font-weight: 650; font-size: 1.0625rem; line-height: 1.35; }
p { margin: 0; text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.58; color: var(--ink-2); max-width: 38em; }
.muted { color: var(--ink-3); }
.small { font-size: var(--step--1); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 650; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--violet-ink);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.eyebrow--ai::before { background: var(--ai); }
.eyebrow--light { color: #b9b4ff; }
.ai-text {
  background: var(--ai); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-inline: 0.02em;
}
.mono { font-family: var(--font-mono); font-size: 0.85em; letter-spacing: 0; }
kbd {
  font-family: var(--font-mono); font-size: 0.78em; padding: 2px 7px; border-radius: 6px;
  background: var(--paper); border: 1px solid var(--line-2); box-shadow: 0 1px 0 var(--line-2); color: var(--ink);
}

/* ── Mise en page ─────────────────────────────────────────────────────── */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 8vw, 112px); }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: grid; gap: 16px; max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head .lead { max-width: 640px; }
.split { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) {
  .split { grid-template-columns: 1fr 1.1fr; }
  .split--reverse > :first-child { order: 2; }
  .split--even { grid-template-columns: 1fr 1fr; }
}
.stack { display: grid; gap: 18px; align-content: start; }
.stack--lg { gap: 28px; }
/* Une colonne qui peut rétrécir sous la largeur de son contenu : sans ça, un bouton ou une
   pastille qui ne passe pas à la ligne élargit toute la colonne, et le texte est rogné au bord. */
.stack, .card, .step, .plan, .feature-block, .feature-block__head, .section-head, .page-hero__inner,
.hero__copy, .trame-card, .page, .demo, .roi, .roi__inputs, .roi__result, .brief__item, .tl-month,
.cta-final__inner, .booking, .calendly-box, .calendly-box__fallback, .assist, .assist__body, .quote,
.letter, .mini, .chart-card, .masking, .trust-item, .card--feature .card__text {
  grid-template-columns: minmax(0, 1fr);
}

/* ── Boutons et liens ─────────────────────────────────────────────────── */

.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: var(--h); padding: 0 22px; border-radius: var(--pill);
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--sm { --h: 40px; padding: 0 16px; font-size: 0.9375rem; }
.btn--lg { --h: 56px; padding: 0 28px; font-size: 1.0625rem; }
.btn--primary {
  background: var(--violet-600); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 22px -10px rgba(90, 81, 240, 0.75);
}
.btn--primary:hover { background: var(--violet-700); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 14px 26px -10px rgba(90, 81, 240, 0.8); }
.btn--ghost { background: var(--paper); color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: rgba(108, 99, 255, 0.55); color: var(--ink); box-shadow: var(--shadow-s); }
.btn--ai { background: var(--ai); color: #fff; box-shadow: 0 10px 24px -12px rgba(140, 90, 255, 0.85); }
.btn--ai:hover { color: #fff; filter: saturate(1.08) brightness(1.03); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { color: var(--ink); box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.5); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.36); }
.btn--outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn .i { width: 1.1em; height: 1.1em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.cta-row--center { justify-content: center; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--violet-ink);
}
.link-arrow .i { transition: transform 0.2s var(--ease); }
.link-arrow:hover .i { transform: translateX(3px); }

.reassure { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; list-style: none; font-size: 0.9375rem; color: var(--ink-3); }
.reassure li { display: inline-flex; align-items: center; gap: 7px; }
.reassure .i { color: var(--mint-ink); stroke-width: 2.4; width: 1em; height: 1em; }
.reassure--light { color: var(--night-ink); justify-content: center; }
.reassure--light .i { color: #8ee6bd; }

/* ── Pastilles et étiquettes ──────────────────────────────────────────── */

.tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: var(--pill);
  font-size: 0.8125rem; font-weight: 600; line-height: 1.35; white-space: nowrap;
  background: var(--violet-soft); color: var(--violet-ink);
}
.tag--coral { background: var(--coral-soft); color: var(--coral-ink); }
.tag--mint { background: var(--mint-soft); color: var(--mint-ink); }
.tag--butter { background: var(--butter-soft); color: var(--butter-ink); }
.tag--sky { background: var(--sky-soft); color: var(--sky-ink); }
.tag--ai { background: var(--ai); color: #fff; }
.tag--line { background: var(--paper); color: var(--ink-2); border: 1px solid var(--line-2); }
.tag--wrap { white-space: normal; text-align: left; }
.tag .i { width: 0.95em; height: 0.95em; }
.beta {
  font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; padding: 2px 7px; border-radius: var(--pill);
  background: var(--ink); color: #fff; vertical-align: 0.15em;
}

/* ── Annonce ──────────────────────────────────────────────────────────── */

.announce { background: var(--night); color: #fff; font-size: 0.9rem; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 42px; padding-block: 6px; }
.announce__tag {
  flex: none; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: var(--pill); background: var(--ai);
}
.announce__link { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.announce__link:hover { color: #fff; text-decoration: underline; }
.announce__link .i { flex: none; }
.announce__close {
  flex: none; display: grid; place-items: center; width: 30px; height: 30px; margin-left: 4px;
  background: transparent; border: 0; border-radius: 8px; color: var(--night-ink); cursor: pointer;
}
.announce__close:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
@media (max-width: 640px) {
  .announce__inner { justify-content: space-between; }
  .announce__link { font-size: 0.82rem; line-height: 1.35; }
}
.announce__short { display: none; }
@media (max-width: 520px) { .announce__long { display: none; } .announce__short { display: inline; } }

/* Le bandeau Pearson est un guide permanent vers les tests, sans croix : NEMI-3 et MABC-3 ne sont
   plus dans le menu, il est leur seule porte d'entrée commune à toutes les pages. */
.announce__logo { flex: none; width: 90px; height: auto; display: block; }
.announce__text { min-width: 0; color: var(--night-ink); }
.announce__links { flex: none; display: inline-flex; gap: 8px; }
.announce__chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--pill);
  border: 1px solid rgba(255, 255, 255, 0.28); color: #fff; font-weight: 650; font-size: 0.85rem;
  text-decoration: none; white-space: nowrap;
}
.announce__chip .i { width: 1em; height: 1em; flex: none; }
.announce__chip:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.5); color: #fff; }
@media (max-width: 640px) { .announce__text { font-size: 0.82rem; line-height: 1.35; } .announce__logo { width: 76px; } }
@media (max-width: 420px) { .announce__text { display: none; } .announce--pearson .announce__inner { justify-content: center; gap: 14px; } }

/* ── Navigation ───────────────────────────────────────────────────────── */

.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; isolation: isolate;
  border-bottom: 1px solid transparent; transition: border-color 0.2s, box-shadow 0.2s;
}
/* Le flou vit sur un pseudo-élément : posé sur la barre elle-même, il ferait d'elle le repère
   du menu mobile (position: fixed), qui s'écraserait dans ses 68 px de haut. */
.nav::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(20, 20, 80, 0.4); }
/* L'en-tête est plus large que le contenu. Mesuré le 2026-10-22 : logo (156) + 5 entrées (535) +
   « Se connecter » et « Réserver une démo » (293), plus gouttières et écarts = 1 087 px. Le seuil du
   menu (1 120) en découle : tout ajout au menu le déplace, et se remesure (le dépassement ne fait pas
   défiler la page, il passe sous le bord droit de l'écran). NEMI-3 et MABC-3 vivent dans le bandeau. */
.nav__inner { display: flex; align-items: center; gap: 20px; height: var(--nav-h); max-width: 1440px; }
.nav__logo { flex: none; display: block; }
.nav__logo img { width: 156px; height: auto; }
.nav__menu { display: none; align-items: center; gap: 2px; margin-inline: auto; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 10px; border-radius: var(--pill);
  color: var(--ink-2); font-weight: 550; font-size: 0.9625rem; text-decoration: none; background: none; border: 0; cursor: pointer;
  white-space: nowrap; flex: none;
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--ink); background: var(--mist-2); }
/* Une maison pour revenir à l'accueil : tout le monde n'a pas le réflexe de cliquer sur le logo. */
.nav__link--home { padding-inline: 9px; }
.nav__link--home .i { width: 19px; height: 19px; vertical-align: 0; }
/* Sur l'accueil, elle ne mènerait nulle part : on ne la montre qu'ailleurs (menu et volet mobile). */
.nav__link--home[aria-current="page"], .drawer__home[aria-current="page"] { display: none; }
.nav__link[aria-current="page"] { color: var(--ink); }
.nav__link[aria-current="page"]::after {
  content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--coral); margin-left: 4px;
}
.nav__more { position: relative; }
.nav__more-btn .i { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.nav__more-btn[aria-expanded="true"] .i { transform: rotate(180deg); }
.nav__panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: 340px; padding: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  display: grid; gap: 2px;
}
.nav__panel a { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; text-decoration: none; color: var(--ink-3); font-size: 0.875rem; line-height: 1.4; }
.nav__panel a strong { display: flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.nav__panel a strong .i { color: var(--violet); }
.nav__panel a:hover { background: var(--mist); }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav__login { display: none; color: var(--ink-2); font-weight: 600; font-size: 0.95rem; text-decoration: none; padding: 8px 10px; white-space: nowrap; }
.nav__login:hover { color: var(--ink); }
.nav__cta-short { display: none; }
.nav__burger {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: var(--paper); border: 1px solid var(--line-2); cursor: pointer; color: var(--ink);
}
.nav__burger .i { width: 22px; height: 22px; }
.nav__burger span { display: grid; }
.nav__burger-close, .nav__burger[aria-expanded="true"] .nav__burger-open { display: none !important; }
.nav__burger[aria-expanded="true"] .nav__burger-close { display: grid !important; }
@media (min-width: 560px) { .nav__login { display: inline-block; } }
@media (max-width: 420px) {
  .nav__inner { gap: 10px; }
  .nav__logo img { width: 132px; }
  .nav__cta { padding: 0 13px; font-size: 0.875rem; }
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
}
@media (max-width: 330px) { .nav__cta { display: none; } }
@media (min-width: 1120px) {
  .nav__menu { display: flex; }
  .nav__actions { margin-left: 0; }
  .nav__burger { display: none; }
  .nav__login { padding-inline: 6px; }
}

.drawer {
  position: fixed; inset: var(--drawer-top, calc(var(--nav-h) + env(safe-area-inset-top, 0px))) 0 0 0; z-index: 99;
  background: var(--paper); padding: 16px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; display: grid; align-content: start; gap: 24px; border-top: 1px solid var(--line);
}
.drawer__links { display: grid; }
.drawer__links a {
  padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none;
  color: var(--ink); font-weight: 600; font-size: 1.125rem;
}
.drawer__links a[aria-current="page"] { color: var(--violet-ink); }
.drawer__cta { display: grid; gap: 10px; }
body.has-drawer { overflow: hidden; }
@media (min-width: 1120px) { .drawer { display: none !important; } }

/* ── Héros : le propos au centre, la démonstration en grand dessous ──── */

.hero { position: relative; padding-block: clamp(44px, 6vw, 88px) clamp(56px, 7vw, 104px); isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 45% at 50% 0%, rgba(108, 99, 255, 0.12), transparent 70%),
    radial-gradient(35% 35% at 92% 70%, rgba(237, 128, 134, 0.13), transparent 70%),
    radial-gradient(35% 35% at 6% 62%, rgba(108, 99, 255, 0.08), transparent 70%);
}
.hero__copy { display: grid; gap: 22px; justify-items: center; text-align: center; max-width: 940px; margin-inline: auto; }
.hero__copy h1 { max-width: 19ch; font-size: clamp(2.5rem, 1.3rem + 3.6vw, 4.3rem); }
.hero__copy .lead { max-width: 38em; }
.hero__note { font-size: 0.92rem; color: var(--ink-3); }
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px;
  padding: 0; margin: clamp(32px, 4vw, 44px) 0 0; list-style: none;
}
.trust-row li { display: inline-flex; align-items: center; gap: 9px; font-size: 0.95rem; font-weight: 550; color: var(--ink-2); }
.trust-row .i { color: var(--violet); width: 1.25em; height: 1.25em; }
@media (max-width: 640px) {
  .hero__copy { justify-items: start; text-align: left; }
  .hero .cta-row--center, .trust-row { justify-content: flex-start; }
}

/* ── La démonstration : la trame et la page ───────────────────────────── */

.demo {
  position: relative; display: grid; gap: 16px; max-width: 1120px; margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 14px; border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(246, 245, 254, 0.92));
  border: 1px solid var(--line); box-shadow: var(--shadow-l);
}
@media (min-width: 900px) { .demo { grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); padding: 22px; gap: 22px; } }
.demo__caption {
  position: absolute; left: 50%; top: -17px; transform: translateX(-50%); z-index: 2;
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  padding: 8px 16px; border-radius: var(--pill); background: var(--ink); color: #fff;
  font-size: 0.86rem; font-weight: 600; box-shadow: var(--shadow-s);
}
@media (max-width: 380px) { .demo__caption { white-space: normal; text-align: center; max-width: calc(100% - 24px); font-size: 0.8rem; } }
.demo__caption .dot { width: 8px; height: 8px; border-radius: 50%; background: #7cf0b8; box-shadow: 0 0 0 4px rgba(124, 240, 184, 0.18); }

.trame-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(18px, 2.4vw, 28px); display: grid; gap: 22px; align-content: start;
}
.trame-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 18px; }
.trame-card__title { display: flex; align-items: center; gap: 12px; min-width: 0; }
.trame-card__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--violet-soft); color: var(--violet); flex: none; }
.trame-card__icon .i { width: 22px; height: 22px; }
.trame-card__title strong { display: block; color: var(--ink); font-size: 1.04rem; line-height: 1.3; }
.trame-card__title span { display: block; color: var(--ink-3); font-size: 0.86rem; margin-top: 2px; }
.patient-switch { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.patient-switch button {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 5px; border-radius: var(--pill);
  border: 1px solid var(--line-2); background: var(--paper); cursor: pointer; font-size: 0.875rem; font-weight: 600; color: var(--ink-2);
}
.patient-switch button[aria-pressed="true"] { border-color: var(--violet); background: var(--violet-soft); color: var(--violet-ink); }
.avatar-dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 0.72rem; font-weight: 700; color: #fff; background: var(--violet); }
.avatar-dot--coral { background: var(--coral); }
.q { display: grid; gap: 11px; }
.q__label { font-size: 0.95rem; font-weight: 650; color: var(--ink); display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.q__label span { color: var(--ink-3); font-weight: 500; font-size: 0.82rem; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2);
  font-size: 0.92rem; font-weight: 550; line-height: 1.2; cursor: pointer; text-align: left;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.chip::before {
  content: ""; flex: none; width: 15px; height: 15px; border-radius: 5px; border: 1.5px solid var(--line-2); background: var(--paper);
  transition: background-color 0.15s, border-color 0.15s;
}
.chips--single .chip::before { border-radius: 50%; }
.chip:hover { border-color: rgba(108, 99, 255, 0.5); }
.chip[aria-pressed="true"], .chip[aria-checked="true"] { background: var(--violet-soft); border-color: rgba(108, 99, 255, 0.6); color: var(--violet-ink); }
.chip[aria-pressed="true"]::before, .chip[aria-checked="true"]::before {
  border-color: var(--violet); background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.trame-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; border-top: 1px dashed var(--line-2); }
.trame-card__foot .small { color: var(--ink-3); font-size: 0.875rem; }
.gen-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; border-radius: var(--pill); border: 0;
  background: var(--ai); color: #fff; font-weight: 650; font-size: 0.92rem; cursor: pointer;
  box-shadow: 0 10px 22px -12px rgba(140, 90, 255, 0.9);
}
.gen-btn .i { width: 1.05em; height: 1.05em; }

/* La page du compte rendu : une feuille, avec son en-tête et son folio. */
.page {
  position: relative; background: #fff; border-radius: 8px; padding: 30px 32px 44px;
  box-shadow: 0 1px 2px rgba(16, 16, 64, 0.08), 0 20px 44px -24px rgba(30, 30, 100, 0.5);
  font-family: var(--font-doc); color: #1f2230; font-size: 0.88rem; line-height: 1.6; min-height: 100%;
  display: grid; align-content: start; gap: 12px;
}
.page__head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 12px; border-bottom: 1px solid #e6e7ef; color: #7a7d92; font-size: 0.72rem; line-height: 1.5; }
.page__head b { color: #2b2e45; font-weight: 700; }
.page h4 { font-family: var(--font-doc); font-size: 0.95rem; color: #2a2a72; margin-top: 6px; }
.page__title { font-family: var(--font-doc); font-size: 1.08rem; font-weight: 700; color: #1d1f3b; text-align: center; letter-spacing: 0.01em; margin: 6px 0 0; }
.page__meta { text-align: center; color: #6c6f86; font-size: 0.78rem; margin-top: -6px; }
.page__folio { position: absolute; right: 22px; bottom: 16px; font-family: var(--font-mono); font-size: 0.7rem; color: #9a9db3; }
.page__text { min-height: 6.4em; }
.page__text .typing { white-space: pre-wrap; }
.page--hero { padding: clamp(26px, 3.4vw, 46px) clamp(22px, 3.6vw, 50px) 56px; font-size: 0.97rem; line-height: 1.68; gap: 14px; }
.page--hero .page__title { font-size: 1.22rem; }
.page--hero .page__head { font-size: 0.78rem; }
.page--hero h4 { font-size: 1.02rem; }
.caret {
  display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -0.16em; border-radius: 2px;
  background: var(--ai); animation: caret 0.9s steps(2, start) infinite;
}
@keyframes caret { to { visibility: hidden; } }
.page__line { height: 8px; border-radius: 4px; background: #eef0f6; }
.page__line--short { width: 62%; }
.pastille {
  display: inline-flex; align-items: center; gap: 8px; justify-self: start; max-width: 100%;
  padding: 6px 14px; border-radius: var(--pill); font-family: var(--font-body); font-size: 0.82rem; font-weight: 650;
  background: var(--violet-soft); color: var(--violet-ink); border: 1px solid rgba(108, 99, 255, 0.28);
}
.pastille em { font-style: normal; color: var(--ink-3); font-weight: 600; flex: none; }
.pastille__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pastille--step { background: var(--coral-soft); color: var(--coral-ink); border-color: rgba(237, 128, 134, 0.35); }
.pastille .i { width: 1em; height: 1em; }
.mention { color: var(--violet-ink); background: var(--violet-soft); border-radius: 4px; padding: 0 3px; }

/* ── Bandeau de chiffres ──────────────────────────────────────────────── */

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border-radius: var(--radius-l); overflow: hidden; border: 1px solid var(--line); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat { background: var(--paper); padding: clamp(18px, 3vw, 28px); display: grid; gap: 4px; align-content: start; }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); line-height: 1; color: var(--ink); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stat__value small { font-size: 0.55em; letter-spacing: -0.01em; }
.stat__label { color: var(--ink-3); font-size: 0.95rem; line-height: 1.4; }

/* ── Pour qui ─────────────────────────────────────────────────────────── */

.for-whom { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .for-whom { grid-template-columns: 0.9fr 1.1fr; } }
.for-whom__photo { position: relative; border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 11; background: var(--mist-2); }
.for-whom__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; }
.for-whom__badge {
  position: absolute; left: 16px; bottom: 16px; right: 16px; display: flex; gap: 12px; align-items: center;
  background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 12px 14px; font-size: 0.9rem; color: var(--ink-2); line-height: 1.4;
}
.for-whom__badge .i { color: var(--coral); width: 26px; height: 26px; flex: none; }
.professions { display: flex; flex-wrap: wrap; gap: 8px; }
.professions .tag { font-size: 0.9rem; padding: 7px 14px; }

/* ── Étapes ───────────────────────────────────────────────────────────── */

.steps { display: grid; gap: 16px; counter-reset: step; padding: 0; margin: 0; list-style: none; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; display: grid; gap: 12px; align-content: start; }
.step__num {
  counter-increment: step; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
}
.step__num::before { content: counter(step); }
.step p { color: var(--ink-3); font-size: 0.98rem; }
.step__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }

/* ── L'assistant : « Que voulez-vous faire ? » ────────────────────────── */

.assist { display: grid; gap: 16px; }
@media (min-width: 960px) { .assist { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 24px; } }
.assist__menu { display: grid; gap: 6px; align-content: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 10px; }
.assist__menu-title { padding: 8px 10px 4px; font-size: 0.8rem; font-weight: 650; color: var(--ink-3); }
.assist__opt {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; align-items: center; text-align: left;
  padding: 11px 12px; border-radius: 14px; border: 1px solid transparent; background: transparent; cursor: pointer;
}
.assist__opt .i { grid-row: span 2; width: 36px; height: 36px; padding: 8px; border-radius: 11px; background: var(--mist-2); color: var(--violet-ink); }
.assist__opt strong { color: var(--ink); font-size: 0.98rem; display: flex; gap: 8px; align-items: center; }
.assist__opt span { color: var(--ink-3); font-size: 0.85rem; line-height: 1.35; }
.assist__opt:hover { background: var(--mist); }
.assist__opt[aria-selected="true"] { background: var(--ai-soft); border-color: rgba(140, 107, 255, 0.35); }
.assist__opt[aria-selected="true"] .i { background: var(--ai); color: #fff; }
.assist__panel { display: grid; grid-template-rows: auto 1fr auto; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; min-height: 420px; }
.assist__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.assist__who { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--ink); font-size: 0.95rem; }
.orb { width: 26px; height: 26px; border-radius: 50%; background: var(--ai); box-shadow: 0 0 0 4px rgba(140, 107, 255, 0.14); flex: none; }
.assist__body { padding: 18px; display: grid; gap: 14px; align-content: start; }
.bubble { max-width: 92%; padding: 12px 14px; border-radius: 16px; font-size: 0.95rem; line-height: 1.55; }
.bubble--me { justify-self: end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.bubble--ai { background: var(--mist); color: var(--ink-2); border-bottom-left-radius: 6px; white-space: pre-line; }
.bubble--ai strong { color: var(--ink); }
.assist__actions { display: flex; gap: 6px; flex-wrap: wrap; }
.assist__actions span { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: var(--pill); border: 1px solid var(--line-2); font-size: 0.8rem; font-weight: 600; color: var(--ink-2); background: var(--paper); }
.assist__actions span .i { width: 1em; height: 1em; }
@media (max-width: 959px) {
  .assist__menu { display: flex; overflow-x: auto; gap: 6px; padding: 6px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .assist__menu::-webkit-scrollbar { display: none; }
  .assist__menu-title { display: none; }
  .assist__opt { flex: none; grid-template-columns: auto auto; padding: 8px 12px 8px 8px; scroll-snap-align: start; }
  .assist__opt .i { grid-row: auto; width: 30px; height: 30px; padding: 6px; }
  .assist__opt span { display: none; }
  .assist__opt strong .tag { display: none; }
  .assist__panel { min-height: 0; }
}
.assist__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--mist); font-size: 0.85rem; color: var(--ink-3); }
.assist__foot .tag { font-size: 0.78rem; }

/* ── Cartes de fonctionnalités ────────────────────────────────────────── */

.cards { display: grid; gap: 16px; }
@media (min-width: 760px) { .cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 760px) and (max-width: 959px) { .cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1039px) { .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; display: grid; gap: 12px; align-content: start; }
.card > * { min-width: 0; }
.card p { color: var(--ink-3); font-size: 0.98rem; }
.card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--violet-soft); color: var(--violet-ink); }
.card__icon .i { width: 22px; height: 22px; }
.card__icon--coral { background: var(--coral-soft); color: var(--coral-ink); }
.card__icon--mint { background: var(--mint-soft); color: var(--mint-ink); }
.card__icon--butter { background: var(--butter-soft); color: var(--butter-ink); }
.card__icon--sky { background: var(--sky-soft); color: var(--sky-ink); }
.card__icon--ai { background: var(--ai); color: #fff; }
.card__title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card--feature { padding: 0; overflow: hidden; }
/* Les douleurs de l'accueil : la phrase du praticien en grand, la réponse dessous, le lien en pied. */
.pains { display: grid; gap: 16px; }
@media (min-width: 760px) { .pains { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pain { padding: clamp(24px, 2.6vw, 32px); gap: 14px; grid-template-rows: auto auto 1fr auto; }
.pain__before { margin: 0; font-size: clamp(1.12rem, 1rem + 0.4vw, 1.3rem); line-height: 1.4; color: var(--ink); }
.card .pain__after { margin: 0; color: var(--ink-2); line-height: 1.6; }
.pain__after strong { color: var(--violet-ink); }
.pain .link-arrow { justify-self: start; align-self: end; }
.card--feature .card__art { background: var(--mist); border-bottom: 1px solid var(--line); padding: 22px; min-height: 300px; display: grid; align-items: center; }
.card--feature .card__text { padding: 22px 24px 26px; display: grid; gap: 10px; }
.card--feature .card__text > * { min-width: 0; }

/* Illustrations des cartes « Ma façon de faire » : un seul geste par carte, en grand. */
.card--feature .card__art { place-items: center; }
.mini {
  width: 100%; max-width: 340px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-s); padding: 18px 20px; font-size: 0.93rem; display: grid; gap: 14px; align-content: start;
}
.mini__row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--ink-2); }
.mini__file { display: inline-flex; align-items: center; gap: 9px; justify-self: start; padding: 10px 13px; border-radius: 12px; background: var(--sky-soft); color: var(--sky-ink); font-weight: 650; overflow-wrap: anywhere; }
.mini__list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.mini__list li { display: flex; align-items: center; gap: 10px; color: var(--ink-3); font-weight: 550; }
.mini__list li .i { width: 20px; height: 20px; color: var(--line-2); flex: none; }
.mini__list li.is-done { color: var(--ink); }
.mini__list li.is-done .i { color: var(--mint-ink); }
.mini__list li:not(.is-done) .i { color: var(--violet); }
.mini__cta { justify-self: start; display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: var(--pill); background: var(--ai); color: #fff; font-weight: 650; font-size: 0.88rem; }
.mini__ask { justify-self: end; max-width: 92%; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 14px 14px 4px 14px; line-height: 1.45; }
.mini__plan { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; }
.mini__plan .add { color: var(--mint-ink); font-weight: 650; }
.yes-no { display: inline-flex; gap: 6px; flex: none; }
.yes-no b { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; border: 1px solid var(--line-2); font-size: 0.85rem; color: var(--ink-3); }
.yes-no b.on { background: var(--mint-ink); border-color: var(--mint-ink); color: #fff; }
.mini__motto { font-weight: 650; color: var(--violet-ink); font-size: 0.9rem; display: inline-flex; gap: 7px; align-items: center; }
.mini__style { border-left: 3px solid var(--coral); padding: 10px 14px; color: var(--ink-2); font-style: italic; background: var(--coral-soft); border-radius: 0 10px 10px 0; line-height: 1.55; }
.mini .tag { justify-self: start; font-size: 0.85rem; padding: 6px 12px; }
.mini__file--model { background: var(--violet-soft); color: var(--violet-ink); }
.mini__pills { display: flex; flex-wrap: wrap; gap: 6px; }
.mini__pills .pastille { font-size: 0.8rem; }

/* ── L'Atelier de trame : le studio, en démonstration ───────────────────
   Les couleurs de changement sont celles du studio de l'application (ajout, modification,
   suppression), lisibles en texte sur leur fond doux. */
.studio {
  --st-green: #0c8a5d; --st-green-soft: #e9f8f1; --st-green-line: #a6e2c6;
  --st-amber: #9c5a00; --st-amber-soft: #fff6e2; --st-amber-line: #f0cf8c;
  --st-red: #c73b3b; --st-red-soft: #fcebeb; --st-red-line: #edb4b4;
  max-width: 1120px; margin-inline: auto; border-radius: 26px; overflow: hidden;
  background: #f5f5f9; border: 1px solid var(--line); box-shadow: var(--shadow-l);
}
.studio__bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  padding: 14px 22px; background: var(--paper); border-bottom: 1px solid var(--line);
}
.studio__crumbs { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-3); font-size: 0.93rem; min-width: 0; flex-wrap: wrap; }
.studio__crumbs b { color: var(--ink); }
.studio__crumbs > .i { color: var(--violet); }
.studio__actions { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.studio__saved { display: inline-flex; align-items: center; gap: 6px; color: var(--st-green); font-size: 0.86rem; font-weight: 600; }
.studio__btn {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--pill);
  border: 1px solid var(--line-2); background: var(--paper); font-size: 0.875rem; font-weight: 600; color: var(--ink);
}
.studio__btn--ai { background: var(--ai); color: #fff; border-color: transparent; }
.studio__body { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (max-width: 640px) {
  .studio__btn, .studio__sub { display: none; }
  .studio__bar { padding: 12px 16px; }
  .studio__assistant { padding: 20px 16px; }
  .studio__plan { margin-left: 0; }
  .lumi-note { margin-left: 0; }
}
@media (min-width: 960px) { .studio__body { grid-template-columns: 360px minmax(0, 1fr); } }
.studio__assistant {
  display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; gap: 20px;
  padding: 24px 22px; background: var(--paper); border-right: 1px solid var(--line);
}
@media (max-width: 959px) { .studio__assistant { border-right: 0; border-bottom: 1px solid var(--line); } }
.studio__hello { display: grid; gap: 8px; }
.studio__title { font-family: var(--font-display); font-weight: 700; font-size: 1.55rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1.15; }
.studio__sub { color: var(--ink-3); font-size: 0.94rem; }
.studio__thread { display: grid; gap: 12px; align-content: start; }
.studio__thread .bubble { font-size: 0.94rem; max-width: 100%; }
.lumi { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; }
.lumi .orb { width: 24px; height: 24px; margin-top: 2px; }
.lumi p { color: var(--ink-2); font-size: 0.94rem; line-height: 1.55; }
.studio__plan { display: grid; gap: 7px; padding: 0; margin: 0 0 0 34px; list-style: none; }
.studio__plan li { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 11px; font-size: 0.875rem; font-weight: 600; border: 1px solid; }
.studio__plan .i { width: 1em; height: 1em; flex: none; }
.studio__plan .is-add { color: var(--st-green); background: var(--st-green-soft); border-color: var(--st-green-line); }
.studio__plan .is-mod { color: var(--st-amber); background: var(--st-amber-soft); border-color: var(--st-amber-line); }
.studio__plan .is-del { color: var(--st-red); background: var(--st-red-soft); border-color: var(--st-red-line); }
.lumi-note { margin-left: 34px; color: var(--st-green); font-weight: 600; font-size: 0.92rem; }
.lumi-note:empty { display: none; }
.studio__composer {
  display: flex; align-items: center; gap: 10px; padding: 9px 9px 9px 16px; border-radius: 16px;
  border: 1px solid var(--line-2); color: var(--ink-3); font-size: 0.93rem; background: var(--paper);
}
.studio__composer span { flex: 1; min-width: 0; }
.studio__composer b { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ai); color: #fff; flex: none; }
.studio__composer b .i { width: 16px; height: 16px; }

.studio__doc {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: start;
  padding: clamp(18px, 2.6vw, 28px); padding-bottom: 104px; counter-reset: st;
}
.st-step {
  counter-increment: st; background: var(--paper); border: 1px solid var(--line); border-radius: 18px;
  padding: 16px 18px; display: grid; gap: 10px; transition: opacity 0.3s, border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}
.st-step__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 34px; }
.st-step__head b { color: var(--ink); font-size: 1.04rem; }
.st-num { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--mist-2); color: var(--ink-2); font-weight: 700; font-size: 0.86rem; flex: none; }
.st-num::before { content: counter(st); }
.st-count { color: var(--ink-3); font-size: 0.86rem; margin-left: auto; }
.st-q {
  display: grid; gap: 4px; padding: 12px 14px; border-radius: 13px; background: #f8f8fb; border: 1px solid transparent;
  transition: opacity 0.3s, border-color 0.3s, background-color 0.3s;
}
.st-q b { color: var(--ink); font-weight: 600; font-size: 0.96rem; }
.st-q > span, .st-q__old, .st-q__new { color: var(--ink-3); font-size: 0.87rem; }
.st-q__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; min-height: 34px; }
.st-badge { font-size: 0.75rem; font-weight: 700; padding: 3px 9px; border-radius: var(--pill); }
.st-badge--add { color: var(--st-green); background: var(--st-green-soft); }
.st-badge--mod { color: var(--st-amber); background: #ffecc2; }
.st-badge--del { color: var(--st-red); background: #f9dcdc; }
.st-decide { display: inline-flex; gap: 6px; margin-left: auto; }
.st-decide button {
  display: grid; place-items: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: 10px;
  border: 1px solid var(--line-2); background: var(--paper); font-weight: 700; font-size: 0.95rem; color: var(--ink-2); cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}
.st-decide button:hover { transform: translateY(-1px); }
.st-decide button[data-decide="yes"]:hover { border-color: var(--st-green); color: var(--st-green); }
.st-decide button[data-decide="no"]:hover { border-color: var(--ink-2); color: var(--ink); }
.st-decide button[data-decide="yes"][aria-pressed="true"] { background: var(--st-green); border-color: var(--st-green); color: #fff; }
.st-decide button[data-decide="no"][aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.st-decide--words button { font-size: 0.84rem; font-weight: 650; }
.st-decide--words button[data-decide="yes"]:hover { border-color: var(--st-red); color: var(--st-red); }
.st-decide--words button[data-decide="yes"][aria-pressed="true"] { background: var(--st-red); border-color: var(--st-red); color: #fff; }
.st-choices { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.st-choices i { font-style: normal; font-size: 0.85rem; font-weight: 600; padding: 5px 10px; border-radius: 9px; color: var(--st-green); background: var(--st-green-soft); border: 1px solid var(--st-green-line); }
.st-strike { text-decoration: line-through; text-decoration-color: var(--st-red); }

/* La proposition, en couleur dans la trame */
.studio[data-phase="proposal"] [data-kind="add"] { border-color: var(--st-green-line); box-shadow: inset 4px 0 0 var(--st-green); }
.studio[data-phase="proposal"] [data-kind="mod"] { background: var(--st-amber-soft); border-color: var(--st-amber-line); }
.studio[data-phase="proposal"] [data-kind="del"] { background: var(--st-red-soft); border-color: var(--st-red-line); }
.studio[data-phase="proposal"] [data-kind="mod"] .st-q__old { text-decoration: line-through; }
.studio[data-phase="proposal"] [data-kind="add"][data-decision="no"],
.studio[data-phase="proposal"] [data-kind="mod"][data-decision="no"] { opacity: 0.45; }
.studio[data-phase="proposal"] [data-kind="mod"][data-decision="no"] .st-q__old { text-decoration: none; }
.studio[data-phase="proposal"] [data-kind="del"][data-decision="no"] { background: #f8f8fb; border-color: var(--line); }
.studio[data-phase="proposal"] [data-kind="del"][data-decision="no"] .st-strike { text-decoration: none; }

/* La trame après la décision (appliquée, refusée ou annulée) */
.studio:not([data-phase="proposal"]) .st-decide,
.studio:not([data-phase="proposal"]) .st-badge,
.studio:not([data-phase="proposal"]) .st-review { display: none; }
.studio:not([data-phase="proposal"]) .st-strike { text-decoration: none; }
.studio:not([data-phase="proposal"]) .st-choices i { color: var(--ink-2); background: var(--paper); border-color: var(--line-2); }
.studio[data-phase="applied"] [data-kind="add"][data-final="no"],
.studio[data-phase="applied"] [data-kind="del"][data-final="yes"],
.studio[data-phase="original"] [data-kind="add"] { display: none; }
.studio[data-phase="applied"] [data-kind="mod"][data-final="yes"] .st-q__old,
.studio[data-phase="applied"] [data-kind="mod"][data-final="no"] .st-q__new,
.studio[data-phase="original"] [data-kind="mod"] .st-q__new { display: none; }

.st-review, .st-snack {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); z-index: 2;
  display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; justify-content: space-between;
  width: min(580px, calc(100% - 28px)); padding: 10px 10px 10px 18px; border-radius: 16px;
  background: var(--ink); color: #fff; box-shadow: var(--shadow); font-size: 0.92rem;
}
.st-snack { width: auto; max-width: calc(100% - 28px); }
.st-review__text { flex: 1 1 220px; }
.st-review__actions { display: inline-flex; gap: 8px; flex: none; }
.st-btn { padding: 9px 16px; border-radius: 11px; border: 1px solid rgba(255, 255, 255, 0.3); background: transparent; color: #fff; font-weight: 650; font-size: 0.9rem; cursor: pointer; }
.st-btn:hover { border-color: #fff; }
.st-btn--ai { background: var(--ai); border-color: transparent; }
.st-snack button { border: 0; background: transparent; color: #c9c5ff; font-weight: 700; cursor: pointer; font-size: 0.92rem; }
.st-snack button:hover { color: #fff; text-decoration: underline; }
.st-replay {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: var(--pill);
  border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; color: var(--ink); cursor: pointer; box-shadow: var(--shadow-s);
}
.example-note.studio-note { display: flex; justify-content: center; margin-top: 14px; }
.atelier-powers { margin-top: clamp(32px, 4vw, 48px); }
.atelier-cta { margin-top: 32px; }

/* ── « Où en était-on » ───────────────────────────────────────────────── */

.brief { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; }
.brief__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.brief__head strong { color: var(--ink); font-size: 1.02rem; display: flex; align-items: center; gap: 8px; }
.brief__head strong .i { color: var(--violet); }
.brief__head span { font-size: 0.82rem; color: var(--ink-3); }
.brief__body { display: grid; gap: 0; }
.brief__item { display: grid; gap: 4px; padding: 14px 20px; }
.brief__item + .brief__item { border-top: 1px solid var(--line); }
.brief__item h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 650; }
.brief__item p { font-size: 0.95rem; color: var(--ink-2); }
.date-link { color: var(--violet-ink); font-weight: 600; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.search-card { display: grid; gap: 14px; padding: clamp(20px, 2.6vw, 28px); }
.search-card__query { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; border: 1.5px solid rgba(108, 99, 255, 0.45); background: var(--paper); color: var(--ink); font-weight: 550; box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.08); }
.search-card__query .i { color: var(--violet); flex: none; }
.search-card__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.result { display: grid; gap: 4px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.result strong { color: var(--ink); font-size: 1rem; }
.result span { color: var(--ink-3); font-size: 0.93rem; line-height: 1.5; }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-chips span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: var(--pill); background: var(--paper); border: 1px solid var(--line-2); font-size: 0.9rem; color: var(--ink-2); }
.ask-chips .i { color: var(--violet); }

/* ── Tuiles (éditeur) ─────────────────────────────────────────────────── */

.tiles { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tile { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; align-items: start; padding: 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.tile > .i { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--violet-soft); color: var(--violet-ink); }
.tile strong { color: var(--ink); font-size: 0.98rem; line-height: 1.3; }
.tile span { color: var(--ink-3); font-size: 0.875rem; line-height: 1.45; }

.sheet-stack { display: grid; gap: 18px; justify-items: center; }
.sheet-stack .page { width: 100%; max-width: 480px; min-height: 470px; align-content: start; }
.sheet-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.sheet-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: var(--pill);
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-s); font-size: 0.875rem; font-weight: 600; color: var(--ink);
}
.sheet-badge .i { color: var(--violet); }
.avatars { display: inline-flex; }
.avatars i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; margin-left: -6px; background: var(--coral); }
.avatars i:first-child { margin-left: 0; background: var(--violet); }
.avatars i:nth-child(3) { background: #20b2a6; }
.tiles--3 { margin-top: clamp(40px, 5vw, 64px); }
@media (min-width: 640px) { .tiles--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .tiles--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tiles--3 .tile { padding: 22px; gap: 6px 16px; }
.tiles--3 .tile strong { font-size: 1.02rem; }
.tiles--3 .tile span { font-size: 0.95rem; }

/* ── NEMI-3 ───────────────────────────────────────────────────────────── */

.nemi { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 960px) { .nemi { grid-template-columns: 1fr 1fr; } }
.nemi__logos { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nemi__logos img { height: 28px; width: auto; }
.nemi__logos img.nemi-logo { height: 56px; }
/* Le mot « Neurobase » est en traits fins : à la hauteur de « Pearson », il paraissait plus petit. */
.nemi__logos img.nemi__nb { height: 36px; }
.nemi__logos .x { color: var(--ink-3); font-weight: 600; }
/* La marketplace Pearson : une carte par test, comme dans l'application (logo, âges, ce que ça
   fait, prix, fiche). Les prix viennent de site.config.json, jamais écrits dans la page. */
.market { display: grid; gap: 20px; }
@media (min-width: 900px) { .market { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.market-card {
  display: grid; grid-template-rows: auto 1fr auto; min-width: 0;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); overflow: hidden;
}
.market-card__cover { position: relative; display: grid; place-items: center; height: 190px; padding: 28px; background: var(--violet-soft); }
.market-card--mabc .market-card__cover { background: var(--mint-soft); }
/* Les logos des tests sont sur fond blanc : multiply fond ce blanc dans la teinte de la couverture. */
.market-card__cover img { width: auto; max-width: 62%; max-height: 128px; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.market-card__age { position: absolute; top: 14px; left: 14px; }
.market-card__body { display: grid; gap: 12px; align-content: start; padding: 24px 24px 20px; }
.market-card__body h3 { margin: 0; font-size: 1.35rem; }
.market-card__body p { margin: 0; color: var(--ink-3); font-size: 0.98rem; line-height: 1.55; }
.market-card .market-card__sub { color: var(--ink-2); font-size: 0.95rem; }
.market-card__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.market-card__foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  padding: 16px 24px 22px; border-top: 1px solid var(--line);
}
.market-card__price { font-weight: 700; color: var(--ink); }
.market-card__price span { font-weight: 500; color: var(--ink-3); }
.market-note { margin: 20px 0 0; }
.market-domains { margin: 20px auto 0; text-align: center; max-width: 640px; }
.chart-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); padding: 20px; display: grid; gap: 14px; }
.chart-card__head { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.chart-card__head strong { color: var(--ink); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--font-body); fill: var(--ink-3); font-size: 12.5px; }
.chart .lbl { fill: var(--ink); font-weight: 700; font-size: 15px; }
.chart .val { fill: var(--ink); font-family: var(--font-mono); font-size: 15px; font-weight: 500; }
.chart .band { fill: var(--violet-soft); }
.chart .grid { stroke: var(--line); stroke-width: 1; }
.chart .mean { stroke: var(--violet); stroke-width: 1.5; stroke-dasharray: 4 4; }
.chart .ci { stroke: var(--ink-3); stroke-width: 2; stroke-linecap: round; }
.chart .dot { fill: var(--violet-600); stroke: #fff; stroke-width: 2.5; }
.chart .dot--hi { fill: var(--coral); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 0.8rem; color: var(--ink-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 10px; border-radius: 3px; background: var(--violet-soft); border: 1px solid rgba(108, 99, 255, 0.35); }
.legend i.l-mean { height: 0; border: 0; border-top: 2px dashed var(--violet); border-radius: 0; }
.legend b.l-ci { width: 16px; height: 2px; background: var(--ink-3); border-radius: 2px; }
.legend b.l-hi { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); }
.example-note { font-size: 0.78rem; color: var(--ink-3); display: inline-flex; gap: 6px; align-items: center; }
.example-note .i { width: 1em; height: 1em; }

/* ── Bande nuit : confiance ───────────────────────────────────────────── */

.night {
  position: relative; background: var(--night); color: var(--night-ink); isolation: isolate; overflow: hidden;
}
.night::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(50% 60% at 85% 0%, rgba(108, 99, 255, 0.35), transparent 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(237, 128, 134, 0.18), transparent 70%);
}
.night h2, .night h3, .night h4 { color: #fff; }
.night .lead, .night p { color: var(--night-ink); }
.night a { color: #fff; }
.trust-grid { display: grid; gap: 1px; background: rgba(255, 255, 255, 0.1); border-radius: var(--radius-l); overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1); }
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust-item { background: rgba(12, 16, 64, 0.92); padding: 24px; display: grid; gap: 10px; align-content: start; }
.trust-item .i { width: 30px; height: 30px; color: #b9b4ff; }
.trust-item h3 { font-size: 1.1rem; }
.trust-item p { font-size: 0.95rem; color: var(--night-ink); }
.trust-item .flag-fr { width: 33px; height: 22px; margin-block: 4px; box-shadow: none; }
/* Ce qui n'est pas encore en ligne se dit « Bientôt », sous ce qui l'est : jamais dans la liste. */
.rb-soon { margin: 0; display: flex; gap: 10px; align-items: baseline; color: var(--ink-3); font-size: 0.98rem; line-height: 1.55; }
.rb-soon .tag { flex: none; }
.masking {
  display: grid; gap: 10px; padding: 18px; border-radius: var(--radius); background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12); font-family: var(--font-mono); font-size: 0.85rem; color: #e7e8ff;
}
.masking .row { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 10px; align-items: center; }
.masking .from { opacity: 0.85; overflow-wrap: anywhere; }
.masking .to { color: #fff; background: rgba(140, 107, 255, 0.28); padding: 2px 8px; border-radius: 6px; justify-self: start; overflow-wrap: anywhere; }
.masking .i { color: #b9b4ff; }
.masking__title { font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: #b9b4ff; font-weight: 650; }

/* ── Témoignages ──────────────────────────────────────────────────────── */

.videos { display: grid; gap: 16px; }
@media (min-width: 720px) { .videos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .videos--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.video {
  position: relative; display: grid; gap: 12px; text-decoration: none; color: inherit; border-radius: var(--radius-l);
}
.video__thumb { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--mist-2); box-shadow: var(--shadow-s); }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.video:hover .video__thumb img { transform: scale(1.03); }
.video__play {
  position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px;
  border-radius: var(--pill); background: rgba(12, 16, 64, 0.82); color: #fff; font-size: 0.85rem; font-weight: 600;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.video__play .i { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: #fff; color: var(--ink); fill: var(--ink); }
.video__meta { display: grid; gap: 2px; padding-inline: 4px; }
.video__meta strong { color: var(--ink); font-size: 1rem; }
.video__meta span { color: var(--ink-3); font-size: 0.9rem; }
.quotes { display: grid; gap: 16px; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.quote { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 24px; display: grid; gap: 18px; align-content: space-between; }
.quote blockquote { margin: 0; font-size: 1.05rem; line-height: 1.55; color: var(--ink); }
.quote blockquote::before { content: "« "; color: var(--coral); font-weight: 700; }
.quote blockquote::after { content: " »"; color: var(--coral); font-weight: 700; }
.quote figcaption { display: flex; align-items: center; gap: 12px; }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption strong { display: block; color: var(--ink); font-size: 0.95rem; }
.quote figcaption span { display: block; color: var(--ink-3); font-size: 0.85rem; line-height: 1.35; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line-2); background: var(--paper); font-weight: 600; font-size: 0.9rem; color: var(--ink-2); cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ── Calculateur ──────────────────────────────────────────────────────── */

.roi { display: grid; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 900px) { .roi { grid-template-columns: 1fr 1fr; } }
.roi__inputs { padding: clamp(22px, 3vw, 34px); display: grid; gap: 26px; align-content: start; }
.roi__field { display: grid; gap: 10px; }
.roi__field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--ink); }
.roi__field output { font-family: var(--font-mono); color: var(--violet-ink); font-weight: 500; white-space: nowrap; }
.roi input[type="range"] { width: 100%; accent-color: var(--violet-600); height: 28px; }
.roi__result { padding: clamp(22px, 3vw, 34px); background: var(--ink); color: var(--night-ink); display: grid; gap: 18px; align-content: center; }
.roi__big { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: clamp(2.6rem, 2rem + 2.4vw, 3.8rem); line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.roi__big small { font-size: 0.4em; letter-spacing: 0; color: var(--night-ink); font-weight: 600; margin-left: 6px; }
.roi__rows { display: grid; gap: 8px; }
.roi__rows div { display: flex; justify-content: space-between; gap: 12px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.roi__rows b { color: #fff; font-variant-numeric: tabular-nums; }
.roi__hint { font-size: 0.82rem; color: #9fa2d6; }

/* ── Tarifs ───────────────────────────────────────────────────────────── */

.billing { display: inline-flex; padding: 4px; border-radius: var(--pill); background: var(--mist-2); border: 1px solid var(--line); gap: 2px; }
.billing button { position: relative; padding: 9px 18px; border-radius: var(--pill); border: 0; background: transparent; font-weight: 650; font-size: 0.95rem; color: var(--ink-3); cursor: pointer; }
.billing button[aria-checked="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-s); }
.billing .save { margin-left: 6px; font-size: 0.75rem; color: var(--mint-ink); font-weight: 700; }
.plans { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plans--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.plan { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); padding: clamp(22px, 3vw, 32px); display: grid; gap: 18px; align-content: start; }
.plan--featured { border: 1.5px solid rgba(108, 99, 255, 0.55); box-shadow: 0 30px 60px -36px rgba(90, 81, 240, 0.6); }
.plan__badge { position: absolute; top: -13px; left: clamp(22px, 3vw, 32px); }
.plan__name { display: flex; align-items: center; gap: 10px; }
.plan__name .i { color: var(--violet); width: 24px; height: 24px; }
.plan__price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan__amount { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: clamp(2.6rem, 2rem + 2vw, 3.4rem); line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.plan__per { color: var(--ink-3); font-weight: 600; }
.plan__sub { color: var(--ink-3); font-size: 0.92rem; min-height: 1.5em; }
.plan__list { display: grid; gap: 10px; padding: 0; margin: 0; list-style: none; }
.plan__list li { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; font-size: 0.97rem; color: var(--ink-2); }
.plan__list .i { color: var(--mint-ink); stroke-width: 2.4; margin-top: 3px; width: 1em; height: 1em; }
.plan__cta { display: grid; gap: 10px; }
.plan__cta .btn { width: 100%; }
.plan__fine { font-size: 0.82rem; color: var(--ink-3); text-align: center; }
.options { display: grid; gap: 12px; }
@media (min-width: 760px) { .options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.option { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; padding: 18px; border-radius: 18px; border: 1px solid var(--line); background: var(--paper); }
.option > img, .option > .i { grid-row: span 3; width: 46px; height: 46px; border-radius: 12px; object-fit: contain; }
.option > .i { padding: 10px; background: var(--ai); color: #fff; }
.option > img { background: #fff; border: 1px solid var(--line); padding: 4px; }
.option strong { color: var(--ink); }
.option p { font-size: 0.92rem; color: var(--ink-3); }
.option .price { font-family: var(--font-mono); font-size: 0.9rem; color: var(--ink); }

/* ── Questions fréquentes ─────────────────────────────────────────────── */

.faq { display: grid; gap: 10px; max-width: 860px; margin-inline: auto; }
.faq__item { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px; font-weight: 650; color: var(--ink); font-size: 1.04rem; border-radius: 18px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--mist-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b1250' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform 0.25s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item .faq__a { padding: 0 20px 20px; color: var(--ink-2); display: grid; gap: 10px; }
.faq__item .faq__a p { max-width: 68ch; }

/* ── Appel final ──────────────────────────────────────────────────────── */

.cta-final { position: relative; background: var(--night); color: var(--night-ink); padding-block: clamp(64px, 8vw, 104px); overflow: hidden; isolation: isolate; }
.cta-final::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(55% 80% at 50% 0%, rgba(108, 99, 255, 0.45), transparent 70%), radial-gradient(35% 60% at 90% 100%, rgba(238, 90, 151, 0.22), transparent 70%);
}
.cta-final__inner { display: grid; gap: 22px; justify-items: center; text-align: center; }
.cta-final h2 { color: #fff; max-width: 18ch; }
.cta-final p { max-width: 36em; font-size: var(--step-1); }

/* ── Pied de page ─────────────────────────────────────────────────────── */

.footer { background: var(--mist); border-top: 1px solid var(--line); color: var(--ink-3); padding-block: clamp(48px, 6vw, 72px) 28px; font-size: 0.95rem; }
.footer__top { display: grid; gap: 44px; }
@media (min-width: 980px) { .footer__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 64px; } }
.footer__brand { display: grid; gap: 18px; align-content: start; max-width: 430px; }
.footer__logo { justify-self: start; border-radius: 8px; }
.footer__logo img { width: 156px; height: auto; display: block; }
.footer__brand p { color: var(--ink-2); line-height: 1.6; }
.footer__facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 0.9rem; color: var(--ink-2); }
.footer__facts li { display: flex; align-items: center; gap: 10px; }
.footer__facts .i { width: 18px; height: 18px; color: var(--violet-ink); flex: none; }
.footer__cols { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 720px) { .footer__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.3fr); } }
.footer__cols > div { display: grid; gap: 10px; align-content: start; justify-items: start; }
.footer__contact { grid-column: 1 / -1; }
@media (min-width: 720px) { .footer__contact { grid-column: auto; } }
.footer__cols h2 { font-family: var(--font-body); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); font-weight: 650; margin-bottom: 4px; }
.footer__cols a { color: var(--ink); text-decoration: none; font-weight: 500; }
.footer__cols a:hover { color: var(--violet-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__mail { display: grid; gap: 4px; justify-items: start; }
.footer__mail a { color: var(--violet-ink); font-weight: 600; white-space: nowrap; }
.footer__copy { display: inline-flex; align-items: center; gap: 6px; padding: 2px 0; background: none; border: 0; font: inherit; font-size: 0.875rem; color: var(--ink-3); cursor: pointer; }
.footer__copy:hover { color: var(--violet-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__copy .i { width: 15px; height: 15px; }
.footer__login { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; }
.footer__login .i { width: 17px; height: 17px; }
.footer__bottom { display: grid; gap: 18px; margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 0.875rem; }
@media (min-width: 980px) { .footer__bottom { grid-template-columns: 1fr auto; align-items: center; } }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer__legal a, .footer__cookies { color: var(--ink-2); text-decoration: none; background: none; border: 0; padding: 4px 0; font: inherit; cursor: pointer; }
.footer__legal a:hover, .footer__cookies:hover, .footer__legal a[aria-current] { color: var(--violet-ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__cookies { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--violet-ink); }
.footer__meta { display: flex; align-items: center; gap: 10px 20px; flex-wrap: wrap; }
.footer__partner { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.footer__partner img { width: 80px; height: auto; }

/* ── Cookies, vidéo, message ──────────────────────────────────────────── */

.consent {
  position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 150;
  max-width: 600px; margin-inline: auto; display: grid; gap: 16px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; box-shadow: var(--shadow-l);
  font-size: 0.92rem; color: var(--ink-2); line-height: 1.55;
}
.consent[hidden] { display: none; }
.consent__title { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin-bottom: 6px; font-size: 1rem; }
.consent__title .i { width: 20px; height: 20px; color: var(--violet-ink); }
.consent__body a { color: var(--violet-ink); font-weight: 600; }
.consent__actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; }
.consent__actions .btn { flex: 1 1 140px; }
.consent__link { background: none; border: 0; padding: 8px 4px; margin-right: auto; font: inherit; font-weight: 600; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.consent__link:hover { color: var(--violet-ink); }
@media (max-width: 719px) {
  .consent__link { order: 3; flex-basis: 100%; margin: 0; padding-block: 4px; text-align: center; }
}
@media (min-width: 720px) {
  .consent { left: auto; right: 24px; margin: 0; }
  .consent__actions .btn { flex: 0 0 auto; }
}

.consent-prefs { width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius-l); background: var(--paper); color: var(--ink-2); box-shadow: var(--shadow-l); }
.consent-prefs::backdrop { background: rgba(8, 11, 48, 0.55); }
.consent-prefs__inner { display: grid; gap: 18px; padding: clamp(20px, 4vw, 30px); }
.consent-prefs__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.consent-prefs__head h2 { font-size: var(--step-2); }
.consent-prefs__close { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink); cursor: pointer; }
.consent-prefs__close:hover { border-color: var(--violet-ink); color: var(--violet-ink); }
.consent-prefs__intro { font-size: 0.95rem; line-height: 1.6; }
.consent-prefs__intro a { color: var(--violet-ink); font-weight: 600; }
.consent-prefs__list { display: grid; gap: 12px; }
.consent-cat { display: grid; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.consent-cat__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.consent-cat h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--ink); }
.consent-cat h3 label { cursor: pointer; }
.consent-cat p { font-size: 0.9rem; line-height: 1.55; }
.consent-cat__always { font-size: 0.8rem; font-weight: 650; color: var(--mint-ink); background: var(--mint-soft); padding: 4px 10px; border-radius: var(--pill); white-space: nowrap; }
.consent-prefs__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 519px) { .consent-prefs__actions .btn { flex: 1 1 100%; } }

/* Interrupteur : une vraie case à cocher (clavier, lecteurs d'écran), dessinée en bascule. */
.switch { position: relative; display: inline-flex; flex: none; width: 48px; height: 28px; }
.switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 1; }
.switch__track { width: 100%; height: 100%; border-radius: var(--pill); background: #c5c7de; transition: background 0.2s var(--ease); }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16, 16, 64, 0.3); transition: transform 0.2s var(--ease); }
.switch input:checked + .switch__track { background: var(--violet-600); }
.switch input:checked + .switch__track::after { transform: translateX(20px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--violet); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .switch__track, .switch__track::after { transition: none; } }

.lightbox { width: min(1000px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 18px; background: #000; overflow: visible; }
.lightbox::backdrop { background: rgba(8, 11, 48, 0.82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.lightbox__frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close { position: absolute; top: -48px; right: 0; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); cursor: pointer; display: grid; place-items: center; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 160;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--pill); font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow);
}

/* ── En-têtes des pages intérieures ───────────────────────────────────── */

.page-hero { position: relative; padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); isolation: isolate; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 70% at 85% 10%, rgba(108, 99, 255, 0.12), transparent 70%), radial-gradient(30% 50% at 0% 80%, rgba(237, 128, 134, 0.1), transparent 70%);
}
.page-hero__inner { display: grid; gap: 20px; max-width: 820px; justify-items: start; }
.page-hero--center .page-hero__inner { margin-inline: auto; text-align: center; justify-items: center; }
.page-hero h1 { font-size: clamp(2.3rem, 1.5rem + 3vw, 3.8rem); }
.page-hero__split { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .page-hero__split { grid-template-columns: 1.05fr 0.95fr; } }
.page-hero__split > * { min-width: 0; }
.breadcrumb { font-size: 0.85rem; color: var(--ink-3); display: flex; gap: 8px; align-items: center; }
.breadcrumb a { color: var(--ink-3); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }

/* Sommaire des fonctionnalités */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: var(--pill); background: var(--paper); border: 1px solid var(--line-2); text-decoration: none; font-weight: 600; font-size: 0.9rem; color: var(--ink-2); }
.toc a:hover { border-color: rgba(108, 99, 255, 0.55); color: var(--ink); }
.toc .i { color: var(--violet); }
.feature-block { display: grid; gap: clamp(28px, 4vw, 48px); padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--line); }
.feature-block:first-of-type { border-top: 0; }
.feature-block__head { display: grid; gap: 14px; max-width: 760px; }
.checklist { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; color: var(--ink-2); }
.checklist li > .i { color: var(--violet); width: 22px; height: 22px; margin-top: 2px; }
.checklist strong { color: var(--ink); }
.checklist--2 { gap: 14px 28px; }
@media (min-width: 860px) { .checklist--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Nouveautés : la frise */
.timeline { display: grid; gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--violet), var(--coral)); border-radius: 2px; opacity: 0.35; }
.tl-month { position: relative; padding-left: 44px; padding-bottom: 40px; display: grid; gap: 14px; }
.tl-month::before { content: ""; position: absolute; left: 4px; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--violet); }
.tl-month h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.tl-items { display: grid; gap: 10px; }
@media (max-width: 400px) { .tl-month { padding-left: 32px; } .tl-item { grid-template-columns: minmax(0, 1fr); } .tl-item > .i { grid-row: auto; } }
.tl-item { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; padding: 16px 18px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); }
.tl-item > .i { grid-row: span 2; width: 38px; height: 38px; padding: 9px; border-radius: 11px; background: var(--violet-soft); color: var(--violet-ink); }
.tl-item strong { color: var(--ink); }
.tl-item p { color: var(--ink-3); font-size: 0.95rem; }
.highlight-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .highlight-grid { grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; } .highlight-grid > :first-child { grid-row: span 2; } }

/* Institution */
.process { display: grid; gap: 12px; counter-reset: proc; padding: 0; margin: 0; list-style: none; }
.process li {
  display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 18px; row-gap: 4px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 18px 22px;
}
.process li::before {
  counter-increment: proc; content: counter(proc); grid-row: span 2; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 12px; background: var(--violet-soft); color: var(--violet-ink);
  font-weight: 700; font-family: var(--font-display); font-size: 1.1rem;
}
.process strong { color: var(--ink); font-size: 1.05rem; line-height: 1.35; padding-top: 1px; }
.process span { color: var(--ink-3); font-size: 0.97rem; line-height: 1.5; }
.letter { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; }
.letter__bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--mist); flex-wrap: wrap; }
.letter__bar span { font-size: 0.85rem; color: var(--ink-3); }
.letter__text { padding: 20px; font-size: 0.95rem; white-space: pre-line; color: var(--ink-2); line-height: 1.6; max-height: 420px; overflow-y: auto; }
.photo { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); background: var(--mist-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--tall { aspect-ratio: 4 / 5; }
.photo--wide { aspect-ratio: 16 / 10; }
.pull { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); line-height: 1.2; color: var(--ink); letter-spacing: -0.02em; }
.pull::before { content: "« "; color: var(--coral); }
.pull::after { content: " »"; color: var(--coral); }

/* Démo */
.booking { display: grid; gap: 24px; }
@media (min-width: 1000px) { .booking { grid-template-columns: 0.8fr 1.2fr; align-items: start; } }
.booking > * { min-width: 0; }
.calendly-box { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; min-height: 520px; display: grid; }
.calendly-box__fallback { display: grid; gap: 16px; place-content: center; justify-items: center; text-align: center; padding: 40px 24px; }
.calendly-box__fallback .i { width: 44px; height: 44px; color: var(--violet); }
.calendly-inline { width: 100%; min-height: 720px; }

/* 404 */
.notfound { min-height: 56vh; display: grid; place-items: center; text-align: center; }
.notfound__code { font-family: var(--font-mono); color: var(--violet-ink); font-size: 0.95rem; }

/* ── Mouvement ────────────────────────────────────────────────────────── */

.rise { animation: rise 0.7s var(--ease) both; }
.rise-2 { animation-delay: 0.08s; }
.rise-3 { animation-delay: 0.16s; }
.rise-4 { animation-delay: 0.24s; }
@keyframes rise { from { transform: translateY(12px); } to { transform: none; } }
.float { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-6px); } }

@media (max-width: 480px) {
  .btn { white-space: normal; text-align: center; line-height: 1.25; padding-block: 10px; }
  .cta-row > .btn { flex: 1 1 100%; }
  .tag { white-space: normal; }
  .billing button { padding: 8px 12px; font-size: 0.875rem; }
}

/* ── Nouvel accueil (octobre 2026) : trois héros (hv), le film, les rubriques (rb) ───────────
   Une animation par héros, sur le bilan et l'écriture ; plus bas, les vraies captures de
   l'application, dont l'élément clé se détache comme dans le film. Base = état final : sans
   script ou avec le mouvement réduit, tout est lisible tel quel. */

.hv { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px); }
.hv::before {
  content: ""; position: absolute; inset: -30% -15% -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(36% 40% at 22% 30%, rgba(108, 99, 255, 0.16), transparent 70%),
    radial-gradient(30% 38% at 80% 20%, rgba(238, 90, 151, 0.12), transparent 70%),
    radial-gradient(40% 34% at 60% 74%, rgba(140, 107, 255, 0.1), transparent 72%);
  animation: hv-drift 26s ease-in-out infinite alternate;
}
.hv::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(22, 24, 84, 0.09) 1px, transparent 1.3px); background-size: 24px 24px;
  -webkit-mask-image: radial-gradient(64% 52% at 50% 30%, #000 10%, transparent 75%);
  mask-image: radial-gradient(64% 52% at 50% 30%, #000 10%, transparent 75%);
}
@keyframes hv-drift { from { transform: translate3d(-3%, -1%, 0) scale(1); } to { transform: translate3d(3%, 2%, 0) scale(1.08); } }
.hv.hv-instant, .hv.hv-instant * { transition: none !important; }
.hv__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(44px, 5vw, 72px); align-items: center; }
@media (min-width: 1040px) { .hv__grid--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.hv__copy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; justify-items: start; }
.hv__copy--center { justify-items: center; max-width: 980px; margin-inline: auto; text-align: center; }
.hv__title {
  margin: 0; max-width: 15ch; text-wrap: balance;
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: clamp(2.45rem, 1.25rem + 4.6vw, 5.4rem); line-height: 1.02; letter-spacing: -0.045em;
}
.hv__lead { margin: 0; max-width: 32em; font-size: clamp(1.1rem, 0.98rem + 0.5vw, 1.32rem); line-height: 1.55; color: var(--ink-2); }
.hv__note { margin: -6px 0 0; font-size: 0.92rem; color: var(--ink-3); }
.hv__visual { position: relative; min-width: 0; }
.hv--feuille .hv__visual, .hv--mots .hv__visual { margin-top: clamp(48px, 6vw, 80px); }
.hv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 640px) {
  .hv__copy--center { justify-items: start; text-align: left; }
  .hv .cta-row--center { justify-content: flex-start; }
}
/* Le texte qui s'écrit occupe déjà sa place (un fantôme invisible) : rien ne bouge autour. */
.hv-typed { position: relative; display: block; }
.hv-typed__ghost { visibility: hidden; }
.hv-typed__live { position: absolute; inset: 0; }
.hv-status {
  display: inline-grid; padding: 5px 12px; border-radius: var(--pill); background: var(--violet-soft); color: var(--violet-ink);
  font-size: 0.8rem; font-weight: 650; transition: background-color 0.4s, color 0.4s, opacity 0.4s;
}
.hv-status > span { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 6px; transition: opacity 0.35s; }
.hv-status .i { width: 1.05em; height: 1.05em; }
.hv-status__busy { opacity: 0; }
.hv-status.is-busy { background: var(--ai); color: #fff; }
.hv-status.is-busy .hv-status__busy { opacity: 1; }
.hv-status.is-busy .hv-status__done { opacity: 0; }

/* 2 · La feuille : la trame qui se coche, puis devient le compte rendu */
.hv--feuille .hv__copy--center { max-width: 1140px; }
.hv--feuille .hv__title { max-width: none; font-size: clamp(2.3rem, 0.9rem + 3.9vw, 4.15rem); }
.hv-paper-stage { position: relative; max-width: 640px; margin-inline: auto; }
.hv-ghost { position: absolute; inset: 5% 3% -2%; z-index: 0; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.hv-ghost--l { opacity: 0.7; transform: rotate(-5deg) translateX(-8%); }
.hv-ghost--r { opacity: 0.7; transform: rotate(4deg) translateX(8%); }
.hv-paper {
  position: relative; z-index: 1; display: grid; gap: 18px; padding: clamp(24px, 3.4vw, 40px) clamp(22px, 3.6vw, 44px);
  border-radius: 14px; background: #fff; text-align: left;
  box-shadow: 0 1px 2px rgba(16, 16, 64, 0.08), 0 44px 80px -40px rgba(30, 30, 100, 0.5);
}
.hv-paper__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding-bottom: 14px; border-bottom: 1px solid #eceef5; }
.hv-kinds { display: inline-grid; }
.hv-kind {
  grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: var(--pill);
  font-size: 0.86rem; font-weight: 650; white-space: nowrap; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
.hv-kind .i { width: 1.1em; height: 1.1em; }
.hv-kind--trame { background: var(--mint-soft); color: var(--mint-ink); }
.hv-kind--cr { background: var(--violet-soft); color: var(--violet-ink); }
.hv-paper:not(.is-form) .hv-kind--trame { opacity: 0; transform: translateY(-6px); }
.hv-paper.is-form .hv-kind--cr { opacity: 0; transform: translateY(6px); }
.hv-paper__who { font-size: 0.9rem; font-weight: 650; color: var(--ink-3); }
.hv-block { display: grid; grid-template-columns: minmax(0, 1fr); }
.hv-block > * { grid-area: 1 / 1; transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), filter 0.45s var(--ease); }
.hv-block__q { margin: 0 0 10px; font-size: 0.95rem; font-weight: 650; color: var(--ink); }
.hv-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.hv-opt {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 11px;
  border: 1px solid var(--line-2); background: var(--paper); color: var(--ink-2); font-size: 0.92rem; font-weight: 550;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.hv-opt::before { content: ""; flex: none; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid var(--line-2); background: var(--paper); }
.hv-opt.is-on { background: var(--violet-soft); border-color: rgba(108, 99, 255, 0.6); color: var(--violet-ink); }
.hv-opt.is-on::before {
  border-color: var(--violet); animation: hv-pop 0.35s var(--ease);
  background: var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5l10 -10'/%3E%3C/svg%3E") center / 10px no-repeat;
}
@keyframes hv-pop { 0% { transform: scale(0.4); } 70% { transform: scale(1.18); } 100% { transform: none; } }
.hv-block__prose { margin: 0; font-family: var(--font-doc); font-size: 1.02rem; line-height: 1.65; color: #1f2230; }
.hv-block__form { max-height: 180px; overflow: hidden; }
.hv-block > .hv-block__form { transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), filter 0.4s var(--ease), max-height 0.6s var(--ease) 0.1s; }
.hv-block:not(.is-form) .hv-block__form { max-height: 0; opacity: 0; transform: translateY(-8px); filter: blur(2px); }
.hv-block.is-form .hv-block__prose { opacity: 0; transform: translateY(8px); }
.hv-paper__foot { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 20px; padding-top: 16px; border-top: 1px solid #eceef5; }
.hv-sign { display: grid; gap: 4px; font-size: 0.88rem; color: #4a4d63; }
.hv-sign__ink { width: 150px; height: auto; }
.hv-sign__ink path { fill: none; stroke: #2a2a72; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.hv.is-playing [data-hv-sign]:not(.is-on) .hv-sign__ink path { stroke-dashoffset: 1; }
[data-hv-sign].is-on .hv-sign__ink path { animation: hv-ink 1.5s cubic-bezier(0.45, 0, 0.3, 1) both; }
@keyframes hv-ink { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hv-stamp {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: var(--pill);
  background: var(--ink); color: #fff; font-size: 0.86rem; font-weight: 650; transition: opacity 0.4s, transform 0.5s var(--ease);
}
.hv-stamp .i { width: 1.1em; height: 1.1em; }
.hv.is-playing .hv-stamp:not(.is-on) { opacity: 0; transform: scale(0.8) rotate(-6deg); }

/* Le haut des héros : un badge vivant, le titre qui se révèle mot à mot, un trait d'encre sous le
   mot clé, l'appel lumineux, les visages et le film. Tout est en CSS : sans script, le même
   enchaînement se joue ; avec le mouvement réduit, tout est posé d'emblée. */
.hv__spot {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 0.6s;
  background: radial-gradient(560px circle at var(--mx, 50%) var(--my, 30%), rgba(108, 99, 255, 0.11), transparent 62%);
}
.hv.has-spot .hv__spot { opacity: 1; }
.hv-in { animation: hv-in 0.9s var(--ease) var(--d, 0s) both; }
@keyframes hv-in { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@property --hv-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.hv-badge {
  position: relative; display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 8px 18px 8px 14px;
  border-radius: var(--pill); background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 12px 30px -18px rgba(60, 50, 160, 0.55); font-size: 0.9rem; font-weight: 650; line-height: 1.3; color: var(--ink);
}
.hv-badge::before {
  content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--hv-a), rgba(108, 99, 255, 0.2) 0deg, rgba(108, 99, 255, 0.2) 190deg, #8c6bff 270deg, #ee5a97 320deg, rgba(108, 99, 255, 0.2) 360deg);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: hv-beam 4.5s linear infinite;
}
@keyframes hv-beam { to { --hv-a: 360deg; } }
.hv-badge__dot { position: relative; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--ai); }
.hv-badge__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(140, 107, 255, 0.45); animation: hm-ring 2.4s ease-out infinite; }
@keyframes hm-ring { from { opacity: 1; transform: scale(0.85); } to { opacity: 0; transform: scale(1.45); } }
/* Chaque mot monte de sous sa ligne ; le dégradé de l'IA court d'un mot à l'autre (--k sur --n). */
.hv-w { display: inline-block; clip-path: inset(-0.14em -0.1em -0.22em -0.1em); }
.hv-w > span { display: inline-block; animation: hv-word 1.05s cubic-bezier(0.2, 0.75, 0.15, 1) both; animation-delay: calc(0.12s + var(--i, 0) * 0.075s); }
@keyframes hv-word { from { transform: translateY(112%) rotate(3deg); filter: blur(5px); } to { transform: none; filter: none; } }
.hv-w .ai-text { background-size: calc(var(--n, 1) * 100%) 100%; background-position: calc(var(--k, 0) / max(var(--n, 1) - 1, 1) * 100%) 0; }
.hv-br { display: block; }
.hv-mark { position: relative; display: inline-block; }
.hv-ink { position: absolute; left: -4%; bottom: -0.2em; width: 108%; height: 0.34em; overflow: visible; pointer-events: none; }
.hv-ink path {
  fill: none; stroke: url(#hv-ink-g); stroke-width: 4.5; stroke-linecap: round;
  stroke-dasharray: 1; stroke-dashoffset: 0; animation: hv-ink-draw 0.95s cubic-bezier(0.6, 0, 0.3, 1) 1s both;
}
@keyframes hv-ink-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
/* « Le compte rendu fait partie du soin. Vos soirées, non. » : une phrase plus longue que l'ancien
   titre, donc un corps plus petit. Le dégradé est réservé à l'IA : ici, le trait est corail, plein. */
.hv--feuille .hv__title--soin { max-width: 20ch; font-size: clamp(2.1rem, 0.85rem + 3.4vw, 3.9rem); }
.hv-mark--warm .hv-ink path { stroke: var(--coral); }
/* Une option dictée : le micro, puis les mots tels qu'ils ont été dits, qui deviennent la phrase. */
.hv-dict {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: 11px;
  border: 1px dashed var(--line-2); background: var(--paper); color: var(--ink-3); font-size: 0.92rem; font-weight: 550;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.hv-dict .i { width: 1.05em; height: 1.05em; flex: none; }
.hv-dict__label { font-weight: 650; }
.hv-dict__words { font-style: italic; clip-path: inset(0 100% 0 0); transition: clip-path 1.1s linear 0.15s; }
.hv-dict.is-on { background: var(--violet-soft); border-style: solid; border-color: rgba(108, 99, 255, 0.6); color: var(--violet-ink); }
.hv-dict.is-on .i { animation: hv-listen 1.1s ease-in-out 2; }
.hv-dict.is-on .hv-dict__words { clip-path: inset(0 0 0 0); }
@keyframes hv-listen { 50% { transform: scale(1.22); } }
/* Le drapeau est dessiné : les drapeaux emoji ne s'affichent pas sous Windows (« FR » en lettres). */
.flag-fr { flex: none; width: 1.35em; height: 0.9em; border-radius: 2px; box-shadow: 0 0 0 1px rgba(20, 20, 80, 0.14); }
.btn--glow {
  position: relative; isolation: isolate; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 16px 34px -14px rgba(90, 81, 240, 0.95), 0 0 0 5px rgba(108, 99, 255, 0.12);
}
.btn--glow::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.34) 50%, transparent 68%);
  transform: translateX(-130%); animation: btn-sheen 6s ease-in-out 2.6s infinite;
}
@keyframes btn-sheen { 0% { transform: translateX(-130%); } 20%, 100% { transform: translateX(130%); } }
.hv-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.hv__copy--center .hv-proof { justify-content: center; }
.hv-faces { display: flex; flex: none; }
.hv-faces img {
  width: 38px; height: 38px; margin-left: -10px; border-radius: 50%; object-fit: cover;
  border: 2.5px solid #fff; box-shadow: 0 6px 14px -8px rgba(30, 30, 100, 0.6);
}
.hv-faces img:first-child { margin-left: 0; }
.hv-proof__text { font-size: 0.92rem; line-height: 1.45; color: var(--ink-3); text-align: left; }
.hv-proof__text strong { color: var(--ink); font-weight: 650; }
.hv-trust {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px;
  margin: clamp(44px, 5vw, 64px) 0 0; padding: 0; list-style: none;
}
.hv-trust li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 550; color: var(--ink-2); }
.hv-trust .i { width: 1.25em; height: 1.25em; color: var(--violet); }
.hv__grid > .hv-trust { grid-column: 1 / -1; margin-top: 0; }
/* L'illustration arrive en volume, comme les fenêtres du film. */
.hv__visual { animation: hv-stage 1.2s cubic-bezier(0.2, 0.75, 0.15, 1) 0.4s both; transform-origin: 50% 0; }
.hv--neurones .hv__visual { animation-name: hv-stage-side; transform-origin: 0 50%; }
@keyframes hv-stage { from { opacity: 0; transform: perspective(1600px) rotateX(16deg) translateY(44px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes hv-stage-side { from { opacity: 0; transform: perspective(1600px) rotateY(-14deg) translateX(36px) scale(0.97); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .hv-proof { gap: 12px 16px; }
  .hv__copy--center .hv-proof { justify-content: flex-start; }
  .hv-trust { justify-content: flex-start; gap: 10px 22px; }
  .hv-trust li { font-size: 0.9rem; }
}

/* Le film, juste sous le héros : une vitre, l'image du film, ses chapitres. En arrivant, il se
   redresse comme les fenêtres du film (--p, posé au défilement) ; sans script, il est droit. */
.film { position: relative; isolation: isolate; padding-block: clamp(16px, 3vw, 40px) clamp(72px, 9vw, 120px); }
.film::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 46% at 50% 62%, rgba(140, 107, 255, 0.13), transparent 72%), linear-gradient(180deg, #fff 0%, var(--mist) 42%, var(--mist) 100%);
}
.film__head { display: grid; justify-items: center; gap: 16px; max-width: 760px; margin: 0 auto clamp(28px, 4vw, 48px); text-align: center; }
.film__head .lead { max-width: 640px; }
.motion .film__head { transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.motion .film__head:not(.is-live) { opacity: 0; transform: translateY(18px); }
.film__stage {
  --p: 1;
  position: relative; max-width: 1120px; margin-inline: auto; padding: clamp(5px, 0.8vw, 11px);
  border-radius: clamp(18px, 2.4vw, 32px); background: rgba(255, 255, 255, 0.62); border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 1px rgba(22, 24, 84, 0.07), 0 70px 120px -60px rgba(60, 50, 160, 0.6), 0 26px 50px -34px rgba(30, 30, 100, 0.45);
  transform: perspective(2200px) rotateX(calc((1 - var(--p)) * 24deg)) scale(calc(0.88 + var(--p) * 0.12));
  transform-origin: 50% 0%; will-change: transform;
}
.film__stage::before { content: ""; position: absolute; inset: 10% 6% -8%; z-index: -1; border-radius: 50%; background: var(--ai); opacity: 0.2; filter: blur(80px); pointer-events: none; }
.film.is-playing .film__stage { transform: none; transition: transform 0.6s var(--ease); }
.film__screen { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(13px, 1.8vw, 22px); background: #f3f2fb; }
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; background: #f3f2fb; }
.film__play {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; transition: opacity 0.35s;
}
.film__play::before { content: ""; position: absolute; inset: 0; background: radial-gradient(42% 52% at 50% 52%, rgba(11, 18, 80, 0.18), transparent 72%); }
.film__btn {
  position: relative; display: grid; place-items: center; width: clamp(64px, 8vw, 100px); aspect-ratio: 1; border-radius: 50%;
  background: rgba(12, 16, 64, 0.84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: 0 26px 50px -16px rgba(11, 18, 80, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: transform 0.35s var(--ease), background-color 0.3s;
}
.film__btn svg { width: 38%; height: 38%; margin-left: 7%; fill: #fff; }
.film__btn::before, .film__btn::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.75); animation: hm-ring 2.6s ease-out infinite; }
.film__btn::after { animation-delay: 1.3s; }
.film__label {
  position: relative; display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 16px; border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.92); box-shadow: 0 10px 26px -14px rgba(11, 18, 80, 0.55); font-size: 0.98rem; white-space: nowrap;
}
.film__label strong { color: var(--ink); }
.film__label span { color: var(--ink-3); font-size: 0.86rem; }
.film__play:hover .film__btn { transform: scale(1.07); background: var(--violet-600); }
.film__play:focus-visible { outline: none; }
.film__play:focus-visible .film__btn { outline: 3px solid #fff; outline-offset: 4px; }
.film.is-playing .film__play { opacity: 0; pointer-events: none; }
.film__chapters { max-width: 1120px; margin: clamp(16px, 2vw, 22px) auto 0; }
.film__chapters ol { display: flex; gap: 8px; margin: 0; padding: 4px 2px 10px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.film__chapters ol::-webkit-scrollbar { display: none; }
.film__chapters li { flex: none; scroll-snap-align: start; }
.film__chapters li:first-child { margin-left: auto; }
.film__chapters li:last-child { margin-right: auto; }
.film__chapters button {
  position: relative; display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.78);
  color: var(--ink-2); font-size: 0.92rem; font-weight: 600; white-space: nowrap; cursor: pointer;
  transition: background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--ease);
}
.film__chapters button:hover { border-color: rgba(108, 99, 255, 0.45); color: var(--ink); transform: translateY(-1px); }
.film__chapters button i { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--ai); transform: scaleX(var(--cp, 0)); transform-origin: left; }
.film__chapters button.is-current { background: #fff; border-color: rgba(108, 99, 255, 0.55); color: var(--violet-ink); box-shadow: var(--shadow-s); }
.film__t { font-family: var(--font-mono); font-size: 0.76rem; font-weight: 500; color: var(--ink-3); }
/* Treize chapitres : sur deux lignes (7 + 6) là où elles tiennent, sinon la bande qui défile. */
@media (min-width: 1200px) {
  .film__chapters ol { flex-wrap: wrap; justify-content: center; overflow: visible; padding: 0; }
  .film__chapters li:first-child, .film__chapters li:last-child { margin: 0; }
  .film__chapters button { padding: 11px 14px; }
}
@media (max-width: 640px) {
  .film__label span { display: none; }
  .film__chapters ol { margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); }
}
.lightbox__frame video { display: block; width: 100%; height: 100%; background: #f3f2fb; }

/* Les captures de l'application : la fenêtre arrive, puis l'élément clé s'en détache, comme
   dans le film. Sans script, c'est une capture fixe ; mouvement réduit = l'état final. */
.shot { position: relative; min-width: 0; margin: 0; }
.shot__win {
  position: relative; border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(22, 24, 84, 0.08), 0 50px 90px -46px rgba(30, 30, 100, 0.55), 0 18px 36px -26px rgba(30, 30, 100, 0.32);
  transform-origin: 50% 100%; transition: opacity 0.8s var(--ease), transform 1.1s cubic-bezier(0.2, 0.75, 0.15, 1);
}
.motion .shot:not(.is-live) .shot__win { opacity: 0; transform: perspective(1600px) rotateX(14deg) translateY(36px) scale(0.97); }
.shot__bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid #ecedf4; border-radius: 14px 14px 0 0; background: linear-gradient(#fdfdff, #f6f6fb); }
.shot__bar i { flex: none; width: 9px; height: 9px; border-radius: 50%; background: #f3a6a0; }
.shot__bar i:nth-child(2) { background: #f4d28a; }
.shot__bar i:nth-child(3) { background: #a7dcb5; }
.shot__bar span { margin: 0 auto; padding: 3px 14px; border-radius: 7px; background: #eff0f6; font-size: 0.7rem; font-weight: 600; line-height: 1.4; color: var(--ink-3); transform: translateX(-20px); }
.shot__screen { position: relative; border-radius: 0 0 14px 14px; }
.shot__img { width: 100%; border-radius: 0 0 14px 14px; }
.shot__screen::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: rgba(38, 34, 108, 0.26); opacity: 0; transition: opacity 0.9s var(--ease) 0.45s;
}
.shot__cut {
  position: absolute; z-index: 2; left: var(--l); top: var(--t); width: var(--w); border-radius: 7px;
  transform-origin: var(--o, 50% 50%); transition: transform 1.05s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s, box-shadow 1.05s ease 0.5s;
}
.shot__cut img { width: 100%; border-radius: 7px; }
.shot.is-live .shot__screen::after { opacity: 1; }
.shot.is-live .shot__cut { transform: var(--lift); box-shadow: 0 0 0 1px rgba(22, 24, 84, 0.1), 0 34px 60px -22px rgba(30, 30, 100, 0.6); }
.shot--ai.is-live .shot__cut { box-shadow: 0 0 0 1.5px rgba(140, 107, 255, 0.75), 0 0 0 6px rgba(140, 107, 255, 0.15), 0 34px 60px -22px rgba(90, 60, 200, 0.6); }
.shot.is-live.is-visible .shot__cut { animation: shot-float 4.8s ease-in-out 1.7s infinite alternate; }
@keyframes shot-float { from { translate: 0 0; } to { translate: 0 -7px; } }
@media (max-width: 640px) {
  .shot.is-live .shot__cut { transform: translateY(-8%) scale(1.05); }
  .shot__bar { height: 24px; }
  .shot__bar span { display: none; }
}

/* « Comment ça marche » : trois bénéfices en ligne, la capture en grand dessous ; le temps en cours
   avance seul (pause au survol ou au clavier). */
.tour { display: grid; gap: clamp(24px, 3vw, 40px); }
.tour__steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .tour__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tour__step { position: relative; border-radius: 18px; border: 1px solid transparent; transition: background-color 0.35s, border-color 0.35s, box-shadow 0.35s; }
.tour__step:hover { background: rgba(255, 255, 255, 0.6); }
.tour__step.is-current { background: #fff; border-color: var(--line); box-shadow: var(--shadow-s); }
.tour__tab {
  display: flex; align-items: flex-start; gap: 14px; width: 100%; padding: 18px 20px 20px; border: 0; border-radius: inherit;
  background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.tour__num {
  display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 11px;
  background: var(--violet-soft); color: var(--violet-ink); font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  transition: background-color 0.35s, color 0.35s;
}
.tour__step.is-current .tour__num { background: var(--violet-600); color: #fff; }
.tour__label { display: grid; gap: 3px; min-width: 0; padding-top: 2px; }
.tour__label strong { font-size: 1.08rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.tour__label span { font-size: 0.95rem; line-height: 1.45; color: var(--ink-3); }
.tour__bar { position: absolute; left: 20px; right: 20px; bottom: 0; height: 2px; overflow: hidden; border-radius: 2px; opacity: 0; transition: opacity 0.3s; }
.tour__bar::after { content: ""; position: absolute; inset: 0; background: var(--ai); transform: scaleX(0); transform-origin: left; }
.tour.is-auto .tour__step.is-current .tour__bar { opacity: 1; }
.tour.is-auto .tour__step.is-current .tour__bar.is-run::after { animation: tour-fill 6.5s linear forwards; }
.tour.is-paused .tour__bar::after { animation-play-state: paused !important; }
@keyframes tour-fill { to { transform: scaleX(1); } }
.tour__stage { display: grid; align-items: center; width: 100%; max-width: 1000px; margin-inline: auto; }
.tour__panel { grid-area: 1 / 1; min-width: 0; transition: opacity 0.55s var(--ease), transform 0.65s var(--ease), visibility 0s linear 0.65s; }
.tour__panel:not(.is-current) { opacity: 0; visibility: hidden; transform: translateY(16px) scale(0.98); }
.tour__panel.is-current { transition-delay: 0.08s, 0.08s, 0s; }
.tour__panel .shot { width: min(100%, calc(520px * var(--ar))); margin-inline: auto; }
@media (max-width: 899px) { .tour__stage { order: -1; } }
@media (max-width: 640px) {
  .tour__tab { padding: 14px 16px 16px; }
  .tour__bar { left: 16px; right: 16px; }
}

/* Les rubriques : texte d'un côté, capture de l'autre, et le passage du film qui en parle. */
.rb-split { align-items: center; }
@media (min-width: 960px) {
  .rb-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .rb-split.split--reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
.rb-wide { max-width: 1000px; margin: 0 auto clamp(40px, 5vw, 64px); }
.rb-tall { width: 100%; max-width: 560px; justify-self: center; }
.rb-acts { margin-top: clamp(44px, 5vw, 72px); }
.rb-tile--new strong { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rb-powers { max-width: 1000px; margin-inline: auto; }
.rb-cta { margin-top: clamp(28px, 4vw, 40px); gap: 14px 20px; }
.rb-cue { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.rb-cue--center { justify-content: center; margin-top: clamp(28px, 4vw, 44px); }
.rb-ways { display: grid; gap: 22px; margin: 0; padding: 0; list-style: none; }
.rb-ways li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; }
.rb-ways h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1.12rem; }
.rb-ways p { margin-top: 4px; color: var(--ink-2); }
.rb-trust { margin-top: clamp(36px, 5vw, 56px); }
.rb-quotes { margin-top: 16px; }
.rb-more { margin-top: 24px; }
.film-cue {
  display: inline-flex; align-items: center; gap: 9px; padding: 6px 15px 6px 6px; border-radius: var(--pill);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s); color: var(--ink);
  font-size: 0.92rem; font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: transform 0.25s var(--ease), border-color 0.25s, box-shadow 0.25s;
}
.film-cue:hover { color: var(--ink); transform: translateY(-1px); border-color: rgba(108, 99, 255, 0.45); box-shadow: var(--shadow); }
.film-cue .i { width: 28px; height: 28px; padding: 7px 6px 7px 8px; border-radius: 50%; background: var(--ink); color: #fff; fill: currentColor; }
.film-cue span { font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500; color: var(--ink-3); }
.film-cue--light { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); box-shadow: none; color: #fff; }
.film-cue--light:hover { color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.film-cue--light .i { background: #fff; color: var(--ink); }
.film-cue--light span { color: var(--night-ink); }
.motion .rb-pop .tag { transition: opacity 0.5s var(--ease), transform 0.5s var(--ease); }
.motion [data-reveal]:not(.is-live) .rb-pop .tag { opacity: 0; transform: translateY(10px); }
.rb-pop .tag:nth-child(2) { transition-delay: 0.06s; }
.rb-pop .tag:nth-child(3) { transition-delay: 0.12s; }
.rb-pop .tag:nth-child(4) { transition-delay: 0.18s; }
.rb-pop .tag:nth-child(5) { transition-delay: 0.24s; }
.rb-pop .tag:nth-child(6) { transition-delay: 0.3s; }
.rb-pop .tag:nth-child(7) { transition-delay: 0.36s; }
.rb-pop .tag:nth-child(8) { transition-delay: 0.42s; }
.hv-trust a { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none; }
.hv-trust a:hover { color: var(--violet-ink); text-decoration: underline; text-underline-offset: 4px; }
/* Le partenariat Pearson : une ligne de confiance, qui mène à la page des tests. */
.rb-pearson-band { padding-block: clamp(36px, 5vw, 60px); }
.rb-pearson {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; max-width: 920px; margin-inline: auto; padding: 18px 26px;
  border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-s);
  color: inherit; text-decoration: none; transition: transform 0.3s var(--ease), box-shadow 0.3s, border-color 0.3s;
}
.rb-pearson:hover { color: inherit; transform: translateY(-2px); border-color: rgba(108, 99, 255, 0.4); box-shadow: var(--shadow); }
.rb-pearson img { flex: none; width: 118px; height: auto; }
.rb-pearson__text { display: grid; flex: 1 1 280px; gap: 2px; }
.rb-pearson__text strong { color: var(--ink); font-size: 1.06rem; }
.rb-pearson__text span { color: var(--ink-3); font-size: 0.95rem; }
.rb-pearson__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--violet-ink); }
.rb-pearson__go .i { transition: transform 0.25s var(--ease); }
.rb-pearson:hover .rb-pearson__go .i { transform: translateX(3px); }
/* Les tarifs : la formule en grand, les options et les avantages à côté. */
#tarifs .section-head { margin-bottom: clamp(28px, 4vw, 44px); }
#tarifs .billing { margin-top: 6px; }
.rb-price { display: grid; gap: 20px; align-items: start; max-width: 1080px; margin-inline: auto; }
@media (min-width: 960px) { .rb-price { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 28px; } }
.rb-price__main { padding-top: clamp(28px, 3.4vw, 38px); }
.rb-price__main .plan__price { flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.rb-price__was { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; color: var(--ink-3); text-decoration: line-through 2px rgba(238, 90, 151, 0.85); }
.rb-price__was:empty { display: none; }
.rb-price__main .plan__sub { color: var(--ink-2); }
.rb-price__side { display: grid; gap: 12px; }
.rb-price__kicker { margin: 2px 0; font-size: 0.78rem; font-weight: 650; letter-spacing: 0.11em; text-transform: uppercase; color: var(--violet-ink); }
.rb-price__side .option { background: #fff; }
.rb-perk {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: 16px 18px;
  border-radius: 18px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); text-decoration: none;
}
.rb-perk p { font-size: 0.95rem; line-height: 1.5; }
.rb-perk strong { color: var(--ink); }
.rb-perk--link { grid-template-columns: auto minmax(0, 1fr) auto; transition: border-color 0.25s, box-shadow 0.25s; }
.rb-perk--link:hover { color: var(--ink-2); border-color: rgba(108, 99, 255, 0.45); box-shadow: var(--shadow-s); }
.rb-perk--link > .i { color: var(--violet-ink); }
.rb-price__proof { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 16px; margin-top: clamp(28px, 4vw, 40px); text-align: center; color: var(--ink-3); }
.rb-price__proof strong { color: var(--ink); }
/* Le masquage de l'identité se joue sous les yeux : chaque donnée devient son marqueur. */
.is-live .hm-mask .row .to { animation: hm-mask 0.7s var(--ease) both; }
.is-live .hm-mask .row:nth-of-type(2) .to { animation-delay: 0.35s; }
.is-live .hm-mask .row:nth-of-type(3) .to { animation-delay: 0.7s; }
.is-live .hm-mask .row:nth-of-type(4) .to { animation-delay: 1.05s; }
.is-live .hm-mask .row:nth-of-type(5) .to { animation-delay: 1.4s; }
@keyframes hm-mask { from { opacity: 0; transform: translateX(-10px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hv-sign__ink path { stroke-dashoffset: 0; }
}

/* Version d'aperçu (dist-artifact) : signalée comme telle, pour ne jamais passer pour le site en ligne. */
.preview-ribbon {
  position: fixed; left: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); z-index: 140;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: var(--pill);
  background: var(--butter-soft); color: var(--butter-ink); border: 1px solid #f0d79a;
  font-size: 0.8rem; font-weight: 650; box-shadow: var(--shadow-s);
}

/* ── MABC-3 : les tableaux d'exemple de /pearson ──────────────────────── */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mabc-scroll { overflow-x: auto; margin-inline: -4px; padding-inline: 4px; }
.mabc-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; min-width: 440px; }
.mabc-table th, .mabc-table td { padding: 10px 10px; border-bottom: 1px solid var(--line); text-align: center; font-variant-numeric: tabular-nums; }
.mabc-table thead th { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.02em; color: var(--ink-3); line-height: 1.25; vertical-align: bottom; }
.mabc-table thead th:first-child, .mabc-table tbody th { text-align: left; }
.mabc-table tbody th { font-weight: 600; color: var(--ink); }
.mabc-table tbody td { color: var(--ink-2); font-family: var(--font-mono); font-size: 0.9rem; white-space: nowrap; }
.mabc-table tbody tr:last-child > * { border-bottom: 0; }
.mabc-table tr.is-low td:nth-child(3) { color: var(--coral-ink); font-weight: 500; }
.mabc-table tr.is-total > * { background: var(--mist); }
.mabc-table tr.is-total th { border-radius: 10px 0 0 10px; }
.mabc-table tr.is-total td:last-child { border-radius: 0 10px 10px 0; }
.mabc-table--zones td.z-red, .mabc-table--zones th.z-red { background: var(--coral-soft); }
.mabc-table--zones td.z-orange, .mabc-table--zones th.z-orange { background: var(--butter-soft); }
.mabc-table--zones td.z-green, .mabc-table--zones th.z-green { background: var(--mint-soft); }
.mabc-table--zones th.z-red { color: var(--coral-ink); border-radius: 10px 0 0 0; }
.mabc-table--zones th.z-orange { color: var(--butter-ink); }
.mabc-table--zones th.z-green { color: var(--mint-ink); border-radius: 0 10px 0 0; }
.mabc-table--zones td.z-red, .mabc-table--zones td.z-orange, .mabc-table--zones td.z-green { width: 17%; border-bottom-color: rgba(255, 255, 255, 0.7); }
.mabc-table--zones td.is-on .i { width: 20px; height: 20px; stroke-width: 2.8; vertical-align: middle; }
.mabc-table--zones td.z-orange.is-on { color: var(--butter-ink); }
.mabc-table--zones td.z-green.is-on { color: var(--mint-ink); }
.mabc-card__foot { font-size: 0.85rem; color: var(--ink-3); }
/* Sur téléphone, les cinq colonnes tiennent sans défilement : rien de caché à droite. */
@media (max-width: 560px) {
  .mabc-card { padding: 16px 14px; }
  .mabc-table { min-width: 0; font-size: 0.8rem; }
  .mabc-table th, .mabc-table td { padding: 8px 4px; }
  .mabc-table thead th { font-size: 0.68rem; }
  .mabc-table tbody td { font-size: 0.8rem; }
  .mabc-table tbody th { font-size: 0.8rem; line-height: 1.3; }
  .mabc-table td:last-child { white-space: normal; }
  .mabc-table--zones td.is-on .i { width: 16px; height: 16px; }
}

/* ── Pages légales ────────────────────────────────────────────────────── */
/* Une colonne de lecture (~70 caractères), et à côté, les autres textes et le sommaire. */

.page-hero--legal { padding-block: clamp(40px, 6vw, 72px) clamp(24px, 3vw, 36px); }
.page-hero--legal h1 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }
.legal { padding-block: 8px clamp(64px, 8vw, 112px); }
.legal__grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr); }
.legal__grid > * { min-width: 0; }
@media (min-width: 980px) { .legal__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; } }
.legal__aside { display: grid; gap: 16px; align-content: start; }
@media (min-width: 980px) { .legal__aside { position: sticky; top: calc(var(--nav-h) + 24px); max-height: calc(100dvh - var(--nav-h) - 48px); overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; } }
.legal__nav { display: grid; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.legal__nav-title { font-size: 0.75rem; font-weight: 650; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-3); padding: 4px 10px 8px; }
.legal__nav a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.legal__nav a .i { width: 18px; height: 18px; color: var(--ink-3); flex: none; }
.legal__nav a:hover { background: var(--mist); color: var(--ink); }
.legal__nav a[aria-current] { background: var(--violet-soft); color: var(--violet-ink); font-weight: 650; }
.legal__nav a[aria-current] .i { color: var(--violet-ink); }
@media (max-width: 979px) {
  .legal__nav { display: flex; gap: 6px; overflow-x: auto; padding: 6px; scrollbar-width: none; }
  .legal__nav::-webkit-scrollbar { display: none; }
  .legal__nav-title { display: none; }
  .legal__nav a { white-space: nowrap; flex: none; }
}
.legal__toc { border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); }
.legal__toc summary { padding: 12px 16px; font-weight: 650; color: var(--ink); cursor: pointer; }
.legal__toc ol { list-style: none; margin: 0; padding: 0 8px 12px; display: grid; gap: 1px; }
.legal__toc a { display: block; padding: 6px 8px; border-radius: 8px; color: var(--ink-2); text-decoration: none; font-size: 0.88rem; line-height: 1.4; }
.legal__toc a:hover { background: var(--paper); color: var(--violet-ink); }
.legal__toc a[aria-current="true"] { background: var(--paper); color: var(--violet-ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--violet); }

.legal__doc { max-width: 72ch; font-size: 1.0625rem; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.legal__doc > * + * { margin-top: 1em; }
.legal__doc h2 { font-size: var(--step-2); color: var(--ink); margin-top: 2.2em; scroll-margin-top: calc(var(--nav-h) + 24px); line-height: 1.25; }
.legal__doc h3 { font-family: var(--font-body); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-top: 1.8em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal__doc > h2:first-child, .legal__doc > h3:first-child { margin-top: 0; }
.legal__doc strong { color: var(--ink); }
.legal__doc a { color: var(--violet-ink); text-underline-offset: 3px; }
.legal__doc ul, .legal__doc ol { padding-left: 1.3em; display: grid; gap: 0.5em; }
.legal__doc li::marker { color: var(--violet); }
.legal__doc code { font-family: var(--font-mono); font-size: 0.85em; background: var(--mist-2); padding: 1px 6px; border-radius: 6px; color: var(--ink); white-space: nowrap; }
.legal__updated { font-size: 0.92rem; color: var(--ink-3); }
.legal__choices { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 20px 22px; border-radius: var(--radius); background: var(--violet-soft); border: 1px solid var(--violet-150); margin-block: 1.6em; }
.legal__choices h2 { margin: 0 0 4px; font-size: 1.15rem; }
.legal__choices p { margin: 0; }
.legal__choices .btn .i { width: 18px; height: 18px; }
.legal__table { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.legal__table:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }
.legal__table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 0.92rem; line-height: 1.5; }
.legal__table th, .legal__table td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal__table th { background: var(--mist); color: var(--ink); font-weight: 650; font-size: 0.82rem; }
.legal__table tr:last-child td { border-bottom: 0; }
.legal__table code { white-space: normal; }

/* ── /pearson : la barre « Sur cette page », collée sous l'en-tête ────────
   NEMI-3 · MABC-3 · Offres · Questions ; l'onglet actif suit le défilement (site.js) et le bouton
   devis suit le test affiché. Elle est posée APRÈS le catalogue : plus haut, elle doublerait les
   deux cartes. Couleurs des tests : celles des cartes (violet NEMI-3, vert MABC-3). */
.subnav {
  --subnav-h: 56px;
  position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav-h)); z-index: 90;
  background: rgba(255, 255, 255, 0.9); border-block: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px);
}
html:has(.subnav) { scroll-padding-top: calc(var(--nav-h) + 56px + 16px); }
.subnav__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--subnav-h); }
.subnav__links {
  display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none;
  margin-inline: -6px; padding: 6px;
}
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__link {
  display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 7px 14px; border-radius: var(--pill);
  color: var(--ink-2); font-weight: 600; font-size: 0.9375rem; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.subnav__link:hover { background: var(--mist); color: var(--ink); }
.subnav__link i { width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.subnav__link--mabc i { background: var(--mint-ink); }
.subnav__link[aria-current="true"] { background: var(--violet-soft); color: var(--violet-ink); }
.subnav__link--mabc[aria-current="true"] { background: var(--mint-soft); color: var(--mint-ink); }
.subnav__cta { flex: none; }
.subnav__cta-short { display: none; }
@media (max-width: 640px) {
  .subnav { --subnav-h: 52px; }
  html:has(.subnav) { scroll-padding-top: calc(var(--nav-h) + 52px + 12px); }
  .subnav__inner { gap: 6px; }
  .subnav__link { padding: 6px 8px; font-size: 0.8125rem; gap: 6px; }
  .subnav__links { gap: 0; }
  /* Les quatre onglets doivent tenir à 375 px à côté de « Devis » : la pastille de couleur part,
     la couleur de l'onglet actif reste. */
  .subnav__link i { display: none; }
  .subnav__cta { --h: 36px; padding: 0 12px; }
  .subnav__cta-long { display: none; }
  .subnav__cta-short { display: inline; }
}

.legal__version { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--mist); margin-bottom: 1.8em; }
.legal__version p { margin: 0; font-size: 0.95rem; line-height: 1.55; flex: 1 1 320px; }
.legal__version .btn .i { width: 18px; height: 18px; }
.legal__table--form table { min-width: 0; }
.legal__table--form th[scope="row"] { width: 38%; background: var(--paper); font-size: 0.88rem; font-weight: 600; color: var(--ink); }
.legal__table--form td:empty::after { content: "—"; color: var(--ink-3); }
.legal__table tbody th[scope="row"] { font-weight: 600; color: var(--ink); text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.legal__table .legal__row-head th { background: var(--violet-soft); color: var(--violet-ink); font-size: 0.85rem; text-transform: none; }
.legal__table .legal__row-sub th { background: var(--mist); color: var(--ink-2); font-size: 0.82rem; font-style: italic; }
.legal__table td p { margin: 0 0 0.6em; }
.legal__table td p:last-child { margin-bottom: 0; }
.legal__table td ul { margin: 0 0 0.8em; padding-left: 1.2em; display: grid; gap: 0.3em; }
@media (max-width: 640px) {
  .legal__table--form table, .legal__table--form tbody, .legal__table--form tr, .legal__table--form th, .legal__table--form td { display: block; width: 100%; }
  .legal__table--form th[scope="row"] { border-bottom: 0; padding-bottom: 2px; }
}
