/* La mise en page. Aucune couleur, police ni rayon en dur : tout vient de charte.css. Mobile d'abord. */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; min-height: 100vh;
  background: var(--fond); color: var(--texte);
  font-family: var(--police); font-size: var(--taille-texte); line-height: 1.47;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
::selection { background: var(--pastille-active); color: var(--texte); }
main { margin: 0 auto; padding: calc(var(--espace) * 10) var(--gouttiere) calc(var(--espace) * 20); }
main.etroit { max-width: var(--largeur-etroite); }
main.large { max-width: var(--largeur-large); }

/* Titres : lignes équilibrées ; une phrase par ligne quand un titre ou un chapô en a plusieurs (.ligne). */
h1, h2, h3 { text-wrap: balance; }
.titre-section .ligne, .chapo .ligne, .echeance-note .ligne { display: block; }
/* Jamais un mot seul sur la dernière ligne : les phrases courtes se coupent en lignes de longueur égale.
   Un chapô fait d'une phrase par ligne s'élargit pour que chaque phrase tienne sur une ligne à l'ordinateur. */
.chapo, .chapo .ligne, .echeance-note .ligne, .sous-bouton, .aide, .gain p, .frise-carte p, li, li span, .faq p, .histoire-texte p { text-wrap: balance; }
.chapo:has(.ligne) { max-width: 62ch; }
.chapo .ligne + .ligne, .echeance-note .ligne + .ligne { margin-top: .25em; }
h1, h2, h3, .titre { font-family: var(--police-titre); font-weight: var(--poids-titre); letter-spacing: var(--interlettre-titre); line-height: 1.07; margin: 0 0 calc(var(--espace) * 4); text-wrap: balance; }
h1 { font-size: var(--taille-grand-titre); }
h2 { font-size: var(--taille-titre-2); margin-top: calc(var(--espace) * 10); }
h3 { font-size: var(--taille-titre-4); font-weight: var(--poids-fort); letter-spacing: var(--serre); line-height: 1.2; }
p { margin: 0 0 calc(var(--espace) * 4); text-wrap: pretty; }
li { text-wrap: pretty; }
a { color: var(--lien); text-underline-offset: 0.18em; }
a:hover { text-decoration: underline; }
.doux { color: var(--texte-doux); }
.aide { color: var(--texte-doux); font-size: var(--taille-petit); font-weight: var(--poids-normal); }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.92em; }
:focus-visible { outline: 3px solid var(--bleu); outline-offset: 3px; border-radius: var(--rayon-focus); }

/* --- Boutons --- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: calc(var(--espace) * 2);
  min-height: 48px; padding: 0 calc(var(--espace) * 6); border: 0; border-radius: var(--rayon-bouton);
  background: var(--bouton-fond); color: var(--bouton-texte);
  font: inherit; font-size: var(--taille-texte); font-weight: var(--poids-moyen); letter-spacing: var(--serre-leger); text-decoration: none; cursor: pointer;
  transition: background-color var(--duree) ease, transform var(--duree) var(--courbe);
}
.bouton:hover { background: var(--nuit); text-decoration: none; }
.bouton.degrade { background: var(--degrade); font-weight: var(--poids-fort); }
.bouton.degrade:hover { background: var(--degrade-survol); }
.bouton:active { transform: scale(.98); }
.bouton.grand { min-height: 56px; padding: 0 calc(var(--espace) * 8); font-size: var(--taille-texte); }
.bouton.petit { min-height: 40px; padding: 0 calc(var(--espace) * 4); font-size: var(--taille-aide); }
.bouton.sombre { background: var(--bouton-sombre); }
.bouton.sombre:hover { background: var(--nuit); }
.bouton.secondaire { background: var(--surface); color: var(--texte); box-shadow: inset 0 0 0 1px var(--bordure); }
.bouton.secondaire:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--texte-doux); }
.lien-fleche { color: var(--lien); font-size: var(--taille-texte); text-decoration: none; }
.lien-fleche::after { content: " ›"; }
.lien-fleche:hover { text-decoration: underline; }
.lien { background: none; border: 0; padding: 0; font: inherit; color: var(--texte-doux); cursor: pointer; text-decoration: none; min-height: 44px; }
.lien:hover { color: var(--texte); }
.lien.danger { color: var(--danger); text-decoration: underline; }

/* --- En-tête de son espace : la même pilule en verre que le menu de la page de vente ---
   Le symbole et « Human Optimizer » à gauche, le menu au milieu (ordinateur), les raccourcis et la sortie à droite.
   Au téléphone, le menu passe dans la barre du bas ; la pilule du haut garde le logo, Dispos, Réglages et la sortie. */
.entete {
  position: sticky; top: 12px; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: calc(var(--espace) * 3);
  width: calc(100% - 24px); max-width: max-content; margin: 12px auto 0; min-height: 52px; padding: 6px 6px 6px 18px;
  border-radius: var(--rayon-bouton);
  background: var(--verre); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--ombre-menu);
}
@media (max-width: 1099px) { .entete { max-width: none; } }
.entete .marque { color: var(--texte); text-decoration: none; font-size: var(--taille-aide); font-weight: var(--poids-fort); letter-spacing: var(--serre-leger); white-space: nowrap; }
.entete .marque:hover { text-decoration: none; }
/* Le symbole du logo devant le nom : il prend la couleur du texte et suit sa taille. */
.symbole { width: 1.25em; height: 1.25em; fill: currentColor; flex: none; }
.entete .marque, .menu .nom { display: inline-flex; align-items: center; gap: 0.4em; }
.entete .outils { display: flex; align-items: center; gap: var(--espace); }
.entete nav a, .raccourci { color: var(--texte-doux); text-decoration: none; font-size: var(--taille-petit); border-radius: var(--rayon-bouton); white-space: nowrap; }
.entete nav a:hover, .raccourci:hover { color: var(--texte); background: var(--surface-2); text-decoration: none; }
.entete nav a[aria-current="page"], .raccourci[aria-current="page"] { color: var(--texte); background: var(--pastille-active); font-weight: var(--poids-fort); }
.entete form { margin: 0; }
.sortie, .raccourci { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: none; color: var(--texte-doux); cursor: pointer; }
.sortie:hover { background: var(--surface-2); color: var(--texte); }
.sortie svg, .raccourci svg, .cale-coche svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: var(--icone-trait); stroke-linecap: round; stroke-linejoin: round; }

/* --- Formulaires --- */
.pile { display: flex; flex-direction: column; gap: calc(var(--espace) * 5); }
label { display: flex; flex-direction: column; gap: calc(var(--espace) * 2); font-weight: var(--poids-fort); font-size: var(--taille-aide); }
input, textarea {
  font: inherit; font-size: max(16px, var(--taille-texte)); font-weight: var(--poids-normal); color: var(--texte);
  background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--rayon-champ);
  padding: calc(var(--espace) * 3) calc(var(--espace) * 4); min-height: 52px; width: 100%;
  transition: border-color var(--duree-rapide) ease, box-shadow var(--duree-rapide) ease;
}
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: var(--texte-doux); }
.libelle { display: flex; align-items: baseline; justify-content: space-between; gap: calc(var(--espace) * 2); }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--bleu); box-shadow: 0 0 0 4px var(--bleu-fond); }
fieldset.choix { border: 0; padding: 0; margin: 0; display: grid; gap: calc(var(--espace) * 2); }
fieldset.choix legend { font-weight: var(--poids-fort); font-size: var(--taille-aide); margin-bottom: calc(var(--espace) * 2); padding: 0; }
.option { flex-direction: row; align-items: center; gap: calc(var(--espace) * 3); font-weight: var(--poids-normal); font-size: var(--taille-texte); background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--rayon-champ); padding: calc(var(--espace) * 3) calc(var(--espace) * 4); min-height: 52px; cursor: pointer; transition: border-color var(--duree-rapide) ease, background-color var(--duree-rapide) ease; }
.option input { width: 20px; height: 20px; min-height: 0; margin: 0; padding: 0; flex: none; accent-color: var(--bleu); }
.option:has(input:checked) { background: var(--bleu-fond); border-color: var(--bleu); }
.option.case { align-items: flex-start; font-size: var(--taille-aide); }
.piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* --- Messages --- */
.message { padding: calc(var(--espace) * 3) calc(var(--espace) * 4); border-radius: var(--rayon-champ); background: var(--surface-2); font-size: var(--taille-aide); }
.message.erreur { color: var(--danger); background: var(--fond-danger); }
.message.info { color: var(--succes); background: var(--fond-succes); }
.message.alerte { color: var(--alerte); background: var(--alerte-fond); }

/* --- Groupes (listes façon réglages d'iPhone) et cartes --- */
.groupe { list-style: none; margin: 0 0 calc(var(--espace) * 3); padding: 0; background: var(--surface-2); border-radius: var(--rayon-groupe); }
.groupe > li { padding: calc(var(--espace) * 4) var(--gouttiere); border-bottom: 1px solid var(--surface-3); }
.groupe > li:last-child { border-bottom: 0; }
.groupe.texte { padding: calc(var(--espace) * 6) var(--gouttiere); }
.groupe.texte > :last-child { margin-bottom: 0; }
.carte { background: var(--surface-2); border-radius: var(--rayon-groupe); padding: calc(var(--espace) * 6) var(--gouttiere); margin-bottom: calc(var(--espace) * 5); }
.carte h2 { margin-top: 0; }
.cle { padding: calc(var(--espace) * 5) 0; border-top: 1px solid var(--surface-3); }
.cle:first-of-type { border-top: 0; }
.cle .aide { margin: calc(var(--espace) * 2) 0; }
.etat { font-size: var(--taille-mini); font-weight: var(--poids-normal); color: var(--texte-doux); }
.etat.oui { color: var(--succes); }
.actions { display: flex; align-items: center; gap: calc(var(--espace) * 4); }

/* Double authentification */
.etapes { padding-left: calc(var(--espace) * 5); display: grid; gap: calc(var(--espace) * 3); margin: 0 0 calc(var(--espace) * 6); }
.secret { display: inline-block; margin-top: calc(var(--espace) * 2); padding: calc(var(--espace) * 2) calc(var(--espace) * 3); background: var(--surface-2); border-radius: var(--rayon-champ); word-break: break-all; letter-spacing: 0.05em; font-variant-numeric: tabular-nums; }
.codes { columns: 2; padding-left: calc(var(--espace) * 6); margin: 0 0 calc(var(--espace) * 6); font-size: var(--taille-texte); }
.codes li { margin-bottom: calc(var(--espace) * 2); }

/* --- Pages publiques étroites (candidature, réservation) --- */
.marque-texte { font-weight: var(--poids-fort); letter-spacing: var(--serre-leger); margin-bottom: calc(var(--espace) * 8); }
.marque-texte a { color: var(--texte); text-decoration: none; }
.gros { font-size: var(--taille-titre-4); font-weight: var(--poids-fort); letter-spacing: var(--serre); }
.a-completer { display: inline-block; background: var(--alerte-fond); color: var(--alerte); border-radius: var(--rayon-champ); padding: calc(var(--espace) * 1) calc(var(--espace) * 3); font-weight: var(--poids-moyen); font-size: var(--taille-aide); letter-spacing: 0; }

/* Créneaux */
.jour h3 { font-size: var(--taille-texte); margin-top: calc(var(--espace) * 6); }
.jour h3::first-letter { text-transform: uppercase; }
.creneaux { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: calc(var(--espace) * 2); }
.creneau { font: inherit; font-size: var(--taille-champ); font-weight: var(--poids-moyen); min-height: 48px; border: 1px solid var(--bordure); background: var(--surface); color: var(--texte); border-radius: var(--rayon-bouton); cursor: pointer; font-variant-numeric: tabular-nums; transition: border-color var(--duree-rapide) ease, background-color var(--duree-rapide) ease; }
.creneau:hover { border-color: var(--bleu); background: var(--bleu-fond); }
details.changer { margin: calc(var(--espace) * 6) 0; }
details.changer > summary { list-style: none; width: 100%; }
details.changer > summary::-webkit-details-marker { display: none; }
details.changer[open] > summary { margin-bottom: calc(var(--espace) * 4); }

/* =========================================================================
   La page de vente (Persuade). Centrée, aérée, bandes blanches et grises.
   ========================================================================= */
main.vente { max-width: none; padding: 0; }
.bande { padding: calc(var(--espace) * 24) var(--gouttiere); overflow-x: clip; }
.bande.gris { background: var(--fond-gris); }
.cadre { max-width: var(--largeur-page); margin: 0 auto; }
.centre { text-align: center; }
.centre .chapo { margin-left: auto; margin-right: auto; }
.haut .geant { max-width: 20ch; font-size: var(--taille-titre-haut); }
.haut .chapo { max-width: 44ch; }
.haut .geant .ligne { display: block; text-wrap: balance; }

