/* ==========================================================================
   Club Sandwich — tokens de la charte
   Source : charte/charte-graphique.pdf (palette p. 3, logotype p. 4, typographies p. 5-6)
   Seule source de la charte pour le site. Trois couches :
     1. primitives  : les seules valeurs brutes (couleurs hex, familles de polices)
     2. sémantiques : le rôle de chaque couleur dans l'interface
     3. échelles    : typographie, espacements, rayons, ombres, mouvement
   Règle : aucune couleur ni police en dur ailleurs que dans la couche 1.
   ========================================================================== */

@font-face { font-family: "Sarina"; src: url("/fonts/Sarina-Regular.woff2?v=b1593613") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bebas Neue"; src: url("/fonts/BebasNeue-Regular.woff2?v=b1593613") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "League Spartan"; src: url("/fonts/LeagueSpartan.woff2?v=b1593613") format("woff2"); font-weight: 500 900; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/fonts/Raleway.woff2?v=b1593613") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Raleway"; src: url("/fonts/Raleway-Italic.woff2?v=b1593613") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  /* ---------- 1. Primitives : palette de la charte (p. 3) ---------- */
  --cs-yellow-submarine: #F4B608;  /* jaune vif : énergie, confiance */
  --cs-dancing-queen:    #FFC8B0;  /* pêche : tendresse */
  --cs-kiss-me-quick:    #FF4F00;  /* orange vitaminé : vitalité, appel à l'action */
  --cs-purple-haze:      #EBAEED;  /* lavande : légèreté */
  --cs-waterloo:         #B2D8D8;  /* turquoise pastel : calme intérieur */
  --cs-sweet-leaf:       #00492B;  /* vert profond : solide, rassurant */
  --cs-dreams:           #F7EFE2;  /* beige clair : souffle, espace blanc */
  --cs-encre:            #211D1D;  /* trait des logos et de la mascotte */
  --cs-nuit:             #0F2B2B;  /* BLEU NUIT : ajouté à la palette par Pierre le 4/11 (ancien site Podia) : sérieux, classe, couleur d'ancrage */

  --cs-police-titre:      "Sarina", "Brush Script MT", cursive;
  --cs-police-titre-sobre: "League Spartan", "Raleway", "Segoe UI", system-ui, sans-serif;  /* tous les titres ; Sarina réservée au logo et à 3-4 titres phares */
  --cs-police-sous-titre: "Bebas Neue", "Arial Narrow", sans-serif;
  --cs-police-texte:      "Raleway", "Segoe UI", system-ui, sans-serif;

  /* ---------- 2. Sémantiques ---------- */
  --fond:              var(--cs-dreams);
  --fond-carte:        var(--cs-dreams);
  --texte:             var(--cs-encre);
  --texte-doux:        var(--cs-sweet-leaf);
  --texte-inverse:     var(--cs-dreams);      /* sur vert uniquement (contraste 9,3) */
  --trait:             var(--cs-encre);
  --bandeau:           var(--cs-nuit);       /* fond de l'en-tête et du pied de page, texte crème dessus */
  --bandeau-texte:     var(--cs-dreams);

  /* ═══ Refonte de la charte (4/11, validée par Pierre) ═══
     Majeur (≈ 70 %) : crème Dreams et saumon Dancing Queen, en fonds de section et de carte.
     Ancrage : bleu nuit (en-tête, pied, sections fortes) ; vert Sweet Leaf en second ancrage (bandeau final, défilant).
     Accents, bien dosés : orange = CTA principal ; violet = surlignage et CTA secondaires ; jaune = petites touches.
     Turquoise : le calme, réservé au Kit SOS.
     Associations validées : orange + saumon, vert + crème, violet + orange, bleu + vert, jaune + crème, jaune + vert. */
  --action:            var(--cs-kiss-me-quick);   /* CTA principal (orange), texte encre dessus (contraste 5,6) */
  --action-texte:      var(--cs-encre);
  /* 17/11, retours de Sophie : les boutons d'action passent en violet sur tout le site (l'orange était trop agressif).
     --action garde l'orange pour les illustrations (cerveau limbique, jeux, film) ; les boutons lisent --cta. */
  --cta:               var(--cs-purple-haze);
  --cta-texte:         var(--cs-encre);
  --bouton-2:          var(--cs-dreams);          /* boutons secondaires : crème bordé d'encre */
  --accent:            var(--cs-purple-haze);     /* surlignage des mots-clés, CTA secondaires, onglets */
  --accent-texte:      var(--cs-encre);
  --saumon:            var(--cs-dancing-queen);
  --ancrage:           var(--cs-nuit);
  --ancrage-2:         var(--cs-sweet-leaf);
  --solide:            var(--cs-sweet-leaf);      /* fond fort, texte crème dessus */
  --solide-texte:      var(--cs-dreams);
  --surligne:          var(--cs-purple-haze);   /* surlignage des mots-clés : violet partout, comme les pastilles (cohérence, 4/11) */
  --souligne:          var(--cs-purple-haze);   /* double trait sous un mot-clé */
  --retenir:           var(--cs-yellow-submarine);/* pastilles « À retenir ! » */

  /* Fonds de section (toujours avec --texte encre, sauf --section-vert) */
  --section-creme:     var(--cs-dreams);
  --section-peche:     var(--cs-dancing-queen);
  --section-violet:    var(--cs-purple-haze);
  --section-jaune:     var(--cs-yellow-submarine);
  --section-turquoise: var(--cs-waterloo);
  --section-orange:    var(--cs-waterloo);       /* l'ex-section orange (prix) passe au turquoise : moins d'orange */
  --section-vert:      var(--cs-sweet-leaf);
  /* Harmonisation (4/11, passe 1) : teintes adoucies = couleur de la charte mélangée au crème Dreams. Aucune nouvelle couleur. */
  --section-creme-2:   color-mix(in srgb, var(--cs-dancing-queen) 22%, var(--cs-dreams));
  --doux-peche:        color-mix(in srgb, var(--cs-dancing-queen) 50%, var(--cs-dreams));
  --doux-violet:       color-mix(in srgb, var(--cs-purple-haze) 50%, var(--cs-dreams));
  --doux-turquoise:    color-mix(in srgb, var(--cs-waterloo) 50%, var(--cs-dreams));
  --doux-jaune:        var(--doux-peche);   /* 17/11 : les blocs jaune doux (« Une image pour comprendre », « Ce que tu peux retenir », rappel…) passent en saumon doux : trois teintes (décision de Pierre). Ancienne valeur : jaune 30 % + crème */

  /* Modules de la formation : une teinte par module (décision de Pierre du 17/11, pour sentir le passage d'un module
     à l'autre ; elle remplace la couleur unique du 13/11). Les en-têtes la mélangent à 62 % de crème : ça reste doux. */
  --module-intro:  var(--cs-waterloo);                                         /* bleu ciel */
  --module-1:      var(--cs-dancing-queen);                                    /* saumon */
  --module-2:      var(--cs-purple-haze);                                      /* violet */
  --module-3:      color-mix(in srgb, var(--cs-sweet-leaf) 40%, var(--cs-dreams)); /* vert sauge */
  --module-bonus:  color-mix(in srgb, var(--cs-yellow-submarine) 60%, var(--cs-dreams)); /* jaune doux */
  --module-fin:    var(--cs-waterloo);                                         /* bleu ciel : la boucle se referme sur l'introduction */

  /* Kit SOS (la page) : calme, pas d'orange. Seul le bouton « Kit SOS » de l'en-tête est orange (règle de src/CLAUDE.md, confirmée par Pierre le 4/11) */
  --sos-fond:          var(--cs-waterloo);
  --sos-vague:         var(--cs-sweet-leaf);

  --mascotte-trait:    var(--cs-encre);
  --mascotte-fond:     var(--cs-purple-haze);
  --focus:             var(--cs-sweet-leaf);
  --focus-inverse:     var(--cs-yellow-submarine);  /* focus clavier sur fond sombre (vert, encre) */
  --erreur:            var(--cs-kiss-me-quick);

  /* ---------- 3. Échelles ---------- */
  /* Typographie fluide (mobile → bureau). Ne jamais surcharger en media query. */
  --t-hero:   clamp(2.5rem, 1.4rem + 6vw, 7rem);
  --t-h1:     clamp(2.4rem, 1.8rem + 3.2vw, 4.5rem);
  --t-h2:     clamp(1.9rem, 1.5rem + 2vw, 3.2rem);
  --t-h3:     clamp(1.35rem, 1.2rem + .8vw, 1.8rem);
  --t-sous:   clamp(1.05rem, .95rem + .6vw, 1.5rem);   /* Bebas Neue */
  --t-texte:  clamp(1rem, .96rem + .2vw, 1.125rem);
  --t-petit:  .875rem;
  --interlettre-sous: .18em;   /* « C O M B A T T A N T · E S » */
  --interligne: 1.65;

  --e-1: .25rem; --e-2: .5rem; --e-3: .75rem; --e-4: 1rem; --e-5: 1.5rem;
  --e-6: 2rem;   --e-7: 3rem;  --e-8: 4.5rem; --e-9: 7rem;
  --gouttiere: clamp(1rem, .5rem + 2.5vw, 2.5rem);
  --largeur-texte: 68ch;
  --largeur-page: 1200px;

  --r-1: 8px; --r-2: 16px; --r-3: 28px; --r-rond: 999px;
  --bord: 2px solid var(--trait);

  /* Ombres « enseigne vintage » : décalées, pleines, jamais floues ni grises */
  --ombre-1: 2px 2px 0 var(--cs-encre);
  --ombre-2: 4px 4px 0 var(--cs-encre);   /* ombres réduites d'un cran le 14/11 (3 → 2 px, 6 → 4 px) : Pierre les trouvait un peu trop prononcées */
  --ombre-titre: .045em .045em 0 var(--cs-encre);   /* surbrillance du logotype Sarina */

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-rebond: cubic-bezier(.34, 1.56, .64, 1);
  --d-1: 140ms; --d-2: 240ms; --d-3: 420ms; --d-4: 900ms;
  --cible: 44px;   /* taille minimale d'une cible tactile */
}

/* Club Sandwich — styles du site. Préfixé au build par charte/tokens.css (polices embarquées).
   Aucune couleur ni police en dur : uniquement les variables de la charte. */

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--fond); color: var(--texte); font: 400 var(--t-texte)/var(--interligne) var(--cs-police-texte); overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
/* Garde-fou responsive : aucun enfant de grille ne force la largeur */
.hero__grille > *, .colonnes > *, .histoire > *, .cartes > *, .modules > *, .tuiles > *, .pied__grille > * { min-width: 0; }
h1, h2, .hero__titre { overflow-wrap: break-word; hyphens: manual; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: var(--r-1); }
:is(.section--vert, .pied) :focus-visible { outline-color: var(--focus-inverse); }
button { font: inherit; color: inherit; cursor: pointer; }
p { margin: 0 0 var(--e-4); }
/* Texte justifié partout, avec césure, et jamais un mot seul sur la dernière ligne (demande de Pierre du 4/11) */
p, li { text-align: justify; hyphens: auto; -webkit-hyphens: auto; text-wrap: pretty; }
:is(.centre, .intro-section, .chute, .tri__phrase, .tri__retour, .tri__score, .tri__fin, .vague__texte, .prix, .sos__titre, .gant, .bandeau, .video, .moustique, .fin-session, .anneau__texte, .sos__entete, .carnet__pied, .scene__legende, .bandeau-info, .histoire__chiffres li, .frise--cartes .etape-frise, .souffle__aide) :is(p, li) { text-align: inherit; }
.etape-frise__pastille.etape-frise__pastille--picto { font-size: 1.5rem; letter-spacing: 0; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contenu { width: min(100% - 2 * var(--gouttiere), var(--largeur-page)); margin-inline: auto; }
.etroit { width: min(100% - 2 * var(--gouttiere), 760px); margin-inline: auto; }

/* ── Typographie de marque ── */
h1, h2 { font-family: var(--cs-police-titre); font-weight: 400; line-height: 1.05; letter-spacing: .005em; margin: 0 0 var(--e-4); }
h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font: 800 var(--t-h3)/1.2 var(--cs-police-texte); margin: 0 0 var(--e-3); }
.ombre { text-shadow: var(--ombre-titre); }
.sous { font: 400 var(--t-sous)/1.15 var(--cs-police-sous-titre); letter-spacing: var(--interlettre-sous); text-transform: uppercase; margin: 0 0 var(--e-3); }
.logotype { font: 400 clamp(2.2rem, 1.6rem + 3vw, 4.2rem)/.9 var(--cs-police-titre); color: var(--cs-dreams); -webkit-text-stroke: .045em var(--cs-encre); paint-order: stroke fill; text-shadow: .06em .06em 0 var(--cs-encre); margin: 0; }
.logotype--petit { font-size: 1.55rem; -webkit-text-stroke-width: 1.5px; text-shadow: 2px 2px 0 var(--cs-encre); }
mark { background: linear-gradient(transparent 12%, var(--surligne) 12% 88%, transparent 88%); color: inherit; padding: 0 .18em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
u { text-decoration: underline double var(--souligne); text-decoration-thickness: 3px; text-underline-offset: 6px; }

/* ── Boutons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: var(--cible); padding: .8em 1.6em; border: var(--bord); border-radius: var(--r-rond);
  background: var(--accent); color: var(--accent-texte); font: 800 1.02rem/1.1 var(--cs-police-texte); text-decoration: none; box-shadow: var(--ombre-1);
  transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--cs-encre); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--cs-encre); }
/* Tous les CTA en violet (demande de Pierre du 4/11) : les variantes gardent leur nom mais prennent l'accent */
.btn--vert, .btn--creme, .btn--jaune { background: var(--accent); color: var(--accent-texte); }
.btn--grand { font-size: 1.15rem; padding: 1em 2em; }
.btn--lien { background: none; border: 0; box-shadow: none; padding: .4em .2em; text-decoration: underline; min-height: var(--cible); }
.btn--lien:hover { transform: none; box-shadow: none; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ── En-tête ── */
.entete { position: sticky; top: 0; z-index: 50; background: var(--bandeau); color: var(--bandeau-texte); border-bottom: var(--bord); padding-top: env(safe-area-inset-top); }
.entete__in { display: flex; align-items: center; justify-content: space-between; gap: var(--e-4); min-height: 68px; }
.entete__marque { display: flex; align-items: center; gap: var(--e-2); text-decoration: none; }
.entete__marque img { width: 40px; color: var(--mascotte-trait); --mascotte-fond: var(--cs-yellow-submarine); }
.entete__nav { display: flex; align-items: center; gap: var(--e-3); }
.entete__nav a:not(.btn) { color: var(--bandeau-texte); font-weight: 700; text-decoration: none; padding: .5em .3em; min-height: var(--cible); display: inline-flex; align-items: center; }
.entete__nav a:not(.btn):hover { text-decoration: underline; }
@media (max-width: 720px) { .entete__nav .cache-mobile, .entete__nav a.cache-mobile:not(.btn) { display: none; } .entete__nav { gap: var(--e-2); } .entete__marque .logotype--petit { font-size: 1.25rem; } }
/* Landing mobile : Connexion et Rejoindre côte à côte (demande de Pierre du 4/11) */
@media (max-width: 720px) { .entete__nav :is(.entete__connexion, .entete__rejoindre) { padding: .5em .9em; font-size: .9rem; } }
/* (4/11) « Club Sandwich » reste visible sur tous les écrans : plus de mascotte, un seul bouton sur mobile */

/* ── Sections colorées ── */
.section { padding-block: var(--e-9); position: relative; }
.section--creme { background: var(--section-creme); }
.section--peche { background: var(--section-peche); }
.section--orange { background: var(--section-orange); }
.section--vert { background: var(--section-vert); color: var(--texte-inverse); }
.section--vert a:not(.btn) { color: var(--texte-inverse); }
.section + .section { border-top: var(--bord); }
.centre { text-align: center; }
.intro-section { max-width: 62ch; margin: 0 auto var(--e-7); text-align: center; font-size: 1.08em; }

/* ── Hero ── */
.hero { background: var(--section-violet); border-bottom: var(--bord); overflow: hidden; padding-block: clamp(2.5rem, 6vw, 6rem) clamp(3rem, 7vw, 7rem); }
.hero__grille { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero__titre { font: 400 var(--t-hero)/.95 var(--cs-police-titre); margin: var(--e-3) 0 var(--e-5); color: var(--cs-dreams); -webkit-text-stroke: .035em var(--cs-encre); paint-order: stroke fill; text-shadow: .05em .05em 0 var(--cs-encre); }
.hero__titre .ligne { display: block; }
.hero__accroche { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 34ch; margin-bottom: var(--e-6); font-weight: 600; }
.hero__accroche:has(+ .hero__recit) { margin-bottom: var(--e-4); }
.hero__recit { max-width: 52ch; margin-bottom: var(--e-6); font-size: clamp(.98rem, .93rem + .25vw, 1.08rem); line-height: 1.6; }
.hero__recit p { margin: 0 0 var(--e-3); }
.hero__recit p:last-child { margin-bottom: 0; }
.hero__recit strong { font-weight: 800; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--e-3); align-items: center; }
.hero__visuel { position: relative; justify-self: center; width: min(100%, 440px); }
.hero__photo { border: var(--bord); border-radius: var(--r-3) var(--r-3) var(--r-3) var(--r-1); box-shadow: var(--ombre-2); overflow: hidden; aspect-ratio: 4 / 5; transform: rotate(2deg); background: var(--cs-dancing-queen); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__mascotte { position: absolute; left: -18%; bottom: -10%; width: 46%; height: auto; color: var(--mascotte-trait); --mascotte-fond: var(--cs-yellow-submarine); filter: drop-shadow(4px 4px 0 var(--cs-encre)); }
.hero__bulle { position: absolute; top: 6%; right: -6%; background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); padding: .6em .9em; font: 400 1.05rem var(--cs-police-sous-titre); letter-spacing: .08em; box-shadow: var(--ombre-1); transform: rotate(5deg); }
.hero__prix { margin-top: var(--e-4); font-weight: 700; }
@media (max-width: 820px) {
  .hero__grille { grid-template-columns: 1fr; }
  .hero__visuel { width: min(78%, 360px); margin-top: var(--e-5); }
  .hero__mascotte { left: -22%; }
}

/* Mascotte qui marche */
.marche { animation: marche 1.1s var(--ease) infinite alternate; transform-origin: 50% 100%; }
@keyframes marche { from { transform: rotate(-5deg) translateY(0); } to { transform: rotate(5deg) translateY(-8px); } }
.celebre { animation: celebre .9s var(--ease-rebond) 2; }
@keyframes celebre { 0% { transform: scale(1) rotate(0); } 40% { transform: scale(1.18) rotate(-8deg) translateY(-14px); } 100% { transform: scale(1) rotate(0); } }

/* Titres qui s'écrivent : chaque mot entre à son tour */
.ecrit .ligne { animation: entre var(--d-4) var(--ease) both; }
.ecrit .ligne:nth-child(2) { animation-delay: 160ms; }
.ecrit .ligne:nth-child(3) { animation-delay: 320ms; }
@keyframes entre { from { opacity: 0; transform: translateY(.35em) rotate(-2deg); } to { opacity: 1; transform: none; } }

/* ── Bandeau défilant ── */
.defile { background: var(--cs-encre); color: var(--cs-dreams); border-block: var(--bord); overflow: hidden; white-space: nowrap; }
.defile__piste { display: inline-flex; gap: 2.5rem; padding: .85rem 0; animation: defile 38s linear infinite; font: 400 1.25rem var(--cs-police-sous-titre); letter-spacing: .14em; }
.defile__piste span::after { content: "✦"; margin-left: 2.5rem; color: var(--cs-yellow-submarine); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ── Apparition au scroll ── */
.apparait { opacity: 0; transform: translateY(28px); transition: opacity var(--d-4) var(--ease), transform var(--d-4) var(--ease); }
.apparait.vu { opacity: 1; transform: none; }

/* ── Phrases d'identification ── */
.echos { display: grid; gap: var(--e-4); max-width: 860px; margin: 0 auto; }
.echo { background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); padding: var(--e-4) var(--e-5); box-shadow: var(--ombre-1); font-weight: 600; font-size: 1.08rem; }
.echo:nth-child(odd) { transform: rotate(-.8deg); margin-right: 8%; }
.echo:nth-child(even) { transform: rotate(.8deg); margin-left: 8%; }
.echo { text-wrap: pretty; }
@media (max-width: 720px) { .echo { padding: var(--e-3) var(--e-4); font-size: 1rem; } .echo:nth-child(odd) { margin-right: 3%; } .echo:nth-child(even) { margin-left: 3%; } }
.echo::before { content: "«\00a0"; font-family: var(--cs-police-titre); color: var(--cs-kiss-me-quick); }
.echo::after { content: "\00a0»"; font-family: var(--cs-police-titre); color: var(--cs-kiss-me-quick); }
.chute { font: 900 clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem)/1.25 var(--cs-police-texte); text-align: center; margin-top: var(--e-7); }

/* ── Cartes retournables ── */
.cartes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--e-5); }
.carte-flip { perspective: 1200px; border: 0; padding: 0; background: none; text-align: left; min-height: 260px; width: 100%; }
.carte-flip__in { position: relative; display: block; width: 100%; height: 100%; min-height: 260px; transition: transform var(--d-4) var(--ease); transform-style: preserve-3d; }
.carte-flip[aria-pressed="true"] .carte-flip__in { transform: rotateY(180deg); }
.carte-flip__face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: var(--bord); border-radius: var(--r-2); padding: var(--e-5); box-shadow: var(--ombre-1); display: flex; flex-direction: column; gap: var(--e-2); overflow: auto; }
.carte-flip__face--recto { background: var(--cs-dreams); }
.carte-flip__face--verso { background: var(--cs-yellow-submarine); transform: rotateY(180deg); }
.carte-flip__etiquette { font: 400 .95rem var(--cs-police-sous-titre); letter-spacing: .14em; }
.carte-flip__titre { font: 800 1.25rem/1.25 var(--cs-police-texte); }
.carte-flip__indice { margin-top: auto; font-size: .85rem; font-weight: 700; display: flex; align-items: center; gap: .4em; }
.carte-flip__indice::before { content: "↻"; font-size: 1.2rem; }

/* ── Démo « Qui parle ? » ── */
.tri { background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-3); padding: clamp(1rem, 3vw, 2rem); box-shadow: var(--ombre-2); color: var(--texte); }
.tri__phrase { font: 600 clamp(1.15rem, 1rem + .8vw, 1.6rem)/1.35 var(--cs-police-texte); text-align: center; min-height: 4.2em; display: grid; place-items: center; margin: var(--e-3) 0 var(--e-5); transition: opacity var(--d-2); }
.tri__boutons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e-3); }
.tri__bouton { border: var(--bord); border-radius: var(--r-2); padding: var(--e-4); min-height: 76px; font-weight: 800; box-shadow: var(--ombre-1); transition: transform var(--d-1) var(--ease); }
.tri__bouton:active { transform: translate(2px, 2px); box-shadow: none; }
.tri__bouton--a { background: var(--cs-kiss-me-quick); }
.tri__bouton--b { background: var(--cs-waterloo); }
.tri__bouton small { display: block; font-weight: 600; font-size: .8rem; }
.tri__retour { min-height: 3em; margin-top: var(--e-4); text-align: center; font-weight: 600; }
.tri__retour.bon { color: var(--solide); }
.tri__score { font: 400 1rem var(--cs-police-sous-titre); letter-spacing: .12em; text-align: center; }
.tri__fin { text-align: center; }

/* ── Frise de l'histoire ── */
.frise { display: grid; gap: var(--e-6); position: relative; }
.frise::before { content: ""; position: absolute; left: 27px; top: 10px; bottom: 10px; width: 4px; background: var(--cs-encre); border-radius: 2px; }
.etape-frise { display: grid; grid-template-columns: 58px 1fr; gap: var(--e-4); align-items: start; }
.etape-frise__pastille { width: 58px; height: 58px; border-radius: 50%; border: var(--bord); display: grid; place-items: center; font: 400 1.05rem var(--cs-police-sous-titre); background: var(--cs-yellow-submarine); position: relative; z-index: 1; box-shadow: var(--ombre-1); text-align: center; line-height: 1; }
.etape-frise:nth-child(2) .etape-frise__pastille { background: var(--cs-dancing-queen); }
.etape-frise:nth-child(3) .etape-frise__pastille { background: var(--cs-waterloo); }
.etape-frise:nth-child(4) .etape-frise__pastille { background: var(--cs-purple-haze); }
.etape-frise:nth-child(5) .etape-frise__pastille { background: var(--cs-kiss-me-quick); }
.etape-frise h3 { margin-top: .6em; }
.histoire { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
@media (max-width: 820px) { .histoire { grid-template-columns: 1fr; }     }

/* ── Piste de ski (neuroplasticité) ── */
.ski { border: var(--bord); border-radius: var(--r-3); background: var(--cs-waterloo); box-shadow: var(--ombre-2); overflow: hidden; color: var(--texte); }
.ski svg { width: 100%; height: auto; }
.ski__piste { fill: none; stroke: var(--cs-encre); stroke-linecap: round; transition: stroke-width var(--d-3) var(--ease), opacity var(--d-3) var(--ease); }
.ski__neuve { fill: none; stroke: var(--cs-kiss-me-quick); stroke-linecap: round; stroke-dasharray: 6 10; transition: stroke-width var(--d-3) var(--ease); }
.ski__neige { fill: var(--cs-waterloo); }
.ski__montagne { fill: var(--cs-dreams); stroke: var(--cs-encre); stroke-width: 3; }
.ski__commandes { display: flex; flex-wrap: wrap; gap: var(--e-3); align-items: center; justify-content: space-between; padding: var(--e-4) var(--e-5); background: var(--cs-dreams); border-top: var(--bord); }
.ski__curseur { flex: 1 1 220px; accent-color: var(--solide); min-height: var(--cible); }
.ski__legende { font-weight: 700; min-height: 3em; }

/* ── Modules du programme ── */
.modules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--e-5); }
.module { border: var(--bord); border-radius: var(--r-3); padding: var(--e-6) var(--e-5); box-shadow: var(--ombre-2); position: relative; background: var(--couleur, var(--cs-dreams)); color: var(--texte); }
.module h3 { font: 400 clamp(1.7rem, 1.4rem + 1vw, 2.2rem)/1.05 var(--cs-police-titre); margin: .2em 0 .5em; }
.module ol { padding-left: 1.2em; margin: 0; }
.module li { margin-bottom: .35em; font-weight: 600; }

/* ── Vague (démo et SOS) ── */
.vague { position: relative; border: var(--bord); border-radius: var(--r-3); overflow: hidden; background: var(--sos-fond); box-shadow: var(--ombre-2); color: var(--texte); }
.vague svg { width: 100%; height: clamp(150px, 26vw, 240px); }
.vague__eau { fill: var(--sos-vague); }
.vague__ecume { fill: none; stroke: var(--cs-dreams); stroke-width: 4; stroke-linecap: round; }
.vague__texte { position: absolute; inset: auto 0 0 0; padding: var(--e-4) var(--e-5); text-align: center; font: 400 var(--t-sous) var(--cs-police-sous-titre); letter-spacing: .14em; color: var(--cs-dreams); }

/* ── Pour qui ── */
.colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e-5); }
@media (max-width: 760px) { .colonnes { grid-template-columns: 1fr; } }
.liste-coche { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--e-3); }
.liste-coche li { display: grid; grid-template-columns: 34px 1fr; gap: var(--e-3); align-items: start; font-weight: 600; }
.liste-coche li::before { content: "✓"; display: grid; place-items: center; width: 34px; height: 34px; border: var(--bord); border-radius: 50%; background: var(--cs-yellow-submarine); font-weight: 900; }
.liste-coche--non li::before { content: "!"; background: var(--cs-waterloo); }
.encadre { border: var(--bord); border-radius: var(--r-2); background: var(--cs-dreams); padding: var(--e-5); box-shadow: var(--ombre-1); color: var(--texte); }

/* ── Prix ── */
.prix { max-width: 560px; margin: 0 auto; background: var(--cs-dreams); color: var(--texte); border: var(--bord); border-radius: var(--r-3); box-shadow: 10px 10px 0 var(--cs-encre); padding: clamp(1.5rem, 4vw, 3rem); text-align: center; position: relative; }
.prix__etiquette { position: absolute; top: -22px; left: 50%; transform: translateX(-50%) rotate(-3deg); background: var(--cs-kiss-me-quick); border: var(--bord); border-radius: var(--r-rond); padding: .35em 1.1em; font: 400 1.05rem var(--cs-police-sous-titre); letter-spacing: .14em; white-space: nowrap; }
.prix__montant { font: 400 clamp(4rem, 3rem + 5vw, 6.5rem)/1 var(--cs-police-titre); text-shadow: var(--ombre-titre); color: var(--cs-kiss-me-quick); -webkit-text-stroke: 2px var(--cs-encre); paint-order: stroke fill; margin: var(--e-4) 0 var(--e-2); }
.prix__mention { font-weight: 700; margin-bottom: var(--e-5); }
.prix ul { text-align: left; margin: 0 0 var(--e-6); }
.prix form { display: grid; gap: var(--e-3); text-align: left; }
.prix__note { font-size: var(--t-petit); margin-top: var(--e-3); }

