/* Liste d'attente « Verticut ».
   Typographie d'Equitra : General Sans (ITF Free Font License) pour tout le texte, Aileron (licence libre) pour
   les rares étiquettes. Un seul thème, sombre, comme le chrome d'Equitra : c'est l'écran de montage, et il laisse
   les couvertures colorées des vidéos porter la couleur. Le rouge « REC » est réservé à l'action (bouton, point).
   Garde-fous de design : ../GARDE-FOUS-DESIGN.md (contrôlés par tests/anti-slop.test.mjs). */
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "General Sans"; src: url("/fonts/GeneralSans-Semibold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Aileron"; src: url("/fonts/Aileron-SemiBold.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --fond: #0d0e10;
  --surface: #17181a;
  --texte: #f7f5f0;
  --texte-2: #b9b5ac;
  --texte-3: #8f8a80;
  --filet: #2a2b2e;
  --filet-fort: #45464a;
  --rec: #e5483b;          /* point de la marque, barré des fausses promesses */
  --rec-bouton: #c4382c;   /* fond du bouton : blanc dessus à 5,6:1 (axe, 26/10) */
  --rec-bouton-survol: #b13226;
  --rec-texte: #ffffff;
  --ok: #7fd1a1;
  /* Ambre réservé à un seul usage : signaler un coût en plus (abonnements aux outils). Jamais décoratif. */
  --attention: #e8b55c;
  /* Barème typographique : une taille par niveau d'importance (26/10). Ce qui déclenche l'inscription
     (titre, chapô, preuve, bouton) est en haut ; le reste se range dessous, sans tailles à 0,5 px d'écart. */
  --t-mention: 12.5px;      /* mentions, étiquettes en capitales, légendes */
  --t-secondaire: 14px;     /* réassurance, aides, sous-titres de questions */
  --t-courant: 16px;        /* cartes, listes, pastilles */
  --t-lecture: 17px;        /* texte de lecture, bouton */
  --t-accroche: 18px;       /* preuve, questions de la FAQ */
  --t-carte: 20px;          /* titres de carte et d'encadré */
  --t-module: 24px;         /* titres de module */
  --t-chapo: clamp(18px, 1.6vw, 20px);  /* chapô, paragraphes d'accroche */
  --t-titre-page: clamp(32px, 5vw, 44px);  /* titre des pages légales */
  --t-section: clamp(28px, 3.4vw, 44px);
  --t-titre: clamp(36px, 5.6vw, 68px);
  --t-exposant: .5em;       /* astérisque placé dans un titre */
  --erreur: #ff8f84;
  --texte-famille: "General Sans", -apple-system, "Segoe UI", sans-serif;
  --etiquette-famille: "Aileron", "General Sans", -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 17px/1.6 var(--texte-famille); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--texte); }
:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }
img { display: block; max-width: 100%; height: auto; }

/* Zone sûre : 24 px de marge au téléphone, 40 px dès la tablette (comme Equitra). */
.conteneur { width: min(1120px, 100% - 48px); margin-inline: auto; }
.etroit { width: min(680px, 100% - 48px); margin-inline: auto; }
@media (min-width: 760px) { .conteneur { width: min(1120px, 100% - 80px); } .etroit { width: min(680px, 100% - 80px); } }

h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; margin: 0; }
h3 { line-height: 1.25; }
h2 { font-size: var(--t-section); line-height: 1.08; letter-spacing: -.025em; }
.etiquette { font-family: var(--etiquette-famille); font-weight: 600; font-size: var(--t-mention); letter-spacing: .14em; text-transform: uppercase; color: var(--texte-3); }

/* En-tête */
.entete { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.marque { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: var(--t-accroche); text-decoration: none; }
.signature { font-size: var(--t-secondaire); color: var(--texte-3); }
.signature strong { font-weight: 500; color: var(--texte-2); }
.signature a { color: inherit; text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
/* Liens vers nos comptes : soulignés, couleur du texte (le rouge reste réservé à l'action, règle 22). */
.module-qui a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
.module-qui a:hover, .signature a:hover { text-decoration-color: currentColor; }
.lien-compte { white-space: nowrap; }
/* Sous la preuve : nos comptes, pour vérifier par soi-même (la preuve se clique). */
.voir-comptes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: 14px; font-size: var(--t-courant); color: var(--texte-3); }
.voir-comptes a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 4px; min-height: 24px; display: inline-flex; align-items: center; }
.voir-comptes a:hover { text-decoration-color: currentColor; }
.voir-comptes img { width: 16px; height: 16px; margin-right: 7px; }
.lien-compte img { display: inline-block; width: 14px; height: 14px; margin: 0 5px 0 2px; vertical-align: -1px; }
.marque::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rec); }

/* Héros */
/* Mobile : titre, formulaire, preuve. Ordinateur : titre et preuve à gauche, formulaire à droite. */
.heros { display: grid; gap: 24px; padding: 20px 0 72px; grid-template-areas: "texte" "formulaire" "preuve"; }
.heros-texte { grid-area: texte; }
.heros .formulaire { grid-area: formulaire; }
.heros .preuve { grid-area: preuve; }
@media (min-width: 940px) {
  .heros { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); grid-template-areas: "texte formulaire" "preuve formulaire"; grid-template-rows: auto 1fr; column-gap: 72px; row-gap: 0; padding: 80px 0 112px; }
  .heros .preuve { align-self: start; }
}
.heros-texte .chapo { margin-bottom: 0; }
@media (min-width: 940px) { .heros-texte .chapo { margin-bottom: 32px; } }
h1 { font-size: var(--t-titre); line-height: 1.02; letter-spacing: -.03em; margin-bottom: 24px; max-width: 12.5em; }
.chapo { font-size: var(--t-chapo); line-height: 1.5; color: var(--texte-2); margin: 0 0 28px; max-width: 32em; }
.chapo strong { color: var(--texte); font-weight: 600; }
.lien-preuve { color: var(--texte); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 4px; }
.lien-preuve:hover { text-decoration-color: currentColor; }
.preuve { margin: 0; padding-top: 22px; border-top: 1px solid var(--filet); color: var(--texte-2); font-size: var(--t-accroche); line-height: 1.5; max-width: 30em; }
main .etroit { margin-inline: 0; width: auto; max-width: 680px; }
.preuve strong { color: var(--texte); font-weight: 600; font-variant-numeric: tabular-nums; }
.preuve small { display: block; margin-top: 6px; font-size: var(--t-mention); color: var(--texte-3); }