/* Menu en pilule flottante */
.menu {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 20;
  display: flex; align-items: center; gap: calc(var(--espace) * 6);
  padding: 6px 6px 6px 20px; border-radius: var(--rayon-bouton);
  background: var(--verre); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: var(--ombre-menu);
  white-space: nowrap; max-width: calc(100vw - 24px);
}
.menu .nom { color: var(--texte); font-weight: var(--poids-fort); text-decoration: none; letter-spacing: var(--serre-leger); font-size: var(--taille-aide); }
.menu .liens { display: none; gap: calc(var(--espace) * 6); }
.menu .liens a { color: var(--texte-doux); text-decoration: none; font-size: var(--taille-petit); }
.menu .liens a:hover { color: var(--texte); }
.menu .bouton { position: relative; min-height: 36px; padding: 0 calc(var(--espace) * 4); font-size: var(--taille-petit); }

/* Le haut : titre géant, vidéo, action */
.haut { padding-top: calc(var(--espace) * 32); padding-bottom: calc(var(--espace) * 16); }
.geant { font-size: var(--taille-geant); font-weight: var(--poids-titre); letter-spacing: var(--serre-geant); line-height: 1.02; margin: 0 auto calc(var(--espace) * 6); max-width: 13ch; }
.chapo { font-size: var(--taille-chapo); line-height: 1.38; color: var(--texte-doux); max-width: 36ch; letter-spacing: var(--serre-leger); }
.chapo strong { color: var(--texte); font-weight: var(--poids-fort); }
.actions-haut { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: calc(var(--espace) * 4) calc(var(--espace) * 7); margin-top: calc(var(--espace) * 8); }
.preuve { margin-top: calc(var(--espace) * 5); font-size: var(--taille-petit); color: var(--texte-doux); }

.video {
  position: relative; max-width: var(--largeur-page); margin: calc(var(--espace) * 14) auto 0;
  aspect-ratio: 16 / 9; border-radius: var(--rayon-plaque); background: var(--nuit); overflow: hidden;
  box-shadow: var(--ombre-video);
  display: grid; place-items: center; color: var(--bouton-texte);
}
.video .lecture { width: 84px; height: 84px; border-radius: 50%; background: var(--blanc-voile); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: grid; place-items: center; }
.video .lecture svg { width: 30px; height: 30px; fill: var(--bouton-texte); margin-left: 5px; }
.video .video .a-completer { position: absolute; top: calc(var(--espace) * 4); left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); font-size: var(--taille-mini); text-align: center; }
@media (max-width: 759px) { .video .legende { display: none; } .video .lecture { width: 64px; height: 64px; } }

/* Titres de section */
.titre-section { font-size: var(--taille-titre-section); font-weight: var(--poids-titre); letter-spacing: var(--serre-titre); line-height: 1.06; margin: 0 auto calc(var(--espace) * 5); max-width: 18ch; }
.centre .titre-section { margin-left: auto; margin-right: auto; }

/* Le test de neurotype : deux profils face à face */
.test-action { margin-top: calc(var(--espace) * 12); display: flex; flex-direction: column; align-items: center; gap: calc(var(--espace) * 3); }

/* La méthode : texte et téléphones */
@media (min-width: 760px) { .telephones { height: 560px; } }
.telephone {
  position: absolute; top: 0; width: 248px; height: 520px; --bord: 10px; border-radius: var(--rayon-telephone); background: var(--nuit); padding: var(--bord);
  box-shadow: var(--ombre-telephone);
}
.telephone .ecran { height: 100%; border-radius: calc(var(--rayon-telephone) - var(--bord)); background: var(--fond-gris); padding: 44px 16px 16px; overflow: hidden; }
:is(.telephone, .ecran-mini) .surtitre { font-size: var(--taille-micro); color: var(--texte-doux); margin-bottom: 2px; }
:is(.telephone, .ecran-mini) .titre-ecran { font-size: var(--taille-titre-4); font-weight: var(--poids-titre); letter-spacing: var(--serre-titre); line-height: 1.1; margin-bottom: 14px; }
:is(.telephone, .ecran-mini) .ligne-ecran { background: var(--surface); border-radius: var(--rayon-champ); padding: 11px 12px; margin-bottom: 8px; font-size: var(--taille-mini); display: flex; justify-content: space-between; gap: 8px; }
:is(.telephone, .ecran-mini) .ligne-ecran.active { background: var(--bouton-sombre); color: var(--bouton-texte); }
:is(.telephone, .ecran-mini) .ligne-ecran em { font-style: normal; color: var(--texte-doux); font-variant-numeric: tabular-nums; }
:is(.telephone, .ecran-mini) .ligne-ecran.active em { color: var(--surface-3); }
:is(.telephone, .ecran-mini) .jauge { height: 8px; border-radius: var(--rayon-bouton); background: var(--surface-3); margin: 6px 0 14px; overflow: hidden; }
:is(.telephone, .ecran-mini) .jauge i { display: block; height: 100%; border-radius: var(--rayon-bouton); background: var(--accent); }
:is(.telephone, .ecran-mini) .jauge.j1 i { width: 82%; } .telephone .jauge.j2 i { width: 58%; } .telephone .jauge.j3 i { width: 34%; } .telephone .jauge.j4 i { width: 22%; } .telephone .jauge.j5 i { width: 12%; }
:is(.telephone, .ecran-mini) .nom-jauge { font-size: var(--taille-micro); display: flex; justify-content: space-between; }
:is(.telephone, .ecran-mini) .nom-jauge em { font-style: normal; color: var(--texte-doux); }

/* La phrase 80/20 */
.phrase { font-size: var(--taille-phrase); font-weight: var(--poids-titre); letter-spacing: var(--serre-titre); line-height: 1.1; max-width: 20ch; margin: 0 auto; }
.phrase span { display: block; white-space: nowrap; }
.phrase .l3 { color: var(--accent); }



/* Résultats, pour qui, questions */
.temoins { display: grid; gap: calc(var(--espace) * 4); margin-top: calc(var(--espace) * 12); text-align: left; }
.temoin { background: var(--surface-2); border-radius: var(--rayon-plaque); padding: calc(var(--espace) * 8) calc(var(--espace) * 7); }
.bande.gris .temoin { background: var(--surface); }
.temoin h3 { font-size: var(--taille-titre-3); }
.cible { display: grid; gap: calc(var(--espace) * 10); margin-top: calc(var(--espace) * 12); text-align: left; }
.cible h3 { font-size: var(--taille-titre-3); }
.cible ul { list-style: none; padding: 0; margin: 0; }
.cible li { padding: calc(var(--espace) * 4) 0; border-top: 1px solid var(--filet); color: var(--texte-doux); }
.cible li strong { color: var(--texte); font-weight: var(--poids-fort); }
.faq { max-width: 760px; margin: calc(var(--espace) * 12) auto 0; text-align: left; }
.faq details { border-top: 1px solid var(--bordure); }
.faq details:last-child { border-bottom: 1px solid var(--bordure); }
.faq summary { list-style: none; cursor: pointer; padding: calc(var(--espace) * 6) 40px calc(var(--espace) * 6) 0; font-size: var(--taille-titre-4); font-weight: var(--poids-fort); letter-spacing: var(--serre); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: var(--taille-titre-2); font-weight: var(--poids-leger); color: var(--texte-doux); transition: transform var(--duree) ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--texte-doux); padding-bottom: calc(var(--espace) * 6); margin: 0; }
.pied { padding: calc(var(--espace) * 10) var(--gouttiere); border-top: 1px solid var(--filet); font-size: var(--taille-mini); color: var(--texte-doux); }
.pied .cadre { display: flex; flex-wrap: wrap; justify-content: space-between; gap: calc(var(--espace) * 3); }
.pied nav { display: flex; gap: calc(var(--espace) * 5); flex-wrap: wrap; }
.pied a { color: var(--texte-doux); text-decoration: none; }
.pied a:hover { color: var(--texte); text-decoration: underline; }

@media (min-width: 760px) {
  .menu .liens { display: flex; }
  .temoins, .cible { grid-template-columns: 1fr 1fr; }
  .bande { padding: calc(var(--espace) * 32) var(--gouttiere); }
}
@media (min-width: 980px) {
  .haut { padding-top: calc(var(--espace) * 40); }
}

/* Téléphones dessinés : plus petits sur mobile (placé en dernier pour passer après les règles de base) */
@media (max-width: 759px) {
  .telephone { width: 178px; height: 374px; --rayon-telephone: calc(var(--rayon-telephone-base) * .78); --bord: 8px; }
  .telephone .ecran { padding: 30px 12px 12px; }
  .telephone .titre-ecran { font-size: var(--taille-texte); }
  .telephone .ligne-ecran { padding: 9px 10px; font-size: var(--taille-micro); }
}


/* --- Ambiance : halos gris métal, photo d'Alex --- */
.haut, .candidature { position: relative; isolation: isolate; }
.halo { position: absolute; inset: -10% -20% auto; height: 760px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 50% at 30% 40%, var(--halo-1), transparent 70%), radial-gradient(40% 50% at 72% 30%, var(--halo-2), transparent 70%); filter: blur(10px); }
.halo.bas { top: auto; bottom: 0; }
.signature { display: inline-flex; align-items: center; gap: calc(var(--espace) * 3); padding: 4px 16px 4px 4px; border-radius: var(--rayon-bouton); background: var(--surface); box-shadow: var(--ombre-menu); font-size: var(--taille-petit); font-weight: var(--poids-moyen); margin-bottom: calc(var(--espace) * 8); }
.signature img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.video .lecture { background: var(--degrade); }

/* --- La candidature dans la page --- */
.carte-formulaire { max-width: 720px; margin: calc(var(--espace) * 12) auto 0; background: var(--surface); border-radius: var(--rayon-plaque); padding: calc(var(--espace) * 8) var(--gouttiere); box-shadow: var(--ombre-douce); text-align: left; }
.duo { display: grid; gap: calc(var(--espace) * 5); }
.puces { display: flex; flex-wrap: wrap; gap: calc(var(--espace) * 2); }
.puces .option { border-radius: var(--rayon-bouton); min-height: 44px; padding: calc(var(--espace) * 2) calc(var(--espace) * 4) calc(var(--espace) * 2) calc(var(--espace) * 3); font-size: var(--taille-aide); }
.formulaire .bouton { width: 100%; }
.formulaire .centre { text-align: center; margin: 0; }
@media (min-width: 640px) { .duo { grid-template-columns: 1fr 1fr; } .carte-formulaire { padding: calc(var(--espace) * 12); } }

/* --- La bulle WhatsApp --- */
.bulle-whatsapp { position: fixed; right: 16px; bottom: 16px; z-index: 30; display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 16px; border-radius: var(--rayon-bouton); background: var(--whatsapp); color: var(--whatsapp-texte); text-decoration: none; font-weight: var(--poids-fort); font-size: var(--taille-aide); box-shadow: var(--ombre-telephone); transition: transform var(--duree) var(--courbe); }
.bulle-whatsapp:hover { transform: translateY(-2px); text-decoration: none; }
.bulle-whatsapp svg { width: 28px; height: 28px; fill: var(--bouton-texte); flex: none; } /* le logo reste blanc, comme chez WhatsApp ; le texte passe en foncé */
.bulle-texte { display: none; }
@media (min-width: 760px) { .bulle-texte { display: inline; } .bulle-whatsapp { right: 24px; bottom: 24px; padding: 0 20px 0 14px; } }