/* ── FAQ / accordéons ── */
.faq { display: grid; gap: var(--e-3); }
details.pli { border: var(--bord); border-radius: var(--r-2); background: var(--cs-dreams); box-shadow: var(--ombre-1); color: var(--texte); }
details.pli summary { cursor: pointer; list-style: none; padding: var(--e-4) var(--e-5); font-weight: 800; display: flex; justify-content: space-between; gap: var(--e-3); min-height: var(--cible); align-items: center; }
details.pli summary::-webkit-details-marker { display: none; }
details.pli summary::after { content: "+"; font: 400 1.8rem/1 var(--cs-police-sous-titre); transition: transform var(--d-2) var(--ease); }
details.pli[open] summary::after { transform: rotate(45deg); }
details.pli > div { padding: 0 var(--e-5) var(--e-4); }

/* ── Formulaires ── */
.champ { display: grid; gap: .35em; font-weight: 700; }
.champ input, .champ textarea, .champ select { font: 500 1rem var(--cs-police-texte); border: var(--bord); border-radius: var(--r-1); padding: .8em .9em; background: var(--cs-dreams); color: var(--texte); min-height: var(--cible); width: 100%; }
.champ textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.champ small { font-weight: 500; }
.form__mention { font-size: var(--t-petit); margin: var(--e-3) 0 0; opacity: .85; }
.coche { display: grid; grid-template-columns: 28px 1fr; gap: var(--e-2); align-items: start; font-size: .95rem; }
.coche input { width: 24px; height: 24px; margin: 2px 0 0; accent-color: var(--solide); }
.formulaire { display: grid; gap: var(--e-4); }
.alerte { border: var(--bord); border-radius: var(--r-1); padding: var(--e-3) var(--e-4); background: var(--cs-dancing-queen); font-weight: 700; }
.alerte--ok { background: var(--cs-waterloo); }
.alerte--test { background: var(--cs-yellow-submarine); font-weight: 500; margin-bottom: var(--e-4); }
.page-form { min-height: 70vh; display: grid; place-items: center; padding: var(--e-8) 0; background: var(--section-peche); }
.boite { width: min(100% - 2 * var(--gouttiere), 480px); background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); padding: clamp(1.5rem, 4vw, 2.5rem); }
.boite h1 { font-size: clamp(2.2rem, 1.8rem + 2vw, 3rem); text-shadow: var(--ombre-titre); color: var(--cs-kiss-me-quick); -webkit-text-stroke: 1.5px var(--cs-encre); paint-order: stroke fill; }

/* ── Pied de page ── */
.pied { background: var(--bandeau); color: var(--bandeau-texte); padding: var(--e-8) 0 calc(var(--e-6) + env(safe-area-inset-bottom)); }
.pied a { color: var(--cs-dreams); }
.pied__grille { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: var(--e-6); }
@media (max-width: 760px) { .pied__grille { grid-template-columns: 1fr; } }
.pied h2 { font-size: 1.6rem; color: var(--cs-yellow-submarine); }
.pied ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5em; }
.pied__avert { border-top: 2px solid var(--cs-dreams); margin-top: var(--e-6); padding-top: var(--e-5); font-size: var(--t-petit); opacity: .92; }
.urgences { display: grid; gap: .4em; }
.urgences strong { color: var(--cs-yellow-submarine); }
.tel { display: inline-flex; align-items: center; min-height: var(--cible); padding: 0 .75em; margin: .1em 0; border: var(--bord); border-radius: var(--r-rond); background: var(--cs-yellow-submarine); color: var(--cs-encre); font-weight: 900; text-decoration: none; white-space: nowrap; box-shadow: 2px 2px 0 var(--cs-encre); }
.tel:active { transform: translate(2px, 2px); box-shadow: none; }
.carrousel__points { display: none; }
/* Bandeau cookies : discret, en bas, deux choix de même poids */
.cookies { position: fixed; left: 50%; bottom: calc(12px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 90; width: min(calc(100% - 24px), 560px); display: flex; align-items: center; gap: var(--e-3); padding: var(--e-2) var(--e-3) var(--e-2) var(--e-4); background: var(--cs-dreams); border: 2px solid var(--cs-encre); border-radius: var(--r-2); box-shadow: 3px 3px 0 var(--cs-encre); font-size: .82rem; line-height: 1.4; animation: cookies-monte var(--d-3) var(--ease) both; }
.cookies p { margin: 0; flex: 1; }
.cookies__choix { display: flex; gap: var(--e-2); flex: none; }
.cookies__btn { min-height: 40px; padding: 0 .9em; border: 2px solid var(--cs-encre); border-radius: var(--r-rond); background: var(--cs-dreams); font-weight: 800; font-size: .82rem; }
.cookies__btn:active { transform: translate(1px, 1px); }
@keyframes cookies-monte { from { opacity: 0; transform: translate(-50%, 12px); } }
@media (max-width: 520px) { .cookies { flex-direction: column; align-items: stretch; } .cookies__choix > * { flex: 1; } }
@media (prefers-reduced-motion: reduce) { .cookies { animation: none; } }

/* ── Kit SOS ── */
.sos { min-height: 100vh; background: var(--sos-fond); display: flex; flex-direction: column; }
.sos__corps { flex: 1; width: min(100% - 2 * var(--gouttiere), 720px); margin: 0 auto; display: flex; flex-direction: column; gap: var(--e-5); padding-bottom: calc(var(--e-7) + env(safe-area-inset-bottom)); }
.sos__titre { font: 400 clamp(2.4rem, 2rem + 3vw, 4rem)/1 var(--cs-police-titre); text-align: center; margin: var(--e-3) 0 0; }
.sos__carte { background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); padding: clamp(1.4rem, 4vw, 2.4rem); }
.sos__carte h2 { font-size: clamp(1.9rem, 1.6rem + 1.6vw, 2.6rem); }
.sos__phrase { font: 800 clamp(1.25rem, 1.1rem + 1vw, 1.7rem)/1.35 var(--cs-police-texte); margin: var(--e-4) 0; }
.minuteur { display: grid; place-items: center; gap: var(--e-3); }
.minuteur__cercle { position: relative; width: min(72vw, 300px); aspect-ratio: 1; }
.minuteur__cercle svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.minuteur__fond { fill: var(--cs-dreams); stroke: var(--cs-encre); stroke-width: 3; }
.minuteur__progres { fill: none; stroke: var(--sos-vague); stroke-width: 14; stroke-linecap: round; transition: stroke-dashoffset 1s linear; }
.minuteur__temps { position: absolute; inset: 0; display: grid; place-items: center; font: 400 clamp(3rem, 2.4rem + 4vw, 4.8rem) var(--cs-police-sous-titre); letter-spacing: .06em; }
.sos__urgence { background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); padding: var(--e-4) var(--e-5); font-size: .95rem; }
/* ── Club : tableau de bord ── */
.barre { height: 22px; border: var(--bord); border-radius: var(--r-rond); background: var(--cs-dreams); overflow: hidden; }
.barre__plein { height: 100%; background: var(--solide); width: 0; transition: width var(--d-4) var(--ease); }
.parcours { display: grid; gap: var(--e-6); padding-block: var(--e-7); }
.tuiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: var(--e-4); }
.gants { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: var(--e-3); }
.gant { border: var(--bord); border-radius: var(--r-2); padding: var(--e-4); text-align: center; background: var(--cs-dreams); font-weight: 700; font-size: .9rem; }
.gant__icone { font-size: 2rem; display: block; filter: grayscale(1); opacity: .35; }
.gant.gagne { background: var(--cs-yellow-submarine); box-shadow: var(--ombre-1); }
.gant.gagne .gant__icone { filter: none; opacity: 1; }
.bienvenue { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--cs-encre) 55%, transparent); display: grid; place-items: center; padding: var(--gouttiere); }
.bienvenue[hidden] { display: none; }
.bienvenue .boite { max-width: 520px; }
.bienvenue .accueil__titre { font-size: clamp(2rem, 1.5rem + 2.5vw, 3.2rem); }
.bienvenue__points { display: grid; gap: var(--e-2); margin: var(--e-4) 0; }
.bandeau { background: var(--cs-encre); color: var(--cs-dreams); text-align: center; padding: .5em var(--gouttiere); font-size: .9rem; font-weight: 700; }
.bandeau a { color: var(--cs-yellow-submarine); }
/* Bouton SOS flottant */
.btn--sos { background: var(--cs-kiss-me-quick); padding: .45em 1em; min-height: var(--cible); font-size: .95rem; }

/* ── Club : page de session ── */
.session-haut { background: var(--couleur, var(--section-peche)); border-bottom: var(--bord); padding: var(--e-7) 0 var(--e-6); color: var(--texte); }
.session-haut--vert { color: var(--texte-inverse); }
.fil { font-weight: 700; font-size: .95rem; margin-bottom: var(--e-4); display: flex; gap: .5em; flex-wrap: wrap; }
.fil a { text-decoration: none; }
.session-haut h1 { font-size: clamp(2.3rem, 1.8rem + 3vw, 4rem); text-shadow: var(--ombre-titre); color: var(--cs-dreams); -webkit-text-stroke: .03em var(--cs-encre); paint-order: stroke fill; }
.meta { display: flex; flex-wrap: wrap; gap: var(--e-2); }
.badge-brouillon { background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-1); padding: .2em .6em; font-weight: 800; font-size: .8rem; }
.video { margin: var(--e-6) 0; border: var(--bord); border-radius: var(--r-3); aspect-ratio: 16 / 9; background: var(--cs-encre); color: var(--cs-dreams); display: grid; place-items: center; text-align: center; padding: var(--e-5); box-shadow: var(--ombre-2); position: relative; overflow: hidden; }
.video::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, transparent 0 22px, color-mix(in srgb, var(--cs-dreams) 6%, transparent) 22px 44px); }
.video > * { position: relative; }
.video__play { width: 74px; height: 74px; border-radius: 50%; border: 3px solid var(--cs-dreams); display: grid; place-items: center; margin: 0 auto var(--e-3); font-size: 1.8rem; }
.video p { margin: 0; font: 400 1.15rem var(--cs-police-sous-titre); letter-spacing: .12em; }
.lecon { padding-block: var(--e-6) var(--e-8); }
.lecon > * + * { margin-top: var(--e-6); }
.lecon p, .lecon li { max-width: var(--largeur-texte); }
.lecon ul { padding-left: 1.3em; }
.lecon li { margin-bottom: .4em; }
.bloc-texte h2 { font: 800 var(--t-h3)/1.2 var(--cs-police-texte); margin-bottom: var(--e-3); }
.bloc-histoire { border-left: 6px solid var(--cs-kiss-me-quick); background: var(--cs-dancing-queen); border-radius: 0 var(--r-2) var(--r-2) 0; padding: var(--e-5); }
.bloc-metaphore { display: grid; grid-template-columns: 90px 1fr; gap: var(--e-4); background: var(--cs-waterloo); border: var(--bord); border-radius: var(--r-3); padding: var(--e-5); box-shadow: var(--ombre-1); align-items: start; }
.bloc-metaphore img { width: 90px; }
.bloc-metaphore h3 { font: 400 1.7rem/1.1 var(--cs-police-titre); margin-bottom: var(--e-2); }
@media (max-width: 560px) { .bloc-metaphore { grid-template-columns: 1fr; } .bloc-metaphore img { width: 64px; } }
.bloc-cle { background: var(--cs-encre); color: var(--cs-dreams); border-radius: var(--r-2); padding: var(--e-5); }
.bloc-retenir { position: relative; background: var(--retenir); border: var(--bord); border-radius: var(--r-3); padding: var(--e-6) var(--e-5) var(--e-5); box-shadow: var(--ombre-2); }
.bloc-retenir ul { margin: 0; padding-left: 1.2em; }
.bloc-retenir li { font-weight: 700; }
.exercice { border: var(--bord); border-radius: var(--r-3); background: var(--cs-dreams); box-shadow: var(--ombre-2); overflow: hidden; }
.exercice__corps { padding: var(--e-5); display: grid; gap: var(--e-4); }

/* Onglet de rubrique : le même repère sur toutes les familles de blocs */
.carte-rubrique { position: relative; margin-top: var(--e-6); }
.rubrique { position: absolute; top: 0; left: 22px; transform: translateY(-50%) rotate(-1.5deg); z-index: 2; display: inline-flex; align-items: center; gap: .5em; background: var(--cs-kiss-me-quick); color: var(--cs-encre); border: var(--bord); border-radius: var(--r-rond); padding: .3em 1em .3em .5em; font: 400 1rem/1 var(--cs-police-sous-titre); letter-spacing: .12em; white-space: nowrap; max-width: calc(100% - 44px); }
.rubrique__icone { display: inline-grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--cs-dreams); border: 2px solid var(--cs-encre); font-size: .85em; letter-spacing: 0; overflow: hidden; flex: none; }
.rubrique__avatar { width: 100%; height: 100%; object-fit: cover; }
.rubrique small { font: 700 .72rem/1 var(--cs-police-texte); letter-spacing: .02em; text-transform: none; opacity: .85; }
.rubrique small::before { content: "·"; margin-right: .5em; }
.carte-rubrique.exercice, .carte-rubrique.bloc-histoire, .carte-rubrique.bloc-cle { padding-top: var(--e-3); }
.exercice.carte-rubrique { overflow: visible; }
.exercice.carte-rubrique .exercice__corps { padding-top: var(--e-6); }
.exercice__corps > .prive { justify-self: end; margin-bottom: calc(-1 * var(--e-3)); }
.bloc-histoire.carte-rubrique { border: var(--bord); border-left-width: 6px; border-left-color: var(--cs-kiss-me-quick); border-radius: var(--r-3); padding: var(--e-6) var(--e-5) var(--e-5); }
.bloc-cle.carte-rubrique { padding: var(--e-6) var(--e-5) var(--e-5); border: var(--bord); }
.bloc-metaphore.carte-rubrique { padding-top: var(--e-6); }
.fiche-pdf.carte-rubrique { padding-top: var(--e-6); }
.exercice__corps h3 { margin: 0; }
.prive { font-size: .8rem; font-weight: 700; display: inline-flex; gap: .35em; align-items: center; }
.vf { display: grid; gap: var(--e-3); }
.vf__item { border: var(--bord); border-radius: var(--r-2); padding: var(--e-4); background: var(--fond); }
.vf__affirmation { font-weight: 800; margin-bottom: var(--e-3); }
.vf__boutons { display: flex; gap: var(--e-2); flex-wrap: wrap; }
.vf__boutons button { border: var(--bord); border-radius: var(--r-rond); padding: .45em 1.2em; background: var(--cs-dreams); font-weight: 800; min-height: var(--cible); }
.vf__boutons button[aria-pressed="true"] { background: var(--cs-yellow-submarine); }
.vf__explication { margin-top: var(--e-3); padding: var(--e-3) var(--e-4); border-radius: var(--r-1); background: var(--cs-waterloo); }
.vf__explication[hidden] { display: none; }
.cases-liste { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--e-2); }
.cases-liste label { display: grid; grid-template-columns: 30px 1fr; gap: var(--e-3); align-items: start; padding: var(--e-3); border: 2px solid var(--cs-encre); border-radius: var(--r-1); background: var(--fond); cursor: pointer; font-weight: 600; }
.cases-liste input { width: 24px; height: 24px; accent-color: var(--solide); margin: 0; }
.cases-liste input:checked + span { text-decoration: line-through; text-decoration-color: var(--cs-kiss-me-quick); text-decoration-thickness: 3px; }
.choix-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: var(--e-3); }
.choix-liste button { text-align: left; border: var(--bord); border-radius: var(--r-2); padding: var(--e-4); background: var(--fond); display: grid; gap: var(--e-2); }
.choix-liste button[aria-pressed="true"] { background: var(--cs-yellow-submarine); box-shadow: var(--ombre-1); }
.choix-liste strong { font-size: 1.05rem; }
.etapes-liste { display: grid; gap: var(--e-3); counter-reset: etape; }
.etape { border: var(--bord); border-radius: var(--r-2); background: var(--fond); overflow: hidden; }
.etape > button { width: 100%; text-align: left; border: 0; background: none; padding: var(--e-4); font-weight: 800; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: var(--e-3); min-height: 60px; }
.etape > button::before { counter-increment: etape; content: counter(etape); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: var(--bord); background: var(--cs-yellow-submarine); font: 400 1.3rem var(--cs-police-sous-titre); }
.etape > button::after { content: "+"; font: 400 1.6rem var(--cs-police-sous-titre); }
.etape[data-ouvert] > button::after { content: "–"; }
.etape__corps { padding: 0 var(--e-4) var(--e-4) calc(44px + 2 * var(--e-4)); }
.etape__corps[hidden] { display: none; }
.outils-exercice { display: flex; flex-wrap: wrap; gap: var(--e-2); align-items: center; }
.sauve { font-size: .85rem; font-weight: 700; min-height: 1.4em; }
.contrat { display: grid; gap: var(--e-4); }
.contrat__texte { font: 600 1.1rem/1.6 var(--cs-police-texte); background: var(--fond); border: 2px dashed var(--cs-encre); border-radius: var(--r-2); padding: var(--e-5); }
.contrat__signature { font: 400 2.1rem var(--cs-police-titre); border: 0; border-bottom: 3px solid var(--cs-encre); background: transparent; width: 100%; padding: .2em 0; color: var(--texte); }
.cerveau { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e-4); }
.cerveau button { border: var(--bord); border-radius: var(--r-3); padding: var(--e-5); text-align: left; display: grid; gap: var(--e-2); min-height: 150px; box-shadow: var(--ombre-1); }
.cerveau__limbique { background: var(--cs-kiss-me-quick); }
.cerveau__prefrontal { background: var(--cs-waterloo); }
.cerveau button strong { font: 400 1.25rem var(--cs-police-sous-titre); letter-spacing: .1em; }
.cerveau__detail { grid-column: 1 / -1; border: var(--bord); border-radius: var(--r-2); padding: var(--e-4) var(--e-5); background: var(--fond); min-height: 6em; }
@media (max-width: 560px) { .cerveau { grid-template-columns: 1fr; } }
.moustique { text-align: center; display: grid; gap: var(--e-4); place-items: center; }
.moustique__peau { width: min(100%, 320px); aspect-ratio: 1; border-radius: 50%; border: var(--bord); background: var(--cs-dancing-queen); display: grid; place-items: center; position: relative; }
.moustique__bouton { width: 46%; aspect-ratio: 1; border-radius: 50%; background: var(--cs-kiss-me-quick); border: 3px solid var(--cs-encre); transition: transform var(--d-4) var(--ease), opacity var(--d-4) var(--ease); }
.fin-session { display: grid; gap: var(--e-4); justify-items: center; text-align: center; padding: var(--e-6) var(--e-5); border: var(--bord); border-radius: var(--r-3); background: var(--cs-yellow-submarine); box-shadow: var(--ombre-2); }
.fin-session img { width: 56px; }
.nav-sessions { display: flex; justify-content: space-between; gap: var(--e-3); flex-wrap: wrap; }
.avertissement-contenu { border: var(--bord); border-radius: var(--r-2); background: var(--cs-waterloo); padding: var(--e-4) var(--e-5); font-weight: 600; }

/* ── Fiche récap interactive ── */
.fiche { border: var(--bord); border-radius: var(--r-3); overflow: hidden; box-shadow: var(--ombre-2); background: var(--cs-dreams); }

/* ── Pages légales ── */
.legal { padding-block: var(--e-7) var(--e-8); }
.legal h1 { font-size: var(--t-h1); }
.legal h2 { font: 800 var(--t-h3)/1.2 var(--cs-police-texte); margin-top: var(--e-6); }
.legal p, .legal li { max-width: var(--largeur-texte); }

/* ── Admin ── */
body.admin { padding: var(--e-5); }
body.admin table { border-collapse: collapse; width: 100%; font-size: .9rem; margin-bottom: var(--e-6); }
body.admin td, body.admin th { border: 1px solid var(--cs-encre); padding: .4em .6em; text-align: left; vertical-align: top; }
body.admin form { display: inline; }
body.admin .ok { background: var(--cs-waterloo); padding: var(--e-3); border: var(--bord); word-break: break-all; }
body.admin .err { background: var(--cs-dancing-queen); padding: var(--e-3); border: var(--bord); }
body.admin h1 { font-size: 2.4rem; }

/* ── Mouvement réduit ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .apparait { opacity: 1; transform: none; }
}
@media print {
  .entete, .pied, .video, .nav-sessions, .outils-exercice, .bandeau { display: none !important; }
  .exercice, .fiche, .bloc-retenir { box-shadow: none; break-inside: avoid; }
}
/* ── Suivi de la formation ── */
.ancre { scroll-margin-top: 90px; }
.position { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-3); margin-top: var(--e-4); }
.point { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--cs-encre); background: var(--cs-dreams); display: block; }
.point.fait { background: var(--cs-encre); }
@media (pointer: coarse) { .point { width: 22px; height: 22px; } }
.lecture { position: fixed; left: 0; right: 0; top: env(safe-area-inset-top); height: 5px; z-index: 70; pointer-events: none; }
.lecture__plein { height: 100%; width: 0; background: var(--accent); box-shadow: 0 2px 0 var(--cs-encre); }
.nav-sessions .btn { max-width: 100%; white-space: normal; text-align: center; }
@media (max-width: 560px) { .nav-sessions { flex-direction: column; } .nav-sessions .btn { width: 100%; } }
/* Boîte à outils du Club */

/* ═══════════ Club v2 : lisible, coloré, une identité par module ═══════════ */
.club main { padding-bottom: var(--e-7); }
.titre-section { font: 900 clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem)/1.1 var(--cs-police-texte); margin: var(--e-7) 0 var(--e-4); letter-spacing: -.01em; }
.titre-section::after { content: ""; display: block; width: 64px; height: 6px; border-radius: 3px; background: var(--cs-kiss-me-quick); margin-top: .35em; }
.vague-bas { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(18px, 3vw, 40px); }
.vague-bas path { fill: var(--fond); }
.ombre small, h2 small { text-shadow: none; -webkit-text-stroke: 0; }

/* Accueil du tableau de bord */
.accueil { position: relative; background: var(--cs-yellow-submarine); padding: clamp(1.5rem, 4vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden; }
.accueil::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 12% 20%, var(--cs-dancing-queen) 0 90px, transparent 91px), radial-gradient(circle at 88% 85%, var(--cs-purple-haze) 0 140px, transparent 141px); opacity: .9; }
.accueil__grille { position: relative; display: grid; grid-template-columns: 1fr auto; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.accueil__carte { background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); padding: clamp(1.25rem, 3vw, 2.25rem); }
.accueil__titre { font: 400 clamp(2.4rem, 1.8rem + 3vw, 4rem)/1 var(--cs-police-titre); color: var(--cs-kiss-me-quick); -webkit-text-stroke: 1.5px var(--cs-encre); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--cs-encre); margin: var(--e-2) 0 var(--e-3); }
.accueil__resume { font-weight: 700; font-size: 1.05rem; }
.reprendre { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .2em 1em; text-decoration: none; background: var(--solide); color: var(--solide-texte); border: var(--bord); border-radius: var(--r-2); padding: var(--e-4) var(--e-5); box-shadow: var(--ombre-1); transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); }
.reprendre:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--cs-encre); }
.reprendre__label { font: 400 .95rem var(--cs-police-sous-titre); letter-spacing: .16em; color: var(--cs-yellow-submarine); }
.reprendre__titre { grid-column: 1; font-weight: 800; font-size: 1.1rem; line-height: 1.3; }
.reprendre__go { grid-row: 1 / 3; grid-column: 2; font-size: 2rem; font-weight: 900; }
.anneau { position: relative; width: clamp(170px, 22vw, 240px); aspect-ratio: 1; }
.anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau__fond { fill: var(--cs-dreams); stroke: var(--cs-encre); stroke-width: 3; }
.anneau__plein { fill: none; stroke: var(--solide); stroke-width: 12; stroke-linecap: round; transition: stroke-dashoffset 1.4s var(--ease); }
.anneau__texte { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.anneau__texte strong { font: 400 clamp(2.8rem, 2rem + 3vw, 4rem)/1 var(--cs-police-sous-titre); }
.anneau__texte span { font-weight: 700; font-size: .85rem; }
.anneau__mascotte { position: absolute; right: -14%; bottom: -8%; width: 42%; filter: drop-shadow(3px 3px 0 var(--cs-encre)); }
@media (max-width: 760px) {
  .accueil__grille { grid-template-columns: 1fr; }
  .anneau { order: -1; width: 150px; justify-self: center; }
  .anneau__mascotte { right: -30%; bottom: -12%; width: 34%; }
}

/* Boîte à outils */
.outils__grille { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: var(--e-4); }
.outil { display: grid; grid-template-columns: 56px 1fr auto; gap: var(--e-4); align-items: center; text-decoration: none; border: var(--bord); border-radius: var(--r-2); padding: var(--e-4) var(--e-5); box-shadow: var(--ombre-1); transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); }
.outil:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--cs-encre); }
.outil--sos { background: var(--sos-fond); }
.outil--fiches { background: var(--cs-dancing-queen); }
.outil__icone { width: 56px; height: 56px; border-radius: 50%; border: var(--bord); background: var(--cs-dreams); display: grid; place-items: center; font-size: 1.6rem; }
.outil strong { display: block; font-size: 1.15rem; font-weight: 900; }
.outil strong + span { font-weight: 600; font-size: .95rem; line-height: 1.4; }

/* Modules et séances */
.mods { display: grid; gap: var(--e-6); }
.mod { border: var(--bord); border-radius: var(--r-3); overflow: hidden; background: var(--cs-dreams); box-shadow: var(--ombre-2); }
.mod__haut { display: grid; grid-template-columns: auto 1fr auto; gap: var(--e-4); align-items: center; background: var(--couleur); border-bottom: var(--bord); padding: var(--e-4) var(--e-5); }
.mod[data-module="fin"] .mod__haut { color: var(--texte-inverse); }
.mod__num { font: 400 .95rem var(--cs-police-sous-titre); letter-spacing: .16em; display: block; }
.mod__titre { font: 400 clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem)/1 var(--cs-police-titre); margin: .05em 0 0; color: var(--cs-dreams); -webkit-text-stroke: 1.2px var(--cs-encre); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--cs-encre); }
.mod__compte { font: 400 1.5rem var(--cs-police-sous-titre); letter-spacing: .06em; background: var(--cs-dreams); color: var(--texte); border: var(--bord); border-radius: var(--r-rond); padding: .15em .7em; }
.mod__liste { list-style: none; margin: 0; padding: 0; }
.mod__liste li + li { border-top: 2px dashed color-mix(in srgb, var(--cs-encre) 25%, transparent); }
.seance { display: grid; grid-template-columns: 48px 1fr auto; gap: var(--e-4); align-items: center; padding: var(--e-4) var(--e-5); text-decoration: none; min-height: 72px; transition: background var(--d-1) var(--ease); }
@media (hover: hover) { .seance:hover { background: color-mix(in srgb, var(--couleur) 35%, var(--cs-dreams)); } }
.seance:active { background: color-mix(in srgb, var(--couleur) 45%, var(--cs-dreams)); }
.seance__num { width: 48px; height: 48px; border-radius: 50%; border: var(--bord); background: var(--cs-dreams); display: grid; place-items: center; font: 400 1.4rem var(--cs-police-sous-titre); position: relative; overflow: hidden; }
.seance[data-etat="ouverte"] .seance__num { background: linear-gradient(90deg, var(--couleur) 50%, var(--cs-dreams) 50%); }
.seance[data-etat="terminee"] .seance__num { background: var(--cs-encre); color: var(--cs-dreams); }
.seance[data-etat="terminee"] .seance__num span { font-size: 0; }
.seance[data-etat="terminee"] .seance__num span::before { content: "✓"; font-size: 1.4rem; font-family: var(--cs-police-texte); font-weight: 900; }
.seance__titre { display: block; font-weight: 800; font-size: 1.05rem; line-height: 1.3; }
.seance__meta { display: block; font-size: .85rem; font-weight: 600; margin-top: .15em; }
.seance[data-etat="terminee"] .seance__etat { color: var(--solide); font-weight: 800; }
.seance__fleche { font-size: 1.5rem; font-weight: 900; transition: transform var(--d-1) var(--ease); }
.seance:hover .seance__fleche, .outil:hover .seance__fleche { transform: translateX(4px); }
.seance--conseil { background: color-mix(in srgb, var(--couleur) 45%, var(--cs-dreams)); box-shadow: inset 6px 0 0 var(--cs-encre); }
.seance--conseil .seance__etat::after { content: " · conseillée"; font-weight: 800; }
.intro-gants { font-weight: 600; }

