/* Charte du funnel. Remplace ces jetons par tes couleurs et tes polices :
   tout le reste du fichier en dépend. */
:root {
  --surface: #fefaeb;        /* fond de page : beige de savoire.io */
  --underline: #0b9bbb2b;    /* soulignage du titre : turquoise clair (même teinte que les mots, transparente) */
  --headline: #0b9bbb;       /* mots soulignés du titre */
  --field: #f4f5f2;          /* fond des champs et des choix */
  --card: #ffffff;           /* fond du bloc formulaire */
  --ink: #1f2522;            /* texte principal */
  --ink-2: #4b5550;          /* texte secondaire */
  --muted: #7d8681;          /* indications */
  --gold: #b79a73;          /* doré du lecteur : étoiles, surlignage */
  --gold-soft: #b79a7380;   /* ancien surlignage du titre (doré) */
  --mark: #3ec7bd66;        /* surlignage du titre : turquoise (teinte à confirmer) */
  --accent: #2f6b5e;         /* boutons, progression, sélection */
  --accent-deep: #24564b;    /* survol des boutons */
  --accent-soft: #e2ede8;    /* fond d'une option choisie */
  --warn: #a8571f;           /* messages d'erreur, ton doux */
  --line: #1f25221f;         /* bordures légères */
  --line-strong: #1f252247;  /* bordures des champs */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-title: "Inter", "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Fond : beige dans le coin haut gauche, qui devient blanc. */
body { margin: 0; background: #fff linear-gradient(135deg, var(--surface) 0%, #fff 75%) 0 0 / 100% 100vh no-repeat; color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { max-width: 880px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

.hero { text-align: center; padding-block: 34px 0; }
.hero h1 { font-family: var(--font-title); font-weight: 800; font-size: clamp(34px, 5.4vw, 56px); line-height: 1.12; letter-spacing: -.02em; margin: 0 auto; max-width: 22ch; text-wrap: balance; }
.hero p { color: var(--ink-2); max-width: 56ch; margin: 18px auto 0; text-wrap: pretty; }
/* Preuve sociale : toujours sur une seule ligne, la taille du texte suit la largeur de l'écran. */
.hero .proof { display: inline-block; margin: 0 auto 16px; padding: 5px 14px; background: #fff; border: 2px solid #e6e6e6; border-radius: 999px; box-shadow: 0 2px 8px #0000000f; font-size: clamp(10px, 3.1vw, 14px); line-height: 1.4; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.hero .proof .stars { color: #fbbc04; letter-spacing: .08em; margin-right: 4px; } /* jaune des avis Google */
/* Mots mis en avant dans le sous-titre : gras + même soulignage que le titre. */
.hero p .hl { font-weight: 700; color: var(--ink); background: linear-gradient(transparent 60%, var(--underline) 60%); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero h1 mark { color: var(--headline); background: linear-gradient(transparent 60%, var(--underline) 60%); padding: 0 .08em; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero .cue { margin-top: 14px; font-size: 13.5px; font-weight: 600; color: var(--accent); }
.disclaimer { text-align: center; color: var(--muted); font-size: 13.5px; line-height: 1.55; max-width: 78ch; margin: 0 auto 88px; text-wrap: pretty; }
/* Ordinateur : 5 px de marge de plus que les autres blocs de chaque côté (25 px au lieu de 20). */
.disclaimer-section { padding-top: 48px; } /* écart avec le lecteur avant l'opt-in (2026-11-20) */
.disclaimer-section.shell { padding-left: max(25px, env(safe-area-inset-left, 0px)); padding-right: max(25px, env(safe-area-inset-right, 0px)); }
.disclaimer sup { font-size: .7em; line-height: 0; }
.disclaimer-tag { display: inline-block; margin-right: 8px; padding: 2px 9px; border-radius: 5px; background: #e7dcc8; color: #6b5a3e; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .8em; letter-spacing: .12em; text-transform: uppercase; vertical-align: 1px; }

.video { margin-top: 36px; border-radius: var(--radius); overflow: hidden; background: #000; aspect-ratio: 16 / 9; max-width: 100%; }
.video > * { width: 100%; height: 100%; display: block; }

.funnel-section { padding-block: 44px 64px; }
#funnel { max-width: 620px; margin: 0 auto; scroll-margin-top: 16px; }

/* Verrou avant la présentation de l'offre */
.gate { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; text-align: center; }
.gate-label[hidden] { display: none; }
.gate-label { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; color: var(--ink-2); font-size: 15.5px; }
.gate { container-type: inline-size; }
/* Compte à rebours : un seul bloc, jamais de retour à la ligne, taille proportionnelle à la largeur de la carte. */
.gate-timer { display: flex; flex-wrap: nowrap; justify-content: center; align-items: flex-start; white-space: nowrap; margin: 12px 0 4px; font-family: var(--font-display); font-weight: 100; color: var(--ink); font-size: clamp(38px, 17vw, 104px); line-height: 1; }
@supports (font-size: 1cqi) { .gate-timer { font-size: clamp(38px, 19cqi, 104px); } }
.gt-cell { display: flex; flex-direction: column; align-items: center; width: 1.3em; flex: none; }
.gt-cell b { font-weight: 100; font-variant-numeric: tabular-nums; }
.gt-cell small { font-family: var(--font-body); font-weight: 400; font-size: max(11px, .14em); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: .5em; }
.gt-sep { flex: none; width: .36em; text-align: center; opacity: .55; }
/* Lueur bleue animée sur le premier champ à compléter (s'arrête dès qu'il contient du texte). */
@keyframes input-glow { 0%, 100% { box-shadow: 0 0 1px 0 rgba(25,102,255,.9); } 50% { box-shadow: 0 0 3px 2px rgba(25,102,255,.9); } }
.input-glow:placeholder-shown { animation: input-glow 1s ease-in-out infinite; position: relative; }
@media (prefers-reduced-motion: reduce) { .input-glow:placeholder-shown { animation: none; box-shadow: 0 0 1px 0 rgba(25,102,255,.9); } }

/* Formulaire */
.form-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 2px 10px #1f25220d; }
.appear { animation: appear .45s ease-out; }
@keyframes appear { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .appear { animation: none; } }

.form-title { font-family: var(--font-title); font-weight: 600; font-size: clamp(25px, 3.2vw, 32px); line-height: 1.15; letter-spacing: -.01em; margin: 0 0 8px; text-align: center; text-wrap: balance; }
.form-lede { color: var(--ink-2); text-align: center; margin: 0 auto 26px; max-width: 46ch; font-size: 16px; }

.progress { display: flex; gap: 2px; }
.progress span { flex: 0 1 auto; min-width: 3px; height: 7px; border-radius: 99px; background-color: var(--line); transition: flex-basis .45s cubic-bezier(.2,.7,.2,1), background-color .3s; }
.progress + .step-title { margin-top: 26px; }
/* Partie remplie : rayures diagonales vert plus clair qui défilent en boucle (effet « progression »). */
.progress span.done {
  background-color: var(--accent);
  background-image: linear-gradient(45deg, rgba(255,255,255,.22) 25%, transparent 25%, transparent 50%, rgba(255,255,255,.22) 50%, rgba(255,255,255,.22) 75%, transparent 75%, transparent);
  background-size: 14px 14px;
  animation: progress-stripes 1s linear infinite;
}
@keyframes progress-stripes { from { background-position: 0 0; } to { background-position: 14px 0; } }
@media (prefers-reduced-motion: reduce) { .progress span { transition: none; } .progress span.done { animation: none; } }
.step-count { margin: 10px 0 18px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.step-title { font-family: var(--font-title); font-weight: 600; font-size: clamp(21px, 2.6vw, 26px); line-height: 1.2; margin: 0 0 6px; outline: none; text-wrap: pretty; }
.step-hint { color: var(--muted); font-size: 15px; margin: 0 0 20px; }

.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14.5px; color: var(--ink-2); }
.input { width: 100%; border: 1px solid var(--line-strong); background: var(--field); color: var(--ink); border-radius: 8px; padding: 12px 14px; font: inherit; font-size: 16px; line-height: 1.5; }
/* Champ sélectionné : liseré bleu fin (1px en plus de la bordure), et la lueur animée s'arrête. */
.input:focus, .input.input-glow:focus { border-color: rgb(25,102,255); outline: none; animation: none; box-shadow: 0 0 0 1px rgb(25,102,255); }
.textarea { min-height: 140px; resize: vertical; }
.has-err { border-color: var(--warn); }
.err { color: var(--warn); font-size: 14px; margin: 4px 0 0; }
.phone-row { display: flex; gap: 10px; }
.phone-row .input:not(.dial) { flex: 1; min-width: 0; }
.dial { width: auto; flex: none; padding-inline: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choices { display: flex; flex-direction: column; gap: 8px; }
.choice { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; border: 1px solid var(--line-strong); background: var(--field); color: var(--ink); border-radius: 8px; padding: 14px 16px; font-size: 16px; transition: border-color .12s, background .12s; }
.choice:hover, .choice.sel { border-color: var(--accent); background: var(--accent-soft); }
.box { flex: none; width: 18px; height: 18px; border: 1.5px solid var(--line-strong); border-radius: 4px; background: var(--card); position: relative; }
.choice.sel .box { background: var(--accent); border-color: var(--accent); }
.choice.sel .box::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--card); border-width: 0 2px 2px 0; transform: rotate(45deg); }

.actions { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.primary { flex: 1; min-height: 50px; padding: 0 22px; border: none; border-radius: 8px; background: var(--accent); color: var(--card); font-weight: 600; font-size: 16px; transition: background .12s; }
.primary:hover:not(:disabled) { background: var(--accent-deep); }
.primary:disabled { opacity: .5; cursor: default; }
.back { min-height: 50px; padding: 0 18px; border: none; border-radius: 8px; background: transparent; color: var(--muted); box-shadow: inset 0 0 0 1px var(--line-strong); font-size: 15px; }
.back:hover { color: var(--ink); }

.days { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.day, .slot { border: 1px solid var(--line-strong); background: var(--field); color: var(--ink); border-radius: 8px; padding: 10px 14px; font-size: 15px; }
.slot { font-variant-numeric: tabular-nums; }
/* Jour et heure choisis : le vert du bouton principal, texte blanc. Survol : bordure verte seulement. */
.day:hover, .slot:hover { border-color: var(--accent); }
.day.sel, .slot.sel { border-color: var(--accent); background: var(--accent); color: #fff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
/* Choix du créneau, disposition « mois + liste » (2026-11-17) : minuteur, mois, créneaux du jour sur 2 colonnes. */
.tmr { position: relative; overflow: hidden; border: 1px solid var(--line); background: #f7f8f7; border-radius: 12px; padding: 14px 16px 12px; margin: 0 0 22px; display: flex; align-items: center; gap: 14px; font-size: 14.5px; line-height: 1.35; font-weight: 500; }
.tmr::before { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: var(--left, 100%); background: var(--accent); border-radius: 0 99px 99px 0; transition: width 1s linear; }
.tmr p { margin: 0; flex: 1; }
.tmr b { font-variant-numeric: tabular-nums; font-size: 17px; }
.m-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 12px; }
.m-head h4, .l-head h4 { margin: 0; font-family: var(--font-title); font-size: 19px; font-weight: 600; }
.m-nav { display: flex; gap: 8px; }
.m-nav button { width: 40px; height: 40px; border: 1px solid var(--line-strong); background: var(--card); border-radius: 9px; color: var(--ink-2); font-size: 18px; line-height: 1; }
.m-nav button:disabled { opacity: .35; cursor: default; }
.m-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px 4px; text-align: center; }
.m-grid .wd { font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; padding-bottom: 6px; }
.m-grid .d { aspect-ratio: 1 / 1; max-height: 52px; width: 100%; margin: 0 auto; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 16px; position: relative; display: flex; align-items: center; justify-content: center; padding: 0; }
.m-grid .d:disabled { cursor: default; opacity: .55; }
.m-grid .d.av { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.m-grid .d.av:hover { box-shadow: inset 0 0 0 1.5px var(--accent); }
.m-grid .d.sel { background: var(--accent); color: #fff; }
.m-grid .d.today::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 99px; background: var(--accent); }
.m-grid .d.sel.today::after { background: #fff; }
.l-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 26px 0 12px; scroll-margin-top: 16px; }
.l-head span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.l-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.l-slot { display: flex; gap: 8px; }
.l-slot.sel { grid-column: 1 / -1; }
.l-slot button { min-height: 52px; border: 1px solid var(--line-strong); background: var(--card); border-radius: 10px; font-size: 16.5px; font-variant-numeric: tabular-nums; color: var(--ink); }
.l-slot .t { flex: 1; }
.l-slot .t:hover { border-color: var(--accent); }
.l-slot.sel .t { flex: 0 0 42%; background: var(--ink-2); border-color: var(--ink-2); color: #fff; }
.l-slot .go { flex: 1; background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; font-size: 16px; animation: l-pop .2s ease-out; }
.l-slot .go:hover:not(:disabled) { background: var(--accent-deep); }
.l-slot .go:disabled { opacity: .6; cursor: default; }
@keyframes l-pop { from { opacity: 0; transform: translateX(-8px); } }
@media (prefers-reduced-motion: reduce) { .l-slot .go { animation: none; } .tmr::before { transition: none; } }
.notice { border: 1px dashed var(--line-strong); border-radius: 8px; padding: 20px 18px; margin: 18px 0 0; text-align: center; color: var(--muted); font-size: 15px; outline: none; }

.outcome { text-align: center; }
.outcome-icon { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 99px; background: var(--accent-soft); color: var(--accent); margin-bottom: 14px; }

.site-footer { padding-block: 0 40px; text-align: center; color: var(--muted); font-size: 13.5px; }
.site-footer a { color: inherit; }
/* © sur une seule ligne quelle que soit la largeur : la taille du texte suit la largeur de l'écran. */
.site-footer .footer-copy { margin: 0; white-space: nowrap; font-size: clamp(10px, 3.3vw, 13.5px); }
/* Liens légaux : ligne à part, plus petite et plus claire, sans jamais se couper en deux. */
.site-footer .footer-legal { margin: 4px 0 0; font-size: 11.5px; color: #a9b0ac; white-space: nowrap; }
.site-footer .footer-legal a { text-underline-offset: 2px; }
.site-footer .footer-legal a:hover { color: var(--muted); }
/* Filet très fin au-dessus du pied de page, qui s'efface vers les bords. */
.site-footer::before { content: ""; display: block; height: 1px; margin: 0 auto 56px; max-width: 720px; background: linear-gradient(to right, transparent, var(--line) 22%, var(--line) 78%, transparent); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding-top: 32px; }
  /* Vidéo : aperçu centré à 75 % de la largeur tant que l'opt-in n'est pas fait, puis pleine largeur
     (bord à bord) avec une transition ease-out de 400 ms. La classe video-full est posée par funnel.js. */
  .video { --bleed-l: max(20px, env(safe-area-inset-left, 0px)); --bleed-r: max(20px, env(safe-area-inset-right, 0px)); margin-top: 26px; max-width: none; width: var(--preview-w, 75vw); margin-left: calc((100% - var(--preview-w, 75vw)) / 2); margin-right: calc((100% - var(--preview-w, 75vw)) / 2); border-radius: var(--radius); transition: width .4s ease-out, margin .4s ease-out, border-radius .4s ease-out; }
  /* Après l'opt-in : 98 % de la largeur de l'écran (1 % de marge de chaque côté), centrée. */
  .video.video-full { width: 98vw; margin-left: calc((100% - 98vw) / 2); margin-right: calc((100% - 98vw) / 2); }
  /* Disclaimer : texte justifié, 15 px de marge à gauche et à droite. */
  .disclaimer-section.shell { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .disclaimer { text-align: justify; -webkit-hyphens: auto; hyphens: auto; max-width: none; }
  /* Téléphone : le formulaire n'est plus dans une carte et occupe 96 % de la largeur de l'écran
     (2 % de marge de chaque côté). Tablette et ordinateur gardent la carte. */
  .funnel-section.shell { padding-left: max(2vw, env(safe-area-inset-left, 0px)); padding-right: max(2vw, env(safe-area-inset-right, 0px)); }
  .form-wrap { padding: 8px 0; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
  .row { flex-direction: column; gap: 0; }
  .actions { flex-direction: column-reverse; }
  .primary, .back { width: 100%; }
}

/* Pied de page : les formes d'anxiété accompagnées */
.themes { list-style: none; margin: 0 0 28px; padding: 0 0 28px; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px 28px; text-align: left; }
.themes li { display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; line-height: 1.45; color: var(--muted); }
.themes strong { font-weight: 600; color: var(--ink-2); margin-bottom: 4px; }

/* Pages légales en popup (funnel.js, liens data-popup). Fond noir à 75 %.
   Marge autour de la fenêtre : 5 % sur mobile ; 15 % sur les côtés et 8 % en haut et en bas sur ordinateur. */
.popup { box-sizing: border-box; width: 90vw; height: 90dvh; max-width: none; max-height: none; margin: auto; padding: 0; border: 0; border-radius: 12px; background: #fff; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .35); }
.popup[open] { display: flex; flex-direction: column; }
.popup-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; padding: 8px 8px 8px 18px; border-bottom: 1px solid #eee; color: #333; font-size: 15px; font-weight: 600; }
.popup::backdrop { background: rgba(0, 0, 0, .75); }
.popup-frame { display: block; flex: 1; width: 100%; min-height: 0; border: 0; }
.popup-close { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: #ececec; color: #1f2522; font-size: 38px; font-weight: 300; line-height: 1; cursor: pointer; }
.popup-close:hover { background: #dcdcdc; }
.popup-close:focus-visible { outline: 2px solid #333; outline-offset: 2px; }
html.popup-open { overflow: hidden; }
@media (min-width: 768px) {
  .popup { width: 70vw; height: 84dvh; }
}

/* ── Pop-up d'opt-in (clic sur la vidéo) ── */
/* Couche transparente au-dessus du lecteur, barre comprise : le clic ouvre le pop-up au lieu de lancer la vidéo. */
.vsl-player .optin-cover { position: absolute; inset: 0; z-index: 10001; display: block; width: 100%; height: 100%; background: transparent; border: 0; cursor: pointer; }
html.optin-open { overflow: hidden; }
.optin { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: safe center; justify-content: center; padding: 20px; background: rgba(20, 26, 23, .42); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s ease; overflow-y: auto; }
.optin[hidden] { display: none; }
.optin.show { opacity: 1; }
.optin-card { position: relative; width: 100%; max-width: 430px; background: var(--card); border-radius: 18px; padding: 40px 28px 28px; box-shadow: 0 24px 64px rgba(20, 26, 23, .22); text-align: center; }
/* Apparition « montée douce » : la carte monte de 24 px en 0,32 s. Elle reste au milieu de l'écran sur
   téléphone comme sur ordinateur (décision du propriétaire : pas de feuille collée en bas). */
.optin-card { opacity: 0; transform: translateY(24px); transition: opacity .24s ease, transform .32s cubic-bezier(.22, .8, .3, 1); }
.optin.show .optin-card { opacity: 1; transform: none; }
.optin-close { position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 24px; line-height: 1; }
.optin-close:hover { background: var(--field); color: var(--ink); }
.optin-lede { color: var(--ink-2); margin: 0 0 12px; text-wrap: pretty; }
.optin-title { font-family: var(--font-title); font-weight: 600; font-size: 24px; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 24px; text-wrap: balance; }
.optin-title:focus { outline: none; }
.optin-screen > .optin-title:first-child { margin-top: 0; }
.optin-choices { display: flex; gap: 12px; }
.optin-choices .primary { min-height: 52px; }
/* Mobile : « Oui » sur toute la largeur, « Non » en dessous. Ordinateur : côte à côte, « Oui » à gauche. */
@media (max-width: 640px) { .optin-choices { flex-direction: column; } .optin-choices > button { flex: none; width: 100%; } }
.optin-secondary { flex: 1; min-height: 52px; padding: 0 22px; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--card); color: var(--ink); font-weight: 600; font-size: 16px; transition: border-color .12s, background .12s; }
.optin-secondary:hover { border-color: var(--ink-2); background: var(--field); }
.optin-form { text-align: left; }
.optin-form .optin-title { text-align: center; }
.optin-form .primary { width: 100%; margin-top: 4px; padding-block: 12px; line-height: 1.3; }
.optin-secure { margin: 14px 0 0; font-size: 12.5px; line-height: 1.45; color: var(--ink-2); text-align: center; text-wrap: balance; }
.optin-secure svg { display: inline-block; width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }
.optin-legal { margin: 6px 0 0; font-size: 11px; line-height: 1.4; text-align: center; }
.optin-legal a { color: #a9b0ac; text-decoration: underline; text-underline-offset: 2px; }
.optin-legal a:hover { color: var(--muted); }
.optin-screen { animation: optin-in .3s ease; }
.optin-screen.still { animation: none; }
@keyframes optin-in { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 420px) { .optin-card { padding: 38px 20px 22px; } .optin-title { font-size: 22px; } }
@media (prefers-reduced-motion: reduce) { .optin, .optin-card { transition: none; } .optin-screen { animation: none; } }
/* Dans le pop-up, le champ Prénom reçoit le focus à l'ouverture : il continue de clignoter tant qu'il est vide. */
.optin .input-glow:placeholder-shown:focus { animation: input-glow 1s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .optin .input-glow:placeholder-shown:focus { animation: none; } }
/* Mobile : remonter la vidéo pour que le bouton lecture soit visible dès le premier écran. */
@media (max-width: 640px) {
  .hero { padding-top: 10px; }
  .hero .proof { margin-bottom: 10px; }
  .hero h1 { font-size: 29px; line-height: 1.15; max-width: none; }
  .hero p { margin-top: 10px; font-size: 15px; line-height: 1.45; }
  .hero .cue { margin-top: 10px; font-size: 12.5px; line-height: 1.4; }
  .hero .cue .cue-src { font-weight: 400; opacity: .8; }
}
@media (prefers-reduced-motion: reduce) { .video { transition: none; } }
/* Premier écran de l'opt-in : la phrase en gros et gras, « Est-ce bien ton cas ? » en petit dessous. */
.optin-title.optin-title-q { margin-bottom: 10px; }
.optin-lede.optin-ask { margin-bottom: 22px; }

/* Bouton « Je regarde la vidéo » au-dessus du pied de page, avec un reflet qui traverse de gauche à droite
   toutes les 5,3 s (le passage dure ~0,9 s, puis pause). */
.watch-cta-wrap { text-align: center; margin: 8px auto 48px; }
.watch-cta { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none; min-height: 54px; padding: 0 28px; font-size: 17px; border-radius: 999px; box-shadow: 0 6px 18px #2f6b5e40; }
.watch-cta svg { flex: none; }
.watch-cta::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, #ffffff73, transparent); transform: skewX(-18deg); animation: shine 5.3s ease-in-out infinite; pointer-events: none; }
@keyframes shine { 0% { left: -60%; } 17%, 100% { left: 130%; } }
@media (max-width: 640px) { .watch-cta { width: 96%; } }
@media (prefers-reduced-motion: reduce) { .watch-cta::after { animation: none; display: none; } }

/* ---------- Formulaire 2.0 ---------- */
.field-hint { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.nudge { margin: 8px 0 0; font-size: 14.5px; color: var(--accent); }
.char-count { margin: 6px 0 0; font-size: 12.5px; color: var(--muted); text-align: right; }
/* Démarches : familles l'une sous l'autre sur mobile, deux colonnes sur ordinateur. */
.choice-groups { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 14px; }
.choice-group .choices { gap: 8px; }
.group-label { margin: 0 0 8px; font-size: 12.5px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.choice-groups.has-err .choice { border-color: var(--warn); }
@media (min-width: 768px) { .choice-groups { grid-template-columns: 1fr 1fr; gap: 18px 16px; align-items: start; } }
.multi-count { font-size: 13.5px; color: var(--muted); white-space: nowrap; }
/* Longue liste : le bouton « Continuer » reste visible en bas de l'écran. */
.actions.sticky { position: sticky; bottom: 0; z-index: 2; margin-top: 18px; padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, var(--card) 80%, transparent); }
@media (max-width: 640px) {
  .actions.sticky { background: linear-gradient(to top, #fff 80%, transparent); }
  .actions.sticky { flex-direction: row; flex-wrap: wrap; gap: 6px 10px; padding-top: 8px; }
  .actions.sticky .multi-count { order: -1; width: 100%; text-align: center; font-size: 12.5px; }
  .actions.sticky .back { width: auto; flex: 0 0 auto; min-height: 50px; padding: 0 16px; }
  .actions.sticky .primary { width: auto; flex: 1; }
}
/* Âge : grand chiffre au-dessus du curseur, même police fine que le minuteur, chiffres de largeur fixe. */
.slider { padding: 8px 0 4px; }
.slider-value { margin: 0 0 14px; text-align: center; font-family: var(--font-display); font-weight: 100; line-height: 1; color: var(--ink); }
.slider-value b { font-weight: 100; font-size: clamp(64px, 22vw, 104px); font-variant-numeric: tabular-nums; display: inline-block; min-width: 2ch; text-align: center; }
.slider.has-err .slider-help { visibility: hidden; }
.slider-value span { font-family: var(--font-body); font-size: 15px; color: var(--muted); letter-spacing: .04em; }
.slider.untouched .slider-value b { color: var(--muted); }
.range { display: block; width: 94%; margin: 0 auto; height: 44px; background: transparent; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.range::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: var(--line-strong); }
.range::-moz-range-track { height: 6px; border-radius: 99px; background: var(--line-strong); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 32px; height: 32px; margin-top: -13px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 1px 4px #0003; }
.range::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: var(--accent); border: 3px solid #fff; box-shadow: 0 1px 4px #0003; }
.slider.untouched .range::-webkit-slider-thumb { background: var(--muted); }
.slider.untouched .range::-moz-range-thumb { background: var(--muted); }
.slider-adjust { display: flex; align-items: center; justify-content: space-between; width: 94%; margin: 8px auto 0; }
.slider-help { font-size: 13.5px; color: var(--muted); }
.adj { width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--field); color: var(--ink); font-size: 22px; line-height: 1; }
.adj:hover { border-color: var(--accent); background: var(--accent-soft); }
.slider.has-err .range::-webkit-slider-runnable-track { background: color-mix(in srgb, var(--warn) 45%, transparent); }

/* Écran Coordonnées : prénom et nom côte à côte, y compris sur mobile. */
.row.row-names { display: flex; flex-direction: row; gap: 10px; }
.row.row-names > .field { flex: 1 1 0; min-width: 0; }
.row.row-names label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Deux colonnes de cases (écrans 5 et 9), y compris sur mobile. */
.choices.cols-2, .choice-groups.cols-2 .choices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choices.cols-2 .choice, .choice-groups.cols-2 .choice { height: 100%; }
@media (max-width: 640px) {
  .choices.cols-2 .choice, .choice-groups.cols-2 .choice { padding: 11px 11px; gap: 9px; font-size: 14.5px; line-height: 1.3; }
}
/* Sur ordinateur, les familles des démarches sont déjà en deux colonnes : une seule colonne de cases dans chacune. */
@media (min-width: 768px) { .choice-groups.cols-2 .choices { grid-template-columns: 1fr; } }

/* Parcours de disqualification (2026-11-20) : fausse recherche dans les agendas, puis mini-cours gratuit. */
.dq-cals { display: grid; gap: 8px; margin: 14px 0 16px; }
.dq-cal { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; background: #f7f8f7; font-size: 15px; transition: opacity .3s; }
.dq-cal .dq-st { margin-left: auto; }
.dq-st { font-size: 13px; color: var(--muted); white-space: nowrap; }
.dq-cal.full .dq-st { color: #9a5b14; font-weight: 600; }
.dq-cal.wait { opacity: .45; }
.dq-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--accent); animation: dq-sp .8s linear infinite; flex: none; }
.dq-cal.full .dq-spin, .dq-cal.wait .dq-spin { animation: none; border-color: transparent; }
.dq-cal.full .dq-spin::before { content: "✕"; display: block; font-size: 12px; line-height: 10px; color: #9a5b14; text-align: center; }
@keyframes dq-sp { to { transform: rotate(360deg); } }
.dq-m { display: flex; justify-content: space-between; align-items: center; margin: 0 0 8px; font-weight: 600; }
.dq-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center; font-size: 13px; }
.dq-grid i { font-style: normal; color: var(--muted); font-size: 11px; font-weight: 600; }
.dq-grid span { padding: 6px 0; border-radius: 8px; color: #b9bfbb; text-decoration: line-through; background: #f4f5f3; }
.dq-grid span.x { background: transparent; text-decoration: none; }
.dq-out p { margin: 0 0 12px; color: var(--ink-2); }
.dq-tag { display: inline-flex; font-size: 13px; font-weight: 600; color: #9a5b14; background: #fdf1df; border-radius: 99px; padding: 3px 10px; margin: 0 0 12px; }
.dq-gift { border-radius: 12px; background: #f6faf8; border: 1px solid #dbe9e3; padding: 16px; margin: 16px 0; color: var(--ink-2); }
.dq-gift b { display: block; font-size: 17px; margin-bottom: 6px; color: var(--ink); }
.dq-gift ul { margin: 6px 0 0; padding-left: 20px; font-size: 15.5px; }
/* CTA : reflet qui traverse le bouton et léger zoom, toutes les 9 s. */
.dq-go { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; font: inherit; font-size: 18px; font-weight: 600; cursor: pointer; animation: dq-pulse 9s ease-in-out 1.2s infinite; }
.dq-go:disabled { opacity: .75; cursor: wait; animation: none; }
.dq-go::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, #fff0, #ffffff73, #fff0); animation: dq-shine 9s ease-in-out 1.2s infinite; pointer-events: none; }
@keyframes dq-pulse { 0%, 9%, 100% { transform: scale(1); } 4.5% { transform: scale(1.04); } }
@keyframes dq-shine { 0% { left: -60%; } 9%, 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .dq-go, .dq-go::after, .dq-spin { animation: none; } }