/* Écrans du téléphone */
.champ-ecran { background: var(--surface); border-radius: var(--rayon-champ); padding: 12px; font-size: var(--taille-mini); margin-bottom: 8px; border: 1px solid var(--filet); }
.bouton-ecran { background: var(--degrade); color: var(--bouton-texte); border-radius: var(--rayon-bouton); text-align: center; padding: 11px; font-size: var(--taille-petit); font-weight: var(--poids-fort); margin-top: 14px; }
.grille-ecran { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.grille-ecran span { background: var(--surface); border-radius: var(--rayon-bouton); text-align: center; padding: 10px 0; font-size: var(--taille-mini); font-weight: var(--poids-moyen); }
.grille-ecran .pris { color: var(--texte-pale); text-decoration: line-through; }
.grille-ecran .choisi { background: var(--bouton-sombre); color: var(--bouton-texte); }
.cycle-ecran { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; margin-bottom: 14px; }
.cycle-ecran i { height: 34px; border-radius: var(--rayon-bouton); background: var(--surface-3); }
.cycle-ecran i.b1 { background: var(--pastille-active); } .cycle-ecran i.b2 { background: var(--accent); opacity: .55; } .cycle-ecran i.b3 { background: var(--surface-3); }
.cycle-ecran i.ici { opacity: 1; box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }
:is(.telephone, .ecran-mini) .ligne-ecran.fait em { color: var(--succes); font-weight: var(--poids-fort); }

/* --- Vente : le profil venu du test, ce qu'on a en 6 mois, l'histoire d'Alex, la garantie --- */
.profil-venu { max-width: 520px; margin: calc(var(--espace) * 6) auto 0; padding: calc(var(--espace) * 4) calc(var(--espace) * 5); border-radius: var(--rayon-bloc); background: var(--fond-gris); }
.profil-venu-type { font-weight: var(--poids-fort); color: var(--texte); margin: 0 0 calc(var(--espace) * 1); }
.profil-venu-texte { font-size: var(--taille-aide); color: var(--texte-doux); margin: 0; }
.gains { display: grid; gap: calc(var(--espace) * 4); margin-top: calc(var(--espace) * 12); text-align: left; }
.gain { background: var(--surface); border-radius: var(--rayon-plaque); padding: calc(var(--espace) * 8) calc(var(--espace) * 7); box-shadow: var(--ombre-douce); }
.gain-num { font-size: var(--taille-chiffre); font-weight: var(--poids-titre); letter-spacing: var(--serre-geant); line-height: 1; margin-bottom: calc(var(--espace) * 4); }
.gain h3 { font-size: var(--taille-titre-3); margin-bottom: calc(var(--espace) * 3); }
.gain p { color: var(--texte-doux); margin: 0; }
.apres-gains { margin: calc(var(--espace) * 10) auto 0; }
.histoire { display: grid; gap: calc(var(--espace) * 10); align-items: center; }
.avant-apres { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--espace) * 5) calc(var(--espace) * 2); }
.avant-apres figure { margin: 0; }
.avant-apres img { display: block; width: 100%; height: auto; border-radius: var(--rayon-groupe); background: var(--fond-gris); }
.avant-apres figcaption { display: grid; margin-top: calc(var(--espace) * 2); line-height: 1.25; }
.avant-apres figcaption b { font-size: var(--taille-texte); font-weight: var(--poids-titre); letter-spacing: var(--serre); }
.avant-apres figcaption span { font-size: var(--taille-petit); color: var(--texte-doux); }
.histoire-texte .titre-section { margin: 0 0 calc(var(--espace) * 5); }
.histoire-texte .chapo { margin: 0 0 calc(var(--espace) * 5); }
.histoire-texte p:not(.chapo) { color: var(--texte-doux); }
/* La garantie, sur toute la largeur, sans fond (Alex, 22/11/2026) : deux moitiés côte à côte, séparées d'un filet. */
#garantie .titre-section { margin-bottom: calc(var(--espace) * 4); }
.moities { display: grid; grid-template-columns: 1fr 1fr; max-width: var(--largeur-page); margin: calc(var(--espace) * 12) auto 0; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.moitie { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; justify-items: center; padding: calc(var(--espace) * 10) calc(var(--espace) * 3); } /* les deux colonnes alignées ligne à ligne */
.moitie + .moitie { border-left: 1px solid var(--filet); }
.moitie p { margin: 0; }
.moitie-quand { display: inline-flex; align-items: center; gap: calc(var(--espace) * 2); font-size: var(--taille-petit); font-weight: var(--poids-fort); color: var(--texte-doux); }
.moitie-chiffre { font-size: clamp(56px, 12vw, 140px); font-weight: var(--poids-titre); letter-spacing: var(--serre-geant); line-height: 1; margin: calc(var(--espace) * 3) 0 !important; }
.moitie-quoi { color: var(--texte-doux); }
.moitie.resultat .moitie-chiffre { color: var(--succes); }
.moitie-coche { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--succes); color: var(--bouton-texte); }
.moitie-coche svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.echeance-note { max-width: 62ch; margin: calc(var(--espace) * 10) auto calc(var(--espace) * 8); color: var(--texte-doux); font-size: var(--taille-aide); }

/* Cartes côte à côte : le chiffre, le titre et le texte de chaque carte sur les mêmes lignes (Alex, 22/11/2026). */
@media (min-width: 760px) { .gains { grid-template-columns: repeat(3, 1fr); } .gain { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: 0; align-content: start; } }
@media (min-width: 900px) { .histoire { grid-template-columns: .8fr 1fr; gap: calc(var(--espace) * 16); } }

/* --- Les étapes : la frise verticale (choix d'Alex, 22/11/2026, sur le modèle d'AC Agency) ---
   Une ligne à gauche qui se remplit en noir quand on descend, un point par étape qui s'allume.
   Sans JavaScript : tout est allumé. Au téléphone, des cartes courtes ; à l'ordinateur, l'écran de l'étape à côté. */
.etapes { padding: calc(var(--espace) * 24) var(--gouttiere); }
.frise { list-style: none; position: relative; max-width: 820px; margin: calc(var(--espace) * 12) auto 0; padding: 0 0 0 48px; text-align: left; }
.frise::before, .frise::after { content: ""; position: absolute; left: 15px; top: 16px; width: 2px; border-radius: var(--rayon-bouton); }
.frise::before { bottom: 16px; background: var(--surface-3); }
.frise::after { height: var(--rempli, calc(100% - 32px)); max-height: calc(100% - 32px); background: var(--texte); }
.frise-etape { position: relative; padding-bottom: calc(var(--espace) * 10); }
.frise-etape:last-child { padding-bottom: 0; }
.frise-point { position: absolute; left: -48px; top: 0; z-index: 1; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--texte); }
.frise-point::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--fond); }
.frise-num { font-size: var(--taille-titre-etape); font-weight: var(--poids-titre); letter-spacing: var(--serre-titre); line-height: 32px; margin: 0 0 calc(var(--espace) * 4); }
.frise-carte { background: var(--surface); border-radius: var(--rayon-groupe); box-shadow: var(--ombre-douce); padding: calc(var(--espace) * 6); }
.frise-carte h3 { font-size: var(--taille-titre-4); letter-spacing: var(--serre); margin: 0 0 calc(var(--espace) * 2); }
.frise-carte p { color: var(--texte-doux); margin: 0; }
.ecran-mini { display: none; }
.frise.vivante .frise-etape:not(.atteinte) .frise-point { background: var(--fond); box-shadow: inset 0 0 0 2px var(--surface-3); }
.frise.vivante .frise-etape:not(.atteinte) .frise-point::after { background: var(--surface-3); }
.frise.vivante .frise-etape:not(.atteinte) .frise-num { color: var(--texte-pale); }
.frise.vivante .frise-etape:not(.atteinte) .frise-carte { opacity: .45; }
.frise-point, .frise-point::after, .frise-num, .frise-carte { transition: background-color var(--duree) var(--courbe), box-shadow var(--duree) var(--courbe), color var(--duree) var(--courbe), opacity var(--duree-lente) var(--courbe); }
@media (prefers-reduced-motion: reduce) { .frise-point, .frise-point::after, .frise-num, .frise-carte { transition: none; } }
@media (min-width: 760px) {
  .frise { padding-left: 64px; }
  .frise-point { left: -64px; }
  .frise-carte { display: grid; grid-template-columns: 1fr 230px; align-items: center; gap: calc(var(--espace) * 10); padding: calc(var(--espace) * 8) calc(var(--espace) * 10); }
  .frise-carte p { font-size: var(--taille-lead); }
  .ecran-mini { display: block; height: 250px; overflow: hidden; border-radius: var(--rayon-bloc); background: var(--fond-gris); padding: 18px 14px; }
}

/* --- Le Bilan neurotype --- */
.bilan-intro, .resultat-bilan { max-width: 720px; margin: calc(var(--espace) * 12) auto 0; background: var(--surface); border-radius: var(--rayon-plaque); padding: calc(var(--espace) * 8) var(--gouttiere); box-shadow: var(--ombre-douce); text-align: left; }
.bilan-intro h3 { font-size: var(--taille-titre-3); letter-spacing: var(--serre); }
.bilan-intro > p { color: var(--texte-doux); }
.regles { padding-left: calc(var(--espace) * 5); margin: 0 0 calc(var(--espace) * 8); display: grid; gap: calc(var(--espace) * 2); color: var(--texte-doux); }
.bilan-intro .bouton { width: 100%; }
.bilan-intro .aide { margin: calc(var(--espace) * 3) 0 0; text-align: center; }
html.bilan-ouvert { overflow: hidden; }
.bilan-ecran { position: fixed; inset: 0; z-index: 50; background: var(--fond); display: flex; flex-direction: column; padding: max(12px, env(safe-area-inset-top)) var(--gouttiere) max(16px, env(safe-area-inset-bottom)); }
.bilan-haut { display: flex; justify-content: space-between; align-items: center; gap: calc(var(--espace) * 3); max-width: 720px; width: 100%; margin: 0 auto; min-height: 44px; }
.bilan-haut button { font: inherit; font-size: var(--taille-aide); background: none; border: 0; color: var(--texte-doux); cursor: pointer; min-height: 44px; padding: 0 4px; }
.bilan-haut button:hover { color: var(--texte); }
.bilan-compteur { font-size: var(--taille-petit); font-weight: var(--poids-fort); color: var(--texte-doux); font-variant-numeric: tabular-nums; }
.bilan-barre { max-width: 720px; width: 100%; margin: calc(var(--espace) * 2) auto 0; height: 6px; border-radius: var(--rayon-bouton); background: var(--surface-3); overflow: hidden; }
.bilan-barre i { display: block; height: 100%; background: var(--degrade); transform-origin: left; transform: scaleX(0); transition: transform var(--duree) var(--courbe); }
.bilan-scene { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 720px; width: 100%; margin: 0 auto; overflow-y: auto; padding: calc(var(--espace) * 6) 0; }
.bilan-scene.entre > * { animation: question-entre var(--duree) var(--courbe); }
@keyframes question-entre { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .bilan-scene.entre > * { animation: none; } }
.bilan-section { font-size: var(--taille-petit); font-weight: var(--poids-fort); color: var(--accent); margin-bottom: calc(var(--espace) * 3); }
.bilan-texte { font-size: var(--taille-question); font-weight: var(--poids-titre); letter-spacing: var(--serre-titre); line-height: 1.15; margin-bottom: calc(var(--espace) * 10); text-wrap: balance; }
.bilan-vf { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--espace) * 3); }
.bilan-echelle { display: grid; grid-template-columns: repeat(5, 1fr); gap: calc(var(--espace) * 2); }
.bilan-choix { font: inherit; font-size: var(--taille-titre-4); font-weight: var(--poids-fort); min-height: 64px; border-radius: var(--rayon-bloc); border: 1px solid var(--bordure); background: var(--surface); color: var(--texte); cursor: pointer; transition: background-color var(--duree-rapide) ease, border-color var(--duree-rapide) ease, transform var(--duree-rapide) ease; }
.bilan-choix:hover { border-color: var(--bleu); }
.bilan-choix:active { transform: scale(.97); }
.bilan-options { display: grid; gap: calc(var(--espace) * 3); }
.bilan-options .bilan-choix { width: 100%; min-height: 56px; padding: 0 calc(var(--espace) * 5); font-size: var(--taille-texte); text-align: left; }
.bilan-choix.choisi { background: var(--bouton-sombre); border-color: var(--bouton-sombre); color: var(--bouton-texte); }
.bilan-echelle-legende { display: flex; justify-content: space-between; font-size: var(--taille-mini); color: var(--texte-doux); margin-top: calc(var(--espace) * 2); }
.bilan-portail { text-align: left; }
.bilan-question { text-align: center; }
.bilan-ecran { text-align: left; }
.bilan-portail h3 { font-size: var(--taille-question); letter-spacing: var(--serre-titre); margin: 0; }
.bilan-portail .doux { margin: 0; }
.resultat-bilan .etiquette { font-size: var(--taille-petit); font-weight: var(--poids-fort); color: var(--accent); margin-bottom: calc(var(--espace) * 1); }
.resultat-bilan .titre-section { margin: 0; max-width: none; }
.resultat-nom { font-size: var(--taille-titre-4); color: var(--texte-doux); margin-bottom: calc(var(--espace) * 6); }
.mesures { display: grid; gap: calc(var(--espace) * 3); margin-bottom: calc(var(--espace) * 6); }
.mesure { display: grid; grid-template-columns: 110px 1fr 52px; align-items: center; gap: calc(var(--espace) * 3); font-size: var(--taille-petit); }
.mesure-barre { height: 10px; border-radius: var(--rayon-bouton); background: var(--surface-3); overflow: hidden; }
.mesure-barre i { display: block; height: 100%; border-radius: var(--rayon-bouton); background: var(--degrade); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--courbe); }
.mesure-pct { text-align: right; font-weight: var(--poids-fort); font-variant-numeric: tabular-nums; }
.resultat-bilan h4 { font-size: var(--taille-texte); font-weight: var(--poids-fort); margin: calc(var(--espace) * 7) 0 calc(var(--espace) * 2); }
.resultat-bilan p { color: var(--texte-doux); }
.resultat-bilan p.appui + p.appui { margin-top: calc(var(--espace) * -2); }
.resultat-bilan .appui { background: var(--pastille-active); color: var(--texte); border-radius: var(--rayon-champ); padding: calc(var(--espace) * 3) calc(var(--espace) * 4); font-size: var(--taille-champ); }
.verrou { margin: calc(var(--espace) * 8) 0 calc(var(--espace) * 4); padding: calc(var(--espace) * 6); border-radius: var(--rayon-bloc); background: var(--fond-gris); text-align: center; }
.verrou h4 { margin-top: 0; }
.verrou .bouton { width: 100%; }
@media (min-width: 640px) { .bilan-intro, .resultat-bilan { padding: calc(var(--espace) * 10) calc(var(--espace) * 12); } .bilan-intro .bouton { width: auto; } }