/* En-tête de session */
.session-haut { position: relative; overflow: hidden; padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem); border-bottom: 0; }
.session-haut__in { position: relative; }
.session-haut__deco { position: absolute; inset: 0; pointer-events: none; }
.session-haut__num { position: absolute; right: 4%; top: 50%; transform: translateY(-55%); font: 400 clamp(9rem, 6rem + 14vw, 20rem)/1 var(--cs-police-sous-titre); color: transparent; -webkit-text-stroke: 3px color-mix(in srgb, var(--cs-encre) 22%, transparent); }
.fil { gap: .5em; }
.fil a { text-decoration: underline; }
.titre-session { font: 900 clamp(2rem, 1.5rem + 2.6vw, 3.4rem)/1.08 var(--cs-police-texte) !important; letter-spacing: -.015em; color: var(--texte) !important; -webkit-text-stroke: 0 !important; text-shadow: none !important; max-width: 20ch; margin: var(--e-2) 0 var(--e-3); }
.session-haut--vert .titre-session { color: var(--texte-inverse) !important; }
.session-haut__accroche { font-weight: 700; font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); max-width: 46ch; }
@media (max-width: 760px) { .session-haut__num { right: -4%; top: 18%; transform: none; font-size: 8rem; }  }

/* Vidéo à venir : bandeau fin, pas un grand bloc vide */
.video { aspect-ratio: auto; display: flex; align-items: center; gap: var(--e-4); text-align: left; padding: var(--e-4) var(--e-5); margin: var(--e-5) 0 0; border-radius: var(--r-2); box-shadow: var(--ombre-1); }
.video::before { opacity: .6; }
.video__play { width: 52px; height: 52px; margin: 0; flex: none; font-size: 1.2rem; }
.video p { font: 500 .95rem/1.4 var(--cs-police-texte); letter-spacing: 0; }
.video .video__titre { font: 400 1.2rem/1.2 var(--cs-police-sous-titre); letter-spacing: .1em; color: var(--cs-yellow-submarine); }

/* Leçon : confort de lecture */
.lecon p, .lecon li { font-size: clamp(1.03rem, 1rem + .2vw, 1.14rem); line-height: 1.72; }
.bloc-texte h2 { font: 900 clamp(1.4rem, 1.2rem + .8vw, 1.85rem)/1.2 var(--cs-police-texte); }
.bloc-metaphore h3 { font: 900 clamp(1.3rem, 1.15rem + .6vw, 1.6rem)/1.2 var(--cs-police-texte); }
.exercice__corps h3 { font: 900 1.3rem/1.25 var(--cs-police-texte); }
/* Fiche récap */
@keyframes tourne { to { transform: rotate(360deg); } }
.fin-session h2 { color: var(--cs-kiss-me-quick); -webkit-text-stroke: 1.2px var(--cs-encre); paint-order: stroke fill; text-shadow: 2px 2px 0 var(--cs-encre); }

/* Barre d'onglets mobile du Club */
.onglets-bas { display: none; }
@media (max-width: 720px) {
  .onglets-bas { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; background: var(--cs-dreams); border-top: var(--bord); padding-bottom: env(safe-area-inset-bottom); }
  .onglets-bas a { display: grid; justify-items: center; gap: 2px; padding: .5em 0 .55em; min-height: 58px; text-decoration: none; font-weight: 800; font-size: .8rem; }
  .onglets-bas a span { font-size: 1.35rem; line-height: 1; }
  .onglets-bas a span { display: grid; place-items: center; width: 3.2em; height: 1.75em; border-radius: var(--r-rond); transition: background var(--d-2) var(--ease), transform var(--d-2) var(--ease); }
  .onglets-bas a[aria-current="page"] span { background: var(--accent); border: 2px solid var(--cs-encre); transform: translateY(-2px); }
  .onglets-bas a:active span { transform: scale(.92); }
  .onglets-bas__sos span { background: var(--sos-fond); border: 2px solid var(--cs-encre); }
  /* Idées reçues : carrousel à glisser */
  .cartes[data-carrousel] { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--e-4); margin-inline: calc(-1 * var(--gouttiere)); padding: var(--e-2) var(--gouttiere) var(--e-4); scrollbar-width: none; overscroll-behavior-x: contain; }
  .cartes[data-carrousel]::-webkit-scrollbar { display: none; }
  .cartes[data-carrousel] > .carte-flip { flex: 0 0 82%; scroll-snap-align: center; min-height: 210px; }
  .cartes[data-carrousel] .carte-flip__in { min-height: 210px; }
  .carrousel__points { display: flex; justify-content: center; gap: .5em; margin-top: var(--e-2); }
  .carrousel__points span { width: .6em; height: .6em; border-radius: 50%; border: 2px solid var(--cs-encre); background: transparent; transition: background var(--d-2) var(--ease), width var(--d-2) var(--ease); }
  .carrousel__points span.actif { background: var(--cs-encre); width: 1.6em; border-radius: var(--r-rond); }
  .club main { padding-bottom: calc(var(--e-8) + env(safe-area-inset-bottom)); }
  .club .pied { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
}

/* ═══════════ Kit SOS : outils au choix ═══════════ */
.sos__entete { text-align: center; }
.sos__intro { font-weight: 600; font-size: 1.08rem; max-width: 46ch; margin: var(--e-3) auto 0; }
.sos__menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: var(--e-3); }
.sos__menu[hidden] { display: none; }
.sos__choix { display: grid; gap: .3em; text-align: left; border: var(--bord); border-radius: var(--r-2); padding: var(--e-4); box-shadow: var(--ombre-1); background: var(--cs-dreams); min-height: 132px; align-content: start; transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); }
@media (hover: hover) { .sos__choix:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--cs-encre); } }
:is(.sos__choix, .outil):active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--cs-encre); }
.carte-flip:active .carte-flip__face { box-shadow: 1px 1px 0 var(--cs-encre); }
a, button, summary, label { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.sos__choix strong { font-size: 1.12rem; font-weight: 900; }
.sos__choix span:not(.sos__icone) { font-weight: 600; font-size: .92rem; line-height: 1.35; }
.sos__icone { font-size: 1.7rem; }
.sos__choix--voix { background: var(--cs-dancing-queen); }
.sos__choix--statue { background: var(--cs-dreams); }
.sos__choix--vague { background: var(--cs-dreams); }
.sos__choix--minuteur { background: var(--cs-yellow-submarine); }
.sos__choix--enfant { background: var(--cs-purple-haze); }
.sos__choix--debrief { background: var(--cs-dreams); }
.sos__suggestion { display: flex; flex-wrap: wrap; gap: var(--e-2); align-items: center; font-weight: 800; margin-top: var(--e-4); }
.sos__titre { color: var(--cs-dreams); -webkit-text-stroke: 1.5px var(--cs-encre); paint-order: stroke fill; text-shadow: 3px 3px 0 var(--cs-encre); }

/* ═══════════ Inscription, paiement ═══════════ */
.boite--large { width: min(100% - 2 * var(--gouttiere), 600px); }
.recap { display: flex; justify-content: space-between; align-items: center; gap: var(--e-4); border: var(--bord); border-radius: var(--r-2); background: var(--cs-yellow-submarine); padding: var(--e-4) var(--e-5); margin: var(--e-4) 0; }
.recap strong { display: block; font-size: 1.1rem; }
.recap span { font-weight: 600; font-size: .9rem; }
.recap__prix { font: 400 2.4rem var(--cs-police-sous-titre) !important; flex: none; }
.paiement-bientot { border: 2px dashed var(--cs-encre); border-radius: var(--r-2); padding: var(--e-4); margin-bottom: var(--e-5); display: grid; gap: var(--e-3); }
.paiement-bientot p { margin: 0; }

/* ═══════════ Mon compte ═══════════ */
.entete__compte { padding: .5em 1em; min-height: var(--cible); font-size: .95rem; }
/* Menu du compte : prénom → La méthode, Mes fiches, Kit SOS, Mon compte, Me déconnecter */
.menu-compte { position: relative; }
.menu-compte summary { list-style: none; cursor: pointer; }
.menu-compte summary::-webkit-details-marker { display: none; }
.menu-compte__fleche { font-size: .8em; transition: transform var(--d-1) var(--ease); }
.menu-compte[open] .menu-compte__fleche { transform: rotate(180deg); }
.menu-compte__liste { position: absolute; right: 0; top: calc(100% + 8px); z-index: 80; min-width: 210px; display: grid; background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); box-shadow: var(--ombre-2); padding: var(--e-2); }
.menu-compte__liste a, .menu-compte__liste button { display: flex; align-items: center; min-height: 44px; padding: 0 var(--e-3); border-radius: var(--r-1); font: 700 .95rem var(--cs-police-texte); color: var(--texte); text-decoration: none; background: none; border: 0; width: 100%; text-align: left; cursor: pointer; }
.menu-compte__liste a:hover, .menu-compte__liste button:hover { background: var(--cs-yellow-submarine); }
.menu-compte__liste form { margin: 0; border-top: 2px solid color-mix(in srgb, var(--cs-encre) 15%, transparent); margin-top: var(--e-1, 4px); padding-top: 4px; }
/* Landing : photo de Sophie dans « Mon histoire » */
.histoire__photo { margin: 0; border: var(--bord); border-radius: var(--r-3); overflow: hidden; box-shadow: var(--ombre-2); transform: rotate(-2deg); aspect-ratio: 3 / 4; }
.histoire__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) {  .histoire__photo { max-width: 300px; } }
.infos { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--e-3); margin: 0; }
.infos div { border: var(--bord); border-radius: var(--r-2); background: var(--cs-dreams); padding: var(--e-3) var(--e-4); box-shadow: var(--ombre-1); }
.infos dt { font: 400 .9rem var(--cs-police-sous-titre); letter-spacing: .14em; }
.infos dd { margin: .2em 0 0; font-weight: 800; font-size: 1.1rem; overflow-wrap: anywhere; }
.gants--grands .gant { display: grid; gap: .3em; padding: var(--e-5) var(--e-4); }
.gants--grands .gant__icone { font-size: 2.6rem; }
.gants--grands small { font-weight: 600; }
.gant.gagne { animation: brille 2.4s var(--ease) infinite alternate; }
@keyframes brille { to { box-shadow: 4px 4px 0 var(--cs-encre); transform: translateY(-3px) rotate(-1deg); } }

@media (max-width: 720px) { .entete__compte span:last-child { max-width: 9ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } }

/* ═══════════ Illustrations des modules ═══════════ */
.illus { width: 100%; height: auto; overflow: visible; }
.illus * { stroke: var(--cs-encre); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.illus .t { fill: none; }
.illus .o { fill: var(--cs-kiss-me-quick); }
.illus .j { fill: var(--cs-yellow-submarine); }
.illus .v { fill: var(--cs-purple-haze); }
.illus .tq { fill: var(--cs-waterloo); }
.illus .c { fill: var(--cs-dreams); }
.illus .e { stroke-width: 2.5; }
.illus .pointille { fill: none; stroke: var(--cs-kiss-me-quick); stroke-width: 5; stroke-dasharray: 2 10; }
.illus .txt { font: 400 19px var(--cs-police-sous-titre); letter-spacing: .14em; text-anchor: middle; fill: var(--cs-encre); stroke: none; }
.flotte { animation: flotte 5s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-8px) rotate(-2deg); } }
.session-haut__illus { position: absolute; right: 5%; top: 50%; width: clamp(150px, 18vw, 250px); margin-top: -90px; filter: drop-shadow(4px 4px 0 var(--cs-encre)); }
.session-haut__num { right: 22%; }
@media (max-width: 900px) { .session-haut__illus { width: 130px; right: 3%; top: auto; bottom: 22%; margin: 0; opacity: .95; } .session-haut .titre-session { max-width: 15ch; } }
@media (max-width: 560px) { .session-haut__illus { width: 96px; top: 14px; bottom: auto; } .session-haut__num { display: none; } .session-haut .sous { padding-right: 100px; } }
.mod__illus { width: 84px; flex: none; }
@media (max-width: 480px) { .mod__illus { width: 60px; } .mod__haut { gap: var(--e-3); padding: var(--e-3) var(--e-4); } }

/* ═══════════ Progression dans le module ═══════════ */
.position { display: grid; gap: var(--e-2); margin-top: var(--e-5); background: var(--cs-dreams); color: var(--texte); border: var(--bord); border-radius: var(--r-2); padding: var(--e-3) var(--e-4); max-width: 560px; box-shadow: var(--ombre-1); }
.segments { display: flex; gap: 6px; }
.seg { flex: 1; height: 18px; border: 2px solid var(--cs-encre); border-radius: 6px; background: var(--fond); display: grid; place-items: center; text-decoration: none; min-width: 0; transition: transform var(--d-1) var(--ease); }
a.seg { height: 30px; font: 400 .9rem var(--cs-police-sous-titre); }
a.seg:hover { transform: translateY(-2px); }
.seg.fait { background: var(--solide); color: var(--solide-texte); }
.seg span { pointer-events: none; }
.mod__progres { display: flex; align-items: center; gap: var(--e-3); padding: var(--e-3) var(--e-5); border-bottom: 2px dashed color-mix(in srgb, var(--cs-encre) 25%, transparent); }
.mod__progres .segments { flex: 1; }
.mod__pourcent { font: 400 1.1rem var(--cs-police-sous-titre); letter-spacing: .06em; min-width: 3.2em; text-align: right; }

/* Correctifs mobile v2 */
@media (max-width: 560px) {
  .session-haut__illus { width: 84px; top: 12px; right: 12px; bottom: auto; }
  .session-haut .fil, .session-haut .sous { padding-right: 96px; }
}

/* ═══════════ Session : colonne de progression (desktop) / barre repliable (mobile) ═══════════ */
.session-grille { display: grid; grid-template-columns: 260px minmax(0, 760px); gap: clamp(2rem, 4vw, 4.5rem); justify-content: center; align-items: start; }
.session-principal { min-width: 0; }
@media (max-width: 1000px) {
  .session-grille { grid-template-columns: minmax(0, 760px); gap: 0; }
  .session-principal .video { margin-top: var(--e-5); }
}
@keyframes deroule { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ═══════════ Fiche récap : PDF avec aperçu ═══════════ */
.fiche-pdf { display: grid; grid-template-columns: 200px 1fr; gap: var(--e-6); align-items: center; border: var(--bord); border-radius: var(--r-3); background: var(--cs-sweet-leaf); color: var(--cs-dreams); padding: var(--e-5); box-shadow: var(--ombre-2); }
.fiche-pdf .sous { color: var(--cs-yellow-submarine); margin: 0; }
.fiche-pdf__titre { font: 900 clamp(1.4rem, 1.2rem + 1vw, 2rem)/1.15 var(--cs-police-texte); margin: .2em 0 .4em; }
.fiche-pdf p { color: var(--cs-dreams); }
.fiche-pdf__apercu { position: relative; display: block; border: var(--bord); border-radius: var(--r-1); overflow: hidden; background: var(--cs-dreams); transform: rotate(-3deg); box-shadow: 4px 4px 0 var(--cs-encre); transition: transform var(--d-2) var(--ease); }
.fiche-pdf__apercu:hover { transform: rotate(0) scale(1.03); }
.fiche-pdf__apercu img { width: 100%; height: auto; }
.fiche-pdf__badge { position: absolute; right: 8px; bottom: 8px; background: var(--cs-kiss-me-quick); color: var(--cs-encre); border: 2px solid var(--cs-encre); border-radius: var(--r-rond); padding: .1em .7em; font: 400 1rem var(--cs-police-sous-titre); letter-spacing: .1em; }
@media (max-width: 560px) { .fiche-pdf { grid-template-columns: 1fr; text-align: center; } .fiche-pdf__apercu { width: 64%; margin: 0 auto; } }
.fiches-grille { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: var(--e-5); }
.fiche-carte { display: grid; text-decoration: none; border: var(--bord); border-radius: var(--r-2); overflow: hidden; background: var(--cs-dreams); box-shadow: var(--ombre-1); transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); }
.fiche-carte:hover { transform: translate(-3px, -3px) rotate(-1deg); box-shadow: 4px 4px 0 var(--cs-encre); }
.fiche-carte__apercu { display: block; aspect-ratio: 360 / 300; overflow: hidden; border-bottom: var(--bord); background: var(--couleur); }
.fiche-carte__apercu img { width: 100%; height: auto; }
.fiche-carte__bas { display: grid; gap: .25em; padding: var(--e-3) var(--e-4) var(--e-4); background: var(--couleur); }
.fiche-carte__bas .sous { margin: 0; font-size: .9rem; }
.fiche-carte__bas strong { font-weight: 800; line-height: 1.3; }
.fiche-carte__dl { justify-self: start; margin-top: var(--e-2); border: 2px solid var(--cs-encre); border-radius: var(--r-rond); padding: .15em .8em; font-weight: 900; background: var(--cs-dreams); font-size: .85rem; }

/* ═══════════ Vrai / faux : victoire en vert ═══════════ */
.vf__item { transition: background var(--d-2) var(--ease), border-color var(--d-2) var(--ease); }
.vf__item.bon { background: color-mix(in srgb, var(--solide) 14%, var(--cs-dreams)); }
.vf__item.bon .vf__explication { background: var(--solide); color: var(--solide-texte); }
.vf__item.rate .vf__explication { background: var(--cs-dancing-queen); }
.vf__boutons button.vf__bonne { background: var(--solide) !important; color: var(--solide-texte); }
.vf__explication strong { display: block; font-size: 1.05rem; margin-bottom: .2em; }
.saute { animation: saute .5s var(--ease-rebond); }
@keyframes saute { 40% { transform: scale(1.03) rotate(-.6deg); } }

/* ═══════════ Fin de session automatique ═══════════ */
.fin-session__titre { font: 900 clamp(1.05rem, .95rem + .4vw, 1.3rem)/1.25 var(--cs-police-texte); margin: 0; }
.fin-session .sauve { font-weight: 800; }
/* Fin de session compacte : une bande, pas une affiche */
.fin-session { grid-template-columns: auto 1fr auto; justify-items: start; align-items: center; text-align: left; gap: var(--e-3) var(--e-4); padding: var(--e-4) var(--e-5); }
.fin-session__txt { display: grid; gap: .15em; }
.fin-session__txt .sauve { margin: 0; font-size: .85rem; font-weight: 600; }
@media (max-width: 720px) { .fin-session { grid-template-columns: auto 1fr; }  }

/* ═══════════ Carnet de réponses (impression / PDF) ═══════════ */
.carnet { display: none; }
@media print {
  @page { margin: 14mm; }
  body.impression > *:not(.carnet) { display: none !important; }
  body.impression { background: var(--cs-dreams); }
  body.impression .carnet { display: block; color: var(--texte); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .carnet__haut { display: flex; justify-content: space-between; align-items: center; border-bottom: 3px solid var(--cs-encre); padding-bottom: 10px; margin-bottom: 18px; }
  .carnet__haut .sous { margin: 0; }
  .carnet__session { font: 400 1rem var(--cs-police-sous-titre); letter-spacing: .14em; text-transform: uppercase; margin: 0; }
  .carnet__titre { font: 900 1.9rem/1.2 var(--cs-police-texte); margin: 4px 0 18px; }
  .carnet__item { border: 2px solid var(--cs-encre); border-radius: 14px; padding: 12px 16px; margin-bottom: 12px; background: var(--cs-dreams); break-inside: avoid; }
  .carnet__item:nth-child(4n+1) { background: var(--cs-yellow-submarine); }
  .carnet__item:nth-child(4n+2) { background: var(--cs-dancing-queen); }
  .carnet__item:nth-child(4n+3) { background: var(--cs-waterloo); }
  .carnet__item:nth-child(4n) { background: var(--cs-purple-haze); }
  .carnet__q { font-weight: 800; margin: 0 0 6px; }
  .carnet__r { margin: 0; white-space: pre-wrap; font-size: 1.02rem; }
  .carnet__pied { margin-top: 20px; font-size: .85rem; text-align: center; }
}

/* En-tête de session : pleine largeur, pas de retour à la ligne inutile */
.session-haut__in { padding-right: clamp(0px, 22vw, 300px); }
.titre-session { max-width: none; text-wrap: balance; font-family: var(--cs-police-titre-sobre) !important; font-weight: 800 !important; }
.session-haut__accroche { max-width: 62ch; text-wrap: pretty; }
@media (max-width: 900px) { .session-haut__in { padding-right: 140px; } }
@media (max-width: 560px) { .session-haut__in { padding-right: 0; } .session-haut .sous { padding-right: 96px; } }

/* ═══════════ Sophie présente partout : ça rassure ═══════════ */
.avatar { border-radius: 50%; object-fit: cover; object-position: 50% 22%; aspect-ratio: 1; border: var(--bord); background: var(--cs-dancing-queen); }
.mot-sophie { display: grid; grid-template-columns: auto 1fr; gap: clamp(1rem, 3vw, 2.2rem); align-items: center; text-decoration: none; background: var(--cs-sweet-leaf); color: var(--cs-dreams); border: var(--bord); border-radius: var(--r-3); padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--ombre-2); margin-top: var(--e-7); transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); }
.mot-sophie:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--cs-encre); }
.mot-sophie__photo .avatar { width: clamp(96px, 14vw, 150px); border: 4px solid var(--cs-yellow-submarine); }
.mot-sophie__texte { display: grid; gap: .35em; justify-items: start; }
.mot-sophie__label { font: 400 1rem var(--cs-police-sous-titre); letter-spacing: .16em; color: var(--cs-kiss-me-quick); background: var(--cs-dreams); padding: .05em .6em; border-radius: var(--r-rond); }
.mot-sophie strong { font: 900 clamp(1.5rem, 1.2rem + 1.4vw, 2.3rem)/1.1 var(--cs-police-texte); }
.mot-sophie__texte > span:not(.btn):not(.mot-sophie__label) { font-weight: 600; max-width: 52ch; }
.mot-sophie .btn { margin-top: var(--e-2); }
@media (max-width: 520px) { .mot-sophie { grid-template-columns: 1fr; justify-items: center; text-align: center; } .mot-sophie__texte { justify-items: center; } }
.signature { display: inline-flex; align-items: center; gap: var(--e-3); margin: 0 0 var(--e-4); background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-rond); padding: .3em 1.1em .3em .3em; box-shadow: var(--ombre-1); }
.signature .avatar { width: 46px; }
.signature span { display: grid; font-size: .95rem; line-height: 1.2; color: var(--texte); }
.signature small { font-size: .78rem; font-weight: 600; }

/* Correctifs : photo ronde, titre du hero sur 3 lignes */
.avatar { height: auto; flex: none; }
.hero__grille { grid-template-columns: 1.35fr .65fr; }
.hero__titre { font-size: clamp(2.3rem, 1rem + 4.6vw, 5.6rem); line-height: 1.02; }
.hero__titre .ligne { white-space: nowrap; }
.hero__accroche { max-width: 46ch; }
@media (max-width: 820px) { .hero__grille { grid-template-columns: 1fr; } .hero__titre { font-size: clamp(2.1rem, .9rem + 6.4vw, 3.6rem); } }
@media (max-width: 380px) { .hero__titre .ligne { white-space: normal; } }

/* ═══════════ Kit SOS : visuels interactifs ═══════════ */
.scene { position: relative; margin: var(--e-5) 0 var(--e-3); border: var(--bord); border-radius: var(--r-3); background: var(--cs-waterloo); padding: var(--e-4); overflow: hidden; }
.scene--enfant { background: var(--cs-yellow-submarine); }
.scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.sc-trait { fill: none; stroke: var(--cs-encre); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.sc-rayon, .sc-o, .sc-j, .sc-p, .sc-v { stroke: var(--cs-encre); stroke-width: 3.5; stroke-linejoin: round; }
.sc-rayon { fill: var(--cs-dreams); }
.sc-o { fill: var(--cs-kiss-me-quick); } .sc-j { fill: var(--cs-yellow-submarine); } .sc-p { fill: var(--cs-dancing-queen); } .sc-v { fill: var(--cs-waterloo); } 
.statue__sel { transition: y 1s linear, height 1s linear; }
.scene__bulles { position: absolute; inset: 0 0 35% 0; pointer-events: none; }
.scene [data-lancer][hidden] { display: none; }
.scene__bulle { position: absolute; background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); padding: .25em .7em; font: 400 1.25rem/1 var(--cs-police-sous-titre); letter-spacing: .08em; box-shadow: 3px 3px 0 var(--cs-encre); animation: bulle-vie 2.6s var(--ease) forwards; white-space: nowrap; }
.scene__bulle--petite { font-size: .95rem; opacity: .85; }
@keyframes bulle-vie { 0% { opacity: 0; transform: scale(.6) rotate(-4deg); } 12% { opacity: 1; transform: scale(1) rotate(2deg); } 75% { opacity: 1; } 100% { opacity: 0; transform: translateY(-14px) scale(.95); } }
.scene__legende { font-weight: 800; text-align: center; margin: var(--e-3) 0 var(--e-2); min-height: 2.8em; position: relative; }
.scene__jauge { display: flex; align-items: center; gap: var(--e-2); font: 400 .9rem var(--cs-police-sous-titre); letter-spacing: .1em; margin-top: var(--e-2); position: relative; }
.scene__barre { flex: 1; height: 12px; border: 2px solid var(--cs-encre); border-radius: var(--r-rond); background: var(--cs-dreams); overflow: hidden; }
.scene__barre span { display: block; height: 100%; width: 100%; background: var(--cs-kiss-me-quick); transition: width .8s linear; }
/* L'enfant : intensité du caprice selon data-force (3 → 0) */
.jouet { transform-box: fill-box; } 
.jouet { transform-origin: 50% 100%; }
.scene--enfant[data-force="3"] .jouet { animation: secoue .32s ease-in-out infinite alternate; }
.scene--enfant[data-force="2"] .jouet:nth-child(odd) { animation: secoue .55s ease-in-out infinite alternate; }
.enfant__marche { transition: transform 2.6s ease-in, opacity 2.6s ease-in; }
.scene--enfant.part .enfant__marche { transform: translateX(240px); opacity: 0; }
@keyframes trepigne { from { transform: translateY(0) rotate(-5deg); } to { transform: translateY(-10px) rotate(5deg); } }
@keyframes trepigne-doux { from { transform: rotate(-2deg); } to { transform: translateY(-3px) rotate(2deg); } }
@keyframes tape-g { from { transform: rotate(0); } to { transform: rotate(-70deg); } }
@keyframes tape-d { from { transform: rotate(0); } to { transform: rotate(70deg); } }
@keyframes tape-pied { from { transform: rotate(0); } to { transform: rotate(-25deg); } }
@keyframes secoue { from { transform: rotate(-4deg); } to { transform: rotate(4deg) translateY(-2px); } }
/* Nommer la voix : tampons */
.tampons { display: grid; gap: var(--e-2); margin: var(--e-4) 0; }
.tampons__consigne { font-weight: 800; margin: 0; }
.tampon { position: relative; text-align: left; font: 700 1rem/1.4 var(--cs-police-texte); background: var(--cs-dancing-queen); border: var(--bord); border-radius: var(--r-2); padding: var(--e-3) var(--e-4); min-height: 44px; cursor: pointer; box-shadow: var(--ombre-1); transition: background var(--d-2) var(--ease), color var(--d-2) var(--ease); }
.tampon.fait { background: var(--cs-dreams); color: color-mix(in srgb, var(--cs-encre) 45%, transparent); text-decoration: line-through; text-decoration-thickness: 2px; }
.tampon__marque { position: absolute; right: 12px; top: 50%; transform: translateY(-50%) rotate(-8deg); font: 400 1.05rem/1 var(--cs-police-sous-titre); letter-spacing: .1em; color: var(--cs-kiss-me-quick); border: 3px solid var(--cs-kiss-me-quick); border-radius: var(--r-1); padding: .2em .5em; background: var(--cs-dreams); animation: tampon-pose .3s var(--ease-rebond); text-decoration: none; }
@keyframes tampon-pose { from { transform: translateY(-50%) rotate(-8deg) scale(1.8); opacity: 0; } to { transform: translateY(-50%) rotate(-8deg) scale(1); opacity: 1; } }
.tampons__fin { font-weight: 800; margin: var(--e-2) 0 0; min-height: 1.5em; }
@media (prefers-reduced-motion: reduce) {
  .scene--enfant .jouet, .scene__bulle, .tampon__marque { animation: none !important; }
  .statue__sel, .enfant__marche { transition: none; }
}

/* Landing : titres de section en Raleway (Sarina réservée au logo et au titre d'accueil) */
.landing .section h2 { font: 900 clamp(1.7rem, 1.35rem + 1.6vw, 2.6rem)/1.15 var(--cs-police-texte); letter-spacing: -.01em; text-shadow: none; -webkit-text-stroke: 0; }

/* Mon compte : volets repliables (profil, mot de passe, suppression) */
.compte-formulaires { display: grid; gap: var(--e-3); }
.volet { border: var(--bord); border-radius: var(--r-2); background: var(--cs-dreams); box-shadow: var(--ombre-1); }
.volet summary { cursor: pointer; list-style: none; min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: var(--e-3); padding: 0 var(--e-4); font-weight: 800; }
.volet summary::-webkit-details-marker { display: none; }
.volet summary::after { content: "▾"; transition: transform var(--d-1) var(--ease); }
.volet[open] summary::after { transform: rotate(180deg); }
.volet .formulaire { padding: 0 var(--e-4) var(--e-4); }
.volet--danger summary { color: var(--cs-kiss-me-quick); }
.bandeau-info { margin: 0; border-radius: 0; text-align: center; }
/* Sommaire : tout le programme, par module */
/* Fin de session : la case qui valide */
.fin-coche { display: inline-flex; align-items: center; gap: var(--e-2); font-weight: 800; cursor: pointer; background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-rond); padding: .4em 1em .4em .6em; min-height: 44px; margin-top: var(--e-2); }
.fin-coche input { width: 24px; height: 24px; accent-color: var(--cs-sweet-leaf); margin: 0; }
.fin-session--faite .fin-coche { background: var(--cs-waterloo); }