/* Formulaire */
.formulaire { background: var(--surface); border: 1px solid var(--filet); border-radius: 6px; padding: 32px; }
.formulaire h2 { font-size: var(--t-module); line-height: 1.2; margin: 0 0 8px; }
.formulaire p.sous { margin: 0 0 24px; color: var(--texte-2); font-size: var(--t-courant); }
label.champ { display: block; font-weight: 500; font-size: var(--t-secondaire); color: var(--texte-2); margin-bottom: 8px; }
input[type="email"], textarea { width: 100%; font: inherit; font-size: var(--t-lecture); color: var(--texte); background: var(--fond); border: 1px solid var(--filet-fort); border-radius: 4px; padding: 13px 14px; }
textarea { resize: vertical; }
input[type="email"]:focus, textarea:focus { outline: none; border-color: var(--texte); }
input::placeholder, textarea::placeholder { color: var(--texte-3); }
.case { display: flex; gap: 12px; align-items: flex-start; font-size: var(--t-secondaire); color: var(--texte-2); margin-top: 14px; padding: 2px 0; line-height: 1.45; cursor: pointer; }
.case input { width: 24px; height: 24px; margin: -1px 0 0; accent-color: var(--texte); flex: none; }
.bouton { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 24px; font: inherit; font-weight: 600; font-size: var(--t-lecture); letter-spacing: -.005em; color: var(--rec-texte); background: var(--rec-bouton); border: 0; border-radius: 4px; padding: 15px 22px; cursor: pointer; text-decoration: none; transition: background-color .15s ease, transform 150ms cubic-bezier(.32, 0, .67, 0); }
.bouton:hover { background: var(--rec-bouton-survol); }
.bouton:active { transform: scale(.97); }
.bouton[disabled] { cursor: wait; }
.bouton.secondaire { background: transparent; color: var(--texte); border: 1px solid var(--filet-fort); margin-top: 14px; }
.bouton.secondaire:hover { border-color: var(--texte); }
.rassurance { font-size: var(--t-secondaire); color: var(--texte-3); margin: 16px 0 0; line-height: 1.5; }
.message { font-size: var(--t-secondaire); margin: 12px 0 0; min-height: 1.2em; }
.message.erreur { color: var(--erreur); }
.message.ok { color: var(--ok); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.choix { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; border: 0; }
.choix legend { font-weight: 500; font-size: var(--t-courant); color: var(--texte); margin-bottom: 12px; padding: 0; }
.choix legend span, .facultatif { display: block; font-weight: 400; font-size: var(--t-secondaire); color: var(--texte-3); margin-top: 2px; }
.facultatif { display: inline; margin-left: 6px; }
.choix label { position: relative; display: inline-flex; align-items: center; min-height: 44px; border: 1px solid var(--filet-fort); border-radius: 999px; padding: 10px 16px; font-size: var(--t-courant); cursor: pointer; user-select: none; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform 150ms cubic-bezier(.32, 0, .67, 0); }
.choix label:active { transform: scale(.97); }
.choix label:hover { border-color: var(--texte-2); }
/* Case native gardée pour le clavier et les lecteurs d'écran, posée sous la pastille entière (cible tactile pleine). */
.choix input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.choix label:has(input:focus-visible) { outline: 2px solid var(--texte); outline-offset: 3px; }
.choix label:has(input:checked) { background: var(--texte); border-color: var(--texte); color: var(--fond); font-weight: 500; }
[hidden] { display: none !important; }

section { padding: 88px 0; border-top: 1px solid var(--filet); }
@media (max-width: 520px) {
  section { padding: 42px 0; }
  .preuves { gap: 24px; }
  .preuves .couvertures li { flex: 1; }
  .preuves .couvertures img { width: 100%; }
  .preuves p { font-size: var(--t-lecture); }
  .programme-titre { margin-bottom: 20px; }
  .colonnes { gap: 24px; }
  .equipe h2 { margin-bottom: 20px; }
  .engagements > p { margin-bottom: 24px; }
  section.faq h2 { margin-bottom: 12px; }
  .faq details { padding: 10px 0; }
  .programme h3 { font-size: var(--t-accroche); }
  .programme p, .colonnes li, .equipe p { font-size: var(--t-courant); line-height: 1.45; }
  .colonnes li { padding: 11px 0; }
  .programme-titre p { font-size: var(--t-courant); }
  .entete { padding: 14px 0; }
  .heros { padding: 12px 0 56px; gap: 20px; }
  h1 { margin-bottom: 12px; }
  .chapo { font-size: var(--t-lecture); }
  .formulaire { padding: 20px 18px; }
  .formulaire h2 { font-size: var(--t-carte); margin-bottom: 4px; }
  #etape-inscription p.sous { display: none; }
  .formulaire h2 { margin-bottom: 14px; }
  label.champ { margin-bottom: 6px; }
  .bouton { margin-top: 16px; }
}

/* Ce qu'on fait : les couvertures d'abord */
.preuves { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .preuves { grid-template-columns: auto minmax(0, 1fr); gap: 72px; } }
.couvertures { display: flex; gap: 14px; margin: 0; padding: 0; list-style: none; }
.couvertures img { width: clamp(118px, 22vw, 220px); aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; }
.couvertures li:nth-child(2) { margin-top: 24px; }
@media (min-width: 900px) { .couvertures li:nth-child(2) { margin-top: 48px; } }
.preuves h2 { margin-bottom: 16px; }
.preuves p { color: var(--texte-2); font-size: var(--t-accroche); margin: 0; max-width: 30em; }

/* Filleul inscrit : la réduction est confirmée sous « Inscription confirmée ». */
.cadeau-note { margin-top: 6px; color: var(--texte); }

/* Nos revenus : les captures telles que l'application les affiche, sur fond blanc (comme à l'écran), avec en dessous
   le montant arrondi et la période. Sur ordinateur, 3 périodes puis 2 vidéos, sans case vide ; au téléphone, un ruban. */
.revenus-intro { color: var(--texte-2); max-width: 36em; margin: -12px 0 28px; }
.revenus-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.revenus-liste figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
/* Chaque capture s'ouvre en grand d'un clic (les chiffres de l'application restent lisibles). */
.revenus-zoom { display: block; border-radius: 10px; transition: transform 150ms cubic-bezier(.32, 0, .67, 0); }
.revenus-zoom:hover img { border-color: var(--filet-fort); }
.revenus-zoom:active { transform: scale(.98); }
.revenus-zoom:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }
.revenus-liste img { width: 100%; height: auto; aspect-ratio: 720 / 590; object-fit: contain; object-position: top; background: #ffffff; border-radius: 10px; border: 1px solid var(--filet); }
.revenus-liste figcaption { margin-top: 12px; font-size: var(--t-secondaire); line-height: 1.4; color: var(--texte-3); }
.revenus-liste figcaption strong { display: block; margin-bottom: 2px; font-size: var(--t-carte); font-weight: 600; color: var(--texte); font-variant-numeric: tabular-nums; }
.revenus-liste:focus-visible { outline: 2px solid var(--texte); outline-offset: 4px; }
/* Visionneuse : plein écran sombre, la capture au centre, aussi grande que l'écran le permet. */
.visionneuse { position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 56px 16px 24px; border: 0; background: rgba(8, 9, 10, .97); color: var(--texte); cursor: zoom-out; overflow: hidden; }
.visionneuse[open] { display: grid; place-items: center; }
.visionneuse::backdrop { background: transparent; }
.visionneuse figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: 100%; }
.visionneuse img { display: block; width: auto; height: auto; max-width: min(100%, 820px); max-height: calc(100dvh - 140px); object-fit: contain; background: #ffffff; border-radius: 12px; transform-origin: top left; }
.visionneuse figcaption { font-size: var(--t-courant); color: var(--texte-2); text-align: center; cursor: text; }
.visionneuse-fermer { position: absolute; top: 10px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; font: inherit; font-size: var(--t-module); line-height: 1; color: var(--texte); background: transparent; border: 1px solid var(--filet-fort); border-radius: 999px; cursor: pointer; }
.visionneuse-fermer:hover { border-color: var(--texte-2); }
.visionneuse-fermer:focus-visible { outline: 2px solid var(--texte); outline-offset: 3px; }
.revenus-zoom { cursor: zoom-in; }

/* Sous les captures : ce que disent les chiffres (graphique) et leurs limites (note), côte à côte sur ordinateur. */
.revenus-bas { display: grid; gap: 28px; margin-top: 32px; align-items: center; }
.revenus-bas .revenus-note { margin: 0; }
@media (min-width: 900px) { .revenus-bas { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; } .revenus-bas .revenus-note { margin-top: 2px; } }
.repartition { margin: 0; padding: 20px 22px; background: var(--surface); border: 1px solid var(--filet); border-radius: 12px; }
.repartition figcaption { margin: 0 0 16px; font-size: var(--t-courant); line-height: 1.45; color: var(--texte-2); }
.repartition figcaption strong { display: block; margin-bottom: 4px; font-size: var(--t-lecture); color: var(--texte); }
.repartition-barres { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.repartition-barres li { display: grid; grid-template-columns: 86px minmax(0, 1fr) 44px; align-items: center; gap: 12px; font-size: var(--t-secondaire); color: var(--texte-3); }
.repartition-barres svg { display: block; width: 100%; height: 10px; border-radius: 3px; overflow: hidden; }
.rep-std { fill: var(--filet-fort); }
.rep-sup { fill: var(--texte); }
.rep-val { text-align: right; color: var(--texte); font-weight: 600; font-variant-numeric: tabular-nums; }
.repartition-legende { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 14px 0 0; font-size: var(--t-mention); color: var(--texte-3); }
.rep-cle { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.rep-cle-sup { background: var(--texte); }
.rep-cle-std { background: var(--filet-fort); margin-left: 8px; }
@media (max-width: 640px) {
  .revenus-bas { margin-top: 20px; gap: 16px; }
  .repartition { padding: 16px; }
  .repartition figcaption { margin-bottom: 12px; }
  .repartition-barres { gap: 7px; }
  .repartition-barres li { grid-template-columns: 78px minmax(0, 1fr) 40px; gap: 10px; }
  /* Le titre dit déjà que la barre claire est le bonus qualité. */
  .repartition-legende { display: none; }
  .revenus-bas .revenus-note { font-size: var(--t-mention); }
  /* Page sous 7 écrans (règle 26) : l'intro des modules fait doublon avec la mention des outils. */
  .modules-intro { display: none; }
  /* Compense l'avertissement sur le coût des outils (règle 26) : la phrase la moins utile de la page au téléphone. */
  .engagements > p { display: none; }
  .modules > h2 { margin-bottom: 24px; }
  .module.preuves .couvertures { justify-content: center; }
  /* Rétrécissables (min-width 0) : à 320 px de large, elles ne débordent pas du viseur. */
  .module.preuves .couvertures li { flex: 1 1 0; min-width: 0; max-width: 132px; }
  .module .cout-outils { margin-top: 16px; padding: 12px 14px; }
  .cout-outils .cout-intitule, .cout-outils .cout-fourchette { margin-bottom: 6px; }
}

.revenus-note { margin: 24px 0 0; max-width: 46em; font-size: var(--t-secondaire); line-height: 1.5; color: var(--texte-3); }
@media (max-width: 1023px) and (min-width: 641px) {
  .revenus-liste { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .revenus-liste li { grid-column: span 2; }
  .revenus-liste li:nth-child(n+4) { grid-column: span 3; }
}
@media (max-width: 640px) {
  .revenus-liste { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -24px; padding: 2px 24px 10px; scroll-padding-inline: 24px; scrollbar-width: none; }
  .revenus-liste::-webkit-scrollbar { display: none; }
  .revenus-liste li { flex: 0 0 80%; scroll-snap-align: start; }
  /* La note sous les captures dit déjà « compte FR, montants bruts » : au téléphone, l'intro ferait doublon. */
  .revenus-intro { display: none; }
  .revenus .programme-titre { margin-bottom: 18px; }
  .revenus .programme-titre .programme-indice { display: block; margin: 0; font-size: var(--t-mention); color: var(--texte-3); }
}

/* Deux spécialités : un module par façon de produire, chacun avec sa piste d'outils et ses chiffres. */
.modules > h2 { margin-bottom: 12px; }
.modules-intro { color: var(--texte-2); max-width: 36em; margin: 0 0 44px; }
.module + .module { margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--filet); }
.module h3 { font-size: var(--t-module); margin-bottom: 8px; }
.module .module-qui { color: var(--texte-2); font-size: var(--t-lecture); margin: 0; max-width: 32em; }
.module .chiffres-equipe { margin-top: 16px; }
.module .chiffres-equipe li { color: var(--texte-2); font-size: var(--t-courant); line-height: 1.45; }
/* Exemple de repost : une vignette à côté du texte (pas un grand bloc : la page reste sous 6 écrans au téléphone). */
.exemple { float: right; width: 128px; margin: 4px 0 12px 18px; }
.exemple img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 6px; border: 1px solid var(--filet-fort); }
.exemple figcaption { margin-top: 6px; font-size: var(--t-mention); line-height: 1.35; color: var(--texte-3); }
.exemple figcaption strong { color: var(--texte); font-weight: 600; }
.module:not(.preuves) .chaine, .module:not(.preuves) .chiffres-equipe { clear: both; }
@media (max-width: 520px) { .exemple { width: 100px; margin: 2px 0 8px 14px; } .exemple figcaption { font-size: var(--t-mention); } }

/* Module repost sur ordinateur : texte et outils à gauche, l'exemple à droite (en miroir du module IA). */
@media (min-width: 900px) {
  .module:not(.preuves) > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 72px; align-items: start; }
  .module:not(.preuves) > div > * { grid-column: 1; }
  .module:not(.preuves) .exemple { grid-column: 2; grid-row: 1 / span 4; float: none; width: 220px; margin: 0; }
}
.modules > .mention-marques { margin: 28px 0 0; font-size: var(--t-mention); line-height: 1.45; color: var(--texte-3); }
/* Abonnements aux outils : dit clairement, pour qu'aucun acheteur ne soit surpris (retour de Jérémy, 26/10). */
/* Le coût des abonnements doit se voir avant l'achat (pas de mauvaise surprise, pas de rétractation) :
   encadré à filet ambre, astérisque relié à celui du titre. */
/* Fiche « À prévoir en plus » : un intitulé, la fourchette dessinée (0 € → ~230 €/mois), puis l'explication. */
.cout-outils { margin: 22px 0 0; max-width: 34em; padding: 16px 18px; background: color-mix(in srgb, var(--attention) 6%, var(--surface)); border: 1px solid color-mix(in srgb, var(--attention) 35%, var(--filet)); border-radius: 10px; }
.cout-outils .cout-intitule { display: flex; align-items: baseline; gap: 4px; margin: 0 0 10px; font-size: var(--t-secondaire); font-weight: 600; color: var(--attention); }
.cout-outils .cout-fourchette { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; font-size: var(--t-courant); color: var(--texte-2); font-variant-numeric: tabular-nums; }
.cout-fourchette > span:not(.cout-trait) { white-space: nowrap; }
/* Une colonne de module ne peut pas être élargie par son contenu (à 320 px, la fourchette la poussait hors de l'écran). */
.module.preuves, .module.preuves > div { min-width: 0; }
@media (max-width: 640px) { .module.preuves { grid-template-columns: minmax(0, 1fr); } }
/* Très petits écrans : « à plus de 500 € / mois » passe sous le trait au lieu de déborder. */
@media (max-width: 360px) {
  .cout-outils .cout-fourchette { flex-wrap: wrap; gap: 4px 8px; }
  .cout-outils .cout-fourchette > span:last-child { flex-basis: 100%; }
}
.cout-fourchette strong { color: var(--texte); font-weight: 600; font-size: var(--t-accroche); }
/* Le trait de la fourchette : un départ discret, une arrivée ambre. */
.cout-trait { position: relative; flex: 1; min-width: 32px; height: 2px; background: var(--filet-fort); border-radius: 2px; }
.cout-trait::before, .cout-trait::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
.cout-trait::before { left: 0; background: var(--texte-3); }
.cout-trait::after { right: 0; background: var(--attention); }
.cout-outils .cout-texte { margin: 0; font-size: var(--t-secondaire); line-height: 1.5; color: var(--texte-2); }
.cout-outils a, .note-outils a { color: var(--texte); text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
.asterisque { color: var(--attention); font-weight: 600; text-decoration: none; }
h1 .asterisque { font-size: var(--t-exposant); vertical-align: super; line-height: 0; margin-left: .04em; }
h1 a.asterisque:focus-visible { outline: 2px solid var(--attention); outline-offset: 2px; }
/* La note de l'astérisque du titre, dans le bloc de preuve. */
.note-outils { display: block; margin-top: 14px; padding-left: 14px; border-left: 2px solid var(--attention); font-size: var(--t-secondaire); line-height: 1.5; color: var(--texte-2); }
.note-outils strong { color: var(--texte); }
.note-outils .asterisque { margin-right: 4px; }
@media (max-width: 520px) {
  /* Le viseur prend toute la largeur : en « fit-content », les couvertures en largeur relative tombaient à 0 px. */
  .module .viseur { width: 100%; }
  /* TikTok et YouTube Shorts tiennent sur une ligne à 375 px. */
  .module .clip { padding: 5px 8px; font-size: var(--t-secondaire); }
  .module .clip img { margin-right: 6px; }
  .module .piste { grid-template-columns: 64px minmax(0, 1fr); gap: 8px; }
  .modules-intro { margin-bottom: 28px; font-size: var(--t-courant); }
  .module + .module { margin-top: 28px; padding-top: 24px; }
  .module h3 { font-size: var(--t-carte); }
  .module .module-qui { font-size: var(--t-courant); }
}

/* Programme : une vraie séquence, donc numérotée */
.programme-titre { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 12px 40px; margin-bottom: 36px; }
.programme-titre p { color: var(--texte-2); margin: 0; max-width: 30em; }
/* Les 7 étapes en cartes de timeline : repère 00:0X, titre, contenu, et une barre de progression qui avance
   d'une carte à l'autre (1/7 … 7/7), comme la tête de lecture d'un logiciel de montage. */
/* Aucune case vide : 2 colonnes (la 7e carte prend toute la largeur), puis 4 + 3 sur une grille de 12 (la 2e
   rangée s'élargit pour remplir la ligne). */
.programme { list-style: none; margin: 0; padding: 0; counter-reset: ligne; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.programme li:nth-child(7) { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .programme { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .programme li { grid-column: span 3; }
  .programme li:nth-child(n+5) { grid-column: span 4; }
}
.programme li { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 22px 18px 18px; background: var(--surface); border: 1px solid var(--filet); border-radius: 8px; counter-increment: ligne; overflow: hidden; }
.programme li::after { content: ""; position: absolute; top: 0; left: 0; height: 3px; width: var(--avancee); background: var(--teinte); }
/* Une seule nuance, pas de palette : la barre s'éclaire d'étape en étape, du gris chaud du texte secondaire à
   l'ivoire du texte (une image qui s'expose au fil du montage). « Gagner » est en pleine lumière. */
.programme li:nth-child(1) { --teinte: var(--texte-3); }
.programme li:nth-child(2) { --teinte: color-mix(in srgb, var(--texte) 17%, var(--texte-3)); }
.programme li:nth-child(3) { --teinte: color-mix(in srgb, var(--texte) 33%, var(--texte-3)); }
.programme li:nth-child(4) { --teinte: color-mix(in srgb, var(--texte) 50%, var(--texte-3)); }
.programme li:nth-child(5) { --teinte: color-mix(in srgb, var(--texte) 67%, var(--texte-3)); }
.programme li:nth-child(6) { --teinte: color-mix(in srgb, var(--texte) 83%, var(--texte-3)); }
.programme li:nth-child(7) { --teinte: var(--texte); }
.programme li:nth-child(1) { --avancee: 14.3%; } .programme li:nth-child(2) { --avancee: 28.6%; }
.programme li:nth-child(3) { --avancee: 42.9%; } .programme li:nth-child(4) { --avancee: 57.1%; }
.programme li:nth-child(5) { --avancee: 71.4%; } .programme li:nth-child(6) { --avancee: 85.7%; }
.programme li:nth-child(7) { --avancee: 100%; }
.programme:focus-visible { outline: 2px solid var(--texte); outline-offset: 4px; }
.programme-indice { display: none; }
/* Au téléphone : un ruban qu'on fait glisser (la carte suivante dépasse, ce qui invite à glisser). */
@media (max-width: 640px) {
  .programme { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; margin-inline: -24px; padding: 2px 24px 10px; scroll-padding-inline: 24px; scrollbar-width: none; }
  .programme::-webkit-scrollbar { display: none; }
  .programme li { flex: 0 0 72%; scroll-snap-align: start; }
  .programme-titre .programme-indice { display: block; margin: 0; font-size: var(--t-secondaire); color: var(--texte-3); }
}
/* Les étapes comptées comme un time-code de montage : 00:01, 00:02… */
.programme li::before { content: "00:0" counter(ligne); font-family: var(--etiquette-famille); font-weight: 600; font-size: var(--t-mention); letter-spacing: .06em; color: var(--texte-3); font-variant-numeric: tabular-nums; padding-top: 3px; }
.programme h3 { font-size: var(--t-carte); }
.programme p { margin: 0; color: var(--texte-2); font-size: var(--t-courant); line-height: 1.45; }

/* Équipe : deux spécialités, sans photo ni décor */
.equipe h2 { margin-bottom: 32px; }
.equipe h3 { font-size: var(--t-carte); margin-bottom: 8px; }
.equipe p { margin: 0; color: var(--texte-2); max-width: 30em; }
.equipe .colonnes > div { border-top: 1px solid var(--filet-fort); padding-top: 18px; }
.chiffres-equipe { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
.equipe .chiffres-equipe li { color: var(--texte-2); font-size: var(--t-courant); line-height: 1.45; padding: 0; border: 0; }
.chiffres-equipe strong { color: var(--texte); font-weight: 600; font-variant-numeric: tabular-nums; }

/* Engagements */
.engagements h2 { margin-bottom: 12px; }
.engagements > p { color: var(--texte-2); margin: 0 0 40px; max-width: 34em; }
.colonnes { display: grid; gap: 40px; }
@media (min-width: 760px) { .colonnes { grid-template-columns: 1fr 1fr; gap: 56px; } }
.colonnes h3 { font-size: var(--t-lecture); margin-bottom: 4px; }
.colonnes ul { list-style: none; margin: 0; padding: 0; }
.colonnes li { padding: 14px 0; border-bottom: 1px solid var(--filet); }
/* Les fausses promesses : une seule ligne de citations barrées, pas une liste de plus */
/* « On ne dira jamais » : mêmes lignes que « On promet », pour deux colonnes de même hauteur. */
.jamais li { color: var(--texte-3); text-decoration: line-through; text-decoration-color: var(--texte-3); text-decoration-thickness: 1.5px; }
/* Au téléphone, les colonnes sont empilées : « On ne dira jamais » redevient une ligne compacte (pas de vide à
   équilibrer, et la page reste courte). */
@media (max-width: 759px) {
  .jamais ul { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: 8px; }
  .colonnes .jamais li { border: 0; padding: 0; }
}

/* Suggestion de correction d'adresse (gmial.com → gmail.com) */
.suggestion { margin: 8px 0 0; font-size: var(--t-secondaire); color: var(--texte-2); }
.suggestion button { font: inherit; color: var(--texte); background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Barre d'inscription, téléphone seulement, quand le formulaire n'est plus à l'écran (zone du pouce) */
.barre-mobile { position: fixed; inset: auto 0 0 0; padding: 12px 24px calc(12px + env(safe-area-inset-bottom)); background: var(--fond); border-top: 1px solid var(--filet); z-index: 10; }
.barre-mobile .bouton { margin: 0; }
@media (min-width: 940px) { .barre-mobile { display: none !important; } }
@media (max-width: 939px) { body.avec-barre { padding-bottom: 84px; } }

/* Revenu : un texte, sans décor */
.revenu h2 { margin-bottom: 20px; }
.revenu p { font-size: var(--t-chapo); line-height: 1.6; margin: 0 0 16px; color: var(--texte-2); }
.revenu p:first-of-type { color: var(--texte); }

/* FAQ */
.faq h2 { margin-bottom: 24px; }
/* Sur ordinateur, la FAQ occupe toute la largeur : le titre à gauche (il reste visible), les questions à droite. */
@media (min-width: 900px) {
  main section.faq .etroit { max-width: none; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  section.faq .etroit > h2 { grid-column: 1; grid-row: 1 / span 6; position: sticky; top: 40px; margin: 0; }
  section.faq .etroit > details { grid-column: 2; }
}
details { border-top: 1px solid var(--filet); padding: 18px 0; }
details:last-of-type { border-bottom: 1px solid var(--filet); }
details summary { cursor: pointer; font-weight: 500; font-size: var(--t-accroche); list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--texte-3); font-size: var(--t-carte); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { color: var(--texte-2); margin: 10px 0 0; }

.final h2 { margin-bottom: 8px; }
.final p { color: var(--texte-2); margin: 0; }
.final .bouton { width: auto; margin-top: 24px; padding-inline: 28px; }
/* Dernier appel centré : il ferme la page au lieu de laisser la moitié droite vide. */
section.final { text-align: center; }
.final .bouton { display: inline-flex; }

footer { border-top: 1px solid var(--filet); padding: 28px 0 44px; font-size: var(--t-secondaire); color: var(--texte-3); }
footer .conteneur { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
footer a { padding: 6px 0; display: inline-block; }

/* Pages de texte */
.texte { padding-bottom: 64px; }
.texte h1 { font-size: var(--t-titre-page); margin: 40px 0 12px; }
.texte h2 { font-size: var(--t-carte); margin: 32px 0 8px; }
.texte p, .texte li { color: var(--texte-2); }
.texte dl { display: grid; grid-template-columns: minmax(0, 13em) minmax(0, 1fr); gap: 8px 20px; margin: 0; }
.texte dt { color: var(--texte-3); }
.texte dd { margin: 0; color: var(--texte-2); overflow-wrap: anywhere; }
@media (max-width: 520px) { .texte dl { grid-template-columns: 1fr; gap: 2px; } .texte dd { margin-bottom: 12px; } }
.texte .bouton-ligne { width: auto; color: var(--rec-texte); }
.a-completer { background: rgba(229, 72, 59, .14); color: var(--texte); padding: 0 4px; }

/* ── Mouvement (doctrine Equitra : léger, net, jamais de rebond ; rien si l'utilisateur réduit les animations) ── */
@keyframes entree { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.entree { animation: entree .55s cubic-bezier(.16, 1, .3, 1) both; }
@keyframes secousse { 0%, 100% { transform: translateX(0); } 20% { transform: translateX(-4px); } 40% { transform: translateX(3px); } 60% { transform: translateX(-2px); } 80% { transform: translateX(1px); } }
.secousse { animation: secousse 320ms cubic-bezier(.36, .07, .19, .97); }
/* Attente : le libellé s'efface, trois points battent à sa place (le libellé reste lu par les lecteurs d'écran). */
.bouton.en-cours { position: relative; color: transparent; }
.bouton.en-cours::after { content: "• • •"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--rec-texte); font-size: var(--t-accroche); letter-spacing: 3px; animation: attente 900ms ease-in-out infinite; }
@keyframes attente { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
.heros-texte, .heros .formulaire { animation: entree .55s cubic-bezier(.16, 1, .3, 1) both; }
.heros .formulaire { animation-delay: .08s; }
.barre-mobile:not([hidden]) { animation: entree .35s cubic-bezier(.16, 1, .3, 1) both; }
@media (prefers-reduced-motion: reduce) {
  .entree, .secousse, .heros-texte, .heros .formulaire, .barre-mobile:not([hidden]) { animation: none; }
  .bouton.en-cours::after { animation: none; opacity: 1; }
  .bouton:active, .choix label:active { transform: none; }
}

/* ── Viseur : les coins de cadrage d'une caméra autour de nos vraies vidéos ── */
.viseur { position: relative; width: fit-content; max-width: 100%; padding: 28px 22px 22px; }
.coin { position: absolute; width: 18px; height: 18px; border-color: var(--texte-2); border-style: solid; border-width: 0; }
.coin-hg { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.coin-hd { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.coin-bg { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.coin-bd { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.rec-label { position: absolute; top: 4px; left: 28px; font-family: var(--etiquette-famille); font-weight: 600; font-size: var(--t-mention); letter-spacing: .14em; color: var(--texte-2); display: inline-flex; align-items: center; gap: 6px; }
.rec-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--rec); }
.equipe .chiffres-equipe { margin-top: 14px; }

/* ── Compte à rebours (date fixe, jamais relancée) ── */
.rebours { display: block; margin: 4px 0 0; font-size: var(--t-secondaire); color: var(--texte-2); }
.rebours::before { content: ""; display: inline-block; vertical-align: middle; margin: -2px 8px 0 0; width: 6px; height: 6px; border-radius: 50%; background: var(--texte-2); }
.rebours strong { color: var(--texte); font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* ── Confirmation : une coche qui se dessine, pour que la personne en soit sûre ── */
.confirme { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 6px; }
.confirme h2 { margin-bottom: 4px; }
.coche { flex: none; stroke: var(--ok); margin-top: 2px; }
.page-confirmation .coche { display: block; margin: 40px 0 -16px; }
/* Avertissement spams : le premier e-mail d'un domaine neuf y tombe souvent. */
.note-spams { margin: 8px 0 0; font-size: var(--t-secondaire); line-height: 1.45; color: var(--texte-2); }
.note-spams strong { color: var(--attention); font-weight: 600; }
.panneau .note-spams { margin: 2px 0 0; }
.coche circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: trace .5s cubic-bezier(.65, 0, .45, 1) .05s forwards; }
.coche path { stroke-dasharray: 34; stroke-dashoffset: 34; animation: trace .35s cubic-bezier(.65, 0, .45, 1) .5s forwards; }
@keyframes trace { to { stroke-dashoffset: 0; } }
.intro-questions { margin: 18px 0 12px; padding-top: 18px; border-top: 1px solid var(--filet); color: var(--texte-2); font-size: var(--t-courant); }

/* ── Lien de parrainage ── */
.parrainage { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--filet); }
.parrainage p.champ { margin: 0 0 4px; color: var(--texte); }
.parrainage p.sous { margin: 0 0 12px; }
.lien-perso { display: flex; gap: 8px; }
.lien-perso input { flex: 1; min-width: 0; font: inherit; font-size: var(--t-courant); color: var(--texte-2); background: var(--fond); border: 1px solid var(--filet-fort); border-radius: 4px; padding: 11px 12px; }
.lien-perso .bouton { width: auto; margin: 0; padding: 11px 16px; }

.compteur { display: block; margin-top: 10px; color: var(--texte); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .coche circle, .coche path { animation: none; stroke-dashoffset: 0; }
}

/* ── La chaîne de production, dessinée comme une piste de montage : une ligne par étape, l'outil en « clip ».
      Noms écrits dans notre typographie (pas de logos de marques), décalés comme sur une vraie timeline. ── */
.chaine { position: relative; margin-top: 28px; border-top: 1px solid var(--filet); }
.piste { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--filet); }
.piste-nom { font-family: var(--etiquette-famille); font-weight: 600; font-size: var(--t-mention); letter-spacing: .12em; text-transform: uppercase; color: var(--texte-3); }
.clips { display: flex; flex-wrap: wrap; gap: 6px; }
.clip { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 12px; border-radius: 4px; font-size: var(--t-secondaire); font-weight: 500; color: var(--texte); background: var(--surface); border: 1px solid var(--filet-fort); border-left: 3px solid var(--texte-2); }
.clip-a { margin-left: 0; }
.clip-b { margin-left: 8%; }
.clip-c { margin-left: 18%; }
.clip-d:first-child { margin-left: 30%; }
/* Tête de lecture : un trait fixe qui traverse les pistes, comme dans un logiciel de montage. */
.tete-lecture { position: absolute; top: -6px; bottom: 0; left: calc(84px + 12px + 22%); width: 1.5px; background: var(--texte); opacity: .5; pointer-events: none; }
.tete-lecture::before { content: ""; position: absolute; top: 0; left: -4px; width: 9px; height: 9px; border-radius: 2px; background: var(--texte); }
@media (max-width: 520px) {
  .piste { grid-template-columns: 72px minmax(0, 1fr); }
  .clip-b { margin-left: 4%; } .clip-c { margin-left: 10%; } .clip-d:first-child { margin-left: 0; }
  .tete-lecture { left: calc(72px + 12px + 30%); }
}
/* La tête de lecture passe derrière les clips : le texte reste lisible. */
.clip { position: relative; z-index: 1; }
.tete-lecture { z-index: 0; }
/* Au téléphone, la barre d'inscription fixe porte déjà l'appel final : pas de second bouton identique (règle 17). */
@media (max-width: 939px) { section.final { display: none; } }
@media (max-width: 520px) { .piste { padding: 6px 0; } .clip { min-height: 30px; padding: 5px 10px; } }
/* Logos des outils : monochromes (blanc cassé), petits, collés au nom ; décoratifs, le nom est écrit à côté. */
.clip img { width: 16px; height: 16px; margin-right: 8px; flex: none; }
.mention-marques { margin: 10px 0 0; font-size: var(--t-mention); color: var(--texte-3); }
.modules .mention-marques { margin: 10px 0 0; font-size: var(--t-mention); line-height: 1.45; color: var(--texte-3); }
@media (max-width: 520px) { .chaine { margin-top: 20px; } .piste { padding: 4px 0; } }
@media (max-width: 520px) { section { padding: 38px 0; } }

/* ── Confirmation en étapes ── */
.intro-questions span { display: block; color: var(--texte-3); font-size: var(--t-secondaire); margin-top: 2px; }
.question-libre { border: 0; padding: 0; margin: 0 0 4px; }
.question-libre summary { display: inline-flex; font-weight: 500; font-size: var(--t-courant); color: var(--texte-2); padding: 10px 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
.question-libre summary::after { content: none; }
.question-libre[open] summary { color: var(--texte); }
.question-libre label.champ { margin-top: 6px; }
.lien-passer { display: block; width: 100%; margin-top: 10px; padding: 12px; font: inherit; font-size: var(--t-courant); color: var(--texte-2); background: none; border: 0; cursor: pointer; text-decoration: underline; text-decoration-color: var(--filet-fort); text-underline-offset: 3px; }
.lien-passer:hover { color: var(--texte); }
.parrainage { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--filet); }
.parrainage h3 { font-size: var(--t-carte); margin-bottom: 6px; }
.parrainage .sous { margin: 0 0 14px; }
.merci-reponses { margin: 0 0 14px; color: var(--ok); font-weight: 500; }
.parrainage > .bouton.secondaire { margin-top: 12px; }
@media (max-width: 380px) { .choix { gap: 6px; } .choix label { min-height: 40px; padding: 8px 12px; font-size: var(--t-secondaire); } }

/* ── Les questions en assistant : une question à la fois, choix en grille, rien à faire défiler ── */
.assistant-tete { display: none; }
.assistant-pied { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.assistant-pied .lien-passer { width: auto; margin: 10px 0 0 auto; padding: 12px 4px; }
.lien-retour { margin-top: 10px; padding: 12px 4px; font: inherit; font-size: var(--t-courant); color: var(--texte-2); background: none; border: 0; cursor: pointer; }
.lien-retour:hover { color: var(--texte); }
.assistant .assistant-tete { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-size: var(--t-secondaire); color: var(--texte-3); font-variant-numeric: tabular-nums; white-space: nowrap; }
.assistant-barre { position: relative; flex: 1; height: 3px; border-radius: 3px; background: var(--filet-fort); overflow: hidden; }
.assistant-barre span { position: absolute; inset: 0 auto 0 0; width: 33.4%; background: var(--texte); border-radius: 3px; transition: width .35s cubic-bezier(.16, 1, .3, 1); }
.assistant[data-etape="2"] .assistant-barre span { width: 66.7%; }
.assistant[data-etape="3"] .assistant-barre span { width: 100%; }
/* Le bouton d'envoi et la question libre n'arrivent qu'à la dernière question. */
.assistant:not([data-etape="3"]) #envoyer-profil, .assistant:not([data-etape="3"]) .question-libre { display: none; }
.assistant .choix { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.assistant .choix legend { font-size: var(--t-carte); font-weight: 600; line-height: 1.25; margin-bottom: 14px; }
.assistant .choix label { justify-content: flex-start; min-height: 52px; padding: 12px 14px; border-radius: 12px; line-height: 1.3; }
.assistant .choix-temps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bouton.reussi { background: var(--ok); color: var(--fond); }
@media (max-width: 380px) { .assistant .choix label { min-height: 48px; padding: 10px 12px; } }

/* ── Le panneau : la carte s'agrandit au centre (ordinateur) ou en feuille depuis le bas (téléphone) ── */
.panneau { width: min(620px, 100% - 32px); max-height: calc(100dvh - 32px); margin: auto; padding: 26px 28px 18px; border: 1px solid var(--filet-fort); border-radius: 16px; background: var(--surface); color: var(--texte); overflow-y: auto; transform-origin: top center; }
.panneau::backdrop { background: rgba(8, 9, 10, .82); }
.panneau-titre { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-weight: 600; font-size: var(--t-lecture); color: var(--ok); }
.panneau-titre::before { content: ""; width: 9px; height: 15px; margin: 0 4px -2px 4px; border: solid var(--ok); border-width: 0 2.5px 2.5px 0; transform: translateY(-3px) rotate(45deg); }
.panneau .intro-questions { margin: 0 0 18px; padding-top: 0; border-top: 0; }
.panneau-titre:focus { outline: none; }
/* Pas de vide réservé au message tant qu'il n'y a rien à dire. */
.panneau .message:empty { display: none; }
/* Dans le panneau, l'intro tient dans la ligne de progression (« Question 1 sur 3 · facultatif »). */
.panneau .intro-questions { display: none; }
.panneau .assistant-tete { margin-top: 10px; }
/* Écrans courts (iPhone SE, navigateur intégré de TikTok) : la question 1 et ses 8 choix tiennent sans défiler. */
@media (max-height: 720px) {
  .panneau { padding-top: 16px; }
  .panneau .assistant-tete { margin: 6px 0 12px; }
  .panneau .choix legend { margin-bottom: 10px; font-size: var(--t-accroche); }
  .panneau .choix { gap: 6px; margin-bottom: 8px; }
  .panneau .choix label { min-height: 46px; padding: 8px 12px; }
  .panneau .assistant-pied .lien-passer, .panneau .lien-retour { margin-top: 4px; padding: 10px 4px; }
}
/* Très petits écrans (iPhone SE) : la question 3 et son bouton d'envoi tiennent aussi sans défiler. */
@media (max-height: 600px) {
  .panneau .choix legend span { display: none; }
  .panneau .question-libre summary { padding: 6px 0; }
  .panneau #envoyer-profil { margin-top: 8px; }
  .panneau .panneau-titre { font-size: var(--t-courant); }
  /* La ligne « Confirme ton adresse… regarde dans tes spams » suffit : le titre cède sa place. */
  .panneau .panneau-titre { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .panneau .note-spams { margin-top: 0; }
}
@media (max-width: 640px) {
  .panneau { width: 100%; max-width: 100%; margin: auto 0 0; padding: 22px 18px 14px; border-radius: 18px 18px 0 0; border-bottom: 0; max-height: 94dvh; transform-origin: bottom center; }
}

/* ── Finitions téléphone (26/10). En fin de feuille exprès : aucune règle générale placée plus bas ne peut les
   écraser (piège rencontré quatre fois dans la journée). ── */
@media (max-width: 520px) {
  /* Pistes d'outils : « DIFFUSION » ne touche plus le premier outil. */
  .module .piste { grid-template-columns: 74px minmax(0, 1fr); gap: 8px; }
  .module .piste-nom { letter-spacing: .05em; }
  /* Module repost : le texte prend toute la largeur, puis l'exemple en ligne (vignette + légende à côté). */
  .module:not(.preuves) > div { display: flex; flex-direction: column; }
  .module:not(.preuves) h3 { order: 1; }
  .module:not(.preuves) .module-qui { order: 2; }
  .module:not(.preuves) .exemple { order: 3; float: none; width: auto; display: flex; align-items: center; gap: 14px; margin: 16px 0 4px; }
  .module:not(.preuves) .exemple img { width: 74px; flex: none; }
  .module:not(.preuves) .exemple figcaption { margin: 0; font-size: var(--t-secondaire); line-height: 1.45; }
  .module:not(.preuves) .chaine { order: 4; }
  .module:not(.preuves) .chiffres-equipe { order: 5; }
  /* Barre fixe du bas plus fine : elle prend moins d'écran, la cible du bouton reste à 48 px de haut. */
  .barre-mobile { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
  .barre-mobile .bouton { min-height: 48px; padding-block: 12px; }
  body.avec-barre { padding-bottom: 72px; }
}
/* Panneau ouvert : la page derrière est figée, le défilement reste dans le panneau. */
html.panneau-ouvert, html.panneau-ouvert body { overflow: hidden; }
.panneau { overscroll-behavior: contain; }