/* --- Le haut : tout pousse vers le bilan --- */
.actions-haut.colonne { flex-direction: column; gap: calc(var(--espace) * 3); }
.sous-bouton { font-size: var(--taille-petit); color: var(--texte-doux); margin: 0; }
.preuve a { color: var(--texte-doux); }

/* --- La carte du bilan : ce qu'on y découvre, et un aperçu du résultat --- */
.apercu { background: var(--fond-gris); border-radius: var(--rayon-groupe); padding: calc(var(--espace) * 7) calc(var(--espace) * 6); position: relative; overflow: hidden; }
.apercu-tete { font-size: var(--taille-mini); font-weight: var(--poids-fort); color: var(--accent); margin-bottom: calc(var(--espace) * 1); }
.apercu-type { font-size: var(--taille-chiffre); font-weight: var(--poids-titre); letter-spacing: var(--serre-geant); line-height: 1; margin-bottom: calc(var(--espace) * 6); }
.apercu-type span { background: var(--degrade); color: var(--bouton-texte); border-radius: var(--rayon-champ); padding: 0 12px; margin-left: 6px; }
.apercu-mesure { display: grid; grid-template-columns: 104px 1fr; align-items: center; gap: calc(var(--espace) * 3); font-size: var(--taille-mini); color: var(--texte-doux); margin-bottom: calc(var(--espace) * 3); }
.apercu-mesure i { height: 9px; border-radius: var(--rayon-bouton); background: var(--degrade); opacity: .9; }
.apercu-mesure i.a1 { width: 78%; } .apercu-mesure i.a2 { width: 46%; } .apercu-mesure i.a3 { width: 64%; } .apercu-mesure i.a4 { width: 30%; } .apercu-mesure i.a5 { width: 55%; } .apercu-mesure i.a6 { width: 38%; }
.apercu-flou { margin-top: calc(var(--espace) * 6); filter: blur(5px); user-select: none; }
.apercu-flou p { height: 46px; margin: 0 0 calc(var(--espace) * 3); border-radius: var(--rayon-champ); background: var(--surface); color: var(--texte); font-weight: var(--poids-fort); padding: 12px 14px; font-size: var(--taille-petit); }
/* Page du bilan : la phrase qui suit les deux profils, et le portail où le numéro WhatsApp débloque le bilan. */
.verrou-apercu { position: relative; }
.verrou-apercu .apercu { padding: calc(var(--espace) * 5); }
.verrou-apercu .apercu-type { font-size: var(--taille-titre-3); margin-bottom: calc(var(--espace) * 3); }
.verrou-apercu .apercu-mesure { margin-bottom: calc(var(--espace) * 2); }
.verrou-apercu .apercu-flou, .verrou-apercu .apercu-mesure:nth-child(n+6) { display: none; } /* 3 mesures suffisent : le bouton reste visible au téléphone */
.apercu.verrouille > * { filter: blur(4px); }
.cadenas { position: absolute; inset: 0; display: grid; place-items: center; }
.cadenas svg { width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--bouton-fond); fill: none; stroke: var(--bouton-texte); stroke-width: var(--icone-trait); stroke-linecap: round; stroke-linejoin: round; box-shadow: var(--ombre-menu); }
.resultat-bilan .telecharger { width: 100%; margin-top: calc(var(--espace) * 8); }

/* Le cadeau dans le résultat : le programme (une semaine à la fois), la diète, puis le biohacking verrouillé. */
.video-profil { margin: calc(var(--espace) * 8) 0 0; } /* vidéos de profil en 16:9 (Alex, 22/11/2026) */
.video-profil figcaption { margin-bottom: calc(var(--espace) * 3); font-weight: var(--poids-fort); text-align: center; }
.video-profil video, .video-profil-vide { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--rayon-plaque); background: var(--nuit); }
.video-profil-vide { display: grid; place-items: center; padding: calc(var(--espace) * 6); text-align: center; }
.cadeau-programme, .cadeau-diete, .verrou-bio { margin-top: calc(var(--espace) * 12); padding-top: calc(var(--espace) * 10); border-top: 1px solid var(--filet); }
.cadeau-pourquoi { color: var(--texte) !important; margin: 0 0 calc(var(--espace) * 1); }
.lexique-lien { display: grid; gap: 2px; margin-top: calc(var(--espace) * 6); padding: calc(var(--espace) * 4) calc(var(--espace) * 5); border-radius: var(--rayon-bloc); background: var(--bleu-fond); color: var(--texte); text-decoration: none; }
.lexique-lien b { color: var(--bleu); }
.lexique-lien span { color: var(--texte-doux); font-size: var(--taille-aide); }
.lexique-lien .lexique-url { display: none; }
.cadeau-liste { margin: 0; padding-left: 1.2em; color: var(--texte-doux); display: grid; gap: calc(var(--espace) * 2); }
.legende { margin-top: calc(var(--espace) * 6); }
.semaines-choix { position: sticky; top: 76px; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: calc(var(--espace) * 8) 0 calc(var(--espace) * 4); padding: 4px; border-radius: var(--rayon-bouton); background: var(--pastille-active); }
.semaines-choix button { white-space: nowrap; font: inherit; font-size: var(--taille-petit); font-weight: var(--poids-fort); min-height: 40px; border: 0; border-radius: var(--rayon-bouton); background: transparent; color: var(--texte-doux); cursor: pointer; }
.semaines-choix button[aria-pressed="true"] { background: var(--surface); color: var(--texte); box-shadow: var(--ombre-douce); }
.seance-carte { margin-top: calc(var(--espace) * 4); padding: calc(var(--espace) * 5); border-radius: var(--rayon-groupe); background: var(--fond-gris); }
.seance-carte h4 { margin: 0 !important; font-size: var(--taille-petit); color: var(--texte-doux); }
.seance-titre { margin: 2px 0 calc(var(--espace) * 3) !important; color: var(--texte) !important; font-weight: var(--poids-fort); font-size: var(--taille-titre-4); }
.seance-exos { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--espace) * 2); }
.seance-exos li { display: grid; gap: 2px; padding: calc(var(--espace) * 3) calc(var(--espace) * 4); border-radius: var(--rayon-champ); background: var(--surface); }
.exo-nom { font-weight: var(--poids-fort); }
.exo-presc { font-size: var(--taille-aide); color: var(--texte-doux); font-variant-numeric: tabular-nums; }
.cadeau-programme[data-semaine="1"] .exo-presc:not([data-s="1"]), .cadeau-programme[data-semaine="2"] .exo-presc:not([data-s="2"]), .cadeau-programme[data-semaine="3"] .exo-presc:not([data-s="3"]), .cadeau-programme[data-semaine="4"] .exo-presc:not([data-s="4"]) { display: none; }
.verrou-bio { text-align: center; }
.verrou-bio .titre-section { margin: 0 auto calc(var(--espace) * 4); }
.verrou-bio > p:not(.etiquette) { margin: 0 auto calc(var(--espace) * 1); max-width: 46ch; color: var(--texte-doux) !important; }
.bio-piliers { list-style: none; margin: calc(var(--espace) * 6) 0; padding: 0; display: grid; gap: calc(var(--espace) * 2); text-align: left; }
.bio-piliers li { display: grid; gap: 2px; padding: calc(var(--espace) * 3) calc(var(--espace) * 4); border-radius: var(--rayon-champ); background: var(--fond-gris); }
.bio-piliers b { font-weight: var(--poids-fort); }
.bio-perso { margin-top: calc(var(--espace) * 5) !important; color: var(--texte) !important; font-weight: var(--poids-fort); }
.bio-piliers li.bio-cible { background: var(--surface); box-shadow: inset 0 0 0 2px var(--texte); }
.bio-piliers b { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--espace) * 2); }
.bio-tag { font-size: var(--taille-mini); padding: 2px 10px; border-radius: var(--rayon-bouton); background: var(--bouton-fond); color: var(--bouton-texte); white-space: nowrap; }
.bio-flou { color: var(--texte-doux); filter: blur(4px); user-select: none; }
.verrou-bio .bouton { width: 100%; }

/* Télécharger le bilan : on imprime seulement le résultat (le téléphone propose « Enregistrer en PDF »). */
@media print {
  html.imprime-bilan body * { visibility: hidden; }
  html.imprime-bilan #resultat, html.imprime-bilan #resultat * { visibility: visible; }
  html.imprime-bilan #resultat { position: absolute; inset: 0 0 auto; margin: 0; max-width: none; box-shadow: none; }
  html.imprime-bilan #resultat .telecharger, html.imprime-bilan #resultat .verrou-bio, html.imprime-bilan .semaines-choix { display: none; }
  html.imprime-bilan .exo-presc { display: block !important; }
  html.imprime-bilan .lexique-lien .lexique-url { display: block; }
  html.imprime-bilan .exo-presc::before { content: "Semaine " attr(data-s) " : "; font-weight: 600; }
  html.imprime-bilan .seance-carte { break-inside: avoid; }
  html.imprime-bilan .mesure-barre i { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}


/* --- Témoignages : l'estrade en 3D ---
   Le centre (0) en avant et éclairé ; ±1 en retrait à 50 % ; ±2 encore plus loin. Un côté touché vient au centre. */
.estrade { --l: 220px; --e1: .74; --e2: .56; --ecart: 16px; margin-top: calc(var(--espace) * 10); overflow: hidden; overflow: clip; }
/* Les cartes ne se chevauchent jamais : chaque voisine est posée à côté de la précédente, avec un écart fixe. */
.estrade { --d1: calc(var(--l) / 2 + var(--ecart) + var(--l) * var(--e1) / 2); --d2: calc(var(--d1) + var(--l) * var(--e1) / 2 + var(--ecart) + var(--l) * var(--e2) / 2); }
.estrade-scene { position: relative; height: calc(var(--l) * 16 / 9 + 40px); touch-action: pan-y; }
.estrade-carte { position: absolute; left: 50%; top: 12px; width: var(--l); margin: 0 0 0 calc(var(--l) / -2); transform-origin: 50% 50%; transition: transform var(--duree-lente) var(--courbe), opacity var(--duree-lente) ease; will-change: transform; }
.estrade-carte[data-pos="0"]  { transform: none; opacity: 1; z-index: 5; }
.estrade-carte[data-pos="-1"] { transform: translateX(calc(var(--d1) * -1)) scale(var(--e1)); opacity: .5; z-index: 4; }
.estrade-carte[data-pos="1"]  { transform: translateX(var(--d1)) scale(var(--e1)); opacity: .5; z-index: 4; }
.estrade-carte[data-pos="-2"] { transform: translateX(calc(var(--d2) * -1)) scale(var(--e2)); opacity: .22; z-index: 3; }
.estrade-carte[data-pos="2"]  { transform: translateX(var(--d2)) scale(var(--e2)); opacity: .22; z-index: 3; }
.estrade-carte[data-pos="loin"] { transform: scale(.4); opacity: 0; z-index: 1; pointer-events: none; }
.estrade-carte:not([data-pos="0"]):hover { opacity: .8; }
.estrade-bouton { display: block; width: 100%; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: var(--rayon-plaque); overflow: hidden; cursor: pointer; background: var(--nuit); position: relative; }
.estrade-bouton img { display: block; width: 100%; height: 100%; object-fit: cover; }
.estrade-carte[data-pos="0"] .estrade-bouton { box-shadow: 0 0 0 1px var(--filet), 0 40px 80px -30px var(--accent), 0 24px 48px -24px var(--nuit); }
.estrade-carte:not([data-pos="0"]) .lecture-mini { opacity: 0; }
.estrade-carte .lecture-mini { width: 64px; height: 64px; margin: -32px 0 0 -32px; transition: opacity var(--duree) ease, transform var(--duree) ease; }
.estrade-carte .lecture-mini svg { width: 24px; height: 24px; }
.estrade-bouton:hover .lecture-mini { transform: scale(1.08); }
.estrade-bouton.lit { visibility: hidden; }
.estrade-carte video { position: absolute; inset: 0; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--rayon-plaque); background: var(--nuit); }
.estrade-legende { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: calc(var(--espace) * 3); max-width: 720px; margin: calc(var(--espace) * 6) auto 0; padding: 0 var(--gouttiere); }
.estrade-citation { min-height: 120px; display: grid; align-items: center; text-align: center; }
.estrade-citation blockquote { margin: 0; animation: question-entre var(--duree) var(--courbe); }
.estrade-citation p { font-size: var(--taille-citation); font-weight: var(--poids-fort); letter-spacing: var(--serre); line-height: 1.35; margin: 0 0 calc(var(--espace) * 2); color: var(--texte); }
.estrade-citation cite { font-style: normal; color: var(--texte-doux); font-size: var(--taille-aide); }
.estrade-fleche { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--bordure); background: var(--surface); cursor: pointer; display: grid; place-items: center; box-shadow: var(--ombre-douce); }
.estrade-fleche svg { width: 20px; height: 20px; fill: none; stroke: var(--texte); stroke-width: var(--icone-trait); stroke-linecap: round; stroke-linejoin: round; }
.estrade-fleche:hover { border-color: var(--accent); }
@media (min-width: 760px) { .estrade { --l: 280px; --e1: .78; --e2: .6; --ecart: 32px; } }
@media (prefers-reduced-motion: reduce) { .estrade-carte { transition: opacity var(--duree) ease; } }
/* --- Contenu : trier un compte, réserve d'idées --- */
.sans-souligne { color: inherit; text-decoration: none; }
.apres-formulaire { margin-top: calc(var(--espace) * 5); }
a.discret { color: inherit; }
.onglets { display: flex; flex-wrap: wrap; gap: calc(var(--espace) * 2); margin-bottom: calc(var(--espace) * 4); }
.onglets a { min-height: 40px; display: inline-flex; align-items: center; padding: 0 calc(var(--espace) * 4); border-radius: var(--rayon-bouton); background: var(--surface-2); color: var(--texte); text-decoration: none; font-weight: var(--poids-fort); font-size: var(--taille-aide); }
.onglets a[aria-current] { background: var(--bouton-fond); color: var(--bouton-texte); }
.videos > li { display: grid; grid-template-columns: 64px 1fr; gap: calc(var(--espace) * 2) calc(var(--espace) * 3); align-items: start; }
.videos .infos { display: flex; flex-direction: column; gap: var(--espace); min-width: 0; overflow-wrap: anywhere; }
.videos .infos > a { color: var(--texte); font-weight: var(--poids-fort); text-decoration: none; }
.videos .infos .doux { font-size: var(--taille-petit); }
.videos form, .videos .garde { grid-column: 2; margin: 0; }
.garde { color: var(--succes); font-weight: var(--poids-fort); font-size: var(--taille-petit); }
.multiple { font-weight: var(--poids-titre); font-size: var(--taille-texte); color: var(--texte-doux); font-variant-numeric: tabular-nums; }
.multiple.bon { color: var(--accent); }
.multiple.fort { color: var(--bouton-texte); background: var(--degrade); border-radius: var(--rayon-champ); padding: 0 calc(var(--espace) * 2); justify-self: start; }
@media (min-width: 768px) {
  .videos > li { grid-template-columns: 72px 1fr auto; align-items: center; }
  .videos form, .videos .garde { grid-column: 3; }
}