/* ═══════════ Titres : League Spartan partout ═══════════
   Sarina reste réservée au logo, au titre de la landing (.hero__titre), à « Bienvenue au Club » (.accueil__titre)
   et aux titres du pied de page (.pied h2). Décision de Pierre du 3/11/2026 : « sinon ça fait trop cartoon ». */
h1, h2, h3, .bloc-texte h2, .legal h2, .landing .section h2, .exercice__corps h3, .bloc-metaphore h3, .fiche-pdf__titre, .fin-session__titre, .module h3, .mod__titre, .sos__titre, .prix__montant, .accueil--compte .accueil__titre, .titre-section, .chute, .sos__carte h2 { font-family: var(--cs-police-titre-sobre); letter-spacing: -.01em; }
h1, h2, .module h3, .mod__titre, .sos__titre, .prix__montant, .accueil--compte .accueil__titre, .sos__carte h2 { font-weight: 800; line-height: 1.08; }
h1.ombre, h2.ombre { text-shadow: none; }
.mod__titre, .sos__titre, .accueil--compte .accueil__titre { -webkit-text-stroke: 0; text-shadow: none; color: inherit; }
.prix__montant { -webkit-text-stroke: 0; text-shadow: none; color: var(--cs-encre); }

/* ═══════════ Kit SOS : plus de charte (mascotte, pastilles cerclées, ombres décalées) ═══════════ */
.page-sos .sos { min-height: auto; }
.sos__entete { position: relative; }
.sos__mascotte { width: 96px; height: auto; display: block; margin: var(--e-4) auto 0; }
.pastille-icone { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: var(--bord); background: var(--cs-dreams); box-shadow: 3px 3px 0 var(--cs-encre); font-size: 1.6rem; margin-bottom: var(--e-2); }
.sos__choix--voix .pastille-icone { background: var(--cs-kiss-me-quick); }
.sos__choix--statue .pastille-icone { background: var(--cs-purple-haze); }
.sos__choix--vague .pastille-icone { background: var(--cs-waterloo); }
.sos__choix--minuteur .pastille-icone { background: var(--cs-dreams); }
.sos__choix--enfant .pastille-icone { background: var(--cs-dancing-queen); }
.sos__choix--debrief .pastille-icone { background: var(--cs-yellow-submarine); }
.sos__choix { box-shadow: var(--ombre-2); }
.scene { box-shadow: var(--ombre-2); }
/* L'enfant : la mascotte pêche fait son caprice */
.scene--enfant { position: relative; }
.enfant__marche { position: absolute; left: 50%; bottom: calc(var(--e-4) + 150px); width: 26%; max-width: 150px; transform: translateX(-50%); transition: transform 2.6s ease-in, opacity 2.6s ease-in; }
.scene--enfant .scene__legende, .scene--enfant .scene__jauge { z-index: 1; }
.enfant__mascotte { width: 100%; height: auto; display: block; transform-origin: 50% 100%; }
.scene--enfant[data-force="3"] .enfant__mascotte { animation: caprice .28s ease-in-out infinite alternate; }
.scene--enfant[data-force="2"] .enfant__mascotte { animation: caprice-doux .5s ease-in-out infinite alternate; }
.scene--enfant[data-force="1"] .enfant__mascotte { animation: caprice-lent 1.3s ease-in-out infinite alternate; }
.scene--enfant[data-force="0"] .enfant__mascotte { transform: translateY(6%) scale(.92); transition: transform 1s var(--ease); }
.scene--enfant.part .enfant__marche { transform: translateX(160%); opacity: 0; }
@keyframes caprice { from { transform: translateY(0) rotate(-10deg); } to { transform: translateY(-14%) rotate(10deg); } }
@keyframes caprice-doux { from { transform: rotate(-5deg); } to { transform: translateY(-5%) rotate(5deg); } }
@keyframes caprice-lent { from { transform: rotate(-2deg); } to { transform: rotate(2deg); } }
.enfant__eclats span { position: absolute; font-size: 1.4rem; color: var(--cs-kiss-me-quick); -webkit-text-stroke: 1px var(--cs-encre); opacity: 0; pointer-events: none; }
.enfant__eclats span:nth-child(1) { left: 34%; top: 22%; } .enfant__eclats span:nth-child(2) { left: 62%; top: 16%; } .enfant__eclats span:nth-child(3) { left: 58%; top: 42%; }
.scene--enfant[data-force="3"] .enfant__eclats span { animation: eclat .6s ease-out infinite; }
.scene--enfant[data-force="3"] .enfant__eclats span:nth-child(2) { animation-delay: .2s; } .scene--enfant[data-force="3"] .enfant__eclats span:nth-child(3) { animation-delay: .4s; }
.scene--enfant[data-force="2"] .enfant__eclats span:nth-child(odd) { animation: eclat 1.1s ease-out infinite; }
@keyframes eclat { 0% { opacity: 0; transform: scale(.4) rotate(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: scale(1.4) rotate(40deg); } }
/* La statue : la mascotte violette se recouvre de sel */
.statue__visuel { position: relative; height: 260px; display: grid; place-items: end center; }
.statue__socle { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 46%; max-width: 240px; height: 26px; background: var(--cs-sweet-leaf); border: var(--bord); border-radius: var(--r-1); box-shadow: 4px 4px 0 var(--cs-encre); }
.statue__fig { position: relative; width: 170px; margin-bottom: 24px; }
.statue__fig img { width: 100%; height: auto; display: block; }
.statue__sel { position: absolute; inset: 0; --haut: 100%; clip-path: inset(var(--haut) 0 0 0); transition: clip-path 1s linear;
  background: radial-gradient(circle at 30% 30%, var(--cs-waterloo) 0 1.4px, transparent 1.6px) 0 0 / 9px 9px, radial-gradient(circle at 70% 70%, var(--cs-dancing-queen) 0 1.2px, transparent 1.4px) 0 0 / 11px 11px, var(--cs-dreams);
  -webkit-mask: url(/img/mascotte-violet.webp) center / contain no-repeat; mask: url(/img/mascotte-violet.webp) center / contain no-repeat; }
.statue__compteur { position: absolute; right: 8%; top: 8%; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--cs-yellow-submarine); border: var(--bord); box-shadow: 3px 3px 0 var(--cs-encre); font: 400 1.9rem/1 var(--cs-police-sous-titre); }
@media (prefers-reduced-motion: reduce) { .enfant__mascotte, .enfant__eclats span { animation: none !important; } .statue__sel { transition: none; } }

/* Titre focalisé par le script (accessibilité) : pas de cadre visible à la souris */
[tabindex="-1"]:focus:not(:focus-visible) { outline: none; }

/* Pages légales : encadré « En bref » */
.legal__resume { background: var(--cs-yellow-submarine); border: var(--bord); border-radius: var(--r-2); padding: var(--e-4) var(--e-5); box-shadow: var(--ombre-1); }

/* ═══════════ Gamification : ta semaine, le défi, les célébrations ═══════════ */
.entrainement { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--e-5); margin: var(--e-5) 0 var(--e-6); }
.semaine, .defi { border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); padding: var(--e-6) var(--e-5) var(--e-5); }
.semaine { background: var(--cs-waterloo); }
.defi { background: var(--cs-purple-haze); }
.semaine__jours { list-style: none; margin: 0 0 var(--e-3); padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--e-2); }
.semaine__jour { aspect-ratio: 1; max-width: 48px; width: 100%; justify-self: center; border-radius: 50%; border: var(--bord); background: var(--cs-dreams); display: grid; place-items: center; font: 400 1.05rem/1 var(--cs-police-sous-titre); }
.semaine__jour.futur { opacity: .45; }
.semaine__jour.ici { box-shadow: 0 0 0 3px var(--cs-dreams), 0 0 0 6px var(--cs-encre); }
.semaine__jour.fait { background: var(--cs-kiss-me-quick); }
.semaine__jour.fait span { font-size: 0; }
.semaine__jour.fait span::after { content: "✓"; font: 900 1.1rem/1 var(--cs-police-texte); }
.semaine__texte { font-weight: 700; margin: 0 0 var(--e-2); }
.semaine__total { margin: 0; font-size: .9rem; }
.semaine__total strong { font: 400 1.4rem/1 var(--cs-police-sous-titre); }
.defi__titre { font: 800 1.35rem/1.2 var(--cs-police-titre-sobre); margin: 0 0 var(--e-1, 4px); }
.defi__pourquoi { margin: 0 0 var(--e-3); font-weight: 600; font-size: .95rem; }
.defi__progres { height: 14px; border: 2px solid var(--cs-encre); border-radius: var(--r-rond); background: var(--cs-dreams); overflow: hidden; }
.defi__progres span { display: block; height: 100%; width: 0; background: var(--cs-sweet-leaf); transition: width var(--d-3, 420ms) var(--ease); }
.defi__etat { font-weight: 800; margin: var(--e-2) 0 0; }
.defi--gagne { background: var(--cs-yellow-submarine); }
.sous-titre-gants { margin: var(--e-5) 0 var(--e-3); }
.sous-titre-gants span { font: 400 1rem var(--cs-police-sous-titre); letter-spacing: .1em; }
.toast { position: fixed; left: 50%; bottom: calc(84px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 95; display: flex; align-items: center; gap: var(--e-3); max-width: min(92vw, 460px); background: var(--cs-yellow-submarine); border: var(--bord); border-radius: var(--r-2); box-shadow: var(--ombre-2); padding: var(--e-3) var(--e-4); font-weight: 800; animation: toast-entre .42s var(--ease-rebond); }
.toast img { width: 48px; height: auto; flex: none; }
.toast--sort { opacity: 0; transform: translateX(-50%) translateY(12px); transition: opacity .4s, transform .4s; }
@keyframes toast-entre { from { opacity: 0; transform: translateX(-50%) translateY(24px) scale(.9); } to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .toast { animation: none; } }

/* ═══════════ Mobile : corrections de l'audit du 3/11 ═══════════ */
.section { padding-block: clamp(3rem, 9vw, var(--e-9)); }
.entete__marque .logotype--petit { white-space: nowrap; font-size: clamp(1.05rem, .75rem + 1.6vw, 1.55rem); }
.entete__compte { white-space: nowrap; }
.entete__compte [data-prenom-entete] { max-width: 11ch; overflow: hidden; text-overflow: ellipsis; }
.accueil__grille { grid-template-columns: minmax(0, 1fr) auto; }
.accueil__titre { font-size: clamp(1.9rem, 1.3rem + 3vw, 4rem); overflow-wrap: break-word; }
.coche { min-height: 44px; align-items: center; }
.coche input, .fin-coche input { flex: none; }
@media (max-width: 720px) { .accueil__grille { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 380px) { .entete__marque img { width: 32px; height: auto; } .entete__in { gap: var(--e-2); } }

/* ═══════════ Landing : « Mon histoire », version waouh ═══════════ */
.section--histoire { background: var(--cs-purple-haze); overflow: hidden; }
.section--histoire::before, .section--histoire::after { content: ""; position: absolute; border-radius: 50%; border: var(--bord); z-index: 0; }
.section--histoire::before { width: 340px; height: 340px; background: var(--cs-yellow-submarine); top: -120px; right: -90px; }
.section--histoire::after { width: 220px; height: 220px; background: var(--cs-dancing-queen); bottom: -80px; left: -70px; }
.section--histoire > .contenu { position: relative; z-index: 1; }
.histoire__haut { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 7vw, 5rem); }
.histoire__photo-cadre { position: relative; margin: 0; padding: 14px 14px 56px; background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); box-shadow: 10px 10px 0 var(--cs-encre); transform: rotate(-3deg); }
.histoire__photo { display: block; border: var(--bord); border-radius: var(--r-1); overflow: hidden; aspect-ratio: 4 / 5; }
.histoire__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.histoire__sticker { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%) rotate(2deg); font: 400 1.5rem/1 var(--cs-police-sous-titre); letter-spacing: .08em; white-space: nowrap; }
.histoire__mascotte { position: absolute; right: -46px; bottom: -34px; width: 120px; height: auto; transform: rotate(8deg); }
.histoire__texte h2 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.8rem); margin-bottom: var(--e-4); }
.histoire__chapo { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 600; line-height: 1.55; max-width: 34ch; margin: 0 0 var(--e-6); }
.histoire__chiffres { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e-3); }
.histoire__chiffres li { background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); box-shadow: var(--ombre-1); padding: var(--e-4) var(--e-3); text-align: center; display: grid; gap: .2em; }
.histoire__chiffres li:nth-child(2) { background: var(--cs-waterloo); transform: translateY(10px); }
.histoire__chiffres li:nth-child(3) { background: var(--cs-yellow-submarine); }
.histoire__chiffres strong { font: 800 clamp(1.8rem, 1.4rem + 1.6vw, 2.6rem)/1 var(--cs-police-titre-sobre); }
.histoire__chiffres span { font-weight: 700; font-size: .88rem; line-height: 1.3; }
/* Frise en cartes : 5 étapes côte à côte (desktop), empilées (mobile) */
.frise--cartes { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--e-4); align-items: stretch; }
.frise--cartes::before { left: 6%; right: 6%; top: 28px; bottom: auto; width: auto; height: 4px; }
.frise--cartes .etape-frise { grid-template-columns: 1fr; gap: 0; justify-items: center; text-align: center; }
.frise--cartes .etape-frise__pastille { position: relative; z-index: 1; box-shadow: 3px 3px 0 var(--cs-encre); }
.frise--cartes .etape-frise > div { margin-top: var(--e-3); background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); box-shadow: var(--ombre-2); padding: var(--e-4); height: 100%; }
.frise--cartes .etape-frise h3 { margin-top: 0; font-size: 1.08rem; }
.frise--cartes .etape-frise p { font-size: .92rem; margin: 0; }
.frise--cartes .etape-frise:nth-child(5) > div { background: var(--cs-yellow-submarine); }
.histoire__cta { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
@media (max-width: 1020px) {
  .frise--cartes { grid-template-columns: 1fr; gap: var(--e-5); }
  .frise--cartes::before { left: 27px; right: auto; top: 10px; bottom: 10px; width: 4px; height: auto; }
  .frise--cartes .etape-frise { grid-template-columns: 58px 1fr; gap: var(--e-4); justify-items: stretch; text-align: left; }
  .frise--cartes .etape-frise > div { margin-top: 0; }
}
@media (max-width: 820px) {
  .histoire__haut { grid-template-columns: minmax(0, 1fr); }
  .histoire__photo-cadre { max-width: 340px; width: 86%; margin: 0 auto; }
  .histoire__mascotte { width: 90px; right: -24px; }
}
@media (max-width: 420px) { .histoire__chiffres { grid-template-columns: 1fr; } .histoire__chiffres li { display: flex; align-items: baseline; gap: var(--e-2); text-align: left; } .histoire__chiffres li:nth-child(2) { transform: none; } }
/* Intro « Si tu lis ces lignes » : plus large, lignes équilibrées */
.intro-section { max-width: 78ch; text-wrap: balance; font-size: clamp(1.05rem, 1rem + .35vw, 1.2rem); font-weight: 600; }
/* En-tête : « Club Sandwich » en texte seul, sans mascotte (décision de Pierre du 4/11) */
/* En-tête mobile : logo et bouton ne se chevauchent jamais */
.entete__marque { min-width: 0; flex-shrink: 1; }
.entete__marque .logotype--petit { font-size: clamp(.95rem, .2rem + 3.6vw, 1.55rem); }
@media (max-width: 420px) { .entete__nav .btn, .entete__compte { padding: .45em .9em; min-height: 44px; } .entete__nav { gap: var(--e-1); } .entete__in { gap: var(--e-2); } .histoire__mascotte { right: -30px; bottom: -44px; } }

/* ═══════════ Kit SOS : navigation par onglets, moins d'info, deux polices seulement ═══════════ */
.sos--outil .sos__entete { display: none; }
.sos__onglets { position: sticky; top: 76px; z-index: 40; display: flex; gap: var(--e-2); overflow-x: auto; scrollbar-width: none; padding: var(--e-3) 2px var(--e-3); margin-top: var(--e-4); scroll-snap-type: x proximity; }
.sos__onglets::-webkit-scrollbar { display: none; }
.sos__onglets[hidden] { display: none; }
.sos__onglet { flex: none; scroll-snap-align: center; display: inline-flex; align-items: center; gap: .4em; min-height: 44px; padding: 0 1em; border: var(--bord); border-radius: var(--r-rond); background: var(--cs-dreams); box-shadow: 3px 3px 0 var(--cs-encre); font: 700 .95rem var(--cs-police-texte); color: var(--texte); cursor: pointer; transition: transform var(--d-1) var(--ease); }
.sos__onglet:hover { transform: translate(-1px, -1px); }
.sos__onglet.actif { background: var(--accent); color: var(--accent-texte); }
.sos__onglet--tous { background: var(--cs-yellow-submarine); }
.sos__carte h2 { margin-top: 0; }
.sos__carte .sos__phrase { font: 700 clamp(1.1rem, 1rem + .5vw, 1.3rem)/1.45 var(--cs-police-texte); }
.sos__suggestion { font-weight: 700; }
.statue__compteur { font: 800 1.6rem/1 var(--cs-police-titre-sobre); }
.scene__bulle { font: 800 1rem/1 var(--cs-police-titre-sobre); letter-spacing: 0; }
.scene__jauge { font: 700 .85rem var(--cs-police-texte); letter-spacing: 0; }
.tampon__marque { font: 800 .95rem/1 var(--cs-police-titre-sobre); letter-spacing: .04em; }
@media (max-width: 720px) { .sos__onglets { top: 68px; } }

/* Kit SOS : repères du dessin de l'enfant (sol à 214/240 du dessin) */
.scene__visuel { position: relative; }
.scene--enfant .enfant__marche { bottom: 10.5%; width: 24%; }
.enfant__eclats { position: absolute; inset: 0; pointer-events: none; }
/* Titre focalisé par le script : jamais de cadre */
h2[tabindex="-1"]:focus { outline: none; }
/* Fin de session : une ligne, la case bien lisible */
.fin-session { grid-template-columns: auto minmax(0, 1fr); padding: var(--e-4) var(--e-5); }
.fin-session__txt { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-2) var(--e-4); }
.fin-session__titre { margin: 0; flex: 1 1 auto; }
.fin-coche { margin: 0; }
.fin-session .sauve { flex-basis: 100%; margin: 0; font-size: .85rem; font-weight: 600; }
.fin-session .sauve:empty { display: none; }
.fin-session h2 { -webkit-text-stroke: 0; text-shadow: none; color: var(--cs-encre); }

/* Sessions : textes justifiés (décision de Pierre), césure française pour éviter les trous sur mobile */
@media (min-width: 700px) { .session-principal :is(.bloc-texte, .bloc-histoire, .bloc-metaphore, .bloc-cle, .bloc-retenir, .exercice__corps, .etape__corps) :is(p, li) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 7 3 3; } }

/* Session : plus de sommaire latéral, un rond de progression dans l'en-tête (comme sur l'accueil du Club) */
.session-grille { grid-template-columns: minmax(0, 760px); gap: 0; }
.session-haut__ligne { display: flex; align-items: center; gap: var(--e-3); margin-bottom: var(--e-2); }
.session-haut__ligne .sous { margin: 0; }
.anneau-mini { position: relative; flex: none; width: 64px; height: 64px; display: block; text-decoration: none; color: var(--texte); transition: transform var(--d-1) var(--ease); }
.anneau-mini:hover { transform: scale(1.06); }
.anneau-mini svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.anneau-mini .anneau__plein { stroke-width: 14; }
.anneau-mini__texte { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; line-height: 1; }
.anneau-mini__texte strong { font: 800 1.35rem/1 var(--cs-police-titre-sobre); }
.anneau-mini__texte span { font-weight: 700; font-size: .75rem; }
.session-haut--vert .anneau-mini { color: var(--cs-encre); }

/* ═══════════ Moins d'orange : le violet devient la couleur d'action (3/11) ═══════════
   L'orange reste réservé au bouton Kit SOS et aux illustrations. */
.hero { background: var(--section-peche); }   /* fond pêche : proposition retenue par Pierre le 4/11 (d3/m3) */
.btn--soleil { background: var(--cs-yellow-submarine); color: var(--cs-encre); }   /* bouton jaune de la carte prix */
/* CTA du haut de l'accueil : bleu nuit de l'en-tête, ombre blanche */
.btn--nuit { background: var(--bandeau); color: var(--bandeau-texte); box-shadow: 4px 4px 0 var(--cs-dreams); }
.btn--nuit:hover { box-shadow: 6px 6px 0 var(--cs-dreams); }
.btn--nuit:active { box-shadow: 1px 1px 0 var(--cs-dreams); }
/* Titre de l'accueil en League Spartan (demande de Pierre du 4/11), sans contour ni ombre, comme la capture de l'ancien site */
.hero .hero__titre { font-family: var(--cs-police-titre-sobre); font-weight: 800; color: var(--texte); -webkit-text-stroke: 0; text-shadow: none; line-height: 1.05; letter-spacing: -.01em; }
.section--histoire .btn:not(.btn--creme) { background: var(--cs-yellow-submarine); }
.section--histoire .histoire__cta .btn { background: var(--cs-dreams); }
.rubrique, .prix__etiquette, .fiche-pdf__badge, .semaine__jour.fait, .sos__onglet.actif, .sos__choix--voix .pastille-icone, .etape-frise:nth-child(5) .etape-frise__pastille, .scene__barre span, .lecture__plein, .titre-section::after { background: var(--accent); }
.bloc-histoire.carte-rubrique { border-left-color: var(--cs-purple-haze); }
.accueil__titre, .boite h1 { color: var(--cs-purple-haze); }
.echo::before, .echo::after, .mot-sophie__label { color: var(--cs-purple-haze); }
.cases-liste input:checked + span { text-decoration-color: var(--cs-purple-haze); }
.defi { background: var(--cs-dancing-queen); }

/* Ligne « MODULE · SESSION » : la réserve pour l'illustration se met sur la ligne, pas sur le texte */
@media (max-width: 560px) { .session-haut .session-haut__ligne .sous { padding-right: 0; } .session-haut__ligne { padding-right: 84px; } }

/* ═══════════ Carnet PDF : une vraie page de carnet ═══════════ */
@media print {
  @page { size: A4; margin: 12mm 14mm; }
  body.impression .carnet { --carnet: var(--cs-purple-haze); font-family: var(--cs-police-texte); }
  body.impression .carnet__haut { display: flex; align-items: center; gap: 14px; background: var(--carnet); border: 3px solid var(--cs-encre); border-radius: 18px; padding: 14px 20px; margin: 0 0 22px; box-shadow: 4px 4px 0 var(--cs-encre); }
  body.impression .carnet__mascotte { width: 58px; height: auto; }
  body.impression .carnet__marque .logotype { margin: 0; font-size: 1.7rem; }
  body.impression .carnet__date { margin: 2px 0 0; font: 400 .95rem var(--cs-police-sous-titre); letter-spacing: .14em; text-transform: uppercase; }
  body.impression .carnet__titrage { margin: 0 0 18px; padding-left: 4px; }
  body.impression .carnet__session { margin: 0; font: 400 .9rem var(--cs-police-sous-titre); letter-spacing: .16em; }
  body.impression .carnet__nom-session { margin: 2px 0 6px; font-weight: 700; font-size: .95rem; }
  body.impression .carnet__titre { margin: 0; font: 800 2rem/1.1 var(--cs-police-titre-sobre); }
  body.impression .carnet__titre::after { content: ""; display: block; width: 72px; height: 6px; border-radius: 3px; background: var(--cs-purple-haze); border: 2px solid var(--cs-encre); margin-top: 10px; }
  body.impression .carnet__liste { display: grid; gap: 14px; }
  body.impression .carnet__item { display: grid; grid-template-columns: 38px 1fr; gap: 14px; align-items: start; background: var(--cs-dreams); border: 2.5px solid var(--cs-encre); border-radius: 16px; padding: 14px 18px; margin: 0; break-inside: avoid; box-shadow: 4px 4px 0 var(--cs-encre); }
  body.impression .carnet__item:nth-child(n) { background: var(--cs-dreams); }
  body.impression .carnet__num { width: 38px; height: 38px; border-radius: 50%; border: 2.5px solid var(--cs-encre); display: grid; place-items: center; font: 800 1.1rem var(--cs-police-titre-sobre); background: var(--carnet); }
  body.impression .carnet__item:nth-child(3n+2) .carnet__num { background: var(--cs-waterloo); }
  body.impression .carnet__item:nth-child(3n) .carnet__num { background: var(--cs-yellow-submarine); }
  body.impression .carnet__q { margin: 6px 0 8px; font: 800 1.05rem/1.3 var(--cs-police-titre-sobre); }
  body.impression .carnet__r { margin: 0; white-space: pre-wrap; font-size: 1rem; line-height: 28px; min-height: 56px; padding: 0 4px; background-image: repeating-linear-gradient(to bottom, transparent 0 27px, var(--cs-waterloo) 27px 28px); }
  body.impression .carnet__r--vide { color: color-mix(in srgb, var(--cs-encre) 45%, transparent); font-style: italic; min-height: 112px; }
  body.impression .carnet__pied { margin-top: 26px; text-align: center; font-size: .8rem; border-top: 2px dashed var(--cs-encre); padding-top: 12px; }
  body.impression .carnet__mot { margin: 0 0 6px; font: 800 1.05rem var(--cs-police-titre-sobre); }
}
@media print { body.impression .carnet { box-sizing: border-box; padding-right: 8px; } body.impression .carnet *, body.impression .carnet { box-sizing: border-box; } body.impression .carnet__haut { justify-content: flex-start; } }

/* En-têtes du Club : le décor reste derrière la carte ; seul « Bienvenue au Club » garde Sarina */
.accueil > .contenu { position: relative; }
.accueil__titre--sobre { font-family: var(--cs-police-titre-sobre); font-weight: 800; -webkit-text-stroke: 0; text-shadow: none; color: var(--cs-encre); letter-spacing: -.01em; }
/* Kit SOS mobile : les 6 outils dans le premier écran (en fin de fichier pour passer après les règles du Kit) */
@media (max-width: 720px) {
  .sos__menu { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e-2); }
  .sos__choix { min-height: 112px; padding: var(--e-3); }
  .sos__choix strong { font-size: 1rem; }
  .sos__choix span:not(.sos__icone) { font-size: .84rem; }
  .sos__mascotte { width: 60px; margin-top: var(--e-2); }
  .sos__titre { margin: .1em 0 0; }
  .sos__intro { margin-top: var(--e-2); font-size: 1rem; }
}

/* ═══════════ Passe visuelle de l'académie (4/11) : ambiance, entrées, respiration, célébrations ═══════════ */
/* Étoiles de célébration (CS.feu) */
.feu { position: fixed; left: 0; top: 0; width: 0; height: 0; pointer-events: none; z-index: 120; }
.feu i { position: absolute; width: 12px; height: 12px; margin: -6px; border: 2px solid var(--cs-encre); border-radius: 3px; background: var(--c); opacity: 0; transform: translate(0, 0) scale(.3); animation: feu 1.15s var(--ease) var(--d, 0ms) forwards; }
.feu i:nth-child(3n) { border-radius: 50%; }
.feu i:nth-child(4n) { width: 20px; height: 20px; margin: -10px; border: 0; background: var(--cs-encre); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.feu i:nth-child(4n)::after { content: ""; position: absolute; inset: 3px; background: var(--c); clip-path: inherit; }
@keyframes feu { 12% { opacity: 1; } 70% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) rotate(var(--r)) scale(1); } }