/* --- La veille : onglets, compteur de crédits, filtres, comptes suivis, résultats de recherche --- */
.veille-haut { margin-bottom: calc(var(--espace) * 6); }
.onglets.defile { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gouttiere) * -1) calc(var(--espace) * 3); padding: 0 var(--gouttiere); }
.onglets.defile::-webkit-scrollbar { display: none; }
.onglets.defile a { flex: none; }
.compteur { font-size: var(--taille-petit); color: var(--texte-doux); margin: 0; }
.compteur strong { color: var(--texte); font-variant-numeric: tabular-nums; }
.compteur.atteint, .compteur.atteint strong { color: var(--danger); }
.filtres-veille { margin-top: calc(var(--espace) * 4); }
.filtres-veille .bouton { grid-column: 1 / -1; }
@media (min-width: 900px) {
  .filtres-veille { grid-template-columns: repeat(4, 1fr) auto; align-items: end; }
  .filtres-veille .bouton { grid-column: auto; }
}
.nouveau { display: inline-flex; align-items: center; min-height: 20px; padding: 0 calc(var(--espace) * 2); border-radius: var(--rayon-bouton); background: var(--pastille-active); color: var(--accent); font-size: var(--taille-micro); font-weight: var(--poids-fort); }
.surveiller { display: flex; flex-wrap: wrap; align-items: end; gap: calc(var(--espace) * 3); margin: 0 0 calc(var(--espace) * 5); }
.surveiller label { flex: 1 1 160px; max-width: 240px; }
.ligne-veille { display: flex; flex-direction: column; gap: var(--espace); padding: calc(var(--espace) * 4) var(--gouttiere); border-radius: var(--rayon-bloc); background: var(--pastille-active); }
.ligne-veille a { color: var(--accent); font-weight: var(--poids-fort); text-decoration: none; }
.alerte-veille { color: var(--danger); font-weight: var(--poids-fort); font-size: var(--taille-aide); }
.comptes-suivis > li { display: flex; flex-direction: column; gap: calc(var(--espace) * 2); }
.comptes-suivis .notes { font-size: var(--taille-petit); color: var(--texte); }
.comptes-suivis .erreur-compte { font-size: var(--taille-petit); color: var(--danger); }
.pastille.marche { background: var(--surface); color: var(--texte); border: 1px solid var(--bordure); }
.modifier-compte > summary { list-style: none; cursor: pointer; font-size: var(--taille-aide); color: var(--lien); min-height: 32px; }
.modifier-compte > summary::-webkit-details-marker { display: none; }
.modifier-compte[open] > summary { margin-bottom: calc(var(--espace) * 3); }
.modifier-compte .actions { margin-top: calc(var(--espace) * 3); flex-wrap: wrap; }
.modifier-compte form { margin: 0; }
.resultats .valeur { display: flex; flex-direction: column; font-weight: var(--poids-titre); font-size: var(--taille-texte); font-variant-numeric: tabular-nums; line-height: 1.2; }
.resultats .valeur small { font-size: var(--taille-micro); font-weight: var(--poids-moyen); color: var(--texte-doux); }

/* =========================================================================
   Son espace : la navigation commune, puis le CRM (src/crm-ecrans.js, public/crm.js).
   Téléphone : barre d'onglets en bas, au pouce. Ordinateur : les mêmes liens en haut.
   ========================================================================= */
.cache { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.entete .nav-haut { display: none; }
.nav-haut a, .nav-bas a { display: flex; align-items: center; text-decoration: none; color: var(--texte-doux); }
.nav-bas svg { fill: none; stroke: currentColor; stroke-width: var(--icone-trait); stroke-linecap: round; stroke-linejoin: round; }
.nav-haut svg, .nav-haut .nom-court, .nav-bas .nom-long { display: none; }
/* La barre du bas : la même pilule en verre que celle de l'app élèves */
.nav-bas {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 20;
  max-width: 560px; margin: 0 auto; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 2px; padding: var(--espace);
  background: var(--verre); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-radius: var(--rayon-plaque); box-shadow: var(--ombre-menu);
}
.nav-bas a { flex-direction: column; justify-content: center; gap: 2px; min-height: 52px; border-radius: var(--rayon-groupe); font-size: var(--taille-micro); font-weight: var(--poids-fort); letter-spacing: 0; white-space: nowrap; }
.nav-bas svg { width: 24px; height: 24px; }
.nav-bas a[aria-current] { color: var(--accent); background: var(--pastille-active); }
body.espace main { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
@media (min-width: 1100px) {
  .entete .nav-haut { display: flex; gap: 2px; }
  .nav-haut a { min-height: 36px; padding: 0 calc(var(--espace) * 3); }
  .entete .raccourci, .nav-bas { display: none; }
  body.espace main { padding-bottom: calc(var(--espace) * 20); }
}
/* Le halo gris métal derrière le haut des pages, comme sur la page de vente */
body.espace { position: relative; isolation: isolate; }
body.espace::before { content: ""; position: absolute; inset: 0 0 auto; height: 360px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 30% 10%, var(--halo-1), transparent 70%), radial-gradient(40% 60% at 72% 0%, var(--halo-2), transparent 70%); }
main.plein { max-width: var(--largeur-pleine); }

/* En-tête du CRM : les onglets, et « Ajouter » */
.crm-haut { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(var(--espace) * 3); margin-bottom: calc(var(--espace) * 6); }
.crm-haut .onglets { margin: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.crm-haut .onglets::-webkit-scrollbar { display: none; }
.crm-haut .onglets a { flex: none; }
.crm-haut .bouton { flex: none; }
.ajouter { width: 40px; padding: 0; font-size: var(--taille-titre-3); font-weight: var(--poids-normal); }
.ajouter .nom-long { display: none; }
@media (min-width: 900px) {
  .ajouter { width: auto; padding: 0 calc(var(--espace) * 4); font-size: var(--taille-aide); font-weight: var(--poids-moyen); }
  .ajouter > span[aria-hidden] { display: none; }
  .ajouter .nom-long { display: inline; }
}
/* Surtitre (DESIGN.md) : petit, gras, couleur d'accent, jamais en capitales espacées. */
.surtitre { color: var(--accent); font-size: var(--taille-petit); font-weight: var(--poids-fort); letter-spacing: var(--serre-leger); margin: 0 0 var(--espace); }
.surtitre::first-letter { text-transform: uppercase; }
.retour { margin-bottom: calc(var(--espace) * 3); font-size: var(--taille-aide); }
.retour a { color: var(--texte-doux); text-decoration: none; }
.vide { padding: calc(var(--espace) * 5) 0; }
select {
  font: inherit; font-size: var(--taille-champ); color: var(--texte); background: var(--surface); border: 1px solid var(--bordure);
  border-radius: var(--rayon-champ); min-height: 44px; padding: 0 calc(var(--espace) * 3); width: 100%;
}

/* Les lignes des listes : qui à gauche, l'étape ou l'heure à droite */
.ligne { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--espace) * 3); }
.qui { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.qui .doux { font-size: var(--taille-petit); }
.nom-fiche { color: var(--texte); font-weight: var(--poids-fort); text-decoration: none; }
.nom-fiche:hover { text-decoration: underline; }
.heure { font-weight: var(--poids-fort); font-variant-numeric: tabular-nums; min-width: 64px; }
.ligne .heure + .qui { flex: 1; }
.pastille { flex: none; display: inline-flex; align-items: center; min-height: 24px; padding: 0 calc(var(--espace) * 2.5); border-radius: var(--rayon-bouton); font-size: var(--taille-micro); font-weight: var(--poids-fort); background: var(--etape-lead-fond); color: var(--etape-lead); }
.pastille.appel { background: var(--etape-appel-fond); color: var(--etape-appel); }
.pastille.client { background: var(--etape-client-fond); color: var(--etape-client); }
.pastille.perdu { background: var(--etape-perdu-fond); color: var(--etape-perdu); }

/* Aujourd'hui */
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: calc(var(--espace) * 2); margin: calc(var(--espace) * 6) 0 calc(var(--espace) * 2); }
.chiffre { display: flex; flex-direction: column; gap: var(--espace); padding: calc(var(--espace) * 4); border-radius: var(--rayon-bloc); background: var(--surface-2); color: var(--texte); text-decoration: none; }
.chiffre:hover { background: var(--surface-3); text-decoration: none; }
.chiffre b { font-family: var(--police-titre); font-size: var(--taille-titre-haut-mobile); font-weight: var(--poids-titre); letter-spacing: var(--serre-titre); line-height: 1; font-variant-numeric: tabular-nums; }
.chiffre span { font-size: var(--taille-mini); color: var(--texte-doux); line-height: 1.25; }
.colonnes-jour { display: grid; gap: 0 calc(var(--espace) * 8); }
.colonnes-jour h3 { font-size: var(--taille-aide); color: var(--texte-doux); margin-top: calc(var(--espace) * 5); }
@media (min-width: 760px) {
  .chiffres { gap: calc(var(--espace) * 3); }
  .chiffre { padding: calc(var(--espace) * 5) calc(var(--espace) * 6); }
  .chiffre b { font-size: var(--taille-titre-1); }
  .chiffre span { font-size: var(--taille-aide); }
  .colonnes-jour { grid-template-columns: 1fr 1fr; }
}

/* Les relances : « Fait », « Plus tard », « Pas un lead » */
.relances > li { display: grid; gap: calc(var(--espace) * 3); }
.actions-relance { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--espace) * 2); }
.actions-relance form { margin: 0; }
.actions-relance .lien { font-size: var(--taille-petit); min-height: 40px; padding: 0 calc(var(--espace) * 2); }
.plus-tard > summary { list-style: none; }
.plus-tard > summary::-webkit-details-marker { display: none; }
.plus-tard[open] > summary { background: var(--surface-3); }
.choix-plus-tard { display: flex; flex-wrap: wrap; gap: calc(var(--espace) * 2); margin-top: calc(var(--espace) * 2); }
.plus-tard[open] { flex-basis: 100%; order: 3; }
.plus-tard[open] > summary { display: none; }
.choix-plus-tard { margin-top: 0; }

/* Le pipeline : colonnes empilées sur téléphone, côte à côte sur ordinateur */
.aide-pipe { margin-bottom: calc(var(--espace) * 4); }
.pipeline { display: grid; gap: calc(var(--espace) * 4); }
.colonne { background: var(--surface-2); border-radius: var(--rayon-groupe); padding: calc(var(--espace) * 3); transition: box-shadow .15s ease, background-color .15s ease; }
.colonne.survol { background: var(--pastille-active); box-shadow: inset 0 0 0 2px var(--accent); }
.colonne h2 { display: flex; align-items: center; justify-content: space-between; font-size: var(--taille-texte); letter-spacing: var(--serre-leger); margin: calc(var(--espace) * 1) calc(var(--espace) * 2) calc(var(--espace) * 3); }
.colonne .compte { font-size: var(--taille-petit); font-weight: var(--poids-moyen); color: var(--texte-doux); font-variant-numeric: tabular-nums; }
.cartes { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--espace) * 2); min-height: 56px; align-content: start; }
.carte-pipe { display: flex; align-items: stretch; background: var(--surface); border-radius: var(--rayon-champ); box-shadow: var(--ombre-carte); }
.carte-pipe .corps-carte { display: flex; flex-direction: column; min-width: 0; padding: calc(var(--espace) * 3) calc(var(--espace) * 3) calc(var(--espace) * 3) 0; overflow-wrap: anywhere; }
.carte-pipe .doux { font-size: var(--taille-mini); line-height: 1.35; }
.poignee { flex: none; width: 40px; min-height: 48px; border: 0; background: none; padding: 0; color: var(--texte-pale); cursor: grab; touch-action: none; display: grid; place-items: center; border-radius: var(--rayon-champ) 0 0 var(--rayon-champ); }
.poignee svg { width: 18px; height: 18px; fill: currentColor; }
.poignee:hover { color: var(--texte); }
.carte-pipe.en-deplacement { opacity: .35; }
.fantome { position: fixed; top: 0; left: 0; z-index: 30; pointer-events: none; box-shadow: var(--ombre-douce); list-style: none; }
body.glisse, body.glisse * { cursor: grabbing !important; user-select: none; -webkit-user-select: none; }
@media (min-width: 900px) {
  .pipeline { grid-template-columns: repeat(4, minmax(220px, 1fr)); align-items: start; overflow-x: auto; }
  .cartes { min-height: 120px; }
}

/* Fiches : recherche et filtres */
.filtres { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--espace) * 2); margin-bottom: calc(var(--espace) * 3); }
.filtres label { font-weight: var(--poids-normal); }
.filtres .recherche { grid-column: 1 / -1; }
.filtres input[type="search"] { min-height: 48px; }
.filtres .case-amis { min-height: 44px; font-size: var(--taille-aide); padding: 0 calc(var(--espace) * 3); }
@media (min-width: 900px) {
  .filtres { grid-template-columns: 2fr 1fr 1fr 1fr auto auto; align-items: center; }
  .filtres .recherche { grid-column: auto; }
}
.resultat { font-size: var(--taille-aide); }
.liste-fiches .qui { gap: 2px; }

/* Ventes par vidéo */
.tableau-defile { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 calc(var(--gouttiere) * -1); padding: 0 var(--gouttiere); }
.tableau { border-collapse: collapse; width: 100%; min-width: 640px; font-variant-numeric: tabular-nums; font-size: var(--taille-aide); }
.tableau th, .tableau td { text-align: right; padding: calc(var(--espace) * 3) calc(var(--espace) * 2); border-bottom: 1px solid var(--filet); white-space: nowrap; }
.tableau th:first-child { text-align: left; position: sticky; left: 0; background: var(--fond); }
.tableau thead th { font-size: var(--taille-mini); font-weight: var(--poids-fort); color: var(--texte-doux); }
.tableau tbody th a { color: var(--texte); font-weight: var(--poids-fort); text-decoration: none; }
.tableau .doux { font-size: var(--taille-mini); }

/* La fiche */
.tete-fiche { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: calc(var(--espace) * 3); margin-bottom: calc(var(--espace) * 5); }
.tete-fiche h1 { margin-bottom: calc(var(--espace) * 2); }
.tete-fiche p { margin: 0; }
.etape-fiche, .ligne-form { display: flex; align-items: center; gap: calc(var(--espace) * 2); margin: 0 0 calc(var(--espace) * 3); }
.etape-fiche label, .ligne-form label { flex: 1; font-weight: var(--poids-normal); }
.ligne-form input { min-height: 44px; }
.fiche { display: grid; gap: 0 calc(var(--espace) * 5); align-items: start; }
.fiche .carte h2 { font-size: var(--taille-titre-4); }
.fiche .carte p:last-child { margin-bottom: 0; }
@media (min-width: 900px) { .fiche { grid-template-columns: 5fr 6fr; } }
.contacts { margin-top: calc(var(--espace) * 4); font-size: var(--taille-aide); }
.notes, .liste-simple, .historique { list-style: none; margin: calc(var(--espace) * 4) 0 0; padding: 0; display: grid; gap: calc(var(--espace) * 3); }
.liste-simple { margin-top: 0; }
.notes li { padding-top: calc(var(--espace) * 3); border-top: 1px solid var(--surface-3); }
.notes p { margin: 0 0 var(--espace); white-space: pre-line; }
.notes .doux, .historique .doux { font-size: var(--taille-mini); }
.historique li { display: grid; gap: 2px; font-size: var(--taille-aide); }
.candidature > summary { cursor: pointer; font-weight: var(--poids-fort); font-size: var(--taille-aide); min-height: 36px; }
.candidature dl { margin: calc(var(--espace) * 2) 0 0; display: grid; gap: calc(var(--espace) * 3); }
.reponse dt { font-size: var(--taille-mini); color: var(--texte-doux); }
.reponse dd { margin: 0; overflow-wrap: anywhere; }
.candidature + .candidature { margin-top: calc(var(--espace) * 3); }
.groupe .bouton.secondaire, .carte .bouton.secondaire { background: var(--surface); box-shadow: inset 0 0 0 1px var(--bordure); }
.groupe .bouton.secondaire:hover, .carte .bouton.secondaire:hover { background: var(--surface-3); }
.coordonnees { margin-bottom: calc(var(--espace) * 4); }
.coordonnees li { overflow-wrap: anywhere; }
.coordonnees .doux { display: block; font-size: var(--taille-mini); }
.coordonnees .liens { display: block; font-size: var(--taille-aide); }
.modifier > summary { list-style: none; }
.modifier > summary::-webkit-details-marker { display: none; }
.modifier[open] > summary { margin-bottom: calc(var(--espace) * 4); }
.videos-mobile p { margin: var(--espace) 0 0; font-size: var(--taille-aide); }
.videos-mobile .entonnoir { color: var(--texte-doux); }
.tableau-defile { display: none; }
@media (min-width: 760px) { .tableau-defile { display: block; } .videos-mobile { display: none; } }

/* ==================================================================   Instagram (src/instagram-ecrans.js, public/instagram.js) : la boîte, la conversation, les mots-clés, le journal.
   ========================================================================= */