/* Kit SOS : une ambiance de couleur par outil, des formes douces qui dérivent lentement derrière */
.sos { --ambiance: var(--sos-fond); --blob1: var(--cs-purple-haze); --blob2: var(--cs-dreams); position: relative; isolation: isolate; overflow: clip; background: var(--ambiance); transition: background-color var(--d-4) var(--ease); }
.sos::before, .sos::after { content: ""; position: absolute; z-index: -1; width: 80vmax; height: 80vmax; border-radius: 50%; pointer-events: none; transition: background var(--d-4) var(--ease); }
.sos::before { top: -30vmax; left: -35vmax; background: radial-gradient(circle, color-mix(in srgb, var(--blob1) 75%, transparent) 0, transparent 62%); animation: derive 28s ease-in-out infinite alternate; }
.sos::after { bottom: -35vmax; right: -40vmax; background: radial-gradient(circle, color-mix(in srgb, var(--blob2) 80%, transparent) 0, transparent 60%); animation: derive 34s ease-in-out -9s infinite alternate-reverse; }
@keyframes derive { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(8vmax, 6vmax) scale(1.08); } 100% { transform: translate(-4vmax, 10vmax) scale(.95); } }
.sos[data-ambiance="voix"] { --ambiance: var(--cs-dancing-queen); --blob1: var(--cs-yellow-submarine); --blob2: var(--cs-purple-haze); }
.sos[data-ambiance="statue"] { --ambiance: var(--cs-purple-haze); --blob1: var(--cs-waterloo); --blob2: var(--cs-dreams); }
.sos[data-ambiance="vague"] { --ambiance: var(--cs-waterloo); --blob1: var(--cs-dreams); --blob2: var(--cs-purple-haze); }
.sos[data-ambiance="minuteur"] { --ambiance: var(--cs-yellow-submarine); --blob1: var(--cs-dreams); --blob2: var(--cs-dancing-queen); }
.sos[data-ambiance="enfant"] { --ambiance: var(--cs-dancing-queen); --blob1: var(--cs-purple-haze); --blob2: var(--cs-yellow-submarine); }
.sos[data-ambiance="debrief"] { --ambiance: var(--cs-dreams); --blob1: var(--cs-yellow-submarine); --blob2: var(--cs-waterloo); }
/* Entrées : les cartes du menu arrivent l'une après l'autre, l'outil choisi glisse en place */
@keyframes carte-entre { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
.sos__menu:not([hidden]) .sos__choix { animation: carte-entre var(--d-3) var(--ease) both; }
.sos__menu .sos__choix:nth-child(2) { animation-delay: 60ms; } .sos__menu .sos__choix:nth-child(3) { animation-delay: 120ms; }
.sos__menu .sos__choix:nth-child(4) { animation-delay: 180ms; } .sos__menu .sos__choix:nth-child(5) { animation-delay: 240ms; } .sos__menu .sos__choix:nth-child(6) { animation-delay: 300ms; }
.sos__menu .pastille-icone { animation: flotte-doux 5s ease-in-out infinite; }
.sos__menu .sos__choix:nth-child(even) .pastille-icone { animation-delay: -2.5s; }
@keyframes flotte-doux { 50% { transform: translateY(-4px) rotate(-3deg); } }
.sos__carte:not([hidden]) { animation: carte-entre var(--d-3) var(--ease) both; }
/* La vague : un rond qui respire avec toi (4 s inspire, 6 s expire) */
.souffle { display: grid; justify-items: center; gap: var(--e-3); margin: var(--e-5) 0 var(--e-2); }
.souffle__zone { position: relative; width: 170px; height: 170px; display: grid; place-items: center; }
.souffle__rond { position: absolute; inset: 0; border-radius: 50%; background: var(--cs-purple-haze); border: var(--bord); box-shadow: 0 0 0 14px color-mix(in srgb, var(--cs-purple-haze) 35%, transparent), 0 0 0 30px color-mix(in srgb, var(--cs-purple-haze) 15%, transparent); transform: scale(.55); animation: respire 10s ease-in-out infinite; }
.souffle__txt { position: relative; font: 400 1.35rem var(--cs-police-sous-titre); letter-spacing: .14em; opacity: 0; grid-area: 1 / 1; }
.souffle__txt--in { animation: souffle-in 10s ease-in-out infinite; } .souffle__txt--out { animation: souffle-out 10s ease-in-out infinite; }
.souffle__aide { font-weight: 700; text-align: center; margin: 0; }
@keyframes respire { 0% { transform: scale(.55); } 40% { transform: scale(1); } 46% { transform: scale(1); } 100% { transform: scale(.55); } }
@keyframes souffle-in { 0%, 36% { opacity: 1; } 42%, 100% { opacity: 0; } }
@keyframes souffle-out { 0%, 42% { opacity: 0; } 48%, 94% { opacity: 1; } 100% { opacity: 0; } }
/* Minuteur : un halo qui pulse doucement pendant les 10 minutes */
.minuteur__cercle::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 3px solid var(--cs-encre); opacity: 0; pointer-events: none; }
.minuteur.en-cours .minuteur__cercle::after { animation: halo 4s ease-in-out infinite; }
@keyframes halo { 0%, 100% { opacity: 0; transform: scale(.96); } 50% { opacity: .35; transform: scale(1.03); } }
.minuteur.fini .minuteur__temps { animation: saute .6s var(--ease-rebond) 2; }

/* Club : « On continue » brille de temps en temps, les gants et modules gardent leur vie */
[data-reprendre] { position: relative; overflow: hidden; }
[data-reprendre]::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(110deg, transparent 35%, color-mix(in srgb, var(--cs-dreams) 28%, transparent) 50%, transparent 65%); transform: translateX(-100%); animation: brillance 6s var(--ease) 1.5s infinite; }
@keyframes brillance { 0% { transform: translateX(-100%); } 25%, 100% { transform: translateX(100%); } }

@media (prefers-reduced-motion: reduce) {
  .sos::before, .sos::after, .sos__menu .pastille-icone, .souffle__rond, .minuteur.en-cours .minuteur__cercle::after, [data-reprendre]::after { animation: none; }
  .sos__menu:not([hidden]) .sos__choix, .sos__carte:not([hidden]) { animation: none; }
  .souffle__rond { transform: scale(.8); } .souffle__txt { opacity: 1; position: static; } .souffle__zone { height: auto; width: auto; gap: .3em; padding: 2.5em; }
  .feu { display: none; }
}

/* ═══════════ Harmonisation des couleurs, passe 1 (4/11, demande de Pierre : moins flashy) ═══════════ */
.section--creme-2 { background: var(--section-creme-2); }
/* Sessions : en-tête de module et encadrés adoucis */
.session-haut { background: color-mix(in srgb, var(--couleur, var(--section-peche)) 62%, var(--cs-dreams)); }
.bloc-histoire { background: var(--doux-peche); border-left-color: var(--cs-dancing-queen); }
.bloc-metaphore { background: var(--doux-turquoise); }
/* Club : en-têtes de modules et boîte à outils adoucis */
.mod__haut { background: color-mix(in srgb, var(--couleur) 62%, var(--cs-dreams)); }
/* Module « Conclusion » (vert foncé, texte crème) : gardé tel quel pour le contraste */
.mod[data-module="fin"] .mod__haut, .session-haut--vert { background: var(--couleur, var(--section-vert)); }
.outil--sos { background: var(--doux-turquoise); }
.outil--fiches { background: var(--doux-peche); }
/* Kit SOS : cartes du menu en crème (seules les pastilles gardent leur couleur), ambiance atténuée */
.sos__choix--voix, .sos__choix--minuteur, .sos__choix--enfant { background: var(--cs-dreams); }
.sos { background: color-mix(in srgb, var(--ambiance) 55%, var(--cs-dreams)); }
.sos::before { background: radial-gradient(circle, color-mix(in srgb, var(--blob1) 40%, transparent) 0, transparent 62%); }
.sos::after { background: radial-gradient(circle, color-mix(in srgb, var(--blob2) 45%, transparent) 0, transparent 60%); }
/* « Mon histoire » : la photo de Sophie en grand médaillon qui déborde de l'étiquette (demande de Pierre du 4/11 : on ne la voyait pas assez) */
.bloc-histoire .rubrique { padding-left: calc(clamp(64px, 9vw, 84px) - .2em); }
.bloc-histoire .rubrique__icone { position: absolute; left: -10px; top: 50%; transform: translateY(-50%) rotate(1.5deg); width: clamp(64px, 9vw, 84px); height: clamp(64px, 9vw, 84px); border: 3px solid var(--cs-encre); box-shadow: 3px 3px 0 var(--cs-encre); background: var(--cs-dancing-queen); }
.bloc-histoire .rubrique__avatar { object-position: 50% 22%; }
.carte-rubrique.bloc-histoire { padding-top: clamp(2.6rem, 6vw, 3.2rem); }

/* ═══════════ REFONTE DE LA CHARTE (4/11, validée par Pierre) : en fin de fichier, elle prime sur les passes précédentes ═══════════
   Majeur : crème et saumon. Ancrage : bleu nuit, vert Sweet Leaf en second. Accents dosés : orange (CTA principal),
   violet (surlignage, CTA secondaires), jaune (touches). Turquoise : Kit SOS. Inspiré du feed Instagram de la charte. */
.section--saumon { background: var(--saumon); }
.section--creme-2 { background: var(--section-creme); }

/* Boutons : orange pour l'action principale, violet pour le secondaire, jaune sur le vert */
.btn { background: var(--action); color: var(--action-texte); }
.btn--vert, .btn--creme, .btn--jaune { background: var(--accent); color: var(--accent-texte); }
.btn--soleil { background: var(--cs-yellow-submarine); color: var(--cs-encre); }
.btn--sos { background: var(--cs-waterloo); color: var(--cs-encre); }
:is(.section--vert, .pied) .btn { box-shadow: 4px 4px 0 var(--cs-dreams); }
.entete .btn, .entete .btn:hover { box-shadow: none; }   /* en-tête : pas d'ombre claire sous les boutons (demande de Pierre du 4/11) */
:is(.section--vert, .pied) .btn:hover { box-shadow: 6px 6px 0 var(--cs-dreams); }

/* Mots-clés en pastille, comme sur les carrousels Instagram (« j'ai tout tenté », « guérie. ») */
.pastille-mot { display: inline; background: var(--accent); color: var(--cs-encre); border-radius: var(--r-1); padding: 0 .22em; -webkit-box-decoration-break: clone; box-decoration-break: clone; text-shadow: none; -webkit-text-stroke: 0; }
.pastille-mot--creme { background: var(--cs-dreams); }
.pastille-mot--saumon { background: var(--saumon); }
.pastille-mot--orange { background: var(--action); }

/* Bandeau défilant : vert Sweet Leaf, étoiles jaunes (jaune + vert) */
.defile { background: var(--ancrage-2); color: var(--cs-dreams); }
.defile__piste span::after { color: var(--cs-yellow-submarine); }

/* « Tu n'es pas seule » : les échos en cartes saumon, citations en Fraunces, guillemets orange (orange + saumon) */
.echo { background: var(--saumon); font: 600 clamp(1.05rem, 1rem + .3vw, 1.15rem)/1.5 var(--cs-police-texte); text-align: left; hyphens: manual; }   /* citation courte : alignée à gauche, la justification y creusait des trous */
.echo::before, .echo::after { content: none; }   /* plus de guillemets (demande de Pierre du 4/11) */

/* Idées reçues (fond saumon) : recto crème, verso vert à texte crème (vert + crème) */
.carte-flip__face--recto { background: var(--cs-dreams); }
.carte-flip__face--verso { background: var(--cs-dreams); color: var(--cs-encre); }   /* verso crème (demande de Pierre du 4/11) */
.section--saumon u { text-decoration-color: var(--action); }

/* « Mon histoire » : fond violet, boule orange (violet + orange), photo de Sophie au deli (choix de Pierre du 4/11) */
.section--histoire { background: var(--accent); color: var(--cs-encre); }
.section--histoire::before { background: var(--action); border-color: var(--cs-encre); }
.section--histoire::after { background: var(--saumon); border-color: var(--cs-encre); }
.section--histoire .histoire__photo-cadre { box-shadow: 10px 10px 0 var(--cs-encre); }
.section--histoire .histoire__chiffres li:nth-child(2) { background: var(--saumon); }
.section--histoire .btn:not(.btn--creme), .section--histoire .histoire__cta .btn { background: var(--action); color: var(--action-texte); box-shadow: var(--ombre-1); }
.section--histoire .pastille-mot--saumon { background: var(--cs-dreams); }

/* Pour qui : encadrés saumon sur crème */
#pour-qui .encadre { background: var(--saumon); }

/* Pied de page bleu nuit : titres saumon */
.pied h2 { color: var(--saumon); }

/* Club : accueil en saumon (couleur majeure), plus en jaune */
.accueil { background: var(--saumon); }

/* « Tu n'es ni folle, ni faible » : surlignage violet, comme « seule. » en haut du bloc (demande de Pierre du 4/11) */
.chute mark { background: linear-gradient(transparent 12%, var(--accent) 12% 88%, transparent 88%); }

/* Haut de l'accueil : accroche et récit dans la même police, même graisse et même taille (demande de Pierre du 4/11) */
.hero__recit { font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); font-weight: 600; line-height: 1.5; }
.hero__recit strong { font-weight: 800; }

/* Passe de cohérence (4/11) : turquoise réservé au Kit SOS, jaune jamais sur le bleu nuit, pas de justification sur les lignes courtes du pied */
.liste-coche--non li::before { background: var(--cs-dreams); }
.etape-frise:nth-child(3) .etape-frise__pastille { background: var(--cs-dreams); }
.pied .tel { background: var(--saumon); color: var(--cs-encre); }
.pied :is(p, li) { text-align: left; hyphens: manual; }

/* Idées reçues : un soleil jaune centré sur l'angle haut gauche du recto, tronqué par les bords de la carte (demande de Pierre du 4/11) */
.carte-flip__face--recto { overflow: hidden; }
.carte-flip__face--recto > * { position: relative; z-index: 1; }
.carte-flip__face--recto::after { content: ""; position: absolute; z-index: 0; width: 96px; height: 96px; clip-path: polygon(50.0% 0.0%, 59.3% 15.2%, 75.0% 6.7%, 75.5% 24.5%, 93.3% 25.0%, 84.8% 40.7%, 100.0% 50.0%, 84.8% 59.3%, 93.3% 75.0%, 75.5% 75.5%, 75.0% 93.3%, 59.3% 84.8%, 50.0% 100.0%, 40.7% 84.8%, 25.0% 93.3%, 24.5% 75.5%, 6.7% 75.0%, 15.2% 59.3%, 0.0% 50.0%, 15.2% 40.7%, 6.7% 25.0%, 24.5% 24.5%, 25.0% 6.7%, 40.7% 15.2%); pointer-events: none; }
.carte-flip__face--recto::after { top: -48px; left: -48px; background: var(--cs-yellow-submarine); }
.carte-flip__face--recto .carte-flip__etiquette { padding-left: 34px; }

/* Barre d'onglets du Club : icônes dessinées (trait encre, remplissages de la charte) à la place des emojis (4/11) */
.ico { width: 30px; height: 30px; display: block; color: var(--cs-encre); overflow: visible; }
.ico__saumon { fill: var(--saumon); } .ico__creme { fill: var(--cs-dreams); } .ico__violet { fill: var(--accent); }
.ico__jaune { fill: var(--cs-yellow-submarine); } .ico__turquoise { fill: var(--cs-waterloo); }
@media (max-width: 720px) {
  .onglets-bas a span { height: 2.1em; width: 3.4em; border: 2px solid transparent; }
  .onglets-bas a[aria-current="page"] span { background: var(--cs-dreams); border-color: var(--cs-encre); box-shadow: 2px 2px 0 var(--cs-encre); transform: translateY(-2px); }
  .onglets-bas a[aria-current="page"] { color: var(--cs-encre); }
  .onglets-bas a.onglets-bas__sos span { background: none; border-color: transparent; }
  .onglets-bas a.onglets-bas__sos[aria-current="page"] span { background: var(--cs-waterloo); }
}

/* Frise de l'accueil : même charte que l'encadré « Mon histoire » des sessions (fond saumon doux, liseré violet à gauche, sans ombre portée) (4/11) */
.frise--cartes .etape-frise > div, .section--histoire .frise--cartes .etape-frise > div { background: var(--doux-peche); border: var(--bord); border-left: 6px solid var(--accent); border-radius: var(--r-3); box-shadow: none; color: var(--cs-encre); }
.frise--cartes .etape-frise:last-child > div { background: var(--doux-peche); }
/* Menu du compte : liens en encre (ils héritaient du crème de l'en-tête et devenaient invisibles) */
.entete__nav .menu-compte__liste a, .entete__nav .menu-compte__liste button { color: var(--texte); }
.section--histoire .frise--cartes .etape-frise > div { border-left-color: var(--action); }   /* sur fond violet, le liseré violet disparaissait : orange (violet + orange) */

/* ═══════════ PASSE DU 12/11 : plus de valeur dans les sessions, un Club plus vivant, des couleurs plus cohérentes ═══════════
   Glossaire au toucher, carte « la suite », chemin du programme, rappel du jour, carnet.
   Couleurs : turquoise rendu au seul Kit SOS, jaune jamais sur fond sombre, fonds de couleur adoucis. */
[hidden] { display: none !important; }
@view-transition { navigation: auto; }   /* fondu doux d'une page à l'autre (navigateurs récents) */
@keyframes monte { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes sautille { 0%, 100% { transform: translate(-50%, 0) rotate(-3deg); } 50% { transform: translate(-50%, -7px) rotate(3deg); } }

/* Icônes dessinées dans les onglets de rubrique et la boîte à outils */
.rubrique__icone .ico { width: 1.3em; height: 1.3em; }
.outil__icone .ico { width: 34px; height: 34px; }

/* Entrée de page : le haut arrive en douceur, élément par élément */
.session-haut__in > *, .accueil__carte > * { animation: monte var(--d-4) var(--ease) both; }
.session-haut__in > :nth-child(2), .accueil__carte > :nth-child(2) { animation-delay: 80ms; }
.session-haut__in > :nth-child(3), .accueil__carte > :nth-child(3) { animation-delay: 160ms; }
.session-haut__in > :nth-child(4), .accueil__carte > :nth-child(4) { animation-delay: 240ms; }

/* Leçon : un premier paragraphe qui accroche, des intertitres soulignés d'un trait violet */
.lecon > #b0 .bloc-texte > p:first-of-type { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.35rem); font-weight: 600; line-height: 1.6; }
.bloc-texte h2::after { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: var(--accent); margin-top: .3em; }

/* Vidéo à venir : bleu nuit et saumon, sans rayures (le jaune ne va pas sur un fond sombre) */
.video { background: var(--ancrage); box-shadow: none; }
.video::before { content: none; }
.video .video__titre { color: var(--saumon); }
.video__play { border-color: var(--saumon); color: var(--saumon); }

/* « Une image pour comprendre » : jaune doux (jaune + crème) ; le turquoise reste au Kit SOS */
.bloc-metaphore { background: var(--doux-jaune); }
.semaine { background: var(--doux-jaune); }
.fin-session--faite .fin-coche { background: var(--accent); }
.fiche-carte__bas { background: color-mix(in srgb, var(--couleur) 55%, var(--cs-dreams)); }

/* Glossaire : un mot déjà appris, souligné de pointillés ; un toucher rappelle sa définition */
.terme { cursor: pointer; border-bottom: 2px dotted var(--cs-encre); background: linear-gradient(transparent 58%, var(--doux-violet) 58%); border-radius: 2px; transition: background-color var(--d-1) var(--ease); }
.terme:hover, .terme[aria-expanded="true"] { background: var(--accent); }
.terme__bulle { position: absolute; z-index: 90; width: min(340px, calc(100vw - 24px)); display: grid; gap: .3em; background: var(--ancrage); color: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); padding: var(--e-4); font: 500 .95rem/1.5 var(--cs-police-texte); text-align: left; animation: pop var(--d-2) var(--ease) both; }
.terme__bulle::before { content: ""; position: absolute; left: var(--pointe, 50%); top: -8px; width: 14px; height: 14px; margin-left: -7px; background: var(--ancrage); border-left: var(--bord); border-top: var(--bord); transform: rotate(45deg); }
.terme__bulle--haut::before { top: auto; bottom: -8px; transform: rotate(225deg); }
.terme__bulle small { font: 400 .8rem/1 var(--cs-police-sous-titre); letter-spacing: .16em; color: var(--saumon); }
.terme__bulle strong { font: 800 1.1rem/1.2 var(--cs-police-titre-sobre); }


/* La suite : une carte qui donne envie d'enchaîner, à la couleur du module suivant */
.nav-sessions { display: grid; gap: var(--e-4); justify-content: stretch; }
.suite { display: grid; grid-template-columns: clamp(64px, 14vw, 120px) minmax(0, 1fr) auto; gap: var(--e-4); align-items: center; text-decoration: none; color: var(--texte); background: color-mix(in srgb, var(--couleur) 45%, var(--cs-dreams)); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); padding: var(--e-4) var(--e-5); transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); }
.suite:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--cs-encre); }
.suite:active { transform: translate(2px, 2px); box-shadow: var(--ombre-1); }
.suite__illus .illus { width: 100%; height: auto; display: block; }
.suite__txt { display: grid; gap: .25em; }
.suite .sous { margin: 0; font-size: .95rem; }
.suite strong { font: 800 clamp(1.2rem, 1.05rem + .8vw, 1.7rem)/1.15 var(--cs-police-titre-sobre); }
.suite__accroche { font-weight: 600; font-size: .98rem; line-height: 1.45; }
.suite__go { font-size: 2rem; font-weight: 900; transition: transform var(--d-1) var(--ease); }
.suite:hover .suite__go { transform: translateX(6px); }
.nav-sessions__prec { justify-self: start; font-weight: 700; font-size: .95rem; text-underline-offset: .2em; min-height: var(--cible); display: inline-flex; align-items: center; }
@media (max-width: 560px) { .suite { grid-template-columns: 56px minmax(0, 1fr); padding: var(--e-4); } .suite__go { display: none; } .suite__accroche { display: none; } }

/* Reprise de lecture */
.reprise { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 85; display: inline-flex; align-items: center; gap: .5em; min-height: var(--cible); font: 800 1rem/1 var(--cs-police-texte); color: var(--accent-texte); background: var(--accent); border: var(--bord); border-radius: var(--r-rond); padding: .7em 1.2em; box-shadow: var(--ombre-1); cursor: pointer; white-space: nowrap; }
.reprise--sort { opacity: 0; transition: opacity .4s; }
@media (max-width: 720px) { .reprise { bottom: calc(78px + env(safe-area-inset-bottom)); font-size: .92rem; } }

/* Le chemin du programme : 14 étapes, la mascotte posée sur la prochaine */
.chemin { background: var(--fond-carte); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-1); margin-bottom: var(--e-6); overflow: hidden; }
.chemin__piste { position: relative; list-style: none; margin: 0; display: flex; align-items: center; padding: 70px clamp(1rem, 3vw, 2rem) 46px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
.chemin__piste::-webkit-scrollbar { display: none; }
.chemin__piste li { text-align: left; hyphens: manual; margin: 0; }
.chemin__etape, .chemin__arrivee { flex: 1 0 auto; display: flex; align-items: center; }
.chemin__etape::before, .chemin__arrivee::before { content: ""; flex: 1 0 14px; height: 3px; background: var(--cs-encre); border-radius: 2px; }
.chemin__piste > .chemin__etape:nth-child(2) { flex: 0 0 auto; }
.chemin__piste > .chemin__etape:nth-child(2)::before { content: none; }
.chemin__pas { flex: none; width: 42px; height: 42px; border-radius: 50%; border: var(--bord); background: color-mix(in srgb, var(--couleur) 45%, var(--cs-dreams)); display: grid; place-items: center; text-decoration: none; color: var(--texte); font: 400 1.3rem/1 var(--cs-police-sous-titre); transition: transform var(--d-2) var(--ease-rebond), box-shadow var(--d-2) var(--ease); }
.chemin__pas:hover { transform: translateY(-3px); box-shadow: 0 3px 0 var(--cs-encre); }
.chemin__pas.fait { background: var(--cs-encre); color: var(--cs-dreams); }
.chemin__pas.fait span { font-size: 0; }
.chemin__pas.fait span::before { content: "✓"; font: 900 1.2rem var(--cs-police-texte); }
.chemin__pas.ici { background: var(--accent); transform: scale(1.18); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 45%, transparent); }
.chemin__module { flex: 0 0 0; width: 0; position: relative; align-self: stretch; }
.chemin__module span { position: absolute; left: 14px; top: calc(100% + 6px); white-space: nowrap; font: 400 .85rem/1 var(--cs-police-sous-titre); letter-spacing: .14em; }
.chemin__piste > .chemin__module:first-child span { left: 0; }
.chemin__arrivee .ico { flex: none; width: 38px; height: 38px; }
.chemin--fini .chemin__arrivee .ico { animation: flotte-doux 3s ease-in-out infinite; }
.chemin__mascotte { position: absolute; top: 8px; left: 0; width: 48px; height: auto; transform: translateX(-50%); filter: drop-shadow(2px 2px 0 var(--cs-encre)); animation: sautille 2.4s ease-in-out infinite; pointer-events: none; }
@media (max-width: 900px) { .chemin__etape, .chemin__arrivee { flex: 0 0 auto; } .chemin__etape::before, .chemin__arrivee::before { flex: 0 0 18px; width: 18px; } .chemin__piste { padding-right: 40px; } }

/* Modules : deux colonnes sur grand écran (moins de défilement), titres alignés à gauche partout */
.mod__liste li { text-align: left; hyphens: manual; }
@media (min-width: 1024px) { .mods { display: block; columns: 2; column-gap: var(--e-6); } .mods .mod { break-inside: avoid; margin-bottom: var(--e-6); } }

/* Le rappel du jour */
.rappel { background: var(--doux-jaune); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-1); padding: var(--e-6) var(--e-5) var(--e-4); margin-top: var(--e-7); }
.rappel__texte { font: 800 clamp(1.2rem, 1.05rem + .8vw, 1.65rem)/1.3 var(--cs-police-titre-sobre); margin: 0 0 var(--e-4); text-align: left; hyphens: manual; max-width: 34ch; }
.rappel__texte--neuf { animation: monte var(--d-3) var(--ease) both; }
.rappel__bas { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--e-3); margin: 0; text-align: left; }
.rappel__bas a { font-weight: 700; font-size: .95rem; text-underline-offset: .2em; }
.rappel__bas .btn { min-height: var(--cible); padding: .5em 1.1em; font-size: .95rem; }

/* La lettre scellée rappelée sur l'accueil du Club */
.carnet-phrases { list-style: none; margin: var(--e-4) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: var(--e-4); }
.carnet-phrases li { background: var(--doux-peche); border: var(--bord); border-left: 6px solid var(--accent); border-radius: var(--r-3); padding: var(--e-4) var(--e-5); display: grid; gap: var(--e-2); align-content: start; text-align: left; hyphens: manual; }
.carnet-phrases p { margin: 0; font: 700 1.08rem/1.45 var(--cs-police-texte); text-align: left; hyphens: manual; }
.carnet-phrases a { font-size: .85rem; font-weight: 700; text-underline-offset: .2em; }

@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .session-haut__in > *, .accueil__carte > *, .terme__bulle, .chemin__mascotte, .rappel__texte--neuf, .chemin--fini .chemin__arrivee .ico { animation: none; }
}
@media print { .reprise, .terme__bulle { display: none !important; } .terme { border: 0; background: none; } }

/* ═══════════ PASSE DU 13/11 : mobile, Kit SOS et gants dessinés, schéma du cerveau, les jeux, le film et le labo ═══════════ */
@keyframes pulse-zone { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.09); } }
@keyframes onde { from { transform: scale(.8); opacity: .9; } to { transform: scale(2.1); opacity: 0; } }
@keyframes tombe { from { transform: translateY(-12px); opacity: 0; } 15% { opacity: 1; } to { transform: translateY(340px); opacity: 0; } }
@keyframes bulle-voix { 0% { opacity: 0; transform: translateY(8px) scale(.8); } 15%, 75% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes tampon { from { opacity: 0; transform: rotate(-12deg) scale(1.8); } to { opacity: 1; transform: rotate(-12deg) scale(1); } }
@keyframes tape { 0% { transform: scale(1); } 40% { transform: scale(.96) translate(2px, 2px); } 100% { transform: scale(1); } }

/* ── Mobile : cibles tactiles, onglets du bas (l'alignement à gauche des textes courts a été retiré le 14/11 : Pierre veut le texte justifié partout) ── */
.entete__marque { min-height: var(--cible); }
.rubrique small { font-size: .75rem; }
@media (max-width: 700px) {
  .onglets-bas { grid-template-columns: repeat(5, 1fr); }
  .onglets-bas a { font-size: .74rem; }
  .onglets-bas a span { width: 3em; }
}
.vf__explication { background: var(--doux-violet); }
.outil--jeux { background: var(--doux-violet); }
.outil--cerveau { background: var(--doux-jaune); }

/* Boîte à outils sur mobile : quatre tuiles compactes, deux par ligne (moins de défilement) */
@media (max-width: 560px) {
  .outils__grille { grid-template-columns: 1fr 1fr; gap: var(--e-3); }
  .outil { grid-template-columns: 1fr; justify-items: start; gap: var(--e-2); padding: var(--e-3) var(--e-4); min-height: 118px; align-content: center; }
  .outil strong + span, .outil .seance__fleche { display: none; }
  .outil strong { font-size: 1.02rem; line-height: 1.2; }
  .outil__icone { width: 48px; height: 48px; }
}

@media (min-width: 700px) { .outils__grille { grid-template-columns: 1fr 1fr; } .outil strong + span { text-align: left; hyphens: manual; } }

/* ── Kit SOS et gants : icônes dessinées ── */
.pastille-icone .ico { width: 34px; height: 34px; }
.sos__onglet .ico { width: 22px; height: 22px; }
.sos__onglet > span { display: inline-grid; }
.gant__icone { display: grid; place-items: center; margin-bottom: .2em; }
.gant__icone .ico { width: 44px; height: 44px; }
.gants--grands .gant__icone .ico { width: 56px; height: 56px; }
.gant.gagne .gant__icone .ico { animation: flotte-doux 4s ease-in-out infinite; }

/* ── Schéma du cerveau (profil) : préfrontal violet à l'avant, limbique orange au centre ── */
.cerv { display: block; width: 100%; max-width: 340px; margin-inline: auto; overflow: visible; }
.cerv__fond { fill: var(--cs-dreams); }
.cerv__tronc { fill: var(--saumon); stroke: var(--cs-encre); stroke-width: 3.5; stroke-linejoin: round; }
.cerv__contour { fill: none; stroke: var(--cs-encre); stroke-width: 4.5; stroke-linejoin: round; pointer-events: none; }
.cerv__plis { fill: none; stroke: var(--cs-encre); stroke-width: 3; stroke-linecap: round; opacity: .45; pointer-events: none; }
.cerv__zone { cursor: pointer; }
.cerv__zone ellipse { transform-box: fill-box; transform-origin: center; transition: opacity var(--d-3) var(--ease), transform var(--d-3) var(--ease-rebond); }
.cerv__zone--pre ellipse { fill: var(--accent); }
.cerv__zone--lim ellipse { fill: var(--action); stroke: var(--cs-encre); stroke-width: 3.5; }
.cerv__zone:hover ellipse { transform: scale(1.04); }
[data-actif="0"] .cerv__zone--pre ellipse, [data-actif="1"] .cerv__zone--lim ellipse { opacity: .3; }
[data-actif="0"] .cerv__zone--lim ellipse, [data-actif="1"] .cerv__zone--pre ellipse { animation: pulse-zone 1.8s ease-in-out infinite; }
.cerveau { display: grid; grid-template-columns: 1fr; gap: var(--e-4); }
.cerveau__schema { background: var(--doux-peche); border: var(--bord); border-radius: var(--r-3); padding: var(--e-5) var(--e-4); }
.cerveau__choix { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e-3); }
.cerveau .cerveau__choix button, .labo .cerveau__choix button { min-height: 0; padding: var(--e-3) var(--e-4); border: var(--bord); border-radius: var(--r-2); box-shadow: var(--ombre-1); text-align: left; display: grid; gap: .15em; cursor: pointer; color: var(--cs-encre); transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); }
.cerveau__choix strong { font: 400 1.05rem/1.15 var(--cs-police-sous-titre); letter-spacing: .08em; }
.cerveau__choix span { font-size: .88rem; font-weight: 600; line-height: 1.3; }
.cerveau__prefrontal { background: var(--accent); }
.cerveau__limbique { background: var(--action); }
.cerveau__choix button[aria-pressed="true"] { transform: translate(3px, 3px); box-shadow: none; outline: 3px solid var(--cs-encre); outline-offset: 2px; }
.cerveau__detail { grid-column: auto; text-align: left; }
.lecon .cerveau__plus { margin: 0; font-weight: 700; text-align: left; }
@media (max-width: 420px) { .cerveau__choix { grid-template-columns: 1fr; } }

/* ── Piqûre de moustique : un halo qui s'apaise, un compte à rebours ── */
.moustique__peau { width: min(100%, 230px); background: var(--doux-peche); }
.moustique__halo { position: absolute; inset: 14%; border-radius: 50%; border: 3px dashed var(--action); opacity: 0; }
.moustique--en-cours .moustique__halo { opacity: .7; animation: pulse-zone 1s ease-in-out infinite; }
.moustique__bouton { width: 40%; }
.moustique__temps { position: absolute; right: 4%; top: 4%; width: 2.6em; height: 2.6em; display: grid; place-items: center; border-radius: 50%; border: var(--bord); background: var(--cs-dreams); font: 400 1.3rem var(--cs-police-sous-titre); box-shadow: 2px 2px 0 var(--cs-encre); }
.moustique--passe .moustique__temps { background: var(--accent); }

/* ── Jauges (jeux, labo) ── */
.jauge { display: grid; gap: .3em; font-weight: 700; font-size: .9rem; }
.jauge__barre { display: block; height: 16px; border: var(--bord); border-radius: var(--r-rond); background: var(--cs-dreams); overflow: hidden; }
.jauge__barre > span { display: block; height: 100%; background: var(--action); border-right: var(--bord); border-radius: var(--r-rond); transition: width .7s var(--ease); }
.jauge__barre--monte > span { background: var(--accent); }

/* ── Haut des pages outils (jeux, cerveau) ── */
.accueil--outil .accueil__carte { max-width: 720px; }
.accueil--outil { padding-bottom: clamp(2.4rem, 5vw, 4rem); }

/* ── Les jeux : menu ── */
.jeux { padding-block: var(--e-6) var(--e-7); }
.jeux__menu { display: grid; gap: var(--e-5); max-width: 760px; margin-inline: auto; }
.jeu-carte { display: grid; grid-template-columns: clamp(96px, 26vw, 170px) minmax(0, 1fr) auto; gap: var(--e-4); align-items: center; text-align: left; color: var(--texte); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); padding: var(--e-4); cursor: pointer; transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); animation: carte-entre var(--d-3) var(--ease) both; }
.jeu-carte:nth-child(2) { animation-delay: 70ms; } .jeu-carte:nth-child(3) { animation-delay: 140ms; }
.jeu-carte:hover { transform: translate(-3px, -3px); box-shadow: 9px 9px 0 var(--cs-encre); }
.jeu-carte:active { transform: translate(3px, 3px); box-shadow: var(--ombre-1); }
.jeu-carte--voix { background: var(--doux-peche); } .jeu-carte--vague { background: var(--doux-turquoise); } .jeu-carte--piste { background: var(--doux-violet); }
.jeu-carte__vignette { background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); overflow: hidden; display: block; }
.vignette { display: block; width: 100%; height: auto; }
.vignette :is(.vg-saumon, .vg-creme, .vg-violet, .vg-jaune, .vg-turquoise) { stroke: var(--cs-encre); stroke-width: 3; stroke-linejoin: round; }
.vg-saumon { fill: var(--saumon); } .vg-creme { fill: var(--cs-dreams); } .vg-violet { fill: var(--accent); } .vg-jaune { fill: var(--cs-yellow-submarine); } .vg-turquoise { fill: var(--cs-waterloo); }
.vg-trait, .vg-trait-seul { fill: none; stroke: var(--cs-encre); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.vg-piste-vieille { fill: none; stroke: var(--cs-encre); stroke-width: 9; stroke-linecap: round; opacity: .35; }
.vg-piste-neuve { fill: none; stroke: var(--action); stroke-width: 7; stroke-linecap: round; }
.jeu-carte__txt { display: grid; gap: .25em; }
.jeu-carte__txt .sous { margin: 0; font-size: .85rem; letter-spacing: .12em; }
.jeu-carte__txt strong { font: 800 clamp(1.3rem, 1.1rem + 1vw, 1.8rem)/1.1 var(--cs-police-titre-sobre); }
.jeu-carte__txt > span:not(.sous):not(.jeu-carte__stat) { font-weight: 600; font-size: .95rem; line-height: 1.4; }
.jeu-carte__stat { justify-self: start; margin-top: .2em; font: 400 .85rem/1 var(--cs-police-sous-titre); letter-spacing: .1em; text-transform: uppercase; border: 2px solid var(--cs-encre); border-radius: var(--r-rond); padding: .35em .8em; background: var(--cs-dreams); }
.jeu-carte__stat--fait { background: var(--accent); }
.jeu-carte__go { font-size: 1.8rem; font-weight: 900; }
.jeux__note { font-weight: 600; font-size: .95rem; text-align: left; hyphens: manual; margin: 0; }
@media (max-width: 560px) { .jeu-carte { grid-template-columns: 88px minmax(0, 1fr); padding: var(--e-3); gap: var(--e-3); } .jeu-carte__go { display: none; } .jeu-carte__txt > span:not(.sous):not(.jeu-carte__stat) { font-size: .88rem; } }

/* ── Les jeux : un jeu ouvert (plein écran sur mobile : le haut de page et le pied s'effacent) ── */
body.en-jeu .accueil--outil, body.en-jeu .pied { display: none; }
.jeu { max-width: 560px; margin-inline: auto; display: grid; gap: var(--e-4); animation: carte-entre var(--d-3) var(--ease) both; }
.jeu__haut { display: grid; gap: var(--e-2); justify-items: start; }
.jeu__retour { font: 700 .95rem var(--cs-police-texte); min-height: var(--cible); padding: 0 1em; border: var(--bord); border-radius: var(--r-rond); background: var(--cs-dreams); color: var(--texte); cursor: pointer; }
.jeu__haut h2 { font: 800 clamp(1.8rem, 1.4rem + 2vw, 2.6rem)/1.05 var(--cs-police-titre-sobre); margin: 0; outline: none; }
.jeu__intro, .jeu__scene, .jeu__fin { display: none; }
.jeu[data-etat="intro"] .jeu__intro, .jeu[data-etat="fin"] .jeu__fin { display: grid; gap: var(--e-4); }
.jeu[data-etat="jeu"] .jeu__scene { display: block; }
.jeu__intro, .jeu__fin { background: var(--fond-carte); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); padding: var(--e-5); }
.jeu__vignette { border: var(--bord); border-radius: var(--r-2); overflow: hidden; background: var(--doux-peche); max-width: 300px; justify-self: center; width: 100%; }
.jeu__pitch { font: 700 1.1rem/1.5 var(--cs-police-texte); margin: 0; text-align: left; hyphens: manual; }
.jeu__regles { margin: 0; padding: 0; list-style: none; counter-reset: regle; display: grid; gap: var(--e-3); }
.jeu__regles li { counter-increment: regle; display: grid; grid-template-columns: 2em 1fr; gap: var(--e-3); align-items: start; font-weight: 600; text-align: left; hyphens: manual; margin: 0; }
.jeu__regles li::before { content: counter(regle); width: 2em; height: 2em; display: grid; place-items: center; border-radius: 50%; border: var(--bord); background: var(--accent); font: 400 1.1rem var(--cs-police-sous-titre); }
.jeu__intro .btn, .jeu__fin .btn { justify-self: stretch; }
.jeu__fin { justify-items: center; text-align: center; }
.jeu__fin img { width: 96px; height: auto; }
.jeu__fin h3 { font: 800 clamp(1.4rem, 1.2rem + 1vw, 1.9rem)/1.15 var(--cs-police-titre-sobre); margin: 0; }
.jeu__fin p { margin: 0; text-align: left; hyphens: manual; font-weight: 600; }
.jeu__appris { background: var(--doux-jaune); border: var(--bord); border-radius: var(--r-2); padding: var(--e-3) var(--e-4); }
.jeu__fin-boutons { display: grid; gap: var(--e-3); width: 100%; }

/* Jeu 1 : Qui parle ? */
.jv { display: grid; gap: var(--e-3); }
.jv__haut { display: flex; align-items: center; justify-content: space-between; gap: var(--e-3); }
.jv__n { font: 400 1.2rem var(--cs-police-sous-titre); letter-spacing: .12em; }
.jv__points { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.jv__points i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--cs-encre); background: var(--cs-encre); }
.jv__points i.non { background: var(--saumon); }
.jv__zone { position: relative; height: clamp(220px, 40vh, 300px); display: grid; place-items: center; touch-action: pan-y; }
.jv__cote { position: absolute; top: 50%; font: 400 .95rem var(--cs-police-sous-titre); letter-spacing: .2em; opacity: .28; transition: opacity var(--d-1), transform var(--d-1); }
.jv__cote--g { left: -4px; transform: translateY(-50%) rotate(-90deg); transform-origin: left top; margin-top: 3em; }
.jv__cote--d { right: -4px; transform: translateY(-50%) rotate(90deg); transform-origin: right top; margin-top: 3em; }
.jv[data-penche="g"] .jv__cote--g, .jv[data-penche="d"] .jv__cote--d { opacity: 1; }
.jv__carte { position: relative; width: min(84%, 340px); min-height: 190px; display: grid; place-items: center; text-align: center; background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); padding: var(--e-5); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; transition: transform .35s var(--ease), background-color var(--d-1); }
.jv__carte p { margin: 0; font: 800 clamp(1.1rem, 1rem + .8vw, 1.4rem)/1.35 var(--cs-police-texte); text-align: center; hyphens: manual; }
.jv__carte--prise { transition: none; cursor: grabbing; }
.jv__carte--entre { animation: pop var(--d-3) var(--ease-rebond) both; }
.jv__carte--voix { background: var(--saumon); } .jv__carte--moi { background: var(--accent); }
.jv__tampon { position: absolute; right: 8%; bottom: 8%; font: 400 1.25rem/1 var(--cs-police-sous-titre); letter-spacing: .14em; border: 3px solid var(--cs-encre); border-radius: var(--r-1); padding: .3em .6em; background: var(--cs-dreams); opacity: 0; transform: rotate(-12deg); }
.jv__carte--tamponnee .jv__tampon { animation: tampon var(--d-2) var(--ease) both; }
.jv__retour { min-height: 5.2em; margin: 0; font-weight: 600; text-align: left; hyphens: manual; border-radius: var(--r-2); padding: var(--e-3) var(--e-4); }
.jv__retour:empty { visibility: hidden; }
.jv__retour--ok { background: var(--doux-violet); } .jv__retour--non { background: var(--doux-peche); }
.jv__boutons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e-3); }
.jv__btn { min-height: 60px; font: 800 1rem/1.2 var(--cs-police-texte); color: var(--cs-encre); border: var(--bord); border-radius: var(--r-2); box-shadow: var(--ombre-1); cursor: pointer; padding: .4em .6em; transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease), opacity var(--d-1); }
.jv__btn--voix { background: var(--saumon); } .jv__btn--moi { background: var(--accent); }
.jv__btn:active { transform: translate(3px, 3px); box-shadow: none; }
.jv__btn:disabled { opacity: .45; cursor: default; }
.jv__suite { width: 100%; }

/* Jeu 2 : La vague */
.jg { display: grid; gap: var(--e-3); }
.jg__mer { position: relative; aspect-ratio: 4 / 3; width: min(100%, 56vh); margin-inline: auto; border: var(--bord); border-radius: var(--r-3); overflow: hidden; background: var(--doux-peche); box-shadow: var(--ombre-1); }
.jg__mer svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jg__soleil { fill: var(--cs-yellow-submarine); stroke: var(--cs-encre); stroke-width: 3; }
.jg__eau { fill: var(--cs-waterloo); }
.jg__ecume { fill: none; stroke: var(--cs-encre); stroke-width: 4; stroke-linecap: round; }
.jg__masc { position: absolute; left: 50%; bottom: 9%; width: 21%; height: auto; transform: translateX(-50%); filter: drop-shadow(2px 2px 0 var(--cs-encre)); pointer-events: none; }
.jg__bulles { position: absolute; inset: 0; pointer-events: none; }
.jg__bulle { position: absolute; background: var(--cs-dreams); border: 2px solid var(--cs-encre); border-radius: var(--r-rond); padding: .25em .8em; font-weight: 800; font-size: .85rem; white-space: nowrap; animation: bulle-voix 2.3s var(--ease) both; }
.jg__num, .jp__num { position: absolute; left: 10px; top: 10px; font: 400 .95rem/1 var(--cs-police-sous-titre); letter-spacing: .14em; background: var(--cs-dreams); border: 2px solid var(--cs-encre); border-radius: var(--r-rond); padding: .35em .8em; }
.jg__etat, .jp__etat { min-height: 3.2em; margin: 0; font-weight: 700; text-align: center; hyphens: manual; }
.jg__doigt, .jp__pousser { width: 100%; min-height: 84px; display: flex; align-items: center; justify-content: center; gap: var(--e-3); font: 800 1.08rem/1.2 var(--cs-police-texte); color: var(--action-texte); background: var(--action); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); cursor: pointer; padding: .5em 1em; touch-action: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease), background-color var(--d-2); }
.jg__doigt:disabled, .jp__pousser:disabled { opacity: .5; cursor: default; }
.jg__doigt-rond { width: 34px; height: 34px; flex: none; border-radius: 50%; border: 3px solid var(--cs-encre); background: var(--cs-dreams); }
.jg--tenu .jg__doigt { background: var(--solide); color: var(--solide-texte); transform: translate(5px, 5px); box-shadow: none; }
.jg--tenu .jg__doigt-rond { background: var(--cs-yellow-submarine); animation: pulse-zone 1.6s ease-in-out infinite; }

/* Jeu 3 : La nouvelle piste (décor partagé avec le film) */
.jp { display: grid; gap: var(--e-3); }
.jp__montagne { position: relative; aspect-ratio: 400 / 320; width: min(100%, 58vh); margin-inline: auto; border: var(--bord); border-radius: var(--r-3); overflow: hidden; background: var(--doux-peche); box-shadow: var(--ombre-1); }
.jp__montagne svg, .film__piste svg { display: block; width: 100%; height: 100%; }
.jp__soleil { fill: var(--cs-yellow-submarine); stroke: var(--cs-encre); stroke-width: 3; }
.jp__neige { fill: var(--cs-dreams); stroke: var(--cs-encre); stroke-width: 3.5; stroke-linejoin: round; }
.jp__sapin { fill: var(--cs-sweet-leaf); stroke: var(--cs-encre); stroke-width: 2.5; stroke-linejoin: round; }
.jp__vieille, .f-piste { fill: none; stroke: var(--cs-encre); stroke-linecap: round; stroke-width: 22; transition: stroke-width .8s var(--ease), opacity .8s var(--ease); }
.jp__neuve, .f-piste-neuve { fill: none; stroke: var(--action); stroke-linecap: round; stroke-width: 2; stroke-dasharray: 2 12; transition: stroke-width .8s var(--ease), opacity .8s var(--ease); }
.jp__neuve--tracee { stroke-dasharray: none; }
.jp__drapeau { fill: var(--accent); stroke: var(--cs-encre); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.jp__skieuse { position: absolute; left: 50%; top: 17%; width: 13%; height: auto; transform: translate(-50%, -78%); filter: drop-shadow(2px 2px 0 var(--cs-encre)); pointer-events: none; }
.jp__flocons { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.jp__flocons i { position: absolute; top: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--cs-dreams); border: 1.5px solid var(--cs-encre); animation: tombe 4.5s linear infinite; }
.jp__flocons i:nth-child(1) { left: 8%; } .jp__flocons i:nth-child(2) { left: 22%; animation-delay: -1.2s; } .jp__flocons i:nth-child(3) { left: 36%; animation-delay: -2.6s; } .jp__flocons i:nth-child(4) { left: 49%; animation-delay: -.6s; }
.jp__flocons i:nth-child(5) { left: 61%; animation-delay: -3.4s; } .jp__flocons i:nth-child(6) { left: 73%; animation-delay: -1.9s; } .jp__flocons i:nth-child(7) { left: 85%; animation-delay: -4s; } .jp__flocons i:nth-child(8) { left: 94%; animation-delay: -2.9s; }
.jp__barre { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--e-2); align-items: center; }
.jp__lib { font: 400 .8rem/1.1 var(--cs-police-sous-titre); letter-spacing: .1em; text-transform: uppercase; max-width: 5.5em; }
.jp__lib--d { text-align: right; }
.jp__rail { position: relative; height: 18px; border: var(--bord); border-radius: var(--r-rond); background: linear-gradient(90deg, color-mix(in srgb, var(--cs-encre) 30%, var(--cs-dreams)) 0 50%, var(--doux-peche) 50% 100%); }
.jp__curseur { position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); border: var(--bord); box-shadow: 2px 2px 0 var(--cs-encre); transform: translate(-50%, -50%); transition: left .09s linear; }
.jp__pousser--tape { animation: tape .14s var(--ease); }

/* ── Le film : façon stories, sur bleu nuit ── */
.page-cerveau__corps { padding-block: var(--e-6) var(--e-7); }
.film { max-width: 520px; margin-inline: auto; background: var(--ancrage); color: var(--cs-dreams); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); padding: var(--e-4); display: grid; gap: var(--e-3); }
.film__barres { display: flex; gap: 4px; }
.film__barres span { flex: 1; height: 5px; border-radius: 3px; background: color-mix(in srgb, var(--cs-dreams) 25%, transparent); overflow: hidden; }
.film__barres i { display: block; height: 100%; width: 0; background: var(--saumon); border-radius: 3px; }
.film__scene { position: relative; aspect-ratio: 1; width: min(100%, 54vh); margin-inline: auto; border-radius: var(--r-2); background: var(--doux-peche); border: var(--bord); overflow: hidden; color: var(--cs-encre); }
.film [data-on] { opacity: 0; transition: opacity .5s var(--ease), transform .5s var(--ease); pointer-events: none; }
.film [data-on].on, .film:not(.film--commence) .film__cerveau { opacity: 1; }
.film__cerveau { position: absolute; inset: 14% 6% 22%; display: grid; place-items: center; }
.film__cerveau .cerv { max-width: none; }
.film__piste { position: absolute; inset: 0; display: grid; align-items: end; }
.film__piste svg { height: auto; }
.film__etiq { position: absolute; font: 400 .9rem/1 var(--cs-police-sous-titre); letter-spacing: .12em; background: var(--cs-dreams); border: 2px solid var(--cs-encre); border-radius: var(--r-rond); padding: .35em .8em; white-space: nowrap; }
.film__etiq--pre { left: 4%; top: 5%; } .film__etiq--lim { right: 4%; top: 5%; }
.film__frein { position: absolute; left: 8%; right: 8%; bottom: 5%; display: grid; gap: .3em; font: 400 .9rem/1 var(--cs-police-sous-titre); letter-spacing: .14em; }
.film__frein-barre { display: block; height: 16px; border: var(--bord); border-radius: var(--r-rond); background: var(--cs-dreams); overflow: hidden; }
.film__frein-barre i { display: block; height: 100%; width: 100%; background: var(--accent); border-right: var(--bord); }
@keyframes frein-vide { from { width: 100%; } to { width: 10%; } }
.film[data-scene="4"] .film__frein-barre i { animation: frein-vide 6.5s linear forwards; }
.film[data-scene="5"] .film__frein-barre i { width: 0; border: 0; transition: width .5s; }
.film__equation { position: absolute; left: 0; right: 0; top: 4%; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .35em; font: 400 1rem/1 var(--cs-police-sous-titre); letter-spacing: .1em; text-align: center; }
.film__equation span { background: var(--cs-dreams); border: 2px solid var(--cs-encre); border-radius: var(--r-rond); padding: .3em .7em; }
.film__equation span:first-child { background: var(--action); }
.film__feu { position: absolute; left: 6%; right: 6%; bottom: 5%; display: flex; align-items: center; gap: var(--e-2); font: 400 .9rem/1.15 var(--cs-police-sous-titre); letter-spacing: .1em; }
.film__feu i { width: 30px; height: 30px; flex: none; border-radius: 50%; border: var(--bord); background: var(--action); }
.film__feu i + i { background: var(--cs-dreams); opacity: .6; }
.film__feu span { margin-left: .3em; }
.f-onde { fill: none; stroke: var(--action); stroke-width: 4; transform-box: fill-box; transform-origin: center; }
.film .f-onde.on, .labo--alarme .labo-onde { animation: onde 1.6s ease-out infinite; }
.film .f-onde--2.on, .labo--alarme .f-onde--2 { animation-delay: .8s; }
.f-crise path { fill: var(--cs-yellow-submarine); stroke: var(--cs-encre); stroke-width: 3.5; stroke-linejoin: round; }
.f-crise, .f-bulle { transform-box: fill-box; transform-origin: center; }
.f-crise.on { animation: pop var(--d-3) var(--ease-rebond) .3s both; }
.cerv text { font: 400 15px var(--cs-police-sous-titre); letter-spacing: .08em; text-anchor: middle; fill: var(--cs-encre); }
.f-bulle rect { fill: var(--cs-dreams); stroke: var(--cs-encre); stroke-width: 3; }
.f-bulle.on { animation: pulse-zone 1.2s ease-in-out infinite; }
.f-bulle--2.on { animation-delay: .6s; }
.film[data-scene="1"] .cerv__zone ellipse { animation: pop .7s var(--ease-rebond) .3s both; }
.film[data-scene="1"] .cerv__zone--lim ellipse { animation-delay: 1.1s; }
.film[data-scene="2"] .cerv__zone--pre ellipse, .film[data-scene="4"] .cerv__zone--pre ellipse, .film[data-scene="3"] .cerv__zone--lim ellipse { opacity: .28; }
.film[data-scene="2"] .cerv__zone--lim ellipse, .film[data-scene="3"] .cerv__zone--pre ellipse, .film[data-scene="7"] .cerv__zone--pre ellipse { animation: pulse-zone 1.8s ease-in-out infinite; }
.film[data-scene="4"] .cerv__zone--lim ellipse { animation: pulse-zone .7s ease-in-out infinite; }
.film[data-scene="5"] .cerv__zone--pre ellipse { opacity: .15; }
.film[data-scene="5"] .cerv__zone--lim ellipse { opacity: 0; }
@keyframes creuse { from { stroke-width: 4; } to { stroke-width: 26; } }
@keyframes efface { from { stroke-width: 26; opacity: 1; } to { stroke-width: 3; opacity: .14; } }
@keyframes trace { from { stroke-width: 2; } to { stroke-width: 20; } }
.film .f-piste-neuve { opacity: 0; stroke-dasharray: none; }
.film[data-scene="6"] .f-piste { animation: creuse 6s var(--ease) forwards; }
.film[data-scene="8"] .f-piste { animation: efface 6s var(--ease) forwards; }
.film[data-scene="8"] .f-piste-neuve { opacity: 1; animation: trace 6s var(--ease) forwards; }
.film__zone { position: absolute; top: 0; bottom: 0; width: 36%; background: none; border: 0; padding: 0; cursor: pointer; z-index: 2; opacity: 1 !important; pointer-events: auto !important; }
.film__zone--g { left: 0; } .film__zone--d { right: 0; }
.film__zone:focus-visible { outline: 3px solid var(--cs-encre); outline-offset: -6px; }
.film__grand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; min-height: 60px; white-space: nowrap; font: 800 1.1rem var(--cs-police-texte); color: var(--action-texte); background: var(--action); border: var(--bord); border-radius: var(--r-rond); box-shadow: var(--ombre-2); padding: .7em 1.4em; cursor: pointer; }
.film__texte { min-height: 5.8em; margin: 0; font: 700 clamp(1.02rem, .95rem + .4vw, 1.18rem)/1.45 var(--cs-police-texte); text-align: left; hyphens: manual; }
.film__texte--neuf { animation: monte var(--d-3) var(--ease) both; }
.film__cmd { display: flex; align-items: center; justify-content: space-between; gap: var(--e-3); min-height: var(--cible); }
.film__n { font: 400 1rem var(--cs-police-sous-titre); letter-spacing: .14em; color: var(--saumon); }
.film__cmd .btn { min-height: var(--cible); padding: .4em 1.1em; box-shadow: none; }

/* ── Le labo ── */
.labo__grille { display: grid; gap: var(--e-5); }
@media (min-width: 900px) { .labo__grille { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; } }
.labo__schema, .labo__reglages { display: grid; gap: var(--e-4); }
.labo__reglages { background: var(--fond-carte); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-1); padding: var(--e-5); }
.labo [data-labo-schema] .cerv__zone--lim ellipse { transform: scale(calc(.8 + var(--alarme, .2) * .4)); }
.labo [data-labo-schema] .cerv__zone--pre ellipse { opacity: calc(.2 + var(--frein, 1) * .8); }
.labo [data-labo-schema] .f-onde { opacity: 0; }
.labo__curseur { display: grid; gap: .5em; font-weight: 800; }
.labo__curseur small { display: block; font-weight: 600; font-size: .85rem; }
.labo__curseur input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 0; background: none; cursor: pointer; }
.labo__curseur input[type="range"]::-webkit-slider-runnable-track { height: 16px; border: var(--bord); border-radius: var(--r-rond); background: linear-gradient(90deg, var(--accent) var(--p, 0%), var(--cs-dreams) var(--p, 0%)); }
.labo__curseur input[type="range"]::-moz-range-track { height: 12px; border: var(--bord); border-radius: var(--r-rond); background: linear-gradient(90deg, var(--accent) var(--p, 0%), var(--cs-dreams) var(--p, 0%)); }
.labo__curseur input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; margin-top: -11px; border-radius: 50%; background: var(--action); border: var(--bord); box-shadow: 2px 2px 0 var(--cs-encre); }
.labo__curseur input[type="range"]::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: var(--action); border: var(--bord); box-shadow: 2px 2px 0 var(--cs-encre); }
.labo__bornes { display: flex; justify-content: space-between; font: 400 .8rem var(--cs-police-sous-titre); letter-spacing: .12em; text-transform: uppercase; margin-top: -.4em; }
.labo__jauges { display: grid; gap: var(--e-3); }
.labo__lecture { margin: 0; font-weight: 700; background: var(--doux-jaune); border: var(--bord); border-radius: var(--r-2); padding: var(--e-3) var(--e-4); min-height: 7.5em; text-align: left; hyphens: manual; }
.cerveau-suite { margin-top: var(--e-6); }
/* Labo sur mobile : le cerveau reste collé en haut pendant qu'on bouge les curseurs, les réglages passent avant les fiches des deux zones */
@media (max-width: 899px) {
  .labo__schema { display: contents; }
  .labo [data-labo-schema] { order: 1; position: sticky; top: 76px; z-index: 5; padding: var(--e-2) var(--e-4); box-shadow: var(--ombre-1); }
  .labo [data-labo-schema] .cerv { max-width: 190px; }
  .labo__reglages { order: 2; padding: var(--e-4); }
  .labo .cerveau__choix { order: 3; } .labo .cerveau__detail { order: 4; }
  .labo__lecture { min-height: 9.5em; font-size: .95rem; }
}