.convs > li, .mots > li { padding: 0; }
.conv { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--espace) * 3); padding: calc(var(--espace) * 4) var(--gouttiere); color: var(--texte); text-decoration: none; min-height: 64px; }
.conv:hover { text-decoration: none; background: var(--surface-3); }
.convs > li:first-child .conv, .mots > li:first-child .conv { border-radius: var(--rayon-groupe) var(--rayon-groupe) 0 0; }
.convs > li:last-child .conv, .mots > li:last-child .conv { border-radius: 0 0 var(--rayon-groupe) var(--rayon-groupe); }
.convs > li:only-child .conv, .mots > li:only-child .conv { border-radius: var(--rayon-groupe); }
.fenetre { flex: none; font-size: var(--taille-mini); color: var(--texte-doux); text-align: right; max-width: 40%; }
.fenetre.urgent { color: var(--alerte); font-weight: var(--poids-fort); }
.mot { font-weight: var(--poids-titre); letter-spacing: 0.02em; }
.conversation .fil { min-width: 0; }
.bulles { list-style: none; margin: 0 0 calc(var(--espace) * 4); padding: 0; display: flex; flex-direction: column; gap: calc(var(--espace) * 2); }
.bulle { max-width: 82%; padding: calc(var(--espace) * 2.5) calc(var(--espace) * 4); border-radius: var(--rayon-bloc); background: var(--surface-2); align-self: flex-start; overflow-wrap: anywhere; }
.bulle.envoye { align-self: flex-end; background: var(--bouton-fond); color: var(--bouton-texte); }
.bulle.envoye .doux { color: var(--blanc-doux); }
.bulle p { margin: 0; white-space: pre-line; }
.bulle .doux { font-size: var(--taille-micro); }
.composer { display: flex; flex-direction: column; gap: calc(var(--espace) * 3); }
.composer .bouton { align-self: flex-end; }
.confirmer h2 { font-size: var(--taille-titre-4); }
.apercu-message { white-space: pre-line; overflow-wrap: anywhere; background: var(--surface); border-radius: var(--rayon-champ); padding: calc(var(--espace) * 3) calc(var(--espace) * 4); }
.envoi-attente { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--espace) * 3); padding: calc(var(--espace) * 3) calc(var(--espace) * 4); border-radius: var(--rayon-champ); background: var(--pastille-active); margin-bottom: calc(var(--espace) * 3); }
.envoi-attente p { margin: 0; overflow-wrap: anywhere; }
.envoi-attente form { margin: 0; flex: none; }
.fiche-cote h2 { font-size: var(--taille-titre-4); }
.conv-ligne { display: flex; align-items: center; gap: 8px; }
.conv-ligne .conv { flex: 1; min-width: 0; }
.trier { display: flex; gap: 6px; padding-right: 12px; flex-shrink: 0; }
.trier form { margin: 0; }
.pilule { font: inherit; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--trait, rgba(0,0,0,.12)); background: var(--fond, #fff); color: var(--doux, #6e6e73); cursor: pointer; white-space: nowrap; }
.pilule:hover { color: var(--texte, #1d1d1f); border-color: currentColor; }
@media (max-width: 640px) { .conv-ligne { flex-wrap: wrap; } .trier { padding: 0 12px 10px; } }
.ecarter { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--trait, rgba(0,0,0,.08)); }
.ecarter form { display: inline-block; margin: 0 8px 8px 0; }
.ecartes { margin-top: 32px; }
.ecartes summary { cursor: pointer; color: var(--doux, #6e6e73); }
@media (min-width: 900px) { .fiche.conversation { grid-template-columns: 2fr 1fr; } .fiche-cote { position: sticky; top: 72px; } }
.publications { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(var(--espace) * 2); max-height: 420px; overflow-y: auto; }
.publications .option span { display: flex; flex-direction: column; overflow-wrap: anywhere; }
.publications .doux { font-size: var(--taille-mini); }
.mot-cle .carte { margin-bottom: 0; display: flex; flex-direction: column; gap: calc(var(--espace) * 4); }
.mot-cle .carte h2 { font-size: var(--taille-titre-4); margin-bottom: 0; }
.mot-cle .carte .aide, .mot-cle .carte p { margin: 0; }
.mot-cle code { overflow-wrap: anywhere; }
.vocal { display: flex; flex-direction: column; gap: calc(var(--espace) * 2); }
.mot-cle .titre-champ { font-weight: var(--poids-fort); font-size: var(--taille-aide); margin: 0; }
.vocal audio { display: block; width: 100%; max-width: 360px; margin-top: var(--espace); }
.vocal-actions { flex-wrap: wrap; }
.fichier { cursor: pointer; font-weight: var(--poids-moyen); }
.statut-vocal { display: flex; flex-wrap: wrap; align-items: center; gap: calc(var(--espace) * 2); }
.statut { flex: none; font-size: var(--taille-micro); font-weight: var(--poids-fort); padding: 2px calc(var(--espace) * 2.5); border-radius: var(--rayon-bouton); background: var(--etape-perdu-fond); color: var(--etape-perdu); }
.statut.envoye { background: var(--etape-client-fond); color: var(--etape-client); }
.statut.echec { background: var(--pastille-active); color: var(--danger); }
.statut.attente, .statut.en_cours { background: var(--etape-appel-fond); color: var(--etape-appel); }
.journal .extrait { font-style: italic; }
/* Paiements (phase 4) : bloc de la fiche, tâches, écran Paiements */
.pastille.paiement-paye { background: var(--etape-client-fond); color: var(--etape-client); }
.pastille.paiement-envoye, .pastille.paiement-en_cours { background: var(--etape-appel-fond); color: var(--etape-appel); }
.pastille.paiement-anomalie, .pastille.paiement-echec { background: var(--surface-2); color: var(--danger); }
.pastille.paiement-expire, .pastille.paiement-annule { background: var(--etape-perdu-fond); color: var(--etape-perdu); }
.paiements-fiche { margin-bottom: calc(var(--espace) * 5); }
.paiements-fiche > li { display: grid; gap: calc(var(--espace) * 2); padding-bottom: calc(var(--espace) * 3); border-bottom: 1px solid var(--surface-3); }
.ligne-paiement { display: flex; align-items: flex-start; justify-content: space-between; gap: calc(var(--espace) * 3); }
.ligne-paiement .doux { display: block; font-size: var(--taille-mini); }
.lien-paiement { font-weight: var(--poids-normal); }
.lien-paiement .doux { font-size: var(--taille-mini); }
.a-faire { box-shadow: inset 0 0 0 2px var(--etape-appel-fond); }
.a-faire h2 { font-size: var(--taille-titre-4); }
.tache { display: flex; align-items: center; justify-content: space-between; gap: calc(var(--espace) * 3); }
.tache form { margin: 0; flex: none; }
.liste-paiements .montant { display: flex; flex-direction: column; align-items: flex-end; gap: var(--espace); font-variant-numeric: tabular-nums; }
.chiffres-paiements { grid-template-columns: 1fr 1fr; }
.chiffres-paiements .chiffre { min-width: 0; }
.chiffres-paiements .chiffre:first-child { grid-column: 1 / -1; }
@media (min-width: 760px) { .chiffres-paiements { grid-template-columns: 2fr 1fr 1fr; } .chiffres-paiements .chiffre:first-child { grid-column: auto; } }
.liste-paiements .pastille, .ligne-paiement .pastille { white-space: nowrap; }
.autre-paiement { margin-top: calc(var(--espace) * 4); }
.autre-paiement > summary { display: flex; align-items: center; text-decoration: underline; }
.echeancier { padding-bottom: calc(var(--espace) * 4); margin-bottom: calc(var(--espace) * 5); border-bottom: 1px solid var(--surface-3); }
.echeancier h3, .titre-formules { margin: 0; font-size: var(--taille-texte); }
.echeancier > p { margin: var(--espace) 0 calc(var(--espace) * 3); font-size: var(--taille-mini); }
.paiements-fiche > li:last-child { border-bottom: 0; }
.lien-paiement { display: grid; gap: calc(var(--espace) * 2); }
.copier { display: flex; gap: calc(var(--espace) * 2); }
.copier input { flex: 1; min-width: 0; font-size: var(--taille-petit); min-height: 44px; }
.copier .bouton { flex: none; }
.lien-whatsapp { font-size: var(--taille-aide); }
.actions-echec { display: flex; flex-wrap: wrap; gap: calc(var(--espace) * 2); }
.titre-formules { margin: calc(var(--espace) * 2) 0 calc(var(--espace) * 3); }
.formules-boutons { display: grid; gap: calc(var(--espace) * 2); margin-bottom: calc(var(--espace) * 3); }
.formules-boutons form { margin: 0; }
.bouton-formule { width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; font: inherit; color: var(--texte); background: var(--surface); border: 1px solid var(--bordure); border-radius: var(--rayon-champ); padding: calc(var(--espace) * 3) calc(var(--espace) * 4); min-height: 56px; cursor: pointer; transition: border-color .15s ease, background-color .15s ease; }
.bouton-formule:hover { border-color: var(--accent); background: var(--pastille-active); }
.bouton-formule b { font-size: var(--taille-champ); font-variant-numeric: tabular-nums; }
.bouton-formule span { font-size: var(--taille-mini); color: var(--texte-doux); }
.autre-montant > summary, .autre-paiement > summary { display: flex; align-items: center; text-decoration: underline; }
.creer-espace { box-shadow: inset 0 0 0 2px var(--etape-client); }
.creer-espace h2 { font-size: var(--taille-titre-4); }
.creer-espace form { margin: 0; }
.ligne-echeance { display: grid; grid-template-columns: 1fr 1fr; gap: calc(var(--espace) * 2); align-items: end; }
.ligne-echeance .quand-fixe { min-height: 48px; display: flex; align-items: center; }
.formule-form + form { margin-top: calc(var(--espace) * 2); }
details > summary b { font-variant-numeric: tabular-nums; }
details > .formule-form { margin-top: calc(var(--espace) * 4); }
@media (min-width: 760px) { .formules-boutons { grid-template-columns: 1fr 1fr; } }
/* Téléphone : l'estrade va jusqu'au bord de l'écran, la phrase prend toute la largeur, les flèches passent dessous. */
@media (max-width: 759px) {
  .estrade { margin-inline: calc(50% - 50vw); }
  .estrade-legende { grid-template-columns: 1fr 48px 48px 1fr; grid-template-areas: "c c c c" ". g d ."; row-gap: calc(var(--espace) * 4); }
  .estrade-citation { grid-area: c; min-height: 150px; }
  .estrade-fleche.precedent { grid-area: g; }
  .estrade-fleche.suivant { grid-area: d; }
}
/* Titre du haut : le mot qui défile (cerveau, physique, sommeil…) */
.invisible { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.haut .titre-rotatif { max-width: none; }
.titre-rotatif .l3 { display: block; }
@media (max-width: 759px) { .titre-rotatif .l1 { display: block; } .titre-rotatif .l3 { display: inline; } .haut .titre-rotatif { font-size: var(--taille-titre-haut-mobile); text-wrap: balance; } }
.rotatif { display: inline-grid; justify-content: center; vertical-align: bottom; clip-path: inset(0 -50%); padding-bottom: .08em; margin-bottom: -.08em; transition: width var(--duree-lente) var(--courbe); }
.rotatif-mot { grid-area: 1 / 1; justify-self: center; white-space: nowrap; background: var(--degrade); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(70%); transition: transform var(--duree-lente) var(--courbe), opacity var(--duree) ease; }
.rotatif-mot.actif { opacity: 1; transform: none; }
.rotatif-mot.sort { opacity: 0; transform: translateY(-70%); }
/* Machine à écrire (rotatif.js) : les mots restent là pour mesurer la largeur, le texte tapé s'affiche par-dessus, aligné à gauche. */
.rotatif.machine { justify-content: start; grid-template-columns: minmax(0, 1fr); } /* la pilule suit la largeur de la case, pas celle du mot le plus long */
.rotatif.machine .rotatif-mot { opacity: 0; transition: none; }
.rotatif.machine { clip-path: none; vertical-align: baseline; align-items: baseline; margin-right: -.032em; }
/* Mesuré le 22/11/2026 : la pilule s'aligne sur la ligne de base de « Un » et « optimisé », et le petit retrait à droite
   compense l'arrondi du « o » : même espace visible à gauche et à droite de la pilule. */
/* Le mot s'écrit en blanc dans une pilule noire, précédé d'un point qui pulse, de la couleur du mot (choix d'Alex, 22/11/2026). */
/* Proportions mesurées : la pilule est centrée sur le milieu des minuscules (0,27 em au-dessus de la ligne de base), pas sur la boîte du texte. */
.rotatif-frappe { grid-area: 1 / 1; justify-self: stretch; display: inline-flex; align-items: baseline; gap: .16em; white-space: nowrap;
  background: var(--bouton-fond); color: var(--bouton-texte); border-radius: var(--rayon-bouton); padding: 0 .28em .19em .24em; line-height: .9; }
.rotatif-frappe { position: relative; }
.rotatif-frappe .texte { position: relative; padding-right: .1em; } /* la place du curseur */
/* Un caractère invisible : entre deux mots, le texte vide garde sa ligne, et la pilule sa taille et sa place. */
.rotatif-frappe .texte::before { content: "\200b"; }
/* La pilule garde la largeur du mot entier pendant la frappe (plus de trou dans le titre quand elle se vide, Alex 22/11/2026).
   Curseur de Mac : juste après la dernière lettre, centré sur la pilule, sans changer sa taille. */
.rotatif-frappe .texte::after { content: ""; position: absolute; left: calc(100% - .08em); top: calc(50% + .095em); width: .06em; height: .9em; transform: translateY(-50%); background: currentColor; animation: curseur 1s steps(1) infinite; }
.rotatif[data-signe="physique"] { --signe: var(--mot-physique); }
.rotatif[data-signe="cerveau"] { --signe: var(--mot-cerveau); }
.rotatif[data-signe="metabolisme"] { --signe: var(--mot-metabolisme); }
.signe { flex: none; color: var(--signe); }
.signe.point { position: relative; bottom: .16em; width: .22em; height: .22em; border-radius: 50%; background: currentColor; box-shadow: 0 0 .25em currentColor; animation: pouls 1.6s ease-in-out infinite; }
@keyframes pouls { 50% { opacity: .35; } }
@keyframes curseur { 50% { opacity: 0; } }

/* --- Le haut des pages hors vente : le nom et la photo, comme sur la page de vente --- */
.haut-marque { position: relative; isolation: isolate; display: flex; justify-content: center; padding: calc(var(--espace) * 4) var(--gouttiere) 0; }
.haut-marque::before { content: ""; position: absolute; inset: -40px -10% auto; height: 320px; z-index: -1; pointer-events: none;
  background: radial-gradient(40% 60% at 35% 30%, var(--halo-1), transparent 70%), radial-gradient(40% 60% at 68% 20%, var(--halo-2), transparent 70%); }
.pilule-marque { display: inline-flex; align-items: center; gap: calc(var(--espace) * 3); min-height: 44px; padding: 4px 18px 4px 4px; border-radius: var(--rayon-bouton); background: var(--verre); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); box-shadow: var(--ombre-menu); color: var(--texte-doux); font-size: var(--taille-petit); text-decoration: none; }
.pilule-marque:hover { text-decoration: none; color: var(--texte); }
.pilule-marque b { color: var(--texte); font-weight: var(--poids-fort); letter-spacing: var(--serre-leger); }
.pilule-marque img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.haut-marque + main { padding-top: calc(var(--espace) * 12); }

/* Le parcours du prospect : où il en est */
.etape-parcours { display: flex; align-items: center; gap: calc(var(--espace) * 3); font-size: var(--taille-petit); font-weight: var(--poids-fort); color: var(--accent); margin-bottom: calc(var(--espace) * 3); }
.etape-points { display: inline-flex; gap: 4px; }
.etape-points i { width: 18px; height: 4px; border-radius: var(--rayon-bouton); background: var(--surface-3); }
.etape-points i.fait { background: var(--texte); }
.etape-points i.ici { background: var(--degrade); }

/* Créneaux en deux temps : les jours en pastilles qui glissent, puis les heures */
.choix-creneau .aide { margin-bottom: calc(var(--espace) * 4); }
.jours { display: flex; gap: calc(var(--espace) * 2); overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gouttiere); margin: 0 calc(var(--gouttiere) * -1) calc(var(--espace) * 6); padding: 4px var(--gouttiere) 8px; scrollbar-width: none; }
.jours::-webkit-scrollbar { display: none; }
.pastille-jour { flex: none; scroll-snap-align: start; display: grid; justify-items: center; gap: 2px; width: 64px; padding: calc(var(--espace) * 3) 0; border: 1px solid var(--bordure); border-radius: var(--rayon-bloc); background: var(--surface); color: var(--texte); font: inherit; cursor: pointer; transition: border-color var(--duree-rapide) ease, background-color var(--duree-rapide) ease; }
.pastille-jour:hover { border-color: var(--texte-doux); }
.pastille-jour[aria-selected="true"] { background: var(--bouton-fond); border-color: var(--bouton-fond); color: var(--bouton-texte); }
.pj-jour, .pj-mois { font-size: var(--taille-mini); color: inherit; opacity: .72; }
.pj-num { font-size: var(--taille-titre-4); font-weight: var(--poids-fort); letter-spacing: var(--serre); font-variant-numeric: tabular-nums; line-height: 1.1; }
.en-deux-temps .jour h3 { margin-top: 0; }

/* « C'est calé » */
.cale { text-align: center; margin-bottom: calc(var(--espace) * 8); }
.cale h1 { margin-bottom: calc(var(--espace) * 2); }
.cale-coche { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--degrade); color: var(--bouton-texte); margin-bottom: calc(var(--espace) * 5); box-shadow: 0 10px 30px -12px var(--accent); }
.cale-coche svg { width: 28px; height: 28px; stroke-width: 2.6; }
details.changer > summary.bouton { width: 100%; }

/* La bulle WhatsApp s'efface devant les formulaires */
.bulle-whatsapp { transition: transform var(--duree) var(--courbe), opacity var(--duree) ease; }
.bulle-whatsapp.cachee { opacity: 0; transform: translateY(16px); pointer-events: none; }
.menu .bouton::after { content: ""; position: absolute; inset: -4px; }

/* --- La réservation d'appel sur la vente : les questions à gauche, le calendrier à droite, grisé tant qu'elles ne sont pas remplies --- */
.carte-formulaire.large { max-width: var(--largeur-page); }
.reservation { display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--espace) * 10); }
.reservation > * { min-width: 0; }
.reservation > .message { margin: 0; }
.reservation-etape { display: flex; align-items: center; gap: calc(var(--espace) * 3); font-size: var(--taille-titre-4); font-weight: var(--poids-titre); letter-spacing: var(--serre); margin: 0 0 calc(var(--espace) * 2); }
.reservation-etape span { width: 32px; height: 32px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bouton-fond); color: var(--bouton-texte); font-size: var(--taille-petit); }
.reservation-appel { display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--espace) * 4); align-content: start; }
.reservation-appel .choix-creneau { transition: opacity var(--duree) var(--courbe), filter var(--duree) var(--courbe); }
.reservation-appel.verrouille .choix-creneau, .reservation-appel.verrouille .bouton { opacity: .35; filter: grayscale(1); }
.reservation-appel.verrouille .reservation-etape span { background: var(--surface-3); color: var(--texte-doux); }
.reservation-verrou { margin: 0; padding: calc(var(--espace) * 3) calc(var(--espace) * 4); border-radius: var(--rayon-champ); background: var(--fond-gris); color: var(--texte-doux); font-size: var(--taille-aide); }
.reservation .jour { border: 0; padding: 0; margin: 0; }
.reservation .jour legend { font-weight: var(--poids-fort); margin-bottom: calc(var(--espace) * 3); }
.reservation .jour legend::first-letter { text-transform: uppercase; }
.reservation label.creneau { display: grid; place-items: center; cursor: pointer; position: relative; }
.reservation label.creneau input { position: absolute; opacity: 0; pointer-events: none; }
.reservation label.creneau:has(input:checked) { background: var(--bouton-fond); border-color: var(--bouton-fond); color: var(--bouton-texte); }
.reservation label.creneau:has(input:focus-visible) { outline: 2px solid var(--bleu); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .reservation-appel .choix-creneau { transition: none; } }
@media (min-width: 900px) {
  .reservation { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: calc(var(--espace) * 14); align-items: start; }
  .reservation > .message { grid-column: 1 / -1; }
  .reservation-appel { position: sticky; top: 96px; }
}