/* Sur mobile : pendant un jeu, tout tient dans l'écran (vignette réduite, carte moins haute, pas de bandeau cookies par-dessus les boutons) */
body.en-jeu .cookies { display: none; }
@media (max-width: 720px) {
  .jeu__vignette { max-width: 170px; }
  .jeu__intro, .jeu__fin { padding: var(--e-4); gap: var(--e-3); }
  .jeux--en-jeu { padding-top: var(--e-4); }
  .jeu { gap: var(--e-3); }
  .jeu__haut { grid-template-columns: auto 1fr; align-items: center; gap: var(--e-3); }
  .jeu__haut h2 { font-size: 1.5rem; }
  .jeu__retour { padding: 0 .8em; font-size: .85rem; }
  .jv__zone { height: clamp(180px, 31vh, 260px); }
  .jv__carte { min-height: 150px; padding: var(--e-4); }
  .jv__retour { min-height: 6.2em; font-size: .92rem; padding: var(--e-2) var(--e-3); }
  .jg__mer { width: min(100%, 44vh); } .jp__montagne { width: min(100%, 46vh); }
  .jg__doigt, .jp__pousser { min-height: 72px; }
  .jg__etat, .jp__etat { font-size: .95rem; }
}

@media (prefers-reduced-motion: reduce) {
  .jeu-carte, .jeu, .jv__carte--entre, .jg__bulle, .jp__flocons i, .jg--tenu .jg__doigt-rond, .gant.gagne .gant__icone .ico, .moustique--en-cours .moustique__halo,
  .film .f-onde.on, .labo--alarme .labo-onde, .f-bulle.on, .f-crise.on, .film [class*="cerv__zone"] ellipse, [data-actif] .cerv__zone ellipse, .film__texte--neuf { animation: none !important; }
  .film[data-scene="6"] .f-piste { animation: none; stroke-width: 26; }
  .film[data-scene="8"] .f-piste { animation: none; stroke-width: 3; opacity: .14; }
  .film[data-scene="8"] .f-piste-neuve { animation: none; stroke-width: 20; }
  .film[data-scene="4"] .film__frein-barre i { animation: none; width: 10%; }
  .jp__flocons i { opacity: .8; top: 30%; }
}

/* ═══════════ PASSE DU 13/11 (suite) : le feu vert, le plan de combat, la lettre scellée, l'écoute des sessions ═══════════ */
.vg-orange { fill: var(--action); stroke: var(--cs-encre); stroke-width: 3; }
.jeu-carte--feu { background: var(--doux-jaune); }

/* Jeu 4 : Le feu vert */
.jf { display: grid; gap: var(--e-3); }
.jf__scene { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: 1fr auto; gap: var(--e-3) var(--e-4); align-items: center; min-height: clamp(210px, 34vh, 280px); border: var(--bord); border-radius: var(--r-3); background: var(--doux-peche); box-shadow: var(--ombre-1); padding: var(--e-6) var(--e-4) var(--e-4); overflow: hidden; transition: background-color var(--d-2) var(--ease); }
.jf__num { position: absolute; left: 10px; top: 10px; font: 400 .95rem/1 var(--cs-police-sous-titre); letter-spacing: .14em; background: var(--cs-dreams); border: 2px solid var(--cs-encre); border-radius: var(--r-rond); padding: .35em .8em; }
.jf__feu { display: grid; gap: 8px; padding: 10px; background: var(--ancrage); border: var(--bord); border-radius: var(--r-2); }
.jf__feu i { display: block; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--cs-encre); background: color-mix(in srgb, var(--cs-dreams) 22%, var(--ancrage)); transition: background-color var(--d-1), box-shadow var(--d-2); }
.jf__rouge { background: var(--action) !important; box-shadow: 0 0 0 5px color-mix(in srgb, var(--action) 35%, transparent); }
.jf[data-etat="vert"] .jf__rouge { background: color-mix(in srgb, var(--cs-dreams) 22%, var(--ancrage)) !important; box-shadow: none; }
.jf[data-etat="vert"] .jf__vert { background: var(--accent); box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 45%, transparent); }
.jf__phrase { margin: 0; font: 800 clamp(1.25rem, 1.05rem + 1.4vw, 1.8rem)/1.2 var(--cs-police-titre-sobre); text-align: left; hyphens: manual; }
.jf__phrase--neuf { animation: pop var(--d-2) var(--ease-rebond) both; }
.jf__masc { position: absolute; right: 6px; bottom: 14px; width: 54px; height: auto; filter: drop-shadow(2px 2px 0 var(--cs-encre)); opacity: .95; }
.jf[data-etat="bouge"] .jf__masc { animation: secoue .4s var(--ease) 2; }
.jf[data-etat="bouge"] .jf__scene { background: var(--saumon); }
.jf[data-etat="tenu"] .jf__scene, .jf[data-etat="vert"] .jf__scene { background: var(--doux-violet); }
@keyframes secoue { 25% { transform: translateX(-5px) rotate(-6deg); } 75% { transform: translateX(5px) rotate(6deg); } }
.jf__temps { grid-column: 1 / -1; display: block; height: 10px; border: 2px solid var(--cs-encre); border-radius: var(--r-rond); background: var(--cs-dreams); overflow: hidden; margin-right: 62px; }
.jf__temps i { display: block; height: 100%; width: 100%; background: var(--cs-encre); }
.jf__retour { min-height: 3.4em; margin: 0; font-weight: 700; text-align: left; hyphens: manual; }
.jf__bouton { width: 100%; min-height: 84px; font: 800 1.1rem/1.2 var(--cs-police-texte); color: var(--accent-texte); background: var(--accent); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-2); cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; transition: transform var(--d-1) var(--ease), box-shadow var(--d-1) var(--ease); }
.jf__bouton:active { transform: translate(5px, 5px); box-shadow: none; }
@media (max-width: 720px) { .jf__bouton { min-height: 72px; } .jf__retour { font-size: .95rem; } }

/* Kit SOS : mon plan de combat, épinglé au-dessus des outils */

/* Session 13 : la lettre scellée */
.scelle { margin-top: var(--e-5); border-top: 2px dashed color-mix(in srgb, var(--cs-encre) 30%, transparent); padding-top: var(--e-4); display: grid; gap: var(--e-3); }
.scelle__avant, .scelle__apres { display: grid; gap: var(--e-3); justify-items: start; }
.lecon .scelle p { margin: 0; text-align: left; hyphens: manual; }
.lecon .scelle__note { font-size: .88rem; font-weight: 600; }
.exercice--scellee .formulaire, .exercice--scellee .outils-exercice, .exercice--scellee .exercice__corps > p { display: none; }
.exercice--scellee .scelle { border-top: 0; margin-top: 0; padding-top: 0; }
.scelle__apres { justify-items: center; text-align: center; }
.lecon .scelle__apres p { text-align: center; }
.enveloppe { position: relative; width: min(100%, 300px); aspect-ratio: 4 / 3; background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-2); box-shadow: var(--ombre-2); overflow: hidden; animation: pop var(--d-3) var(--ease-rebond) both; }
.enveloppe::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - 1.5px), var(--cs-encre) calc(50% - 1.5px) calc(50% + 1.5px), transparent calc(50% + 1.5px)), linear-gradient(to top left, transparent calc(50% - 1.5px), var(--cs-encre) calc(50% - 1.5px) calc(50% + 1.5px), transparent calc(50% + 1.5px)); opacity: .5; }
.enveloppe__rabat { position: absolute; inset: 0 0 42% 0; background: var(--cs-yellow-submarine); clip-path: polygon(0 0, 100% 0, 50% 100%); filter: drop-shadow(0 2px 0 var(--cs-encre)); transform-origin: top; transition: transform .7s var(--ease); }
.enveloppe__cachet { position: absolute; left: 50%; top: 52%; width: 64px; height: 64px; transform: translate(-50%, -50%) rotate(-8deg); border-radius: 50%; background: var(--action); border: var(--bord); display: grid; place-items: center; box-shadow: 2px 2px 0 var(--cs-encre); }
.enveloppe__cachet img { width: 38px; height: auto; }
.scelle--pret .enveloppe__cachet { animation: pulse-zone 1.6s ease-in-out infinite; }
.scelle--pret .enveloppe__rabat { transform: scaleY(.82); }
.scelle__titre { font: 800 clamp(1.3rem, 1.1rem + 1vw, 1.7rem)/1.15 var(--cs-police-titre-sobre) !important; }
.scelle__quand { font-weight: 700; }
.scelle__avance { background: none; border: 0; padding: 0; min-height: var(--cible); font: 600 .9rem var(--cs-police-texte); color: var(--texte); text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.scelle__confirme { display: grid; gap: var(--e-3); justify-items: center; background: var(--doux-peche); border: var(--bord); border-radius: var(--r-2); padding: var(--e-4); }
.carnet-phrases__lettre { background: var(--doux-jaune) !important; border-left-color: var(--action) !important; }

/* Écouter la session (le lecteur n'apparaît que si le fichier audio existe) */
.ecoute { margin-top: var(--e-5); background: var(--doux-violet); border: var(--bord); border-radius: var(--r-3); box-shadow: var(--ombre-1); padding: var(--e-4) var(--e-5); display: grid; gap: var(--e-3); }
.ecoute__haut { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--e-3); align-items: center; }
.ecoute__icone { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: var(--bord); background: var(--cs-dreams); }
.ecoute__icone .ico { width: 30px; height: 30px; }
.ecoute p { margin: 0; text-align: left; hyphens: manual; }
.ecoute__titre { font: 800 1.25rem/1.15 var(--cs-police-titre-sobre); }
.ecoute__sous, .ecoute__note { font-weight: 600; font-size: .92rem; }
.ecoute__vitesse { min-width: 62px; min-height: var(--cible); font: 400 1.15rem var(--cs-police-sous-titre); letter-spacing: .06em; color: var(--cs-encre); background: var(--cs-dreams); border: var(--bord); border-radius: var(--r-rond); box-shadow: 2px 2px 0 var(--cs-encre); cursor: pointer; }
.ecoute audio { width: 100%; height: 44px; border-radius: var(--r-rond); }
.ecoute + .lecon { padding-top: var(--e-5); }
@media (max-width: 480px) { .ecoute { padding: var(--e-4); } .ecoute__sous { display: none; } }
@media (prefers-reduced-motion: reduce) { .jf__phrase--neuf, .jf[data-etat="bouge"] .jf__masc, .enveloppe, .scelle--pret .enveloppe__cachet { animation: none; } }
@media print { .ecoute, .scelle { display: none !important; } }

/* ═══════════ Pages de formulaire (13/11) : même charte que le reste du site ═══════════
   Titre en League Spartan encre (plus de violet cerné, réservé jadis à Sarina), encadré « Version test » en jaune doux,
   textes alignés à gauche (la justification creusait des trous dans la colonne étroite du formulaire). */
.boite h1 { color: var(--texte); -webkit-text-stroke: 0; text-shadow: none; font-size: clamp(1.9rem, 1.6rem + 1.6vw, 2.6rem); }
.alerte--test { background: var(--doux-jaune); }
.page-form .boite :is(p, li), .page-form .alerte { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

/* ═══════════ PASSE DU 13/11 (harmonie) : demande de Pierre : « trop de couleurs partout, ça flashe », plus simple, plus propre ═══════════
   Le Club tient sur trois teintes : crème (fond et cartes), saumon doux (bandeaux de page et en-têtes de module, tous identiques), bleu nuit (en-tête).
   Vert : ce qui est fait et la carte « reprendre ». Violet : l'étape en cours et les surlignages. Turquoise : le Kit SOS seulement. */

/* Logotype sur bleu nuit : le contour encre rongeait les lettres à petite taille */
.entete .logotype, .pied .logotype { -webkit-text-stroke: 0; text-shadow: none; color: var(--cs-dreams); }
.entete__marque .logotype--petit { font-size: clamp(1.3rem, 1rem + 1.4vw, 1.7rem); line-height: 1.15; }

/* Bandeau des pages du Club : un saumon doux uni, sans pastilles de couleur ni vague */
.accueil { background: var(--doux-peche); padding: clamp(1.25rem, 3vw, 2.5rem) 0; border-bottom: var(--bord); }
.accueil::before { content: none; }
.accueil > .vague-bas { display: none; }
.accueil__grille { grid-template-columns: minmax(0, 1fr); }
.accueil__titre { color: var(--cs-encre); -webkit-text-stroke: 0; text-shadow: none; font-size: clamp(2rem, 1.5rem + 2.4vw, 3.2rem); line-height: 1.1; }
.bienvenue .accueil__titre { color: var(--cs-encre); }

/* Progression : une barre fine dans la carte d'accueil (elle remplace le grand anneau et sa mascotte) */
.avance { display: flex; align-items: center; gap: var(--e-3); margin: 0 0 var(--e-4); font-weight: 700; font-size: var(--t-petit); }
.avance__txt { flex: none; }
.avance__txt strong { font: 800 1.15rem/1 var(--cs-police-titre-sobre); }
.avance svg, .avance-mini svg { flex: 1 1 auto; min-width: 0; width: auto; height: 8px; border-radius: 4px; overflow: hidden; transform: none; }
.avance line, .avance-mini line { stroke-width: 8; fill: none; }
.avance .anneau__fond, .avance-mini .anneau__fond { stroke: color-mix(in srgb, var(--cs-encre) 16%, transparent); }
.avance .anneau__plein, .avance-mini .anneau__plein { stroke: var(--cs-sweet-leaf); stroke-linecap: butt; transition: stroke-dashoffset var(--d-4) var(--ease); }

/* Session : la progression tient sur une ligne, tout en haut, et ramène au programme */
.session-haut { padding-top: var(--e-2); }
.avance-mini { position: relative; z-index: 1; display: flex; align-items: center; gap: var(--e-3); min-height: var(--cible); margin-bottom: var(--e-3); text-decoration: none; color: var(--texte); font-weight: 700; font-size: var(--t-petit); }
.avance-mini__retour { flex: none; font-size: 1.2rem; line-height: 1; }
.avance-mini__txt { flex: none; }
.avance-mini__txt strong { font: 800 1.05rem/1 var(--cs-police-titre-sobre); }
.session-haut__ligne { padding-right: 0; }
.session-haut__illus { filter: none; }
@media (max-width: 560px) { .session-haut__illus { top: 60px; width: 72px; } .session-haut .session-haut__ligne { padding-right: 84px; } }

/* Modules : tous de la même couleur, les uns sous les autres sur tous les écrans (illustrations remises le 14/11 : sans elles, l'en-tête faisait vide) */
.mods, .mods:not(#x) { display: grid; grid-template-columns: minmax(0, 1fr); columns: auto; gap: var(--e-5); }
.mods .mod { margin-bottom: 0; }
.mod { box-shadow: var(--ombre-1); }
.mod[data-module="fin"] .mod__haut { color: var(--texte); background: color-mix(in srgb, var(--couleur) 62%, var(--cs-dreams)); }

/* Chemin : plus de mascotte, des étapes neutres ; seules « fait » (vert) et « en cours » (violet) portent une couleur */
.chemin__piste { padding-top: var(--e-5); }
.chemin__pas { background: var(--cs-dreams); }
.chemin__pas.fait { background: var(--cs-sweet-leaf); color: var(--cs-dreams); }
.chemin__pas.ici { background: var(--accent); }

/* Boîte à outils, mot de Sophie, rappel, entraînement : cartes crème ; seul le Kit SOS garde son turquoise */
.outil--fiches, .outil--jeux, .outil--cerveau { background: var(--fond-carte); }
.mot-sophie { background: var(--fond-carte); color: var(--texte); }
.rappel, .semaine, .defi { background: var(--fond-carte); }

/* Lignes de session : fond neutre, la session conseillée se repère à son libellé ; « terminée » en vert comme sur le chemin */
.seance--conseil { background: transparent; box-shadow: none; }
.seance[data-etat="terminee"] .seance__num { background: var(--cs-sweet-leaf); }
/* Moins d'air entre les blocs : la page est plus courte et on s'y retrouve plus vite */
.parcours { gap: var(--e-5); padding-block: var(--e-5) var(--e-7); }
.parcours .titre-section { margin-top: var(--e-5); }
.mot-sophie .mot-sophie__label { background: transparent; border: 0; padding: 0; color: var(--texte-doux); }

/* ═══════════ PASSE DU 14/11 (responsive) : logotype à taille fixe, texte justifié partout, lignes de session compactes ═══════════ */

/* Logotype : une taille fixe par écran (elle variait avec la largeur et se faisait écraser par le bouton du compte) */
.entete__marque { flex: none; min-width: auto; }
.entete__marque .logotype--petit { font-size: 1.4rem; line-height: 1.2; white-space: nowrap; padding-inline: .1em; }
@media (min-width: 720px) { .entete__marque .logotype--petit { font-size: 1.7rem; } }
@media (max-width: 350px) { .entete__marque .logotype--petit { font-size: 1.2rem; } }
.entete__nav { min-width: 0; }
.entete__compte { min-width: 0; max-width: 46vw; }
.entete__compte > span:not([aria-hidden]) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* Texte justifié partout, avec césure pour ne pas creuser de trous (demande de Pierre) */
main :is(p, li) { text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 6 3 3; text-wrap: wrap; }
.accueil__resume, .session-haut__accroche, .intro-gants, .mot-sophie__texte > span:not(.btn):not(.mot-sophie__label), .outil strong + span, .jeux__note, .jeu__pitch, .fiche-pdf__texte p { text-align: justify; hyphens: auto; -webkit-hyphens: auto; }

/* « Ce que tu peux retenir » : jaune doux (le jaune vif flashait), moins de marge perdue */
.bloc-retenir { background: var(--doux-jaune); box-shadow: var(--ombre-1); }
.bloc-retenir ul { padding-left: 1.1em; display: grid; gap: var(--e-2); }
.bloc-retenir li { margin: 0; }

/* Lignes de session : le titre prend toute la largeur (pastille plus petite, plus de flèche ni de retours à la ligne forcés) */
.mod__liste li { text-wrap: wrap; }
.seance__titre { text-wrap: wrap; text-align: left; hyphens: manual; }
@media (max-width: 700px) {
  .seance { grid-template-columns: 38px minmax(0, 1fr); gap: var(--e-3); padding: var(--e-3) var(--e-4); min-height: 60px; }
  .seance .seance__fleche { display: none; }
  .seance__num { width: 38px; height: 38px; font-size: 1.15rem; }
  .seance__titre { font-size: 1rem; line-height: 1.25; }
  .mod__haut { padding: var(--e-3) var(--e-4); }
  .carte-rubrique, .bloc-retenir, .exercice { padding-inline: var(--e-4); }
  .accueil__carte { padding: var(--e-4); }
}
/* Exercices sur mobile : les marges emboîtées (carte, corps, liste, case) mangeaient un tiers de la largeur */
@media (max-width: 700px) {
  .exercice__corps { padding-inline: var(--e-3); }
  .exercice__corps :is(.cases-liste, .choix-liste, .tri-liste) { padding-left: 0; }
}
/* Fiche PDF : carte saumon doux comme le reste (le bloc vert plein tranchait avec la page) */
.fiche-pdf { background: var(--doux-peche); color: var(--texte); box-shadow: var(--ombre-1); }
.fiche-pdf p { color: var(--texte); }
.fiche-pdf .sous { color: var(--texte-doux); }
/* Exception au texte justifié : les affirmations d'une ou deux lignes des « vrai ou faux » (justifiées, elles s'étiraient en laissant des trous) */
main .vf__affirmation { text-align: left; hyphens: manual; -webkit-hyphens: manual; }

/* ═══════════ 14/11 (suite) : ombres plus légères (jetons --ombre-*), compteur des modules en bleu nuit, pied de page réduit ═══════════ */
.mod__compte { background: var(--ancrage); color: var(--cs-dreams); border-color: var(--ancrage); }
.pied { padding: var(--e-6) 0 calc(var(--e-5) + env(safe-area-inset-bottom)); }
.pied__grille { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: var(--e-5); align-items: start; }
@media (max-width: 760px) { .pied__grille { grid-template-columns: minmax(0, 1fr); gap: var(--e-4); } }
.pied .pied__liens { display: flex; flex-wrap: wrap; gap: .2em 1.1em; margin-top: var(--e-3); font-size: var(--t-petit); }
.pied .pied__liens a { display: inline-flex; align-items: center; min-height: var(--cible); }
.pied h2 { font-size: 1.25rem; margin: 0 0 var(--e-2); }
.pied .urgences p { margin: 0 0 var(--e-2); }
.pied__avert { margin-top: var(--e-4); padding-top: var(--e-3); font-size: .8rem; }

/* ═══════════ 14/11 (soir) : sur mobile, l'en-tête et la barre d'onglets du bas prennent moins de hauteur (demande de Pierre) ═══════════ */
@media (max-width: 720px) {
  .entete__in { min-height: 54px; }
  .onglets-bas a { min-height: 48px; padding: .25em 0 .3em; gap: 0; font-size: .68rem; }
  .onglets-bas a span { height: 1.6em; width: 2.8em; font-size: 1.15rem; }
  .onglets-bas a[aria-current="page"] span { transform: none; box-shadow: none; }
}
@media (max-width: 720px) { .sos__onglets { top: 54px; } .labo [data-labo-schema] { top: 60px; } }

/* ═══════════ 14/11 (soir) : landing dans la même sobriété que le Club ═══════════ */
/* « Mon histoire » : fond crème rosé, plus de disques de couleur, pastilles de la frise toutes crème */
.section--histoire { background: var(--section-creme-2); }
.section--histoire::before, .section--histoire::after { content: none; }
.landing .etape-frise .etape-frise__pastille, .etape-frise:nth-child(n) .etape-frise__pastille { background: var(--cs-dreams); }
.section--histoire .frise--cartes .etape-frise > div { border-left-color: var(--accent); }
.section--histoire .histoire__photo-cadre { box-shadow: var(--ombre-2); }
/* Bandeau final : le bouton d'action est orange comme partout */
.section--vert .btn { background: var(--action); color: var(--action-texte); }

/* ═══════════ 14/11 (soir, suite) : session commencée en violet, survol neutre, visuels des modules, encadré des pages légales ═══════════ */
.seance[data-etat="ouverte"] .seance__num { background: linear-gradient(90deg, var(--accent) 50%, var(--cs-dreams) 50%); }
@media (hover: hover) { .seance:hover { background: color-mix(in srgb, var(--cs-encre) 5%, transparent); } }
.seance:active { background: color-mix(in srgb, var(--cs-encre) 8%, transparent); }
.mod__illus { width: 64px; }
.mod__illus svg { filter: none; }
@media (max-width: 480px) { .mod__illus { width: 48px; } }
.accueil--compte .avance { margin: var(--e-4) 0 0; max-width: 520px; }
.legal__resume { background: var(--doux-jaune); }

/* ═══════════ 14/11 (nuit) : une seule colonne centrée pour toutes les pages membres (demande de Pierre : « harmonie partout ») ═══════════
   Avant : carte d'en-tête calée à gauche (720 px), contenu centré (760 px), puis blocs sur 1 200 px. Maintenant tout tient dans la même colonne, élargie à 1 040 px le soir même (Pierre : « trop resserré, on se prive de la moitié de l'écran »). */
main:has(> .accueil), main:has(> .session-haut) { --largeur-page: 1040px; }
.accueil .accueil__carte, .accueil--outil .accueil__carte { max-width: none !important; }
.sos__corps { width: min(100% - 2 * var(--gouttiere), 1040px); max-width: none; }
.session-haut__deco { inset: 0 auto 0 50%; width: min(100% - 2 * var(--gouttiere), 1040px); transform: translateX(-50%); }
.session-haut__num { display: none; }
@media (min-width: 901px) {
  .session-haut__illus { right: 0; width: 150px; margin-top: -75px; }
  .session-haut__in { padding-right: 180px; }
}

/* ═══════════ 14/11 (nuit) : jeux enrichis (jeu du jour, paliers, album des costumes, costume à nommer) et cartes de jeu toutes crème ═══════════ */
.jeu-carte, .jeu-carte--voix, .jeu-carte--vague, .jeu-carte--piste, .jeu-carte--feu { background: var(--fond-carte); }
.jeu-carte__palier { font-size: .82rem; font-weight: 700; color: var(--texte-doux); }
.jeu-carte__palier:empty { display: none; }
.album { border: var(--bord); border-radius: var(--r-3); background: var(--fond-carte); box-shadow: var(--ombre-1); padding: var(--e-5); display: grid; gap: var(--e-3); }
.album__titre { margin: 0; font: 800 var(--t-h3)/1.15 var(--cs-police-titre-sobre); }
.album__intro, .album__detail { margin: 0; font-weight: 600; font-size: .95rem; text-align: left; hyphens: manual; }
.album__detail:empty { display: none; }
.album__detail { background: var(--doux-violet); border-radius: var(--r-2); padding: var(--e-3) var(--e-4); }
.album__grille { display: flex; flex-wrap: wrap; gap: var(--e-2); }
.album__costume { font: 700 .88rem/1.2 var(--cs-police-texte); min-height: var(--cible); padding: .3em .9em; border-radius: var(--r-rond); border: 2px dashed color-mix(in srgb, var(--cs-encre) 40%, transparent); background: transparent; color: color-mix(in srgb, var(--cs-encre) 55%, transparent); }
.album__costume--eu { border: var(--bord); background: var(--accent); color: var(--cs-encre); cursor: pointer; }
.jv__choix { display: flex; flex-wrap: wrap; gap: var(--e-2); margin-top: var(--e-2); }
.jv__choix button { font: 700 .92rem/1.2 var(--cs-police-texte); min-height: var(--cible); padding: .3em 1em; border: var(--bord); border-radius: var(--r-rond); background: var(--cs-dreams); color: var(--cs-encre); cursor: pointer; }
.jv__choix button:hover { background: var(--accent); }
.jv__retour { min-height: 7.4em; }

/* ═══════════ 14/11 (nuit) : colonne élargie à 1 040 px sur ordinateur, fiche PDF fusionnée dans « Ce que tu peux retenir » ═══════════ */
.session-grille { grid-template-columns: minmax(0, 1040px); }
.etroit { width: min(100% - 2 * var(--gouttiere), 1040px); }
.jeux__menu { max-width: none; }
@media (min-width: 900px) {
  .jeux__menu { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .album, .jeux__note { grid-column: 1 / -1; }
  .mods { grid-template-columns: minmax(0, 1fr); }
  .session-principal, .legal { font-size: 1.1rem; }
}
.retenir__pdf { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e-3) var(--e-4); margin: var(--e-4) 0 0; padding-top: var(--e-4); border-top: 2px dashed color-mix(in srgb, var(--cs-encre) 30%, transparent); text-align: left; }
.retenir__pdf span { flex: 1 1 220px; font-size: .92rem; font-weight: 600; text-align: left; hyphens: manual; }
.lecon :is(p, ul, ol, h2, h3), .legal :is(p, ul, ol) { max-width: none; }

/* ═══════════ 14/11 (nuit) : « Mon histoire », troisième version : bleu nuit, deux photos, frise en zigzag dont le fil se remplit au défilement ═══════════
   Trois niveaux de texte seulement : un grand repère (Bebas), un titre (League Spartan), un texte à la taille courante (Raleway). */
.section--histoire.saga { background: var(--ancrage); color: var(--cs-dreams); overflow: hidden; }
.saga .sous { color: var(--saumon); }
.landing .section--histoire.saga h2 { color: var(--cs-dreams); font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1; margin: 0 0 var(--e-5); }
.saga h2 .pastille-mot { color: var(--cs-encre); }
.saga__haut { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; margin-bottom: clamp(3rem, 7vw, 6rem); }
.saga__chapo { margin: 0; font-size: clamp(1.15rem, 1rem + .7vw, 1.5rem); line-height: 1.5; font-weight: 500; max-width: 34ch; text-align: left; hyphens: manual; }
.saga__photos { position: relative; min-height: clamp(320px, 38vw, 480px); }
.saga__photo { position: absolute; margin: 0; width: 58%; background: var(--cs-dreams); padding: 10px 10px 0; border-radius: var(--r-2); box-shadow: 8px 8px 0 var(--saumon); transition: transform var(--d-3) var(--ease); }
.saga__photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-1); }
.saga__photo::after { content: ""; display: block; height: 10px; }
.saga__photo figcaption { font: 400 var(--t-sous)/1 var(--cs-police-sous-titre); letter-spacing: var(--interlettre-sous); color: var(--cs-encre); text-align: center; padding-top: 10px; }
.saga__photo--1 { left: 0; top: 0; transform: rotate(-5deg); }
.saga__photo--2 { right: 0; bottom: 0; transform: rotate(4deg); box-shadow: 8px 8px 0 var(--accent); }
.saga__photos:hover .saga__photo--1 { transform: rotate(-8deg) translate(-6px, -4px); }
.saga__photos:hover .saga__photo--2 { transform: rotate(7deg) translate(6px, 4px); }

.saga__frise { --p: 0; position: relative; list-style: none; margin: 0 0 clamp(2.5rem, 5vw, 4rem); padding: 0; display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.saga__frise li { margin: 0; text-align: left; }
.saga__trait { position: absolute; left: 50%; top: 0; bottom: 0; width: 6px; margin-left: -3px; border-radius: 3px; background: color-mix(in srgb, var(--cs-dreams) 18%, transparent); }
.saga__trait span { display: block; width: 100%; height: calc(var(--p) * 100%); border-radius: 3px; background: var(--action); }
.saga__frise li:not(.saga__trait) { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.saga__repere { font: 400 clamp(3rem, 2rem + 5vw, 6.5rem)/.9 var(--cs-police-sous-titre); letter-spacing: .02em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 2px color-mix(in srgb, var(--saumon) 55%, transparent); text-align: right; transition: color var(--d-3) var(--ease), -webkit-text-stroke-color var(--d-3) var(--ease); }
.saga__point { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: var(--ancrage); border: 4px solid color-mix(in srgb, var(--cs-dreams) 45%, var(--ancrage)); transition: background var(--d-2) var(--ease), border-color var(--d-2) var(--ease), transform var(--d-3) var(--ease-rebond); }
.saga__carte { background: var(--cs-dreams); color: var(--cs-encre); border-radius: var(--r-3); padding: clamp(1.25rem, 2.5vw, 2rem); box-shadow: 6px 6px 0 var(--saumon); opacity: .45; transform: translateY(18px); transition: opacity var(--d-3) var(--ease), transform var(--d-3) var(--ease); }
.saga__carte h3 { margin: 0 0 var(--e-2); font: 800 var(--t-h3)/1.15 var(--cs-police-titre-sobre); color: var(--cs-encre); }
.saga__carte p { margin: 0; font-size: var(--t-texte); line-height: var(--interligne); color: var(--cs-encre); }
.saga__quand { display: none; }
.saga__frise li:nth-child(odd):not(.saga__trait) .saga__repere { order: 2; text-align: left; }
.saga__frise li.passe .saga__repere { color: var(--saumon); -webkit-text-stroke-color: var(--saumon); }
.saga__frise li.passe .saga__point { background: var(--action); border-color: var(--cs-dreams); transform: scale(1.25); }
.saga__frise li.passe .saga__carte { opacity: 1; transform: none; }
.saga__cta { margin: 0; text-align: center; }
.section--histoire.saga .btn { box-shadow: 4px 4px 0 var(--cs-dreams); }

@media (max-width: 800px) {
  .saga__haut { grid-template-columns: minmax(0, 1fr); }
  .saga__photos { min-height: 0; aspect-ratio: 1 / 1.02; max-width: 420px; width: 100%; margin-inline: auto; }
  .saga__trait { left: 13px; }
  .saga__frise li:not(.saga__trait) { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 44px; }
  .saga__repere { display: none; }
  .saga__quand { display: block; font: 400 1.5rem/1 var(--cs-police-sous-titre) !important; letter-spacing: .06em; text-transform: uppercase; color: var(--texte-doux) !important; margin-bottom: var(--e-2) !important; }
  .saga__point { left: 13px; top: 34px; }
}
@media (prefers-reduced-motion: reduce) { .saga__carte { opacity: 1; transform: none; transition: none; } .saga__photo, .saga__point, .saga__repere { transition: none; } }

/* 14/11 (fin) : le total des jours d'entraînement, seul (plus de semaine ni de défi) */
.jours { background: var(--fond-carte); display: grid; gap: var(--e-2); margin-bottom: var(--e-5); }
.jours p { margin: 0; text-align: left; hyphens: manual; }
.jours__total { font-weight: 700; font-size: 1.05rem; }
.jours__total strong { font: 800 clamp(2rem, 1.6rem + 1.6vw, 2.8rem)/1 var(--cs-police-titre-sobre); margin-right: .15em; }
.jours__texte { font-size: .95rem; font-weight: 600; }

/* ═══════════ 15/11 : landing, « Tu n'es pas seule » en fil de messages (les cartes à toucher du 14/11 ont été refusées par Pierre) ═══════════
   À gauche le titre, à droite un fil : ses pensées en bulles saumon, puis la réponse de Sophie en bulles bleu nuit. */
.fil__grille { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.landing .fil__intro h2 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.6rem); line-height: 1; margin: 0 0 var(--e-5); }
.fil__intro p:not(.sous) { margin: 0 0 var(--e-3); font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); line-height: 1.5; max-width: 30ch; text-align: left; hyphens: manual; }
.fil__ecran { background: var(--doux-peche); border: var(--bord); border-radius: 36px; box-shadow: var(--ombre-2); padding: clamp(1.25rem, 3vw, 2.25rem); }
.fil__messages { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--e-3); }
.fil__messages li { margin: 0; }
.fil__bulle { margin: 0; width: fit-content; max-width: 86%; padding: .75em 1.1em; border: var(--bord); border-radius: 22px; font: 600 clamp(1rem, .95rem + .3vw, 1.15rem)/1.4 var(--cs-police-texte); text-align: left; hyphens: manual; }
.fil__bulle--toi { justify-self: end; background: var(--cs-dreams); border-bottom-right-radius: 6px; }
.fil__reponse { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: var(--e-3); align-items: end; margin-top: var(--e-4) !important; }
.fil__reponse img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: var(--bord); }
.fil__reponse > div { display: grid; gap: var(--e-2); justify-items: start; }
.fil__nom { font: 400 .95rem/1 var(--cs-police-sous-titre); letter-spacing: .14em; text-transform: uppercase; color: var(--texte-doux); }
.fil__bulle--sophie { background: var(--ancrage); color: var(--cs-dreams); border-color: var(--ancrage); border-bottom-left-radius: 6px; font-weight: 700; font-size: clamp(1.1rem, 1rem + .5vw, 1.35rem); max-width: 100%; }
/* Les bulles arrivent l'une après l'autre */
.fil__messages .apparait { transition-duration: var(--d-3); }
.fil__messages li:nth-child(2) { transition-delay: 120ms; } .fil__messages li:nth-child(3) { transition-delay: 240ms; }
.fil__messages li:nth-child(4) { transition-delay: 360ms; } .fil__messages li:nth-child(5) { transition-delay: 480ms; } .fil__messages li:nth-child(6) { transition-delay: 700ms; }
@media (max-width: 800px) {
  .fil__grille { grid-template-columns: minmax(0, 1fr); }
  .fil__ecran { border-radius: var(--r-3); padding: var(--e-4); }
  .fil__bulle { max-width: 92%; }
}

/* ═══════════ 15/11 : corrections vues sur iPhone par Pierre ═══════════ */
/* Cartes à retourner : plus de 3D. Sur iPhone, le recto restait visible en miroir sous le verso et le texte long débordait de la carte.
   Les deux faces sont superposées dans la même case de grille (la carte prend la hauteur de la plus longue) et se relaient en fondu. */
.carte-flip { perspective: none; min-height: 0; }
.carte-flip__in, .cartes[data-carrousel] .carte-flip__in { display: grid; height: auto; min-height: 0; transform: none !important; transform-style: flat; }
.carte-flip__face { position: relative; inset: auto; grid-area: 1 / 1; min-height: 210px; overflow: hidden; backface-visibility: visible; -webkit-backface-visibility: visible; transition: opacity var(--d-2) var(--ease), transform var(--d-3) var(--ease), visibility 0s linear var(--d-2); }
.carte-flip__face--verso { transform: scale(.96); opacity: 0; visibility: hidden; }
.carte-flip[aria-pressed="true"] .carte-flip__face--recto { transform: scale(.96); opacity: 0; visibility: hidden; }
.carte-flip[aria-pressed="true"] .carte-flip__face--verso { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
.carte-flip:not([aria-pressed="true"]) .carte-flip__face--recto { transition-delay: 0s; }

/* « Une image pour comprendre » sur mobile : la mascotte ne prend plus une ligne entière, elle se cale en haut à droite */
@media (max-width: 560px) {
  .bloc-metaphore { position: relative; }
  .bloc-metaphore img { position: absolute; right: var(--e-3); top: var(--e-3); width: 46px; height: auto; }
  .bloc-metaphore h3 { padding-right: 52px; }
}

/* Logotype : graisse normale imposée (pas de faux gras calculé par le navigateur), un peu plus petit sur mobile */
.logotype, .entete__marque .logotype--petit { font-weight: 400; font-synthesis: none; }
@media (max-width: 719px) { .entete__marque .logotype--petit { font-size: 1.25rem; } }

/* Mot de bienvenue de Sophie : taille intermédiaire (la grande carte du départ prenait trop de place, la ligne compacte du 15/11 était trop petite) */
.mot-sophie, .mot-sophie:hover { grid-template-columns: auto minmax(0, 1fr); gap: var(--e-4) var(--e-5); align-items: center; justify-items: start; text-align: left; padding: var(--e-4) var(--e-5); border-radius: var(--r-3); box-shadow: var(--ombre-1); transform: none; }
.mot-sophie__photo .avatar { width: clamp(72px, 9vw, 104px); height: clamp(72px, 9vw, 104px); object-fit: cover; border: var(--bord); border-radius: 50%; display: block; }
.mot-sophie__texte { gap: .3em; justify-items: start; }
.mot-sophie strong { font: 800 clamp(1.3rem, 1.1rem + .8vw, 1.7rem)/1.15 var(--cs-police-titre-sobre); }
.mot-sophie__texte > span:not(.btn):not(.mot-sophie__label) { display: block; font-size: var(--t-texte); font-weight: 500; text-align: left; hyphens: manual; }
.mot-sophie .mot-sophie__label { font-size: .95rem; }
.mot-sophie .btn { margin-top: var(--e-2); padding: .55em 1.2em; min-height: var(--cible); font-size: .95rem; }
@media (max-width: 520px) { .mot-sophie, .mot-sophie:hover { grid-template-columns: 64px minmax(0, 1fr); gap: var(--e-3); padding: var(--e-4); align-items: start; } .mot-sophie__photo .avatar { width: 64px; height: 64px; } .mot-sophie__texte > span:not(.btn):not(.mot-sophie__label) { font-size: .95rem; } }

/* Barre d'onglets du bas : traits plus fins, libellés moins gras */
.onglets-bas .ico { stroke-width: 1.6; }
.onglets-bas a { font-weight: 600; }
.onglets-bas a[aria-current="page"] span { border-width: 1.5px; }
.onglets-bas { border-top-width: 1.5px; }

/* Audit du 15/11 (24 pages à 390 et 320 px) : débordements sur les très petits écrans */
.exercice__corps { min-width: 0; }
.exercice__corps > * { min-width: 0; max-width: 100%; }
.tri__boutons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tri__bouton { min-width: 0; overflow-wrap: anywhere; }
.mod__haut { grid-template-columns: auto minmax(0, 1fr) auto; }
.cartes[data-carrousel] { padding-bottom: var(--e-6); }
@media (max-width: 400px) {
  .rubrique small { display: none; }
  .tri { padding: var(--e-3); }
  .tri__bouton { padding: var(--e-3) var(--e-2); }
  .mod__compte { font-size: 1.15rem; padding: .1em .55em; }
  .mod__illus { width: 40px; }
}
@media (max-width: 520px) { .mot-sophie .btn { white-space: nowrap; font-size: .86rem; padding: .5em .9em; } }

/* Les citations des sessions ne sont plus des encadrés : une phrase en gras, à la taille du texte, dans le fil de la leçon */
.lecon .phrase-forte { margin: 0; text-align: left; hyphens: manual; font-size: 1.1em; }

/* ═══════════ 17/11 : retours de Sophie sur la landing ═══════════
   Trois teintes de fond (saumon, crème, bleu nuit), les autres en petites touches ; tous les CTA en violet (plus d'orange) ;
   plus aucun rond ni étoile jaune ; ensemble plus calme (moins de rotations et d'ombres « Lego »). */
.entete__rejoindre { background: var(--accent); color: var(--accent-texte); }
.entete__nav .btn.entete__connexion { background: transparent; color: var(--bandeau-texte); border-color: var(--bandeau-texte); }
.entete__nav .btn.entete__connexion:hover { background: var(--bandeau-texte); color: var(--bandeau); }
.landing .btn, .landing .section--histoire.saga .btn { background: var(--accent); color: var(--accent-texte); }
.landing .btn:hover { transform: translate(-1px, -1px); }
/* Calme : photo et bulle droites, étiquette du prix droite, ombre du prix réduite */
.landing .hero__photo { transform: none; }
.landing .hero__bulle { transform: none; }
.landing .prix { box-shadow: var(--ombre-2); }
.landing .prix__etiquette { transform: translateX(-50%); background: var(--ancrage); color: var(--cs-dreams); border-color: var(--ancrage); }
/* Plus de jaune */
.landing .hero__mascotte { --mascotte-fond: var(--cs-dreams); }
.landing .defile__piste span::after { color: var(--saumon); }
.landing .carte-flip__face--recto::after { content: none; }
.landing .carte-flip__face--recto .carte-flip__etiquette { padding-left: 0; }
.landing .liste-coche li::before { background: var(--cs-dreams); }
.landing .section--saumon u { text-decoration-color: var(--accent); }
/* « Mon histoire » : le fil et les points en saumon (l'orange quitte la page) ; repères plus longs (« Il y a 17 ans ») */
.landing .saga__trait span, .landing .saga__frise li.passe .saga__point { background: var(--saumon); }
.landing .saga__repere { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4.6rem); }
/* « Pour qui » : cartes bleu clair */
.landing #pour-qui .encadre { background: var(--doux-turquoise); }
/* « Tu n'es pas seule » : libellé « Toi » et flèche vers le fil */
.fil__nom--toi { justify-self: end; }
.fil__invite { position: relative; }
.fil__fleche { display: block; width: 120px; height: 60px; margin-top: var(--e-2); margin-left: auto; fill: none; stroke: var(--cs-encre); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 800px) { .fil__fleche { width: 70px; height: 70px; margin: var(--e-2) auto 0; transform: rotate(80deg); } }
/* Bandeau final : saumon au lieu du vert */
.section--final { background: var(--saumon); color: var(--texte); }
.landing .fil__intro h2 { font-size: clamp(2rem, 1.4rem + 2.4vw, 3.4rem); }

/* ═══════════ 17/11 : retours de Sophie étendus au Club (validé par Pierre) ═══════════
   Boutons d'action en violet partout ; secondaires en crème ; plus de ronds jaunes. */
.btn, .btn--vert, .btn--soleil, .section--vert .btn, .section--histoire .btn:not(.btn--creme), .film__grand { background: var(--cta); color: var(--cta-texte); }
.btn--creme, .btn--jaune { background: var(--bouton-2); color: var(--texte); }
.btn--sos { background: var(--cs-waterloo); color: var(--cs-encre); }
.entete .btn--creme.entete__compte { background: var(--bouton-2); color: var(--texte); }
.liste-coche li::before, .etape > button::before, .statue__compteur { background: var(--cs-dreams); }
.mot-sophie__photo .avatar { border-color: var(--saumon); }
.tel { background: var(--saumon); }
.pied h2, .urgences strong { color: var(--saumon); }
.reprendre__label { color: var(--saumon); border-color: var(--saumon); }
.fin-session { background: var(--doux-peche); }
.sos__choix .pastille-icone, .sos__choix--debrief .pastille-icone, .sos__onglet--tous { background: var(--cs-dreams); }

/* 17/11 (SEO) : « Le programme Club Sandwich » devient un H2, même apparence qu'avant (sous-titre Bebas) */
.prix h2.sous { font: 400 var(--t-sous)/1.15 var(--cs-police-sous-titre); letter-spacing: var(--interlettre-sous); text-transform: uppercase; color: inherit; margin-bottom: var(--e-3); }

/* ═══════════ 17/11 (après-midi) : retours n°2 de Sophie sur la landing ═══════════ */
/* Tous les CTA identiques : violet, contour encre de 2 px, même ombre, même taille, y compris sur fond bleu nuit */
.landing .btn--grand, .landing .section--histoire.saga .btn { background: var(--cta); color: var(--cta-texte); border: var(--bord); box-shadow: var(--ombre-1); font-size: 1.15rem; padding: 1em 2em; }
.landing .btn--grand:hover { box-shadow: var(--ombre-2); }
/* En-tête public : La méthode · Rejoindre · Mon compte, les deux boutons au même gabarit ; « Mon compte » sans contour clair pour que « Rejoindre » prime */
.entete__nav :is(.btn.entete__connexion, .btn.entete__rejoindre) { padding: .5em 1.1em; min-height: var(--cible); font-size: .95rem; border: var(--bord); box-shadow: none; }
.entete__nav .btn.entete__connexion { background: transparent; color: var(--bandeau-texte); border-color: transparent; }
.entete__nav .btn.entete__connexion:hover { background: transparent; color: var(--bandeau-texte); text-decoration: underline; }
@media (max-width: 720px) { .entete__nav :is(.btn.entete__connexion, .btn.entete__rejoindre) { padding: .5em .9em; font-size: .9rem; } }
/* Hero : récit une taille en dessous */
.landing .hero__recit { font-size: clamp(1rem, .95rem + .3vw, 1.18rem); }
/* « Tu n'es pas seule » : texte en graisse normale (la section portait la classe .fil du fil d'Ariane, en gras) */
.seule .fil__intro p { font-weight: 400; }
/* « Pourquoi les crises… » : double trait orange ; trois cartes de même taille, sans carrousel ; soleil orange en coin, étiquette mise en valeur, phrase centrée */
.landing #mythes u { text-decoration-color: var(--action); }
.cartes--mythes { align-items: stretch; }
.cartes--mythes .carte-flip { display: block; height: 100%; }
.cartes--mythes .carte-flip__in { height: 100%; }
.cartes--mythes .carte-flip__face { min-height: 260px; align-items: center; text-align: center; padding: var(--e-6) var(--e-5) var(--e-5); }
.landing .cartes--mythes .carte-flip__face--recto::after { content: ""; top: -40px; right: -40px; left: auto; width: 88px; height: 88px; background: var(--action); }
.landing .cartes--mythes .carte-flip__etiquette { padding: .3em .9em; background: var(--ancrage); color: var(--cs-dreams); border-radius: var(--r-rond); font-size: 1.05rem; }
.cartes--mythes .carte-flip__titre { margin-block: auto; font-size: clamp(1.2rem, 1.1rem + .4vw, 1.4rem); }
.cartes--mythes .carte-flip__face--verso > span:last-child { margin-block: auto; }
.cartes--mythes .carte-flip__indice { margin-top: 0; }
/* « Mon histoire » : titre et surlignage bleu ciel */
.landing .section--histoire.saga h2 { color: var(--cs-waterloo); }
.landing .saga h2 .pastille-mot { background: var(--cs-waterloo); }
/* « Pour qui » et offre : coches en rose saumon */
.landing #pour-qui .liste-coche:not(.liste-coche--non) li::before, .landing .prix .liste-coche li::before { background: var(--saumon); }
/* « Tu n'es pas seule » sur mobile : texte sur toute la largeur, flèche courte à côté de l'invite, moins de vide */
@media (max-width: 800px) {
  .seule .fil__grille { gap: var(--e-5); }
  .landing .seule .fil__intro h2 { margin-bottom: var(--e-4); }
  .seule .fil__intro p:not(.sous) { max-width: none; text-align: justify; hyphens: auto; }
  .seule .fil__intro p.fil__invite { display: flex; align-items: center; gap: var(--e-2); text-align: left; margin-bottom: 0; }
  .seule .fil__fleche { flex: none; width: 36px; height: 36px; margin: 0; }
}

/* ═══════════ 17/11 (soir) : progression en pourcentage dans la carte d'accueil et Mon compte (Pierre : la frise de pastilles faisait doublon avec le chemin) ═══════════ */
.progres { display: flex; align-items: center; gap: var(--e-4); margin: var(--e-2) 0 var(--e-5); }
.progres__rond { flex: none; width: 76px; height: 76px; transform: rotate(-90deg); }
.progres__rond circle { fill: none; stroke-width: 7.5; }
.progres__fond { stroke: color-mix(in srgb, var(--cs-encre) 12%, transparent); }
.progres__plein { stroke: var(--ancrage-2); stroke-linecap: round; transition: stroke-dashoffset var(--d-4) var(--ease); }
.progres__txt { display: grid; gap: 2px; font-weight: 700; color: var(--texte-doux); text-align: left; hyphens: manual; }
.progres__val { color: var(--texte); font: 800 clamp(1.9rem, 1.6rem + 1vw, 2.5rem)/1 var(--cs-police-titre-sobre); }
.progres__val strong { font: inherit; }
/* Hero (retour du 17/11 soir) : récit en graisse normale, seule la phrase finale en gras */
.landing .hero__recit p { font-weight: 400; }
.landing .hero__recit strong { font-weight: 800; }

/* ═══════════ 17/11 (nuit) : retours n°3 de Sophie sur la landing ═══════════ */
/* En-tête : « La méthode » est un lien (graisse normale, souligné), à l'écart ; « Rejoindre » et « Mon compte » sont deux boutons rapprochés, calés à droite, contours de même épaisseur */
.entete__nav { flex: 1; justify-content: flex-end; gap: var(--e-2); }
.entete__nav > a:not(.btn) { font-weight: 400; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; margin-right: var(--e-7); }
.entete__nav :is(.btn.entete__connexion, .btn.entete__rejoindre) { font-weight: 600; }
.entete__nav .btn.entete__connexion { border: 2px solid var(--bandeau-texte); }
.entete__nav .btn.entete__connexion:hover { background: var(--bandeau-texte); color: var(--bandeau); text-decoration: none; }
/* Une seule taille de texte courant pour le récit du hero (gras compris) et l'intro de « Tu n'es pas seule » */
.landing .hero__recit, .landing .hero__recit p, .seule .fil__intro p:not(.sous) { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); }
/* Sticker « Bienvenue au Club ! » et étiquette « Accès à vie » en orange : le petit twist orange de la page */
.landing .hero__bulle { background: var(--action); color: var(--action-texte); }
.landing .prix__etiquette { background: var(--action); color: var(--action-texte); border-color: var(--cs-encre); padding-right: calc(1.1em - .14em); transform: translateX(calc(-50% + 5px)); }
/* « Mon histoire » : repère bleu ciel, « Je m'appelle » crème, « Sophie » crème sur bleu (bleu ciel assombri pour rester lisible : contraste 3,7, titre en grand) */
.landing .saga .saga__titre .sous { color: var(--cs-waterloo); }
.landing .section--histoire.saga h2 { color: var(--cs-dreams); }
.landing .saga h2 .pastille-mot { background: color-mix(in srgb, var(--cs-waterloo) 50%, var(--cs-nuit)); color: var(--cs-dreams); }

/* ═══════════ 17/11 (15 h 20) : retours n°4 de Sophie sur la landing ═══════════ */
/* En-tête mobile : « Rejoindre » reste visible, un menu (burger) donne accès aux trois liens */
.menu-public { display: none; }
.entete__burger { display: grid; place-items: center; width: 44px; height: 44px; border: 2px solid var(--bandeau-texte); border-radius: var(--r-rond); color: var(--bandeau-texte); }
.entete__burger svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.menu-public[open] .entete__burger { background: var(--bandeau-texte); color: var(--bandeau); }
@media (max-width: 720px) { .menu-public { display: block; } }
/* En-tête ordinateur : « Rejoindre » et « Mon compte » exactement au même gabarit ; le contour crème est dessiné à l'intérieur (il n'ajoute rien à la taille) */
@media (min-width: 721px) { .entete__nav :is(.btn.entete__connexion, .btn.entete__rejoindre) { width: 8.6em; padding-inline: 0; } }
.entete__nav .btn.entete__connexion { border-color: transparent; box-shadow: inset 0 0 0 2px var(--bandeau-texte); }
/* Hero : mots-clés « méthode » et « guérir » soulignés deux fois en orange, comme sur Instagram */
.landing .hero__recit u { text-decoration-color: var(--action); text-underline-offset: 5px; }
/* « Tu n'es pas seule » sur mobile : la flèche passe sous l'invite et pointe vers les messages */
@media (max-width: 800px) {
  .seule .fil__intro p.fil__invite { display: block; }
  .seule .fil__fleche { width: 56px; height: 40px; margin: var(--e-2) auto 0; transform: rotate(131deg); }
}
/* « Mon histoire » : repère violet, « Sophie » bleu nuit sur violet clair */
.landing .saga .saga__titre .sous { color: var(--accent); }
.landing .saga h2 .pastille-mot { background: var(--accent); color: var(--cs-nuit); }

/* Inscription (17/11) : case « accord d'un parent », visible seulement avant 15 ans */
.formulaire .case { display: grid; grid-template-columns: auto 1fr; gap: var(--e-2); align-items: start; font-weight: 600; text-align: left; hyphens: manual; }
.formulaire .case[hidden] { display: none; }
.formulaire .case input { width: 22px; height: 22px; margin-top: .15em; accent-color: var(--cs-nuit); }

/* 17/11 (soir), retours de Pierre sur l'accueil du Club : plus de repère au-dessus de « Bienvenue au Club, prénom », titre plus petit ;
   carte « On commence » sur fond violet, repère en bleu nuit ; une teinte par module (jetons --module-* de tokens.css) */
.accueil .accueil__titre { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.4rem); margin-top: 0; }
.reprendre { background: var(--cta); color: var(--cta-texte); }
.reprendre__label { color: var(--cs-nuit); border-color: var(--cs-nuit); font-size: 1.05rem; }
.reprendre__titre, .reprendre__go { color: var(--cta-texte); }

/* 17/11 (nuit, 2e version) : anneau en 5 arcs égaux (intro, 3 modules, bonus) dans la teinte de chaque module, pourcentage au centre */
.progres__anneau { position: relative; flex: none; width: 96px; height: 96px; }
.progres__rond { width: 100%; height: 100%; transform: rotate(-90deg); }
.progres__rond circle { fill: none; stroke-width: 7; stroke-linecap: butt; }
.progres__piste { stroke: color-mix(in srgb, var(--couleur) 45%, var(--cs-dreams)); }
.progres__arc { stroke: color-mix(in srgb, var(--couleur) 68%, var(--cs-encre)); transition: stroke-dasharray var(--d-4) var(--ease); }
.progres__centre { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font: 800 1.15rem/1 var(--cs-police-titre-sobre); white-space: nowrap; }
.progres__centre strong { font: inherit; }
.progres__val { font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); line-height: 1.2; }
.progres__val strong { font: inherit; }
/* Carte « On continue » : repère, « Session N → », puis le titre */
.reprendre { grid-template-columns: 1fr; gap: .25em; }
.reprendre__num { display: flex; align-items: center; gap: .5em; font: 800 1.2rem/1.1 var(--cs-police-titre-sobre); }
.reprendre__num .reprendre__go { font-size: 1.5rem; line-height: 1; transition: transform var(--d-2) var(--ease); }
.reprendre:hover .reprendre__go { transform: translateX(4px); }
.reprendre__titre { font-weight: 600; font-size: 1.02rem; }
/* Carte d'accueil sur mobile : un peu d'air */
@media (max-width: 700px) {
  .accueil .accueil__carte { padding: var(--e-5) var(--e-5) var(--e-6); }
  .accueil .accueil__titre { margin-bottom: var(--e-3); }
  .accueil .progres { gap: var(--e-4); margin: var(--e-4) 0 var(--e-5); }
}

/* 17/11 (nuit) : paliers de progression (10, 25, 50, 75, 90, 100 %), fêtés une fois : l'anneau saute, des étincelles, une étiquette saumon */
.progres__anneau::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px; border-radius: 50%; opacity: 0; pointer-events: none;
  box-shadow: 0 -58px 0 var(--cs-purple-haze), 41px -41px 0 var(--cs-kiss-me-quick), 58px 0 0 var(--cs-waterloo), 41px 41px 0 var(--cs-purple-haze),
              0 58px 0 var(--cs-kiss-me-quick), -41px 41px 0 var(--cs-waterloo), -58px 0 0 var(--cs-purple-haze), -41px -41px 0 var(--cs-kiss-me-quick); }
.progres--fete .progres__anneau { animation: celebre 900ms var(--ease); }
.progres--fete .progres__anneau::after { animation: etincelle 1100ms var(--ease) both; }
.progres--fete .progres__arc { animation: cran-brille 1200ms var(--ease); }
@keyframes etincelle { 0% { opacity: 1; transform: scale(.3); } 70% { opacity: 1; } 100% { opacity: 0; transform: scale(1.15); } }
@keyframes cran-brille { 40% { stroke-width: 10; } }
.palier { display: flex; align-items: center; gap: var(--e-2); width: fit-content; max-width: 100%; margin: calc(var(--e-2) * -1) 0 var(--e-4);
  padding: .45em .95em .45em .6em; background: var(--saumon); color: var(--texte); border: var(--bord); border-radius: 999px; box-shadow: var(--ombre-1);
  font-weight: 800; text-align: left; hyphens: manual; animation: palier-entre 600ms var(--ease) both; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
.palier__etoile { flex: none; display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--cs-dreams); border: var(--bord); color: var(--cs-kiss-me-quick); animation: celebre 900ms 300ms var(--ease); }
.palier--part { opacity: 0; transform: translateY(-6px) scale(.96); }
@keyframes palier-entre { from { opacity: 0; transform: translateY(8px) scale(.9); } 60% { transform: translateY(-2px) scale(1.03); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .progres--fete .progres__anneau, .progres--fete .progres__anneau::after, .progres--fete .progres__arc, .palier, .palier__etoile { animation: none; } }