/* --- La page du bilan : l'accroche à gauche et un exemple de bilan à droite, puis deux programmes illustrés --- */
.bande.haut:has(.accroche-bilan) { padding-top: calc(var(--espace) * 14); } /* pas de menu sur la page du test */
.accroche-bilan { display: grid; gap: calc(var(--espace) * 12); align-items: center; text-align: center; }
.accroche-bilan .chapo { margin-left: auto; margin-right: auto; }
.accroche-bilan .geant { max-width: none; }
.accroche-bilan .geant .ligne { display: block; }
.accroche-bilan .chapo { max-width: 50ch; }
.exemple-bilan { margin: 0 auto; width: 100%; max-width: 420px; text-align: left; background: var(--surface); border-radius: var(--rayon-plaque); box-shadow: var(--ombre-douce); padding: calc(var(--espace) * 7) calc(var(--espace) * 6); position: relative; overflow: hidden; }
.exemple-tete { font-size: var(--taille-mini); font-weight: var(--poids-fort); color: var(--texte-doux); margin: 0 0 calc(var(--espace) * 2); }
.exemple-type { display: flex; align-items: center; gap: calc(var(--espace) * 3); font-size: var(--taille-titre-3); font-weight: var(--poids-titre); letter-spacing: var(--serre-titre); margin: 0 0 calc(var(--espace) * 6); }
.exemple-type span { background: var(--bouton-fond); color: var(--bouton-texte); border-radius: var(--rayon-champ); padding: 2px 12px; }
.exemple-parties { display: grid; gap: calc(var(--espace) * 3); margin-top: calc(var(--espace) * 6); }
.exemple-partie { padding: calc(var(--espace) * 3) calc(var(--espace) * 4); border-radius: var(--rayon-champ); background: var(--fond-gris); overflow: hidden; }
.exemple-partie b { display: block; color: var(--texte); font-weight: var(--poids-fort); margin-bottom: 4px; }
.exemple-ligne { display: flex; align-items: center; gap: calc(var(--espace) * 3); margin: 6px 0 0; font-size: var(--taille-aide); color: var(--texte-doux); }
.exemple-ligne span { flex: none; min-width: 72px; white-space: nowrap; }
.exemple-ligne i { flex: 1; height: 10px; border-radius: var(--rayon-bouton); background: var(--surface-3); filter: blur(2px); }
.exemple-ligne:nth-child(odd) i { margin-right: 18%; }
.video-neurotype { display: block; width: 100%; max-width: 360px; height: auto; aspect-ratio: 9 / 16; margin: calc(var(--espace) * 10) auto 0; border-radius: var(--rayon-plaque); background: var(--nuit); box-shadow: var(--ombre-douce); }
#recu .gains { max-width: var(--largeur-page); margin-left: auto; margin-right: auto; }
.exemple-flou { margin: 0; font-size: var(--taille-aide); line-height: 1.45; color: var(--texte-doux); filter: blur(4px); user-select: none; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.bilan-fin { max-width: 640px; margin: 0 auto; }
.bilan-fin .titre-section { margin-bottom: calc(var(--espace) * 4); }
.bilan-fin .chapo { margin-bottom: calc(var(--espace) * 8); }
.bilan-fin .aide { margin: calc(var(--espace) * 3) 0 0; }
@media (min-width: 980px) {
  .accroche-bilan { grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: calc(var(--espace) * 12); text-align: left; }
  .accroche-bilan .geant { font-size: clamp(44px, 4.4vw, 62px); }
  .accroche-bilan .chapo { margin-left: 0; }
  .accroche-bilan .actions-haut { align-items: flex-start; }
  .accroche-bilan .geant { margin-left: 0; }
}

/* --- La fiche lexique (/lexique) : recréée du « LEXIQUE PROGRAMME » d'Alex --- */
.lexique-haut { padding-top: calc(var(--espace) * 16); padding-bottom: calc(var(--espace) * 8); }
.lexique-haut .signature { margin-bottom: calc(var(--espace) * 6); }
.lexique { max-width: 760px; }
.lexique .titre-section { margin-bottom: calc(var(--espace) * 4); }
.lexique .chapo { margin-bottom: calc(var(--espace) * 10); }
.ligne-exemple { margin-top: calc(var(--espace) * 8); padding: calc(var(--espace) * 5); border-radius: var(--rayon-groupe); background: var(--surface); box-shadow: var(--ombre-douce); text-align: left; }
.ligne-exo { margin: 0 0 calc(var(--espace) * 3); font-weight: var(--poids-fort); font-size: var(--taille-titre-4); }
.ligne-cases { display: flex; flex-wrap: wrap; gap: calc(var(--espace) * 2); margin: 0; }
.ligne-cases span { display: inline-flex; align-items: center; gap: calc(var(--espace) * 2); padding: 6px 12px 6px 6px; border-radius: var(--rayon-bouton); background: var(--fond-gris); font-variant-numeric: tabular-nums; font-size: var(--taille-aide); }
.ligne-cases i, .lexique-cles li::before { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; background: var(--bouton-fond); color: var(--bouton-texte); font-size: var(--taille-mini); font-weight: var(--poids-fort); }
.lexique-cles { list-style: none; counter-reset: cle; margin: calc(var(--espace) * 6) 0 0; padding: 0; display: grid; gap: calc(var(--espace) * 3); text-align: left; }
.lexique-cles li { counter-increment: cle; display: grid; grid-template-columns: 24px 1fr; gap: calc(var(--espace) * 3); color: var(--texte-doux); }
.lexique-cles li::before { content: counter(cle); }
.lexique-cles b { display: block; color: var(--texte); }
.rpe-table { text-align: left; border-radius: var(--rayon-groupe); background: var(--surface); overflow: hidden; }
.rpe-ligne { display: grid; grid-template-columns: 56px 1fr 92px; align-items: center; gap: calc(var(--espace) * 3); padding: calc(var(--espace) * 3) calc(var(--espace) * 4); border-top: 1px solid var(--filet); }
.rpe-ligne.entete { border-top: 0; font-size: var(--taille-mini); font-weight: var(--poids-fort); color: var(--texte-doux); }
.rpe-ligne em { display: block; font-style: normal; font-size: var(--taille-aide); color: var(--texte-doux); }
.rpe-n { font-size: var(--taille-titre-4); font-weight: var(--poids-titre); font-variant-numeric: tabular-nums; }
.rpe-r { text-align: right; font-weight: var(--poids-fort); font-variant-numeric: tabular-nums; }
.rpe-ligne[data-rpe="10"] .rpe-n, .rpe-ligne[data-rpe="9,5"] .rpe-n { color: var(--danger); }
.rpe-ligne[data-rpe="7"] .rpe-n, .rpe-ligne[data-rpe="7,5"] .rpe-n, .rpe-ligne[data-rpe="8"] .rpe-n { color: var(--succes); }
.lexique-conseils { display: grid; gap: calc(var(--espace) * 4); margin-top: calc(var(--espace) * 8); text-align: left; }
.lexique-conseils div { padding: calc(var(--espace) * 5); border-radius: var(--rayon-groupe); background: var(--surface); }
.lexique-conseils h3 { font-size: var(--taille-texte); margin: 0 0 calc(var(--espace) * 2); }
.lexique-conseils p { margin: 0; color: var(--texte-doux); }
.tempo-chiffres { display: grid; grid-template-columns: repeat(4, 1fr); gap: calc(var(--espace) * 2); }
.tempo-chiffres div { display: grid; gap: 4px; padding: calc(var(--espace) * 5) calc(var(--espace) * 2); border-radius: var(--rayon-groupe); background: var(--fond-gris); }
.tempo-chiffres b { font-size: var(--taille-chiffre); font-weight: var(--poids-titre); line-height: 1; }
.tempo-chiffres span { font-size: var(--taille-aide); color: var(--texte-doux); }
.lexique-note { max-width: 56ch; margin: calc(var(--espace) * 6) auto 0; color: var(--texte-doux); }
.lexique-note b { color: var(--texte); }
.repos-barres { display: grid; grid-template-columns: repeat(6, 1fr); align-items: end; gap: calc(var(--espace) * 2); height: 220px; }
.repos-barres div { display: grid; align-content: end; gap: 4px; height: 100%; }
.repos-barres b { display: grid; place-items: end center; padding-bottom: 8px; border-radius: var(--rayon-champ) var(--rayon-champ) 6px 6px; background: var(--bouton-fond); color: var(--bouton-texte); font-size: var(--taille-aide); font-variant-numeric: tabular-nums; }
.repos-barres .r0 b { height: 150px; } .repos-barres .r1 b { height: 118px; } .repos-barres .r2 b { height: 92px; } .repos-barres .r3 b { height: 72px; } .repos-barres .r4 b { height: 56px; } .repos-barres .r5 b { height: 44px; }
.repos-barres span { font-size: var(--taille-mini); color: var(--texte-doux); }
.echauffement-etapes { list-style: none; counter-reset: etape; margin: calc(var(--espace) * 4) 0 0; padding: 0; display: grid; gap: calc(var(--espace) * 3); text-align: left; }
.echauffement-etapes li { counter-increment: etape; display: grid; grid-template-columns: 36px 1fr; column-gap: calc(var(--espace) * 3); padding: calc(var(--espace) * 4); border-radius: var(--rayon-groupe); background: var(--fond-gris); }
.echauffement-etapes li::before { content: counter(etape); grid-row: span 2; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bouton-fond); color: var(--bouton-texte); font-weight: var(--poids-fort); }
.echauffement-etapes span { color: var(--texte-doux); }
.methodes { display: grid; gap: calc(var(--espace) * 3); text-align: left; }
.methode-carte { padding: calc(var(--espace) * 5); border-radius: var(--rayon-groupe); background: var(--surface); }
.methode-note { display: inline-block; margin: 0 0 calc(var(--espace) * 2); padding: 2px 10px; border-radius: var(--rayon-bouton); background: var(--bouton-fond); color: var(--bouton-texte); font-size: var(--taille-petit); font-weight: var(--poids-fort); font-variant-numeric: tabular-nums; }
.methode-carte h3 { font-size: var(--taille-texte); margin: 0 0 calc(var(--espace) * 1); }
.methode-carte p:last-child { margin: 0; color: var(--texte-doux); }
.carnet { text-align: left; border-radius: var(--rayon-groupe); background: var(--fond-gris); overflow: hidden; font-size: var(--taille-aide); }
.carnet-ligne { display: grid; grid-template-columns: 1.1fr 1.4fr 1fr; gap: calc(var(--espace) * 3); padding: calc(var(--espace) * 3) calc(var(--espace) * 4); border-top: 1px solid var(--filet); font-variant-numeric: tabular-nums; }
.carnet-ligne.entete { border-top: 0; font-weight: var(--poids-fort); color: var(--texte-doux); font-size: var(--taille-mini); }
.lexique p, .lexique em, .lexique li span, .lexique h3 { text-wrap: balance; }
.lexique-haut + .bande { padding-top: calc(var(--espace) * 12); }
@media (min-width: 760px) { .lexique-conseils, .methodes { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479px) { .repos-barres { height: 190px; } .repos-barres b { font-size: var(--taille-mini); } .rpe-ligne { grid-template-columns: 44px 1fr 56px; } .carnet-ligne { grid-template-columns: 1fr; gap: 2px; } .carnet-ligne.entete { display: none; } }
