/* POLICES : Roboto, hébergée ici (aucune requête vers Google : pas d'adresse IP envoyée, voir polices/LICENSE.txt). Poids 300, 400, 500 ; 600 retombe sur 500, comme avant. */
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("/polices/roboto-latin-ext-300.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 300; font-display: swap; src: url("/polices/roboto-latin-300.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("/polices/roboto-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 400; font-display: swap; src: url("/polices/roboto-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("/polices/roboto-latin-ext-500.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Roboto"; font-style: normal; font-weight: 500; font-display: swap; src: url("/polices/roboto-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

  :root {
    --fond: #ffffff; --voile: #f8f8f8; --voile-leger: color-mix(in srgb, var(--voile) 40%, var(--fond)); --encre: #111111; --marque: #111111;
    /* la palette : un seul gris de fond, un seul noir ; le rouge, le jaune et le vert ne servent qu'aux etats (roue, points, signes) */
    --r-carte: .7rem; --bleu: #2f6fd0; --rouge: #d8352a; --jaune: #f5c542; --vert: #1f9d55; --dessin: #b9b3aa; --selection: #8a857d;
    --cercle-1: #c8714f; --cercle-2: #c4899c; --cercle-3: #d69a3f; --cercle-4: #7d6496; --cercle-5: #a98f6f;   /* MES CERCLES : terre cuite, rose, ocre, prune, sable (26 nov. 2026) */
    --icone: #4a4a4a; --carte-marqueurs: #f0f0f0; --carte-routines: #f8f4f0; --carte-exploration: #545454; --trait: rgba(0, 0, 0, 0.12); --gris: #6f6a63; --barre: 4.5rem;
    --haut: env(safe-area-inset-top, 0px); --bas: env(safe-area-inset-bottom, 0px);
  
  /* couleurs hors palette de base, nommees par role (30 oct. 2026) : leurs valeurs n'ont pas change, elles etaient ecrites en dur dans les regles */
  --fond-scan: #dedcd4; /* fond du schema du corps */
  --fond-bande-vert: #eef5f0; /* bande vert tres pale (fenetre du systeme nerveux) */
  --erreur: #b3261e; /* messages d'erreur */
  --jour-avenir: #ececea; /* jour du calendrier, phase a venir */
  --sable: #f2e6cf; /* integration (fond) */
  --sable-fonce: #e2c98f; /* integration (repere) */
  --ocre: #b58900; /* nom de Matylda dans un fil de check-point */
  --orbe-clair: #f1f1ef; /* orbe, degrade clair */
  --orbe-moyen: #d3d2cf; /* orbe, degrade moyen */
  --gris-orbe: #6b6a66; /* petit texte sous l'orbe */
  --gris-carte: #8a8985; /* noms sur la carte du tore */
  --scrim: rgba(0, 0, 0, .35); /* voile derriere un panneau qui monte */
}
  * { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
  html, body { margin: 0; height: 100%; background: var(--fond); color: var(--encre);
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
  body { display: flex; flex-direction: column; }
  .cache { display: none !important; }

  .ecran { display: none; flex: 1; overflow-y: auto; padding: calc(var(--haut) + 2.75rem) 1.5rem 1.5rem; }
  .ecran.actif { display: block; }

  .marque { display: block; width: 3.4rem; height: 3.4rem; margin: 0 auto .9rem; color: var(--marque); }
  .titre { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; color: var(--marque); text-align: center; }
  .sur { margin: 0 0 .35rem; text-align: center; font-size: .75rem; font-weight: 500; letter-spacing: .08em; color: var(--gris); }
  .salut { margin: .9rem 0 0; text-align: center; font-size: 1.15rem; font-weight: 300; color: var(--encre); }
  .sous { margin: .5rem auto 2.25rem; max-width: 30ch; text-align: center; color: var(--gris); font-weight: 300; font-size: .95rem; line-height: 1.65; }
  .sous-lignes { white-space: pre-line; }
  .question { margin: .9rem auto 2rem; max-width: 24ch; text-align: center; font-size: .82rem; font-weight: 500; letter-spacing: .06em; color: var(--encre); }

  .liste { list-style: none; margin: 0 0 1.5rem; padding: 0; }
  .liste li + li { margin-top: .6rem; }
  .entree { width: 100%; display: flex; align-items: baseline; gap: .75rem; text-align: left;
    padding: 1.1rem 1.15rem; background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte);
    font-family: inherit; cursor: pointer; }
  .entree strong { font-size: .84rem; font-weight: 600; letter-spacing: .02em; color: var(--marque); flex: 0 0 auto; }
  .entree span { font-size: .85rem; font-weight: 300; color: var(--gris); line-height: 1.5; }

  .vide { border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 1.5rem; margin-bottom: 1rem; }
  .vide h2 { margin: 0 0 .5rem; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--encre); }
  .vide p { margin: 0; color: var(--gris); font-weight: 300; font-size: .9rem; line-height: 1.6; }
  .vide ul { list-style: none; margin: .9rem 0 0; padding: 0; }
  .vide ul li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    padding: .65rem 0; border-top: 1px solid var(--trait); font-size: .88rem; font-weight: 400; }
  .vide ul li em { font-style: normal; font-size: .75rem; font-weight: 500; letter-spacing: .06em; color: var(--gris); }

  nav { display: flex; align-items: center; border-top: 1px solid var(--trait); background: var(--voile); padding-bottom: var(--bas); }
  nav button { flex: 1; height: var(--barre); background: none; border: 0; color: var(--marque);
    font-family: inherit; font-size: .76rem; font-weight: 500; letter-spacing: .02em; cursor: pointer; }
  nav .centre { flex: 0 0 5.75rem; display: grid; place-items: center; }
  nav .centre svg { width: 3.15rem; height: 3.15rem; color: var(--marque); }

  .voile-haut { position: fixed; top: 0; left: 0; right: 0; height: calc(var(--haut) + 2.6rem);
    background: var(--fond); z-index: 34; pointer-events: none; }
  .langue { position: fixed; top: calc(var(--haut) + .9rem); right: 1.1rem; display: flex; gap: .4rem; z-index: 46; }
  .langue button { background: none; border: 0; padding: .2rem .3rem; color: var(--gris); font-family: inherit; font-size: .78rem; font-weight: 500; cursor: pointer; }
  .langue button[aria-pressed="true"] { color: var(--marque); }

  .panneau { position: fixed; top: 0; left: 0; right: 0; bottom: calc(var(--barre) + var(--bas));
    background: var(--fond); display: none; flex-direction: column; }
  .panneau.actif { display: flex; }
  #roue { z-index: 15; }
  #detail { z-index: 20; }
  .panneau .corps { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch;
    padding: calc(var(--haut) + 3.25rem) 1.5rem 3rem; }
  .entete-protocole { position: fixed; top: calc(var(--haut) + 1rem); left: 1.5rem; right: 1.5rem;
    z-index: 46; margin: 0; display: flex; justify-content: space-between; align-items: baseline;
    gap: 1rem; font-size: .75rem; font-weight: 500; letter-spacing: .1em; color: var(--gris);
    line-height: 1.5; pointer-events: none; }
  .entete-protocole span { white-space: nowrap; }
  .protocole { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .protocole-interieur { box-sizing: border-box; min-height: 100%; display: flex;
    flex-direction: column; justify-content: center;
    padding: calc(var(--haut) + 4.5rem) 1.75rem 2.5rem; }
  .etape-titre { margin: 0 auto 1.6rem; width: 100%; max-width: 21rem; text-align: left;
    font-size: 1.24rem; font-weight: 500; line-height: 1.4; }
  .etape-texte { margin: 0 auto; width: 100%; max-width: 21rem; text-align: left; white-space: pre-line;
    font-weight: 300; font-size: 1.08rem; line-height: 1.85; color: var(--encre); }
  .etape-precision { margin: 1.15rem auto 0; width: 100%; max-width: 21rem; text-align: left;
    white-space: pre-line; font-weight: 300; font-size: .86rem; line-height: 1.7; color: var(--gris); }
  .fleche { margin: 2rem auto 0; width: 2.9rem; height: 2.9rem; padding: 0; flex: 0 0 auto;
    background: var(--fond); border: 1px solid var(--trait); border-radius: 50%;
    color: var(--marque); cursor: pointer; display: grid; place-items: center; }
  .fleche svg { display: block; width: 1.6rem; height: 1.6rem; }
  .fleche:active { background: var(--voile); }
  .echelle { margin: 2.25rem auto 0; max-width: 21rem; width: 100%; }
  .echelle .rangee { display: flex; align-items: flex-end; gap: .3rem; }
  .echelle .rangee button { flex: 1; min-width: 0; background: none; border: 0; padding: .1rem;
    cursor: pointer; opacity: 1; transition: opacity .18s, transform .18s; }
  .echelle.active .rangee button { opacity: .26; }
  .echelle.active .rangee button.choisi { opacity: 1; transform: translateY(-3px); }
  .echelle .rangee button svg { display: block; width: 100%; height: auto; }
  .echelle .barre { display: flex; margin-top: .7rem; border-radius: 3px; overflow: hidden; }
  .echelle .barre span { flex: 1; height: 5px; }
  .echelle .nom { margin: 1.1rem 0 0; padding: 0; background: none; border: 0; text-align: center;
    font-size: .95rem; font-weight: 500; color: var(--encre); }
  .echelle .nom.vide { font-weight: 300; color: var(--gris); font-size: .88rem; }
  /* LE CURSEUR D'INTENSITE (12 nov. 2026) : meme place et meme largeur que l'echelle du ciel ; la reglette va du blanc au rouge, la valeur se dit dessous comme le nom d'un etat */
  .curseur { margin: var(--e4) auto 0; max-width: 21rem; width: 100%; }
  .curseur-reglette { display: block; width: 100%; height: 2.75rem; margin: 0; padding: 0; background: none; border: 0; outline: 0; cursor: pointer; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
  .curseur-reglette::-webkit-slider-runnable-track { height: var(--e3); border: 1px solid var(--trait); border-radius: 999px; background: linear-gradient(to right, var(--fond), var(--teinte, var(--rouge))); }
  .curseur-reglette::-moz-range-track { height: var(--e3); border: 1px solid var(--trait); border-radius: 999px; background: linear-gradient(to right, var(--fond), var(--teinte, var(--rouge))); }
  .curseur-reglette::-webkit-slider-thumb { -webkit-appearance: none; width: var(--e5); height: var(--e5); margin-top: calc((var(--e3) - var(--e5)) / 2 - 1px); border-radius: 50%; background: var(--fond); border: 1.5px solid var(--encre); }
  .curseur-reglette::-moz-range-thumb { width: var(--e5); height: var(--e5); box-sizing: border-box; border-radius: 50%; background: var(--fond); border: 1.5px solid var(--encre); }
  .curseur-reglette:focus-visible { outline: none; }
  .curseur-reglette:focus-visible::-webkit-slider-thumb { outline: 1px solid var(--encre); outline-offset: 2px; }
  .curseur-reglette:focus-visible::-moz-range-thumb { outline: 1px solid var(--encre); outline-offset: 2px; }
  /* LA REPARTITION d'un check-point (12 nov. 2026) : trois lignes (pastille, nom, valeur), la reglette du curseur dessous, le total en indication */
  .cp-repart { display: flex; flex-direction: column; gap: var(--e3); }
  .cp-repart-ligne { display: flex; flex-direction: column; }
  .cp-repart-tete { display: flex; align-items: center; gap: var(--e3); }
  .cp-repart-tete .journal-rond { flex: none; }
  .cp-repart-val { margin-left: auto; font-size: .95rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--encre); }
  .cp-repart-detail { font-size: .78rem; font-weight: 300; line-height: 1.5; color: var(--gris); }
  .cp-repart-total { margin: 0; text-align: center; }
  .curseur-reperes { display: flex; justify-content: space-between; margin-top: calc(var(--e1) * -1); font-size: .88rem; font-weight: 300; color: var(--gris); }
  .curseur .nom { margin: var(--e2) 0 0; padding: 0; background: none; border: 0; text-align: center; font-size: .95rem; font-weight: 500; color: var(--encre); }
  .curseur .nom.vide { font-weight: 300; color: var(--gris); font-size: .88rem; }
  .choix { margin: 2.25rem auto 0; width: 100%; max-width: 21rem; display: flex;
    align-items: flex-start; gap: .6rem; }
  .choix button { flex: 1; min-width: 0; background: none; border: 0; padding: .2rem 0;
    cursor: pointer; transition: opacity .18s, transform .18s; }
  .choix.active button { opacity: .26; }
  .choix.active button.choisi { opacity: 1; transform: translateY(-3px); }
  .choix button svg { display: block; width: 100%; max-width: 8.5rem; height: auto; margin: 0 auto .85rem; }
  .choix button span { display: block; text-align: center; font-family: inherit; font-size: .78rem;
    font-weight: 400; line-height: 1.45; color: var(--encre); }
  .souffle-bloc { margin: 2rem auto 0; width: 100%; max-width: 21rem; }
  .souffle-scene { position: relative; width: 100%; height: 14rem; display: grid; place-items: center; }
  .souffle-scene > * { grid-area: 1 / 1; }
  .souffle-nombre { position: relative; z-index: 2; font-size: 2.4rem; font-weight: 300;
    color: var(--encre); line-height: 1; text-align: center; pointer-events: none; }
  .cartes { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin: 1.6rem 0 0; }
  .carte-module { position: relative; display: block; width: 100%; padding: 0; background: var(--voile);
    border: 1px solid var(--trait); border-radius: var(--r-carte); overflow: hidden; font-family: inherit;
    text-align: left; cursor: pointer; }
  .carte-module[disabled] { cursor: default; }
  .carte-vignette { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--fond); }
  .carte-vignette img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .carte-module[disabled] .carte-vignette img { opacity: .3; filter: grayscale(1); }
  .carte-marque { position: absolute; top: .55rem; right: .55rem; width: 1rem; height: 1rem; }
  .carte-pied { display: block; padding: .75rem .85rem .9rem; font-size: .88rem; font-weight: 500;
    letter-spacing: .04em; color: var(--encre); }
  .carte-module[disabled] .carte-pied { color: var(--gris); }
  .poignee { position: fixed; top: calc(var(--haut, 0px) + 3.4rem); left: 1rem; z-index: 18;
    display: none; flex-direction: column; justify-content: center; gap: .34rem; width: 2.9rem;
    height: 2.9rem; padding: .85rem; background: var(--voile); border: 1px solid var(--trait);
    border-radius: 50%; box-sizing: border-box; cursor: pointer; }
  .poignee:active { background: var(--voile); }
  .poignee span { display: block; height: 2px; background: var(--marque); border-radius: 1px; }
  .poignee span:nth-child(1) { width: 100%; }
  .poignee span:nth-child(2) { width: 70%; }
  .poignee span:nth-child(3) { width: 85%; }
  #menuModule, #listeModules { z-index: 30; }
  #menuModule { right: auto; width: min(20rem, 84vw);
    border-right: 1px solid var(--trait); box-shadow: 10px 0 48px rgba(0, 0, 0, .10); }
  #menuModule .corps { padding-left: 1.4rem; padding-right: 1.4rem; }
  #menuModule .fleche { left: 1.1rem; right: auto; }
  .menu-liste { list-style: none; margin: 1.4rem 0 0; padding: 0; }
  .menu-liste li + li { border-top: 1px solid var(--trait); }
  .entree-menu { display: flex; align-items: center; gap: .85rem; width: 100%; padding: 1.05rem .2rem;
    background: none; border: 0; font-family: inherit; font-size: 1.02rem; font-weight: 400;
    color: var(--encre); text-align: left; cursor: pointer; }
  .entree-menu .nom { flex: 1 1 auto; }
  .entree-menu .appoint { font-size: .78rem; font-weight: 400; letter-spacing: .06em; color: var(--gris); }
  .entree-menu[disabled] { cursor: default; color: var(--gris); }
  .statut { flex: 0 0 auto; width: 1rem; height: 1rem; }
  .menu-groupe { margin: 1.6rem 0 .3rem; font-size: .75rem; font-weight: 500; letter-spacing: .12em;
    color: var(--gris); }
  .bloc-actif { display: block; width: 100%; text-align: left; background: var(--voile);
    border: 1px solid var(--trait); border-radius: var(--r-carte); padding: 1.1rem 1.2rem; margin-bottom: .9rem;
    font-family: inherit; cursor: pointer; }
  .bloc-actif .bloc-titre { display: block; font-size: .76rem; font-weight: 500; letter-spacing: .12em;
    color: var(--gris); margin-bottom: .3rem; }
  .bloc-actif .bloc-etat { display: block; font-size: .98rem; font-weight: 300; color: var(--encre); }
  #journaux { z-index: 30; }
  .jours { list-style: none; margin: 1.6rem 0 0; padding: 0; }
  .jours li + li { border-top: 1px solid var(--trait); }
  .jour-ligne { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
    width: 100%; padding: 1.05rem .2rem; background: none; border: 0; font-family: inherit;
    text-align: left; cursor: pointer; }
  .jour-ligne .quand { font-size: 1rem; font-weight: 400; color: var(--encre); }
  .jour-ligne .compte-jour { font-size: .8rem; font-weight: 300; color: var(--gris); }
  .ouvrir-journal { display: block; margin: 2.4rem auto 0; padding: .9rem 2rem; background: none;
    border: 1px solid var(--trait); border-radius: 999px; font-family: inherit; font-size: .82rem;
    font-weight: 500; letter-spacing: .14em; color: var(--encre); cursor: pointer; }
  .ouvrir-journal:active { background: var(--voile); }
  #journal { z-index: 30; }
  #journal .corps { padding-bottom: 6rem; }
  .journal-date { margin: 0 0 .2rem; font-size: 1.5rem; font-weight: 400; color: var(--encre); }
  /* la date entre deux fleches (jour precedent / suivant) : memes traits que la fleche de retour, plus petites */
  .journal-date-ligne { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); margin: 0 0 var(--e3); }
  .journal-date-ligne .journal-date { margin: 0; flex: 1 1 auto; text-align: center; min-width: 0; }
  .journal-jour-fleche { flex: 0 0 auto; width: 2.75rem; height: 2.75rem; padding: 0; background: none; border: 0; border-radius: 50%; color: var(--gris); cursor: pointer; display: grid; place-items: center; }
  .journal-jour-fleche svg { display: block; width: 1rem; height: 1rem; }
  .journal-jour-fleche:active { background: var(--voile); }
  .journal-jour-fleche:disabled { opacity: .3; cursor: default; }
  .journal-resume { margin: 0 0 2rem; font-size: .88rem; font-weight: 300; color: var(--gris); }
  .journal-bascule { display: block; margin: 0 0 1.6rem; padding: 0; background: none; border: 0;
    font-family: inherit; font-size: .78rem; font-weight: 500; letter-spacing: .1em; color: var(--gris);
    cursor: pointer; }
  .fil { list-style: none; margin: 0 0 2rem; padding: 0; }
  .fil li { display: flex; gap: .9rem; padding: .85rem 0; border-top: 1px solid var(--trait); }
  .fil .heure { flex: 0 0 3rem; font-size: .8rem; font-weight: 400; color: var(--gris); padding-top: .12rem; }
  .fil .quoi { flex: 1 1 auto; font-size: .92rem; font-weight: 300; line-height: 1.6; color: var(--encre); }
  .fil .quoi strong { font-weight: 500; letter-spacing: .04em; font-size: .78rem; display: block;
    color: var(--gris); margin-bottom: .18rem; }
  .fil .quoi em { font-style: italic; color: var(--gris); }
  .journal-question { margin: 2.2rem 0 .8rem; padding-top: 1.6rem; border-top: 1px solid var(--trait);
    font-size: 1rem; font-weight: 400; color: var(--encre); white-space: pre-line; }
  .journal-zone { width: 100%; min-height: 11rem; padding: 1rem; background: var(--voile);
    border: 1px solid var(--trait); border-radius: var(--r-carte); font-family: inherit; font-size: .98rem;
    font-weight: 300; line-height: 1.75; color: var(--encre); resize: vertical; }
  .journal-zone:focus { outline: none; border-color: var(--marque); }
  .journal-etat { margin: .6rem 0 0; font-size: .76rem; font-weight: 300; color: var(--gris); text-align: right; }
  .journal-fige { padding: 1rem; background: var(--voile); border-radius: var(--r-carte); font-size: .98rem;
    font-weight: 300; line-height: 1.75; color: var(--encre); white-space: pre-line; }
  .souffle-rond { width: 11rem; height: 11rem; border-radius: 50%; background: var(--marque);
    border: 3px solid var(--marque); box-sizing: border-box;
    transform: scale(.42); transition: background .45s ease; }
  .souffle-nombre { transition: color .45s ease; }
  .souffle-mot { margin: 1.4rem 0 0; text-align: center; font-size: 1.08rem; font-weight: 400;
    color: var(--encre); min-height: 1.7rem; }
  .souffle-relance { display: block; margin: .8rem auto 0; background: none; border: 0; padding: .3rem;
    font-family: inherit; font-size: .82rem; font-weight: 300; color: var(--gris);
    text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
  .scan-bloc { margin: 2rem auto 0; width: 100%; max-width: 21rem; }
  .scan-figure { position: relative; width: 100%; height: 15rem;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain; }
  .scan-figure .fond { position: absolute; left: 0; right: 0; top: 0; bottom: 0; background: var(--fond-scan); }
  .scan-figure .monte { position: absolute; left: 0; right: 0; top: 0; bottom: 0;
    background: var(--marque); transform: scaleY(0); transform-origin: bottom center; }
  .scan-figure .monte.va { animation: scanMonte var(--duree, 24s) linear forwards; }
  @keyframes scanMonte { from { transform: scaleY(0); } to { transform: scaleY(1); } }
  .scan-zone { margin: 1.5rem 0 0; text-align: center; font-size: 1.08rem; font-weight: 400;
    color: var(--encre); min-height: 1.7rem; }
  .scan-relance { display: block; margin: .9rem auto 0; background: none; border: 0; padding: .3rem;
    font-family: inherit; font-size: .82rem; font-weight: 300; color: var(--gris);
    text-decoration: underline; text-underline-offset: .3em; cursor: pointer; }
  .corps-bloc { margin: 2rem auto 0; width: 100%; max-width: 21rem; }
  .corps-bloc .figure { display: block; width: 100%; height: 15.5rem; background-color: var(--dessin);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain;
    transition: background-color .25s; }
  .signaux-ligne { margin: 1.5rem auto 0; width: 100%; max-width: 21rem; text-align: left;
    padding-top: 1.3rem; border-top: 1px solid var(--trait); }
  .signaux-ligne .entete-signaux { margin: 0 0 1rem; }
  .signaux-ligne .entete-signaux h4 { margin: 0 0 .35rem; font-family: inherit; font-size: .95rem;
    font-weight: 500; color: var(--encre); }
  .signaux-ligne .entete-signaux p { margin: 0; font-size: .92rem; font-weight: 300;
    line-height: 1.65; color: var(--gris); }
  .signaux-ligne .groupe + .groupe { margin-top: 1.2rem; }
  .signaux-ligne h4 { margin: 0 0 .5rem; font-family: inherit; font-size: .75rem; font-weight: 500;
    letter-spacing: .1em; color: var(--gris); }
  .signaux-ligne ul { list-style: none; margin: 0; padding: 0 0 0 1rem; }
  .signaux-ligne li { position: relative; font-size: .9rem; font-weight: 300; line-height: 1.8; color: var(--encre); }
  .signaux-ligne li::before { content: ""; position: absolute; left: -1rem; top: .9em;
    width: .3rem; height: .3rem; border-radius: 50%; background: var(--dessin); }
  .auras { margin: 1.5rem auto 0; width: 100%; max-width: 21rem; display: grid;
    grid-template-columns: 1fr 1fr; gap: 1rem; }
  .auras.active .aura { opacity: .3; }
  .auras.active .aura.choisi { opacity: 1; }
  .aura-colonne { display: flex; flex-direction: column; align-items: center; gap: .35rem;
    transition: opacity .18s; }
  .auras.active .aura-colonne { opacity: .3; }
  .auras.active .aura-colonne.choisi { opacity: 1; }
  .aura { display: flex; flex-direction: column; align-items: center; gap: .45rem;
    width: 100%; background: none; border: 0; padding: .3rem; font-family: inherit; cursor: pointer; }
  .aura-plus { display: flex; align-items: center; justify-content: center; width: 1.65rem;
    height: 1.65rem; border-radius: 50%; border: 1px solid var(--trait); background: none;
    font-family: inherit; font-size: 1rem; font-weight: 300; line-height: 1; color: var(--gris);
    cursor: pointer; transition: background .18s; }
  .aura-plus.ouvert { background: var(--voile); color: var(--encre); }
  .aura-scene { position: relative; width: 100%; aspect-ratio: 200 / 250; display: grid; place-items: center; }
  .aura-scene > * { grid-area: 1 / 1; }
  .aura-scene svg { width: 100%; height: 100%; display: block; }
  .aura-scene .figure { width: 100%; height: 100%; background: var(--dessin);
    -webkit-mask-size: auto 64%; mask-size: auto 64%;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
  .aura-nom { font-size: .98rem; font-weight: 500; color: var(--encre); }
  .aura-sous { font-size: .75rem; font-weight: 400; letter-spacing: .06em; color: var(--gris);
    text-align: center; line-height: 1.5; white-space: pre-line; }
  .valider-champ { display: block; margin: 1.1rem auto 0; padding: .85rem 1.6rem;
    background: var(--voile); color: var(--encre); border: 1px solid var(--trait);
    border-radius: 999px; font-family: inherit; font-size: .95rem; font-weight: 500; cursor: pointer; }
  .valider-champ:active { background: var(--voile); }
  .dires { margin: 2rem auto 0; width: 100%; max-width: 21rem; display: flex;
    flex-direction: column; gap: 1.5rem; }
  .dires.active .dire { opacity: .22; }
  .dires.active .dire.choisi { opacity: 1; }
  .dire { position: relative; display: block; width: 100%; padding: .2rem 0 .6rem;
    background: none; border: 0; font-family: inherit; font-size: 1.55rem; font-weight: 400;
    line-height: 1.3; color: var(--encre); text-align: center; cursor: pointer;
    transition: opacity .2s; }
  .dire::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 0; height: 3px;
    background: var(--marque); border-radius: 2px; transform: translateX(-50%);
    transition: width .25s ease; }
  .dire.choisi::after { width: 3.5rem; background: var(--trait-dire, var(--marque)); }
  .dire-relance { display: flex; align-items: center; justify-content: center; gap: .4rem;
    margin: .4rem auto 0; background: none; border: 0; padding: .3rem; font-family: inherit;
    font-size: .82rem; font-weight: 300; color: var(--gris); cursor: pointer; }
  .nomination { margin: 1.1rem auto 0; width: 100%; max-width: 21rem; display: flex;
    flex-direction: column; gap: .85rem; }
  .encadre-etape { margin: 3rem auto 0; width: 100%; max-width: 21rem; padding: 1.8rem 0 0;
    border-top: 1px solid var(--trait); text-align: left; white-space: pre-line;
    font-size: .9rem; font-weight: 300; line-height: 1.85; color: var(--gris); }
  .surtitre-etape:empty, .etape-texte:empty, .note-etape:empty,
  .encadre-etape:empty, .visuel-etape:empty { display: none; }
  .etape-precision:empty { display: none; }
  .protocole-interieur:has(.corps-bloc) .etape-precision:empty { display: block; min-height: 1.75em; }
  .protocole-interieur:has(.corps-bloc) .etape-texte { min-height: 5.4em; }
  /* la precision lue sous l'invite ne garde plus sa place en haut ; sans silhouette (le compte), pas de place reservee */
  .protocole-interieur:has(.corps-bloc) .etape-precision.deplacee { display: none; }
  .protocole-interieur:has(.corps-bloc.sans-figure) .etape-texte { min-height: 0; }
  .visuel-etape:has(.nomination) { margin-top: 1.4rem; }
  .visuel-etape:has(.nomination) + .note-etape { margin-top: 1.6rem; }
  .nomination.active .nom-option { opacity: .3; }
  .nomination.active .nom-option.choisi { opacity: 1; }
  .nom-option { display: flex; align-items: center; gap: .9rem; width: 100%;
    padding: 1.15rem 1.25rem; background: var(--voile); border: 1px solid var(--trait);
    border-radius: var(--r-carte); font-family: inherit; font-size: 1.02rem; font-weight: 500;
    line-height: 1.35; color: var(--encre); text-align: left; cursor: pointer; transition: opacity .18s; }
  .nom-option .pastille-nom { flex: 0 0 auto; width: 1rem; height: 1rem; border-radius: 50%; }
  .phrase-dite { margin: 1.5rem 0 0; text-align: center; font-size: 1.28rem; font-weight: 400;
    color: var(--encre); min-height: 1.7rem; }
  .reecouter { display: flex; align-items: center; justify-content: center; gap: .4rem;
    margin: .7rem auto 0; background: none; border: 0; padding: .35rem; font-family: inherit;
    font-size: .82rem; font-weight: 300; color: var(--gris); cursor: pointer; }
  .reecouter svg { width: .95rem; height: .95rem; display: block; }
  .pastilles { display: flex; justify-content: center; gap: 0; margin: 1.6rem auto 0;
    width: 100%; max-width: 18rem; }
  .corps-bloc.sans-figure .figure { display: none; }
  .corps-bloc.sans-figure .pastilles { margin-top: .5rem; }
  .signe-compte { display: block; width: 6rem; margin: 0 auto; font-family: inherit;
    font-size: 3.4375rem; font-weight: 600; line-height: 1; text-align: center; }  /* 55px, --e6 */
  .renvois { margin: 1.8rem auto 0; width: 100%; max-width: 21rem; padding-top: 1.4rem;
    border-top: 1px solid var(--trait); display: flex; flex-direction: column; gap: .5rem; }
  .renvois-titre { margin: 0 0 .3rem; font-size: .75rem; font-weight: 500; letter-spacing: .1em;
    color: var(--gris); }
  .renvoi { display: flex; align-items: center; justify-content: space-between; gap: .8rem;
    width: 100%; padding: .85rem 1rem; background: var(--voile); border: 1px solid var(--trait);
    border-radius: var(--r-carte); font-family: inherit; font-size: .92rem; font-weight: 400;
    color: var(--encre); text-align: left; cursor: pointer; }
  .renvoi span:last-child { color: var(--gris); }
  .pastilles button { flex: 0 0 6rem; width: 6rem; background: none; border: 0; padding: .2rem; cursor: pointer;
    transition: opacity .18s, transform .18s; }
  .pastilles.active button { opacity: .26; }
  .pastilles.active button.choisi { opacity: 1; transform: translateY(-3px); }
  .pastilles .rond { display: block; width: 1.7rem; height: 1.7rem; border-radius: 50%; margin: 0 auto .55rem; }
  .pastilles .nom-pastille { display: block; text-align: center; font-family: inherit;
    font-size: .76rem; font-weight: 400; color: var(--encre); }
  .surtitre-etape { margin: 0 auto .75rem; width: 100%; max-width: 21rem; text-align: left;
    font-size: .82rem; font-weight: 300; line-height: 1.6; color: var(--gris); }
  .etape-titre { white-space: pre-line; }
  .protocole.centre .etape-titre { font-size: 1.9rem; line-height: 1.3; margin-bottom: .35rem; }
  .protocole.centre .etape-precision { font-size: .95rem; line-height: 1.7; }
  .protocole .etape-precision { margin-top: .8rem; }
  .protocole.centre .etape-precision { margin-top: .55rem; font-size: .98rem; line-height: 1.7; }
  .protocole.centre .protocole-interieur { padding-top: calc(var(--haut) + 8rem); }
  .protocole.centre .surtitre-etape,
  .protocole.centre .etape-titre,
  .protocole.centre .etape-texte,
  .protocole.centre .etape-precision { text-align: center; }
  .protocole.accent { justify-content: center; }
  .protocole.accent .compteur-etape { display: none; }
  .protocole.accent .etape-titre { max-width: none; text-align: center; font-size: 2.15rem;
    font-weight: 500; line-height: 1.25; margin-bottom: .9rem; white-space: pre-line; }
  .protocole.accent .etape-texte { max-width: none; text-align: center; font-size: 1.35rem;
    font-weight: 300; line-height: 1.5; }
  .protocole.accent .etape-precision { margin: 1.8rem auto 0; max-width: 100%; text-align: center;
    font-size: .86rem; line-height: 1.85; }
  .bouton-page { display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: .85rem; width: 100%; max-width: 18rem; margin: 2.2rem auto 0; padding: 1.5rem 1.3rem;
    background: var(--voile); color: var(--encre); border: 1px solid var(--trait);
    border-radius: var(--r-carte); font-family: inherit; font-size: 1.06rem; font-weight: 500;
    line-height: 1.45; text-align: center; cursor: pointer; white-space: pre-line; }
  .bouton-page:active { background: var(--voile); }
  .bouton-page .pastille-lien { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; border-radius: 50%; }
  .protocole.accent .bouton-page { margin-top: 1.6rem; max-width: 18.5rem; padding: 1.6rem 1.3rem;
    gap: .9rem; border-radius: var(--r-carte); font-size: 1.5rem; font-weight: 500; line-height: 1.28; }
  .protocole.accent.discret .etape-titre { font-size: 1rem; font-weight: 400; color: var(--gris);
    margin-bottom: 0; }
  .protocole.accent .bouton-page .pastille-lien { width: 1.15rem; height: 1.15rem; }
  .lien-page { display: block; margin: 2.6rem auto 0; max-width: 32ch; background: none; border: 0;
    padding: .25rem; font-family: inherit; font-size: .88rem; font-weight: 300; line-height: 1.6;
    color: var(--gris); cursor: pointer; }
  /* un renvoi vers une autre page : jamais souligne, seulement la fleche */
  #page { z-index: 25; }
  .page-lecture { width: 100%; max-width: 21rem; margin: 0 auto; }
  .schema-fenetre .sur-bande { font-family: inherit; font-size: 12px; font-weight: 500;
    letter-spacing: .1em; fill: var(--gris); }
  .schema-fenetre .nom-bande { font-family: inherit; font-size: 14px; font-weight: 500; fill: var(--encre); }
  .page-lecture h2 { margin: 0 0 .6rem; font-size: 1.3rem; font-weight: 500; color: var(--marque); }
  .page-lecture .intro { margin: 0 0 1.5rem; font-size: .9rem; font-weight: 300;
    line-height: 1.7; color: var(--gris); }
  .fenetre-bloc { margin: 0 0 2rem; width: 100%; }
  .fenetre { position: relative; width: 100%; border: 1px solid var(--trait);
    border-radius: .5rem; overflow: hidden; }
  .fenetre-pied { margin: .95rem 0 0; font-size: .86rem; font-weight: 300; line-height: 1.75;
    white-space: pre-line; color: var(--gris); }
  .fenetre .transition-bloc { position: relative; z-index: 1; background: rgba(245, 197, 66, .12); }
  .fenetre .transition-bloc::before, .fenetre .transition-bloc::after { content: ""; position: absolute;
    left: 0; right: 0; height: 3px; background-repeat: repeat-x; background-size: 9px 3px;
    background-image: radial-gradient(circle, var(--dessin) 1.3px, transparent 1.4px); }
  .fenetre .transition-bloc::before { top: 0; }
  .fenetre .transition-bloc::after { bottom: 0; }
  .fenetre .transition { display: flex; align-items: center; gap: .85rem; width: 100%;
    padding: .6rem .95rem; background: none; border: 0; font-family: inherit;
    text-align: left; cursor: pointer; }
  .fenetre .pastille-transition { flex: 0 0 auto; width: .9rem; height: .9rem; border-radius: 50%; }
  .fenetre .transition-mot { font-size: .75rem; font-weight: 500; letter-spacing: .1em; color: var(--gris); }
  .fenetre .courbe { position: absolute; left: 0; right: 0; top: 0; bottom: 0;
    pointer-events: none; transition: opacity .3s; }
  .fenetre .courbe svg { display: block; width: 100%; height: 100%; }
  .fenetre.ouverte .courbe { opacity: 0; }
  .fenetre .bande { position: relative; z-index: 1; }
  .fenetre .bande.milieu { background: var(--fond-bande-vert); }
  .fenetre .bande-tete { display: flex; align-items: center; gap: .85rem; width: 100%;
    min-height: 5.6rem; background: none; border: 0; padding: 1.1rem .95rem; text-align: left;
    font-family: inherit; cursor: pointer; }
  .fenetre .pastille-bande { flex: 0 0 auto; width: .9rem; height: .9rem; border-radius: 50%; }
  .fenetre .bande-sur { display: block; font-size: .75rem; font-weight: 500;
    letter-spacing: .1em; color: var(--gris); }
  .fenetre .bande-nom { display: block; margin-top: .2rem; font-size: 1.05rem; font-weight: 500; color: var(--encre); }
  .fenetre .bande-detail { display: block; margin-top: .25rem; font-size: .85rem; font-weight: 300;
    line-height: 1.5; color: var(--gris); }
  .fenetre .bande-corps { overflow: hidden; max-height: 0; transition: max-height .32s ease; }
  .fenetre .bande-corps.ouvert { max-height: 42rem; }
  .fenetre .bande-corps ul { list-style: none; margin: 0; padding: 0 1rem 1.5rem 2.75rem; }
  .fenetre .bande-corps li { position: relative; font-size: .9rem; font-weight: 300;
    line-height: 1.8; color: var(--encre); }
  .fenetre .bande-corps li::before { content: ""; position: absolute; left: -1rem; top: .9em;
    width: .3rem; height: .3rem; border-radius: 50%; background: var(--dessin); }
  .note-page { margin: 2.4rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--trait); }
  .note-page h3 { margin: 0 0 .7rem; font-size: 1.1rem; font-weight: 500; color: var(--encre); }
  .note-page p { margin: 0; white-space: pre-line; font-size: .94rem; font-weight: 300;
    line-height: 1.85; color: var(--encre); }
  .signaux { border-top: 1px solid var(--trait); }
  .signal-bloc { border-bottom: 1px solid var(--trait); }
  /* espacements pris sur l'echelle de la grille (--e1 a --e6) */
  .signal { display: flex; align-items: flex-start; gap: var(--e4); width: 100%; text-align: left;
    background: none; border: 0; padding: var(--e4) 0; font-family: inherit; cursor: pointer; }
  .signal .pastille { flex: 0 0 auto; width: 1.15rem; height: 1.15rem; border-radius: 50%; margin-top: .2rem; }
  .signal .vignette { flex: 0 0 auto; width: 2.2rem; margin-top: -.15rem; }
  .signal .vignette svg { display: block; width: 100%; height: auto; }
  .signal .signal-texte { flex: 1; min-width: 0; }
  .signal .signal-nom { display: block; font-size: 1.05rem; font-weight: 500; color: var(--encre); }
  .signal .signal-detail { display: block; margin-top: var(--e1); font-size: .92rem; font-weight: 300;
    line-height: 1.55; color: var(--gris); }
  .signal .chevron { flex: 0 0 auto; width: 1rem; margin-top: .45rem; color: var(--gris);
    transition: transform .22s; }
  .signal .chevron svg { display: block; width: 100%; height: auto; }
  .signal[aria-expanded="true"] .chevron { transform: rotate(180deg); }
  .signal[aria-expanded="true"] .signal-detail { color: var(--encre); }
  .signal-corps { overflow: hidden; max-height: 0; transition: max-height .3s ease; }
  .signal-corps.ouvert { max-height: 34rem; }
  .signal-corps ul { list-style: none; margin: 0; padding: 0 0 var(--e4) calc(1.15rem + var(--e4)); }
  .signal-corps li { position: relative; font-size: .93rem; font-weight: 300; line-height: 1.9; color: var(--encre); }
  .signal-corps li::before { content: ""; position: absolute; left: calc(-1 * var(--e3)); top: .95em;
    width: .3rem; height: .3rem; border-radius: 50%; background: var(--dessin); }
  .liste-choix { margin: 2rem auto 0; width: 100%; max-width: 21rem; }
  .liste-choix .rangee-liste button { display: block; width: 100%; text-align: left; background: none;
    border: 0; border-top: 1px solid var(--trait); padding: .95rem .1rem; cursor: pointer;
    transition: opacity .18s; }
  .liste-choix .rangee-liste button:last-child { border-bottom: 1px solid var(--trait); }
  .liste-choix .rangee-liste.active button { opacity: .3; }
  .liste-choix .rangee-liste.active button.choisi { opacity: 1; }
  .liste-choix .nom-option { display: block; font-family: inherit; font-size: 1rem;
    font-weight: 400; color: var(--encre); }
  .liste-choix .detail-option { display: block; margin-top: .22rem; font-family: inherit;
    font-size: .8rem; font-weight: 300; color: var(--gris); }
  .choix-invite { margin: 1.3rem 0 0; text-align: center; font-size: .88rem; font-weight: 300; color: var(--gris); }
  .choix-invite + .choix-invite-precision { margin-top: var(--e2); }  /* « Si tu ne sais pas… » colle a son invite */
  .champ-etape { margin: 1.75rem auto 0; width: 100%; max-width: 21rem; }
  .champ-etape textarea { display: block; width: 100%; min-height: 6.5rem; resize: none;
    padding: .85rem .95rem; font-family: inherit; font-size: 1rem; font-weight: 300; line-height: 1.7;
    color: var(--encre); background: var(--fond); border: 1px solid var(--trait);
    border-radius: var(--r-carte); outline: none; }
  .champ-etape textarea:focus { border-color: var(--marque); }
  /* sous des choix (« J'ai peur de… ») : une seule ligne, a --e4 des choix, qui grandit avec le texte ; le tout tient au-dessus de la barre du bas */
  .nomination + .champ-etape { margin-top: var(--e4); }
  .nomination + .champ-etape textarea { min-height: 2.75rem; height: 2.75rem; padding: var(--e2) var(--e4); }
  @supports (field-sizing: content) { .nomination + .champ-etape textarea { height: auto; field-sizing: content; max-height: 6.5rem; } }
  .champ-etape textarea::placeholder { color: var(--gris); font-weight: 300; }
  .note-etape { margin: 2.25rem auto 0; max-width: 32ch; text-align: center; white-space: pre-line;
    font-size: .88rem; font-weight: 300; line-height: 1.7; color: var(--gris); }

  .roue { width: min(22rem, 88vw); margin: 1.5rem auto 0; }
  .roue svg { display: block; width: 100%; height: auto; }
  .roue .secteur { fill: transparent; cursor: pointer; }
  .roue .secteur:active { fill: var(--voile); }
  .roue .disque { fill: var(--voile); stroke: var(--marque); stroke-width: 2; }
  .roue .diagonale { fill: none; stroke: var(--marque); stroke-width: 1; }
  .roue .noyau { fill: var(--marque); }
  .roue .noyau-zone { fill: transparent; cursor: pointer; }
  .roue-invite { margin: 2.2rem 0 0; text-align: center; font-size: .88rem; font-weight: 300; color: var(--gris); }
  .roue .titre { font-size: 1.9rem; line-height: 1.3; margin-bottom: .5rem; }
  .roue .sous { margin-bottom: 2.2rem; }
  .roue .panneau-interieur, .roue .interieur { padding-top: 2.5rem; }
  .protocole { cursor: pointer; }
  .roue text { font-family: inherit; font-size: 22px; font-weight: 600; letter-spacing: .04em;
    fill: var(--marque); text-anchor: middle; dominant-baseline: middle; pointer-events: none; }

  .etapes { list-style: none; margin: 1.75rem 0 0; padding: 0; counter-reset: e; }
  .etapes li { counter-increment: e; padding: 1.35rem 0; border-top: 1px solid var(--trait); }
  .etapes li h3 { margin: 0 0 .5rem; font-size: .95rem; font-weight: 500; color: var(--encre); }
  .etapes li h3::before { content: counter(e); display: block; margin-bottom: .45rem;
    font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--gris); }
  .etapes li p { margin: 0; white-space: pre-line; font-weight: 300; font-size: .95rem; line-height: 1.75; color: var(--encre); }
  .repere { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--trait); }
  .repere h4 { margin: 0 0 .5rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; color: var(--gris); }
  .repere p { margin: 0; font-weight: 300; font-size: .88rem; line-height: 1.7; color: var(--gris); }

  .plein { position: fixed; inset: 0; background: var(--fond); display: none; place-items: center; padding: 2rem; z-index: 44; }
  .plein.actif { display: grid; }
  .plein .boite { width: 100%; max-width: 22rem; text-align: center; }
  .plein ol { text-align: left; margin: 1.75rem auto 0; padding-left: 1.1rem; color: var(--encre); font-weight: 400; font-size: .95rem; line-height: 1.85; }
  .lien-discret { margin-top: 1.5rem; background: none; border: 0; color: var(--gris); font-family: inherit; font-size: .85rem; text-decoration: underline; cursor: pointer; }
  input { width: 100%; padding: .95rem 1rem; font-family: inherit; font-size: 1rem; color: var(--encre);
    background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); outline: none; }
  input:focus { border-color: var(--marque); }
  #code { text-align: center; font-size: 1.4rem; font-weight: 600; letter-spacing: .2em; }
  .bouton { width: 100%; margin-top: .75rem; padding: .95rem 1rem; font-family: inherit; font-size: .95rem; font-weight: 500;
    color: var(--fond); background: var(--marque); border: 0; border-radius: var(--r-carte); cursor: pointer; }
  .bouton[disabled] { opacity: .45; cursor: default; }
  .message { margin: 1rem 0 0; font-size: .88rem; font-weight: 300; line-height: 1.6; color: var(--gris); min-height: 1.2rem; }
  .message.erreur { color: var(--erreur); }
  .compte { margin-top: 2.5rem; text-align: center; color: var(--gris); font-weight: 300; font-size: .85rem; }
  @media (min-width: 820px) {
    .ecran { width: 100%; max-width: 46rem; margin-left: auto; margin-right: auto; }
    .panneau .corps { width: 100%; max-width: 46rem; margin-left: auto; margin-right: auto; }
    #barre { width: 100%; max-width: 46rem; margin-left: auto; margin-right: auto; }
    .poignee { left: calc(50% - 23rem + 1rem); }
    .cartes { grid-template-columns: repeat(3, 1fr); gap: 1.1rem; }
    .protocole-interieur { max-width: 27rem; }
    .signaux-ligne, .encadre-etape, .nomination, .dires, .renvois,
    .journal-zone, .jours, .menu-liste, .fil { max-width: 27rem; margin-left: auto; margin-right: auto; }
    .journal-date, .journal-resume, .journal-bascule, .journal-question, .journal-etat,
    .journal-fige { max-width: 27rem; margin-left: auto; margin-right: auto; }
    .protocole.centre .etape-titre { font-size: 2.1rem; }
    #roueCercle svg { max-width: 24rem; }
    .souffle-rond { width: 13rem; height: 13rem; }
  }
  @media (min-width: 1200px) {
    .ecran, .panneau .corps, #barre { width: 100%; max-width: 52rem; }
    .poignee { left: calc(50% - 26rem + 1rem); }
    .cartes { gap: 1.3rem; }
  }

  .langue.langue-espace { position: static; display: flex; justify-content: center; gap: .9rem;
    margin: 2.2rem 0 .6rem; }
  .langue.langue-espace button { font-size: .78rem; letter-spacing: .1em; }

  .menu-vignette { display: block; width: 100%; max-width: 11rem; margin: .4rem auto 1rem; }
  .menu-nom { margin: 0 0 .4rem; font-size: 1.05rem; font-weight: 500; letter-spacing: .06em;
    color: var(--encre); text-align: center; }
  #menuModule .titre { margin-bottom: .2rem; }

  #menuPhase { z-index: 31; right: auto; width: min(20rem, 84vw);
    border-right: 1px solid var(--trait); box-shadow: 10px 0 48px rgba(0, 0, 0, .10); }
  #menuPhase .corps { padding-left: 1.4rem; padding-right: 1.4rem; }
  #menuPhase .fleche { left: 1.1rem; right: auto; }
  .menu-retour { display: block; margin: 0 0 1.4rem; padding: 0; background: none; border: 0;
    font-family: inherit; font-size: .75rem; font-weight: 500; letter-spacing: .12em;
    color: var(--gris); cursor: pointer; }
  .menu-retour::before { content: "\2039  "; }

  body:not(.prete) #barre,
  body:not(.prete) .ecran,
  body:not(.prete) .panneau { opacity: 0; }
  body.prete #barre,
  body.prete .ecran,
  body.prete .panneau { opacity: 1; transition: opacity .18s ease; }

  .fil li { cursor: pointer; }
  .fil .trajet { display: block; font-size: 1rem; font-weight: 400; color: var(--encre);
    letter-spacing: .01em; margin-bottom: .18rem; }
  .fil .issue { display: block; font-size: .84rem; font-weight: 300; color: var(--gris); }
  .fil .passages { display: block; margin-top: .5rem; padding-top: .5rem;
    border-top: 1px solid var(--trait); font-size: .8rem; font-weight: 300;
    line-height: 1.6; color: var(--gris); }

  .jours .periode { list-style: none; padding: 1.6rem .2rem .5rem; border-top: 0;
    font-size: .75rem; font-weight: 500; letter-spacing: .14em; color: var(--gris); }
  .jours .periode:first-child { padding-top: .4rem; }
  .jours .periode + li { border-top: 0; }

  #roue .titre { margin-top: 1.4rem; font-size: 2.1rem; font-weight: 300;
    letter-spacing: .01em; line-height: 1.15; }
  #roue .sous { margin-top: .9rem; font-size: .95rem; }
  @media (min-width: 760px) {
    #roue .titre { margin-top: 1.6rem; font-size: 2.4rem; }
  }

  .journal-invite { display: block; font-size: 1rem; font-weight: 500; color: var(--encre); }
  .journal-precision { display: block; margin-top: .35rem; font-size: .85rem;
    font-weight: 300; line-height: 1.5; color: var(--gris); }

  /* RÈGLE UNIQUE — bouton d'envoi sous une zone de texte, partout dans l'app.
     Toujours en bas à droite de la boîte. Ne pas créer d'autre variante. */
  .envoyer { display: block; margin: var(--e3) 0 0 auto; padding: var(--e2) var(--e4);
    background: none; border: 1px solid var(--trait); border-radius: 999px;
    font-family: inherit; font-size: .75rem; font-weight: 500; letter-spacing: .12em;
    color: var(--encre); cursor: pointer; transition: opacity .15s ease; }
  .envoyer:disabled { opacity: .35; cursor: default; }
  .envoyer:not(:disabled):active { opacity: .6; }

  /* la boite et son bouton forment un bloc : le bouton colle au bord droit de la boite */
  .boite-texte { display: flex; flex-direction: column; align-items: stretch;
    width: 100%; max-width: 27rem; margin: 0 auto; }
  .boite-texte .journal-zone { max-width: none; width: 100%; display: block; }
  .boite-texte .envoyer { align-self: flex-end; margin-right: 0; }

  .bouton-aide { position: absolute; top: calc(var(--haut, 0px) + 3.4rem); right: 1.2rem;
    width: 1.9rem; height: 1.9rem; padding: 0; border-radius: 50%;
    background: none; border: 1px solid var(--trait);
    font-family: inherit; font-size: .82rem; font-weight: 400; line-height: 1;
    color: var(--gris); cursor: pointer; z-index: 6; }
  .bouton-aide:active { opacity: .6; }
  .aide-intro { margin: .4rem 0 1.4rem; font-size: .95rem; font-weight: 300; line-height: 1.6; }
  .aide-etapes { margin: 0 0 1.6rem; padding-left: 1.2rem; }
  .aide-etapes li { margin-bottom: .9rem; font-size: .95rem; font-weight: 300; line-height: 1.6; }
  .aide-fin { margin: 0; font-size: .85rem; font-weight: 300; line-height: 1.6; color: var(--gris); }

  /* ===== SYSTÈME DE MISE EN PAGE DES MODULES — repris du Notion.
     Six blocs, rien d'autre. Ne pas créer de variante sans demande. ===== */
  .lecture { max-width: 34rem; margin: 0 auto; }
  :is(.lecture, .b-section) > * { margin: 0; }

  .b-titre { margin: 2.8rem 0 0; padding-bottom: .55rem;
    border-bottom: 1px solid var(--trait);
    font-size: 1.05rem; font-weight: 500; letter-spacing: .1em; color: var(--encre); }
  :is(.lecture, .b-section) > .b-titre:first-child { margin-top: 0; }

  .b-sous { margin: .8rem 0 0; font-style: italic; font-size: .88rem;
    font-weight: 300; color: var(--gris); }

  .b-soustitre { margin: var(--e5) 0 0; font-size: .95rem; font-weight: 500;
    letter-spacing: .06em; color: var(--encre); }

  .b-texte { margin: 1.1rem 0 0; font-size: .95rem; font-weight: 300;
    line-height: 1.7; color: var(--encre); }

  .b-liste { margin: 1.2rem 0 0; padding: 0; list-style: none; }
  .b-liste li { margin-bottom: var(--e4); }
  .b-liste b { display: block; margin-bottom: .2rem;
    font-size: .95rem; font-weight: 500; color: var(--encre); }
  .b-liste span { display: block; font-size: .95rem; font-weight: 300;
    line-height: 1.7; color: var(--gris); }

  .b-encadre { margin: 1.2rem 0 0; padding: 0; background: none; border-radius: 0; }
  .b-encadre .b-entree { display: flex; align-items: flex-start; gap: .75rem;
    margin-bottom: 1.1rem; border: 0; padding: 0; }
  .b-encadre .b-entree::before { content: ""; flex: 0 0 auto; width: .3rem; height: .3rem;
    border-radius: 50%; margin-top: .62em; background: var(--dessin); }
  .b-encadre .b-entree > b { flex: 0 0 auto; }
  .b-encadre .b-entree:last-child { margin-bottom: 0; }
  .b-encadre b { display: block; margin-bottom: .2rem;
    font-size: .95rem; font-weight: 500; letter-spacing: 0; color: var(--encre); }
  .b-encadre span { display: block; font-size: .95rem; font-weight: 300;
    line-height: 1.7; color: var(--gris); }
  .b-encadre .b-entree > div { flex: 1; min-width: 0; }

  @media (min-width: 760px) {
    .lecture { max-width: 40rem; }
    .b-titre { font-size: 1.15rem; }
    .b-texte { font-size: 1rem; }
  }

  .b-lien { display: inline-block; margin: var(--e3) 0 0; padding: var(--e2) var(--e4);
    background: none; border: 1px solid var(--trait); border-radius: 999px;
    font-family: inherit; font-size: .75rem; font-weight: 500; letter-spacing: .12em;
    color: var(--encre); cursor: pointer; }
  .b-lien:active { opacity: .6; }

  /* l'appel : une question posée au centre, qui arrête la lecture */
  .b-appel { margin: 3rem 0 1rem; padding: 2.4rem 1.5rem 2.2rem;
    text-align: center; background: var(--voile); border-radius: var(--r-carte); border: 0; }
  .b-appel-titre { margin: 0; font-size: 1.6rem; font-weight: 600;
    letter-spacing: .01em; line-height: 1.2; color: var(--encre); }
  .b-appel-sous { margin: .8rem 0 0; font-style: italic; font-size: .86rem;
    font-weight: 300; color: var(--gris); }
  .b-appel-texte { margin: 1.3rem 0 0; text-align: left;
    font-size: .95rem; font-weight: 300; line-height: 1.7; color: var(--encre); }
  .b-appel .b-lien { margin-top: 1.8rem; }

  .b-image { display: block; width: 100%; height: auto;
    margin: 2rem 0 0; border-radius: var(--r-carte); }
  .b-choix-etat .b-choix-image { width: auto; max-width: 100%; margin: 0 auto var(--e6); }

  @media (min-width: 760px) {
    .b-appel-titre { font-size: 2rem; }
  }

  /* le même rond que dans les protocoles, pour toutes les listes */
  .b-liste li { display: flex; align-items: flex-start; gap: .75rem; }
  .b-liste .b-puce { flex: 0 0 auto; width: .3rem; height: .3rem;
    border-radius: 50%; margin-top: .72em; background: var(--dessin); }
  .b-liste .b-liste-texte { flex: 1; min-width: 0; }

  /* les trois phases, toujours sur une seule ligne */
  .b-phases { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1.5rem 0 0; }
  .b-phase { display: block; width: 100%; padding: 0; background: none; border: 0;
    font-family: inherit; text-align: center; cursor: pointer; }
  .b-phase-visuel { display: block; width: 100%; aspect-ratio: 1 / 1;
    overflow: hidden; border-radius: .5rem; border: 1px solid var(--trait); background: var(--fond); }
  .b-phase-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .b-phase-nom { font-size: .75rem; font-weight: 500;
    letter-spacing: .08em; color: var(--encre); }
  .b-phase-bas { display: flex; align-items: center; justify-content: center; gap: .3rem;
    margin-top: .55rem; }
  .b-phase-repere { flex: 0 0 auto; width: .8rem; height: .8rem; }
  .b-phase-repere svg { display: block; width: 100%; height: 100%; }

  .b-appel-avant { margin: 0 0 .7rem; font-size: .75rem; font-weight: 500;
    letter-spacing: .12em; color: var(--gris); }

  .b-entete { display: flex; align-items: center; gap: 1.3rem; margin: 0 0 2.4rem; }
  .b-entete-chiffre { flex: 0 0 auto; display: block;
    font-family: Georgia, "Times New Roman", serif; font-size: 5.2rem; line-height: .88;
    font-weight: 400; color: var(--encre);
    clip-path: inset(50% 0 50% 0);
    transition: clip-path 1.15s cubic-bezier(.22,.61,.36,1); }
  .b-entete-chiffre.vu { clip-path: inset(0 0 0 0); }
  /* les chiffres de ce caractere descendent sous la ligne (le 3, le 5…) : un peu d'air en bas, sans decaler la mise en page */
  .b-entete-chiffre { padding-bottom: .16em; margin-bottom: -.16em; }
  /* un nom plus large que la place a cote du chiffre passe SOUS le chiffre au lieu d'etre coupe (23 nov. 2026 : MODULE III, « SOUVERAINETÉ », « DOUTE OU CLARTÉ ? » sur telephone) ;
     un nom qui tient a cote du chiffre ne change pas */
  .b-entete { flex-wrap: wrap; }
  .b-entete-texte { flex: 1; min-width: min-content; }
  @media (prefers-reduced-motion: reduce) {
    .b-entete-chiffre { clip-path: none; transition: none; }
  }
  .b-entete-module { margin: 0; font-size: .75rem; font-weight: 500;
    letter-spacing: .14em; color: var(--gris); }
  .b-entete-nom { margin: .3rem 0 0; font-size: 1.5rem; font-weight: 600;
    letter-spacing: .02em; color: var(--encre); }

  #aide { z-index: 32; }

  /* le bouton d'écriture garde de l'air au-dessus de la barre du bas */
  #boutonEcrire { margin-bottom: 2.6rem; margin-top: -.4rem; }
  #roue .titre { margin-top: 1rem; }
  #roue .sous { margin-top: .7rem; }

  /* apparition douce des visuels quand ils entrent dans l'écran */
  .a-paraitre { opacity: 0; transform: translateY(1.4rem);
    transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
  .a-paraitre.vu { opacity: 1; transform: none; }
  @media (prefers-reduced-motion: reduce) {
    .a-paraitre { opacity: 1; transform: none; transition: none; }
  }

  /* dessins génératifs — tracés au défilement */
  .b-dessin { margin: 2.4rem 0 0; color: var(--dessin); }
  .b-dessin svg { display: block; width: 100%; height: auto; overflow: visible; }

  .b-dessin { margin-bottom: -1.4rem; }
  .b-dessin + .b-titre { margin-top: 1.6rem; }

  /* les cartes en bandes : phases et exploration, meme forme */
  .b-cartes { display: flex; flex-direction: column; gap: .7rem; margin: 1.4rem 0 0; }
  .b-carte { display: flex; align-items: center; gap: 1rem; width: 100%;
    padding: .7rem; background: none; border: 1px solid var(--trait); border-radius: var(--r-carte);
    font-family: inherit; text-align: left; cursor: pointer; }
  .b-carte-visuel { flex: 0 0 auto; width: 4.6rem; height: 4.6rem; overflow: hidden;
    border-radius: .4rem; background: var(--fond); }
  .b-carte-visuel img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .b-carte-corps { flex: 1; min-width: 0; }
  .b-carte-haut { display: flex; align-items: center; gap: .45rem; }
  .b-carte-repere { flex: 0 0 auto; width: .85rem; height: .85rem; }
  .b-carte-repere svg { display: block; width: 100%; height: 100%; }
  .b-carte-nom { font-size: .8rem; font-weight: 500; letter-spacing: .09em; color: var(--encre); }
  .b-carte-detail { display: block; margin-top: .3rem; font-size: .85rem;
    font-weight: 300; line-height: 1.5; color: var(--gris); }
  .b-carte:active { opacity: .7; }

  .b-lien-centre { display: block; margin-left: auto; margin-right: auto; }

  /* les listes et encadres suivent le corps de texte, y compris la couleur */
  .b-liste span, .b-encadre span { color: var(--encre); }

  /* la vignette occupe la moitie de la carte, le texte se resserre a droite */
  .b-cartes .b-carte { align-items: stretch; gap: 1.1rem; padding: .6rem; }
  .b-cartes .b-carte-visuel { width: 48%; height: auto; min-height: 7.2rem; aspect-ratio: auto; }
  .b-cartes .b-carte-corps { display: flex; flex-direction: column; justify-content: center; padding-right: .3rem; }
  .b-cartes .b-carte-haut { align-items: center; gap: .5rem; }
  .b-cartes .b-carte-repere { width: 1.15rem; height: 1.15rem; }
  .b-cartes .b-carte-nom { font-size: .75rem; letter-spacing: .12em; }
  .b-cartes .b-carte-detail { margin-top: .35rem; font-size: .78rem; }

  /* celle en cours se detache nettement */
  .b-carte-encours { border-color: var(--encre); border-width: 1.5px;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, .06); }


  /* l'ouverture du module : plus grande, plus presente */
  .b-entete { gap: var(--e4); margin: 0 0 var(--e6); align-items: center; }
  .b-entete-chiffre { font-size: 9rem; line-height: .82; }
  .b-entete-module { font-size: .8rem; letter-spacing: .18em; }
  .b-entete-nom { margin-top: .5rem; font-size: 2.3rem; font-weight: 600; line-height: 1.05; }
  @media (min-width: 760px) {
    .b-entete-chiffre { font-size: 11rem; }
    .b-entete-nom { font-size: 2.9rem; }
  }

  /* l'exploration : le nom au centre, en gras, la phase en dessous */
  .b-cartes-libres .b-carte-corps { align-items: center; text-align: center; padding: 0 .4rem; }
  .b-cartes-libres .b-carte-haut { justify-content: center; }
  .b-cartes-libres .b-carte-nom { font-size: .95rem; font-weight: 600;
    letter-spacing: .04em; line-height: 1.25; color: var(--encre); }
  .b-cartes-libres .b-carte-detail { margin-top: .45rem; font-size: .75rem;
    font-weight: 500; letter-spacing: .12em; color: var(--gris); }

  /* l'icone de la playlist reste petite et centree */
  .b-dessin:has(svg[data-sens="icone"]) { display: flex; justify-content: center; margin-bottom: 0; }
  .b-dessin svg[data-sens="icone"] { width: 100%; }

  /* les cartes d'exploration : du texte seul, sur une ligne */
  .b-cartes-libres .b-carte { min-height: 0; padding: 1.05rem .9rem; }
  .b-cartes-libres .b-carte-corps { padding: 0; }
  .b-cartes-libres .b-carte-nom { font-size: .92rem; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; display: block; max-width: 100%; }
  .b-cartes-libres .b-carte-detail { margin-top: .3rem; }

  /* la note respire */
  .b-dessin svg[data-sens="icone"] .pulse { animation: respirer 3.4s ease-in-out infinite; }
  @keyframes respirer {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.035); }
  }
  @media (prefers-reduced-motion: reduce) {
    .b-dessin svg[data-sens="icone"] .pulse { animation: none; }
  }

  /* dessins de section : meme largeur pour tous, et memes espaces partout.
     Chaque dessin est recadre sur son contenu (recadrerDessin, capsule.js) : l'espace au-dessus
     est celui d'un titre de partie (--e6), l'espace entre le dessin et son titre est --e4. */
  .b-dessin.b-dessin-section { margin: var(--e6) 0 0; }
  .b-dessin.b-dessin-section svg { width: 61.8%; margin: 0 auto; }  /* 1 / phi */
  .b-dessin.b-dessin-section + .b-titre { margin-top: var(--e4); }
  /* dans les marqueurs, les trois dessins de section sont plus discrets ; la sphere de NOTE encore un peu plus */
  .b-dessin.b-dessin-section svg[data-sens="etoile"],
  .b-dessin.b-dessin-section svg[data-sens="echo"],
  .b-dessin.b-dessin-section svg[data-sens="sphere"] { width: 38.2%; }  /* 1 / phi au carre */
  /* LES SIGNAUX des emotions : la silhouette de la roue, un corps par couleur, cote a cote */
  .b-silhouettes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e4); margin: var(--e5) 0 0; }
  .b-silhouette .figure { display: block; width: 100%; height: 9rem;  /* 144px, suite de la grille */
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain; }
  .b-silhouette-nom { margin: var(--e3) 0 0; text-align: center; font-size: 1rem; font-weight: 600; color: var(--encre); }
  .b-silhouette-titre { margin: var(--e2) 0 var(--e3); text-align: center; font-size: .75rem; font-weight: 600;
    letter-spacing: .12em; color: var(--gris); }
  .b-silhouette .b-liste { margin: 0; }
  .b-silhouette .b-liste li { margin-bottom: var(--e2); gap: var(--e2); }
  .b-silhouette .b-liste .b-liste-texte { font-size: .86rem; line-height: 1.45; }
  /* QUOI FAIRE : le dessin de la roue, repris pour s'y reperer — on le regarde, on ne le touche pas */
  .b-visuel-protocole { margin: var(--e4) 0 var(--e5); pointer-events: none; }
  .b-visuel-protocole button { opacity: 1; cursor: default; }
  /* LA ROUTINE : les ellipses respirent doucement autour du centre */
  .b-dessin svg[data-sens="capsule"] .respire { animation: capsule-respire 7s ease-in-out infinite; }
  @keyframes capsule-respire {
    0%, 100% { transform: scaleX(1); }
    50% { transform: scaleX(.86); }
  }
  @media (prefers-reduced-motion: reduce) {
    .b-dessin svg[data-sens="capsule"] .respire { animation: none; }
  }
  /* marqueurs — QUOI FAIRE : l'etoile tourne tres lentement ; LES SIGNAUX : une onde part du centre */
  .b-dessin svg[data-sens="etoile"] .tourne-lent { animation: tourner 240s linear infinite; }
  .b-dessin svg[data-sens="echo"] path { animation: echo-onde 4.2s ease-in-out infinite; }
  @keyframes echo-onde {
    0%, 100% { opacity: 1; }
    50% { opacity: .45; }
  }
  @media (prefers-reduced-motion: reduce) {
    .b-dessin svg[data-sens="etoile"] .tourne-lent,
    .b-dessin svg[data-sens="echo"] path { animation: none; }
  }

  /* les roues tournent lentement sur elles-memes */
  .b-dessin svg[data-sens="roue"] .tourne {
    animation-name: tourner; animation-timing-function: linear; animation-iteration-count: infinite; }
  @keyframes tourner {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
  }
  @media (prefers-reduced-motion: reduce) {
    .b-dessin svg[data-sens="roue"] .tourne { animation: none; }
  }

  /* la poignee passe au-dessus du contenu, et reste accessible partout dans RÉALITÉ */
  #poigneeModule { z-index: 38; position: fixed;
    top: calc(var(--haut, 0px) + .35rem); left: .6rem;
    width: 2.5rem; height: 2.5rem; }
  #page .lecture { padding-left: 0; }


  /* le contenu des pages laisse la place au bandeau */
  #page .corps, #pageCorps { padding-top: calc(var(--haut, 0px) + 3.6rem); }

  /* les trois traits du sommaire, lisibles dans la poignee */
  #poigneeModule { padding: .62rem .55rem; gap: .26rem; justify-content: center; align-items: stretch; }
  #poigneeModule span { display: block; width: 100%; height: 1.6px; flex: 0 0 1.6px;
    border-radius: 2px; background: var(--encre); }

  /* le titre de la roue en gras, et de l'air sous l'invite du centre */
  #roue .titre { font-weight: 600; }
  #boutonEcrire { margin-top: 1.5rem; }

  /* les roues de la capsule prennent toute la largeur disponible */
  .b-dessin:has(svg[data-sens="diagramme"]) { margin-left: -1.1rem; margin-right: -1.1rem;
    margin-top: 1.8rem; margin-bottom: -.6rem; }

  /* l'encart : un cadre clair, legerement grise, pour mettre en avant sans couper la lecture */
  .b-encart { margin: var(--e5) 0; padding: var(--e4);
    background: var(--voile); border-radius: var(--r-carte); }
  .b-encart-titre { margin: 0 0 var(--e3); font-size: .75rem; font-weight: 600;
    letter-spacing: .14em; color: var(--encre); }
  .b-encart-ligne { margin: 0 0 .5rem; font-size: .95rem; font-weight: 300;
    line-height: 1.7; color: var(--encre); }
  .b-encart-ligne:last-child { margin-bottom: 0; }

  /* de l'air entre les sections de la capsule */
  .b-titre { margin-top: 3.4rem; }
  :is(.lecture, .b-section) > .b-titre:first-child { margin-top: 0; }

  /* les etapes : une boite claire par etape, pour qu'on voie la marche a suivre */
  .b-etape { margin: 1.1rem 0; padding: 1.3rem 1.2rem;
    border: 1px solid var(--trait); border-radius: var(--r-carte); background: none; }
  .b-etape-rang { margin: 0 0 .5rem; font-size: .75rem; font-weight: 600;
    letter-spacing: .16em; color: var(--gris); }
  .b-etape-titre { margin: 0 0 .8rem; font-size: 1rem; font-weight: 600;
    line-height: 1.35; color: var(--encre); }
  .b-etape-texte { margin: 0 0 var(--e3); font-size: .95rem; font-weight: 300;
    line-height: 1.7; color: var(--encre); }
  .b-etape-liste { margin-top: .9rem; }
  .b-etape-entree { display: flex; align-items: baseline; gap: .6rem;
    margin: 0 0 .5rem; font-size: .95rem; font-weight: 300; line-height: 1.6; }
  .b-etape-entree b { flex: 0 0 auto; font-weight: 600; font-size: .75rem;
    letter-spacing: .1em; color: var(--encre); }
  .b-etape-entree span { color: var(--gris); }
  .b-etape-entree:last-child { margin-bottom: 0; }

  /* la citation : barre pleine sur le cote, comme dans Notion */
  .b-citation { margin: 2rem 0 3.2rem; padding: .1rem 0 .1rem 1.2rem;
    border-left: 3px solid var(--encre); }
  .b-citation-titre { margin: 0 0 .7rem; font-size: .75rem; font-weight: 600;
    letter-spacing: .14em; color: var(--encre); }
  .b-citation-ligne { margin: 0 0 var(--e3); font-size: .95rem; font-weight: 300;
    line-height: 1.7; color: var(--encre); }
  .b-citation-ligne:last-child { margin-bottom: 0; }

  /* les pastilles de couleur dans le texte */





  /* la sequence des etapes respire : chaque element se detache du suivant */
  .b-etape { margin: 2.2rem 0; padding: 1.5rem 1.35rem; }
  .b-etape + .b-texte { margin-top: 1.6rem; }
  .b-texte + .b-etape { margin-top: 2.4rem; }
  .b-etape-liste { margin-top: var(--e4); }
  .b-etape-entree { margin-bottom: var(--e3); }
  .b-citation { margin-top: 2.8rem; }

  /* l'ancien ecran d'entree de RÉALITÉ n'a plus lieu d'etre : la capsule ouvre sur le module */
  #realiteOuvert { display: none; }

  /* les points de couleur dans le texte, sous un nom qui leur est propre */
  .point-couleur { display: inline-block; width: .62em; height: .62em; border-radius: 50%;
    margin-right: .3em; vertical-align: baseline; }
  .point-vert { background: var(--vert); }
  .point-rouge { background: var(--rouge); }
  .point-soleil { background: var(--jaune); }

  /* l'icone de l'espace, en tete de fiche */
  .b-entete-icone { flex: 0 0 auto; display: block; width: 4.6rem; color: var(--encre); }
  .b-entete-icone svg { display: block; width: 100%; height: auto; }

  /* l'encart d'un etat porte sa couleur en pastille */
  .b-encart-titre .point-couleur { width: .9em; height: .9em; margin-right: .45em; }

  /* la precision qui ferme une etape, a l'interieur de sa boite */
  .b-etape-apres { margin: var(--e4) 0 0; font-size: .95rem; font-weight: 300;
    line-height: 1.7; color: var(--gris); }

  /* les etapes : fond gris, sans bordure */
  .b-etape { background: var(--voile); border: 0; }

  /* les cartes de signaux : transparentes, juste un contour */
  .b-encart { background: none; border: 1px solid var(--trait); padding: var(--e4); }
  .b-encart-titre { display: flex; align-items: center; gap: .5rem;
    font-size: .75rem; letter-spacing: .15em; }
  .b-encart-titre .point-couleur { width: .95rem; height: .95rem; margin: 0; }

  /* ————————————————————————————————————————————————
     LA GRILLE INVISIBLE — nombre d'or et suite de Fibonacci
     Ces tokens ne changent rien : ils NOMMENT l'echelle
     d'espacement deja utilisee dans l'app, qui tombait
     spontanement sur 5 / 8 / 13 / 21 / 34 / 55 px.
     Toute nouvelle valeur d'espacement doit venir d'ici.
     ———————————————————————————————————————————————— */
  :root {
    --phi: 1.618;
    --e1: .3125rem;   /*  5px */
    --e2: .5rem;      /*  8px */
    --e3: .8125rem;   /* 13px */
    --e4: 1.3125rem;  /* 21px */
    --e5: 2.125rem;   /* 34px */
    --e6: 3.4375rem;  /* 55px */
    --e7: 5.5625rem;  /* 89px — le terme suivant, entre deux parties */
  }

  /* les ecarts hors suite rejoignent la serie */
  .b-etape { margin: var(--e5) 0; }
  .b-etape + .b-texte { margin-top: var(--e4); }
  .b-texte + .b-etape { margin-top: var(--e5); }
  .b-citation { margin-top: var(--e6); margin-bottom: var(--e6); }
  .b-titre { margin-top: var(--e6); }

  /* LES ETAPES — un chemin : chaque etape est posee sur un fil vertical qui la relie a la suivante.
     Le rond se remplit quand l'etape arrive a l'ecran : on sent qu'on avance. */
  .b-etape { position: relative; background: none; border: 0; border-radius: 0;
    padding: 0 0 0 var(--e5); margin: var(--e5) 0; }
  .b-etape::before { content: ""; position: absolute; left: 0; top: .1rem;
    width: .8125rem; height: .8125rem; border-radius: 50%; box-sizing: border-box;
    border: 1px solid var(--encre); background: var(--fond); transition: background-color .6s ease .2s; }
  .b-etape.vu::before { background: var(--encre); }
  .b-etape-rang { margin: 0 0 var(--e2); }
  @media (prefers-reduced-motion: reduce) {
    .b-etape::before { transition: none; }
  }

  /* RYTHME — une seule regle pour tout ce qui est pose dans une page (valeurs de la grille) :
     entre deux textes --e4, autour d'un objet (schema, fenetre, signaux, silhouettes, cartes,
     visuel de la roue) --e5, avant une partie --e6 (titres et dessins de section, regles plus haut). */
  :is(.lecture, .b-section) > .b-fenetre,
  :is(.lecture, .b-section) > .signaux,
  :is(.lecture, .b-section) > .b-silhouettes,
  :is(.lecture, .b-section) > .b-cartes,
  :is(.lecture, .b-section) > .b-visuel-protocole,
  :is(.lecture, .b-section) > .b-roue-espaces,
  :is(.lecture, .b-section) > .b-dessin:not(.b-dessin-section) { margin-top: var(--e5); margin-bottom: var(--e5); }
  .b-chemin > .b-etape + .b-texte,
  .b-chemin > .b-etape + .b-liste { margin-top: var(--e4); }

  /* ESPACEMENT OFFICIEL DE TOUTE L'APP (defini sur les marqueurs, etendu a toutes les pages) :
     la page respire, on lit sans se sentir submerge.
     Toutes les valeurs viennent de la grille ; entre deux parties : --e6 + --e5 (89px, le terme suivant). */
  .lecture .b-texte { margin-top: var(--e4); line-height: 1.8; }
  .lecture .b-titre + .b-sous { margin-top: var(--e3); }
  .lecture .b-titre + :not(.b-sous),
  .lecture .b-titre + .b-sous + * { margin-top: var(--e5); }
  .lecture .b-etape { margin: var(--e6) 0; }
  :is(.lecture, .b-section) > .b-fenetre,
  :is(.lecture, .b-section) > .signaux,
  :is(.lecture, .b-section) > .b-silhouettes,
  :is(.lecture, .b-section) > .b-nuages,
  :is(.lecture, .b-section) > .b-roue-espaces,
  :is(.lecture, .b-section) > .b-dessin:not(.b-dessin-section) { margin-top: var(--e6); margin-bottom: var(--e6); }
  :is(.lecture, .b-section) > .b-dessin.b-dessin-section { margin-top: var(--e7); }
  .lecture .b-citation { margin-top: var(--e6); margin-bottom: var(--e6); }

  /* LA PHRASE — une citation de la capsule : capitales en gras, dans un double cadre au trait (comme les deux cercles de la roue) */
  .b-phrase { padding: var(--e6) var(--e5); border: 1px solid var(--trait); outline: 1px solid var(--trait);
    outline-offset: calc(-1 * var(--e2) - 1px); background: var(--fond); text-align: center; }
  .b-phrase-texte { margin: 0; font-size: 1.3125rem; font-weight: 600; line-height: 1.618; letter-spacing: .14em;
    text-transform: uppercase; text-wrap: balance; color: var(--encre); }
  .lecture .b-phrase { margin-top: var(--e6); margin-bottom: var(--e6); }
  .b-etape > .b-dessin,
  .b-etape > .b-dessin:has(svg[data-sens="diagramme"]) { margin-top: var(--e5); margin-bottom: var(--e5); }

  /* LES FLECHES DE LA ROUE — trois fleches qui se tracent ensemble vers le corps :
     la tige avance, la pointe s'allume au bout, elles restent un moment, puis recommencent. */
  @media (prefers-reduced-motion: no-preference) {
    .roue-fleche-tige { stroke-dasharray: 1; animation: roue-fleche-tige 3.4s cubic-bezier(.45, 0, .25, 1) infinite; }
    .roue-fleche-tete { animation: roue-fleche-tete 3.4s cubic-bezier(.45, 0, .25, 1) infinite; }
  }
  @keyframes roue-fleche-tige {
    0% { stroke-dashoffset: 1; opacity: 1; }
    45%, 82% { stroke-dashoffset: 0; opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
  }
  @keyframes roue-fleche-tete {
    0%, 38% { opacity: 0; }
    48%, 82% { opacity: 1; }
    100% { opacity: 0; }
  }

  /* LA VALIDATION — un point vert s'ouvre au centre et palpite, une onde traverse les quatre espaces,
     et chaque « et c'est OK » s'allume en vert a son passage. Sans animation : le point, et c'est tout. */
  .roue-onde { opacity: 0; }
  .roue-coeur { transform-box: fill-box; transform-origin: center; }
  @media (prefers-reduced-motion: no-preference) {
    .roue-coeur { animation: roue-coeur 3.4s ease-in-out infinite; }
    .roue-onde { transform-box: view-box; transform-origin: 500px 500px; animation: roue-onde 3.4s ease-out infinite; }
    .roue-valide-texte { animation: roue-valide-texte 3.4s ease-in-out infinite; }
  }
  @keyframes roue-coeur {
    0% { transform: scale(0); }
    14% { transform: scale(1.15); }
    22% { transform: scale(.9); }
    30%, 100% { transform: scale(1); }
  }
  @keyframes roue-onde {
    0%, 18% { transform: scale(1); opacity: 0; }
    22% { opacity: .7; }
    62% { transform: scale(4.2); opacity: 0; }
    100% { transform: scale(4.2); opacity: 0; }
  }
  @keyframes roue-valide-texte {
    0%, 34% { fill: var(--gris, #8a857e); }
    44%, 80% { fill: var(--vert); }
    100% { fill: var(--gris, #8a857e); }
  }

  /* les types de nuages : des cartes, deux par ligne ; la derniere, seule, prend toute la largeur */
  .b-nuages { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); }
  .b-nuage { padding: var(--e4) var(--e3); border: 1px solid var(--trait); border-radius: var(--r-carte); }
  .b-nuage-nom { margin: 0; font-size: .95rem; font-weight: 600; color: var(--encre); }
  .b-nuage-detail { margin: var(--e1) 0 var(--e3); font-size: .8rem; font-style: italic; font-weight: 300;
    line-height: 1.45; color: var(--gris); }
  .b-nuage .b-liste { margin: 0; }
  .b-nuage .b-liste li { margin-bottom: var(--e2); gap: var(--e2); }
  .b-nuage .b-liste .b-liste-texte { font-size: .82rem; line-height: 1.45; }

  /* les deux etats d'une emotion (Emotions, phase 2) : une carte blanche par ligne, sur toute la longueur,
     un point a la couleur de l'etat devant le nom (--rouge bloquee, --vert circule) */
  .b-nuages-pile { grid-template-columns: 1fr; gap: var(--e4); }
  .b-nuages-pile > .b-nuage { padding: var(--e4); }
  .b-nuages-pile .b-nuage-nom { display: flex; align-items: center; gap: var(--e3); font-size: 1.05rem; }
  .b-nuage-point { flex: 0 0 auto; width: var(--e4); height: var(--e4); border-radius: 50%; }
  .b-nuages-pile .b-nuage-detail { margin: var(--e2) 0 0; padding-left: calc(var(--e4) + var(--e3)); font-style: normal; }
  .b-nuages-pile .b-liste { margin-top: var(--e3); padding-left: calc(var(--e4) + var(--e3)); }
  .b-nuages-pile .b-liste li:last-child { margin-bottom: 0; }
  .b-nuages-pile .b-liste .b-liste-texte { font-size: .93rem; }
  .b-nuage-ligne { margin: var(--e2) 0 0; padding-left: calc(var(--e4) + var(--e3)); font-size: .93rem; font-weight: 300;
    line-height: 1.618; text-wrap: balance; color: var(--encre); }

  /* les reperes de l'energie : le signe de la roue (+ = −) a sa couleur, en cartes deux par ligne */
  .b-silhouettes.b-silhouettes-cartes { gap: var(--e3); }
  .b-silhouettes-cartes .b-silhouette { padding: var(--e4) var(--e3); border: 1px solid var(--trait); border-radius: var(--r-carte); }
  .b-silhouette-signe { margin: 0; text-align: center; font-size: 2.125rem; font-weight: 300; line-height: 1; }
  :is(.lecture, .b-section) > .b-silhouettes + .b-texte { margin-top: var(--e5); }

  /* LE CHEMIN — un seul fil pour toutes les etapes d'une partie (relierEtapes / tracerChemins, capsule.js).
     Ce qui s'intercale entre deux etapes (texte, citation) s'aligne sur elles. */
  .b-chemin { position: relative; }
  .b-chemin::before { content: ""; position: absolute; left: calc(.8125rem / 2 - .5px);
    top: var(--fil-debut, 0); height: var(--fil-hauteur, 0); width: 1px; background: var(--trait); }
  .b-chemin > :not(.b-etape) { margin-left: var(--e5); }
  .b-chemin > .b-etape::before { z-index: 1; }

  /* CARTES EN NOMBRE IMPAIR — une carte horizontale par ligne : a gauche le signe ou le nom (38,2 %),
     a droite la liste (61,8 %). En nombre pair, deux colonnes. */
  .b-impair { grid-template-columns: 1fr; }
  .b-impair > .b-nuage,
  .b-impair > .b-silhouette { display: grid; grid-template-columns: 38.2% 1fr; column-gap: var(--e4);
    align-items: start; padding: var(--e4); }
  .b-impair > * > :not(ul) { grid-column: 1; }
  .b-impair > * > ul { grid-column: 2; grid-row: 1 / span 4; }
  .b-impair .b-silhouette-signe, .b-impair .b-silhouette-nom, .b-impair .b-silhouette-titre { text-align: left; }
  .b-impair .b-silhouette-nom { margin-top: var(--e2); }

  /* une ligne d'etape qui mene a une page : un vrai lien, souligne, avec une fleche */
  .b-etape-lien { width: 100%; padding: var(--e1) 0; background: none; border: 0; font: inherit; text-align: left; cursor: pointer; }
  .b-etape-lien span { color: var(--gris); }  /* une ligne-lien a la meme typographie que les autres lignes ; la fleche suffit */
  .b-etape-lien::after { content: "→"; margin-left: var(--e2); color: var(--gris); }

  /* les signes du compte dans le texte : les memes que dans le protocole (gras, a leur couleur) */
  .signe-texte { display: inline-block; min-width: 1em; margin-right: var(--e2); font-weight: 600;
    font-size: 1.15em; line-height: 1; text-align: center; }

  /* LA POIGNEE — panneau unique. La phase en cours est depliee sous son nom, sur un fil comme le chemin. */
  .menu-sous { border-top: 0 !important; }
  .menu-sous ul { list-style: none; margin: 0 0 var(--e3) calc(.5rem - .5px); padding: 0 0 0 var(--e4);
    border-left: 1px solid var(--trait); }
  .menu-sous .entree-menu { padding: var(--e3) 0; font-size: .95rem; }
  .menu-sous .entree-menu .statut { display: none; }
  .entree-menu.ici .nom { font-weight: 600; }
  /* un toucher en dehors du panneau le referme */
  .voile-menu { display: none; position: fixed; inset: 0; z-index: 29; background: rgba(17, 17, 17, .06); }
  #menuModule.actif + .voile-menu { display: block; }

  /* les quarts de la roue menent a leur marqueur */
  .zone-roue { cursor: pointer; pointer-events: all; }
  .zone-roue:active { fill: rgba(17, 17, 17, .04); }

  /* LA CARTE QUESTION — plus de bloc gris : deux filets, de l'air, la question au centre.
     Une question a deux poles devient un axe, et un point glisse lentement de l'un a l'autre. */
  .lecture .b-appel { margin: var(--e7) 0; padding: var(--e6) 0; background: none; border-radius: 0;
    border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); text-align: center; }
  .b-appel-avant { margin: 0 0 var(--e4); }
  .b-appel-poles { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: var(--e2); margin: 0;
    font-size: min(1.3125rem, 4.4vw); font-weight: 600; letter-spacing: .03em; color: var(--encre); }  /* le mot le plus long tient dans sa moitie */
  .b-appel-pole:first-child { justify-self: end; }  /* la barre reste pile au centre */
  .b-appel-pole:last-child { justify-self: start; }
  .b-appel-axe { position: relative; width: var(--e7); height: 1px; background: var(--encre); opacity: .9; }  /* 89px */
  .b-appel-point { position: absolute; top: 50%; left: 0; width: .8125rem; height: .8125rem; margin: -.40625rem 0 0 -.40625rem;
    border-radius: 50%; background: var(--encre); animation: appel-balance 7s ease-in-out infinite alternate; }
  @keyframes appel-balance { from { left: 8%; } to { left: 92%; } }
  @media (prefers-reduced-motion: reduce) { .b-appel-point { animation: none; left: 50%; } }
  .b-appel-sous { margin: var(--e4) 0 0; }
  .b-appel-texte { margin: var(--e5) 0 0; text-align: center; line-height: 1.8; }
  .b-appel .b-lien { margin-top: var(--e5); }
  .lecture .b-sous + .b-texte { margin-top: var(--e5); }

  /* « Je le vis maintenant » : de la lecture a la pratique, juste apres les etapes */
  .lecture .b-vivre { margin-top: var(--e6); }
  /* EN BAS D'UN MARQUEUR : le suivant, et le retour a la phase */
  .b-marqueur-suite { margin: var(--e7) 0 var(--e6); padding-top: var(--e6); border-top: 1px solid var(--trait);
    display: flex; flex-direction: column; align-items: center; gap: var(--e4); }
  .b-marqueur-suite .b-lien { margin: 0; }
  .b-marqueur-retour { padding: var(--e3) 0; background: none; border: 0; font: inherit; font-size: .88rem;
    color: var(--gris); cursor: pointer; }

  /* la roue ouverte depuis une page (« Je le vis maintenant ») passe devant la page */
  #detail.devant { z-index: 26; }

  /* PROTOCOLE — la couleur choisie : le bouton habituel pour passer a la suite */
  .b-lien.confirmer-choix { margin-top: var(--e5); }  /* le bouton habituel (.b-lien), juste espace */
  /* ce qui mene a une page pas encore ecrite */
  .b-lien-avenir { opacity: .45; cursor: default; }

  /* LES TUILES (marqueurs, routine) — icone au trait, NOM, question, fleche. De l'air.
     Nombre pair : deux colonnes. Impair : une tuile horizontale par ligne, l'icone a gauche. */
  .b-tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); }
  .b-tuile { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--e3);
    padding: var(--e4); background: none; border: 1px solid var(--trait); border-radius: var(--r-carte);
    font: inherit; text-align: left; color: var(--encre); cursor: pointer; }
  .b-tuile:active { background: var(--voile); }
  .b-tuile-icone { display: block; width: 2.125rem; color: var(--encre); }
  .b-tuile-icone svg { display: block; width: 100%; height: auto; }
  .b-tuile-texte { display: flex; flex-direction: column; gap: var(--e1); }
  .b-tuile-nom { font-size: .8rem; font-weight: 600; letter-spacing: .09em; }
  .b-tuile-detail { font-size: .85rem; font-weight: 300; line-height: 1.45; color: var(--gris); }
  .b-tuile-fleche { position: absolute; right: var(--e4); top: var(--e4); color: var(--gris); }
  .b-tuile-avenir { font-size: .75rem; letter-spacing: .08em; color: var(--gris); }
  .b-tuile[disabled] { cursor: default; }
  .b-tuile[disabled] .b-tuile-icone, .b-tuile[disabled] .b-tuile-texte { opacity: .45; }
  .b-tuiles-impair { grid-template-columns: 1fr; }
  .b-tuiles-impair .b-tuile { flex-direction: row; align-items: center; gap: var(--e4); }
  .b-tuiles-impair .b-tuile-fleche { position: static; margin-left: auto; }
  .b-tuiles-impair .b-tuile-avenir { margin-left: auto; }
  :is(.lecture, .b-section) > .b-tuiles { margin-top: var(--e5); margin-bottom: var(--e5); }
  .b-tuile-icone svg path { stroke-width: 1.8px; }

  /* LES SECTIONS — chaque partie de page est un bloc ; une sur deux sur un gris a peine visible,
     pour donner du relief sans toucher au code couleur (vert / jaune / rouge = le sens).
     Entre deux parties : --e5 + --e4 + --e5 = 89px (--e7). */
  .b-section { margin-top: var(--e4); padding: var(--e5) var(--e4); border-radius: var(--r-carte); }
  .b-section > :first-child { margin-top: 0 !important; }
  .b-section > :last-child { margin-bottom: 0 !important; }
  .b-section-intro { padding-left: 0; padding-right: 0; }
  .b-section-teinte { background: var(--voile); }  /* un gris a peine visible : on le sent plus qu'on ne le voit */
  .b-section-teinte :is(.b-tuile, .b-nuage, .b-silhouettes-cartes .b-silhouette, .b-encart, .b-encadre) { background: var(--fond); }

  /* LA QUESTION DE LA SEMAINE (carte question sans deux poles) : sur le gris a peine visible des sections,
     pour qu'on la repere tout de suite. La question du module garde son axe entre deux filets. */

  /* LA VIDEO — l'image et un bouton lecture ; le lecteur ne se charge qu'au toucher */
  .b-video { position: relative; margin: var(--e4) 0; width: 100%; aspect-ratio: 16 / 9;
    border-radius: var(--r-carte); overflow: hidden; background: var(--voile); }
  .b-video iframe, .b-video-lancer { display: block; width: 100%; height: 100%; border: 0; }
  .b-video-lancer { position: relative; padding: 0; background: none; cursor: pointer; }
  .b-video-lancer img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .b-video-bouton { position: absolute; left: 50%; top: 50%; width: var(--e6); height: var(--e6); margin: calc(var(--e6) / -2);
    border-radius: 50%; background: rgba(255, 255, 255, .92); }
  .b-video-bouton::after { content: ""; position: absolute; left: 53%; top: 50%; transform: translate(-50%, -50%);
    border-style: solid; border-width: .5rem 0 .5rem .8125rem; border-color: transparent transparent transparent var(--encre); }
  /* une video VERTICALE (YouTube Short) : 9:16, centree, 61,8 % de la largeur (jamais plus haute que 70 % de l'ecran), sans recadrer ni etirer */
  .b-video.b-video-vertical { aspect-ratio: 9 / 16; width: min(61.8%, 20rem, calc(70svh * 9 / 16)); margin-left: auto; margin-right: auto; }
  .b-video-avenir { display: flex; align-items: center; justify-content: center; aspect-ratio: auto; padding: var(--e5);
    font-size: .75rem; letter-spacing: .12em; color: var(--gris); }

  /* EN SAVOIR PLUS — intention et attention d'une pratique, repliées ; on les ouvre si on veut */
  .b-plus { margin-top: var(--e4); }
  .b-plus summary { display: inline-block; cursor: pointer; list-style: none; font-size: .75rem; font-weight: 500;
    letter-spacing: .12em; color: var(--gris); }
  .b-plus summary::-webkit-details-marker { display: none; }
  .b-plus summary::after { content: " +"; }
  .b-plus[open] summary::after { content: " −"; }
  .b-plus-titre { margin: var(--e4) 0 var(--e2); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--encre); }
  .b-plus-texte { margin: 0 0 var(--e2); font-size: .9rem; font-weight: 300; line-height: 1.7; color: var(--encre); }
  .b-plus .b-liste { margin: 0; }

  /* LE JOURNAL GUIDE — questions de la routine, choix de la roue, tout facultatif */
  .journal-guide { margin: var(--e5) 0 var(--e6); }
  .journal-guide-titre { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: var(--encre); }
  .journal-guide-sous { margin: var(--e2) 0 0; font-size: .88rem; font-style: italic; font-weight: 300; color: var(--gris); }
  .journal-q { margin-top: var(--e5); }
  .journal-q-tete { margin: 0 0 var(--e3); display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--e2); }
  .journal-q-nom { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--encre); }
  .journal-q-question { font-size: .95rem; font-weight: 400; line-height: 1.5; color: var(--encre); }
  .journal-choix { display: flex; flex-wrap: wrap; gap: var(--e2); }
  .journal-choix-bouton { display: inline-flex; align-items: center; gap: var(--e2); padding: var(--e2) var(--e3);
    background: none; border: 1px solid var(--trait); border-radius: 999px; font: inherit; font-size: .85rem;
    color: var(--encre); cursor: pointer; }
  .journal-choix-bouton.choisi { border-color: var(--selection); background: var(--voile); }
  .journal-choix-ciel .journal-choix-bouton { padding: var(--e2); border-radius: var(--r-carte); }
  .journal-choix-ciel .journal-choix-bouton svg { display: block; width: 2.125rem; height: 2.125rem; }
  .journal-rond { width: .8125rem; height: .8125rem; border-radius: 50%; }
  /* MON PROTOCOLE (30 oct.) : les signes du gratuit dans une bulle du journal, a la taille de la fleche (.nom-option .fleche-etat) */
  .journal-choix-bouton :is(.icone-trait, .journal-goutte) { display: flex; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }
  .journal-choix-bouton :is(.icone-trait, .journal-goutte) svg { display: block; width: 100%; height: 100%; }
  .journal-signe { min-width: 1em; font-size: 1.2rem; font-weight: 600; line-height: 1; text-align: center; }
  .journal-q-champ { display: block; width: 100%; margin-top: var(--e3); padding: var(--e3); box-sizing: border-box;
    border: 1px solid var(--trait); border-radius: var(--r-carte); font: inherit; font-size: 1rem; font-weight: 300; line-height: 1.7; color: var(--encre); resize: vertical; }   /* 11 nov. 2026 : 16 px (iPhone ne zoome plus la page au toucher), meme ecriture que le journal libre */
  .journal-guide-fin { margin: var(--e5) 0 0; font-size: .88rem; font-style: italic; font-weight: 300; line-height: 1.7; color: var(--gris); }

  /* LA ROUE D'ENTREE — le meme dessin que les roues du module */
  .roue svg { color: var(--encre); }
  .roue text.roue-nom { font-size: 17px; font-weight: 600; letter-spacing: .04em; }

  /* LE PARCOURS GUIDE — plein ecran, une etape a la fois */
  #parcours { z-index: 27; display: block; bottom: 0; overflow-y: auto; background: var(--fond);
    opacity: 0; transition: opacity .3s ease; }
  #parcours.actif { opacity: 1; }
  .parcours-corps { max-width: 34rem; margin: 0 auto; padding: calc(var(--haut, 0px) + var(--e6)) var(--e4) var(--e7); }
  .parcours-tete { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); margin-bottom: var(--e6); }
  .parcours-nom { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--gris); }
  .parcours-ronds { display: flex; gap: var(--e2); }
  .parcours-rond { width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid var(--encre); box-sizing: border-box; }
  .parcours-rond.fait { background: var(--encre); }
  .parcours-rond.ici { background: var(--encre); transform: scale(1.4); }
  .parcours-rang { margin: 0 0 var(--e2); font-size: .75rem; font-weight: 600; letter-spacing: .16em; color: var(--gris); }
  .parcours-titre { margin: 0 0 var(--e5); font-size: 1.6rem; font-weight: 600; line-height: 1.2; color: var(--encre); }
  .parcours-texte { margin: 0 0 var(--e4); font-size: 1rem; font-weight: 300; line-height: 1.8; color: var(--encre); }
  .parcours-apres { color: var(--gris); }
  .parcours-souffle { display: flex; justify-content: center; margin: var(--e6) 0 var(--e4); }
  .parcours-souffle-rond { width: 5.5625rem; height: 5.5625rem; border-radius: 50%; background: var(--encre);
    transform: scale(.45); transition-property: transform; transition-timing-function: ease-in-out; }
  .parcours-souffle-rond.ouvert { transform: scale(1); }
  .parcours-souffle-mot { min-height: 1.5em; margin: 0 0 var(--e5); text-align: center; font-size: .9rem; letter-spacing: .06em; color: var(--gris); }
  .parcours-questions { margin: var(--e4) 0; }
  .parcours-question { margin: 0 0 var(--e4); font-size: 1.15rem; font-weight: 400; line-height: 1.5; color: var(--encre);
    opacity: 0; transform: translateY(.5rem); transition: opacity .6s ease, transform .6s ease; }
  .parcours-question.vu { opacity: 1; transform: none; }
  .parcours-fermer { margin: var(--e5) 0; text-align: center; }
  .parcours-compte { margin: var(--e4) 0 0; font-size: 3.4375rem; font-weight: 300; line-height: 1; color: var(--encre); }
  .parcours-rouvre { margin: var(--e4) 0 0; font-size: 1.05rem; font-style: italic; color: var(--encre); text-align: center; }
  .parcours-choix { margin-top: var(--e5); }
  .parcours-choix-nom { margin: 0 0 var(--e1); font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--encre); }
  .parcours-choix-question { margin: var(--e4) 0 var(--e3); font-size: .92rem; font-weight: 300; line-height: 1.6; color: var(--gris); }
  .parcours-phrase { min-height: 3.2em; margin: var(--e5) 0; font-size: 1.15rem; font-style: italic; line-height: 1.5;
    color: var(--encre); text-align: center; opacity: 0; transition: opacity .4s ease; }
  .parcours-phrase.vu { opacity: 1; }
  .parcours-pied { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); margin-top: var(--e6);
    padding-top: 0; border-top: 0; }   /* plus de trait au-dessus du bouton (29 octobre 2026) */
  .parcours-retour { padding: var(--e2) var(--e3); background: none; border: 0; font: inherit; font-size: 1.1rem; color: var(--gris); cursor: pointer; }
  .parcours-suite { margin: 0 0 0 auto; }
  .parcours-fermer-tout { position: fixed; top: calc(var(--haut, 0px) + var(--e3)); right: var(--e3); width: 2.125rem; height: 2.125rem;
    border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--gris); cursor: pointer; }
  .parcours-final { display: flex; flex-direction: column; justify-content: center; min-height: 70vh; text-align: center; }
  @media (prefers-reduced-motion: reduce) {
    .parcours-souffle-rond { transition: none; transform: scale(.7); }
    .parcours-question, .parcours-phrase { transition: none; }
  }

  /* JE GARDE CET INSTANT — un viseur au trait (quatre coins), un rond vert qui respire lentement ;
     au toucher : un eclair doux, le viseur se resserre, « C'est garde en toi ». Rien n'est enregistre. */
  .capture-bloc { margin: var(--e5) auto 0; text-align: center; }
  .capture-viseur { position: relative; width: 9rem; height: 9rem; margin: 0 auto;
    --coin: linear-gradient(var(--encre), var(--encre));
    background: var(--coin) top left / var(--e4) 1px no-repeat, var(--coin) top left / 1px var(--e4) no-repeat,
      var(--coin) top right / var(--e4) 1px no-repeat, var(--coin) top right / 1px var(--e4) no-repeat,
      var(--coin) bottom left / var(--e4) 1px no-repeat, var(--coin) bottom left / 1px var(--e4) no-repeat,
      var(--coin) bottom right / var(--e4) 1px no-repeat, var(--coin) bottom right / 1px var(--e4) no-repeat; }
  .capture-rond { position: absolute; inset: var(--e5); border-radius: 50%; background: var(--vert); opacity: .85; }
  .capture-viseur::after { content: ""; position: absolute; inset: 0; background: var(--fond); opacity: 0; pointer-events: none; }
  .capture-gardee { margin: var(--e5) 0 0; font-size: .95rem; font-weight: 500; color: var(--vert); }
  @media (prefers-reduced-motion: no-preference) {
    .capture-rond { animation: capture-respire 6s ease-in-out infinite; }
    .capture-prise .capture-viseur { animation: capture-declic .8s ease-out; }
    .capture-prise .capture-viseur::after { animation: capture-eclair .8s ease-out; }
    .capture-gardee { animation: capture-gardee .8s ease-out; }
  }
  @keyframes capture-respire { 0%, 100% { transform: scale(.8); } 50% { transform: scale(1); } }
  @keyframes capture-declic { 0% { transform: scale(1); } 30% { transform: scale(.87); } 100% { transform: scale(1); } }
  @keyframes capture-eclair { 0% { opacity: 0; } 15% { opacity: .9; } 100% { opacity: 0; } }
  @keyframes capture-gardee { from { opacity: 0; } to { opacity: 1; } }

  /* OU EST LA PEUR — la silhouette et ses zones : des points rouges s'allument un a un, de la tete aux jambes
     (un scan) ; on touche l'endroit ou on la sent, le point reste et palpite. */
  .zones-bloc, .mains-bloc { margin: var(--e5) auto 0; text-align: center; }
  .zones-figure { position: relative; height: 15.5rem; aspect-ratio: 216 / 572; margin: 0 auto; }
  .zones-figure .figure { width: 100%; height: 100%; background-color: var(--dessin);
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-position: center; mask-position: center;
    -webkit-mask-size: contain; mask-size: contain; }
  .zone-point { position: absolute; width: var(--e5); height: var(--e5); margin: calc(var(--e5) / -2) 0 0 calc(var(--e5) / -2);
    padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .zone-point::before, .zone-point::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; pointer-events: none; }
  .zone-point::before { width: var(--e3); height: var(--e3); margin: calc(var(--e3) / -2) 0 0 calc(var(--e3) / -2);
    background: var(--rouge); opacity: .22; }
  .zone-point::after { width: var(--e5); height: var(--e5); margin: calc(var(--e5) / -2) 0 0 calc(var(--e5) / -2);
    border: 1px solid var(--rouge); opacity: 0; }
  .zone-point.choisi::before { opacity: 1; }
  .zones-nom { margin: var(--e4) 0 0; min-height: 1.6em; font-size: .95rem; color: var(--gris); }
  .zones-bloc.touche .zones-nom { color: var(--encre); font-weight: 500; }
  @media (prefers-reduced-motion: no-preference) {
    .zones-bloc:not(.touche) .zone-point::before {
      animation: zone-scan calc(var(--nombre) * .9s) ease-in-out infinite; animation-delay: calc(var(--rang) * .9s); }
    .zone-point.choisi::after { animation: zone-palpite 1.6s ease-out infinite; }
  }
  @keyframes zone-scan {
    0% { opacity: .22; transform: scale(.8); }
    7% { opacity: 1; transform: scale(1.25); }
    16% { opacity: 1; transform: scale(1); }
    26%, 100% { opacity: .22; transform: scale(.8); }
  }
  @keyframes zone-palpite { 0% { opacity: .8; transform: scale(.4); } 100% { opacity: 0; transform: scale(1.4); } }

  /* MES MAINS SUR LA ZONE — le geste se joue sur la zone touchee, un geste apres l'autre (construireMains) */
  .mains-bloc .zones-figure { height: 9rem; }
  .mains-bloc .zone-point { cursor: default; }
  .mains-bloc .zone-point::before { opacity: 1; }
  .mains-geste { margin: var(--e4) 0 0; min-height: 1.6em; font-size: 1rem; font-weight: 500; color: var(--encre); }
  @media (prefers-reduced-motion: no-preference) {
    .mains-geste.vu { animation: capture-gardee .6s ease-out; }
    [data-geste="tapote"] .zone-point::before { animation: geste-tapote .5s ease-out infinite; }
    [data-geste="tapote"] .zone-point::after { animation: zone-palpite .5s ease-out infinite; }
    [data-geste="masse"] .zone-point::before { animation: geste-cercle 1.1s linear infinite; --rayon: 3px; }
    [data-geste="appuie"] .zone-point::before { animation: geste-appuie 1.7s ease-in-out infinite; }
    [data-geste="appuie"] .zone-point::after { animation: geste-appuie-halo 1.7s ease-in-out infinite; }
    [data-geste="cercles"] .zone-point::before { animation: geste-cercle 1.6s linear infinite; --rayon: 8px; }
    [data-geste="secoue"] .zone-point::before { animation: geste-secoue .2s ease-in-out infinite; }
  }
  @keyframes geste-tapote { 0%, 100% { transform: scale(1); } 30% { transform: scale(.65); } }
  @keyframes geste-cercle { from { transform: rotate(0) translateX(var(--rayon)) rotate(0); }
    to { transform: rotate(360deg) translateX(var(--rayon)) rotate(-360deg); } }
  @keyframes geste-appuie { 0%, 100% { transform: scale(1); } 35%, 65% { transform: scale(.6); } }
  @keyframes geste-appuie-halo { 0%, 100% { opacity: 0; transform: scale(1); } 35%, 65% { opacity: .7; transform: scale(.55); } }
  @keyframes geste-secoue { 0%, 100% { transform: translateX(-3px); } 50% { transform: translateX(3px); } }

  /* le souffle autour du corps : le cercle s'ouvre a l'inspire, se referme a l'expire (construireMains) */
  .mains-scene { position: relative; display: grid; place-items: center; width: 13rem; height: 13rem; margin: 0 auto; }
  .mains-souffle { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--trait); background: var(--voile); transform: scale(.78); }
  .mains-scene .zones-figure { position: relative; height: 9rem; }
  .mains-nombre { margin: var(--e2) 0 0; min-height: 1.2em; font-size: 2.4rem; font-weight: 300; line-height: 1.2; color: var(--encre); }
  .mains-nombre + .mains-respire { margin-top: 0; }
  .mains-respire { margin: var(--e2) 0 0; min-height: 1.6em; font-size: .9rem; color: var(--gris); }

  /* JE VALIDE — le corps et ses zones rouges ; des ondes vertes en sortent et l'enveloppent :
     la peur reste la, et c'est OK. La phrase dite a voix haute tient sur une ligne. */
  #detailTitre.une-ligne { white-space: nowrap; font-size: clamp(.875rem, 4.3vw, 1.0625rem); letter-spacing: 0; }
  @media (min-width: 760px) { #detailTitre.une-ligne { font-size: 1.3125rem; } }
  .valide-scene { position: relative; display: grid; place-items: center; width: 13rem; height: 13rem; margin: var(--e5) auto 0; }
  .valide-scene .zones-figure { position: relative; height: 9rem; }
  .valide-onde { position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid var(--vert); opacity: 0; transform: scale(.5); }
  .valide-halo { position: absolute; inset: var(--e3); border-radius: 50%; background: rgba(31, 157, 85, .07); }
  @media (prefers-reduced-motion: no-preference) {
    .valide-onde { animation: valide-onde 3.4s ease-out infinite; }
    .valide-onde + .valide-onde { animation-delay: 1.7s; }
    .valide-halo { animation: valide-halo 3.4s ease-in-out infinite; }
  }
  @keyframes valide-onde { 0% { opacity: 0; transform: scale(.45); } 15% { opacity: .8; } 100% { opacity: 0; transform: scale(1.05); } }
  @keyframes valide-halo { 0%, 100% { opacity: .6; } 50% { opacity: 1; } }

  /* sous le corps, la phrase a nommer remonte au rythme de la grille, et tient sur sa ligne */
  #detailVisuel:has(.zones-bloc) ~ .note-etape { margin-top: var(--e4); max-width: 21rem; }

  /* LA PENSEE QUI PASSE — le ciel choisi traverse l'ecran, lentement, et s'eloigne (construirePassage) */
  .passe-scene { position: relative; height: 8.5rem; margin: var(--e5) auto 0; max-width: 21rem; overflow: hidden; }
  .passe-nuage { position: absolute; top: 50%; left: 50%; width: 5.5rem; margin: -2.75rem 0 0 -2.75rem; }
  .passe-nuage svg { display: block; width: 100%; height: auto; }
  @media (prefers-reduced-motion: no-preference) {
    .passe-nuage { animation: passe-nuage 8s ease-in-out infinite; }
  }
  @keyframes passe-nuage {
    0% { transform: translateX(-11rem); opacity: 0; }
    20% { opacity: 1; }
    50% { transform: translateX(0); opacity: 1; }
    80% { opacity: .9; }
    100% { transform: translateX(11rem); opacity: 0; }
  }

  /* la phrase composee avec les mots de la personne (« Je fais… parce que j'ai peur de… ») : lisible sans deborder */
  .protocole.centre #detailTitre.phrase { font-size: 1.3125rem; line-height: 1.5; }

  /* les reperes de la roue dans une ligne d'etape : pastilles, ciels et signes, au meme rythme */
  .icone-texte { display: inline-block; width: 1.5em; height: 1.5em; margin-right: var(--e2); vertical-align: -.45em; }
  .icone-texte svg { display: block; width: 100%; height: 100%; }
  .b-etape-entree .point-couleur { width: .8em; height: .8em; margin-right: var(--e2); vertical-align: -.05em; }

  /* L'EXPLORATION, DOUCEMENT — on promene son regard dans le corps : pas les points rouges de la peur,
     des points neutres qui s'allument comme un regard ; les questions au centre ; le gong pour les yeux fermes */
  .parcours .parcours-questions { text-align: center; }
  .parcours .parcours-question { font-size: 1.125rem; font-weight: 300; line-height: 1.6; }
  .parcours .zone-point::before { background: var(--encre); opacity: .1; }
  .parcours .zone-point::after { border-color: var(--encre); }
  .parcours .zone-point.choisi::before { opacity: .75; }
  .parcours .zones-bloc:not(.touche) .zone-point::before { animation-name: zone-regard; }
  @keyframes zone-regard {
    0% { opacity: .1; transform: scale(.8); }
    9% { opacity: .45; transform: scale(1.3); }
    26%, 100% { opacity: .1; transform: scale(.8); }
  }
  .parcours .mains-souffle { background: var(--fond); }
  .parcours-libre { margin-top: var(--e3); font-size: .95rem; }
  .parcours-gong-consigne { text-align: center; }
  .parcours-gong { position: relative; width: var(--e7); height: var(--e7); margin: var(--e5) auto 0; }
  .parcours-gong-onde { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--encre); opacity: .25; }
  @media (prefers-reduced-motion: no-preference) {
    .parcours-gong-onde { animation: gong-onde 3.4s ease-out infinite; }
  }
  @keyframes gong-onde { 0% { transform: scale(.3); opacity: .45; } 100% { transform: scale(1); opacity: 0; } }

  /* L'ETAPE D'UNE EXPLORATION : titre et consigne en un bloc serre (--e3), puis l'exercice apres --e6 */
  .parcours-consigne { margin: 0 0 var(--e6); }
  .parcours-consigne .parcours-titre { margin-bottom: var(--e3); }
  .parcours-consigne .parcours-texte { margin-bottom: var(--e3); }
  .parcours-consigne .parcours-texte:last-child { margin-bottom: 0; }
  .parcours-gong-encore { margin-top: var(--e4); }

  /* LE GONG — le cercle habituel du souffle, qu'on touche : pendant les yeux fermes il grandit et retrecit (deux souffles) */
  .parcours-fermer { display: flex; flex-direction: column; align-items: center; }
  .parcours-gong-disque { display: grid; place-items: center; width: 5.5625rem; height: 5.5625rem; padding: 0; border: 0;
    background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .parcours-gong-rond { display: block; transition: none; }
  .parcours-gong-nom { margin: var(--e4) 0 0; min-height: 1.6em; font-size: 1rem; font-weight: 500; color: var(--encre); text-align: center; }
  .parcours-gong-consigne { margin: var(--e2) 0 0; min-height: 1.4em; font-size: .78rem; font-weight: 300; color: var(--gris); text-align: center; }
  @media (prefers-reduced-motion: no-preference) {
    .parcours-gong-disque.sonne .parcours-gong-rond { animation: gong-souffle 8s ease-in-out 2; }
  }
  @keyframes gong-souffle { 0%, 100% { transform: scale(.45); } 50% { transform: scale(1); } }
  .parcours-souffle-gong { cursor: pointer; -webkit-tap-highlight-color: transparent; }
  .parcours-souffle-gong + .parcours-souffle-mot { margin-bottom: 0; color: var(--encre); font-weight: 500; }
  /* au repos, le cercle du gong palpite doucement : on voit tout de suite qu'il attend qu'on le touche */
  @media (prefers-reduced-motion: no-preference) {
    .parcours-gong-disque:not(.sonne) .parcours-gong-rond,
    .parcours-souffle-gong .parcours-souffle-rond:not(.ouvert) { animation: gong-attente 2.2s ease-in-out infinite; }
  }
  @keyframes gong-attente { 0%, 100% { transform: scale(.45); } 50% { transform: scale(.56); } }

  /* LES CATEGORIES DE TEXTE DES EXPLORATIONS (et des outils de la roue) — une seule regle chacune :
     ACTION sous un visuel (« Touche le cercle… », « Touche les zones… », « J'inspire », « Je tapote ») :
       petite, noire, legerement espacee ;
     INDICATION (« Au gong, respire avec lui », « Rouvre-les au second gong ») : tres petite, grise. */
  /* .souffle-mot (« J'inspire par le nez. » sous le rond du souffle de la roue) rejoint la categorie ACTION : meme style que « Mes mains sur… » (30 oct., Matylda) */
  .parcours-souffle-mot, .souffle-mot, .parcours-gong-nom, .zones-nom, .zones-bloc.touche .zones-nom, .mains-geste, .reveil-texte, .action-choisie {
    font-size: .9rem; font-weight: 500; letter-spacing: .06em; line-height: 1.5; color: var(--encre); text-align: center; }
  .parcours-gong-consigne, .mains-respire { font-size: .78rem; font-weight: 300; letter-spacing: 0; color: var(--gris); }
  .parcours-prive { margin: var(--e5) 0 0; text-align: left; }
  .journal-prive { margin: var(--e3) 0 0; font-size: .78rem; font-weight: 300; color: var(--gris); }

  /* un choix : son nom et sa question se tiennent (--e1) ; la note apres un exercice est une INDICATION, petite et grise */
  .parcours-choix-nom + .parcours-choix-question { margin-top: var(--e1); }
  .parcours-texte.parcours-apres { margin-top: var(--e4); font-size: .875rem; line-height: 1.6; color: var(--gris); }

  /* LA VOIX DE MATYLDA — rare, toujours la meme allure : petite, en italique ; l'app parle comme elle (« Même moi… ») */
  .voix-matylda { margin: 0; font-size: .82rem; font-style: italic; font-weight: 300; line-height: 1.5; color: var(--gris); }
  /* en bas d'une ecriture : la voix de Matylda a gauche, « C'est pose » a droite, sur la meme ligne */
  .ecrire-envoi { display: flex; align-items: center; justify-content: space-between; gap: var(--e4); margin-top: var(--e4); }
  .ecrire-envoi .voix-matylda { flex: 1; }
  .ecrire-envoi .envoyer { flex: 0 0 auto; margin: 0; }
  .journal-prive { margin-top: var(--e3); }

  /* le bouton qui lance une exploration : blanc, pour ressortir sur la carte grise ; une indication petite et centree dessous */
  .b-parcours { background: var(--fond); }
  :is(.lecture, .b-section) > .b-texte + .b-parcours { margin-top: var(--e5); }
  .b-indication { margin: var(--e4) auto 0; max-width: 21rem; font-size: .82rem; font-weight: 300; line-height: 1.6;
    color: var(--gris); text-align: center; }
  .b-indication { text-wrap: balance; }  /* des lignes equilibrees : jamais un mot seul en dessous */

  /* une petite icone au trait en haut a droite de l'en-tete (ex. la playlist) */
  .b-entete-coin { flex: 0 0 auto; align-self: flex-start; width: var(--e5); color: var(--encre); margin-left: auto; }
  .b-entete-coin svg { display: block; width: 100%; height: auto; }
  /* le lecteur Spotify dans la page */
  .b-spotify { display: block; width: 100%; height: 352px; margin: var(--e5) 0 0; border: 0; border-radius: var(--r-carte); }
  /* les morceaux d'une playlist respirent un peu plus */
  .lecture .b-etape.b-morceau { margin: var(--e7) 0; }

  /* NORME — une INDICATION (petite ligne sous un bouton ou une carte) se pose toujours a --e4 de ce qui la precede,
     meme quand elle sort de la carte grise : sa partie n'ajoute pas son propre espace */
  .b-section-intro:has(> .b-indication:first-child) { margin-top: var(--e4); padding-top: 0; }
  .b-section-intro > .b-indication:first-child { margin-top: 0; }

  /* NORME — un bouton pose sur une carte grise est toujours BLANC, pour ressortir (sections grises, etapes, appels) */
  :is(.b-section-teinte, .b-etape, .lecture .b-appel:not(.b-appel-deux)) :is(.b-lien, .b-parcours, .bouton-page) { background: var(--fond); }
  /* les images des explorations (vignettes du Notion) : 38,2 %, avant L'OBJECTIF */
  .b-dessin.b-dessin-section svg[data-sens="vignette"] { width: 38.2%; }

  /* LE MOMENT DE CONNEXION — la roue officielle ; seul le centre se touche ; a chaque gong, un quartier s'eclaire */
  .connexion { display: flex; flex-direction: column; align-items: center; margin-top: var(--e5); }
  .roue.connexion-roue { width: 100%; max-width: 21rem; margin: 0 auto; }
  .connexion-quart { fill: currentColor; fill-opacity: 0; transition: fill-opacity 1.6s ease; }
  .connexion-quart.allume { fill-opacity: .08; }
  .connexion-roue text { pointer-events: none; }
  .connexion-roue .noyau { transform-box: fill-box; transform-origin: center; }
  @media (prefers-reduced-motion: no-preference) {
    .connexion:not(.en-cours) .connexion-roue .noyau { animation: connexion-attente 2.2s ease-in-out infinite; }
  }
  @keyframes connexion-attente { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }

  /* LA FIN DU JOURNAL GUIDE — la phrase de fin, presente (pas d'italique, reserve a la voix de Matylda),
     centree juste au-dessus du bouton, lui aussi centre ; la ligne « entierement prive » centree dessous */
  .journal-guide-fin { margin: var(--e6) auto 0; max-width: 21rem; font-size: .95rem; font-style: normal; font-weight: 400;
    line-height: 1.7; color: var(--encre); text-align: center; text-wrap: balance; }
  .journal-guide .envoyer { margin: var(--e4) auto 0; }
  .journal-prive { text-align: center; text-wrap: balance; }

  /* UNE CARTE DU JOURNAL, RELUE — les memes signes que pendant qu'on la remplit (pastilles, ciel, + = −) */
  .note-carte { display: block; }
  .note-carte-titre { display: block; margin: 0 0 var(--e3); font-size: .75rem; font-weight: 600; letter-spacing: .12em;
    text-transform: uppercase; color: var(--encre); }
  .note-carte-ligne { display: flex; align-items: center; justify-content: space-between; gap: var(--e3);
    min-height: 2.25rem; padding: var(--e1) 0; }
  .note-carte-nom { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--encre); }
  .note-carte-question { font-size: .85rem; font-weight: 300; line-height: 1.5; color: var(--gris); }
  .note-carte-choix { display: inline-flex; align-items: center; gap: var(--e2); flex: 0 0 auto;
    font-size: .88rem; font-weight: 400; color: var(--encre); }
  .note-carte-choix svg { display: block; width: 1.75rem; height: 1.75rem; }
  .note-carte-texte { display: block; margin: 0 0 var(--e3); font-size: .92rem; font-weight: 300; line-height: 1.6; color: var(--encre); }
  /* MON PROTOCOLE (gratuit) : une reponse ecrite, au format des choix, a droite de sa question ; longue, elle va a la ligne dans sa colonne */
  .note-carte-choix.note-carte-choix-texte { display: block; flex: 0 1 55%; margin-left: auto; text-align: right; line-height: 1.5; overflow-wrap: anywhere; white-space: pre-line; }
  .menu-sous[hidden] { display: none; }

  /* LES PHASES DU MODULE — des tuiles comme les marqueurs ; a gauche, le chiffre de la phase dans le caractere des en-tetes */
  .b-tuile-chiffre { flex: 0 0 var(--e6); text-align: center;
    font-family: "Times New Roman", Times, serif; font-size: 3.4rem; font-weight: 400; line-height: 1; color: var(--encre);
    display: flex; align-items: center; justify-content: center; }
  /* l'etat de la phase, comme MON EVOLUTION : en cours = bleu, termine = vert, a venir = gris */
  .b-tuile-encours { border-color: var(--bleu); }
  .b-tuile-fini { border-color: var(--vert); }
  .b-tuile[disabled] .b-tuile-chiffre { opacity: .45; }
  /* une par ligne (nombre impair) : le visuel prend plus de place, a gauche */
  .b-tuiles-impair .b-tuile-icone { flex: 0 0 var(--e6); width: var(--e6); }

  /* LES ECRANS DE FIN DU PROTOCOLE — « Peur ou confiance ? », « Magnifique. », « Pas de souci. »
     Meme langage que le reste : blanc, trait fin, tuiles a .7rem, boutons a contour, un seul point vert qui respire */
  .protocole[data-etape="nomme"] :is(.compteur-etape, .etape-titre, .note-etape) { text-align: center; }
  .protocole[data-etape="nomme"] .etape-titre { max-width: none; font-size: 1.6rem; font-weight: 600; line-height: 1.25; letter-spacing: .02em; }
  .protocole[data-etape="nomme"] .nomination { margin-top: var(--e5); gap: var(--e3); }
  .protocole[data-etape="nomme"] .nom-option { padding: var(--e4); background: var(--fond); border-radius: var(--r-carte); font-size: 1rem; }
  .protocole[data-etape="nomme"] .note-etape { margin-top: var(--e5); font-size: .78rem; font-weight: 300; line-height: 1.6; color: var(--gris); }

  .protocole[data-etape="centre"] .etape-titre::before, .protocole[data-etape="encore"] .bouton-page .pastille-lien { animation: fin-respire 3.4s ease-in-out infinite; }
  .protocole[data-etape="centre"] .etape-titre::before { content: ""; display: block; width: var(--e5); height: var(--e5);
    margin: 0 auto var(--e5); border-radius: 50%; background: var(--vert); }
  @keyframes fin-respire {
    0%, 100% { box-shadow: 0 0 0 var(--e2) rgba(31, 157, 85, .16), 0 0 0 var(--e4) rgba(31, 157, 85, .07); }
    50% { box-shadow: 0 0 0 var(--e3) rgba(31, 157, 85, .10), 0 0 0 var(--e5) rgba(31, 157, 85, .03); }
  }
  @media (prefers-reduced-motion: reduce) {
    .protocole[data-etape="centre"] .etape-titre::before, .protocole[data-etape="encore"] .bouton-page .pastille-lien { animation: none;
      box-shadow: 0 0 0 var(--e2) rgba(31, 157, 85, .14); }
  }
  .protocole.accent[data-etape="centre"] .etape-titre { margin-bottom: var(--e2); font-size: 2rem; }
  .protocole.accent[data-etape="centre"] .etape-texte { font-size: 1.2rem; }
  .protocole.accent[data-etape="centre"] .etape-precision { text-align: center; max-width: 21rem; margin: var(--e5) auto 0; padding-top: var(--e5); border-top: 1px solid var(--trait); }
  .fin-question { display: block; font-size: 1.02rem; font-weight: 400; line-height: 1.5; color: var(--encre); }
  .fin-rappel { display: block; margin-top: var(--e3); font-size: .78rem; font-weight: 300; line-height: 1.6; color: var(--gris); }
  .protocole:is([data-etape="centre"], [data-mise="fin-niveau"]) .lien-page { display: block; width: fit-content; max-width: none; margin: var(--e5) auto 0; padding: var(--e2) var(--e4);
    background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--encre); }

  .protocole.accent.discret[data-etape="encore"] .etape-titre { margin-bottom: var(--e2); font-size: 1.35rem; font-weight: 300; color: var(--gris); }
  .protocole.accent[data-etape="encore"] .bouton-page { max-width: 19rem; margin-top: var(--e5); padding: var(--e5) var(--e4); gap: var(--e4);
    background: var(--fond); border: 1px solid var(--encre); border-radius: var(--r-carte); font-size: 1.2rem; line-height: 1.35; }
  .protocole.accent[data-etape="encore"] .bouton-page:active { background: var(--voile); }

  /* NORME TYPO — un seul LIBELLE (rang, sur-titre, titre d'un bloc replie) et une seule INDICATION ; le reste suit la grille de la capsule */
  :is(.b-etape-rang, .b-plus-titre, .b-citation-titre, .b-encart-titre, .b-appel-avant, .b-silhouette-titre) {
    font-size: .75rem; font-weight: 600; letter-spacing: .12em; }
  .b-indication, .b-marqueur-retour, .fenetre-pied { font-size: .78rem; }
  .b-entete-module { font-size: .75rem; letter-spacing: .12em; }  /* « FONDATION · PHASE 1 · MARQUEURS » tient sur une ligne a cote de l icone */

  /* LE REVEIL (quand ça descend) — un geste dessine qui bouge, puis un choix a un toucher, qui n'apparait qu'apres quelques secondes */
  .reveil-geste { display: flex; justify-content: center; margin: var(--e4) 0 var(--e3); color: var(--encre); }
  .reveil-geste svg { display: block; width: var(--e7); height: var(--e7); overflow: visible; }
  .reveil-vibre, .reveil-sol { opacity: .35; }
  .nom-option-texte { display: flex; flex-direction: column; align-items: flex-start; gap: var(--e1); text-align: left; }
  .nom-option-detail { font-size: .78rem; font-weight: 300; line-height: 1.5; color: var(--gris); }
  .nomination-compact { gap: var(--e2); }
  .nomination-compact .nom-option { padding: var(--e3) var(--e4); font-size: .95rem; }
  .nomination-attente:not(.active) { animation: reveil-apparait .8s ease 8s both; }
  @keyframes reveil-apparait { from { opacity: 0; visibility: hidden; } to { opacity: 1; visibility: visible; } }
  @media (prefers-reduced-motion: no-preference) {
    .reveil-main .reveil-mobile { transform-origin: 52px 84px; animation: reveil-secoue .3s ease-in-out infinite; }
    .reveil-main .reveil-vibre { animation: reveil-clignote .3s ease-in-out infinite; }
    .reveil-pieds .reveil-mobile { animation: reveil-presse 1.7s ease-in-out infinite; }
    .reveil-regard .reveil-mobile { animation: reveil-regarde 3.4s ease-in-out infinite; }
    .reveil-secouer .reveil-mobile { transform-origin: 50px 62px; animation: reveil-tremble .24s ease-in-out infinite; }
    .reveil-secouer .reveil-vibre { animation: reveil-clignote .24s ease-in-out infinite; }
    .reveil-sauter .reveil-mobile { animation: reveil-saute .8s ease-in-out infinite; }
  }
  @keyframes reveil-secoue { 0%, 100% { transform: rotate(-9deg); } 50% { transform: rotate(9deg); } }
  @keyframes reveil-clignote { 0%, 100% { opacity: .15; } 50% { opacity: .55; } }
  @keyframes reveil-presse { 0%, 100% { transform: translateY(-4px); } 50% { transform: translateY(4px); } }
  @keyframes reveil-regarde { 0%, 100% { transform: translateX(-16px); } 50% { transform: translateX(16px); } }
  @keyframes reveil-tremble { 0%, 100% { transform: rotate(-4deg) translateX(-2px); } 50% { transform: rotate(4deg) translateX(2px); } }
  @keyframes reveil-saute { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-16px); } }
  .nomination-invite { margin: 0; text-align: center; font-size: .9rem; font-weight: 500; letter-spacing: .06em; color: var(--encre); }
  .parcours-gong-consigne { text-wrap: balance; max-width: 21rem; }

  /* le reveil : le texte n'est plus au-dessus mais sous le dessin, colle a lui ; il suit la categorie « action » */
  /* les gestes du reveil : la consigne est a sa place habituelle, sous le titre (18 octobre 2026) */
  .reveil-geste { flex-direction: column; align-items: center; margin: var(--e4) 0 var(--e3); }
  .reveil-texte { margin: var(--e2) 0 0; max-width: 21rem; white-space: pre-line; }

  /* LA FLECHE D'ETAT — rouge qui monte, bleue qui descend : la meme dans tout le module (choix, signaux, fenetre, en-tete des branches, textes) */
  .fleche-etat { display: inline-flex; vertical-align: -.2em; width: 1.1em; height: 1.1em; margin-right: .3em; }
  .fleche-etat svg { display: block; width: 100%; height: 100%; }
  .fleche-monte { color: var(--rouge); }
  .fleche-descend { color: var(--bleu); }
  .nom-option .fleche-etat, .bande-tete .fleche-etat, .transition .fleche-etat { flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin-right: 0; vertical-align: 0; }
  /* dans la fenetre : la fleche prend la place exacte de la pastille (meme colonne que « Calme ») */
  .fenetre .fleche-etat { width: 1.1rem; height: 1.1rem; margin: 0 -.1rem; }

  /* REGLE — SUR UN ECRAN DE ROUE, TOUT CE QUI SE TOUCHE TIENT DANS L'ECRAN (390 x 700 px), SANS DEFILER.
     Une personne en activation ne cherche pas : le geste principal est dans le haut de l'ecran, les explications passent SOUS
     le bouton, jamais entre le choix et le bouton. Aucun espace reserve a du texte vide. (verifie par outils/parcourir-protocoles) */
  .protocole-interieur { padding: calc(var(--haut) + var(--e6)) 1.75rem var(--e5); }
  .etape-titre { margin-bottom: var(--e4); }
  .protocole-interieur:has(.corps-bloc) .etape-texte { min-height: 3.6em; }
  .corps-bloc { margin-top: var(--e4); }
  .corps-bloc .figure { height: clamp(8rem, 24svh, 15.5rem); }
  .pastilles { margin-top: var(--e4); }
  .b-lien.confirmer-choix { margin-top: var(--e3); }
  /* le gong dans la roue : le cercle est plus petit, ses mots plus serres (dans une exploration, il garde sa taille) */
  .protocole .parcours-gong-disque, .protocole .parcours-gong-rond { width: var(--e6); height: var(--e6); }
  .protocole .parcours-gong-nom { margin-top: var(--e2); min-height: 0; }
  .protocole .parcours-gong-consigne { margin-top: var(--e1); min-height: 0; }
  .renvois { margin-top: var(--e4); padding-top: var(--e3); gap: var(--e2); }
  .renvoi { padding: var(--e2) var(--e3); }

  /* MES RAPPELS — chaque ligne : le nom et sa phrase a gauche, l'heure et l'interrupteur a droite */
  .rappels { margin-top: var(--e5); }
  .rappel-ligne { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--e3) var(--e4); padding: var(--e4) 0; border-top: 1px solid var(--trait); }
  .rappel-ligne .rappel-texte { flex: 1 1 12rem; }
  .rappel-ligne .rappel-commande { margin-left: auto; }
  .rappel-ligne:last-of-type { border-bottom: 1px solid var(--trait); }
  .rappel-texte { display: flex; flex-direction: column; gap: var(--e1); min-width: 0; }
  .rappel-nom { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--encre); }
  .rappel-detail { font-size: .78rem; font-weight: 300; line-height: 1.5; color: var(--gris); }
  .rappel-commande { display: flex; align-items: center; gap: var(--e3); flex: 0 0 auto; }
  input.rappel-heure { width: 6rem; padding: var(--e2) var(--e3); font-size: .9rem; text-align: center; border-radius: var(--r-carte); }
  .interrupteur-pilule { min-width: 5.75rem; margin: 0; padding: var(--e2) var(--e3); letter-spacing: .06em; text-align: center; color: var(--gris); }
  .interrupteur-pilule.allume { color: var(--encre); border-color: var(--encre); }
  .rappel-fuseau { margin: var(--e4) 0 0; font-size: .78rem; font-weight: 300; line-height: 1.6; color: var(--gris); text-align: center; text-wrap: balance; }
  .rappel-telephone { margin-top: var(--e5); text-align: center; }
  .rappel-message { margin: 0 0 var(--e3); font-size: .78rem; font-weight: 300; line-height: 1.6; color: var(--gris); text-wrap: balance; }
  .rappel-telephone .b-lien { display: block; margin: var(--e3) auto 0; }
  /* « Pas maintenant ? » : arrive par une notification, propose de reporter (1 h, 4 h, 5 h) */
  .plus-tard { position: fixed; left: var(--e4); right: var(--e4); bottom: calc(var(--barre) + var(--bas) + var(--e4)); z-index: 60; max-width: 21rem; margin: 0 auto;
    padding: var(--e4); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); box-shadow: 0 var(--e2) var(--e4) rgba(0, 0, 0, .06); text-align: center; }
  .plus-tard-question { margin: 0 0 var(--e3); font-size: .9rem; font-weight: 500; letter-spacing: .06em; color: var(--encre); }
  .plus-tard-choix { display: flex; justify-content: center; gap: var(--e2); flex-wrap: wrap; }
  .plus-tard .b-lien { margin: 0; }
  .plus-tard-fermer { position: absolute; top: var(--e1); right: var(--e2); padding: var(--e2); background: none; border: 0; font-size: 1.1rem; color: var(--gris); cursor: pointer; }

  /* LES CHECK-POINTS — un bloc a la fois ; les choix sont de grandes lignes (comme les tuiles), la roue-resume est la roue officielle */
  .cp { margin-top: var(--e5); }
  .cp-lira { margin: 0 0 var(--e4); text-align: center; }
  .cp-intro { margin: 0 0 var(--e5); font-size: .95rem; font-weight: 300; line-height: 1.7; white-space: pre-line; }
  .cp-tete { display: flex; flex-direction: column; gap: var(--e1); margin: 0 0 var(--e5); padding-bottom: var(--e3); border-bottom: 1px solid var(--trait); }
  .cp-bloc-nom { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--encre); margin: 0; }
  .cp-bloc-sous { font-size: .78rem; font-weight: 300; line-height: 1.5; color: var(--gris); }
  .cp-question { margin: 0 0 var(--e5); }
  .cp-question-texte { margin: 0 0 var(--e3); font-size: .95rem; font-weight: 400; line-height: 1.5; color: var(--encre); }
  .cp-aide { margin: calc(var(--e2) * -1) 0 var(--e3); font-size: .78rem; font-weight: 300; color: var(--gris); }
  .cp-choix { display: flex; flex-direction: column; gap: var(--e2); }
  .cp-option { display: flex; align-items: center; gap: var(--e3); width: 100%; padding: var(--e3) var(--e4); background: var(--fond); border: 1px solid var(--trait);
    border-radius: var(--r-carte); font: inherit; text-align: left; color: var(--encre); cursor: pointer; }
  .cp-option.choisi { background: var(--voile); border-color: var(--selection); }
  .cp-option-texte { display: flex; flex-direction: column; gap: var(--e1); min-width: 0; }
  .cp-option-nom { font-size: .9rem; font-weight: 400; line-height: 1.4; }
  .cp-option-detail { font-size: .78rem; font-weight: 300; line-height: 1.5; color: var(--gris); }
  .cp-icone svg { display: block; width: 1.9rem; height: 1.9rem; }
  input.cp-autre { margin: 0; padding: var(--e3); font-size: 1rem; border-radius: var(--r-carte); }
  .cp-pied { display: flex; justify-content: space-between; align-items: center; gap: var(--e3); margin: var(--e5) 0 0; }
  .cp-pied .b-lien:only-child { margin-left: auto; }
  .cp-pied .b-lien { margin: 0; }
  .cp-repere { margin: 0 0 var(--e3); font-size: .7rem; font-weight: 400; letter-spacing: .12em; color: var(--gris); text-align: center; }
  .cp-tete-page { align-items: center; text-align: center; border-bottom: 0; }
  .cp-titre-bilan { color: var(--gris); }
  .cp-fin-geste { font-size: 1.1rem; font-weight: 500; }
  .cp-fin-corps { margin-top: var(--e4); font-weight: 300; }
  .cp-page-texte { margin: var(--e5) auto 0; max-width: 22rem; font-size: .95rem; font-weight: 300; line-height: 1.7; white-space: pre-line; text-align: center; text-wrap: balance; }
  .cp-cloture { margin: var(--e5) 0 0; font-size: .9rem; font-weight: 300; line-height: 1.7; white-space: pre-line; color: var(--gris); text-align: center; }
  .cp-message { margin: var(--e4) 0 0; font-size: .78rem; font-weight: 300; line-height: 1.6; color: var(--gris); text-align: center; text-wrap: balance; }
  .cp-sous { margin: 0 0 var(--e4); text-align: center; font-size: .78rem; font-weight: 300; color: var(--gris); }
  .cp .roue, .cp-bilan-roue .roue { width: min(18rem, 80vw); margin: 0 auto var(--e5); }
  .cp-bilan-roues { display: flex; justify-content: center; gap: var(--e3); margin: 0 0 var(--e5); }
  .cp-bilan-roue { flex: 0 1 18rem; min-width: 0; text-align: center; }
  .cp-bilan-roue .roue { width: 100%; margin: 0 0 var(--e2); }
  .cp-bilan-nom { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; }
  .cp-lecture { margin-top: var(--e5); }
  .cp-lecture .cp-bloc-nom { margin: var(--e5) 0 var(--e3); }
  .cp-ligne { margin: 0 0 var(--e4); }
  .cp-ligne-question { margin: 0; font-size: .78rem; font-weight: 300; line-height: 1.5; color: var(--gris); }
  .cp-ligne-reponse { margin: var(--e1) 0 0; font-size: .95rem; font-weight: 400; line-height: 1.55; white-space: pre-line; }
  .cp-reponse { margin: var(--e5) 0; padding: var(--e4); border: 1px solid var(--trait); border-radius: var(--r-carte); background: var(--voile); }
  .cp-reponse-titre { margin: 0 0 var(--e3); font-size: .75rem; font-weight: 600; letter-spacing: .12em; }
  .cp-reponse-texte { margin: 0; font-size: .95rem; font-weight: 300; line-height: 1.7; white-space: pre-line; }
  .cp-reponse .journal-q-champ { margin-bottom: var(--e3); background: var(--fond); }
  .cp-liste { margin-top: var(--e5); display: flex; flex-direction: column; gap: var(--e3); }
  .cp-brut { white-space: pre-wrap; font: inherit; font-size: .85rem; }

/* la cloche des rappels (MON ESPACE) et les entrees dans la carte RÉALITÉ */
#espace { position: relative; }
.cloche { position: absolute; top: var(--e4); right: var(--e4); width: var(--e6); height: var(--e6); display: flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--encre); cursor: pointer; padding: 0; }
.arbo-entree { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e4); width: 100%; margin-top: var(--e4); padding: var(--e4) 0 0;
  background: none; border: 0; border-top: 1px solid var(--trait); font: inherit; font-size: .76rem; font-weight: 500; letter-spacing: .12em; color: var(--encre); cursor: pointer; text-align: left; }
.arbo-entree em { font-style: normal; color: var(--gris); }
.rappel-rubrique { margin: var(--e4) 0 var(--e3); font-size: .76rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); text-align: center; }

/* la roue pour choisir l'heure (meme rendu partout) */
.rh-fond { position: fixed; inset: 0; z-index: 60; background: var(--scrim); display: flex; align-items: flex-end; justify-content: center; }
.rh { width: 100%; max-width: 30rem; background: var(--fond, var(--fond)); border-radius: var(--r-carte) var(--r-carte) 0 0; padding: var(--e4) var(--e4) calc(var(--e5) + env(safe-area-inset-bottom)); }
.rh-titre { margin: 0 0 var(--e3); text-align: center; font-size: .76rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); }
.rh-roues { position: relative; display: flex; justify-content: center; align-items: center; gap: var(--e3); height: 170px; }
.rh-bande { position: absolute; left: var(--e4); right: var(--e4); top: 68px; height: 34px; background: var(--voile); border-radius: var(--r-carte); pointer-events: none; }
.rh-col { position: relative; z-index: 1; width: 4.5rem; height: 170px; overflow-y: scroll; scroll-snap-type: y mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; outline: none; }
.rh-col::-webkit-scrollbar { display: none; }
.rh-item { height: 34px; line-height: 34px; text-align: center; font-size: 1.15rem; font-weight: 300; color: var(--encre); scroll-snap-align: center; }
.rh-deux { position: relative; z-index: 1; font-size: 1.15rem; color: var(--gris); }
.rh .b-lien { display: block; margin: var(--e4) auto 0; }
button.rappel-heure { background: var(--voile); border: 0; border-radius: 999px; padding: var(--e3) var(--e4); font: inherit; font-size: .95rem; font-weight: 400; color: var(--encre); cursor: pointer; min-width: 4.5rem; }

/* MON ESPACE : le tableau d'accueil et l'espace de chaque produit */
.hub-liste, #hubCartes { display: flex; flex-direction: column; gap: var(--e3); }
.hub-carte { position: relative; display: block; width: 100%; text-align: left; background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: var(--e4) var(--e6) var(--e4) var(--e4); font: inherit; color: var(--encre); cursor: pointer; }
.hub-carte-accent { background: var(--voile); border-color: transparent; padding-top: var(--e5); padding-bottom: var(--e5); }
.hub-titre { display: block; font-size: .76rem; font-weight: 500; letter-spacing: .12em; color: var(--encre); }
.hub-detail { display: block; margin-top: var(--e2); font-size: .95rem; font-weight: 300; line-height: 1.5; color: var(--encre); }
.hub-carte:not(.hub-carte-accent) .hub-detail { color: var(--gris); font-size: .9rem; }
.hub-etat { display: block; margin-top: var(--e2); font-size: .75rem; font-weight: 500; letter-spacing: .1em; color: var(--gris); }
.hub-fleche { position: absolute; right: var(--e4); top: 50%; transform: translateY(-50%); font-size: 1rem; color: var(--gris); }
.hub-rubrique { margin: var(--e4) 0 0; font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); text-align: center; }
.hub-session { padding: var(--e4); border: 1px solid var(--trait); border-radius: var(--r-carte); }
.hub-session.passee { opacity: .55; }
.hub-session .bouton { margin-top: var(--e4); }
.hub-session .b-indication { margin-top: var(--e4); }   /* l'indication se pose a --e4 de ce qui la precede (regle des indications) */
/* CARTOGRAPHIE CIRCULAIRE : le formulaire de suivi (Google Form) se remplit DANS l'app ; il prend presque tout l'ecran pour etre lisible et remplissable.
   Le cadre rogne le haut de la page Google (sa marge grise et le gros titre : l'app porte deja le titre et l'introduction), sans toucher aux questions. */
.carto-formulaire-cadre { position: relative; overflow: hidden; height: 74vh; margin-top: var(--e4); border-radius: var(--r-carte); background: var(--voile); }
.carto-formulaire { display: block; width: 100%; height: calc(100% + 12px); margin-top: -12px; border: 0; background: var(--fond); }
#cartoFormulaire .b-lien { margin-top: var(--e4); }
/* La carte produit CARTOGRAPHIE, mix J (valide par Matylda le 18 nov. 2026) : pastille d'annonce a cheval sur le bord haut, ombre douce,
   un trait estompe en haut et un en bas (la famille des separateurs : plein au centre, fondu vers les cotes), nom reduit a 1.5rem, ligne d'etat. */
/* (selecteurs doubles et aspect-ratio auto : la regle generale .hub-produit (overflow cache, aspect 400/130, padding 0) passerait devant sinon,
   et la pastille a cheval serait rognee ; meme chose sur ordinateur avec #espace.actif .hub-produits > .hub-produit) */
.hub-produit.hub-produit-carto, #espace.actif .hub-produits > .hub-produit.hub-produit-carto { flex-direction: column; gap: var(--e2); overflow: visible; aspect-ratio: auto; min-height: 0; box-shadow: 0 var(--e3) var(--e5) rgba(0, 0, 0, .10); padding: var(--e5) var(--e4); }
.hub-produit-carto .hub-produit-nom { font-size: 1.5rem; }
.hub-produit-etat { position: relative; font-size: .85rem; font-weight: 300; color: var(--gris); padding: 0 var(--e2); background: var(--fond); }
.carto-pastille { position: absolute; top: calc(-1 * var(--e3)); left: 50%; transform: translateX(-50%); z-index: 1; background: var(--encre); color: var(--fond); border-radius: 999px; padding: var(--e1) var(--e4); font-size: .72rem; font-weight: 500; letter-spacing: .12em; white-space: nowrap; }
.carto-trait { position: absolute; left: var(--e4); right: var(--e4); height: 1px; pointer-events: none; background: linear-gradient(to right, transparent, var(--trait) 32%, var(--trait) 68%, transparent); }
.carto-trait-haut { top: var(--e2); }
.carto-trait-bas { bottom: var(--e2); }
/* Le panneau de la session : la session sur carte grise, et un bouton sur une carte grise est toujours blanc (regle existante) */
.carto-session { background: var(--voile); border-color: transparent; }
.carto-session .bouton { background: var(--fond); width: 100%; }
.corps .hub-liste { margin-top: var(--e5); }

/* MON CALENDRIER */
.cal { max-width: 27rem; margin: var(--e5) auto 0; }
.cal-entete { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--e3); }
.cal-mois { font-size: .76rem; font-weight: 500; letter-spacing: .12em; color: var(--encre); }
.cal-nav { background: none; border: 0; padding: var(--e2) var(--e4); font: inherit; font-size: 1.3rem; color: var(--encre); cursor: pointer; }
.cal-grille { display: grid; grid-template-columns: repeat(7, 1fr); gap: var(--e1) 0; }
.cal-jsem { text-align: center; font-size: .75rem; font-weight: 500; letter-spacing: .08em; color: var(--gris); padding-bottom: var(--e2); }
.cal-jour { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 2px; height: 3.1rem; padding: var(--e1) 0 0; background: none; border: 0; border-radius: var(--r-carte); font: inherit; color: var(--encre); cursor: pointer; }
.cal-jour.ph-en { background: rgba(47, 111, 208, .13); }
.cal-jour.ph-av { background: var(--jour-avenir); }
.cal-jour.ph-fini { background: rgba(31, 157, 85, .13); }
.cal-jour.choisi { outline: 1px solid var(--encre); outline-offset: -1px; }
.cal-num { font-size: .85rem; font-weight: 300; line-height: 1.3rem; width: 1.3rem; text-align: center; border-radius: 999px; }
.cal-jour.aujourdhui .cal-num { background: var(--encre); color: var(--fond); }
.cal-reperes { display: flex; gap: 2px; align-items: center; min-height: 14px; }
.cal-icone, .cal-reperes svg { display: block; }
.cal-detail { margin-top: var(--e5); padding: var(--e4); border: 1px solid var(--trait); border-radius: var(--r-carte); }
.cal-detail-jour { margin: 0 0 var(--e3); font-size: .95rem; font-weight: 400; color: var(--encre); }
.cal-rien { margin: 0; font-size: .9rem; font-weight: 300; color: var(--gris); }
.cal-ev { display: flex; gap: var(--e3); align-items: flex-start; padding: var(--e3) 0; }
.cal-ev + .cal-ev { border-top: 1px solid var(--trait); }
.cal-ev-ic { flex: 0 0 auto; width: 18px; display: flex; justify-content: center; padding-top: 2px; }
.cal-ev-ic svg { width: 16px; height: 16px; }
.cal-ev-tx { flex: 1 1 auto; min-width: 0; }
.cal-ev-tx .b-lien { margin-top: var(--e3); }
.cal-parcours { margin-top: var(--e6); }
.cal-module { padding: var(--e3) 0; }
.cal-module + .cal-module { border-top: 1px solid var(--trait); }
.cal-module-tete { display: flex; align-items: center; gap: var(--e3); }
.cal-phase { display: flex; align-items: center; gap: var(--e3); margin-top: var(--e2); padding-left: var(--e5); }
.cal-jour { height: 3.6rem; }
.cal-etiq { font-size: .75rem; font-weight: 500; letter-spacing: .02em; color: var(--gris); line-height: 1; margin-top: 1px; }
#hubCartes .cal { width: 100%; max-width: none; margin: 0 0 var(--e5); }
.rappel-ligne-extra { margin-top: 0; }
.rappel-retire { background: none; border: 0; font: inherit; font-size: 1.3rem; line-height: 1; color: var(--gris); padding: var(--e2) var(--e3); cursor: pointer; }
.rappel-plus { margin: var(--e3) auto var(--e3); }
.cal-apercu { margin: 0 0 var(--e3); font-size: .75rem; font-weight: 300; line-height: 1.5; color: var(--gris); text-align: center; text-wrap: balance; }
.cal-point-journal { display: inline-block; width: 5px; height: 5px; border-radius: 999px; background: var(--encre); }
.cal-point-journal.gros { width: 8px; height: 8px; margin-top: 4px; }
.souffle-suite { display: block; margin: var(--e4) auto 0; }
.souffle-suite[hidden] { display: none; }
.cal-jour.integration { background: var(--sable); }
.cal-ic-integration { display: inline-block; width: 10px; height: 10px; margin-top: 3px; border-radius: 3px; background: var(--sable-fonce); }
.cal-blocs { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--e1); margin-bottom: var(--e5); }
.cal-bloc { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 3.4rem; padding: var(--e2) 1px; border: 1px solid transparent; border-radius: var(--r-carte); font: inherit; cursor: pointer; background: var(--jour-avenir); color: var(--encre); }
.cal-bloc-num { font-size: 1rem; font-weight: 600; letter-spacing: .02em; }
.cal-bloc-nom { font-size: .75rem; font-weight: 500; letter-spacing: .02em; line-height: 1.1; text-align: center; overflow: hidden; max-width: 100%; }
.cal-bloc.bloc-en { background: var(--bleu); color: var(--fond); }
.cal-bloc.bloc-fini { background: var(--vert); color: var(--fond); }
.cal-bloc-ic { position: absolute; top: 3px; right: 3px; width: 9px; height: 9px; }
.cal-etiq-module { font-size: .75rem; font-weight: 600; color: var(--encre); letter-spacing: .02em; }
.cal-jour.debut-module { box-shadow: inset 0 3px 0 var(--encre); }
.cal-bloc.bloc-choisi { box-shadow: 0 0 0 2px var(--encre); }
.cal-jour { height: 3.9rem; }
.hub-carte { background: var(--voile); border-color: transparent; }
.corps .cartes + .hub-liste { margin-top: var(--e5); }

/* l'audit : un contour visible au clavier, des zones tactiles de 44 px */
:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.cloche { width: 44px; height: 44px; }
.rappel-retire { min-width: 44px; min-height: 44px; }
.cal-etiq { font-size: .75rem; }

/* le fil de chaque question de check-point */
.cp-fil { margin-top: var(--e3); }
.cp-msg { margin: 0 0 var(--e3); display: flex; flex-direction: column; gap: var(--e2); }
.cp-msg-texte { margin: 0; font-size: .95rem; font-weight: 400; line-height: 1.55; white-space: pre-wrap; }
.cp-msg-moi .cp-msg-texte { color: var(--encre); }
.cp-fil-champ { margin-top: var(--e2); }
.cp-fil .b-lien { margin-top: var(--e2); }
.cp-notifier { margin: var(--e4) 0; text-align: center; }

/* les messages de Matylda : un trait et un nom jaunes ; ceux de la participante : sobres */
/* la carte d'un module : le cadre prend la couleur de son etat (bleu en cours, vert termine) */
.carte-module.etat-encours { box-shadow: inset 0 0 0 2px var(--bleu); }
.carte-module.etat-fini { box-shadow: inset 0 0 0 2px var(--vert); }
/* la cloche ne passe plus sous la barre d'etat du telephone */
.cloche { position: fixed; z-index: 36; top: calc(var(--haut) + .35rem); right: var(--e4); }   /* au-dessus du voile du haut (sinon la cloche est coupee) */
.cal-ev-tactile { cursor: pointer; align-items: center; }
.cal-ev-fleche { margin-left: auto; padding-left: var(--e3); color: var(--gris); font-size: .8rem; flex: 0 0 auto; }
.cal-jour { height: 3.1rem; }

.cp-icone-espace { display: inline-flex; width: 22px; height: 22px; margin-right: var(--e2); vertical-align: middle; }
.cp-icone-espace svg { width: 100%; height: 100%; }
.cp-bloc-nom { display: flex; align-items: center; }
.cp-marque-lecture { display: inline-block; margin-right: var(--e2); vertical-align: middle; }
.cp-marque-lecture.cp-icone, .cp-marque-lecture.cp-icone svg { width: 22px; height: 22px; }

/* MON JOURNAL : les periodes se replient */
.jours .periode { margin-top: var(--e4); list-style: none; }
.periode-titre { display: flex; align-items: center; gap: var(--e3); width: 100%; padding: var(--e3) var(--e2); background: none; border: 0; border-bottom: 1px solid var(--trait); font: inherit; font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); text-align: left; cursor: pointer; }
.periode-titre .periode-nb { margin-left: auto; font-weight: 300; }
.periode-fleche { width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.periode-titre.ouvert .periode-fleche { transform: rotate(45deg); }
.periode-jours { list-style: none; padding: 0; margin: 0; }
.periode-jours[hidden] { display: none; }
.jours-sous { list-style: none; margin: 0; padding: 0; }

/* les etapes du module en petites cartes (comme les cartes des modules) */
.cal-cartes { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); }
.cal-carte { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: var(--e2); padding: var(--e3) var(--e4); background: var(--voile); border: 2px solid transparent; border-radius: var(--r-carte); font: inherit; color: var(--encre); text-align: left; cursor: pointer; }
.cal-carte-date { font-size: .75rem; font-weight: 300; color: var(--gris); letter-spacing: .04em; }
.cal-carte-ic svg { display: block; }
.cal-carte-nom { font-size: .75rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.cal-carte.carte-en { border-color: var(--bleu); }
.cal-carte.carte-fini { border-color: var(--vert); }
.cal-carte.carte-session { border-color: var(--encre); }
.cal-carte.carte-av { border-color: var(--trait); }
.cal-carte.choisie { box-shadow: 0 0 0 2px var(--fond), 0 0 0 3.5px var(--encre); }
.cal-voir-mois { display: block; margin: var(--e4) auto 0; background: none; border: 0; padding: var(--e2) var(--e3); font: inherit; font-size: .78rem; font-weight: 300; color: var(--gris); cursor: pointer; }
.cal-mois-zone[hidden] { display: none; }
.cal-mois-zone { margin-top: var(--e3); }
.cal-detail { margin-top: var(--e4); }

/* OUVERTURE : un seul point noir au centre (la meme marque que l'onglet du milieu), puis la roue ; rien d'autre ne s'affiche avant */
#splash { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; background: var(--fond); transition: opacity .18s ease; }
#splash span { width: 22px; height: 22px; border-radius: 50%; background: var(--encre); }
body.prete #splash { opacity: 0; pointer-events: none; }
body:not(.prete) .langue { opacity: 0; pointer-events: none; }

/* sous le calendrier : deux tuiles blanches, cadrees, tout est centre */
.hub-tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e3); margin-top: var(--e5); }
.hub-tuiles.seule { grid-template-columns: 1fr; }
.hub-tuile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--e3); min-height: 7.5rem; padding: var(--e5) var(--e3); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); font: inherit; color: var(--encre); cursor: pointer; }
.hub-tuile-ic { display: flex; width: 34px; height: 34px; }
.hub-tuile-ic svg { width: 100%; height: 100%; }
.hub-tuile-nom { font-size: .76rem; font-weight: 500; letter-spacing: .12em; text-align: center; }
.hub-tuile-ic { width: 38px; height: 38px; }

/* un produit achete : une carte blanche sobre, le champ torique de l'icone officielle en fond (lignes grises tres fines), RÉALITÉ en grandes lettres noires */
.hub-produit { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 100%; min-height: 7.5rem; margin-top: var(--e5); padding: var(--e5) var(--e4); background: var(--fond); color: var(--encre); border: 1px solid var(--trait); border-radius: var(--r-carte); font: inherit; cursor: pointer; }
.hub-produit-fond { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hub-produit-nom { position: relative; font-size: 2rem; font-weight: 700; letter-spacing: .24em; padding-left: .24em; background: radial-gradient(closest-side, var(--fond) 55%, rgba(255,255,255,0)); padding-top: .2rem; padding-bottom: .2rem; }
.hub-produit + .hub-tuiles { margin-top: var(--e3); }

/* les cartes qui restent toujours : petites, deux par ligne */
.hub-tuiles-petites .hub-tuile { min-height: 5.6rem; padding: var(--e4) var(--e3); gap: var(--e2); }
.hub-tuiles-petites .hub-tuile-ic { width: 30px; height: 30px; }
.hub-tuiles-petites .hub-tuile-nom { font-size: .75rem; }

/* ESPACE RÉALITÉ : trois accès rapides en haut, puis les modules ; MES REPLAYS */
.hub-tuiles-trois { grid-template-columns: 1fr 1fr 1fr; gap: var(--e2); margin-top: 0; margin-bottom: var(--e4); }
.hub-tuiles-trois .hub-tuile { padding: var(--e3) var(--e2); }
.hub-tuiles-trois .hub-tuile-nom { font-size: .75rem; letter-spacing: .08em; }
.replays { display: flex; flex-direction: column; gap: var(--e3); }
.replay-carte { background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: var(--e4); text-align: center; }
.replay-date { margin: 0; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.replay-titre { margin: var(--e1) 0 var(--e3); font-weight: 500; }
.replay-texte { margin: var(--e3) 0 0; font-size: .9rem; }
.replay-carte .b-indication { margin-top: var(--e3); }

/* ESPACE RÉALITÉ : un bandeau plus grand, un mot d'accueil, de l'air */
.hub-produit-grand { cursor: default; min-height: 11rem; margin-top: var(--e4); }
.hub-produit-grand .hub-produit-nom { font-size: 2.3rem; margin: 0; }
.realite-accueil { margin: var(--e5) 0 var(--e6); text-align: center; }
.realite-accueil-titre { margin: 0; font-size: 1.1rem; font-weight: 300; line-height: 1.5; text-wrap: balance; }
.hub-tuiles-trois { margin-bottom: var(--e6); gap: var(--e3); }
.hub-tuiles-trois .hub-tuile { min-height: 6.5rem; padding: var(--e4) var(--e2); gap: var(--e3); }
.realite-rubrique { margin: 0 0 var(--e4); font-size: .76rem; letter-spacing: .2em; }

/* tout en bas de l'espace RÉALITÉ : « me contacter », l'icône et le mot, sans carte */
.realite-contact { display: flex; flex-direction: column; align-items: center; gap: var(--e2); margin: var(--e6) auto var(--e5); padding: var(--e3); background: none; border: 0; font: inherit; color: var(--gris); cursor: pointer; }
.realite-contact-ic { display: flex; width: 26px; height: 26px; }
.realite-contact-ic svg { width: 100%; height: 100%; }
.realite-contact-nom { font-size: .76rem; font-weight: 300; letter-spacing: .08em; }

/* le bandeau de l'espace RÉALITÉ : exactement les proportions de la carte de l'accueil (rien n'est coupé) ; les anneaux tournent sur un axe horizontal */
.hub-produit, .hub-produit-grand { aspect-ratio: 400 / 130; min-height: 0; padding: 0; }
.tore-anneau { transform-box: fill-box; transform-origin: center; animation: tore-tourne 14s ease-in-out infinite; }
.tore-anneau-2 { animation-duration: 18s; animation-delay: -5s; }
.tore-anneau-3 { animation-duration: 22s; animation-delay: -11s; }
@keyframes tore-tourne { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(-1); } }
@media (prefers-reduced-motion: reduce) { .tore-anneau { animation: none; } }

/* cartes des modules : le nom en texte sur un cercle d'anneaux compact ; seul le module en cours tourne (et l'en-tête de la poignée) */
.carte-vignette { overflow: hidden; }
.carte-vignette .hub-produit-fond { position: absolute; inset: 0; width: 100%; height: 100%; }
.carte-nom { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 96%; padding: .2rem .35rem; font-size: .95rem; font-weight: 700; letter-spacing: .14em; padding-left: calc(.35rem + .14em); text-align: center; color: var(--encre); background: radial-gradient(closest-side, var(--fond) 60%, rgba(255,255,255,0)); }
.carte-module[disabled] .carte-nom { color: var(--gris); }
.menu-banniere { max-width: 11rem; aspect-ratio: 1 / 1; border: 1px solid var(--trait); border-radius: var(--r-carte); }
.tore-anneau-m { transform-box: fill-box; transform-origin: center; }
.carte-module.etat-encours .tore-anneau-m, .menu-banniere .tore-anneau-m { animation: tore-tourne-h 14s ease-in-out infinite; }
.carte-module.etat-encours .tore-anneau-2, .menu-banniere .tore-anneau-2 { animation-duration: 18s; animation-delay: -5s; }
.carte-module.etat-encours .tore-anneau-3, .menu-banniere .tore-anneau-3 { animation-duration: 22s; animation-delay: -11s; }
@media (prefers-reduced-motion: reduce) { .tore-anneau-m { animation: none !important; } }

/* MON ESPACE (première page) : MON JOURNAL et MES RAPPELS sans carte, juste l'icône et le nom dessous ; les cartes restent pour les produits (RÉALITÉ) */
.hub-tuiles-petites:not(.hub-tuiles-trois) .hub-tuile { background: none; border: 0; border-radius: 0; box-shadow: none; }
.hub-tuiles-petites:not(.hub-tuiles-trois) { margin-top: var(--e5); }
@keyframes tore-tourne-h { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(-1); } }

/* la forme SVG des cartes de modules (cadrée au centre : le carré garde le tore et ses lignes) */
.carte-forme { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }
.carte-module[disabled] .carte-forme { opacity: .85; }

/* la carte RÉALITÉ : la forme vectorielle des modules en fond (mêmes règles : trait fin, gris de l'app, même respiration) */
.hub-produit-fond-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; pointer-events: none; }

/* la carte RÉALITÉ : tout bat sur le même rythme. Les anneaux font un tour en 11 s ; quand un anneau est à plat (de face), les lignes sont sorties,
   quand il est de profil, elles sont rentrées : un aller-retour des lignes (5,5 s) pour chaque demi-tour des anneaux. */
.tore-anneau, .tore-anneau-2, .tore-anneau-3 { animation-duration: 11s; animation-delay: 0s; }
.tore-anneau-2 { animation-delay: -.5s; } .tore-anneau-3 { animation-delay: -1s; }
.tore-ligne { transform-box: view-box; transform-origin: 200px 65px; animation: 5.5s ease-in-out infinite; }
.tore-v { animation-name: tore-ligne-v; } .tore-h { animation-name: tore-ligne-h; }
@keyframes tore-ligne-v { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(.12); } }
@keyframes tore-ligne-h { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.12); } }
@media (prefers-reduced-motion: reduce) { .tore-ligne { animation: none; } }

/* NORME DES ICÔNES (MON ESPACE et espace RÉALITÉ) : même taille d'affichage (30 px), même cadre (plus grande dimension = 18 sur 24, voir espace.js), même trait
   (0,95 px à l'écran, quelle que soit la taille), même noir adouci (var(--icone)) */
.hub-tuile-ic svg *, .realite-contact-ic svg * { stroke: var(--icone); stroke-width: .95px; vector-effect: non-scaling-stroke; }
.hub-tuile-ic svg [fill]:not([fill="none"]), .realite-contact-ic svg [fill]:not([fill="none"]) { fill: var(--icone); }
.realite-contact-ic { width: 30px; height: 30px; }

/* les icônes du calendrier (session, check-point, mon journal) : le trait de la norme des icônes (0,95 px à l'écran, var(--icone)), plus 1,4 ni 1,9 */
.cal-icone * { stroke: var(--icone); stroke-width: .95px; vector-effect: non-scaling-stroke; }

/* NORME DES ICÔNES, suite : cadenas, ronds de statut, flèches de retour, chevrons, icônes d'espace des check-points. Même trait (≈ 0,95 px à l'écran), même noir adouci (var(--icone)) ;
   les couleurs d'état (bleu en cours, vert terminé, gris à venir) et le rouge/bleu des flèches montée/descente ne changent pas. */
.statut rect, .statut path { stroke: var(--icone); stroke-width: .95; }
.statut circle[stroke-dasharray] { stroke-width: 1.2; }
.fleche svg path, .signal .chevron svg path, .cp-icone-espace svg path { stroke: var(--icone); stroke-width: .95px; vector-effect: non-scaling-stroke; }

/* icônes SECONDAIRES (MON JOURNAL, MES RAPPELS sur la page principale ; « Me contacter » tout en bas de RÉALITÉ) : 24 px au lieu de 30 px */
.hub-tuiles-petites:not(.hub-tuiles-trois) .hub-tuile-ic { width: 24px; height: 24px; }
.hub-tuiles-petites:not(.hub-tuiles-trois) .hub-tuile { min-height: 4.6rem; }
.realite-contact-ic { width: 24px; height: 24px; }

/* MON ÉVOLUTION : une timeline verticale très épurée (un rond + un titre par étape), du plus récent en haut au point de départ en bas. Les ronds suivent les règles
   existantes : rond noir (RÉALITÉ), rond plein (module), rond en pointillés (phase), rond au contour noir et blanc à l'intérieur (formulaire d'inscription). */
.evo { margin-top: var(--e5); }
.evo-noeud { display: flex; align-items: flex-start; gap: var(--e4); width: 100%; padding: 0 0 var(--e5); background: none; border: 0; font: inherit; color: var(--encre); text-align: left; }
button.evo-noeud { cursor: pointer; }
.evo-rail { position: relative; flex: 0 0 var(--e4); display: flex; justify-content: center; align-self: stretch; }
.evo-rail::before { content: ""; position: absolute; top: 0; bottom: calc(-1 * var(--e5)); left: 50%; width: 1px; background: var(--trait); }
.evo-rail > * { position: relative; z-index: 1; background: var(--fond); border-radius: 50%; }
.evo-rail .statut { width: 1rem; height: 1rem; margin-top: 1px; }
.evo-point { width: var(--e3); height: var(--e3); margin-top: var(--e1); border: 1px solid var(--encre); box-sizing: border-box; }
.evo-bascule { width: var(--e4); height: var(--e4); background: var(--encre) !important; }
.evo-texte { flex: 1 1 auto; min-width: 0; padding-top: 2px; }
.evo-texte .hub-titre { display: block; font-size: .8rem; font-weight: 500; letter-spacing: .12em; line-height: 1.4; }
.evo-niveau-1 > .evo-tete .hub-titre { font-size: .9rem; letter-spacing: .2em; }
.evo-contenu[hidden] { display: none; }

/* la page principale : MON ÉVOLUTION est un CERCLE blanc qui flotte entre la carte RÉALITÉ et la rangée MON JOURNAL / MES RAPPELS */
.hub-evo-cercle { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; width: 7rem; height: 7rem; margin: var(--e4) auto var(--e5); padding: 0; background: var(--fond); border: 1px solid var(--trait); border-radius: 50%; font: inherit; color: var(--encre); cursor: pointer; }
.hub-evo-cercle .hub-produit-fond { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hub-evo-texte { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--e1); padding: var(--e2) var(--e2); background: radial-gradient(closest-side, var(--fond) 62%, rgba(255,255,255,0)); }
.hub-evo-petit { font-size: .75rem; font-weight: 500; letter-spacing: .26em; padding-left: .26em; color: var(--gris); }
.hub-evo-grand { font-size: .8rem; font-weight: 700; letter-spacing: .1em; padding-left: .1em; }
.onde { transform-box: view-box; transform-origin: 50px 50px; animation: onde-sort 5.5s linear infinite; }
@keyframes onde-sort { 0% { transform: scale(.06); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .onde { animation: none; transform: scale(calc(.2 + var(--k, 1) * .13)); opacity: 1; } }

/* MON ÉVOLUTION : les étapes arrivent en fondu, une à une ; une étape jamais vue arrive plus lentement */
.evo-arrive { opacity: 0; animation: evo-entre .5s ease-out forwards; }
.evo-neuf { animation-duration: 1.4s; }
@keyframes evo-entre { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .evo-arrive { opacity: 1; animation: none; } }
.evo-apercu { margin: var(--e5) 0 0; text-align: center; font-size: .75rem; }
.evo-dernier { padding-bottom: 0; }
.evo-dernier .evo-rail::before { display: none; }

/* le gong : jamais de carré (bleu) au toucher : ni cadre de sélection, ni anneau de focus, ni surlignage */
.parcours-fermer, .parcours-fermer *, .parcours-souffle-gong, .parcours-souffle-gong * { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.parcours-gong-disque, .parcours-souffle-gong { -webkit-appearance: none; appearance: none; outline: none !important; box-shadow: none !important; }
.parcours-gong-disque:focus, .parcours-gong-disque:active,
.parcours-souffle-gong:focus, .parcours-souffle-gong:active { outline: none !important; box-shadow: none !important; background: none; }
/* au clavier seulement (jamais au toucher) : un anneau net autour du rond, pour qu'on sache où l'on est */
.parcours-gong-disque:focus-visible .parcours-gong-rond, .parcours-souffle-gong:focus-visible .parcours-souffle-rond { outline: 2px solid var(--encre); outline-offset: 4px; border-radius: 50%; }
.parcours-fermer ::selection, .parcours-souffle-gong ::selection { background: transparent; }


/* écran « pas d'accès » et « contenu absent » : les actions se centrent sous le texte, à --e4 de ce qui précède */
.porte-actions { text-align: center; margin: var(--e4) 0 0; }
.porte-actions .lien-discret { margin-top: 0; }

/* une annonce : un court message en bas de l'écran quand quelque chose n'a pas marché (journal.js, annoncer) */
#annonce { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(env(safe-area-inset-bottom, 0px) + var(--e6)); z-index: 10000; width: calc(100% - var(--e5)); max-width: 24rem; padding: var(--e3) var(--e4); border-radius: var(--r-carte); background: var(--encre); color: var(--fond); font-size: .82rem; font-weight: 300; line-height: 1.55; text-align: center; text-wrap: balance; }

/* un lien vers une autre page : jamais souligné, seulement une flèche (→) */
.lien-fleche { background: none; border: 0; padding: 0; color: var(--gris); font-family: inherit; font-size: .85rem; cursor: pointer; }
.confid { max-width: 30rem; margin: 0 auto; }
.confid-texte { margin: 0 0 var(--e3); font-size: .88rem; font-weight: 300; line-height: 1.7; white-space: pre-line; text-align: left; }
/* la page Confidentialité s'ouvre aussi depuis l'écran de connexion (z-index 44) : plein écran, au-dessus */
#confidentialite { z-index: 45; bottom: 0; }

/* L'ORBE « MON ÉVOLUTION » : une sphère douce qui flotte et respire (5,5 s, comme les formes de RÉALITÉ) ; deux ondes partent d'elle. Gris de l'app, aucune couleur d'état. */
.hub-evo-orbe { position: relative; display: block; width: 9.5rem; height: 9.5rem; margin: var(--e5) auto var(--e3); padding: 0; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; animation: orbe-flotte 7s ease-in-out infinite; }
.orbe-sphere { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 34% 28%, var(--fond) 0%, var(--orbe-clair) 34%, var(--orbe-moyen) 72%, #b4b2ad 100%); box-shadow: 0 var(--e3) var(--e5) rgba(17,17,17,.14), inset 0 -10px 22px rgba(17,17,17,.10), inset 0 8px 14px rgba(255,255,255,.9); animation: orbe-respire 5.5s ease-in-out infinite; }
.orbe-halo { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(17,17,17,.16); opacity: 0; animation: orbe-onde 5.5s ease-out infinite; pointer-events: none; }
.orbe-halo-2 { animation-delay: 2.75s; }
.hub-evo-orbe .hub-evo-texte { position: absolute; inset: 0; justify-content: center; background: none; pointer-events: none; }
.hub-evo-orbe .hub-evo-petit { color: var(--gris-orbe); }
.orbe-indication { margin-top: 0; margin-bottom: var(--e5); }
.hub-evo-orbe:active .orbe-sphere { transform: scale(.97); }
.hub-evo-orbe:focus-visible { outline: 2px solid var(--encre); outline-offset: 6px; border-radius: 50%; }
@keyframes orbe-flotte { 0%, 100% { transform: translateY(0) translateX(0); } 33% { transform: translateY(-7px) translateX(3px); } 66% { transform: translateY(-3px) translateX(-3px); } }
@keyframes orbe-respire { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.05); } }
@keyframes orbe-onde { 0% { transform: scale(.94); opacity: 0; } 18% { opacity: .55; } 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hub-evo-orbe, .orbe-sphere, .orbe-halo { animation: none; } .orbe-halo { opacity: 0; } }

/* Le tableau du système nerveux : chaque bande porte un « + » (« − » quand elle est ouverte), pour qu'on comprenne qu'on peut la toucher */
.fenetre .bande-tete { position: relative; padding-right: var(--e6); }
.bande-plus { position: absolute; right: var(--e3); top: 50%; width: 1.5rem; height: 1.5rem; margin-top: -.75rem; border: 1px solid rgba(17,17,17,.28); border-radius: 50%; box-sizing: border-box; pointer-events: none; background: var(--fond); }
.bande-plus::before, .bande-plus::after { content: ""; position: absolute; left: 50%; top: 50%; background: var(--encre); transition: transform .25s ease, opacity .25s ease; }
.bande-plus::before { width: .62rem; height: 1px; margin: -.5px 0 0 -.31rem; }
.bande-plus::after { width: 1px; height: .62rem; margin: -.31rem 0 0 -.5px; }
.bande-tete[aria-expanded="true"] .bande-plus::after { transform: scaleY(0); opacity: 0; }
.fenetre-aide { margin: var(--e3) 0 0; }
/* le bouton de la couleur choisie : plein, bien visible, il apparaît en douceur ; la phrase dessous dit quoi faire */
.confirmer-choix { animation: confirmer-arrive .35s ease both, confirmer-appelle 2.8s ease-in-out .6s infinite; }   /* le bouton habituel (blanc, contour fin) ; un halo doux dit « touche-moi » */
.choix-indication { margin-top: var(--e4); }
@keyframes confirmer-arrive { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes confirmer-appelle { 0%, 100% { box-shadow: 0 0 0 0 rgba(17,17,17,0); } 50% { box-shadow: 0 0 0 var(--e1) rgba(17,17,17,.10); } }
@media (prefers-reduced-motion: reduce) { .confirmer-choix { animation: none; } }
.fenetre .transition { position: relative; padding-right: var(--e6); }
.fenetre .transition .bande-plus { width: 1.25rem; height: 1.25rem; margin-top: -.625rem; }
.transition[aria-expanded="true"] .bande-plus::after { transform: scaleY(0); opacity: 0; }

/* « VOIR MA JOURNÉE » : une pilule avec un chevron, pour qu'on voie qu'elle s'ouvre (le chevron se retourne quand c'est ouvert) */
  .journal-bascule { display: flex; align-items: center; justify-content: center; gap: var(--e3); width: 100%;
    padding: var(--e3) var(--e4); border: 1px solid var(--encre); border-radius: 999px; color: var(--encre);
    margin: 0 0 var(--e4); }
  .journal-bascule::after { content: ""; width: var(--e3); height: var(--e3); flex: 0 0 auto;
    border-right: 1px solid currentColor; border-bottom: 1px solid currentColor;
    transform: translateY(-2px) rotate(45deg); transition: transform .3s ease; }
  .journal-bascule[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }

/* le « + » du tableau du système nerveux : tout petit, sans cercle */
.bande-plus, .fenetre .transition .bande-plus { width: var(--e3); height: var(--e3); margin-top: calc(var(--e3) / -2); border: 0; background: none; }
.bande-plus::before { width: var(--e3); height: 1px; margin: -.5px 0 0 calc(var(--e3) / -2); }
.bande-plus::after { width: 1px; height: var(--e3); margin: calc(var(--e3) / -2) 0 0 -.5px; }

/* ORBE « alien » : un disque noir, une sphere granuleuse qui tourne, des anneaux a franges colorees */
.hub-evo-orbe { width: 13rem; height: 13rem; animation: orbe-flotte 7s ease-in-out infinite; }
.orbe-alien { position: absolute; inset: 0; display: block; border-radius: 50%; background: radial-gradient(circle, #0c0c0c 0%, #000 70%); box-shadow: 0 var(--e3) var(--e5) rgba(17,17,17,.28); overflow: hidden; }
.orbe-alien svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.orbe-corps { animation: orbe-bascule 9s ease-in-out infinite; transform-origin: 0 0; }
.orbe-ombres { animation: orbe-derive 13s linear infinite; transform-origin: 0 0; }
.orbe-tour { animation: orbe-tourne 14s linear infinite; transform-origin: 0 0; }
.orbe-eclats { animation: orbe-tourne 21s linear infinite reverse; transform-origin: 0 0; }
.hub-evo-orbe:active .orbe-alien { transform: scale(.97); }
@keyframes orbe-tourne { to { transform: rotate(360deg); } }
@keyframes orbe-derive { to { transform: rotate(-360deg); } }
@keyframes orbe-bascule { 0%, 100% { transform: rotate(-6deg) scale(.97); } 50% { transform: rotate(8deg) scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .orbe-corps, .orbe-ombres, .orbe-tour, .orbe-eclats { animation: none; } }

/* orbe : plus de disque noir, la sphere et les anneaux flottent directement sur le blanc */
.orbe-alien { background: none; box-shadow: none; overflow: visible; }

/* orbe : plus grande et un peu plus haut ; sphere claire ; rythme moins regulier (periodes premieres entre elles) */
.hub-evo-orbe { width: 15rem; height: 15rem; margin-top: var(--e2, 0); margin-bottom: 0; }
.orbe-corps { animation: orbe-bascule 8.3s ease-in-out infinite; }
.orbe-ombres { animation-duration: 11.3s; }
.orbe-tour { animation-timing-function: ease-in-out; }
@keyframes orbe-tourne { 0% { transform: rotate(0); } 30% { transform: rotate(150deg); } 100% { transform: rotate(360deg); } }

/* l'orbe est blanche et elle brille : un halo doux autour, une ombre tres legere dessous */
.orbe-corps { filter: drop-shadow(0 0 var(--e4) rgba(17,17,17,.16)) drop-shadow(0 0 var(--e2) rgba(17,17,17,.10)); }

/* MON ÉVOLUTION : une seule ligne droite, tout en traits fins. Jour = anneau ; semaine = anneau a deux traits ; mois = trois traits ; check-point = carre. Aucun bouton noir. */
.evo2 { padding-top: var(--e6); }
.evo-bande { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; scrollbar-width: none; touch-action: pan-x; margin: 0 calc(var(--e4) * -1); padding: 0 var(--e4); }
.evo-bande::-webkit-scrollbar { display: none; }
.evo-fil { position: relative; display: flex; align-items: center; gap: var(--e5); width: max-content; min-width: 100%; height: var(--e7); padding: 0 var(--e5); box-sizing: border-box; }
.evo-fil::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--encre); opacity: .35; }
.evo-origine { display: block; width: var(--e2); height: var(--e2); border-radius: 50%; background: var(--encre); }
.evo-cell { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.evo-nom { position: absolute; top: 100%; margin-top: var(--e1); font-size: .75rem; letter-spacing: .2em; padding-left: .2em; color: var(--gris); white-space: nowrap; }
.evo-p { position: relative; display: flex; align-items: center; justify-content: center; min-width: var(--e6); height: var(--e6); padding: 0; border: 0; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.evo-p::before { content: ""; display: block; border-radius: 50%; box-sizing: border-box; background: var(--fond); }
.evo-jour::before { width: var(--e3); height: var(--e3); border: 1px solid var(--encre); }
.evo-groupe::before { width: var(--e2); height: var(--e2); border: 1px solid var(--encre); box-shadow: 0 0 0 calc(var(--e1) * .6) var(--fond), 0 0 0 calc(var(--e1) * .6 + 1px) var(--encre); }
.evo-mois-g::before { box-shadow: 0 0 0 calc(var(--e1) * .6) var(--fond), 0 0 0 calc(var(--e1) * .6 + 1px) var(--encre), 0 0 0 calc(var(--e1) * 1.2 + 1px) var(--fond), 0 0 0 calc(var(--e1) * 1.2 + 2px) var(--encre); }
.evo-depart::before { width: var(--e3); height: var(--e3); border: 1px solid var(--encre); }
.evo-ouverture::before { width: var(--e3); height: var(--e3); border: 1px solid var(--encre); background: radial-gradient(circle, var(--encre) 0 2px, var(--fond) 2.5px); }
.evo-cp::before { display: none; }
.evo-cp-rond-ancien { display: flex; align-items: center; justify-content: center; width: var(--e4); height: var(--e4); box-sizing: border-box; border: 1px solid var(--encre); background: var(--fond); font-size: .75rem; font-weight: 400; color: var(--encre); }
.evo-p.choisi::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--e5); height: var(--e5); margin: calc(var(--e5) / -2) 0 0 calc(var(--e5) / -2); border: 1px solid var(--encre); border-radius: 50%; box-sizing: border-box; opacity: .35; }
.evo-cp.choisi::after { border-radius: 0; }
.evo-glisse { margin-top: var(--e5); margin-bottom: var(--e5); }
/* le detail : une ligne fine noire sous l'en-tete, puis une ligne grise fine entre chaque partie */
.evo-detail { padding-bottom: var(--e4); }
.evo-titre { margin: 0; font-size: .75rem; font-weight: 400; letter-spacing: .2em; padding-left: .2em; text-align: center; }
.evo-date { margin: var(--e2) 0 var(--e4); font-size: .78rem; font-weight: 300; color: var(--gris); text-align: center; }
.evo-regle { border: 0; border-top: 1px solid var(--encre); margin: 0 0 var(--e4); }
.evo-roue { max-width: 11rem; margin: 0 auto var(--e5); }
.evo-partie { padding: var(--e4) 0; border-top: 1px solid var(--trait); }
.evo-partie:first-of-type { border-top: 0; padding-top: 0; }
.evo-partie-nom { margin: 0 0 var(--e2); font-size: .75rem; font-weight: 400; letter-spacing: .2em; color: var(--gris); }
.evo-partie p { margin: 0; font-size: .9rem; font-weight: 300; line-height: 1.6; white-space: pre-wrap; }
.evo-detail .cp-lecture { margin: 0; }
.evo-rouvrir, .evo-ecrire { display: block; margin: var(--e5) auto 0; padding: var(--e3) var(--e5); border: 1px solid var(--encre); border-radius: 999px; background: var(--fond); color: var(--encre); font: inherit; font-size: .78rem; font-weight: 300; letter-spacing: .08em; cursor: pointer; }
.evo-ecrire { margin: 0 auto var(--e6); }
@media (min-width: 700px) { .evo2 { max-width: 34rem; margin: 0 auto; } }
.evo-groupe.ouvert::before { background: var(--voile); }

/* vivant : une lueur qui parcourt la ligne, « tu es ici » qui respire, des anneaux d'orbe tres pales derriere ; toucher le blanc ne laisse que la courbe */
.evo2 { position: relative; }
.evo-bande { position: relative; z-index: 1; }
.evo-fil::after { content: ""; position: absolute; top: 50%; left: 0; width: var(--e7); height: 1px; background: linear-gradient(90deg, transparent, var(--encre), transparent); animation: evo-passe 8s linear infinite; pointer-events: none; }
@keyframes evo-passe { from { left: calc(var(--e7) * -1); } to { left: 100%; } }
.evo-ici::before { animation: evo-ici 3.4s ease-out infinite; }
@keyframes evo-ici { 0% { box-shadow: 0 0 0 0 rgba(17,17,17,.35); } 100% { box-shadow: 0 0 0 var(--e4) rgba(17,17,17,0); } }
.evo-ambiance { position: absolute; left: 50%; top: calc(var(--e6) + var(--e5)); width: 0; height: 0; pointer-events: none; z-index: 0; }
.evo-anneau { position: absolute; left: 0; top: 0; width: 22rem; height: 7rem; margin: 0; border: 1px solid var(--encre); border-radius: 50%; opacity: .07; transform: translate(-50%, -50%) rotate(var(--a)); animation: evo-tour var(--d) linear infinite; transition: opacity .6s ease, width .6s ease, height .6s ease; }
@keyframes evo-tour { to { transform: translate(-50%, -50%) rotate(calc(var(--a) + 360deg)); } }
.evo-retour { display: none; text-align: center; }
#evolutionPanneau.evo-immersif .evo2 { min-height: 56vh; display: flex; flex-direction: column; justify-content: center; padding-top: 0; }
#evolutionPanneau.evo-immersif .evo-ambiance { top: 50%; }
#evolutionPanneau.evo-immersif .evo-anneau { width: 30rem; height: 12rem; opacity: .1; }
#evolutionPanneau.evo-immersif .evo-ecrire, #evolutionPanneau.evo-immersif .evo-detail { display: none; }
#evolutionPanneau.evo-immersif .evo-fil { height: calc(var(--e7) * 2); gap: var(--e6); }
#evolutionPanneau.evo-immersif .evo-p { transform: scale(1.4); }
@media (prefers-reduced-motion: reduce) { .evo-fil::after, .evo-ici::before, .evo-anneau { animation: none; } }
.evo-ecrire[hidden] { display: none; }
.evo-apercu-test { display: block; margin: var(--e6) auto 0; padding: var(--e2) var(--e4); border: 1px solid var(--trait); border-radius: 999px; background: var(--fond); color: var(--gris); font: inherit; font-size: .75rem; letter-spacing: .08em; cursor: pointer; }
.evo-retour { display: none !important; }
.evo-attente { position: relative; height: calc(var(--e7) * 2); }
.evo-attente::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--encre); opacity: .35; }
.evo-attente::after { content: ""; position: absolute; right: var(--e5); top: 50%; width: var(--e3); height: var(--e3); margin-top: calc(var(--e3) / -2); border: 1px solid var(--encre); border-radius: 50%; background: var(--fond); animation: evo-ici 3.4s ease-out infinite; }
/* un check-point = un rond en pointillés (comme les phases), plus de carré ; en petit gris au-dessus : RÉALITÉ, MODULE 1 */
.evo-cp-rond { display: flex; align-items: center; justify-content: center; width: var(--e4); height: var(--e4); box-sizing: border-box; border: 1px dashed var(--encre); border-radius: 50%; background: var(--fond); font-size: .75rem; font-weight: 400; color: var(--encre); }
.evo-cp.choisi::after { border-radius: 50%; }
.evo-haut { position: absolute; bottom: 100%; margin-bottom: var(--e1); font-size: .75rem; letter-spacing: .2em; padding-left: .2em; color: var(--gris); white-space: nowrap; }

.evo-origine.evo-reel { width: var(--e3); height: var(--e3); }

/* LA VUE DE LOIN : l'orbe et un anneau par module */
.evo-macro { display: none; flex-direction: column; align-items: center; justify-content: center; min-height: 56vh; }
.evo-macro-boite { position: relative; width: min(86vw, 24rem); height: min(86vw, 24rem); cursor: pointer; }
.evo-puces { display: flex; gap: var(--e4); margin-top: var(--e4); }
.evo-puce { width: var(--e5); height: var(--e5); padding: 0; border: 1px solid var(--trait); border-radius: 50%; background: var(--fond); color: var(--encre); font: inherit; font-size: .75rem; letter-spacing: .04em; cursor: pointer; }
.evo-puce.courant { border-color: var(--encre); box-shadow: 0 0 0 var(--e1) var(--fond), 0 0 0 calc(var(--e1) + 1px) var(--trait); }
.evo-loin-aide { margin-top: var(--e4); }
#evolutionPanneau.evo-loin .evo-macro { display: flex; animation: evo-entre .7s ease both; }
#evolutionPanneau.evo-loin .evo-bande, #evolutionPanneau.evo-loin .evo-glisse, #evolutionPanneau.evo-loin .evo-ecrire, #evolutionPanneau.evo-loin .evo-detail, #evolutionPanneau.evo-loin .evo-apercu-test, #evolutionPanneau.evo-loin .evo-recul, #evolutionPanneau.evo-loin .evo-ambiance { display: none; }
@keyframes evo-entre { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.evo-recul { position: absolute; right: 0; top: 0; z-index: 2; width: var(--e5); height: var(--e5); padding: 0; border: 1px solid var(--trait); border-radius: 50%; background: var(--fond); cursor: pointer; }
.evo-recul::before { content: ""; position: absolute; inset: var(--e2); border: 1px solid var(--encre); border-radius: 50%; }
.evo-recul::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--e2); height: var(--e2); margin: calc(var(--e2) / -2) 0 0 calc(var(--e2) / -2); background: var(--encre); border-radius: 50%; }
@media (prefers-reduced-motion: reduce) { #evolutionPanneau.evo-loin .evo-macro { animation: none; } }

/* un module ouvert depuis l'orbe : l'orbe se range en haut, la timeline de ce module s'ouvre dessous */
#evolutionPanneau.evo-loin .evo2 { display: flex; flex-direction: column; }
#evolutionPanneau.evo-loin .evo-macro { order: -1; transition: min-height .5s ease; }
#evolutionPanneau.evo-loin.evo-focus .evo-macro { min-height: 0; }
#evolutionPanneau.evo-loin.evo-focus .evo-macro-boite { width: min(34vw, 9rem); height: min(34vw, 9rem); transition: width .5s ease, height .5s ease; }
#evolutionPanneau.evo-loin.evo-focus .evo-bande, #evolutionPanneau.evo-loin.evo-focus .evo-glisse, #evolutionPanneau.evo-loin.evo-focus .evo-detail { display: block; animation: evo-monte .6s ease both; }
#evolutionPanneau.evo-loin.evo-focus .evo-detail { display: block; }
.evo-puce.a-venir { opacity: .35; cursor: default; }
.evo-focus-titre { margin: var(--e4) 0 var(--e3); font-size: .75rem; font-weight: 400; letter-spacing: .2em; padding-left: .2em; text-align: center; }
@keyframes evo-monte { from { opacity: 0; transform: translateY(var(--e5)); } to { opacity: 1; transform: none; } }

/* l'orbe de loin : petite ; les modules se deplient un a un quand on la touche */
.evo-macro-boite { width: min(56vw, 14rem); height: min(56vw, 14rem); }
.evo-puce { animation: evo-deplie .45s ease both; }
.evo-chapitre { margin: var(--e4) 0 var(--e2); font-size: .75rem; letter-spacing: .24em; padding-left: .24em; color: var(--gris); }
@keyframes evo-deplie { from { opacity: 0; transform: translateY(calc(var(--e4) * -1)) scale(.5); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .evo-puce { animation: none; } }

/* la vue orbitale d'un module : l'orbe grandit, les phases sont des anneaux, les jours des points */
#evolutionPanneau.evo-radial .evo-bande, #evolutionPanneau.evo-radial .evo-glisse { display: none !important; }
#evolutionPanneau.evo-loin.evo-radial .evo-macro-boite { width: min(88vw, 23rem); height: min(88vw, 23rem); }
.evo-radial-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.rd-nom { font-size: 4.2px; letter-spacing: .6px; fill: var(--gris-carte); paint-order: stroke; stroke: var(--fond); stroke-width: 1.4px; }
.rd-jour, .rd-cp, .rd-centre { cursor: pointer; }
.rd-jour:focus-visible, .rd-cp:focus-visible, .rd-centre:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.rd-centre circle:first-child { animation: evo-respire 5.5s ease-in-out infinite; transform-origin: 0 0; }
@keyframes evo-respire { 0%, 100% { transform: scale(.94); } 50% { transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .rd-centre circle:first-child { animation: none; } }
.evo-detail .fil { margin: 0 0 var(--e4); }
.evo-detail .fil li:first-child { border-top: 0; }
.hub-evo-attente { cursor: default; }
.hub-produit-attente { cursor: default; }
/* le compte a rebours doux : une seule ligne calme (« Dans 11 jours »), qui respire tres lentement ; jamais de secondes */
.decompte-doux { margin: var(--e4) 0 var(--e2); text-align: center; font-size: .95rem; font-weight: 300; letter-spacing: .14em; padding-left: .14em; color: var(--encre); animation: decompte-respire 6s ease-in-out infinite; }
@keyframes decompte-respire { 0%, 100% { opacity: .55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .decompte-doux { animation: none; opacity: 1; } }

/* LE GUIDE : un cadre fin autour de ce qu'on explique, un voile doux sur le reste, une bulle claire (jamais de bouton noir) */
#guide { position: fixed; inset: 0; z-index: 9000; }
.guide-cadre { position: fixed; border: 1px solid var(--encre); border-radius: var(--r-carte); box-shadow: 0 0 0 100vmax var(--voile); opacity: 1; transition: left .35s ease, top .35s ease, width .35s ease, height .35s ease; pointer-events: none; }
@supports (background: color-mix(in srgb, red 50%, blue)) { .guide-cadre { box-shadow: 0 0 0 100vmax color-mix(in srgb, var(--fond) 80%, transparent); } }
.guide-bulle { position: fixed; left: var(--e4); right: var(--e4); max-width: 22rem; margin: 0 auto; padding: var(--e4); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); display: flex; flex-direction: column; align-items: center; gap: var(--e3); text-align: center; transition: top .35s ease; }
.guide-bulle.guide-entre { animation: guide-arrive .4s ease both; }
.guide-texte { margin: 0; font-size: .92rem; font-weight: 300; line-height: 1.6; color: var(--encre); }
.guide-points { display: flex; gap: var(--e2); }
.guide-points span { width: var(--e2); height: var(--e2); border-radius: 50%; border: 1px solid var(--encre); box-sizing: border-box; }
.guide-points span.ici { background: var(--encre); }
.guide-suite { padding: var(--e3) var(--e5); border: 1px solid var(--encre); border-radius: 999px; background: var(--fond); color: var(--encre); font: inherit; font-size: .82rem; letter-spacing: .06em; cursor: pointer; }
.guide-passe { padding: var(--e2) var(--e3); border: 0; background: none; color: var(--gris); font: inherit; font-size: .75rem; letter-spacing: .06em; cursor: pointer; }
.guide-relance { display: block; margin: var(--e5) auto 0; }
@keyframes guide-arrive { from { opacity: 0; transform: translateY(var(--e3)); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .guide-bulle.guide-entre { animation: none; } .guide-cadre, .guide-bulle { transition: none; } }

/* ============ VERSION ORDINATEUR (validee par Matylda le 6 octobre) : largeur 1100 px et plus. Le telephone ne change pas. ============ */
@media (min-width: 1100px) {
  :root { --dock: 27.64vw; }
  .ecran, .panneau .corps { max-width: none; }
  /* la barre reste en bas, sur toute la largeur : RÉALITÉ a gauche, le rond au milieu, MON ESPACE a droite */
  #barre { display: grid; grid-template-columns: 1fr auto 1fr; width: 100%; max-width: none; padding-left: var(--e6); padding-right: var(--e6); box-sizing: border-box; }
  #barre button[data-onglet] { flex: none; padding: 0; width: max-content; }
  #barre button[data-onglet="realite"] { justify-self: start; }
  #barre button[data-onglet="espace"] { justify-self: end; }
  #barre .centre { width: 5.75rem; }
  /* des barres de defilement tres fines (4 px), discretes */
  * { scrollbar-width: thin; scrollbar-color: var(--trait) transparent; }
  *::-webkit-scrollbar { width: 4px; height: 4px; }
  *::-webkit-scrollbar-track { background: transparent; }
  *::-webkit-scrollbar-thumb { background: var(--trait); border-radius: 2px; }
  *::-webkit-scrollbar-thumb:hover { background: var(--gris); }
  /* l'accueil : la roue, grande, avec « Où es-tu ? » */
  #roueCercle { width: min(46vh, 32rem); margin-top: var(--e5); }
  #roueCercle svg { max-width: none; }
  /* MON ESPACE : en haut l'orbe (a gauche) et le calendrier (1 / 1,618), dessous le bandeau RÉALITÉ puis MON JOURNAL et MES RAPPELS ; on descend dans la page */
  #espace { padding-left: var(--e7); padding-right: var(--e7); }
  #espace > .titre { font-size: 2.1rem; font-weight: 600; letter-spacing: .02em; }
  #espace > .salut { font-size: 1.5rem; margin-top: var(--e3); }
  #espace > .sous { font-size: 1rem; margin-top: var(--e2); }
  #hubCartes { display: grid; grid-template-columns: 1fr 1.618fr; column-gap: var(--e6); align-items: start; margin-top: var(--e5); }
  #hubCartes > * { grid-column: 1 / -1; }
  #hubCartes > .hub-evo-orbe { grid-column: 1; grid-row: 1; margin-top: var(--e5); }
  #hubCartes > .orbe-indication { grid-column: 1; grid-row: 1; align-self: start; margin-top: calc(15rem + var(--e6) + var(--e3)); }
  #hubCartes > .cal { grid-column: 2; grid-row: 1; }
  #hubCartes > .hub-produit { justify-self: center; width: min(100%, 38rem); margin-top: var(--e6); }
  #hubCartes > .hub-tuiles { justify-self: center; width: min(100%, 38rem); }
  /* RÉALITÉ : le menu du module reste ouvert a gauche, le contenu a droite, le texte a l'horizontale */
  .poignee { display: none !important; }
  body.menu-dock #menuModule { display: flex; left: 0; top: 0; right: auto; bottom: calc(var(--barre) + var(--bas)); width: var(--dock); box-shadow: none; border-right: 1px solid var(--trait); z-index: 30; }
  body.menu-dock #menuModule .fleche, body.menu-dock .voile-menu { display: none !important; }
  body.menu-dock #page, body.menu-dock #listeModules, body.menu-dock #espaceRealite { left: var(--dock); }
  body.menu-dock #menuModule .corps { padding: var(--e6) var(--e5) var(--e5); }
  body.menu-dock #page .corps, body.menu-dock #listeModules .corps, body.menu-dock #espaceRealite .corps { padding-left: var(--e7); padding-right: var(--e7); }
  #pageCorps .lecture { max-width: 70rem; margin-left: auto; margin-right: auto; }
  #pageCorps .b-section { column-count: 2; column-gap: var(--e6); }
  #pageCorps .b-section > :not(.b-texte) { column-span: all; }
  #pageCorps .b-section > .b-texte { break-inside: avoid; margin-top: 0; margin-bottom: var(--e4); }   /* pas de marge en haut : les deux colonnes commencent exactement au meme niveau */
  #pageCorps .b-section > .b-titre { margin-bottom: var(--e4); }
  #pageCorps .b-section > .b-citation + .b-texte:not(:has(+ .b-texte)) { column-span: all; }   /* 15 nov. 2026 (Matylda) : un paragraphe seul apres un exemple (le but d'un exercice) prend toute la largeur, il ne reste pas colle dans la colonne de gauche */
  #pageCorps .b-section-intro { column-count: 2; }
  /* les dessins (roues, chemins) gardent la taille du telephone : jamais plus hauts que l'ecran */
  #pageCorps .b-dessin { max-width: 24rem; margin-left: auto; margin-right: auto; }
  #pageCorps .b-dessin svg { max-height: 56vh; }
  .voile-haut { display: none; }
}
@media (min-width: 1100px) {
  /* base des protocoles sur ordinateur : la colonne prend toute la largeur (les etapes sont mises en page plus bas, « MISE EN PAGE B » ; les fins gardent ces reglages) */
  .protocole { align-items: stretch; }
  .protocole-interieur { max-width: none; justify-content: flex-start; padding: var(--e6) var(--e7) var(--e5); }
  .protocole-interieur > .surtitre-etape, .protocole-interieur > .etape-titre, .protocole-interieur > .etape-texte, .protocole-interieur > .etape-precision {
    margin-left: 0; margin-right: auto; text-align: left; width: 100%; max-width: 46rem; }
  .protocole-interieur > .etape-titre { font-size: 2.1rem; margin-bottom: var(--e4); }
  .protocole-interieur > .etape-texte { font-size: 1.22rem; }
  .protocole-interieur > .etape-precision { font-size: .95rem; }
  .protocole-interieur > #detailVisuel { flex: 1 1 auto; display: flex; align-items: center; justify-content: center; zoom: 1.3; min-height: 0; }
  .protocole-interieur > #detailChamp, .protocole-interieur > .note-etape, .protocole-interieur > .encadre-etape { margin-left: auto; margin-right: auto; text-align: center; max-width: 34rem; }
  .protocole-interieur > #detailVisuel:empty { display: none; }
}
/* les ecrans de fin (« Magnifique. », « Pas de souci. », « Peur ou confiance ? ») : tout est centre dans l'ecran, rien n'est agrandi, un point vert plus grand */
@media (min-width: 1100px) {
  .protocole.accent .protocole-interieur { justify-content: center; align-items: center; }
  .protocole.accent .protocole-interieur > * { margin-left: auto; margin-right: auto; text-align: center; }
  .protocole.accent .protocole-interieur > .etape-titre { max-width: 34rem; font-size: 2.2rem; margin-bottom: var(--e3); }
  .protocole.accent .protocole-interieur > .etape-texte { max-width: 34rem; font-size: 1.3rem; }
  .protocole.accent .protocole-interieur > .etape-precision { max-width: 24rem; margin-left: auto; margin-right: auto; }
  .protocole.accent .protocole-interieur > #detailVisuel { flex: 0 0 auto; zoom: 1; }
  .protocole[data-etape="centre"] .etape-titre::before { width: var(--e7); height: var(--e7); margin-bottom: var(--e6); }
  .protocole.accent[data-etape="centre"] .etape-precision { margin-top: var(--e6); }
}

/* le bouton qui ferme et rouvre le menu de gauche (ordinateur seulement) */
.dock-bascule { display: none; position: fixed; top: var(--e5); left: calc(var(--dock, 27.64vw) + var(--e4)); z-index: 40; flex-direction: column; justify-content: center; gap: .34rem; width: 2.9rem; height: 2.9rem; padding: .85rem; background: var(--fond); border: 1px solid var(--trait); border-radius: 50%; box-sizing: border-box; cursor: pointer; }
.dock-bascule span { display: block; height: 1px; background: var(--encre); }
.dock-bascule span:nth-child(1) { width: 100%; } .dock-bascule span:nth-child(2) { width: 70%; } .dock-bascule span:nth-child(3) { width: 85%; }
body.dock-ferme .dock-bascule { left: var(--e5); }
@media (max-width: 1099px) { .dock-bascule { display: none !important; } }
@media (min-width: 1100px) {
  body.dock-ferme #menuModule { display: none !important; }
  body.dock-ferme #page, body.dock-ferme #listeModules, body.dock-ferme #espaceRealite { left: 0; }
  body.menu-dock #page .corps, body.menu-dock #listeModules .corps, body.menu-dock #espaceRealite .corps { padding-top: calc(var(--e6) + var(--e5)); }
}

/* ordinateur : le « ? » de l'accueil ouvre une petite bulle sur le cote, pas une page */
@media (min-width: 1100px) {
  .aide-bulle { position: fixed; top: calc(var(--e5) + 3.4rem); right: var(--e5); z-index: 60; width: min(24rem, 32vw); max-height: calc(100vh - var(--barre) - var(--e7) - var(--e6)); overflow-y: auto; padding: var(--e5); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); box-shadow: 0 var(--e3) var(--e6) rgba(17, 17, 17, .08); animation: guide-arrive .3s ease both; }
  .aide-bulle-titre { margin: 0 0 var(--e3); font-size: .75rem; font-weight: 500; letter-spacing: .14em; color: var(--gris); }
  .aide-bulle .aide-intro { margin: 0 0 var(--e3); font-size: .95rem; font-weight: 300; line-height: 1.6; }
  .aide-bulle .aide-etapes { margin: 0 0 var(--e3); padding-left: var(--e4); font-size: .92rem; font-weight: 300; line-height: 1.6; }
  .aide-bulle .aide-etapes li + li { margin-top: var(--e2); }
  .aide-bulle .aide-fin { margin: 0; font-size: .85rem; font-weight: 300; line-height: 1.6; color: var(--gris); }
}

/* ordinateur : quand quelque chose s'ouvre et qu'il y a de la place, les listes passent sur deux colonnes (rien ne change sur telephone) */
@media (min-width: 1100px) {
  .page-lecture { max-width: 50rem; }
  .fenetre .bande-corps ul, .signal-corps ul, .b-plus-texte ul, ul.b-liste:has(> li:nth-child(6)) { column-count: 2; column-gap: var(--e6); }
  .fenetre .bande-corps li, .signal-corps li, .b-plus-texte li, ul.b-liste li { break-inside: avoid; }
}

/* ordinateur : les tuiles par trois, les listes de l'essence sur deux colonnes */
@media (min-width: 1100px) {
  #pageCorps .b-tuiles-impair { grid-template-columns: repeat(3, 1fr); }
  #pageCorps .b-tuiles-impair:has(> :only-child) { grid-template-columns: 1fr; }
  #pageCorps .b-encadre { column-count: 2; column-gap: var(--e6); }
  #pageCorps .b-encadre .b-entree { break-inside: avoid; }
}

/* ordinateur : les textes d'introduction poses directement dans la page (marqueurs, exploration, accueils) sont aussi sur deux colonnes */
@media (min-width: 1100px) {
  #pageCorps .lecture { column-count: 2; column-gap: var(--e6); }
  #pageCorps .lecture > :not(.b-texte) { column-span: all; }
  #pageCorps .lecture > .b-texte { break-inside: avoid; margin-top: 0; margin-bottom: var(--e4); }
}

/* ordinateur : « Peur ou confiance ? » en deux cartes cote a cote ; « Pas de souci. » plus haut, avec un bouton a la charte (pilule blanche, contour fin) */
@media (min-width: 1100px) {
  .protocole[data-etape="nomme"] .nomination { flex-direction: row; max-width: 44rem; gap: var(--e5); }
  .protocole[data-etape="nomme"] .nom-option { flex: 1 1 0; }
  .protocole.accent[data-etape="encore"] .protocole-interieur { padding-bottom: 22vh; }
  .protocole.accent[data-etape="encore"] .bouton-page { flex-direction: row; width: auto; max-width: none; margin: var(--e5) auto 0; padding: var(--e4) var(--e6); gap: var(--e3);
    background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; font-size: 1.15rem; font-weight: 400; line-height: 1.2; white-space: nowrap; }
  .protocole.accent[data-etape="encore"] .bouton-page::after { content: "→"; color: var(--gris); }
}

/* ordinateur : tous les ecrans de fin « Magnifique. » (corps, tete, emotions, energie, et le protocole pour revenir en confiance) ont le meme modele : point vert, titre, phrase, trait fin, rappel */
@media (min-width: 1100px) {
  .protocole[data-etape="arrive"] .etape-titre::before { content: ""; display: block; width: var(--e7); height: var(--e7); margin: 0 auto var(--e6); border-radius: 50%; background: var(--vert); animation: fin-respire 3.4s ease-in-out infinite; }
  .protocole.accent[data-etape="arrive"] .etape-precision { max-width: 24rem; margin: var(--e6) auto 0; padding-top: var(--e5); border-top: 1px solid var(--trait); line-height: 1.8; }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) { .protocole[data-etape="arrive"] .etape-titre::before { animation: none; box-shadow: 0 0 0 var(--e2) rgba(31, 157, 85, .14); } }

/* LA CARTE QUESTION (la question du module ET la question de la semaine) : une carte grise a .7rem, avec deux anneaux tres fins qui respirent derriere la question
   (le meme motif que l'orbe) ; la question de la semaine a en plus un point qui respire au-dessus de son libelle. Phone et ordinateur. */
.lecture .b-appel { position: relative; isolation: isolate; overflow: hidden; margin: var(--e6) 0; padding: var(--e6) var(--e4); background: var(--voile); border: 0; border-radius: var(--r-carte); }
.lecture .b-appel::before, .lecture .b-appel::after { content: ""; position: absolute; left: 100%; top: 0; border: 1px solid var(--trait); border-radius: 50%; z-index: -1; pointer-events: none; animation: appel-respire 9s ease-in-out infinite; }
.lecture .b-appel::before { width: 12rem; height: 12rem; }
.lecture .b-appel::after { width: 20rem; height: 20rem; opacity: .6; animation-delay: -4.5s; }
@keyframes appel-respire { 0%, 100% { transform: translate(-50%, -50%) scale(.96); } 50% { transform: translate(-50%, -50%) scale(1.04); } }
.lecture .b-appel:not(.b-appel-deux) .b-appel-avant::before { content: ""; display: block; width: var(--e3); height: var(--e3); margin: 0 auto var(--e4); border-radius: 50%; background: var(--encre); animation: evo-ici 3.4s ease-out infinite; }
:is(.lecture .b-appel) :is(.b-lien, .b-parcours, .bouton-page) { background: var(--fond); }
@media (prefers-reduced-motion: reduce) { .lecture .b-appel::before, .lecture .b-appel::after { animation: none; transform: translate(-50%, -50%); } .lecture .b-appel:not(.b-appel-deux) .b-appel-avant::before { animation: none; } }
@media (min-width: 1100px) { .lecture .b-appel { max-width: 46rem; margin-left: auto; margin-right: auto; } }


/* MOUVEMENT REDUIT : ce bloc est le DERNIER du fichier, pour que rien de ce qui est redefini plus haut (l'orbe l'est trois fois) ne reprenne le mouvement. */
@media (prefers-reduced-motion: reduce) {
  .hub-evo-orbe, .orbe-sphere, .orbe-halo, .orbe-alien, .orbe-corps, .orbe-ombres, .orbe-tour, .orbe-eclats, .evo-attente::after { animation: none !important; }
  .orbe-halo { opacity: 0; }
}

/* PROTOCOLE SANS GESTE : deux boutons « Étape précédente / suivante » pour le clavier, les lecteurs d'écran et la commande vocale.
   Invisibles à l'écran (la règle « sans flèches visibles » reste vraie), ils n'apparaissent que lorsqu'on y arrive au clavier (focus). */
.nav-etape button { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nav-etape button:focus-visible { width: auto; height: auto; margin: 0; clip-path: none; overflow: visible; top: var(--e4); left: 50%; transform: translateX(-50%); z-index: 6;
  padding: var(--e2) var(--e4); border: 1px solid var(--encre); border-radius: 999px; background: var(--fond); color: var(--encre); font: inherit; font-size: .82rem; }

/* L'ETAT DU HORS LIGNE (MON ESPACE) : une indication, comme les autres : petite, grise, centree, a --e4 de ce qui la precede */
.hors-ligne-etat { margin: var(--e4) auto 0; max-width: 30ch; text-align: center; }

/* HARMONISATION, LOT 1 (7 octobre) : corrections communes, sans changement de texte.
   Une partie de page sans carte grise s'aligne sur le texte d'introduction (plus de retrait de 21 px). */
.b-section:not(.b-section-teinte) { padding-left: 0; padding-right: 0; }
/* pas de mot seul en fin de ligne : lignes de texte « pretty », titres et indications « balance » */
.b-texte, .b-liste span, .b-liste-texte, .parcours-texte, .note-page p, .intro { text-wrap: pretty; }
.b-titre, .b-entete-nom, .b-appel-titre, .b-encart-titre, .page-lecture h2, .sous, .journal-q-question, .fenetre-pied { text-wrap: balance; }
.page-lecture h2:empty { display: none; }
/* champs de saisie : 16 px au moins (sinon l'iPhone zoome), pas de poignee de redimensionnement */
.journal-zone { font-size: 1rem; resize: none; }
input.rappel-heure { font-size: 1rem; }
/* zones a toucher : 40 px de haut au moins */
.envoyer, .b-lien, .cal-voir-mois, .guide-passe { padding-top: var(--e3); padding-bottom: var(--e3); }
.envoyer, .b-lien { padding-left: var(--e4); padding-right: var(--e4); }
.cal-voir-mois, .guide-passe { padding-left: var(--e4); padding-right: var(--e4); }
.lien-discret { padding: var(--e3); }
.envoyer:disabled { opacity: .5; }
/* le placeholder « code » ne ressemble pas a un code deja saisi */
#code::placeholder { font-weight: 300; letter-spacing: .05em; }
/* un seul bouton : la pilule */
.bouton { border-radius: 999px; }
/* une seule forme de boite */
.fenetre { border-radius: var(--r-carte); }
.b-section, .b-tuile, .b-spotify { border-radius: var(--r-carte); }
/* pied du tableau : une indication (petite, grise, centree, a --e4) */
.fenetre-pied { margin: var(--e4) auto 0; max-width: 21rem; text-align: center; font-size: .78rem; line-height: 1.6; }
/* parcours : l'indication et la consigne sous le geste sont centrees, a --e4 */
.parcours-gong-consigne { margin: var(--e4) auto 0; }
.protocole .parcours-gong-consigne { margin-top: var(--e1); }
.parcours-texte.parcours-apres { margin-left: auto; margin-right: auto; max-width: 21rem; text-align: center; font-size: .78rem; text-wrap: balance; }
/* PEUR - CONFIANCE : l'axe se resserre sur telephone pour que le mot ne touche plus le bord de la carte */
.b-appel-axe { width: var(--e5); }
@media (min-width: 760px) { .b-appel-axe { width: var(--e7); } }
/* ordinateur : le sous-titre garde son souffle avant le texte */
@media (min-width: 1100px) {
  #pageCorps .lecture > .b-sous { margin-bottom: var(--e4); }
  #pageCorps .b-section > .b-soustitre + .b-texte { margin-top: var(--e2); }
}

/* HARMONISATION, LOT 2 : ecrans de protocole. UNE indication : 13 px, fine, grise, a --e4 de ce qui la precede.
   (les precisions des ecrans centres et des fins gardent leur propre rang.) */
.etape-precision, .note-etape, .choix-invite, .surtitre-etape, .mains-respire { font-size: .8125rem; font-weight: 300; line-height: 1.6; color: var(--gris); }
.protocole:not(.centre):not(.accent) .etape-precision { margin-top: var(--e4); }
.note-etape, .protocole[data-etape="nomme"] .note-etape, .visuel-etape:has(.nomination) + .note-etape { margin-top: var(--e4); }
.choix-invite { margin-top: var(--e4); }
/* l'en-tete du protocole s'aligne sur le texte (28 px) */
.entete-protocole { left: 1.75rem; right: 1.75rem; }
/* zones a toucher : 40 px au moins */
.lien-page, .protocole:is([data-etape="centre"], [data-mise="fin-niveau"]) .lien-page { padding-top: var(--e3); padding-bottom: var(--e3); }
.souffle-relance, .scan-relance { padding: var(--e3) var(--e4); }
/* boites : une seule forme */
.protocole[data-etape="nomme"] .nom-option, .protocole.accent[data-etape="encore"] .bouton-page { border-radius: var(--r-carte); }
/* entre le titre et le sous-titre des fins : --e2 */
.protocole.centre .etape-titre, .protocole.accent .etape-titre { margin-bottom: var(--e2); }

/* LOT 3 : sur telephone comme sur ordinateur, tous les titres d'etape (hors ecrans de fin) sont au meme endroit,
   a la meme taille, au meme alignement : en haut, a gauche. */
.protocole:not(.accent) .protocole-interieur { justify-content: flex-start; padding-top: calc(var(--haut) + 4.5rem); }
.protocole:not(.accent) .etape-titre { font-size: 1.24rem; font-weight: 500; line-height: 1.4; letter-spacing: normal; text-transform: none; text-align: left; margin: 0 auto 1.6rem; max-width: 21rem; }
.protocole.centre:not(.accent) :is(.surtitre-etape, .etape-texte, .etape-precision) { text-align: left; }
.protocole[data-etape="nomme"] .etape-titre { font-size: 1.24rem; font-weight: 500; letter-spacing: normal; }
/* « Je suis vert / jaune / rouge » : le petit rond de couleur devant */
.dire { display: flex; align-items: center; justify-content: center; gap: var(--e3); }
.dire .pastille-nom { flex: 0 0 auto; width: 1rem; height: 1rem; border-radius: 50%; }
/* une seule carte : meme fond, meme trait fin, meme forme, pour les choix et la carte de fin */
.protocole.accent[data-etape="encore"] .bouton-page { border: 1px solid var(--trait); background: var(--fond); border-radius: var(--r-carte); }
/* le scan : la silhouette se met a la taille de l'ecran, pour que « Je recommence » reste visible au-dessus de la barre */
.scan-bloc { margin-top: var(--e4); }
.scan-figure { height: 9.5rem; }

/* LES TROIS FINS (la question, Magnifique, Pas de souci) : un seul modele. Tout est centre ; les choix et le
   bouton sont des PILULES, comme « Comprends ce qui se passe » ; le rond vert respire ; rien de plus lourd. */
.protocole.accent[data-etape="nomme"] .surtitre-etape { max-width: none; text-align: center; margin: 0 0 var(--e3); font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.protocole.accent[data-etape="nomme"] .etape-titre { font-size: 2rem; font-weight: 500; line-height: 1.25; text-align: center; max-width: none; margin: 0 0 var(--e5); }
.protocole.accent[data-etape="nomme"] .nomination { margin-top: 0; max-width: 19rem; gap: var(--e3); flex-direction: column; align-items: stretch; }
.protocole.accent[data-etape="nomme"] .nom-option { justify-content: flex-start; padding: var(--e3) var(--e5); background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; font-size: 1rem; font-weight: 500; gap: var(--e3); }
.protocole.accent[data-etape="nomme"] .note-etape { margin-top: var(--e5); text-align: center; }
.protocole.accent[data-etape="encore"] .bouton-page { flex-direction: row; width: auto; max-width: 20rem; padding: var(--e4) var(--e5); gap: var(--e3); text-align: left; border: 1px solid var(--trait); border-radius: 999px; background: var(--fond); font-size: 1rem; font-weight: 500; line-height: 1.35; }
.protocole.accent[data-etape="encore"] .bouton-page::after { content: "→"; color: var(--gris); flex: 0 0 auto; }
@media (min-width: 1100px) {
  .protocole.accent[data-etape="nomme"] .nomination { flex-direction: column; max-width: 19rem; }
  .protocole.accent[data-etape="nomme"] .nom-option { flex: 0 0 auto; }
  .protocole.accent[data-etape="nomme"] .protocole-interieur > .etape-titre { font-size: 2.2rem; margin-bottom: var(--e5); }
}
/* « Pas de souci » : le rond vert qui respire est au-dessus du titre, comme sur « Magnifique » ; le bouton n'est qu'une pilule */
.protocole.accent[data-etape="encore"] .etape-titre::before { content: ""; display: block; width: var(--e5); height: var(--e5); margin: 0 auto var(--e5); border-radius: 50%; background: var(--vert); animation: fin-respire 3.4s ease-in-out infinite; }
.protocole.accent[data-etape="encore"] .bouton-page .pastille-lien { display: none; }
.protocole.accent[data-etape="encore"] .bouton-page { justify-content: center; text-align: center; }
@media (prefers-reduced-motion: reduce) { .protocole.accent[data-etape="encore"] .etape-titre::before { animation: none; box-shadow: 0 0 0 var(--e2) rgba(31, 157, 85, .14); } }
/* la question tient sur une ligne */
.protocole.accent[data-etape="nomme"] .etape-titre { font-size: 1.7rem; }

/* LES TROIS FINS, ALIGNEES : meme point de depart, meme taille de titre ; le rond (ou la ligne « Ta question du module »)
   occupe la meme hauteur, donc le titre est au meme niveau sur les trois ecrans. */
.protocole.accent:is([data-etape="nomme"], [data-etape="centre"], [data-etape="encore"]) .protocole-interieur { justify-content: flex-start; align-items: stretch; padding-top: calc(var(--haut) + 5rem); }
.protocole.accent[data-etape="nomme"] .surtitre-etape { display: flex; align-items: center; justify-content: center; height: var(--e5); margin: 0 0 var(--e5); }
.protocole.accent[data-etape="nomme"] .etape-titre,
.protocole.accent[data-etape="centre"] .etape-titre,
.protocole.accent.discret[data-etape="encore"] .etape-titre { font-size: 1.75rem; font-weight: 500; line-height: 1.25; color: var(--encre); text-align: center; margin: 0 0 var(--e3); }
.protocole.accent[data-etape="nomme"] .etape-titre { margin-bottom: var(--e5); }
/* le bouton qui ramene en confiance : une pilule noire, c'est l'appel principal de l'ecran */
.protocole.accent[data-etape="encore"] .bouton-page { margin-top: var(--e5); padding: var(--e4) var(--e6); background: var(--encre); border: 0; color: var(--fond); font-size: 1rem; font-weight: 500; letter-spacing: .02em; }
.protocole.accent[data-etape="encore"] .bouton-page::after { color: var(--fond); opacity: .8; }
.protocole.accent[data-etape="encore"] .bouton-page:active { background: var(--encre); opacity: .85; }
@media (min-width: 1100px) {
  .protocole.accent:is([data-etape="nomme"], [data-etape="centre"], [data-etape="encore"]) .protocole-interieur { justify-content: flex-start; align-items: center; padding-top: calc(var(--haut) + var(--e7)); padding-bottom: var(--e6); }
  .protocole[data-etape="centre"] .etape-titre::before { width: var(--e5); height: var(--e5); margin-bottom: var(--e5); }
  .protocole.accent:is([data-etape="nomme"], [data-etape="centre"], [data-etape="encore"]) .protocole-interieur > .etape-titre { font-size: 1.75rem; margin-bottom: var(--e3); }
  .protocole.accent[data-etape="nomme"] .protocole-interieur > .etape-titre { margin-bottom: var(--e5); }
  .protocole.accent[data-etape="encore"] .bouton-page { background: var(--encre); border: 0; }
}
.protocole.accent[data-etape="encore"] .bouton-page { padding: var(--e4) var(--e5); max-width: 17rem; text-wrap: balance; }

/* « Magnifique » et « Pas de souci » : plus bas, comme avant, et le rond vert exactement au meme endroit sur les deux */
.protocole.accent:is([data-etape="centre"], [data-etape="encore"]) .protocole-interieur { padding-top: calc(var(--haut) + 9.3rem); }
/* le bouton : le meme que partout (blanc, liseré fin, pilule) ; jamais de bouton noir */
.protocole.accent[data-etape="encore"] .bouton-page { max-width: 20rem; padding: var(--e3) var(--e4); background: var(--fond); border: 1px solid var(--trait); color: var(--encre); font-size: .75rem; font-weight: 500; letter-spacing: .12em; line-height: 1.6; text-align: center; }
.protocole.accent[data-etape="encore"] .bouton-page::after { color: var(--gris); opacity: 1; }
.protocole.accent[data-etape="encore"] .bouton-page:active { background: var(--voile); opacity: 1; }
@media (min-width: 1100px) {
  .protocole.accent:is([data-etape="centre"], [data-etape="encore"]) .protocole-interieur { padding-top: calc(var(--haut) + 14rem); }
  .protocole.accent[data-etape="encore"] .bouton-page { background: var(--fond); border: 1px solid var(--trait); padding: var(--e3) var(--e4); }
}

/* LOT 4 : le texte d'un ecran d'exercice a la taille du corps de texte des pages (.b-texte : .95rem, 1.7), et le titre se tient pres de lui */
.protocole:not(.accent) .etape-texte { font-size: .95rem; line-height: 1.7; }
.protocole:not(.accent) .etape-titre { margin-bottom: var(--e3); }
@media (min-width: 1100px) {
  .protocole:not(.accent) .protocole-interieur > .etape-texte { font-size: 1.05rem; line-height: 1.7; }
  .protocole:not(.accent) .protocole-interieur > .etape-titre { margin-bottom: var(--e3); }
}

/* LES DEUX SILHOUETTES (la couleur du corps, le scan) : meme taille, et exactement au meme niveau dans l'ecran.
   Le texte au-dessus reserve la meme place (3 lignes), la precision aussi. */
.scan-figure { height: clamp(8rem, 24svh, 15.5rem); }
.scan-bloc { margin-top: var(--e4); }
.protocole-interieur:has(:is(.corps-bloc, .scan-bloc)) .etape-texte { min-height: 3.4em; }
.protocole-interieur:has(.corps-bloc.sans-figure) .etape-texte { min-height: 0; }
/* la ligne de precision deplacee sous la silhouette garde sa place en haut : les silhouettes ne bougent pas d'un ecran a l'autre */
.protocole-interieur:has(:is(.corps-bloc, .scan-bloc)) .etape-precision:is(.deplacee, :empty) { display: none; }

/* REGLE : l'IMAGE d'un protocole (silhouette, nuages, ciel, schema) est toujours a la meme hauteur d'un ecran a l'autre,
   meme s'il reste du vide. La zone de texte au-dessus a donc toujours la meme hauteur : titre sur UNE ligne, texte sur DEUX lignes au plus ;
   la petite phrase fine se lit sous l'image. */
.protocole:not(.accent) .etape-texte { min-height: 3.4em; }
.protocole-interieur:has(.corps-bloc.sans-figure) .etape-texte { min-height: 3.4em; }
/* le premier element d'une image de protocole commence exactement au meme endroit, quel que soit son type */
.protocole:not(.accent) #detailVisuel, .protocole:not(.accent) #detailChamp { margin-top: var(--e5); }
.protocole:not(.accent) #detailVisuel > :first-child, .protocole:not(.accent) #detailChamp > :first-child { margin-top: 0 !important; }
/* le bandeau du ciel (PENSÉES, etape 1) est aligne sur les nuages de l'etape 2 : memes centres */
.protocole:not(.accent) #detailVisuel > .echelle { margin-top: calc(var(--e6) + var(--e2)) !important; }
/* « PEUR OU CONFIANCE ? » : les deux choix se tiennent au meme niveau que les images des protocoles */
.protocole.accent[data-etape="nomme"] .nomination { margin-top: var(--e4); }
/* l'encadre sous une image : une indication, a --e4 de ce qui precede, et petite */
.encadre-etape { margin-top: var(--e4); padding-top: var(--e3); font-size: .8125rem; line-height: 1.6; }
.note-etape + .encadre-etape { margin-top: var(--e3); }
.protocole:not(.accent) #detailChamp:empty, .protocole:not(.accent) #detailVisuel:empty { display: none; }
/* le rond du souffle est au meme niveau que les autres images (centre a ~293 px) */
.protocole:not(.accent) .souffle-scene { margin-top: calc(-1 * (var(--e3) + var(--e1))); }

/* les phrases a dire commencent au meme endroit que les autres images */
.protocole:not(.accent) .dires { margin-top: 0; }
/* les signes + = − (ENERGIE, etape 1) et la zone d'ecriture (etape 2) sont centres comme les autres images : centre a ~290 px */
.protocole:not(.accent) #detailVisuel > .corps-bloc.sans-figure { margin-top: var(--e6) !important; }
.protocole:not(.accent) #detailChamp > .champ-etape { margin-top: var(--e5) !important; }

/* « Je suis vert / jaune / rouge » (et les autres phrases a dire) : le bloc reste centre dans l'ecran,
   mais les lignes sont alignees a gauche (les ronds sont les uns sous les autres, les textes aussi) */
.dires { width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; align-items: flex-start; }
.dire { width: auto; justify-content: flex-start; text-align: left; }
.dire::after { left: 0; transform: none; }

/* LECTURE UX (continuite) : une seule echelle pour « ce que je dis » et « ce que je choisis », une seule forme de bouton, une seule indication */
.dires { width: 19rem; max-width: 100%; gap: var(--e4); }
.dire { font-size: 1.0625rem; font-weight: 400; line-height: 1.4; padding-bottom: .5rem; }
.protocole.accent[data-etape="nomme"] .nomination { max-width: 19rem; }
.protocole.accent[data-etape="nomme"] .nom-option { font-size: 1.0625rem; font-weight: 400; padding-right: var(--e4); }
.protocole.accent[data-etape="nomme"] .etape-titre { font-size: 1.75rem; text-transform: none; letter-spacing: normal; }
.protocole.accent[data-etape="nomme"] .surtitre-etape { font-size: .8125rem; font-weight: 300; letter-spacing: normal; text-transform: none; }
.protocole.accent[data-etape="nomme"] .note-etape { margin-top: var(--e4); font-size: .8125rem; }
.protocole.accent[data-etape="centre"] .etape-titre, .protocole.accent.discret[data-etape="encore"] .etape-titre { letter-spacing: normal; }
/* l'etat « non choisi » : un seul effet */
.dires.active .dire, .nomination.active .nom-option, .pastilles.active button { opacity: .3; }
.dires.active .dire.choisi, .nomination.active .nom-option.choisi { opacity: 1; }
/* les indications sous une image sont centrees, sans filet (le filet reste sur l'ecran « Magnifique ») */
.encadre-etape { text-align: center; border-top: 0; padding-top: 0; margin-left: auto; margin-right: auto; max-width: 21rem; }
.note-etape + .encadre-etape { margin-top: var(--e4); }
/* les boutons : meme hauteur, meme axe (le centre) */
.valider-champ, .envoyer { line-height: 1.6; margin-left: auto; margin-right: auto; }
.protocole.accent[data-etape="encore"] .bouton-page { max-width: 19rem; }
/* « Je nomme… » : le bloc des phrases est CENTRE dans la page (sa largeur = la phrase la plus longue), les lignes sont alignees a gauche */
.dires { width: fit-content; max-width: 100%; }
/* « Ta question du module » : a la meme distance du titre que les autres sous-titres (--e3) ; le titre reste exactement au meme niveau que ceux des deux autres fins */
.protocole.accent[data-etape="nomme"] .surtitre-etape { display: block; height: auto; margin: var(--e5) 0 var(--e3); line-height: 1.6; }
/* « Peur ou confiance ? » : les deux pilules sont plus serrees entre elles, et l'indication se pose plus bas, avec de l'air */
.protocole.accent[data-etape="nomme"] .nomination { gap: var(--e2); }
.protocole.accent[data-etape="nomme"] .note-etape { margin-top: var(--e5); }
/* les pilules gardent leur ecart d'origine */
.protocole.accent[data-etape="nomme"] .nomination { gap: var(--e3); }
/* les petites phrases grises qui s'empilent sous une image (« Touche ta couleur », « Si tu ne sais pas… », la note, l'encadre) se tiennent : 8 px entre elles */
.choix-invite + .choix-invite-precision { margin-top: var(--e2); }
#detailVisuel:has(.choix-invite:last-child) + .note-etape { margin-top: var(--e2); }
.note-etape + .encadre-etape { margin-top: var(--e2); }
.protocole:not(.accent) .choix-invite, .protocole:not(.accent) .note-etape { line-height: 1.5; }
.choix-invite.choix-invite-precision { margin-top: var(--e2); }
#detailVisuel:has(.choix-invite:last-child) ~ .note-etape { margin-top: var(--e2); }

/* LES TROIS FINS, lecture UX : meme bouton partout (pilule de 19 rem, 17 px, calme), meme fleche, trois tailles de texte seulement (28 / 17 / 13) */
.protocole:is([data-etape="centre"], [data-mise="fin-niveau"]) .lien-page, .protocole.accent[data-etape="encore"] .bouton-page {
  display: flex; align-items: center; justify-content: center; gap: var(--e3); width: 19rem; max-width: 100%; min-height: 3.2rem; margin-left: auto; margin-right: auto;
  padding: var(--e3) var(--e4); background: var(--fond); border: 1px solid var(--trait); border-radius: 999px;
  font-size: 1.0625rem; font-weight: 400; letter-spacing: normal; line-height: 1.4; color: var(--encre); text-align: center; }
.protocole:is([data-etape="centre"], [data-mise="fin-niveau"]) .lien-page::after, .protocole.accent[data-etape="encore"] .bouton-page::after { content: "→"; color: var(--gris); flex: 0 0 auto; }
.protocole.accent[data-etape="encore"] .bouton-page { margin-top: var(--e6); }
.protocole.accent[data-etape="centre"] .etape-texte { font-size: 1.0625rem; font-weight: 300; }
.fin-question { font-size: 1.0625rem; }
.fin-rappel { margin-top: var(--e4); font-size: .8125rem; }
.protocole.accent[data-etape="centre"] .etape-precision { max-width: 19rem; }
@media (min-width: 1100px) { .protocole:is([data-etape="centre"], [data-mise="fin-niveau"]) .lien-page, .protocole.accent[data-etape="encore"] .bouton-page { padding: var(--e3) var(--e4); } }

/* la premiere petite phrase grise sous une image se pose plus bas (34 px) : elle ne colle plus aux ronds et aux icones */
:is(.corps-bloc > .choix-invite:not(.choix-invite-precision), .echelle > .choix-invite:not(.choix-invite-precision), .choix + .choix-invite:not(.choix-invite-precision), .scan-bloc > .scan-relance + .choix-invite) { margin-top: var(--e5); }
.protocole:not(.accent) #detailVisuel > .choix-invite:not(.choix-invite-precision) { margin-top: var(--e5); }
/* « Je nomme… » : le bloc des phrases est TOUJOURS centre dans l'ecran (2 ou 3 phrases : meme boite, contenu centre verticalement) */
.protocole:not(.accent) .dires { min-height: 11.5rem; justify-content: center; }

/* les deux boutons de fin (« Je comprends », « Je reviens en confiance ») : plus petits, sobres, a la taille de leur texte */
.protocole:is([data-etape="centre"], [data-mise="fin-niveau"]) .lien-page, .protocole.accent[data-etape="encore"] .bouton-page { width: auto; min-width: 12rem; min-height: 2.75rem; padding: var(--e3) var(--e5); font-size: .9375rem; }



/* « COMMENT SONT MES AUTRES ESPACES ? » (ÉNERGIE, étape 4) : UNE ROUE, la roue officielle. CORPS, PENSÉES et ÉMOTIONS portent leurs signes dans leur quartier
   (on touche le signe) ; ÉNERGIE, d'où l'on vient, reste grise avec son nom. Zones à toucher : 56 unités de la roue (44 px à 316 px). Les questions sont
   des indications sous la roue (à gauche sur ordinateur). */
.observe-espaces { width: min(19.75rem, 100%); margin-left: auto; margin-right: auto; }
.observe-roue { width: 100%; max-width: none; margin: 0 auto; }
.observe-roue svg { display: block; width: 100%; height: auto; }
.observe-roue .observe-quart { fill: transparent; cursor: default; transition: fill .2s ease; pointer-events: none; }
.observe-roue .observe-quart.fait { fill: color-mix(in srgb, var(--voile) 45%, transparent); }
.observe-roue .observe-quart.observe-neutre { fill: var(--voile); }
.observe-roue text.observe-nom-neutre { fill: var(--gris); font-weight: 400; }
.observe-roue .observe-choix { transition: opacity .2s ease; }
.observe-roue .observe-case.active .observe-choix:not(.choisi) { opacity: .3; }
.observe-roue .observe-rond { stroke: none; }
.observe-roue .observe-anneau { fill: none; stroke: var(--encre); stroke-width: 1.4; vector-effect: non-scaling-stroke; opacity: 0; transition: opacity .2s ease; }
.observe-roue .observe-choix.choisi .observe-anneau { opacity: 1; }
.observe-roue .observe-zone { fill: transparent; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; }
.observe-roue .observe-zone:focus-visible { stroke: var(--encre); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.observe-roue text { pointer-events: none; }

/* LA ROUE QU'ON TOUCHE (bloc « roueEspaces », pages « En savoir plus ») : la roue officielle, un quartier touché se marque à peine
   et ouvre sa petite bulle juste sous la roue (le style des bulles d'aide : fond, trait fin, --r-carte) ; l'indication revient quand elle se ferme */
.b-roue-espaces { display: flex; flex-direction: column; align-items: center; }
.roue.b-roue-espaces-roue { width: 100%; max-width: 21rem; margin: 0 auto; }
.b-roue-espaces-roue .secteur.ouvert { fill: color-mix(in srgb, var(--encre) 7%, transparent); }
.b-roue-espaces-roue .secteur.b-roue-muet { cursor: default; pointer-events: none; }
.b-roue-bulle { width: 100%; max-width: 21rem; box-sizing: border-box; margin: var(--e4) auto 0; padding: var(--e4);
  background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte);
  box-shadow: 0 var(--e3) var(--e5) color-mix(in srgb, var(--encre) 8%, transparent); text-align: center; cursor: pointer; }
.b-roue-bulle[hidden], .b-roue-espaces > .b-indication[hidden] { display: none; }
.b-roue-bulle.b-roue-bulle-entre { animation: guide-arrive .3s ease both; }
.b-roue-bulle-nom { margin: 0 0 var(--e2); font-size: .75rem; font-weight: 500; letter-spacing: .14em; color: var(--gris); }
.b-roue-bulle-texte { margin: 0; font-size: .92rem; font-weight: 300; line-height: 1.6; color: var(--encre); text-wrap: pretty; }
.b-roue-bulle-texte .b-roue-chapeau { margin: 0 0 var(--e3); font-weight: 400; }
.b-roue-bulle-texte .b-roue-ligne { margin: 0 0 var(--e2); padding: var(--e2) var(--e3); border: 1px solid var(--trait); border-radius: var(--r-carte); text-align: left; font-size: .88rem; }
.b-roue-bulle-texte .b-roue-clef { margin: var(--e3) 0 0; font-weight: 500; }
.b-roue-exterieur { display: flex; align-items: center; justify-content: center; gap: var(--e2); margin: 0 0 var(--e3); font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.b-roue-exterieur .fleche-monte { color: var(--rouge); }
.b-roue-exterieur .fleche-etat { width: 1.25rem; height: 1.25rem; flex: none; }
.b-roue-espaces > .b-indication { margin-top: var(--e4); }
@media (prefers-reduced-motion: reduce) { .b-roue-bulle.b-roue-bulle-entre { animation: none; } .b-roue-espaces-roue .secteur { transition: none; } }
.observe-legende-nom { font-weight: 500; letter-spacing: .1em; color: var(--encre); }
.protocole:not(.accent) #detailVisuel > .observe-legende + .observe-legende { margin-top: var(--e2); }
/* téléphone : la roue (316 px) remonte sous la consigne, son centre est au niveau des autres images (≈ 304 px) */
@media (max-width: 699px) { .protocole:not(.accent) #detailVisuel > .observe-espaces:first-child { margin-top: calc(-1 * (var(--e5) + var(--e3) + var(--e1))) !important; } }

/* VERSION BUREAU (lecture UX du 7 octobre) : une colonne de lecture centree, echelle 16 / 20 / 24 / 32 / 40 px, titre descendu, image toujours en haut de la scene. Le telephone ne change pas. */

/* ===== PROPOSITION BUREAU : une colonne de lecture (44rem), echelle 16 / 20 / 24 / 32 / 40 px, titre descendu ===== */
@media (min-width: 1100px) {
  :root { --colonne: 44rem; --z: 1.4; }
  /* ETAPES (hors fins) : voir plus bas « PROTOCOLES, MISE EN PAGE B ». Textes poses dans la scene (comptes en 1,4 : on divise pour obtenir 24 px reels) */
  .protocole .dire { font-size: calc(1.5rem / var(--z)); }
  .dires { width: fit-content; }
  /* FINS : le meme point de depart pour les trois (zone du rond / du surtitre = 34 px), titre 40 px */
  .protocole.accent:is([data-etape="nomme"], [data-etape="centre"], [data-etape="encore"], [data-etape="arrive"]) .protocole-interieur { padding-top: 22svh; padding-bottom: var(--e6); }
  .protocole.accent[data-etape="nomme"] .protocole-interieur > .surtitre-etape { display: flex; align-items: center; justify-content: center; height: var(--e5); margin: 0 0 var(--e4); font-size: 1rem; max-width: none; }
  .protocole.accent[data-etape="arrive"] .protocole-interieur { justify-content: flex-start; align-items: center; }   /* « Magnifique. » du protocole pour revenir en confiance part du meme niveau que les autres */
  .protocole.accent:is([data-etape="centre"], [data-etape="encore"], [data-etape="arrive"]) .protocole-interieur > .etape-titre::before { width: var(--e5); height: var(--e5); margin: 0 auto var(--e4); }
  .protocole.accent:is([data-etape="nomme"], [data-etape="centre"], [data-etape="encore"], [data-etape="arrive"]) .protocole-interieur > .etape-titre { font-size: 2.5rem; margin-bottom: var(--e3); }
  .protocole.accent[data-etape="nomme"] .protocole-interieur > .etape-titre { margin-bottom: var(--e5); }
  .protocole.accent[data-etape="centre"] .etape-texte { font-size: 1.25rem; max-width: 34rem; }
  .fin-question { font-size: 1.25rem; }
  .fin-rappel { font-size: 1rem; }
  .protocole.accent .protocole-interieur > .etape-precision, .protocole.accent[data-etape="centre"] .etape-precision { font-size: 1rem; max-width: 30rem; }
  .protocole.accent[data-etape="arrive"] .etape-precision, .protocole.accent[data-etape="centre"] .etape-precision { border-top-width: 1px; }
  .protocole.accent[data-etape="nomme"] .nomination { max-width: 28rem; gap: var(--e3); }
  .protocole.accent[data-etape="nomme"] .nom-option { font-size: 1.5rem; padding: var(--e3) var(--e5); }
  .protocole.accent[data-etape="nomme"] .note-etape { font-size: 1rem; margin-top: var(--e5); }
  .protocole:is([data-etape="centre"], [data-mise="fin-niveau"]) .lien-page, .protocole.accent[data-etape="encore"] .bouton-page { font-size: 1.125rem; min-width: 16rem; min-height: 3.4rem; padding: var(--e3) var(--e5); max-width: 28rem; }
  .protocole.accent[data-etape="encore"] .protocole-interieur { padding-bottom: var(--e6); }
}
@media (min-width: 1100px) and (max-height: 820px) { :root { --z: 1.2; } }
/* BUREAU : « Pas de souci » est seul, au milieu de l'ecran (decision de Matylda, 7 octobre) */
@media (min-width: 1100px) {
  .protocole.accent[data-etape="encore"] .protocole-interieur { justify-content: center; padding-top: var(--e6); padding-bottom: var(--e6); }
}

/* protocole pour revenir en confiance : un titre qui porte un retour a la ligne dans le JSON (« Ici et maintenant,\ntout va bien. ») se lit sur UNE ligne, comme les autres */
#detailZone[data-espace="ramener"]:not(.accent) #detailTitre { white-space: normal; }

/* ============ PROTOCOLES, MISE EN PAGE B (ordinateur, 1100 px et plus ; decision de Matylda, 13 octobre 2026, soir) =====   Deux panneaux. A GAUCHE (38,2 %, fond --voile-leger (un gris tres tres leger), trait fin a droite, toute la hauteur au-dessus de la barre) tout le texte, aligne a gauche et centre
   en hauteur : la question (le titre, 1 a 3 lignes), la consigne, les indications (#detailGauche > .etape-indic : action, precision, note, encadre).
   A DROITE (61,8 %, fond blanc) l'action : l'image, le geste, les choix, la zone d'ecriture, centree dans le panneau, toujours au meme niveau
   d'une etape a l'autre (capsule.js > caleImageBureau recale l'image sur le centre de la zone au-dessus de la barre). Rien ne defile.
   Les fins (.accent) et l'accueil avant ouverture (.porte) ont leur propre mise en page, plus haut (centrees, sans panneaux). Le telephone ne change pas. */
@media (min-width: 1100px) {
  #detailZone:not(.accent):not(.porte) { overflow: hidden; }
  #detailZone:not(.accent):not(.porte) .protocole-interieur { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
    max-width: none; width: 100%; height: 100%; min-height: 0; padding: 0 var(--e5) 0 calc(38.2% + var(--e5)); }
  /* le panneau gauche : fond --voile-leger (un gris tres tres leger), trait fin a droite, du haut de l'ecran a la barre du bas ; le texte y est aligne a gauche et centre en hauteur */
  #detailZone:not(.accent):not(.porte) #detailGauche { position: absolute; top: 0; bottom: 0; left: 0; width: 38.2%; box-sizing: border-box; padding: var(--e7) var(--e6);
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; background: var(--voile-leger); border-right: 1px solid var(--trait); }
  #detailZone:not(.accent):not(.porte) #detailGauche > * { width: 100%; max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
  #detailZone:not(.accent):not(.porte) :is(#detailSurtitre, #detailPrecision, #detailNote, #detailEncadre, #detailTexte):empty { display: none; }
  #detailZone:not(.accent):not(.porte) #detailGauche:not(:has(.etape-indic > *)) .etape-indic { display: none; }
  /* le titre (la question) : 1 a 3 lignes, a gauche */
  #detailZone:not(.accent):not(.porte) #detailTitre { margin-top: 0; margin-bottom: 0; font-size: 2.25rem; font-weight: 500; line-height: 1.25; white-space: normal; text-wrap: balance; overflow-wrap: break-word; }
  /* la consigne : sous le titre */
  #detailZone:not(.accent):not(.porte) #detailGauche > #detailTexte { margin-top: var(--e4); min-height: 0; font-size: 1.25rem; font-weight: 300; line-height: 1.6; text-wrap: pretty; }
  /* les indications : sous la consigne, petites et grises (13 px entre elles) */
  #detailZone:not(.accent):not(.porte) .etape-indic { margin-top: var(--e5); display: flex; flex-direction: column; gap: var(--e3); }
  #detailZone:not(.accent):not(.porte) .etape-indic > * { margin: 0 !important; max-width: none; width: auto; text-align: left; font-size: 1rem; font-weight: 300; line-height: 1.6; color: var(--gris); text-wrap: pretty; }
  /* l'image : au meme niveau partout (le recalage est fait par capsule.js), centree dans le panneau droit ; sa largeur est celle de son contenu */
  #detailZone:not(.accent):not(.porte) #detailVisuel, #detailZone:not(.accent):not(.porte) #detailChamp { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; margin: 0 !important; width: max-content; max-width: 100%; }
  #detailZone:not(.accent):not(.porte) #detailVisuel { zoom: var(--z); }
  /* le geste du reveil porte en plus trois choix dessous : un peu plus petit, pour que tout tienne au-dessus de la barre */
  #detailZone:not(.accent):not(.porte) #detailVisuel:has(.reveil-geste) { zoom: max(1, calc(var(--z) - .2)); }
  #detailZone:not(.accent):not(.porte) #detailVisuel:empty, #detailZone:not(.accent):not(.porte) #detailChamp:empty { display: none; }
  #detailZone:not(.accent):not(.porte) #detailVisuel > :first-child { margin-top: 0 !important; }
  #detailZone:not(.accent):not(.porte) #detailChamp { width: 28rem; }
  #detailZone:not(.accent):not(.porte) #detailChamp .champ-etape { width: 100%; max-width: none; margin: 0 !important; }
  #detailZone:not(.accent):not(.porte) #detailChamp .champ-etape textarea { font-size: 1.25rem; line-height: 1.6; min-height: 13rem; padding: var(--e4); }
  /* « De quelle couleur je suis ? » (protocole pour revenir en confiance, verifie et verifie2) : une phrase par ligne */
  #detailZone[data-etape^="verifie"]:not(.accent) #detailTexte { white-space: pre-line; }
  /* sans image (« Je reviens dans mes sens », la phrase a dire) : la consigne EST l'action ; capsule.js la pose dans le panneau droit, au centre (la question et les indications restent a gauche) */
  #detailZone.sans-image:not(.accent):not(.porte) .protocole-interieur > #detailTexte { width: min(36rem, 100%); margin: 0; text-align: center; font-size: 1.5rem; font-weight: 300; line-height: 1.7; text-wrap: pretty; }
  #detailZone.sans-image:not(.accent):not(.porte) .protocole-interieur > #detailTitre { width: min(36rem, 100%); margin: 0; text-align: center; font-size: 2.25rem; font-weight: 500; line-height: 1.35; text-wrap: balance; }
}
@media (min-width: 1100px) and (max-height: 820px) { :root { --z: 1.2; } }
@media (min-width: 1100px) and (max-height: 700px) { :root { --z: 1; } }

/* L'ACCUEIL, avant l'ouverture : le message « Bienvenue dans ta capsule RÉALITÉ… » est au centre de l'ecran, centre, jamais en haut a gauche */
.protocole.porte .protocole-interieur { justify-content: center; align-items: center; padding-top: var(--haut); }
.protocole.porte .etape-texte { text-align: center; max-width: 19rem; margin-left: auto; margin-right: auto; min-height: 0; font-size: 1.0625rem; line-height: 1.6; }
/* La roue de l'accueil tient dans l'ecran meme sur un petit telephone (« ECRIRE » n'est plus coupe a 700 px de haut) */
@media (max-width: 1099px) {
  #roueCercle svg { width: min(100%, calc(100vh - 380px)); width: min(100%, calc(100svh - 380px)); height: auto; display: block; margin-left: auto; margin-right: auto; }
}
/* PHASE 2 : le geste du reveil et la silhouette « Ou » sont au centre comme les autres images (centre ~290 px) */
.protocole:not(.accent):not([data-espace="ramener"]) #detailVisuel > .reveil-geste { margin-top: calc(var(--e6) + var(--e5) + var(--e3)) !important; }
.protocole:not(.accent):not([data-espace="ramener"]) .zones-figure { height: 12.5rem; }


/* PHASE 2, CORPS : cartes et boutons jamais gris ; phrase a dire au niveau du titre ; gestes du reveil gris, de la taille des autres images */
.protocole:not([data-espace="ramener"]) .nom-option { background: var(--fond); }
.protocole:not([data-espace="ramener"]) .nomination-compact .nom-option { border-radius: 999px; }
.protocole.phrase:not(.accent):not([data-espace="ramener"]) .etape-titre { min-height: 5.2rem; white-space: normal; }
#detailTitre.une-ligne { white-space: normal; }
.protocole:not(.accent):not([data-espace="ramener"]) .valide-scene { width: 12.5rem; height: 12.5rem; }
.protocole:not(.accent):not([data-espace="ramener"]) .valide-scene .zones-figure { height: 10.5rem; }
.protocole:not(.accent):not([data-espace="ramener"]) .reveil-geste { color: var(--dessin); }
.protocole:not(.accent):not([data-espace="ramener"]) .reveil-geste svg { width: 8.5rem; height: 8.5rem; }
.protocole:not(.accent):not([data-espace="ramener"]) #detailVisuel > .reveil-geste { margin-top: var(--e2) !important; }
.protocole:not(.accent):not([data-espace="ramener"]) .reveil-texte { color: var(--encre); }

/* « Magnifique. » (protocole pour revenir en confiance), sur telephone : le rond vert qui respire, comme sur ordinateur et dans les trois autres protocoles */
@media (max-width: 1099px) {
  #detailZone[data-etape="arrive"] #detailTitre::before { content: ""; display: block; width: var(--e5); height: var(--e5); margin: 0 auto var(--e5); border-radius: 50%; background: var(--vert); animation: fin-respire 3.4s ease-in-out infinite; }
}
@media (max-width: 1099px) and (prefers-reduced-motion: reduce) {
  #detailZone[data-etape="arrive"] #detailTitre::before { animation: none; box-shadow: 0 0 0 var(--e2) rgba(31, 157, 85, .14); }
}

/* ENTREE ET ZONES A TOUCHER (audit UX du 7 octobre) : aucun bouton noir, meme a la connexion ; zones a toucher de 44 px ; pas de mot seul en fin de ligne */
.bouton { background: var(--fond); color: var(--encre); border: 1px solid var(--trait); font-size: .9375rem; font-weight: 400; min-height: 2.75rem; }
.bouton:disabled { opacity: .45; }
.b-lien, .b-lien-centre { min-height: 2.75rem; }
.b-etape-entree.b-etape-lien { padding-top: var(--e2); padding-bottom: var(--e2); }
.bouton-aide::after { content: ""; position: absolute; inset: -7px; }
.b-texte, .b-liste span, .b-liste-texte, .b-appel-texte { text-wrap: pretty; }

/* PHASE 2, « ÇA DESCEND » (lecture UX du 7 octobre) : les gestes du reveil suivent le modele des autres ecrans.
   Dessins GRIS et PLEINS comme la silhouette, 250 x 168 px au centre ; la consigne est sous le titre ; la question est une indication ;
   les trois choix sont des pilules blanches comme celles de la phase 1. */
.protocole[data-etape^="reveil"]:not([data-espace="ramener"]) .etape-texte { display: block; white-space: pre-line; text-wrap: balance; }
.protocole:not([data-espace="ramener"]) .reveil-texte { display: none !important; }
.protocole:not(.accent):not([data-espace="ramener"]) #detailVisuel > .reveil-geste { margin-top: var(--e3) !important; margin-bottom: 0; }
.protocole:not(.accent):not([data-espace="ramener"]) .reveil-geste svg { width: 210px; height: 140px; max-width: 100%; }
.protocole:not([data-espace="ramener"]) .reveil-geste svg path { stroke-width: 3.5px; }
.protocole:not([data-espace="ramener"]) .reveil-vibre, .protocole:not([data-espace="ramener"]) .reveil-sol { opacity: .6; }
.protocole:not([data-espace="ramener"]) .reveil-main .reveil-mobile { transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes reveil-clignote { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.protocole:not([data-espace="ramener"]) .nomination-invite { font-size: .8125rem; font-weight: 300; letter-spacing: 0; color: var(--gris); margin: 0; }
.protocole:not([data-espace="ramener"]) .nomination-compact:not(.nomination-ronds) { width: 19rem; max-width: 100%; margin-left: auto; margin-right: auto; gap: var(--e2); }
.protocole:not([data-espace="ramener"]) .nomination-compact:not(.nomination-ronds) .nom-option { justify-content: flex-start; padding: var(--e3) var(--e5); gap: var(--e3); background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; font-size: 1.0625rem; font-weight: 400; line-height: 1.4; }
.protocole:not([data-espace="ramener"]) .visuel-etape:has(.nomination-compact) { margin-top: var(--e4); }
.protocole:not([data-espace="ramener"]) .nomination-attente:not(.active) { animation: reveil-apparait2 .8s ease 6s both; }
@keyframes reveil-apparait2 { from { opacity: .3; pointer-events: none; } to { opacity: 1; pointer-events: auto; } }
/* la capture mentale : le bouton est une pilule, la confirmation est une indication */
.protocole[data-etape="confiance"] .capture-bloc .lien-page { display: flex; align-items: center; justify-content: center; width: auto; min-width: 12rem; min-height: 2.75rem; margin: var(--e5) auto 0; padding: var(--e3) var(--e5); background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; font-size: .9375rem; font-weight: 400; color: var(--encre); }
.protocole:not([data-espace="ramener"]) .capture-gardee { margin-top: var(--e4); font-size: .8125rem; font-weight: 300; color: var(--gris); }
/* main et pieds pleins, comme la silhouette */
.protocole:not([data-espace="ramener"]) .reveil-main .reveil-mobile path { vector-effect: none; stroke-width: 7; stroke: var(--dessin); fill: none; }
.protocole:not([data-espace="ramener"]) .reveil-main .reveil-mobile path:last-child { fill: var(--dessin); stroke-width: 3; }
.protocole:not([data-espace="ramener"]) .reveil-main .reveil-vibre { stroke-width: 3.5px; }
.protocole:not([data-espace="ramener"]) .reveil-pieds .reveil-mobile path:nth-child(-n+2) { fill: var(--dessin); }
.protocole:not([data-espace="ramener"]) .reveil-pieds .reveil-mobile path:nth-child(n+3) { stroke-width: 3.5px; }


/* ROUTINE DU SOIR : les postures du mouvement d'ancrage. L'image, son nom dessous (cliquable : le detail s'ouvre), la duree en indication. */
.b-posture { margin: 0 0 var(--e4); }
.b-posture:last-child { margin-bottom: 0; }
.b-posture-image { display: block; width: 100%; height: auto; border-radius: var(--r-carte); background: var(--encre); }
.b-posture-seule { display: flex; justify-content: center; margin: var(--e4) 0; }
.b-posture-seule .b-posture-image { width: 61.8%; max-width: 17rem; }   /* une photo en pied : 61,8 % de la largeur, jamais plus haute que l'ecran */
.b-posture-titre { display: flex; align-items: center; gap: var(--e2); min-height: 44px; padding: var(--e2) 0; list-style: none; cursor: pointer; }
.b-posture-titre::-webkit-details-marker { display: none; }
.b-posture-nom { font-size: .95rem; font-weight: 500; color: var(--encre); }
.b-posture-duree { font-size: .8125rem; font-weight: 300; color: var(--gris); }
.b-posture-titre::after { content: "+"; margin-left: auto; padding-left: var(--e3); font-size: 1.1rem; font-weight: 300; color: var(--encre); }
.b-posture-plus[open] .b-posture-titre::after { content: "\2212"; }
.b-posture-texte { margin: 0 0 var(--e3); font-size: .9rem; font-weight: 300; line-height: 1.7; color: var(--encre); }


/* LA ROUTINE : la duree sous « LA PRATIQUE » (« Environ 25 minutes ») : une indication, petite et grise, juste sous le trait ; et, dans le moment de connexion, la phrase sous le cercle plus pres de la consigne. */
.lecture .b-titre + .b-texte.b-texte-duree { margin-top: var(--e2); font-size: .8125rem; font-weight: 300; line-height: 1.5; color: var(--gris); }
.connexion .parcours-gong-consigne { margin-top: var(--e2); }

/* une consigne sous la video, et des points a puces (tapping) */
.b-etape-sousvideo { margin-top: var(--e4); }
.b-etape-puce { color: var(--encre); }
.b-etape-puce::before { content: "\2022"; flex: 0 0 auto; }
.b-etape-puce span { color: var(--encre); }

/* MON POINT DE DEPART : les reponses d'inscription, en lecture (meme famille que la relecture des check-points) */
.ins { margin-top: var(--e5); text-align: left; }
.ins-partie { margin: 0 0 var(--e6); }
.ins-nom { margin: 0 0 var(--e4); padding-bottom: var(--e3); border-bottom: 1px solid var(--trait); font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--encre); }
.ins-q { position: relative; margin: 0 0 var(--e4); padding-left: var(--e3); }
.ins-q::before { content: "\2022"; position: absolute; left: var(--e1); top: 0; font-size: .875rem; line-height: 1.45; color: var(--gris); }
.ins-q.ins-sans-puce { padding-left: 0; }
.ins-q.ins-sans-puce::before { content: none; }
.ins-question { margin: 0; font-size: .875rem; font-weight: 500; line-height: 1.45; color: var(--encre); }
.ins-reponse { margin: var(--e1) 0 0; font-size: .875rem; font-weight: 300; line-height: 1.55; color: var(--encre); white-space: pre-line; }
.ins-echelle { display: flex; align-items: center; gap: var(--e3); margin-top: var(--e3); }
.ins-echelle i { width: .8125rem; height: .8125rem; box-sizing: border-box; border-radius: 50%; border: 1px solid var(--encre); }
.ins-echelle i.on { background: var(--encre); }
.ins-echelle-n { margin-left: var(--e2); font-size: .8125rem; font-weight: 300; color: var(--gris); }
.ins-zone .evo-titre { font-size: .78rem; font-weight: 500; }   /* le titre reste au centre, un peu plus present */
.ins-zone .evo-date { margin: var(--e4) 0 0; max-width: 21rem; line-height: 1.55; text-align: left; }
.ins-zone .b-indication { text-align: left; }

/* MON POINT DE DEPART, ordinateur : la meme mise en page que sur telephone (le nom de la partie au-dessus, un fin trait entre les parties), les reponses alignees a gauche sous le nom. Le telephone ne bouge pas. */
@media (min-width: 1100px) {
  .ins-zone { width: min(56rem, calc(100vw - var(--e7) * 2)); margin-left: 50%; transform: translateX(-50%); }
  .ins-zone .evo-date { max-width: 34rem; margin-left: auto; margin-right: auto; text-align: center; }   /* sur ordinateur, la phrase est au centre de la page */
  .ins { margin-top: var(--e7); }
  .ins-partie { margin: 0 0 var(--e7); }
  .ins-q:last-child { margin-bottom: 0; }
  .ins-question, .ins-reponse { max-width: 42rem; }
  .ins-partie-infos { display: grid; grid-template-columns: 18rem 18rem minmax(0, 1fr); column-gap: var(--e6); align-items: start; }
  .ins-partie-infos > .ins-nom { grid-column: 1 / -1; }
  .ins-partie-infos > .ins-q { margin-bottom: var(--e4); }
  .ins-partie-infos > .ins-q:nth-child(-n+4) { grid-column: 1; }
  .ins-partie-infos > .ins-q:nth-child(n+5) { grid-column: 2; }
  .ins-partie-infos > .ins-q:nth-child(5) { grid-row: 2; }
  .ins-partie-infos > .ins-q:nth-child(6) { grid-row: 3; }
}
.ins-q.ins-apres-echelle { margin-top: var(--e5); }

/* MON EVOLUTION : les etats du parcours, comme partout dans l'app. En cours = BLEU, termine = VERT ; la phase est un cercle pointille, le module un cercle a anneaux. */
.evo-mois-g::before { width: var(--e2); height: var(--e2); border: 1px solid var(--encre); }
.evo-phase-g::before { width: var(--e3); height: var(--e3); border: 1px dashed var(--encre); box-shadow: none; }   /* un cercle pointille, sans l'anneau plein des groupes */
.evo-mois-g.evo-fini::before { border-color: var(--vert); box-shadow: 0 0 0 calc(var(--e1) * .6) var(--fond), 0 0 0 calc(var(--e1) * .6 + 1px) var(--vert), 0 0 0 calc(var(--e1) * 1.2 + 1px) var(--fond), 0 0 0 calc(var(--e1) * 1.2 + 2px) var(--vert); }
.evo-mois-g.evo-en-cours::before { border-color: var(--bleu); box-shadow: 0 0 0 calc(var(--e1) * .6) var(--fond), 0 0 0 calc(var(--e1) * .6 + 1px) var(--bleu), 0 0 0 calc(var(--e1) * 1.2 + 1px) var(--fond), 0 0 0 calc(var(--e1) * 1.2 + 2px) var(--bleu); }
.evo-phase-g.evo-fini::before { border-color: var(--vert); }
.evo-phase-g.evo-en-cours::before { border-color: var(--bleu); }
.evo-p.evo-en-cours { cursor: default; }

/* le bilan du module : un cercle pointille, gris a venir, bleu a faire, vert fait */
.evo-bilan-rond { display: block; width: var(--e3); height: var(--e3); box-sizing: border-box; border: 1px dashed var(--encre); border-radius: 50%; background: var(--fond); }
.evo-bilan-rond.evo-fini { border-color: var(--vert); }
.evo-bilan-rond.evo-en-cours { border-color: var(--bleu); }
.evo-bilan-rond.evo-a-venir { border-color: var(--gris); }
.evo-bilan { cursor: default; }

/* MON EVOLUTION sur ordinateur : la timeline s'etire avec la page et reste au centre ; le fond qui bouge s'agrandit */
@media (min-width: 1100px) {
  .evo2 { max-width: min(90rem, calc(100vw - var(--e7) * 2)); }
  .evo-detail { max-width: 34rem; margin-left: auto; margin-right: auto; }
  .evo-fil { justify-content: center; }
  .evo-anneau { width: 38rem; height: 12rem; }
  #evolutionPanneau.evo-immersif .evo-anneau { width: 52rem; height: 18rem; }
}

/* le « ? » de la timeline : comment s'en servir */
.evo-aide-bouton { display: block; margin: var(--e5) auto 0; width: var(--e4); height: var(--e4); padding: 0; box-sizing: border-box; border: 1px solid var(--trait); border-radius: 50%; background: var(--fond); color: var(--gris); font: inherit; font-size: .75rem; line-height: 1; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.evo-aide-texte { max-width: 21rem; margin: var(--e3) auto 0; text-align: center; line-height: 1.6; }

/* la hierarchie de la timeline : le module est le plus grand, la phase plus petite, la journee toute petite */
.evo-mois-g::before { transform: scale(.8); }
.evo-jour::before { width: var(--e2); height: var(--e2); }

/* l'aide de la timeline respire : de l'espace sous le « ? » et sous son texte, avant le detail */
.evo-aide-bouton { margin-bottom: var(--e4); }
.evo-aide-texte { margin-bottom: var(--e5); }

/* PARTOUT (fenetre large ou etroite) : la barre de defilement, tres fine et discrete (comme celle d'un iPhone) : un simple filet de 2 px, sans rail, qui s'epaissit au survol.
   (on rend la main au style « webkit » : un « scrollbar-width » ou « scrollbar-color » force la barre native, avec son rail) */
  * { scrollbar-width: auto; scrollbar-color: auto; }
  *::-webkit-scrollbar { width: 10px; height: 10px; }
  *::-webkit-scrollbar-track, *::-webkit-scrollbar-corner { background: transparent; }
  *::-webkit-scrollbar-button { display: none; width: 0; height: 0; }
  *::-webkit-scrollbar-thumb { min-height: var(--e5); border: 4px solid transparent; border-radius: 999px; background: color-mix(in srgb, var(--encre) 16%, transparent); background-clip: padding-box; }
  *::-webkit-scrollbar-thumb:hover { border-width: 3px; background: color-mix(in srgb, var(--encre) 38%, transparent); background-clip: padding-box; }
@supports not selector(::-webkit-scrollbar) {
  * { scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--encre) 20%, transparent) transparent; }
}

/* le « ? » de MON EVOLUTION : en haut a droite ; sa bulle s'ouvre dessous */
.bouton-aide.evo-aide-bt { position: absolute; }
.evo-aide-bulle { position: absolute; top: calc(var(--haut, 0px) + 3.4rem + 2.6rem); right: 1.2rem; z-index: 7; width: min(19rem, calc(100% - 2.4rem)); margin: 0; padding: var(--e4); box-sizing: border-box; background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); box-shadow: 0 var(--e3) var(--e5) color-mix(in srgb, var(--encre) 8%, transparent); font-size: .8125rem; font-weight: 300; line-height: 1.6; color: var(--gris); text-align: left; cursor: pointer; }
@media (min-width: 1100px) { .evo-aide-bulle, .bouton-aide { right: var(--e5); } }

/* le check-point : un rond (anneau + point au centre), vert quand il est rempli ; la journee reste un petit rond vide, la phase un cercle pointille */
.evo-cp-rond { width: calc(var(--e3) + var(--e1)); height: calc(var(--e3) + var(--e1)); border: 1px solid var(--vert); border-radius: 50%; background: radial-gradient(circle, var(--vert) 0 3px, var(--fond) 3.5px); }

/* le carre d'aide de MON EVOLUTION : titre + etapes numerotees */
.evo-aide-titre { margin: 0 0 var(--e3); font-size: .75rem; font-weight: 500; letter-spacing: .14em; color: var(--gris); }
.evo-aide-etapes { margin: 0; padding-left: var(--e4); font-size: .875rem; font-weight: 300; line-height: 1.6; color: var(--encre); }
.evo-aide-etapes li + li { margin-top: var(--e2); }

/* le check-point selon son etat : vert = rempli, bleu = a faire, gris = a venir */
.evo-cp-rond.evo-en-cours { border-color: var(--bleu); background: radial-gradient(circle, var(--bleu) 0 3px, var(--fond) 3.5px); }
.evo-cp-rond.evo-a-venir { border-color: var(--gris); background: radial-gradient(circle, var(--gris) 0 3px, var(--fond) 3.5px); }

/* le detail (formulaire d'inscription, journee, check-point) respire : il ne colle plus a la timeline */
.evo-detail { margin-top: var(--e6); }
@media (min-width: 1100px) { .evo-detail { margin-top: var(--e7); } }

.evo-aide-fin { margin: var(--e3) 0 0; font-size: .8125rem; font-weight: 300; line-height: 1.6; color: var(--gris); }

/* le contact sur l'ecran de connexion : une indication, l'adresse en clair */
.connexion-contact { text-align: center; margin-top: var(--e4); }
.connexion-contact a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* ============ RESPONSIVE : tablette et ordinateur (11 octobre 2026) ============
   Tout est dans des @media de largeur 700 px et plus : le telephone (390 px) ne change pas.
   Le protocole d'urgence (ramener) suit la charte commune depuis le 13 octobre 2026. */

/* 1. PROTOCOLES, 700 a 1099 px (iPad, fenetre reduite) : une colonne CENTREE, jamais collee a gauche. Les alignements internes restent ceux du telephone. */
@media (min-width: 700px) and (max-width: 1099px) {
  .protocole-interieur { max-width: 27rem; margin-left: auto; margin-right: auto; }
}

/* 2. AVANT L'OUVERTURE, 1100 px et plus : l'orbe est au centre de MON ESPACE, le message de RÉALITÉ au centre de l'ecran, plus large */
@media (min-width: 1100px) {
  #hubCartes:has(> .hub-evo-attente) > .hub-evo-attente { grid-column: 1 / -1; justify-self: center; }
  #hubCartes:has(> .hub-evo-attente) > .orbe-indication { grid-column: 1 / -1; grid-row: 2; justify-self: center; margin-top: calc(var(--e4) - var(--e3)); text-align: center; }
  #realite.actif:has(> #realiteFerme:not(.cache)) { display: flex; flex-direction: column; justify-content: center; padding-bottom: calc(var(--haut) + 2.75rem); }
  #realiteFerme { width: 100%; max-width: 34rem; margin-left: auto; margin-right: auto; }
  #realiteFerme .sous { max-width: 34rem; font-size: 1.15rem; line-height: 1.7; }
  #realiteFerme .titre { font-size: 1.5rem; }
  .protocole.porte .protocole-interieur > .etape-texte { max-width: 34rem; margin-left: auto; margin-right: auto; text-align: center; font-size: 1.3rem; line-height: 1.7; }
}

/* 3. PANNEAUX SIMPLES (check-points, MES RAPPELS, liste du journal), 1100 px et plus : une colonne centree de 40 rem, pas 1400 px de large */
@media (min-width: 1100px) {
  #checkpoint .corps, #mesCheckpoints .corps, #checkpointsRecus .corps, #checkpointRecu .corps, #rappels .corps, #journaux .corps { max-width: 40rem; margin-left: auto; margin-right: auto; }
}

/* 4. MON ÉVOLUTION, 700 a 1099 px : la frise prend la largeur de la fenetre (comme a 1100 px et plus), la ligne et le fond qui bouge la suivent ; le detail reste a 34 rem */
@media (min-width: 700px) and (max-width: 1099px) {
  #evolutionPanneau .corps { max-width: none; }
  .evo2 { max-width: 90vw; }
  .evo-detail { max-width: 34rem; margin-left: auto; margin-right: auto; }
  .evo-fil { justify-content: center; }
  .evo-anneau { width: min(38rem, 90vw); height: 12rem; }
  #evolutionPanneau.evo-immersif .evo-anneau { width: min(52rem, 90vw); height: 18rem; }
}

/* 5. ECRANS BAS (portable avec barre d'onglets : 1280 x 650), 1100 px et plus : l'image se reduit (zoom 1) pour que l'ecran de roue tienne sans defiler */
@media (min-width: 1100px) and (max-height: 700px) {
  :root { --z: 1; }
  .protocole.accent:is([data-etape="nomme"], [data-etape="centre"], [data-etape="encore"]) .protocole-interieur { padding-top: var(--e7); padding-bottom: var(--e5); }
}
@media (min-width: 1100px) and (max-height: 600px) {
  .protocole.accent:is([data-etape="nomme"], [data-etape="centre"], [data-etape="encore"]) .protocole-interieur { padding-top: var(--e6); }
  .protocole.accent:is([data-etape="centre"], [data-etape="encore"]) .protocole-interieur > .etape-titre::before { margin-bottom: var(--e3); }
}

/* 6. BARRE DU BAS, 820 a 1099 px : pleine largeur (comme a 1100 px), sans le menu de gauche */
@media (min-width: 820px) and (max-width: 1099px) {
  #barre { display: grid; grid-template-columns: 1fr auto 1fr; width: 100%; max-width: none; margin-left: 0; margin-right: 0; padding-left: var(--e6); padding-right: var(--e6); box-sizing: border-box; }
  #barre button[data-onglet] { flex: none; padding: 0; width: max-content; }
  #barre button[data-onglet="realite"] { justify-self: start; }
  #barre button[data-onglet="espace"] { justify-self: end; }
  #barre .centre { width: 5.75rem; }
}

/* MON COMPTE — le bas de MON ESPACE : une seule entree (l'initiale + le nom) ; tout le reste se range dans un panneau qui monte du bas */
#espace.actif { display: flex; flex-direction: column; }
#espace.actif > * { flex-shrink: 0; }
#espace.actif > #hubCartes { margin-bottom: var(--e6); }
.compte-ouvrir { display: flex; align-items: center; justify-content: center; gap: var(--e3); margin: auto auto 0; padding: var(--e3) var(--e4); background: none; border: 0; font-family: inherit; color: var(--encre); cursor: pointer; }
.compte-rond { display: flex; align-items: center; justify-content: center; width: var(--e5); height: var(--e5); border: 1px solid var(--trait); border-radius: 50%; font-size: .875rem; font-weight: 500; color: var(--encre); }
.compte-ouvrir-nom { font-size: .75rem; font-weight: 500; letter-spacing: .12em; }
.compte-ouvrir:active { opacity: .7; }
.feuille { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.feuille.cache { display: none; }
.feuille-voile { position: absolute; inset: 0; background: var(--scrim); }
.feuille-corps { position: relative; width: 100%; max-width: 34rem; max-height: 90%; overflow-y: auto; box-sizing: border-box; padding: var(--e3) var(--e4) calc(var(--e4) + env(safe-area-inset-bottom, 0px)); background: var(--fond); border-radius: var(--r-carte) var(--r-carte) 0 0; animation: feuille-monte .28s ease-out; }
@keyframes feuille-monte { from { transform: translateY(var(--e6)); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .feuille-corps { animation: none; } }
.feuille-poignee { display: block; width: 100%; height: var(--e5); margin: 0 0 var(--e2); padding: 0; background: var(--fond); border: 0; cursor: pointer; position: sticky; top: 0; z-index: 1; }   /* reste en haut quand la liste defile : on peut toujours fermer */
.feuille-poignee::before { content: ""; position: absolute; left: 50%; top: 50%; width: var(--e5); height: var(--e1); transform: translate(-50%, -50%); border-radius: 999px; background: var(--trait); }
.feuille-titre { margin: 0 0 var(--e4); text-align: center; }
.feuille-titre #comptePrenom { display: block; font-size: 1.0625rem; font-weight: 500; }
.feuille-email { display: block; margin-top: var(--e1); font-size: .875rem; font-weight: 300; color: var(--gris); }
.feuille-ligne { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); width: 100%; box-sizing: border-box; min-height: var(--e6); padding: var(--e3) 0; background: none; border: 0; border-top: 1px solid var(--trait); font-family: inherit; font-size: .9375rem; font-weight: 300; color: var(--encre); text-align: left; cursor: pointer; }
.feuille-ligne > span:last-child:not(#feuilleLangue) { color: var(--gris); }
.feuille-ligne:active { opacity: .7; }
.feuille-langue { cursor: default; }
.feuille-langue .langue.langue-espace { margin: 0; gap: var(--e2); }
.feuille-langue .langue.langue-espace button { min-width: var(--e5); min-height: var(--e5); font-size: .8125rem; }
.feuille .hors-ligne-etat { margin: var(--e3) auto 0; max-width: 34ch; }
.feuille-pied { margin: var(--e4) 0 0; text-align: center; }
.feuille-sortie { padding: var(--e3) var(--e5); background: none; border: 1px solid var(--trait); border-radius: 999px; font-family: inherit; font-size: .9375rem; font-weight: 400; color: var(--encre); cursor: pointer; }
.feuille-sortie:active { opacity: .7; }
.feuille-poignee:focus:not(:focus-visible) { outline: none; }

/* ORDINATEUR : le menu de gauche est ferme ; il glisse par-dessus la page quand la souris va au bord gauche (decision de Matylda, 13 octobre) */
@media (min-width: 1100px) {
  body.menu-dock #menuModule { transform: translateX(-101%); visibility: hidden; transition: transform .22s ease, visibility 0s linear .22s; z-index: 42; }
  body.menu-dock.dock-survol #menuModule { transform: none; visibility: visible; transition: transform .22s ease; box-shadow: 0 0 var(--e5) rgba(0, 0, 0, .08); background: var(--fond); }
  body.menu-dock #page, body.menu-dock #listeModules, body.menu-dock #espaceRealite { left: 0; }
  body.dock-ferme .dock-bascule, .dock-bascule { left: var(--e5); }
  .dock-zone { display: none; position: fixed; left: 0; top: 0; bottom: calc(var(--barre) + var(--bas)); width: var(--e5); z-index: 41; }
}
@media (prefers-reduced-motion: reduce) { body.menu-dock #menuModule { transition: none; } }

/* ORDINATEUR : MON COMPTE s'ouvre sur le cote droit (pleine hauteur), pas en petite fenetre en bas */
@media (min-width: 1100px) {
  .feuille { align-items: stretch; justify-content: flex-end; }
  .feuille-corps { width: var(--dock, 27.64vw); max-width: none; height: 100%; max-height: none; padding: var(--e5) var(--e5) var(--e5); border-radius: 0; border-left: 1px solid var(--trait); animation: feuille-droite .25s ease-out; }
  @keyframes feuille-droite { from { transform: translateX(var(--e5)); opacity: 0; } to { transform: none; opacity: 1; } }
  .feuille-poignee { width: var(--e5); height: var(--e5); margin: 0 0 var(--e4) auto; }
  .feuille-poignee::before, .feuille-poignee::after { content: ""; position: absolute; left: 50%; top: 50%; width: 1px; height: var(--e4); background: var(--encre); border-radius: 0; }
  .feuille-poignee::before { transform: translate(-50%, -50%) rotate(45deg); }
  .feuille-poignee::after { transform: translate(-50%, -50%) rotate(-45deg); }
  .feuille-titre { margin-bottom: var(--e5); }
}
@media (min-width: 1100px) and (prefers-reduced-motion: reduce) { .feuille-corps { animation: none; } }

/* LA ROUE ET LE GONG : plus de carre bleu au toucher ; l'espace touche se grise et prend un leger relief, comme un bouton qu'on enfonce (decision de Matylda, 13 octobre) */
:focus:not(:focus-visible) { outline: none; }
.roue .secteur, .roue .noyau-zone { outline: none; transition: fill .15s ease, filter .15s ease; }
@media (hover: hover) { .roue .secteur:hover { fill: color-mix(in srgb, var(--encre) 4%, transparent); } }
.roue .secteur:active { fill: color-mix(in srgb, var(--encre) 9%, transparent); filter: drop-shadow(0 1px 4px color-mix(in srgb, var(--encre) 28%, transparent)); }
.roue .secteur:focus-visible { fill: color-mix(in srgb, var(--encre) 7%, transparent); stroke: var(--encre); stroke-width: 1.4; vector-effect: non-scaling-stroke; outline: none; }
.roue .noyau-zone:focus-visible { stroke: var(--encre); stroke-width: 1.4; vector-effect: non-scaling-stroke; outline: none; }
.parcours-gong-disque:active .parcours-gong-rond, .parcours-souffle-gong:active .parcours-souffle-rond { filter: drop-shadow(0 1px 4px color-mix(in srgb, var(--encre) 28%, transparent)); }

/* ORDINATEUR : l'exploration (le parcours) laisse la barre du bas visible */
@media (min-width: 700px) { #parcours { bottom: calc(var(--barre) + var(--bas)); } }

/* ============ ORDINATEUR (13 octobre) : MON ESPACE, l'orbe au centre sous le titre, puis (apres un peu de blanc) les produits achetes a gauche et le calendrier, puis MON JOURNAL et MES RAPPELS au centre ============ */
@media (min-width: 1100px) {
  #hubCartes:has(> .cal) { grid-template-rows: auto; margin-top: var(--e3); }
  #hubCartes:has(> .cal) > .hub-evo-orbe { grid-column: 1 / -1; grid-row: 1; justify-self: center; width: 11rem; height: 11rem; margin-top: var(--e3); }
  #hubCartes:has(> .cal) > .orbe-indication { grid-column: 1 / -1; grid-row: 2; margin-top: 0; text-align: center; }
  #hubCartes:has(> .cal) > .hub-produit { grid-column: 1; grid-row: 3; align-self: start; width: 100%; margin-top: var(--e5); }
  #hubCartes:has(> .cal) > .cal { grid-column: 2; grid-row: 3; margin-top: var(--e5); }
  #hubCartes:has(> .cal) > .hub-tuiles { grid-column: 1 / -1; grid-row: 4; justify-self: center; width: min(100%, 38rem); margin-top: var(--e5); }
}

/* ============ ORDINATEUR (13 octobre) : largeurs et details ============ */
@media (min-width: 1100px) {
  /* ESPACE RÉALITÉ : le bandeau garde une taille raisonnable, les trois cartes se voient sans defiler */
  #espaceRealite .hub-produit-grand { width: min(100%, 38rem); margin-left: auto; margin-right: auto; }
  /* « Me contacter » et les listes de cartes : une colonne de 34 rem, centree */
  .hub-liste { max-width: 34rem; margin-left: auto; margin-right: auto; }
}
/* Confidentialite : la barre du bas reste visible quand on est connecte (elle couvre tout seulement depuis l'ecran de connexion) */
@media (min-width: 700px) {
  #confidentialite { bottom: calc(var(--barre) + var(--bas)); }
  body:has(#barre.cache) #confidentialite { bottom: 0; }
}
/* survol de la souris : un meme leger fond gris sur ce qui se touche (jamais sur telephone) */
@media (hover: hover) and (min-width: 1100px) {
  .b-lien:hover, .feuille-ligne:hover, .hub-tuile:hover, .b-tuile:hover, .b-carte:hover, .entree-menu:hover, .carte-module:hover, .compte-ouvrir:hover { background: color-mix(in srgb, var(--encre) 4%, transparent); }
  .feuille-sortie:hover { background: color-mix(in srgb, var(--encre) 4%, transparent); }
}

/* les ecrans de fin (« Reviens a cet exercice… », « C'est pose dans ton journal ») : au milieu de la zone au-dessus de la barre, comme le geste */
@media (min-width: 1100px) {
  #parcours .parcours-corps.parcours-final { box-sizing: border-box; height: 100%; min-height: 0; padding-top: 0; padding-bottom: 0; }
}

/* ============ EXPLORATION, MISE EN PAGE B (ordinateur, 1100 px et plus ; 13 octobre 2026, soir) ============
   Meme modele que les protocoles (« PROTOCOLES, MISE EN PAGE B »). A GAUCHE (38,2 %, fond --voile-leger (un gris tres tres leger), trait fin a droite, toute la hauteur au-dessus de la barre) tout le texte,
   aligne a gauche et centre en hauteur : « ÉTAPE n », la question (le titre, 1 a 3 lignes), la consigne, les questions, « Et ensuite → », l'autre voie, les indications.
   A DROITE (61,8 %, fond blanc) l'action : le geste (cercle-gong, souffle, silhouette, zones) au centre de la zone au-dessus de la barre, toujours au meme niveau
   (capsule.js > rangerParcoursEnPanneaux recale le panneau sur l'image) ; sous le geste, quand il y en a un, les choix et l'ecriture du journal.
   « Je continue → » en bas a droite du panneau droit. L'en-tete (nom et ronds) reste en haut. Rien ne defile, la barre du bas reste visible.
   Tout est pose par la classe .parcours-c, que le JS ne donne qu'a partir de 1100 px : le telephone et la zone 700-1099 ne changent pas. */
@media (min-width: 1100px) {
  .parcours-corps.parcours-c { position: relative; box-sizing: border-box; max-width: none; width: 100%; height: 100%; margin: 0; padding: 0;
    display: grid; grid-template-columns: 38.2% minmax(0, 1fr); align-items: stretch; }
  .parcours-c .parcours-tete { position: absolute; top: var(--e5); left: var(--e5); right: var(--e7); margin: 0; z-index: 1; }
  .parcours-c .parcours-nom { font-weight: 500; }
  .parcours-c .parcours-col { display: flex; flex-direction: column; justify-content: center; min-width: 0; box-sizing: border-box; }
  /* le panneau gauche : le texte, a gauche, centre en hauteur */
  .parcours-c .parcours-col-gauche { grid-column: 1; align-items: flex-start; text-align: left; padding: var(--e7) var(--e6); background: var(--voile-leger); border-right: 1px solid var(--trait); }
  .parcours-c .parcours-col-gauche > * { width: 100%; max-width: none; margin-left: 0; margin-right: 0; text-align: left; }
  .parcours-c .parcours-rang { margin: 0 0 var(--e3); font-size: .75rem; font-weight: 500; letter-spacing: .12em; }
  .parcours-c .parcours-consigne { margin: 0; }
  .parcours-c .parcours-consigne .parcours-titre { margin: 0 0 var(--e4); font-size: 1.75rem; font-weight: 400; letter-spacing: .01em; line-height: 1.25; text-wrap: balance; overflow-wrap: break-word; }   /* le titre d'une etape d'exploration prend celui des titres de page des marqueurs (28 px, graisse 400), 21 nov. 2026, Matylda */
  .parcours-c .parcours-choix-question, .parcours-c .parcours-choix-question em { font-size: 1.125rem; line-height: 1.6; }   /* les petits textes italiques : la taille des questions (ordinateur) */
  .parcours-c em { font-size: inherit; }
  .parcours-c .b-plus-texte { font-size: 1.125rem; line-height: 1.6; }   /* « En savoir plus » : la taille des questions (ordinateur) */
  .parcours-c .parcours-consigne .parcours-texte { margin: 0 0 var(--e3); font-size: 1.25rem; font-weight: 300; line-height: 1.6; text-align: left; text-wrap: pretty; }
  .parcours-c .parcours-consigne .parcours-texte:last-child { margin-bottom: 0; }
  .parcours-c .parcours-questions { margin: var(--e4) 0 0; text-align: left; }
  .parcours-c .parcours-question { margin: 0 0 var(--e4); font-size: 1.125rem; font-weight: 300; line-height: 1.6; text-align: left; }
  .parcours-c .parcours-question:last-child { margin-bottom: 0; }
  .parcours-c .parcours-encore { width: auto; margin: var(--e4) 0 0; align-self: flex-start; }
  /* les indications : petites, grises, sous la consigne */
  .parcours-c .parcours-texte.parcours-apres { margin: var(--e5) 0 0; max-width: none; text-align: left; font-size: 1rem; font-weight: 300; line-height: 1.6; color: var(--gris); text-wrap: pretty; }
  .parcours-c .parcours-alternative { margin: var(--e4) 0 0; }
  .parcours-c .parcours-alternative summary { justify-content: flex-start; }
  .parcours-c .parcours-alternative .b-plus-texte { text-align: left; }
  /* le panneau droit : le geste au centre, puis (quand il y en a) les choix et l'ecriture dessous ; capsule.js recale le panneau par --dy */
  .parcours-c .parcours-col-droite { grid-column: 2; align-items: center; padding: var(--e5); }
  .parcours-c .parcours-action { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; transform: translateY(var(--dy, 0px)); }
  .parcours-c .parcours-action > * { max-width: 100%; }
  .parcours-c .parcours-action > :first-child { margin-top: 0; }
  .parcours-c .parcours-action > :last-child { margin-bottom: 0; }
  .parcours-c .parcours-action > * + * { margin-top: var(--e5); }
  .parcours-c .parcours-action > .parcours-souffle-mot, .parcours-c .parcours-action > .parcours-gong-consigne { margin-top: var(--e3); }
  .parcours-c .parcours-choix { width: 100%; max-width: 28rem; margin: 0; }
  .parcours-c .parcours-choix-rangee { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--e5); width: 100%; max-width: 48rem; }
  .parcours-c .parcours-choix-rangee > .parcours-choix { max-width: none; }
  .parcours-c .parcours-choix .journal-choix { justify-content: flex-start; }
  .parcours-c .parcours-choix .journal-q-champ { min-height: 0; }
  .parcours-c .parcours-choix-question { margin: var(--e2) 0 var(--e3); text-align: left; }
  .parcours-c .parcours-action > .journal-q-champ { width: 100%; max-width: 28rem; box-sizing: border-box; }
  .parcours-c .parcours-action > .parcours-choix-question { width: 100%; max-width: 28rem; margin: 0; }
  .parcours-c .parcours-action > * + .parcours-choix-question { margin-top: var(--e5); }
  .parcours-c .parcours-action > .parcours-choix-question + .journal-q-champ { margin-top: var(--e2); }
  .parcours-c .parcours-phrase { display: flex; align-items: center; justify-content: center; margin: 0; min-height: 3.2em; text-align: center; }
  .parcours-c .ecrire-envoi { width: 100%; max-width: 28rem; margin: 0; }
  .parcours-c .parcours-action > .ecrire-envoi { margin-top: var(--e3); }
  /* « Je continue → » : en bas a droite du panneau droit, sans trait */
  .parcours-c .parcours-pied { position: absolute; right: var(--e5); bottom: var(--e5); margin: 0; padding: 0; border-top: 0; gap: var(--e4); }
  .parcours-c .parcours-suite { margin: 0; }
  /* un geste ET des champs a ecrire (« Je ferme les yeux », « J'écoute la réponse ») : les champs se resserrent pour que tout tienne au-dessus de la barre */
  .parcours-c .avec-geste .parcours-libre { height: 3.5rem; }
  .parcours-c .avec-geste .journal-q-champ:not(.parcours-libre) { min-height: 0; height: 3.5rem; }
  .parcours-c .avec-geste > * + * { margin-top: var(--e4); }
  .parcours-c .avec-geste > .parcours-choix-question { margin-top: var(--e4); }
}
/* ecran bas (1280 x 800) : les zones d'ecriture se resserrent pour que tout tienne au-dessus de la barre */
@media (min-width: 1100px) and (max-height: 860px) {
  .parcours-c .parcours-choix .parcours-libre { height: 3.5rem; }
  .parcours-c .parcours-action > * + * { margin-top: var(--e4); }
  .parcours-c .parcours-col .journal-q-champ:not(.parcours-libre) { min-height: 0; height: 4.5rem; }
  .parcours-c .avec-geste .journal-q-champ:not(.parcours-libre) { height: 3rem; }
  .parcours-c .avec-geste > * + *, .parcours-c .avec-geste > .parcours-choix-question { margin-top: var(--e3); }
  .parcours-c .avec-geste > .parcours-souffle-mot, .parcours-c .avec-geste > .parcours-gong-consigne { margin-top: var(--e2); }
}
/* ecran tres bas (1100 x 700) : un cran de plus */
@media (min-width: 1100px) and (max-height: 760px) {
  .parcours-c .avec-geste .journal-q-champ:not(.parcours-libre) { height: 2.5rem; }
  .parcours-c .avec-geste > * + *, .parcours-c .avec-geste > .parcours-choix-question { margin-top: var(--e2); }
  .parcours-c .avec-geste .parcours-gong-nom { margin-top: var(--e2); min-height: 0; }
  .parcours-c .avec-geste .ecrire-envoi { margin-top: 0; }
}

/* ============ EXPLORATION, UNE CHOSE A LA FOIS (8 novembre 2026, « Je rencontre Bleu et Rouge », valide par Matylda) ============
   .parcours-une : posee par lancerParcours sur un parcours qui a une etape « uneALaFois » ou « photo ». Seulement sous 1100 px (telephone, tablette) :
   l'exercice est centre (bulles, questions, champs) et resserre pour tenir dans 390 x 700 sans defiler. Sur ordinateur, la mise en page B ne change pas.
   La photo (cle « photo ») : un cadre de 23,6 % (38,2 % de 61,8 %), 14,6 % en rappel (61,8 % de 23,6 %) a l'etape suivante ; sur ordinateur, dans le panneau de l'action. */
#parcours [hidden] { display: none !important; }
.parcours-photo { display: grid; place-items: center; width: 23.6%; aspect-ratio: 3 / 4; margin: 0 auto; padding: 0; border: 0; border-radius: var(--r-carte);
  background: var(--voile); color: var(--gris); font: inherit; overflow: hidden; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.parcours-photo svg { width: 38.2%; height: auto; }
.parcours-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.parcours-photo-petite { width: 14.6%; margin-bottom: var(--e4); cursor: default; }
.parcours-photo-bloc .journal-choix { justify-content: center; margin-top: var(--e4); }
.parcours-photo-bloc .parcours-texte.parcours-apres { margin-bottom: 0; }
@media (max-width: 1099.98px) {
  .parcours-une .parcours-consigne { margin-bottom: var(--e5); }
  .parcours-une .parcours-choix { margin-top: var(--e4); text-align: center; }
  .parcours-une .parcours-choix .journal-choix { justify-content: center; }
  .parcours-une .parcours-choix-question { text-align: center; }
  .parcours-une .parcours-libre, .parcours-une .journal-q-champ { min-height: 0; height: 2.75rem; resize: none; }
  .parcours-une .parcours-alternative, .parcours-une .parcours-plus { text-align: center; }
  .parcours-une .parcours-alternative .b-plus-texte, .parcours-une .parcours-plus .b-plus-texte { text-align: center; line-height: 1.6; }
  .parcours-une .parcours-alternative .parcours-fermer { margin: var(--e3) 0 0; }
  .parcours-une .parcours-pied { margin-top: var(--e5); }
  .parcours-une .parcours-corps:not(.parcours-final) { padding-bottom: var(--e3); }
}
/* EXPLORATIONS ALLÉGÉES (15 nov. 2026, validé par Matylda : « oui à tout ») : seulement .parcours-une (les explorations du module II).
   A. la question d'un groupe = le rôle « question » (noire, 17 px, 500, centrée) ; l'étiquette au-dessus reprend le rôle « étiquette » (gris).
   B. téléphone : plus de « ÉTAPE n », les ronds suffisent. C. le bouton du bas toujours au même endroit, en bas de l'écran.
   D. titre sur une ligne, consigne sur deux lignes au plus, zone de hauteur fixe. F. la place de l'image (.parcours-visuel) : au même niveau à chaque étape.
   « En savoir plus + » ouvert prend la place de l'exercice : rien ne défile. */
.parcours-une .parcours-choix-question { font-size: 1.0625rem; font-weight: 500; line-height: 1.4; color: var(--encre); text-wrap: balance; }
.parcours-une .parcours-choix-nom { color: var(--gris); }
.parcours-visuel { display: flex; justify-content: center; align-items: center; gap: var(--e4); }
.parcours-visuel .parcours-photo-petite { flex: 0 0 auto; margin: 0; }
.parcours-ensemble > .parcours-choix + .parcours-choix { margin-top: var(--e3); }
@media (max-width: 1099.98px) {
  .parcours-une .parcours-corps:not(.parcours-final) { display: flex; flex-direction: column; box-sizing: border-box; min-height: 100%; }
  .parcours-une .parcours-tete { margin-bottom: var(--e4); }
  .parcours-une .parcours-rang { display: none; }
  .parcours-une .parcours-consigne { box-sizing: border-box; min-height: calc(1.24rem * 1.4 + var(--e2) + .95rem * 1.7 * 2); margin-bottom: var(--e3); }
  .parcours-une .parcours-consigne .parcours-titre { margin: 0 0 var(--e2); font-size: 1.24rem; font-weight: 500; line-height: 1.4; }
  .parcours-une .parcours-consigne .parcours-texte { margin: 0; font-size: .95rem; line-height: 1.7; }
  /* la place de l'image a la hauteur du cercle-gong (5,5625 rem) : la photo et le cercle sont au meme niveau ; pendant le gong, le cercle prend exactement sa place */
  .parcours-une .parcours-visuel { height: 5.5625rem; }
  .parcours-une .parcours-visuel + .parcours-fermer { margin-top: 0; }
  .parcours-une .parcours-visuel + .parcours-choix, .parcours-une .parcours-visuel + .parcours-ensemble { margin-top: var(--e3); }
  .parcours-une .parcours-texte.parcours-apres { margin-bottom: 0; }
  .parcours-une .parcours-choix-nom + .parcours-choix-question { margin-top: var(--e1); }
  .parcours-une .parcours-choix-question { margin: 0 0 var(--e3); }
  .parcours-une .parcours-pied { margin-top: auto; padding-top: var(--e4); }
  .parcours-une .parcours-corps:has(> .parcours-plus[open]) > :is(.parcours-visuel, .parcours-choix, .parcours-ensemble, .parcours-fermer, .parcours-apres, .parcours-photo-bloc, .parcours-alternative) { display: none; }
}
@media (min-width: 1100px) {
  .parcours-c .parcours-photo { width: 9rem; }
  .parcours-c .parcours-photo-petite { width: 6rem; }
  .parcours-c .parcours-photo-bloc { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 28rem; }
  .parcours-c .parcours-plus { margin: var(--e4) 0 0; }
  .parcours-c .parcours-plus summary { justify-content: flex-start; }
  .parcours-c .parcours-plus .b-plus-texte { text-align: left; }
}
/* ecran tres bas (1100 x 700) : la photo un cran plus petite, pour que ses bulles et sa phrase tiennent au-dessus de la barre */
@media (min-width: 1100px) and (max-height: 760px) {
  .parcours-c .parcours-photo { width: 6rem; }
  .parcours-c .parcours-photo-petite { width: 4.5rem; }
}

/* MON ÉVOLUTION (ordinateur) : « J'écris » est la meme pilule que les autres boutons (plus petite, trait leger), a distance du mois, et se place sous le point du jour */
@media (min-width: 1100px) {
  .evo-ecrire { margin: var(--e4) auto var(--e5); padding: var(--e2) var(--e4); border-color: var(--trait); font-size: .75rem; font-weight: 500; letter-spacing: .12em; }
}

/* JOURNAL (ordinateur) : « VOIR MA JOURNÉE » est une petite pilule centree, SOUS la boite d'ecriture, alignee sur le reste (decision de Matylda, 13 octobre) */
@media (min-width: 700px) and (max-width: 1099px) {
  #journal .journal-bascule { margin-left: auto; margin-right: auto; }
}
@media (min-width: 1100px) {
  #journal .corps { display: flex; flex-direction: column; }
  #journal .corps > *:not(.journal-bascule) { width: 100%; max-width: 27rem; margin-left: auto; margin-right: auto; }
  #journal .journal-bascule { order: 10; width: auto; align-self: center; margin: var(--e4) 0 0; padding: var(--e2) var(--e4); border-color: var(--trait); font-size: .75rem; font-weight: 500; letter-spacing: .12em; }
  #journal .fil { order: 11; width: 100%; }
  #journal .journal-prive { max-width: 27rem; margin-left: auto; margin-right: auto; }
}

/* MON EVOLUTION : pendant l'attente (rare : les donnees sont lues d'avance), rien que le titre ; plus de ligne ni de point qui sautent */
.evo-attente { display: none; }
/* MON EVOLUTION : la courbe apparait en douceur (jamais d'un coup) une fois les donnees la */
.evo2 > .evo-bande, .evo2 > .evo-detail, .evo2 > .evo-ambiance, .evo2 > .evo-ecrire:not([hidden]) { animation: evo-apparait .45s ease both; }
@keyframes evo-apparait { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .evo2 > .evo-bande, .evo2 > .evo-detail, .evo2 > .evo-ambiance, .evo2 > .evo-ecrire { animation: none; } }

/* LA SILHOUETTE (silhouette.js, valide le 14 octobre 2026) : un trait tres fin, immobile, interieur transparent ; seule la lumiere bouge.
   Meme boite que l'ancienne figure (meme taille, meme centre) : le composant s'y centre et prend la hauteur de la boite.
   Si le composant echoue, la classe « sh » n'est pas posee et l'ancien masque (aplat) reste, comme avant. */
.figure.sh, .scan-figure.sh { position: relative; background: none !important; -webkit-mask-image: none !important; mask-image: none !important; }
/* les points a toucher sont en % du cadre : le cadre epouse la figure (248 x 592) */
.zones-figure.sh { aspect-ratio: 248 / 572; }
/* « Ailleurs » (24 nov. 2026) : le lien sous la silhouette ; une fois la zone choisie il se cache sans bouger la mise en page */
.zones-ailleurs { margin-top: var(--e3); }
.zones-bloc.touche .zones-ailleurs { visibility: hidden; }
/* dans l'aura, la figure fait 64 % de la scene (comme l'ancien masque), a la hauteur du corps */
.aura-scene .figure.sh { height: 66%; align-self: center; }

/* ============ PROTOCOLE D'URGENCE : AVANCER TOUT SEUL (octobre 2026) ============
   Une etape peut avancer seule (« auto: secondes », protocoles.js > horloge). Un trait de 2 px sous l'image se remplit sur la duree de l'etape
   (--trait la piste, --encre le remplissage) : aucun chiffre, aucun compte a rebours ; il n'existe que sur les ecrans automatiques et disparait
   avec « reduire les animations » (le temps reste le meme). Les lignes d'une consigne peuvent apparaitre l'une apres l'autre ; la place est reservee,
   l'image ne bouge pas. Tout le reste (ecoute, nappe de lumiere, gestes) est une image au meme niveau que les autres. */
#detailZone { position: relative; }
.auto-horloge { position: absolute; left: 0; top: 0; width: 0; height: 0; overflow: hidden; visibility: hidden; pointer-events: none; }
.auto-repere { position: absolute; left: 50%; bottom: var(--e5); width: calc(var(--e6) + var(--e6)); height: 2px; margin-left: calc(var(--e6) * -1); background: var(--trait); border-radius: 999px; overflow: hidden; pointer-events: none; }
.auto-repere-plein { position: absolute; inset: 0; background: var(--encre); border-radius: inherit; transform-origin: left center; transform: scaleX(0); }
@media (prefers-reduced-motion: reduce) { .auto-repere { display: none; } }
@media (min-width: 1100px) { .auto-repere { left: 69.1%; } }   /* ordinateur : au centre du panneau droit (38,2 % + la moitie de 61,8 %) */

/* les lignes qui apparaissent tour a tour */
.ligne-apparait { display: block; }
/* la phrase fine juste sous le titre (« Repete mentalement ou a voix haute ») */
#detailTitre .titre-fin { display: block; margin-top: var(--e2); font-size: .8125rem; font-weight: 300; line-height: 1.5; letter-spacing: 0; color: var(--gris); }
@media (min-width: 1100px) { #detailTitre .titre-fin { font-size: 1rem; } }

/* « Qu'est-ce que j'entends ? » : des cercles fins qui viennent de loin vers un point */
.ecoute-scene { position: relative; width: 13rem; height: 13rem; margin: var(--e5) auto 0; }
.ecoute-onde { position: absolute; inset: 0; border: 1px solid var(--dessin); border-radius: 50%; }
.ecoute-onde:nth-child(2) { inset: var(--e4); }
.ecoute-onde:nth-child(3) { inset: var(--e5); }
.ecoute-point { position: absolute; left: 50%; top: 50%; width: var(--e3); height: var(--e3); margin: calc(var(--e3) / -2) 0 0 calc(var(--e3) / -2); border-radius: 50%; background: var(--encre); }
@media (prefers-reduced-motion: no-preference) {
  .ecoute-onde, .ecoute-onde:nth-child(2), .ecoute-onde:nth-child(3) { inset: 0; opacity: 0; animation: ecoute-vers-moi 4.8s ease-in infinite; }
  .ecoute-onde:nth-child(2) { animation-delay: 1.6s; }
  .ecoute-onde:nth-child(3) { animation-delay: 3.2s; }
}
@keyframes ecoute-vers-moi { 0% { opacity: 0; transform: scale(1); } 15% { opacity: 1; } 100% { opacity: 0; transform: scale(.08); } }
.auto-pause .ecoute-onde { animation-play-state: paused; }
/* « Je reviens dans mes sens » : toutes les 10 secondes, un anneau se cree autour du precedent, le cercle grandit (rien a toucher) */
.sens-anneau { position: absolute; left: 50%; top: 50%; border: 1px solid var(--encre); border-radius: 50%; transform: translate(-50%, -50%) scale(.2); opacity: 0; }
.sens-anneau.grandi { transform: translate(-50%, -50%) scale(1); opacity: 1; }
@media (prefers-reduced-motion: no-preference) { .sens-anneau { transition: transform .7s ease, opacity .5s ease; } }
.sens-nombre { position: absolute; left: 0; right: 0; top: 50%; margin: 0; transform: translateY(-50%); text-align: center; font-size: 2.125rem; font-weight: 300; line-height: 1; color: var(--encre); pointer-events: none; }
/* « 1, 2, 3 » pour se lancer (ÉNERGIE gratuit, « Je bloque », 29 oct., a valider) : le cercle fin des sens, un gros chiffre sobre au centre, un a la fois */
.compte-cercle { position: absolute; inset: 0; border: 1px solid var(--dessin); border-radius: 50%; }
.compte-chiffre { position: absolute; left: 0; right: 0; top: 50%; margin-top: -2.25rem; height: 4.5rem; text-align: center; font-size: 4.5rem; font-weight: 300; line-height: 1; color: var(--encre); pointer-events: none; }
.compte-chiffre.compte-tous { font-size: 2.125rem; margin-top: -1.0625rem; height: 2.125rem; }
/* les types de pensees : un petit nuage a la place du rond de couleur */
.nom-option .nuage-nom { flex: 0 0 auto; width: 1.3rem; height: auto; }

/* « Je bloque ou je m'agite ? » : deux cercles cote a cote (un rond, la fleche, le mot) */
.nomination-compact.nomination-ronds { flex-direction: row; justify-content: center; align-items: center; width: 100%; max-width: 20rem; gap: var(--e4); }
.nomination-ronds .nom-option { flex: 0 0 auto; width: 6.5rem; height: 6.5rem; padding: 0; flex-direction: column; justify-content: center; gap: var(--e2); border-radius: 50%; text-align: center; font-size: 1rem; background: var(--fond); }
.nomination-ronds .nom-option .fleche-etat { width: 1.5rem; height: 1.5rem; }
/* Les icones au trait d'un rond d'entree (ÉNERGIE gratuit), a la taille et au trait de la fleche (app.js > iconeTrait) */
.nomination-ronds .nom-option .icone-trait { display: flex; flex: 0 0 auto; width: 1.5rem; height: 1.5rem; color: var(--encre); }
.nomination-ronds .nom-option .icone-trait svg { display: block; width: 100%; height: 100%; }
/* un fin trait de la couleur de la fleche autour de chaque rond (rouge : je m'agite, bleu : je bloque) */
.nomination-ronds .nom-option.rond-monte { border: 1px solid var(--rouge); }
.nomination-ronds .nom-option.rond-descend { border: 1px solid var(--bleu); }
#detailZone[data-espace="ramener"] .choix-invite-precision { margin-top: var(--e5); }
#detailZone[data-espace="ramener"] .zones-nom:empty { display: none; }
.nomination-ronds .nom-option-texte { align-items: center; text-align: center; padding: 0 var(--e1); }   /* un libelle sur deux lignes (PENSÉES gratuit : « Je pense sans arret ») reste centre dans le rond */
/* un rond sans fleche, avec sa couleur (ÉMOTIONS gratuit : BLEU, ROUGE) : le meme fin trait, de sa couleur ; et ce qu'il recouvre SOUS le rond, en indication (petite, grise, centree) */
.nomination-ronds .nom-option.rond-teinte { border: 1px solid var(--rond); }
.nomination-compact.nomination-ronds:has(.nom-rond) { align-items: flex-start; }
.nomination-ronds .nom-rond { display: flex; flex-direction: column; align-items: center; gap: var(--e3); width: 8rem; transition: opacity .18s; }
.nom-rond-detail { margin: 0 0 var(--e2); font-size: .78rem; font-weight: 300; line-height: 1.5; color: var(--gris); text-align: center; text-wrap: balance; }
.nomination.active .nom-rond:not(.choisi) .nom-rond-detail { opacity: .3; }
/* VERT ou ROUGE (fin du CORPS gratuit, 22 oct., a valider) : deux ronds pleins, sans mot ; la couleur vient de la nomination (var(--vert), var(--rouge)).
   Taille habituelle (22 oct., demande de Matylda) : celle des pastilles de « De quelle couleur je suis ? » (.pastilles : rond 1.7rem, colonne 6rem, sans ecart),
   le doigt a une marge de --e4 autour du rond ; choisi : il monte un peu, comme une pastille */
.nomination-compact.nomination-ronds.nomination-couleurs { gap: 0; max-width: 18rem; }
/* les deux ronds de fin (VERT / ROUGE) : la taille et la respiration du point de « Magnifique. » (--e5, fin-respire), chacun dans sa couleur (22 oct., Matylda) */
.protocole .nomination-ronds .nom-option.rond-couleur { position: relative; flex: 0 0 var(--e5); width: var(--e5); height: var(--e5); margin: var(--e5) calc((6rem - var(--e5)) / 2); padding: 0; background: var(--rond);   /* marge haute et basse = le halo (--e5) : la phrase dessous ne le touche jamais */ border: 1px solid color-mix(in srgb, var(--rond) 60%, var(--encre)); border-radius: 50%;   /* un fin trait un peu plus fonce que la couleur : le rond « clair » se voit sur le blanc (15 nov. 2026, Matylda) */ transition: opacity .18s, transform .18s; animation: fin-couleur 3.4s ease-in-out infinite; }
@keyframes fin-couleur {
  0%, 100% { box-shadow: 0 0 0 var(--e2) color-mix(in srgb, var(--rond) 16%, transparent), 0 0 0 var(--e4) color-mix(in srgb, var(--rond) 7%, transparent); }
  50% { box-shadow: 0 0 0 var(--e3) color-mix(in srgb, var(--rond) 10%, transparent), 0 0 0 var(--e5) color-mix(in srgb, var(--rond) 3%, transparent); }
}
@media (prefers-reduced-motion: reduce) { .protocole .nomination-ronds .nom-option.rond-couleur { animation: none; box-shadow: 0 0 0 var(--e2) color-mix(in srgb, var(--rond) 14%, transparent); } }
.nomination-ronds .nom-option.rond-couleur::after { content: ""; position: absolute; inset: calc(-1 * var(--e4)); border-radius: 50%; }
.nomination.active .nom-option.rond-couleur.choisi { transform: translateY(-3px); }
/* un texte qui s'ouvre sur place, sous la fin d'un protocole (« En savoir plus ») : centre, le texte ouvert se lit a gauche */
.protocole .plus-etape { width: 19rem; max-width: 100%; margin: var(--e5) auto 0; text-align: center; }
.protocole .plus-etape .b-plus-titre, .protocole .plus-etape .b-plus-texte { text-align: left; }

/* la respiration de l'urgence : le rond noir (inspire) qui se vide (expire), comme les autres souffles de l'app, mais lu sur l'horloge de l'etape */
.respire-bloc .souffle-rond { transition: background .45s ease; }
.respire-bloc .souffle-nombre { color: var(--fond); transition: color .45s ease; }
.respire-bloc .souffle-rond.respire-expire { background: var(--fond); }
.respire-bloc .souffle-nombre.respire-expire { color: var(--encre); }
.respire-bloc .souffle-mot { margin-top: var(--e4); }

/* les gestes du corps : la silhouette est immobile, seule la lumiere bouge */
.geste-bloc .zones-figure { margin-top: 0; }
.geste-point { position: absolute; width: var(--e4); height: var(--e4); margin: calc(var(--e4) / -2) 0 0 calc(var(--e4) / -2); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--encre) 78%, transparent) 0 28%, transparent 72%); pointer-events: none; }
.geste-point::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--encre); border-radius: 50%; opacity: .5; }
@media (prefers-reduced-motion: no-preference) {
  .geste-point { animation: geste-point 1.2s ease-in-out infinite; }
  .geste-point::after { animation: geste-onde 1.2s ease-out infinite; }
  .figure.geste-tremble { animation: geste-tremble .15s ease-in-out infinite alternate; }
}
.auto-pause .geste-point, .auto-pause .geste-point::after, .auto-pause .figure.geste-tremble { animation-play-state: paused; }
@keyframes geste-point { 0%, 100% { transform: scale(.8); } 50% { transform: scale(1.1); } }
@keyframes geste-onde { 0% { opacity: .55; transform: scale(1); } 100% { opacity: 0; transform: scale(2.6); } }
@keyframes geste-tremble { from { transform: translateX(-1.5px); } to { transform: translateX(1.5px); } }
/* l'urgence : les silhouettes ont la hauteur de celles des autres protocoles (168 px sur un telephone de 700 px) ; les mots des deux ronds sont ordinaires */
#detailZone[data-espace="ramener"] .zones-bloc .zones-figure { height: clamp(11rem, 36svh, 22rem); }
/* l'urgence : la silhouette des ecrans « De quelle couleur je suis ? » a la MEME taille que celle des gestes et de la premiere question (decision de Matylda, 16 octobre) */
#detailZone[data-espace="ramener"] .corps-bloc .figure { height: clamp(11rem, 36svh, 22rem); }
/* petits telephones (hauteur 660 px ou moins) : la consigne d'une ligne ne reserve pas trois lignes, pour que l'ecran tienne sans defiler */
@media (max-height: 660px) { #detailZone[data-espace="ramener"] .protocole-interieur:has(.corps-bloc) .etape-texte { min-height: 1.6em; } }
#detailZone[data-espace="ramener"] .mains-bloc .zones-figure { height: 9rem; }
#detailZone[data-espace="ramener"] .nomination-ronds .nom-option { font-weight: 400; }
/* les titres de l'urgence qui tiennent sur deux lignes se coupent a peu pres a egalite (pas de mot seul a la ligne) */
#detailZone[data-espace="ramener"]:not(.accent) #detailTitre { text-wrap: balance; }
/* JOURNAL : plus de ligne de compteur ; « VOIR MA JOURNEE » est SOUS la boite d'ecriture (telephone et tablette ; l'ordinateur le fait deja) */
.journal-resume:empty { display: none; }
@media (max-width: 1099px) { #journal .journal-bascule { margin-top: var(--e5); } }
/* ME CONTACTER : l'icone (enveloppe, WhatsApp) a gauche du nom du bouton */
.hub-carte-contact { display: flex; align-items: center; }
.hub-carte-ic { display: inline-flex; flex: 0 0 auto; width: 1.5rem; height: 1.5rem; margin-right: var(--e3); color: var(--encre); }
.hub-carte-ic svg { width: 100%; height: 100%; }
#contactPanneau :is(p, div, span, h1, h2) { text-wrap: balance; }

/* ================= MES CHECK-POINTS PAR MODULE (16 octobre 2026) ================= */
.cp-modules { margin-top: var(--e5); display: flex; flex-direction: column; gap: var(--e4); }
.cp-modules .cp-liste { margin-top: 0; }
.cp-tuile-repondu .b-tuile-detail { color: var(--encre); font-weight: 400; }
.cp-module-tete { display: flex; justify-content: space-between; align-items: center; gap: var(--e3); margin: 0 0 var(--e3); width: 100%; padding: 0; background: none; border: 0; text-align: left; font: inherit; color: inherit; }
button.cp-module-tete { cursor: pointer; min-height: 44px; }
.cp-liste[hidden] { display: none; }   /* la fleche du module referme vraiment la liste */
button.cp-module-tete::after { content: ""; flex: 0 0 auto; width: var(--e3); height: var(--e3); margin-left: var(--e2); border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .3s ease; }
button.cp-module-tete[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
button.cp-module-tete .cp-module-etat { margin-left: auto; }
.cp-module-nom { margin: 0; font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--encre); }
.cp-module-etat { display: inline-flex; align-items: center; gap: var(--e2); font-size: .78rem; font-weight: 300; color: var(--gris); }
.cp-module-pastille { display: block; width: .85rem; height: .85rem; }
.cp-module:not(.cp-module-vide) { margin-bottom: var(--e4); }
.cp-module-vide { padding-top: var(--e3); border-top: 1px solid var(--trait); }
.cp-module-vide .cp-module-tete { margin: 0; }
.cp-module-vide .cp-module-nom { color: var(--gris); font-weight: 500; }
.cp-lien-evo { margin-top: var(--e5); }

/* LA SILHOUETTE des protocoles des espaces (couleur, scan, zones) : la MEME taille que celle de l'urgence, dans TOUTES les phases
   (decision de Matylda, 16 octobre 2026 : 252 px sur un telephone de 700 px) ; son niveau est celui du haut de l'image (centre 324 px) */
#detailZone:not([data-espace="ramener"]) .corps-bloc .figure,
#detailZone:not([data-espace="ramener"]) .scan-figure,
#detailZone:not([data-espace="ramener"]) .zones-bloc .zones-figure { height: clamp(11rem, 36svh, 22rem); }

/* LA TAILLE D'UN VISUEL (decision de Matylda, 16 octobre 2026) : une silhouette seule a la hauteur --visuel (252 px sur un telephone de 700 px) ; une SCENE
   en cercle (mains sur la zone, ecoute, valide) et le disque de la respiration ont la meme presence : le cercle fait --visuel de diametre, la silhouette y
   est a 69 %. Une seule variable pour toute l'app. */
:root { --visuel: clamp(11rem, 36svh, 22rem); }
#detailZone .mains-scene, #detailZone .valide-scene, #detailZone .ecoute-scene { width: var(--visuel); height: var(--visuel); }
#detailZone .mains-scene .zones-figure, #detailZone .valide-scene .zones-figure,
#detailZone[data-espace="ramener"] .mains-bloc .zones-figure { height: calc(var(--visuel) * .69); }
#detailZone .souffle-scene { height: calc(var(--visuel) + var(--e5)); }
#detailZone .souffle-rond { width: calc(var(--visuel) * .92); height: calc(var(--visuel) * .92); }
#detailZone .parcours-gong-disque, #detailZone .parcours-gong-rond { width: calc(var(--visuel) * .92); height: calc(var(--visuel) * .92); }   /* tous les gongs des protocoles a la taille du rond du souffle, gratuit et payant (Matylda, 30 oct.) */


/* ============ MES PRATIQUES (demonstration, derriere ?pratiques=1 ou 2 : ces classes ne servent que dans pratiques.js) ============
   Onglets fins, cartes blanches, la pratique dessinee par le moteur existant. Espacements : seulement --e1 a --e7. */
.prat { width: 100%; }
.prat-onglets { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 0 var(--e4); margin: var(--e4) 0 var(--e4); border-bottom: 1px solid var(--trait); overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }   /* UNE seule ligne, qu'on fait glisser a gauche ou a droite (d'autres categories arrivent) */
.prat-onglets.defile { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - var(--e5)), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - var(--e5)), transparent); }
.prat-onglets::-webkit-scrollbar { display: none; }
.prat-onglet { flex: none; white-space: nowrap; background: none; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: var(--e2) 0; font: inherit; font-size: .75rem; font-weight: 500; letter-spacing: .03em; color: var(--gris); cursor: pointer; }
.prat-onglet[aria-selected="true"] { color: var(--encre); border-bottom-color: var(--encre); }
.prat-liste { display: flex; flex-direction: column; gap: var(--e3); }
.prat-carte { display: block; width: 100%; text-align: left; background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); padding: var(--e4); font: inherit; color: var(--encre); cursor: pointer; }
.prat-carte.actif { border-color: var(--selection); }
.prat-carte-titre { display: block; font-size: 1rem; font-weight: 500; }
.prat-carte-ligne { display: flex; flex-wrap: wrap; gap: 0 var(--e3); margin-top: var(--e1); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.prat-pli-corps:empty { display: none; }
.prat-pli.ouvert .prat-pli-corps { margin: var(--e3) 0 var(--e4); }
.prat-pli.ouvert .prat-pli-corps .b-etape { margin-top: 0; }
.prat-detail .corps { padding-top: calc(var(--haut) + var(--e6)); }
.prat-detail .lecture .b-etape { margin-top: 0; }
@media (min-width: 1100px) {
  /* variante 1, ordinateur : mise en page B (liste a gauche sur le gris leger, pratique a droite sur le blanc) */
  #guidancesPanneau.prat-v1 .corps, #playlistsPanneau.prat-v1 .corps, #pratiquesPanneau.prat-v1 .corps { max-width: none; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
  #guidancesPanneau.prat-v1 h1.titre, #playlistsPanneau.prat-v1 h1.titre, #pratiquesPanneau.prat-v1 h1.titre { text-align: left; width: 38.2%; box-sizing: border-box; padding: calc(var(--haut) + var(--e6)) var(--e6) var(--e4); background: var(--voile-leger); border-right: 1px solid var(--trait); }
  #guidancesPanneau.prat-v1 .prat, #playlistsPanneau.prat-v1 .prat, #pratiquesPanneau.prat-v1 .prat { flex: 1; min-height: 0; display: flex; }
  .prat-v1 .prat-gauche { flex: 0 0 38.2%; box-sizing: border-box; overflow-y: auto; padding: 0 var(--e6) var(--e6); background: var(--voile-leger); border-right: 1px solid var(--trait); }
  .prat-v1 .prat-onglets { justify-content: flex-start; gap: var(--e4); margin-top: 0; }
  .prat-v1 .prat-droite { flex: 1; overflow-y: auto; padding: var(--e5) var(--e6) var(--e6); }
  .prat-v1 .prat-droite .lecture { max-width: 34rem; margin: 0 auto; }
  .prat-v1 .prat-droite .b-etape { margin-top: 0; }
  .prat-v1 .prat-droite .b-video.b-video-vertical { width: min(61.8%, calc(48svh * 9 / 16)); }   /* une video verticale tient entiere a cote de son titre */
  #pratiquesPanneau.prat-v2 .corps { max-width: 40rem; }
}
.prat-moments { display: inline-flex; align-items: center; gap: var(--e3); color: var(--encre); }
.prat-moment { display: inline-flex; width: 1.375rem; height: 1.375rem; }
.prat-moment svg { display: block; width: 100%; height: 100%; }
.prat-moment svg path { fill: none; stroke: currentColor; stroke-width: 1.2px; }
.hub-carte.hub-carte-avenir { opacity: .5; cursor: default; }
.hub-carte.hub-carte-avenir .hub-fleche { display: none; }


/* ============ MON ESPACE, ORDINATEUR — VARIANTE D2 (D revisee : calendrier du compte gratuit, zone « aller plus loin » aeree, repere de prelevement) ============
   A gauche (38,2 %), un panneau --voile-leger avec un trait fin (comme les protocoles, mise en page B), lu comme une page de revue :
   « MON ESPACE », le bonjour en grand, la phrase, MON JOURNAL et MES RAPPELS, puis l'ORBE en dessous de ces entrees.
   A droite (61,8 %), la page : les produits (RÉALITÉ) puis le calendrier (le mois et le detail du jour cote a cote).
   Les cartes produit et le calendrier sont ranges dans UN conteneur (.hub-droite) : invisible sur telephone (display: contents), il laisse la colonne
   de droite accueillir plus tard 1, 3 ou 4 produits, ou le calendrier seul (compte gratuit). Telephone : rien ne change. */
.hub-produits, .hub-droite { display: contents; }
/* un repere sobre sous le JOUR DU PRELEVEMENT : un losange fin. A venir : contour noir (--encre) ; paye : plein vert (--vert) avec une coche ; non paye : plein rouge (--rouge) avec une croix legere.
   La forme change avec l'etat (pas seulement la couleur) ; un halo blanc garde le contraste sur les jours colores. Inutilise tant que la donnee d'echeances n'existe pas. */
:root { --prel-halo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolygon points='6,0.4 11.6,6 6,11.6 0.4,6'/%3E%3C/svg%3E"); --prel-avenir: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpolygon points='6,1.2 10.8,6 6,10.8 1.2,6' fill='none' stroke='black' stroke-width='1.1' stroke-linejoin='round'/%3E%3C/svg%3E"); --prel-passe: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cmask id='m'%3E%3Crect width='12' height='12' fill='white'/%3E%3Cpath d='M3.6 6.1l1.7 1.7 3.1-3.4' stroke='black' stroke-width='1.1' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Cpolygon points='6,0.4 11.6,6 6,11.6 0.4,6' mask='url(%23m)'/%3E%3C/svg%3E"); --prel-rejet: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cmask id='m'%3E%3Crect width='12' height='12' fill='white'/%3E%3Cpath d='M4.3 4.3l3.4 3.4M7.7 4.3l-3.4 3.4' stroke='black' stroke-width='1.1' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Cpolygon points='6,0.4 11.6,6 6,11.6 0.4,6' mask='url(%23m)'/%3E%3C/svg%3E"); }
.cal-prelevement { position: relative; display: inline-block; width: 17px; height: 17px; margin: -1px 0; background: var(--fond); -webkit-mask: var(--prel-halo) center / contain no-repeat; mask: var(--prel-halo) center / contain no-repeat; }
.cal-prelevement::after { content: ""; position: absolute; inset: 2px; background: currentColor; -webkit-mask: var(--prel-avenir) center / contain no-repeat; mask: var(--prel-avenir) center / contain no-repeat; }
.cal-prelevement.avenir { color: var(--encre); }
.cal-prelevement.passe { color: var(--vert); }
.cal-prelevement.passe::after { -webkit-mask-image: var(--prel-passe); mask-image: var(--prel-passe); }
.cal-prelevement.rejet { color: var(--rouge); }
.cal-prelevement.rejet::after { -webkit-mask-image: var(--prel-rejet); mask-image: var(--prel-rejet); }
@media (min-width: 1100px) {
  #espace.actif { --orbe: min(22rem, 38vh);
    display: grid; grid-template-columns: 38.2fr 61.8fr; grid-template-rows: repeat(8, auto) 1fr; padding: 0;
    background: linear-gradient(90deg, var(--voile-leger) calc(38.2% - 1px), var(--trait) calc(38.2% - 1px) 38.2%, var(--fond) 38.2%); }
  #espace.actif > #hubCartes { display: contents; }
  /* colonne de gauche : un texte de revue */
  #espace.actif > .titre, #espace.actif > .salut, #espace.actif > .sous { grid-column: 1; text-align: left; max-width: none; margin-left: var(--e6); margin-right: var(--e5); }
  #espace.actif > .titre { grid-row: 1; margin-top: var(--e6); font-size: .8125rem; font-weight: 500; letter-spacing: .24em; }
  #espace.actif > .salut { grid-row: 2; margin-top: var(--e3); font-size: clamp(2.4rem, 3.6vw, 4.4rem); font-weight: 300; line-height: 1.05; letter-spacing: -.01em; }
  #espace.actif > .sous { grid-row: 3; margin-top: var(--e3); margin-bottom: 0; font-size: 1.0625rem; }
  #espace.actif #hubCartes > .hub-tuiles { grid-column: 1; grid-row: 6; justify-self: center; display: flex; flex-wrap: nowrap; gap: var(--e2); width: auto; margin: var(--e4) var(--e5) 0 var(--e6); }   /* MON JOURNAL et MES RAPPELS : tout petits, SOUS l'orbe */
  #espace.actif .hub-tuiles .hub-tuile { flex-direction: row; min-height: 0; padding: var(--e2) var(--e3); gap: var(--e2); border: 1px solid var(--trait); border-radius: 999px; background: var(--fond); }
  #espace.actif .hub-tuiles .hub-tuile-ic { width: 18px; height: 18px; }
  #espace.actif .hub-tuiles .hub-tuile-nom { font-size: .75rem; letter-spacing: .08em; }
  #espace.actif #hubCartes > .hub-evo-orbe { grid-column: 1; grid-row: 4; justify-self: center; align-self: start; width: var(--orbe); height: var(--orbe); margin: var(--e5) 0 0; }
  #espace.actif #hubCartes > .orbe-indication { grid-column: 1; grid-row: 5; margin: var(--e3) auto 0; text-align: center; }
  /* avant l'ouverture et compte de Matylda : leurs lignes restent dans la colonne de gauche */
  #espace.actif #hubCartes > .decompte-doux { grid-column: 1; grid-row: 7; margin: var(--e4) var(--e5) 0 var(--e6); text-align: center; }
  #espace.actif #hubCartes > .b-indication:not(.orbe-indication) { grid-column: 1; grid-row: 8; margin: var(--e2) auto 0; text-align: center; }
  #espace.actif #hubCartes > .hub-rubrique { grid-column: 1; grid-row: 7; margin: var(--e5) var(--e5) 0 var(--e6); text-align: left; }
  #espace.actif #hubCartes > .hub-carte { grid-column: 1; grid-row: 8; width: auto; margin: var(--e3) var(--e5) var(--e5) var(--e6); }
  /* colonne de droite : les produits, puis le calendrier */
  #espace.actif #hubCartes > .hub-droite { grid-column: 2; grid-row: 1 / -1; display: flex; flex-direction: column; gap: var(--e5); padding: calc(var(--e6) + var(--e2)) var(--e6) var(--e5); min-width: 0; }
  #espace.actif .hub-droite > .hub-produits:not(:has(.hub-vitrine)) { order: -1; }
  #espace.actif .hub-droite:not(:has(.cal)) { justify-content: center; }
  /* compte sans produit : le calendrier, puis beaucoup de blanc avant la zone « aller plus loin » (facile a deplacer : un seul bloc) */
  #espace.actif .hub-droite:has(> .hub-vitrine) { gap: var(--e7); }
  #espace.actif .hub-droite > .hub-produits { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: var(--e4); }
  #espace.actif .hub-produits > .hub-produit { width: 100%; margin: 0; aspect-ratio: 400 / 130; container-type: inline-size; transition: border-color .2s ease; }
  #espace.actif .hub-produits > .hub-produit:only-child { aspect-ratio: auto; height: 9.5rem; }
  #espace.actif .hub-produit .hub-produit-nom { font-size: clamp(1.1rem, 10cqw, 2rem); }
  #espace.actif .hub-droite > .cal { margin: 0; width: auto; max-width: none; display: grid; grid-template-columns: minmax(0, 1.618fr) minmax(0, 1fr); column-gap: var(--e5); align-items: start; }
  /* le detail du jour est SUR LE COTE du mois (a droite), a la hauteur de l'en-tete du mois, jamais au-dessus (meme avec la ligne d'apercu des comptes de test) */
  #espace.actif .cal > .cal-apercu { grid-column: 1 / -1; grid-row: 1; }
  #espace.actif .cal > .cal-entete { grid-column: 1; grid-row: 2; }
  #espace.actif .cal > .cal-grille { grid-column: 1; grid-row: 3; }
  #espace.actif .cal > .cal-detail { grid-column: 2; grid-row: 2 / span 2; margin-top: 0; align-self: start; }
  #espace.actif .cal .cal-jour { height: clamp(2.4rem, 5vh, 3.4rem); }
  /* MON COMPTE : le rond, dans la colonne de gauche, sous l'orbe et les deux petites entrees */
  #espace.actif > .compte-ouvrir { grid-column: 1; grid-row: 9; align-self: start; justify-self: center; margin: var(--e4) 0 var(--e5) calc(var(--e6) - var(--e5)); padding: 0; }   /* sous l'orbe, MON JOURNAL et MES RAPPELS : le seul endroit ou il apparait (decision de Matylda, 16 octobre) */
}
@media (min-width: 1100px) and (max-width: 1279px) { #espace.actif .hub-tuiles .hub-tuile { padding: var(--e2) var(--e3); gap: var(--e2); } }
@media (min-width: 1100px) and (max-height: 820px) {
  #espace.actif { --orbe: min(17rem, 34vh); }
  #espace.actif > .titre { margin-top: var(--e5); }
  #espace.actif .hub-droite { padding-top: var(--e5); gap: var(--e4); }
  #espace.actif .hub-droite > .hub-produits > .hub-produit:only-child { height: 8rem; }
}
@media (hover: hover) and (min-width: 1100px) {
  #espace.actif .hub-produit:hover, #espace.actif .hub-tuiles .hub-tuile:hover { border-color: color-mix(in srgb, var(--encre) 45%, transparent); }
}
@media (prefers-reduced-motion: reduce) { #espace.actif .hub-produit { transition: none; } }

/* ESPACE RÉALITÉ (ordinateur) : le meme principe que MON ESPACE (decision de Matylda, 16 octobre 2026). A gauche (38,2 %, fond tres leger, trait fin) : RÉALITÉ, le mot
   d'accueil, puis MES REPLAYS, MES CHECK-POINTS, MES RESSOURCES. A droite (61,8 %) : les modules. Telephone : rien ne change. */
@media (min-width: 1100px) {
  #espaceRealite .corps { display: grid; grid-template-columns: 38.2fr 61.8fr; grid-template-rows: auto auto auto 1fr; column-gap: 0; align-content: start; width: 100%; max-width: none; min-height: 100%; padding: 0 !important; margin: 0;
    background: linear-gradient(90deg, var(--voile-leger) calc(38.2% - 1px), var(--trait) calc(38.2% - 1px) 38.2%, var(--fond) 38.2%); }
  #espaceRealite .hub-produit-grand { grid-column: 1; grid-row: 1; width: auto; margin: var(--e7) var(--e5) 0 var(--e6); max-width: none; }
  #espaceRealite .realite-accueil { grid-column: 1; grid-row: 2; text-align: left; margin: var(--e5) var(--e5) 0 var(--e6); }
  #espaceRealite .realite-accueil-titre { font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 300; line-height: 1.2; }
  #espaceRealite .realite-accueil > .b-indication { text-align: left; margin: var(--e3) 0 0; max-width: none; }
  #espaceRealite .hub-tuiles { grid-column: 1; grid-row: 3; display: flex; flex-direction: column; align-items: stretch; gap: var(--e3); width: auto; margin: var(--e5) var(--e5) 0 var(--e6); }
  #espaceRealite .hub-tuiles .hub-tuile { flex-direction: row; justify-content: flex-start; min-height: 0; padding: var(--e3) var(--e4); gap: var(--e3); border: 1px solid var(--trait); border-radius: 999px; background: var(--fond); }
  #espaceRealite .hub-tuiles .hub-tuile-ic { width: 22px; height: 22px; }
  #espaceRealite .hub-tuiles .hub-tuile-nom { font-size: .75rem; letter-spacing: .1em; }
  #espaceRealite .realite-contact { grid-column: 1; grid-row: 4; align-self: end; justify-self: center; flex-direction: row; gap: var(--e3); margin: var(--e6) var(--e5) calc(2.9rem + var(--e4) + var(--e3)) var(--e5); }   /* ME CONTACTER au centre de la colonne de gauche, la fleche de retour juste dessous */
  #espaceRealite > .fleche { position: absolute; left: 19.1%; bottom: var(--e4); margin: 0; transform: translateX(-50%); z-index: 2; }   /* sous ME CONTACTER, jamais sur le logo de la barre du bas */
  #espaceRealite .realite-rubrique { grid-column: 2; grid-row: 1; align-self: start; text-align: left; margin: var(--e7) var(--e6) 0 var(--e6); }
  #espaceRealite .cartes { grid-column: 2; grid-row: 1 / -1; margin-top: calc(var(--e7) + var(--e5)) !important; grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr)); grid-auto-rows: max-content; align-content: start; align-items: start; gap: var(--e4); margin: 0 var(--e6) var(--e6) var(--e6); }
}
@media (hover: hover) and (min-width: 1100px) {
  #espaceRealite .hub-tuiles .hub-tuile:hover { border-color: color-mix(in srgb, var(--encre) 45%, transparent); }
}

/* MON ESPACE (ordinateur) : plus d'air (demande de Matylda, 16 octobre 2026) : MON JOURNAL et MES RAPPELS plus bas sous l'orbe, et un grand blanc entre la carte RÉALITÉ et le calendrier */
@media (min-width: 1100px) and (min-height: 821px) {
  #espace.actif #hubCartes > .hub-tuiles { margin-top: var(--e6); }
  #espace.actif #hubCartes > .hub-droite:has(.cal) { gap: calc(var(--e7) + var(--e5)); }
}
@media (min-width: 1100px) and (min-height: 950px) {
  #espace.actif #hubCartes > .hub-tuiles { margin-top: var(--e7); }
  #espace.actif #hubCartes > .hub-droite:has(.cal) { gap: calc(var(--e7) + var(--e6)); }
}

/* LES CARTES DE MODULE (decision de Matylda, 16 octobre 2026) : le nom plus grand et plus present, le dessin geometrique plus petit et plus fin (telephone et ordinateur) */
.carte-vignette { container-type: inline-size; }
/* le dessin (le tore) occupe environ 40 % de la largeur de son fichier : on le place a ~55 % de la largeur de la carte (avant : ~80 %), centre */
.carte-vignette .carte-forme { position: absolute; inset: auto; left: 50%; top: 50%; width: 140%; height: 70%; transform: translate(-50%, -50%); object-fit: contain; }
.carte-nom { font-size: clamp(1.05rem, 7.6cqw, 1.8rem); letter-spacing: .07em; padding-left: calc(.35rem + .07em); }

/* MES CHECK-POINTS (ordinateur : le meme principe que MON ESPACE (decision de Matylda, 16 octobre 2026). A gauche (38,2 %, fond --voile-leger, trait fin) :
   le titre, la phrase, la liste par module. A droite (61,8 %) : le check-point choisi s'ouvre DANS la page. Telephone : rien ne change. */
.cp-droite { display: none; }
@media (min-width: 1100px) {
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux { background: linear-gradient(90deg, var(--voile-leger) calc(38.2% - 1px), var(--trait) calc(38.2% - 1px) 38.2%, var(--fond) 38.2%); }   /* le fond des deux colonnes va jusqu'a la barre du bas */
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .corps { display: grid; grid-template-columns: 38.2fr 61.8fr; width: 100%; max-width: none; margin: 0; padding: 0; overflow: hidden; background: none; }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-gauche { min-width: 0; min-height: 0; overflow-y: auto; box-sizing: border-box; padding: calc(var(--haut) + 3.25rem) var(--e5) var(--e6) var(--e6); text-align: left; }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-gauche > .titre { text-align: left; font-size: clamp(1.5rem, 2.2vw, 2.1rem); font-weight: 300; line-height: 1.2; }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-gauche > .sous { text-align: left; max-width: none; margin: var(--e3) 0 var(--e5); }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-gauche .cp-modules { margin-top: var(--e5); }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-gauche .menu-liste:empty { display: none; }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux > .fleche { position: absolute; left: var(--e6); bottom: var(--e4); margin: 0; transform: none; z-index: 3; }   /* le retour : en bas a gauche, par-dessus la colonne de gauche ; 16 nov. 2026 (Matylda : « la barre blanche au-dessus de la barre du bas ») : plus de bande blanche sur toute la largeur, les deux colonnes vont jusqu'a la barre du bas */
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-gauche { padding-bottom: var(--e7); }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-tuile-actif { box-shadow: 0 0 0 1px var(--encre); }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-droite { display: block; position: relative; min-width: 0; min-height: 0; }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-droite-corps { position: absolute; inset: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; box-sizing: border-box; padding: calc(var(--haut) + 3.25rem) var(--e6) var(--e6); }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-droite-corps > * { max-width: 34rem; margin-left: auto; margin-right: auto; }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-droite-corps > .sous { margin-bottom: var(--e4); }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-droite-corps > .cp { max-width: 34rem; }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-droite-retour { position: absolute; top: calc(var(--haut) + 1rem); left: var(--e5); z-index: 2; width: 2.2rem; height: 2.2rem; padding: 0; background: var(--fond); border: 1px solid var(--trait); border-radius: 50%; color: var(--encre); font: inherit; font-size: 1rem; line-height: 1; cursor: pointer; }
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-attente { position: absolute; top: 50%; left: 50%; width: min(18rem, 40%); margin: 0; transform: translate(-50%, -58%); opacity: .35; pointer-events: none; }
}
@media (hover: hover) and (min-width: 1100px) {
  :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-droite-retour:hover { border-color: color-mix(in srgb, var(--encre) 45%, transparent); }
}

/* ACCUEIL (la roue) sur tablette en hauteur : le bloc se centre dans la page au lieu de rester collé en haut (decision de Matylda, 16 octobre). Telephone et ordinateur : inchanges. */
@media (min-width: 700px) and (max-width: 1099px) and (min-height: 900px) {
  #roue .corps { display: flex; flex-direction: column; }
  #roue .corps > :first-child { margin-top: auto; }
  #roue .corps > :last-child { margin-bottom: auto; }
}

/* L'ACCUEIL D'UN MODULE OU D'UNE PHASE : LA VIDEO EN HAUT, PUIS L'INTRODUCTION, LE MANTRA, LA QUESTION (decision de Matylda, 16 octobre 2026)
   La video (.b-video-tete) ne s'affiche que s'il y en a une (capsule.js > blocsAccueil). Le mantra : une phrase posee seule, sans cadre, entre deux traits courts. */
.lecture .b-video-tete { margin: 0 0 var(--e6); }
@media (min-width: 1100px) {
  .lecture .b-video-tete:not(.b-video-vertical) { width: min(46rem, calc((100svh - 22rem) * 16 / 9)); margin-left: auto; margin-right: auto; }
}
#pageCorps.accueil-video .lecture .b-phrase { margin: var(--e6) auto; padding: var(--e5) 0; max-width: 28rem; background: none; border: 0; outline: 0; text-align: center; }
#pageCorps.accueil-video .lecture .b-phrase::before, #pageCorps.accueil-video .lecture .b-phrase::after { content: ""; display: block; width: var(--e6); height: 1px; margin: 0 auto; background: var(--encre); }
#pageCorps.accueil-video .lecture .b-phrase::before { margin-bottom: var(--e5); }
#pageCorps.accueil-video .lecture .b-phrase::after { margin-top: var(--e5); }
#pageCorps.accueil-video .lecture .b-phrase-texte { font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; line-height: 1.5; letter-spacing: 0; text-transform: none; text-wrap: balance; color: var(--encre); }
@media (min-width: 1100px) {
  #pageCorps.accueil-video .lecture .b-phrase { margin-top: var(--e7); margin-bottom: var(--e7); max-width: 36rem; }
  #pageCorps.accueil-video .lecture .b-phrase-texte { font-size: 1.875rem; }
}

/* LE LECTEUR DE LA CAPSULE : la video YouTube sans l'habillage YouTube. Le cadre YouTube est recouvert de notre couche : affiche, lecture/pause, barre fine, plein ecran. */
.b-video.b-video-lecteur { background: var(--encre); }
.b-lecteur { position: relative; width: 100%; height: 100%; background: var(--encre); color: var(--fond); }
/* le cadre YouTube est plus haut que la video : ses bandeaux (titre en haut, « plus de videos » en bas) tombent sur des bandes noires qui sortent du cadre, coupees par overflow: hidden */
.b-lecteur iframe { position: absolute; left: 0; top: -4.5rem; width: 100%; height: calc(100% + 9rem); border: 0; pointer-events: none; }   /* taille reelle posee par capsule.js (caler) : grande, puis reduite par une mise a l'echelle */
.b-lecteur-affiche { position: absolute; inset: 0; background: var(--encre); transition: opacity .4s ease; pointer-events: none; }
.b-lecteur-affiche img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-lecteur[data-etat="lecture"] .b-lecteur-affiche, .b-lecteur[data-etat="pause"] .b-lecteur-affiche, .b-lecteur[data-etat="tampon"] .b-lecteur-affiche { opacity: 0; }
.b-lecteur[data-etat="charge"] .b-video-bouton { opacity: .0; }
.b-lecteur-voile { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.b-lecteur[data-etat="pause"] .b-lecteur-voile::after, .b-lecteur[data-etat="fin"] .b-lecteur-voile::after { content: ""; position: absolute; left: 50%; top: 50%; width: var(--e6); height: var(--e6); margin: calc(var(--e6) / -2); border-radius: 50%; background: color-mix(in srgb, var(--fond) 92%, transparent); }
.b-lecteur[data-etat="pause"] .b-lecteur-voile::before, .b-lecteur[data-etat="fin"] .b-lecteur-voile::before { content: ""; position: absolute; left: 51%; top: 50%; z-index: 1; transform: translate(-50%, -50%); border-style: solid; border-width: .5rem 0 .5rem .8125rem; border-color: transparent transparent transparent var(--encre); }
.b-lecteur-barre { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: var(--e3); padding: var(--e5) var(--e4) var(--e3);
  background: linear-gradient(to top, color-mix(in srgb, var(--encre) 70%, transparent), transparent); opacity: 0; transition: opacity .3s ease; }
.b-lecteur.actif .b-lecteur-barre, .b-lecteur:focus-within .b-lecteur-barre { opacity: 1; }
.b-lecteur[data-etat="charge"] .b-lecteur-barre { opacity: 0; pointer-events: none; }
.b-lecteur-pp, .b-lecteur-pe { flex: 0 0 auto; width: var(--e5); height: var(--e5); padding: 0; background: none; border: 0; cursor: pointer; position: relative; color: var(--fond); }
.b-lecteur-pp::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-40%, -50%); border-style: solid; border-width: .4rem 0 .4rem .65rem; border-color: transparent transparent transparent currentColor; }
.b-lecteur[data-etat="lecture"] .b-lecteur-pp::before, .b-lecteur[data-etat="tampon"] .b-lecteur-pp::before { transform: translate(-50%, -50%); width: .55rem; height: .8rem; border: 0; border-left: 2px solid currentColor; border-right: 2px solid currentColor; }
.b-lecteur-pe::before { content: ""; position: absolute; inset: 28%; border: 1.5px solid currentColor; border-radius: 2px; }
.b-lecteur-prog { flex: 1 1 auto; min-width: 0; height: var(--e4); margin: 0; padding: 0; background: none; border: 0; outline: 0; border-radius: 0; cursor: pointer; -webkit-appearance: none; appearance: none; --avance: 0%; }
.b-lecteur-prog:focus-visible, .b-lecteur-pp:focus-visible, .b-lecteur-pe:focus-visible { outline: 1px solid var(--fond); outline-offset: 2px; }
.b-lecteur-prog::-webkit-slider-runnable-track { height: 2px; background: linear-gradient(to right, var(--fond) var(--avance), color-mix(in srgb, var(--fond) 35%, transparent) var(--avance)); }
.b-lecteur-prog::-moz-range-track { height: 2px; background: color-mix(in srgb, var(--fond) 35%, transparent); }
.b-lecteur-prog::-moz-range-progress { height: 2px; background: var(--fond); }
.b-lecteur-prog::-webkit-slider-thumb { -webkit-appearance: none; width: .75rem; height: .75rem; margin-top: -5px; border-radius: 50%; background: var(--fond); border: 0; }
.b-lecteur-prog::-moz-range-thumb { width: .75rem; height: .75rem; border-radius: 50%; background: var(--fond); border: 0; }
.b-lecteur-temps { flex: 0 0 auto; font-size: .75rem; letter-spacing: .06em; font-variant-numeric: tabular-nums; color: var(--fond); }
/* le repere vide, visible seulement par le compte admin */
.b-video-tete.b-video-avenir { aspect-ratio: 16 / 9; border: 1px dashed var(--trait); background: none; }

/* ============ MES RESSOURCES (choix de Matylda, 16 octobre 2026 : une grande carte par ressource) ============
   Telephone : les cartes se suivent (un dessin fin propre a la ressource en haut, le nom et une ligne dessous). Ordinateur : le modele de MON ESPACE et de l'espace RÉALITÉ,
   a gauche (38,2 %, fond tres leger, trait fin) le titre et la phrase, a droite (61,8 %) les cartes. Dessins : trait de 0,3 px, au gris de l'app ; icones : le trait de la norme (0,95 px, var(--icone)). */
.res { --res-h: var(--e7); }
.res .res-livre, .res .res-decor { display: none; }
.res .sous { margin-bottom: var(--e4); }
.res-entrees { display: flex; flex-direction: column; gap: var(--e4); margin: var(--e4) auto 0; max-width: 34rem; }
.res-carte { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; padding: 0; text-align: left; overflow: hidden; background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); font: inherit; color: var(--encre); cursor: pointer; transition: border-color .18s ease; }
.res-visuel { display: block; flex: none; height: var(--res-h); background: var(--voile-leger); border-bottom: 1px solid var(--trait); overflow: hidden; }
.res-fond { display: block; width: 100%; height: 100%; }
.res-fond * { fill: none; stroke: color-mix(in srgb, var(--encre) 33%, var(--fond)); stroke-width: .3px; vector-effect: non-scaling-stroke; }
.res-ic { position: absolute; left: 50%; top: calc(var(--res-h) / 2); transform: translate(-50%, -50%); display: grid; place-items: center; width: var(--e6); height: var(--e6); background: var(--fond); border: 1px solid var(--trait); border-radius: 50%; color: var(--encre); }
.res-ic svg, .res-livre svg { display: block; width: 30px; height: 30px; }
.res-ic svg *, .res-livre svg * { stroke: var(--icone); stroke-width: .95px; vector-effect: non-scaling-stroke; }
.res-pied { display: block; padding: var(--e4) var(--e6) var(--e4) var(--e4); }
.res-nom { display: block; font-size: .76rem; font-weight: 500; letter-spacing: .12em; color: var(--encre); }
.res-ligne { display: flex; flex-wrap: wrap; gap: 0 var(--e3); min-height: 1.5em; margin-top: var(--e2); font-size: .75rem; font-weight: 300; letter-spacing: .06em; line-height: 1.5; color: var(--gris); }
.res-ligne > span { white-space: nowrap; }
.res-fleche { position: absolute; right: var(--e4); top: calc(var(--res-h) + var(--e4)); font-size: 1rem; line-height: 1.2; color: var(--gris); }
.prat-carte.hub-carte-avenir { opacity: .5; cursor: default; }
@media (max-width: 1099px) { .play { margin-top: var(--e5); } }
@media (prefers-reduced-motion: reduce) { .res-carte { transition: none; } }
@media (min-width: 1100px) {
  #bibliothequePanneau.res { --res-h: calc(var(--e7) * 2); }
  #bibliothequePanneau.res .corps { display: grid; grid-template-columns: 38.2fr 61.8fr; grid-template-rows: auto auto auto 1fr; column-gap: 0; align-content: start; width: 100%; max-width: none; min-height: 0; padding: 0 !important; margin: 0; overflow: hidden;
    background: linear-gradient(90deg, var(--voile-leger) calc(38.2% - 1px), var(--trait) calc(38.2% - 1px) 38.2%, var(--fond) 38.2%); }
  #bibliothequePanneau.res .res-livre { display: block; grid-column: 1; grid-row: 1; width: 30px; height: 30px; margin: var(--e7) var(--e5) 0 var(--e6); color: var(--encre); }
  #bibliothequePanneau.res h1.titre { grid-column: 1; grid-row: 2; text-align: left; margin: var(--e4) var(--e5) 0 var(--e6); font-size: clamp(1.6rem, 2.3vw, 2.2rem); font-weight: 300; letter-spacing: .04em; line-height: 1.15; }
  #bibliothequePanneau.res .sous { grid-column: 1; grid-row: 3; text-align: left; margin: var(--e4) var(--e5) 0 var(--e6); max-width: 24rem; font-size: .82rem; line-height: 1.6; text-wrap: balance; }
  #bibliothequePanneau.res .res-decor { display: block; grid-column: 1; grid-row: 4; align-self: end; height: min(100%, 15rem); overflow: hidden; -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
  #bibliothequePanneau.res .res-decor .res-fond { width: 100%; height: 100%; }
  #bibliothequePanneau.res .res-entrees { grid-column: 2; grid-row: 1 / -1; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: var(--e5); align-content: start; align-items: stretch; min-height: 0; overflow-y: auto; margin: 0; max-width: none; padding: var(--e7) var(--e6) var(--e6); }
  #bibliothequePanneau.res .res-carte { height: 100%; }
  /* le retour (la fleche du bas) se pose dans la colonne de gauche : le fond tres leger va jusqu'a la barre, et rien ne gene la colonne de droite */
  #bibliothequePanneau.res > .fleche { position: absolute; left: 19.1%; bottom: var(--e4); margin: 0; transform: translateX(-50%); z-index: 2; }
}
@media (hover: hover) and (min-width: 1100px) {
  #bibliothequePanneau.res .res-carte:hover { border-color: color-mix(in srgb, var(--encre) 45%, transparent); }
}

/* BIBLIOTHEQUE : le sous-titre d'une guidance (gris, sous le titre) et le bouton du PDF (pilule blanche) */
.b-etape-soustitre { margin: calc(var(--e2) * -1) 0 var(--e3); font-size: .9rem; font-weight: 300; line-height: 1.5; color: var(--gris); }
.guid-pdf { margin: var(--e4) auto 0; display: flex; }

/* ESPACE RÉALITÉ, telephone : les trois acces (REPLAYS, MES CHECK-POINTS, MES RESSOURCES) sont des cartes GRISEES, pour les distinguer des modules (decision de Matylda, 17 octobre) */
@media (max-width: 1099px) {
  .hub-tuiles-trois .hub-tuile { background: var(--voile); }
}

/* LA PLAYLIST : l'icone de l'en-tete de sa page est la MEME que sur sa carte de MES RESSOURCES (meme trait fin, meme gris) (demande de Matylda, 17 octobre) */
.b-entete-coin[data-icone="playlist"] svg * { stroke: var(--icone); stroke-width: .95px; vector-effect: non-scaling-stroke; fill: none; }

/* LE MANTRA EN IMAGE (accueil d'une phase) : l'image de Matylda (bandeau 3 : 1), seule, sans cadre ni traits ; coins de la forme des cartes. Le texte du mantra reste son texte alternatif.
   Telephone : l'image est recadree au centre (5 : 2) pour que son texte reste lisible ; ordinateur : le bandeau entier. */
#pageCorps.accueil-video .lecture .b-phrase.b-phrase-avec-image { margin: var(--e6) 0; padding: 0; max-width: none; width: 100%; border-radius: var(--r-carte); overflow: hidden; background: var(--encre); }
#pageCorps.accueil-video .lecture .b-phrase.b-phrase-avec-image::before, #pageCorps.accueil-video .lecture .b-phrase.b-phrase-avec-image::after { display: none; }
.b-phrase-image { display: block; width: 100%; height: auto; aspect-ratio: 5 / 2; object-fit: cover; object-position: center; }   /* telephone : recadre au centre (5 : 2) : tout le texte des mantras tient, avec de l'air de chaque cote */
@media (min-width: 700px) { .b-phrase-image { aspect-ratio: 3 / 1; } }
@media (min-width: 1100px) { #pageCorps.accueil-video .lecture .b-phrase.b-phrase-avec-image { margin-top: var(--e7); margin-bottom: var(--e7); } }

/* ESSAI : LES SEPARATEURS DU NOTION sur la page d'accueil du module (?sep=1). Un separateur = deux traits fins avec une bande grisee entre eux. Il ouvre chaque partie ; plus de blocs grises ;
   la question du module est posee ENTRE deux separateurs ; la video a beaucoup de blanc autour d'elle. Seulement les variables du projet (couleurs, --e1 a --e7). */
#pageCorps.module-sep .lecture .b-section, #pageCorps.module-sep .lecture .b-section-teinte { background: none; padding-left: 0; padding-right: 0; padding-top: 0; border-radius: 0; margin-top: var(--e7); }
#pageCorps.module-sep .lecture .b-section-intro { margin-top: 0; }
#pageCorps.module-sep .lecture .b-section:not(.b-section-intro)::before,
#pageCorps.module-sep .lecture .b-appel::before, #pageCorps.module-sep .lecture .b-appel::after {
  content: ""; display: block; position: static; inset: auto; width: auto; column-span: all; height: var(--e4); background: var(--voile); border: 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait);
  border-radius: 0; opacity: 1; animation: none; transform: none; z-index: auto; }
#pageCorps.module-sep .lecture .b-section:not(.b-section-intro)::before { margin: 0 0 var(--e6); }
#pageCorps.module-sep .lecture .b-appel { position: static; isolation: auto; overflow: visible; max-width: none; margin: var(--e7) 0; padding: 0; background: none; border-radius: 0; border: 0; column-span: all; }
#pageCorps.module-sep .lecture .b-appel::before { margin: 0 0 var(--e6); }
#pageCorps.module-sep .lecture .b-appel::after { margin: var(--e6) 0 0; }
#pageCorps.module-sep .lecture .b-video-tete { margin-top: var(--e7); margin-bottom: var(--e7); column-span: all; }

/* ACCUEIL DU MODULE : plus de separateur AVANT le premier titre (sous « MODULE I · FONDATION ») ; l'icone de la playlist est la MEME que dans MES RESSOURCES (trait fin, gris), sous son separateur */
#pageCorps.module-sep .lecture .b-section-intro + .b-section::before { display: none; }
#pageCorps.module-sep .lecture .b-section-intro + .b-section { margin-top: var(--e6); }
.b-dessin[data-nom="playlist"] { display: block; width: 3.4rem; height: auto; margin: 0 auto var(--e5); }
.b-dessin[data-nom="playlist"] svg { display: block; width: 100%; height: auto; }
.b-dessin[data-nom="playlist"] svg * { stroke: var(--icone); stroke-width: .95px; vector-effect: non-scaling-stroke; fill: none; }

/* ESSAI DE STYLES DE SEPARATEUR (?sepstyle=a|b|c|d ; sans : deux traits et une bande). Seulement var(--trait), var(--voile), var(--fond), var(--encre), --e1 a --e7. */
#pageCorps.module-sep:is(.sep-a, .sep-b, .sep-c, .sep-d) .lecture .b-section:not(.b-section-intro)::before,
#pageCorps.module-sep:is(.sep-a, .sep-b, .sep-c, .sep-d) .lecture .b-appel::before,
#pageCorps.module-sep:is(.sep-a, .sep-b, .sep-c, .sep-d) .lecture .b-appel::after { border: 0; background-color: transparent; background-repeat: no-repeat; -webkit-mask-image: none; mask-image: none; }
/* A : trois traits fins, de plus en plus legers */
#pageCorps.module-sep.sep-a .lecture :is(.b-section:not(.b-section-intro), .b-appel)::before, #pageCorps.module-sep.sep-a .lecture .b-appel::after { height: var(--e3);
  background-image: linear-gradient(var(--trait), var(--trait)), linear-gradient(color-mix(in srgb, var(--trait) 65%, transparent), color-mix(in srgb, var(--trait) 65%, transparent)), linear-gradient(color-mix(in srgb, var(--trait) 35%, transparent), color-mix(in srgb, var(--trait) 35%, transparent));
  background-size: 100% 1px, 100% 1px, 100% 1px; background-position: 0 0, 0 50%, 0 100%; }
/* B : deux traits fins et un petit point au centre */
#pageCorps.module-sep.sep-b .lecture :is(.b-section:not(.b-section-intro), .b-appel)::before, #pageCorps.module-sep.sep-b .lecture .b-appel::after { height: var(--e4);
  background-image: radial-gradient(circle at 50% 50%, var(--encre) 0 3px, transparent 3.5px), radial-gradient(circle at 50% 50%, var(--fond) 0 14px, transparent 14.5px), linear-gradient(var(--trait), var(--trait)), linear-gradient(var(--trait), var(--trait));
  background-size: 100% 100%, 100% 100%, 100% 1px, 100% 1px; background-position: 0 0, 0 0, 0 0, 0 100%; background-color: var(--voile); }
/* C : cinq traits fins, ecartes de plus en plus (un rythme graphique) */
#pageCorps.module-sep.sep-c .lecture :is(.b-section:not(.b-section-intro), .b-appel)::before, #pageCorps.module-sep.sep-c .lecture .b-appel::after { height: var(--e4);
  background-image: linear-gradient(var(--encre), var(--encre)), linear-gradient(color-mix(in srgb, var(--encre) 55%, transparent), color-mix(in srgb, var(--encre) 55%, transparent)), linear-gradient(color-mix(in srgb, var(--encre) 35%, transparent), color-mix(in srgb, var(--encre) 35%, transparent)), linear-gradient(color-mix(in srgb, var(--encre) 20%, transparent), color-mix(in srgb, var(--encre) 20%, transparent)), linear-gradient(color-mix(in srgb, var(--encre) 10%, transparent), color-mix(in srgb, var(--encre) 10%, transparent));
  background-size: 100% 1px; background-position: 0 0, 0 18%, 0 42%, 0 70%, 0 100%; }
/* C choisi : le premier trait est franc (3 px, noir plein), les quatre suivants s'estompent vers le bas : l'oeil s'arrete dessus */
#pageCorps.module-sep.sep-c .lecture :is(.b-section:not(.b-section-intro), .b-appel)::before, #pageCorps.module-sep.sep-c .lecture .b-appel::after { height: var(--e5);
  background-size: 100% 3px, 100% 1px, 100% 1px, 100% 1px, 100% 1px; background-position: 0 0, 0 30%, 0 54%, 0 78%, 0 100%; }
/* D : deux traits fins et une bande, qui s'effacent doucement vers les bords */
#pageCorps.module-sep.sep-d .lecture :is(.b-section:not(.b-section-intro), .b-appel)::before, #pageCorps.module-sep.sep-d .lecture .b-appel::after { height: var(--e4);
  background-image: linear-gradient(var(--trait), var(--trait)), linear-gradient(var(--trait), var(--trait)); background-size: 100% 1px, 100% 1px; background-position: 0 0, 0 100%; background-color: var(--voile);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }

/* ACCUEIL DU MODULE : la partie qui suit la question n'a pas de separateur de plus (le separateur sous la question lui sert) */
#pageCorps.module-sep .lecture .b-section:has(> .b-appel:last-child) + .b-section::before { display: none; }
#pageCorps.module-sep .lecture .b-section:has(> .b-appel:last-child) + .b-section { margin-top: 0; }

/* L'ICONE DE LA PLAYLIST DANS UN CERCLE, comme sa vignette de MES RESSOURCES (rond blanc, trait fin) : sur la page d'accueil du module ET dans le coin de la page de la playlist (demande de Matylda, 17 octobre) */
.b-dessin[data-nom="playlist"] { display: grid; place-items: center; width: var(--e6); height: var(--e6); margin: 0 auto var(--e5); background: var(--fond); border: 1px solid var(--trait); border-radius: 50%; }
.b-dessin[data-nom="playlist"] svg { width: 30px; height: 30px; }
.b-entete-coin[data-icone="playlist"] { display: grid; place-items: center; width: var(--e6); height: var(--e6); background: var(--fond); border: 1px solid var(--trait); border-radius: 50%; }
.b-entete-coin[data-icone="playlist"] svg { width: 30px; height: 30px; }

/* ACCUEIL DU MODULE : l'image d'une partie a le MEME espace libre au-dessus (sous le sous-titre) et au-dessous (avant le texte) */
#pageCorps.module-sep .lecture .b-section > .b-dessin.b-dessin-section { margin-top: var(--e6); margin-bottom: var(--e6); }

/* LA QUESTION DU MODULE (« PEUR — CONFIANCE ») : la seule question importante, en grand ; l'etiquette au-dessus est recentree (l'espacement des lettres la decalait) (demande de Matylda, 17 octobre) */
.lecture .b-appel-deux .b-appel-poles { font-size: min(2.25rem, 6.4vw); line-height: 1.15; }
.lecture .b-appel-deux .b-appel-avant { padding-left: .12em; }
.lecture .b-appel-deux .b-appel-point { width: var(--e3); height: var(--e3); margin: calc(var(--e3) / -2) 0 0 calc(var(--e3) / -2); }

/* L'ICONE DE LA PLAYLIST, accueil du module : meme ordre de grandeur que les images des parties (38,2 % de la colonne) */
#pageCorps .lecture .b-dessin[data-nom="playlist"] { width: 38.2%; max-width: 15rem; height: auto; aspect-ratio: 1; margin-left: auto; margin-right: auto; }
#pageCorps .lecture .b-dessin[data-nom="playlist"] svg { width: 46%; height: 46%; }

/* ESPACE RÉALITÉ, telephone : l'icone de chaque carte grisee est dans un rond BLANC (comme l'icone de la playlist) */
@media (max-width: 1099px) {
  .hub-tuiles-trois .hub-tuile-ic { display: grid; place-items: center; width: var(--e6); height: var(--e6); border-radius: 50%; background: var(--fond); }
  .hub-tuiles-trois .hub-tuile-ic svg { width: 30px; height: 30px; }
}

/* SEPARATEURS (affinés, 17 octobre) : trois traits tout proches, un peu plus épais en haut puis de plus en plus pâles, qui s'effacent doucement aux deux extrémités */
#pageCorps.module-sep.sep-c .lecture :is(.b-section:not(.b-section-intro), .b-appel)::before, #pageCorps.module-sep.sep-c .lecture .b-appel::after {
  height: var(--e2);
  background-image: linear-gradient(color-mix(in srgb, var(--encre) 45%, transparent), color-mix(in srgb, var(--encre) 45%, transparent)), linear-gradient(color-mix(in srgb, var(--encre) 24%, transparent), color-mix(in srgb, var(--encre) 24%, transparent)), linear-gradient(color-mix(in srgb, var(--encre) 11%, transparent), color-mix(in srgb, var(--encre) 11%, transparent));
  background-size: 100% 2px, 100% 1px, 100% 1px; background-position: 0 0, 0 55%, 0 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); }

/* « PEUR — CONFIANCE » centree VISUELLEMENT : c'est l'ensemble (les deux mots et la barre) qui est au centre de la page, pas la barre seule */
.lecture .b-appel-deux .b-appel-poles { grid-template-columns: auto auto auto; justify-content: center; }
.lecture .b-appel-deux .b-appel-pole:first-child, .lecture .b-appel-deux .b-appel-pole:last-child { justify-self: auto; }

/* ACCUEIL DES PHASES : memes separateurs que l'accueil du module, aux endroits du Notion. Le Notion en met un juste apres l'introduction (donc ici sous la video) ; aucun entre « OBSERVER LES ESPACES » et « LE CHEMIN D'OBSERVATION » */
#pageCorps.module-sep.phase-sep .lecture .b-section-intro + .b-section::before { display: block; }
#pageCorps.module-sep.phase-sep .lecture .b-section-intro + .b-section { margin-top: var(--e7); }
#pageCorps.module-sep.phase-sep .lecture .b-section:has(> .b-appel:last-child) + .b-section::before { display: none; }
#pageCorps.module-sep.phase-sep .lecture .b-section:has(> .b-appel:last-child) + .b-section { margin-top: 0; }
#pageCorps.module-sep .lecture .b-section.b-section-sans-sep:not(.b-section-intro)::before { display: none; }
#pageCorps.module-sep .lecture .b-section-sans-sep { margin-top: var(--e6); }

/* ACCUEIL DU MODULE ET DES PHASES : les separateurs suffisent, plus de trait sous les titres ; titres et sous-titres des parties au CENTRE (17 octobre). Le titre du haut (« STABILITÉ INTÉRIEURE & ANCRAGE ») ne change pas. */
#pageCorps.module-sep .lecture .b-section:not(.b-section-intro) > .b-titre { border-bottom: 0; padding-bottom: 0; text-align: center; }
#pageCorps.module-sep .lecture .b-section:not(.b-section-intro) > .b-sous { text-align: center; }
/* SOUS-TITRES DES PARTIES (accueil du module et des phases, 14 nov. 2026, Matylda) : lisibles tout de suite : plus grands que le texte (1,05 rem), en gras (600, accent rare justifie : c'est le repere de lecture), noirs, plus d'italique ni de gris. Valable pour tous les modules. */
#pageCorps.module-sep .lecture .b-section:not(.b-section-intro) > .b-sous { font-style: normal; font-size: 1.05rem; font-weight: 600; color: var(--encre); line-height: 1.5; }
/* plus de blanc autour des sous-titres (15 nov. 2026, Matylda) : sous le titre de la partie, et AU-DESSUS d'un sous-titre qui coupe le texte (« Accepter que ça se ferme. », « La culpabilité. ») */
#pageCorps.module-sep .lecture .b-section:not(.b-section-intro) > .b-titre + .b-sous { margin-top: var(--e5); }
#pageCorps.module-sep .lecture .b-section:not(.b-section-intro) > .b-texte + .b-sous { margin-top: var(--e6); }

/* titres des parties un peu plus grands ; le titre du haut de l'accueil du module (« STABILITÉ INTÉRIEURE & ANCRAGE ») reste a gauche avec son trait, comme avant (17 octobre) */
#pageCorps.module-sep .lecture .b-section:not(.b-section-intro) > .b-titre { font-size: 1.2rem; }
#pageCorps.module-sep:not(.phase-sep) .lecture .b-section-intro + .b-section > .b-titre:first-child { border-bottom: 1px solid var(--trait); padding-bottom: .55rem; text-align: left; font-size: 1.05rem; }

/* LE MANTRA EN IMAGE : un separateur au-dessus et au-dessous ; l'image est un peu zoomee (le texte est plus grand) (demande de Matylda, 17 octobre) */
#pageCorps.accueil-video .lecture .b-phrase.b-phrase-avec-image { overflow: visible; background: none; border-radius: 0; }
.b-phrase-cadre { overflow: hidden; border-radius: var(--r-carte); background: var(--encre); aspect-ratio: 5 / 2; }
@media (min-width: 700px) { .b-phrase-cadre { aspect-ratio: 3 / 1; } }
.b-phrase-cadre .b-phrase-image { width: 122%; max-width: none; height: 100%; margin-left: -11%; aspect-ratio: auto; }
#pageCorps.module-sep.sep-c .lecture .b-phrase.b-phrase-avec-image::before, #pageCorps.module-sep.sep-c .lecture .b-phrase.b-phrase-avec-image::after {
  content: ""; display: block; height: var(--e2); width: auto; background-color: transparent;
  background-image: linear-gradient(color-mix(in srgb, var(--encre) 45%, transparent), color-mix(in srgb, var(--encre) 45%, transparent)), linear-gradient(color-mix(in srgb, var(--encre) 24%, transparent), color-mix(in srgb, var(--encre) 24%, transparent)), linear-gradient(color-mix(in srgb, var(--encre) 11%, transparent), color-mix(in srgb, var(--encre) 11%, transparent));
  background-repeat: no-repeat; background-size: 100% 2px, 100% 1px, 100% 1px; background-position: 0 0, 0 55%, 0 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); }
#pageCorps.module-sep.sep-c .lecture .b-phrase.b-phrase-avec-image::before { margin: 0 0 var(--e6); }
#pageCorps.module-sep.sep-c .lecture .b-phrase.b-phrase-avec-image::after { margin: var(--e6) 0 0; }

/* LA COULEUR DES CARTES : marqueurs, routines, exploration (accueil des phases ET accueil du module) ; l'exploration est foncee : texte et icone en blanc */
#pageCorps .b-tuile.b-tuile-marqueur { background: var(--carte-marqueurs); }
#pageCorps .b-tuile.b-tuile-routine { background: var(--carte-routines); }
#pageCorps .b-tuile.b-tuile-exploration { background: var(--carte-exploration); color: var(--fond); }
#pageCorps .b-tuile.b-tuile-exploration :is(.b-tuile-nom, .b-tuile-detail, .b-tuile-fleche, .b-tuile-icone, .b-tuile-avenir) { color: var(--fond); }
#pageCorps .b-tuile.b-tuile-exploration .b-tuile-icone svg :is(path, circle, ellipse, line, polyline, polygon, rect) { stroke: var(--fond); }
#pageCorps .b-tuile.b-tuile-exploration .b-tuile-icone svg [fill]:not([fill="none"]) { fill: var(--fond); }
#pageCorps .b-tuile:is(.b-tuile-marqueur, .b-tuile-routine, .b-tuile-exploration):active { background: var(--voile); filter: brightness(.94); }

/* LES POINTS D'AVANCEMENT D'UNE EXPLORATION : beaucoup plus legers (gris clair), le point du moment un peu plus marque (17 octobre) */
.parcours-rond { border-color: color-mix(in srgb, var(--encre) 30%, transparent); }
.parcours-rond.fait { background: color-mix(in srgb, var(--encre) 30%, transparent); }
.parcours-rond.ici { background: color-mix(in srgb, var(--encre) 45%, transparent); border-color: color-mix(in srgb, var(--encre) 45%, transparent); }


/* MES REPLAYS, page a deux colonnes (interrupteur ?replays=2) : meme modele que la BIBLIOTHEQUE. Tout est prefixe #replaysPanneau. */
#replaysPanneau.rep2 .rep-sous { margin: var(--e4) 0; }
#replaysPanneau.rep2 .rep-module { margin: var(--e4) 0 0; text-align: left; }
#replaysPanneau.rep2 .rep-module:first-child { margin-top: 0; }
@media (min-width: 1100px) {
  #replaysPanneau.prat-v1 .corps { max-width: none; padding: 0; overflow: hidden; display: flex; flex-direction: column; }
  #replaysPanneau.prat-v1 h1.titre { text-align: left; width: 38.2%; box-sizing: border-box; padding: calc(var(--haut) + var(--e6)) var(--e6) var(--e4); background: var(--voile-leger); border-right: 1px solid var(--trait); }
  #replaysPanneau.prat-v1 .prat { flex: 1; min-height: 0; display: flex; }
  #replaysPanneau.rep2 .rep-sous { margin-top: 0; text-align: left; }
}

/* LE MINUTEUR D'UNE EXPLORATION : le meme repere que le protocole d'urgence (trait de 2 px, 110 px, piste --trait, remplissage --encre), sans chiffre */
.parcours-repere { width: 110px; height: 2px; margin: var(--e4) auto 0; background: var(--trait); overflow: hidden; }
.parcours-repere > i { display: block; height: 100%; background: var(--encre); transform-origin: left center; transform: scaleX(0); animation: parcours-remplit 60s linear forwards; }
@keyframes parcours-remplit { to { transform: scaleX(1); } }

/* « Je commence l'exploration » : le meme gris fonce que la carte d'exploration, texte blanc (17 octobre) */
#pageCorps .b-lien.b-parcours { background: var(--carte-exploration); border-color: var(--carte-exploration); color: var(--fond); }
#pageCorps .b-lien.b-parcours:active { filter: brightness(1.15); }

/* JOURNAL D'OBSERVATION DE LA JOURNEE : la phrase de fin, fine et legere ; « VOIR MA JOURNÉE » discret (17 octobre) */
.journal-guide-fin { max-width: 19rem; font-size: .8rem; font-weight: 300; letter-spacing: .02em; line-height: 1.85; color: var(--gris); }
#journal .journal-bascule, .journal-bascule { border-color: var(--trait); color: var(--gris); font-size: .7rem; font-weight: 400; letter-spacing: .16em; padding: var(--e2) var(--e4); gap: var(--e2); }
.journal-bascule::after { width: var(--e2); height: var(--e2); }
#journal .journal-bascule, .journal-bascule { width: auto; margin: var(--e5) auto 0; border: 0; padding: var(--e2) var(--e3); background: none; }

/* LES TROIS CARTES D'EXPLORATION : les trois icones ont la meme hauteur visuelle (le rond de « Je nourris le lien » etait plus grand que les deux autres) */
#pageCorps .b-tuile-exploration .b-tuile-icone svg { width: 100%; height: 2.4rem; }

/* petits reglages issus de l'audit du 17 octobre : un espace sous la phrase « Peur ou confiance ? » des pages marqueurs (ordinateur) ; MES CHECK-POINTS : de l'air sous la derniere carte, au-dessus de la barre du bas */
#pageCorps .lecture .b-sous + .b-texte { margin-top: var(--e4); }
#mesCheckpoints .corps { padding-bottom: calc(var(--barre) + var(--e6)); }

/* ORDINATEUR (1100 px et plus), VARIANTE A (choisie par Matylda le 17 octobre) : accueil du module, accueil des phases, pages marqueurs. A gauche, fixe : le chiffre et le titre, la video, le plan de la page ; a droite, le texte sur UNE colonne. Telephone : rien ne change. */
@media (min-width: 1100px) {
  /* commun : le texte court sur UNE colonne, 65 caracteres environ ; plus de bloc gris */
  #pageCorps.bur { display: grid; max-width: none !important; width: 100%; margin: 0 !important; padding: 0 !important; align-items: start; overflow-x: hidden; }
  #pageCorps.bur .lecture { column-count: 1; max-width: none; margin: 0; }
  #pageCorps.bur .b-section, #pageCorps.bur .b-section-intro { column-count: 1; }
  #pageCorps.bur .b-section > .b-texte, #pageCorps.bur .b-section-intro > .b-texte { max-width: var(--mesure); margin-bottom: var(--e4); }
  #pageCorps.bur .b-section-teinte, #pageCorps.bur .b-section { background: none; }
  #pageCorps.bur { --mesure: 34rem; --large: 46rem; }

  #pageCorps.bur .lecture > .b-section:first-child::before { display: none; }
  /* la colonne de gauche : un sommaire, comme MON ESPACE (fond tres leger, trait fin) */
  .bur-som { display: flex; flex-direction: column; margin-top: var(--e4); border-top: 1px solid var(--trait); }
  .bur-som-lien { display: flex; align-items: center; gap: var(--e3); width: 100%; padding: var(--e3) 0; border: 0; border-bottom: 1px solid var(--trait); background: none; font: inherit; font-size: .75rem; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; text-align: left; color: var(--gris); cursor: pointer; }
  .bur-som-lien::before { content: ""; flex: none; width: var(--e2); height: var(--e2); border-radius: 50%; background: transparent; }
  .bur-som-lien.actif { color: var(--encre); font-weight: 500; }
  .bur-som-lien.actif::before { background: var(--encre); }
  .bur-som-lien:hover { color: var(--encre); }
  .page-protocole-carto .bur-som-lien { text-transform: none; }   /* MON PROTOCOLE de la cartographie (22 nov. 2026, Matylda) : le plan en minuscules, comme la poignee */

  /* ---------- A : la colonne de gauche fixe porte l'identite (chiffre, titre, video) et le sommaire ---------- */
  #pageCorps.bur-a { grid-template-columns: 38.2fr 61.8fr; }
  #pageCorps.bur-a .bur-gauche { grid-column: 1; grid-row: 1; position: sticky; top: 0; box-sizing: border-box; height: calc(100svh - var(--barre)); overflow-y: auto; padding: calc(var(--haut) + var(--e7) + var(--e4)) var(--e6) var(--e5); background: var(--voile-leger); border-right: 1px solid var(--trait); display: flex; flex-direction: column; }
  #pageCorps.bur-a .bur-gauche .b-entete { margin: 0 0 var(--e5); gap: var(--e4); }
  #pageCorps.bur-a .bur-gauche .b-entete-chiffre { font-size: clamp(4.5rem, 6vw, 6.5rem); }
  #pageCorps.bur-a .bur-gauche .b-entete-nom { font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
  #pageCorps.bur-a .bur-video .b-video-tete { width: min(100%, calc((100svh - 30rem) * 16 / 9)) !important; margin: 0 !important; }
  @media (max-height: 820px) {
    #pageCorps.bur-a .bur-gauche { padding-top: calc(var(--haut) + var(--e7)); padding-bottom: var(--e4); }
    #pageCorps.bur-a .bur-gauche .b-entete { margin-bottom: var(--e4); }
    #pageCorps.bur-a .bur-som { margin-top: var(--e4); }
    #pageCorps.bur-a .bur-som-lien { padding: var(--e2) 0; }
  }
  #pageCorps.bur-a .lecture { grid-column: 2; grid-row: 1; padding: calc(var(--haut) + var(--e6)) var(--e6) var(--e7); }

}
@media (min-width: 1100px) {
  /* une seule colonne de lecture, centree dans le cote droit : titres, images, cartes et texte sur le meme axe */
  #pageCorps.bur-a { --mesure: 40rem; }
  #pageCorps.bur-a .lecture { max-width: var(--mesure); margin-left: auto; margin-right: auto; padding-left: var(--e5); padding-right: var(--e5); box-sizing: border-box; width: 100%; }
  #pageCorps.bur-a .b-section > .b-texte, #pageCorps.bur-a .b-section-intro > .b-texte { max-width: none; }
}

/* MON ÉVOLUTION : « J'écris » ne colle plus aux noms de la ligne du temps (OBSERVE, ACCEPTE, BILAN…) : il descend dans la page (demande de Matylda, 17 octobre) */
#evolutionPanneau .evo2 > .evo-ecrire { margin-top: var(--e6); }

/* MON ÉVOLUTION : la ligne du temps continue APRES la journee en cours et s'efface doucement, sans aucun point */
.evo-fil { padding-right: calc(var(--e7) + var(--e6)); }
.evo-fil::before { opacity: 1; background: linear-gradient(90deg, color-mix(in srgb, var(--encre) 35%, transparent) 0, color-mix(in srgb, var(--encre) 35%, transparent) calc(100% - var(--e7) - var(--e6)), transparent 100%); }

/* PAGE D'UN REPLAY : le titre (MODULE I · FONDATION), la date en petit dessous, puis la video, puis le texte */
#replaysPanneau .b-etape-titre, #replayPanneau .b-etape-titre { margin: 0 0 var(--e2); font-size: 1.05rem; font-weight: 500; letter-spacing: .06em; }
#replaysPanneau .b-etape-rang, #replayPanneau .b-etape-rang { margin: 0 0 var(--e5); font-size: .75rem; font-weight: 400; letter-spacing: .06em; text-transform: none; color: var(--gris); }

/* MES REPLAYS, telephone : de l'air entre le titre et la premiere carte (MODULE I · FONDATION n'est plus colle au titre) */
@media (max-width: 1099px) { #replaysPanneau.rep2 .prat-liste { margin-top: var(--e6); } }

/* ACCUEIL DES PHASES : un seul separateur entre l'image du mantra et le chemin (le separateur sous le mantra sert aussi au chemin) */
#pageCorps.module-sep .lecture .b-section:has(> .b-phrase-avec-image:last-child) + .b-section:not(.b-section-intro)::before { display: none; }
#pageCorps.module-sep .lecture .b-section:has(> .b-phrase-avec-image:last-child) + .b-section:not(.b-section-intro) { margin-top: var(--e6); }

/* GESTE « JE BOUGE » : la figure rebondit doucement (le reste du temps la silhouette est immobile) */
@media (prefers-reduced-motion: no-preference) { .figure.geste-saute { animation: geste-saute .8s ease-in-out infinite; } }
@keyframes geste-saute { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.auto-pause .figure.geste-saute { animation-play-state: paused; }

/* GESTES DU REVEIL, ordinateur : la silhouette est plus petite, pour que « Ça revient / Pas encore / Trop » (dessous) restent visibles au-dessus de la barre du bas */
@media (min-width: 1100px) { #detailZone[data-etape^="reveil"] .geste-bloc .zones-figure { height: clamp(8rem, 19svh, 11rem); } #detailZone[data-etape^="reveil"] .nomination { gap: var(--e2); } }

/* 20 octobre : « Je regarde » reprend son oeil, plus grand ; deux champs d'ENERGIE au meme niveau ; la phrase de l'etape 6 au centre de la page */
.protocole:not(.accent):not([data-espace="ramener"]) .reveil-regard svg { width: 17rem; height: 11.5rem; }
.protocole[data-etape="repere"] .etape-titre, .protocole[data-etape="peur"] .etape-titre { min-height: calc(2 * 1.4 * 1.24rem); }
.phrase-centre { margin: 0 auto; max-width: 21rem; text-align: center; white-space: pre-line; font-size: 1.3125rem; font-weight: 500; line-height: 1.5; color: var(--encre); }
.phrase-note { margin: var(--e4) auto 0; max-width: 21rem; text-align: center; white-space: pre-line; }   /* 15 nov. 2026 (Matylda) : la note sous la phrase au centre garde ses deux lignes (la largeur de la phrase), elle ne passe pas sur trois */
/* 20 octobre : les trois choix du reveil (Ça revient, Pas encore, Ça monte trop) sont un peu plus bas de forme, pour que l'image reste a son niveau */
.protocole:not([data-espace="ramener"]) .nomination-attente.nomination-compact .nom-option { padding: var(--e2) var(--e5); }

/* LE SYMBOLE D'UNE ETAPE (ÉMOTIONS gratuit, 22 oct., a valider) : la goutte du module II, pleine, dans sa couleur (--rond), au centre d'un halo rond qui
   respire comme les ronds de fin (animation fin-couleur, memes anneaux --e2..--e5). La scene a la taille d'un visuel de protocole (--visuel), le halo
   61,8 % de la scene, la goutte 38,2 % ; en petit (au-dessus d'une liste d'actions) : halo --e6, goutte --e5. Aucune couleur en dur. */
#detailZone .symbole-scene { display: grid; place-items: center; width: var(--visuel); height: var(--visuel); margin: 0 auto; }
.symbole-halo { display: grid; place-items: center; width: calc(var(--visuel) * .618); height: calc(var(--visuel) * .618); border-radius: 50%;
  background: color-mix(in srgb, var(--rond) 7%, transparent); animation: fin-couleur 3.4s ease-in-out infinite; }
.symbole-dessin { width: calc(var(--visuel) * .382); height: calc(var(--visuel) * .382); overflow: visible; }
.symbole-dessin path { fill: var(--rond); stroke: none; }
#detailZone .symbole-scene.symbole-petit { width: auto; height: calc(var(--e6) + 2 * var(--e3)); }
.symbole-petit .symbole-halo { width: var(--e6); height: var(--e6); }
.symbole-petit .symbole-dessin { width: var(--e5); height: var(--e5); }
.auto-pause .symbole-halo { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .symbole-halo { animation: none; box-shadow: 0 0 0 var(--e2) color-mix(in srgb, var(--rond) 14%, transparent); } }

/* LE PANNEAU LUMINEUX (PENSÉES gratuit, « Je dis NON », 29 oct., a valider) : un mot dans un cadre lumineux, facon enseigne au neon, qui clignote
   (regulierement et doucement, pendant tout l'ecran : retour de Matylda, 29 oct.), au centre de l'ecran, a la place de l'image. Une seule encre (--neon = --rouge), aucune couleur en dur ;
   un double trait (le tube et son reflet), une lueur douce. Sans clignotement si le telephone demande de reduire les animations. */
/* hauteur du panneau seul (1er nov., Matylda) : la phrase fine (« Ce n'est pas un combat… ») se pose a --e4 du NO, pas sous un carre vide ; le centre reste au niveau des images (CALE_URGENCE) */
#detailZone .enseigne-scene { --neon: var(--rouge); display: grid; place-items: center; width: var(--visuel); height: auto; max-width: 100%; margin: 0 auto; }
.enseigne { display: grid; place-items: center; padding: var(--e3) var(--e5); border: 3px solid var(--neon); border-radius: var(--r-carte); color: var(--neon);
  outline: 1px solid color-mix(in srgb, var(--neon) 35%, transparent); outline-offset: var(--e1);
  box-shadow: 0 0 var(--e3) color-mix(in srgb, var(--neon) 45%, transparent), inset 0 0 var(--e3) color-mix(in srgb, var(--neon) 30%, transparent);
  animation: enseigne-clignote 2.2s ease-in-out infinite; }
.enseigne-mot { font-size: 4.5rem; font-weight: 500; line-height: 1; letter-spacing: .12em; padding-left: .12em;
  text-shadow: 0 0 var(--e1) color-mix(in srgb, var(--neon) 70%, transparent), 0 0 var(--e4) color-mix(in srgb, var(--neon) 45%, transparent); }
@keyframes enseigne-clignote { 0%, 50%, 100% { opacity: 1; } 65%, 85% { opacity: .25; } }   /* 29 oct. (Matylda) : un clignotement regulier et doux, pendant tout l'ecran */
.auto-pause .enseigne { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .enseigne { animation: none; } }

/* LES ACTIONS (ÉMOTIONS gratuit, refait le 27 oct.) : deux temps sur le meme ecran, rien de gras.
   choisir : des pilules blanches, liseré fin, 15 px / 400 (le modele des boutons de fin), une ligne = 44 px a toucher ;
   faire : l'action choisie seule (categorie ACTION sous un visuel), le trait du minuteur, « J'ai fait mon action » qui apparait quand il est plein,
   puis « ← Je choisis une autre action » (INDICATION). La zone garde sa hauteur : la goutte et le haut de l'ecran ne bougent pas. */
.actions-bloc { display: flex; flex-direction: column; align-items: center; width: 100%; margin: 0 auto; }
.actions-zone { display: flex; flex-direction: column; align-items: center; width: 100%; min-height: calc(4 * 2.75rem + 3 * var(--e2)); }
.actions-liste { display: flex; flex-direction: column; align-items: stretch; gap: var(--e2); width: 22rem; max-width: 100%; margin-top: var(--e3); }
.action-option { text-wrap: balance; }
.action-option { display: flex; align-items: center; justify-content: center; min-height: 2.75rem; margin: 0; padding: var(--e2) var(--e4);
  background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; color: var(--encre);   /* la bulle fine autour de chaque action (Matylda, 27 oct.) */
  font: inherit; font-size: .9375rem; font-weight: 400; line-height: 1.4; text-align: center; cursor: pointer; }
.action-option:active { background: var(--voile); }
.action-option:focus-visible, .action-autre:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.actions-faire .action-choisie { margin: var(--e4) 0 0; }
.actions-faire .parcours-repere { margin-top: var(--e4); }
.actions-bloc .actions-valider { margin-top: var(--e5); opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s .8s; }
.actions-bloc .actions-valider.pret { opacity: 1; visibility: visible; transition: opacity .8s ease; }
.action-autre { margin: var(--e4) 0 0; padding: var(--e2) var(--e3); background: none; border: 0; font: inherit; font-size: .78rem; font-weight: 300; color: var(--gris); cursor: pointer; }
@media (min-width: 1100px) { #detailZone .symbole-scene.symbole-petit { height: calc(var(--e6) + 2 * var(--e5)); } }   /* ordinateur : le halo ne touche pas la premiere action */

/* LE BAS DE MON ESPACE (22 oct.) : partager l'app, donner son avis. Discret, pour tout le monde. */
/* la ligne du bas : partager · le rond de MON COMPTE · donner son avis (22 oct.) ; le rond garde sa place tout en bas (margin auto) */
.compte-ligne { display: flex; justify-content: center; align-items: center; gap: var(--e5); margin: auto auto 0; padding: var(--e3) var(--e4); }
.compte-ligne > .compte-ouvrir { margin: 0; padding: 0; }
.hub-bas-bt { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; padding: 0; background: none; border: 0; border-radius: 50%; cursor: pointer; }
.hub-bas-bt:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.hub-bas-ic { display: flex; width: 24px; height: 24px; flex: 0 0 auto; }   /* la taille et le trait des icones de MON JOURNAL et MES RAPPELS */
.hub-bas-ic svg * { stroke: var(--icone); stroke-width: .95px; vector-effect: non-scaling-stroke; }
.hub-bas-ic svg { width: 100%; height: 100%; }
.retour { display: flex; flex-direction: column; gap: var(--e4); width: 100%; max-width: 34rem; margin: var(--e5) auto 0; }
.retour textarea { width: 100%; box-sizing: border-box; min-height: 9rem; padding: var(--e3); font: inherit; color: var(--encre); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); resize: vertical; }
.retour textarea:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
.retour .bouton { align-self: center; padding: 0 var(--e5); }
.retour .b-indication { margin-top: 0; text-align: center; }
.retour-merci { margin: var(--e5) auto 0; text-align: center; }
@media (min-width: 1100px) { #espace.actif > .compte-ligne { grid-column: 1; grid-row: 9; align-self: start; justify-self: center; margin: var(--e4) 0 var(--e5) calc(var(--e6) - var(--e5)); padding: 0; } }   /* la place qu'avait le rond seul */

/* ============ LE DIAGNOSTIC DANS L'APP et MON PROTOCOLE (diagnostic.js, 26 oct., a valider) ============
   Le langage de l'app, pas celui du web : Roboto, un seul noir, le gris de l'app, la grille --e1 a --e7, la boite --r-carte, la pilule.
   Un ecran de question tient dans 390 x 700 sans defiler (outils/diagnostic-app/parcours.mjs le mesure). Le rouge et le vert gardent leur sens d'etat. */
.diag .corps { padding-bottom: var(--e6); }
.diag-zone { width: 100%; max-width: 30rem; margin: 0 auto; }
/* L'ENTREE EN DEUX ECRANS (validee par Matylda le 1er nov. 2026, diagnostic-app/planches/premiere-page-v7.html). Les tailles sont celles des roles de l'app :
   le titre = le nom de page (.b-entete-nom : 2,3 rem / 600, interligne 1,05 ; 2,9 rem des 760 px), la phrase grise = le texte (.b-texte : .95 rem / 300, interligne 1,8),
   les coches = le titre d'etape (.b-etape-titre : 1 rem / 600). LE BOUTON EST A LA MEME HAUTEUR SUR LES DEUX ECRANS : la partie haute a une hauteur fixe
   (26,1875 rem = 419 px : le bouton tombe a 471 px du haut sur un telephone de 390 x 700, la place validee sur la planche) et son contenu s'y centre. */
.diag-entree.diag-ecran { padding-top: 0; }
#diagnostic .corps:has(.diag-entree) { padding-bottom: var(--e4); }   /* l'ecran 2 (bouton a 471 px, puis l'indication sur deux lignes) tient sans defiler en 390 x 700 */
.diag-entree-haut { height: 26.1875rem; display: flex; flex-direction: column; }
.diag-entree-haut > .diag-entete { flex: 0 0 auto; }
.diag-entree-milieu { flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: var(--e3) 0 var(--e4); }
.diag-entree-anneaux { flex: 0 0 auto; width: 6.5rem; height: 6.5rem; }
.diag-entree-anneau { fill: none; stroke: var(--dessin); stroke-width: 1; vector-effect: non-scaling-stroke; }
.diag-accueil-centre { fill: var(--encre); }
.diag-entree-titre { margin: var(--e5) 0 0; font-size: 2.3rem; font-weight: 600; line-height: 1.05; color: var(--encre); text-wrap: balance; }
.diag-entree-sous { margin: var(--e4) 0 0; font-size: .95rem; font-weight: 300; line-height: 1.8; color: var(--gris); text-wrap: balance; }
.diag-entree-2 .diag-entree-milieu { align-items: stretch; text-align: left; }
.diag-entree-attend { margin-top: 0; }
.diag-coches { list-style: none; margin: var(--e5) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--e4); }
.diag-coche { display: flex; align-items: flex-start; gap: var(--e3); font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--encre); text-wrap: pretty; }
.diag-coche svg { flex: 0 0 1.25rem; width: 1.25rem; height: 1.25rem; color: var(--encre); }   /* coche noire : rien n'est encore acquis, ce n'est pas un etat (le vert dit « termine ») */
.diag-entree .diag-commencer { width: 100%; max-width: 21rem; margin: 0 auto; }
.diag-entree-meta { text-align: center; }
/* petit telephone (360 x 640, audit du parcours I9, 1er nov.) : la zone du haut perd 1,4 rem sur les deux ecrans (le bouton reste au meme niveau d'un ecran a l'autre),
   pour que les deux lignes de l'indication restent au-dessus de la barre du bas */
@media (max-width: 1099px) and (max-height: 660px) { .diag-entree-haut { height: 24.75rem; } }
@media (min-width: 760px) { .diag-entree-titre { font-size: 2.9rem; } .diag-entree-sous { font-size: 1rem; } }
.diag-label { margin: 0 0 var(--e3); text-align: center; font-size: .75rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); }
.diag-ligne1 { margin: var(--e4) auto var(--e3); max-width: 22ch; font-size: 1.35rem; font-weight: 300; line-height: 1.35; color: var(--encre); text-wrap: balance; }
.diag-ligne2 { margin-bottom: var(--e5); max-width: 30ch; text-wrap: balance; }
.diag-commencer { max-width: 21rem; margin-left: auto; margin-right: auto; display: block; }
.diag-langue { display: flex; justify-content: center; gap: var(--e2); margin-top: var(--e5); }
.diag-langue button { background: none; border: 0; padding: var(--e1) var(--e2); font: inherit; font-size: .78rem; font-weight: 500; letter-spacing: .06em; color: var(--gris); cursor: pointer; }
.diag-langue button[aria-pressed="true"] { color: var(--encre); }
.diag-ecran { display: flex; flex-direction: column; align-items: stretch; padding-top: 0; }
/* LES QUESTIONS, VARIANTE B (choisie par Matylda le 31 oct.) : « MON DIAGNOSTIC » en en-tete (role .b-entete-module), le trait des protocoles,
   la question au role du titre d'etape (.b-etape-titre) dans une zone fixe de trois lignes, les reponses au role du texte (.b-texte), en lignes entre deux filets,
   un cercle fin devant qui se remplit en noir quand on le touche (la langue de MON RÉSULTAT) */
#diagnostic.diag-questions h1.titre { display: none; }
.diag-entete { margin: 0; padding-top: 0; text-align: center; font-size: .75rem; font-weight: 500; letter-spacing: .14em; color: var(--gris); }
.diag-repere { margin-top: var(--e3); }
.diag-lu { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }   /* lu par le lecteur d'ecran seulement (« Question 2 sur 15 », audit I7) */
.diag-question:focus { outline: none; }   /* le focus y est pose par le code (lecteur d'ecran) : pas de cadre au toucher */
.diag-repere > i { animation: none; transition: transform .3s ease; }
.diag-q-zone { margin-top: var(--e6); min-height: 3.12rem; display: block; }   /* 1er nov. : un peu plus d'air sous l'en-tete ; 2 lignes de 1,2 rem x 1,3 (la question la plus longue, FR et EN, mesuree) : la premiere reponse ne bouge jamais */
.diag-question { margin: 0; text-align: left; font-size: 1.2rem; font-weight: 600; letter-spacing: normal; line-height: 1.3; color: var(--encre); text-wrap: pretty; }   /* 1er nov. (Matylda) : la taille du titre de partie ; graisse 600 et reponses en 400 (Matylda, 1er nov. soir : « trop legeres, on a du mal a les lire ») (.b-titre agrandi : 1,2 rem / 500), sans son espacement de capitales, a gauche */
.diag-options { display: flex; flex-direction: column; margin-top: var(--e4); border-top: 1px solid var(--trait); }
.diag-option { display: flex; align-items: center; gap: var(--e4); width: 100%; min-height: 2.75rem; padding: var(--e3) 0; text-align: left; background: none; color: var(--encre); border: 0; border-bottom: 1px solid var(--trait); border-radius: 0; font: inherit; font-size: .95rem; font-weight: 400; line-height: 1.7; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.diag-rond { flex: 0 0 1rem; width: 1rem; height: 1rem; border-radius: 50%; border: 1px solid var(--selection); transition: background-color .2s, border-color .2s; }
.diag-option.choisi .diag-rond { background: var(--encre); border-color: var(--encre); }
.diag-option-texte { flex: 1; min-width: 0; text-wrap: pretty; }
@media (min-width: 760px) { .diag-option { font-size: 1rem; } }   /* comme .b-texte */
.diag-retour { align-self: center; margin-top: var(--e4); padding: var(--e2); }
.diag-resultat { padding-top: var(--e2); }
.diag-intro { margin: 0 auto var(--e3); max-width: 32ch; }
.diag-cercles { margin: var(--e5) 0 0; }
.diag-cercles-rang { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--e3); }
.diag-cercle { display: flex; flex-direction: column; align-items: center; gap: var(--e2); background: none; border: 0; padding: 0; font: inherit; color: var(--gris); cursor: pointer; }
.diag-cercle svg { width: 100%; max-width: 6.5rem; height: auto; }
.diag-cercle-fond { fill: none; stroke: var(--trait); stroke-width: 1.6; }
.diag-cercle-arc { fill: none; stroke: var(--gris); stroke-width: 1.6; stroke-linecap: round; }
.diag-cercle-pct { fill: currentColor; font-size: 1.15rem; font-weight: 300; }
.diag-cercle-nom { font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-align: center; }
.diag-cercle.dominant, .diag-cercle.touche { color: var(--encre); }
.diag-cercle.dominant .diag-cercle-arc { stroke: var(--encre); }
.diag-cercle.dominant .diag-cercle-pct { font-weight: 500; }
.diag-cercle-lecture { min-height: 3.2em; }
.diag-plus { text-align: center; }
.diag-plus .b-plus-texte { text-align: left; }
.diag-dominant { margin-top: var(--e6); }
.diag-profil { margin: 0 0 var(--e2); text-align: center; font-size: 1.6rem; font-weight: 700; letter-spacing: .12em; color: var(--encre); }
.diag-schemas { display: flex; justify-content: center; gap: var(--e4); margin: var(--e4) 0 0; }
.diag-schema { flex: 0 0 38.2%; margin: 0; text-align: center; }
.diag-schema img { display: block; width: 100%; height: auto; }
.diag-schema figcaption { margin-top: var(--e2); font-size: .68rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.diag-sep { height: 1px; margin: var(--e6) auto; width: 38.2%; background: var(--trait); }
.diag-partie { margin: 0 0 var(--e4); text-align: center; font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--encre); }
.diag-scan { display: flex; flex-direction: column; gap: var(--e4); }
.diag-scan-nom { margin: 0 0 var(--e1); font-size: .7rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); white-space: pre; }
.diag-texte { margin: 0; font-size: .95rem; font-weight: 300; line-height: 1.65; color: var(--encre); }
.diag-texte strong { font-weight: 500; }
.diag-pli { margin-top: var(--e5); }
.diag-pli summary, .diag-axe summary { list-style: none; cursor: pointer; }
.diag-pli summary::-webkit-details-marker, .diag-axe summary::-webkit-details-marker { display: none; }
.diag-pli summary { display: flex; align-items: center; gap: var(--e2); font-size: .82rem; font-weight: 500; letter-spacing: .06em; color: var(--encre); }
.diag-pli summary::after { content: "→"; margin-left: auto; color: var(--gris); }
.diag-pli[open] summary::after { content: "↓"; }
.diag-pli-ligne { margin-top: var(--e4); padding-left: var(--e3); border-left: 1px solid var(--trait); }
.diag-point { display: inline-block; flex: none; width: .5rem; height: .5rem; border-radius: 999px; margin-right: var(--e2); vertical-align: middle; }
.diag-rouge { background: var(--rouge); }
.diag-vert { background: var(--vert); }
.diag-ecart { display: flex; flex-direction: column; gap: var(--e3); }
.diag-carte { padding: var(--e4); border: 1px solid var(--trait); border-radius: var(--r-carte); background: var(--fond); }
.diag-carte-nom { margin: 0 0 var(--e2); font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.diag-axe { padding: var(--e4) 0; border-top: 1px solid var(--trait); }
.diag-axe:last-of-type { border-bottom: 1px solid var(--trait); }
.diag-axe summary { display: flex; flex-direction: column; gap: var(--e1); position: relative; padding-right: var(--e5); }
.diag-axe summary::after { content: "+"; position: absolute; right: 0; top: 0; color: var(--gris); }
.diag-axe[open] summary::after { content: "−"; }
.diag-axe-nom { font-size: .7rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); }
.diag-axe-titre { font-size: .95rem; font-weight: 400; color: var(--encre); }
.diag-axe .diag-texte { margin-top: var(--e3); }
.diag-capacite { background: var(--voile); border-color: transparent; text-align: center; }
.diag-capacite-titre { margin: 0 0 var(--e3); font-size: .9rem; font-weight: 600; letter-spacing: .1em; color: var(--encre); }
.diag-suite { display: block; max-width: 21rem; margin: var(--e6) auto 0; }
.diag-protocole .diag-label { margin-bottom: var(--e4); }
.diag-jours { display: flex; flex-direction: column; gap: var(--e3); }
.diag-protocole .porte-actions { margin-top: var(--e5); text-align: center; }
.diag-refaire { display: block; margin: var(--e4) auto 0; }
/* la carte du bas de MON ESPACE : la meme boite que la carte RÉALITÉ, le nom plus petit (deux mots) */
.hub-diag .hub-produit-nom { font-size: 1.15rem; letter-spacing: .2em; padding-left: .2em; }
.hub-diag-indication { margin-top: var(--e4); }
/* L'ECRAN DE PASSAGE vers MON PROTOCOLE (variante B, 31 oct.) : centre, il tient dans l'ecran ; roles : en-tete (.b-entete-module), nom (.b-entete-nom),
   sous (.b-sous), phrase (.b-texte, gras 500), pilule (.bouton), indication (.b-indication) */
.diag-seuil { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 0; }
.diag-seuil .diag-seuil-anneaux { margin-top: var(--e4); flex: 0 0 auto; width: 6.5rem; height: 6.5rem; }
.diag-seuil-nom { margin: var(--e4) 0 0; font-size: 2.3rem; font-weight: 600; letter-spacing: .02em; line-height: 1.05; color: var(--encre); text-wrap: balance; }
.diag-seuil-sous { margin: var(--e2) 0 0; font-style: italic; font-size: .88rem; font-weight: 300; color: var(--gris); }
.diag-seuil-phrase { margin: var(--e4) auto 0; max-width: 36ch; font-size: .95rem; font-weight: 300; line-height: 1.8; color: var(--encre); text-wrap: balance; }
.diag-seuil-phrase strong { font-weight: 500; }
.diag-seuil-bouton { margin: var(--e4) auto 0; padding-left: var(--e5); padding-right: var(--e5); width: auto; }
/* LA CARTE MON PROTOCOLE, VARIANTE A (Matylda, 31 oct.) : blanche, trait fin ; mes anneaux a gauche ; MON PROTOCOLE (role .b-entete-module) et mon mecanisme
   (role du titre .b-titre, celui de la page, une seule ligne) a droite ; la fleche en haut a droite */
.hub-produit.hub-diag-a { justify-content: flex-start; gap: var(--e4); min-height: 0; padding: var(--e4); text-align: left; }
.hub-diag-a .hub-diag-anneaux { flex: 0 0 5.5rem; width: 5.5rem; height: 5.5rem; }
.hub-diag-a .hub-diag-bloc { flex: 1; min-width: 0; align-items: flex-start; gap: var(--e2); }
.hub-diag-a .hub-diag-nom { font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--gris); }
.hub-diag-a .hub-diag-profil { padding: 0; background: none; font-size: 1.05rem; font-weight: 500; letter-spacing: .1em; color: var(--encre); white-space: nowrap; }
.hub-diag-fleche { position: absolute; top: var(--e4); right: var(--e4); font-size: .95rem; font-weight: 300; line-height: 1; color: var(--gris); }
#espace.actif .hub-produits > .hub-produit.hub-diag-a { aspect-ratio: auto; }
/* la carte AVANT le diagnostic (variante A) : la phrase au role du titre d'etape (.b-etape-titre), la duree en indication */
.hub-diag-phrase { font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--encre); text-wrap: balance; }
.hub-diag-meta { font-size: .78rem; font-weight: 300; line-height: 1.6; color: var(--gris); }
.hub-diag-bloc { position: relative; display: flex; flex-direction: column; align-items: center; gap: var(--e1); }
.hub-diag-profil { position: relative; font-size: .7rem; font-weight: 500; letter-spacing: .14em; color: var(--gris); padding: 0 var(--e2); background: radial-gradient(closest-side, var(--fond) 60%, rgba(255,255,255,0)); }
.diag-jours .hub-carte-accent { background: var(--fond); border-color: var(--encre); }   /* le jour suggere (choix par defaut, modifiable) */
.diag-consentement { display: flex; align-items: flex-start; gap: var(--e2); margin: var(--e4) auto 0; max-width: 21rem; text-align: left; font-size: .82rem; font-weight: 300; line-height: 1.5; color: var(--gris); }

/* CHECK-POINTS, DESIGN (21 octobre 2026, retour de Matylda : « comme dans le Notion ») : l'icone et le nom de la section sur une ligne, un chronometre pour « 1 MIN »,
   « Non — je me coupe ou j'evite » sur UNE ligne, les choix courts cote a cote, deux colonnes sur ordinateur, et a la lecture : une section par bloc, un trait sous le titre, le meme separateur que les pages entre deux sections. */
.cp-tete-ligne { display: flex; align-items: center; gap: var(--e3); }
.cp-tete .cp-bloc-nom, .cp-section .cp-bloc-nom { font-size: 1.05rem; letter-spacing: .12em; }
.cp-tete .cp-icone-espace, .cp-section .cp-icone-espace { width: 26px; height: 26px; margin-right: 0; flex: 0 0 auto; }
.cp-tete .cp-bloc-sous, .cp-section-sous { font-style: italic; font-size: .85rem; }
.cp-icone-chrono { color: var(--encre); }
.cp-option-texte { display: block; }
.cp-option-nom, .cp-option-detail { font-weight: 400; }   /* jamais de gras dans les choix : le gras est reserve aux questions */
.cp-option-detail { display: inline; font-size: .9rem; font-weight: 400; line-height: 1.4; color: var(--encre); }
.cp-option-detail::before { content: ", "; }
.cp-choix.cp-en-ligne { flex-direction: row; flex-wrap: wrap; gap: var(--e2); }
.cp-choix.cp-en-ligne .cp-option { width: auto; border-radius: 999px; padding: var(--e2) var(--e4); }
.cp-questions { display: grid; grid-template-columns: 1fr; gap: 0 var(--e6); align-items: start; }
.cp-questions > .cp-question { min-width: 0; }
.cp-lecture .cp-section .cp-bloc-nom { margin: 0 0 var(--e1); }
.cp-lignes { display: grid; grid-template-columns: 1fr; gap: 0 var(--e6); margin-top: var(--e3); padding-top: var(--e4); border-top: 1px solid var(--trait); align-items: start; }
.cp-lignes > .cp-ligne { min-width: 0; }
.cp-sep { height: var(--e2); margin: var(--e6) 0; background-repeat: no-repeat; background-size: 100% 2px, 100% 1px, 100% 1px; background-position: 0 0, 0 55%, 0 100%;
  background-image: linear-gradient(color-mix(in srgb, var(--encre) 45%, transparent), color-mix(in srgb, var(--encre) 45%, transparent)), linear-gradient(color-mix(in srgb, var(--encre) 24%, transparent), color-mix(in srgb, var(--encre) 24%, transparent)), linear-gradient(color-mix(in srgb, var(--encre) 11%, transparent), color-mix(in srgb, var(--encre) 11%, transparent));
  -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to right, transparent, #000 22%, #000 78%, transparent); }   /* le MEME separateur que les pages (valide le 17 octobre) */
@media (min-width: 1100px) {
  .cp-questions, .cp-lignes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) { #checkpoint .corps { max-width: 58rem; } }
/* ordinateur, MES CHECK-POINTS : la colonne de droite est plus large pour les deux colonnes de questions */
@media (min-width: 1100px) { :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-droite-corps > .cp { max-width: 52rem; } :is(#mesCheckpoints, #checkpointsRecus).cp-deux .cp-droite-corps > :is(.titre, .sous, .roue) { max-width: 52rem; } }
.cp-section .cp-bloc-nom, .cp-tete-ligne { gap: var(--e3); }

/* CHECK-POINTS, 2e passe (21 octobre 2026) : titres des questions en gras et plus d'air entre les questions ; un choix fait prend la selection habituelle de l'app (trait fin noir, fond --voile : comme dans le journal) ;
   les puces se rangent en colonnes egales (jamais 3 puis 1) ; le signe + = - dans la couleur de l'etat ; la spirale d'INTEGRATION. */
.cp-question-texte { font-weight: 600; }
.cp-questions > .cp-question, .cp > .cp-question { margin-bottom: var(--e6); }
.cp-choix.cp-en-ligne[data-n="4"], .cp-choix.cp-en-ligne[data-n="2"] { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr)); }   /* 16 nov. 2026 : dans une colonne etroite (ordinateur) les pastilles passent sur une colonne au lieu de laisser « Immediatement » sortir de sa pastille */
.cp-choix.cp-en-ligne[data-n="3"].cp-courts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cp-choix.cp-en-ligne[data-n="x"] { display: grid; grid-template-columns: minmax(0, 1fr); }
.cp-choix.cp-en-ligne[data-n="4"] .cp-option, .cp-choix.cp-en-ligne[data-n="2"] .cp-option, .cp-choix.cp-en-ligne[data-n="3"] .cp-option { justify-content: center; text-align: center; }
.cp-signe-couleur { display: inline-block; flex: 0 0 auto; min-width: 1em; font-size: 1.3rem; font-weight: 500; line-height: 1; text-align: center; }
.cp-icone-spirale { color: var(--encre); }
.cp-tete { margin-top: var(--e6); }
.cp-choix.cp-en-ligne > .cp-autre { grid-column: 1 / -1; }

/* COMMENTAIRES COMME DANS LE NOTION (22 octobre 2026) : une bulle a cote de la question, avec le nombre de messages ; le fil s'ouvre au toucher, sur toute la largeur. */
.cp-ligne { position: relative; padding-right: 2.6rem; }
.cp-ligne-ouverte { grid-column: 1 / -1; }
.cp-bulle { position: absolute; top: 0; right: 0; display: inline-flex; align-items: center; gap: 3px; min-width: 2rem; height: 2rem; padding: 0 var(--e2); background: none; border: 0; border-radius: 999px; color: var(--gris); font: inherit; font-size: .75rem; cursor: pointer; opacity: 0; transition: opacity .15s ease; }
.cp-bulle svg { display: block; width: 1.2rem; height: 1.2rem; flex: 0 0 auto; }
.cp-bulle-pleine { color: var(--encre); background: var(--voile); }
.cp-bulle-pleine svg path { fill: var(--fond); }
.cp-bulle:hover { color: var(--encre); }
.cp-fil-boite { position: relative; margin-top: var(--e3); padding: var(--e3) var(--e4); border: 1px solid var(--trait); border-radius: var(--r-carte); background: var(--fond); }
.cp-fil-boite[hidden] { display: none; }
.cp-fil-boite .cp-fil { margin-top: 0; padding-left: 0; border-left: 0; }
.cp-fil-boite .journal-q-champ { background: var(--fond); }
@media (min-width: 1100px) { #checkpointRecu .corps { max-width: 58rem; } }
.cp-fil-boite { margin-right: -2.6rem; }

/* COMMENTAIRES (22 octobre 2026, choix de Matylda) : une barre jaune (celle des messages de Matylda) dans la marge de ce qui est commente ; pas de bulle quand il n'y a rien. Pour Matylda seulement, la bulle apparait au survol ou au toucher pour ajouter un commentaire. */
.cp-bulle { opacity: 0; pointer-events: none; }
.cp-bulle-pleine, .cp-ligne-ouverte .cp-bulle, .cp-tete-ouverte .cp-bulle { opacity: 1; pointer-events: auto; }
.cp-lecture-admin .cp-ligne:hover .cp-bulle, .cp-lecture-admin .cp-section-tete:hover .cp-bulle, .cp-lecture-admin .cp-active .cp-bulle, .cp-lecture-admin .cp-active.cp-bulle, .cp-lecture-admin .cp-bulle:focus-visible { opacity: 1; pointer-events: auto; }
@media (hover: none) { .cp-bulle { opacity: 0; } .cp-bulle-pleine { opacity: 1; } }
.cp-section-tete { position: relative; padding-right: 2.6rem; }
.cp-section-tete .cp-bulle { top: -.15rem; }
.cp-commentee { position: relative; }
.cp-section-tete .cp-fil-boite { margin-right: -2.6rem; }

/* MES PARTICIPANTES : un titre par personne, un dossier par module (22 octobre 2026) */
.cp-participante { margin-bottom: var(--e4); padding-bottom: var(--e3); border-bottom: 1px solid var(--trait); }
.cp-participante .cp-module-tete { margin-bottom: var(--e3); }
.cp-participante-dedans { display: flex; flex-direction: column; gap: var(--e2); }
.cp-participante-dedans[hidden] { display: none; }
.cp-sous-module { margin: var(--e3) 0 var(--e1); font-size: .7rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); }
.cp-rien { text-align: left; margin: 0 0 var(--e2); }

/* MON ESPACE de Matylda : deux cartes (MES PARTICIPANTES, CHECK-POINTS RECUS) l'une sous l'autre, sur ordinateur aussi */
@media (min-width: 1100px) {
  #espace.actif #hubCartes > .hub-carte.hub-carte-participantes { grid-row: 8; margin-bottom: 0; }
  #espace.actif #hubCartes > .hub-carte.hub-carte-recus { grid-row: 9; margin-top: var(--e3); }
}
.hub-carte-participantes + .hub-carte-recus { margin-top: var(--e3); }

/* MENU DU MODULE (decision de Matylda, 25 octobre) : le titre RÉALITÉ mene a l'espace RÉALITÉ ; MODULE I et ses phases forment un seul bloc ; plus de grand visuel */
.menu-realite { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 44px; margin: 0 0 var(--e4); padding: 0 .2rem; background: none; border: 0; font: inherit; font-size: 1.25rem; font-weight: 700; letter-spacing: .3em; color: var(--encre); text-align: left; cursor: pointer; }
.menu-realite-fl { font-size: 1.1rem; font-weight: 300; letter-spacing: 0; color: var(--gris); }
.menu-groupe { margin-top: 0; }
.menu-groupe > li:first-child .entree-menu { font-weight: 700; letter-spacing: .14em; font-size: .95rem; }
.menu-groupe > li:first-child .entree-menu .appoint { font-weight: 400; letter-spacing: .14em; font-size: .72rem; color: var(--gris); }
.menu-groupe > li:first-child .entree-menu.ici { background: var(--voile); border-radius: var(--r-carte); padding-left: var(--e3); }
.menu-groupe > li:not(:first-child) { margin-left: var(--e4); }
.menu-groupe > li:not(:first-child) .entree-menu { padding-left: var(--e3); }
body.menu-dock #menuModule .menu-realite { margin-bottom: var(--e4); }
@media (max-width: 1099px) { #menuModule .corps { padding-top: calc(var(--haut, 0px) + 3.2rem); } }
#espaceRealite { z-index: 26; }

/* MON ESPACE sur telephone (decision de Matylda, 25 octobre) : l'orbe, puis RÉALITÉ, puis le calendrier */
@media (max-width: 1099px) { .hub-droite { display: flex; flex-direction: column; } .hub-droite > .hub-produits { display: block; order: -1; margin-bottom: var(--e5); } .hub-droite > .hub-produits > .hub-produit { margin-top: var(--e5); } .hub-droite > .hub-cal, .hub-droite > .cal { order: 1; } }

/* LE CHRONO d'une pratique sans video (Tadasana, Mouvements d'ancrage) : le bouton centre, le trait fin dessous */
.b-chrono { margin-top: var(--e4); text-align: center; }
.b-chrono .b-lien { margin-top: 0; }

/* LA FLECHE D'ETAT dans les pages marqueurs (QUOI FAIRE) : rouge qui monte, bleue qui descend, sur telephone comme sur ordinateur (le gris du texte la recouvrait) */
.b-etape-entree .fleche-etat.fleche-monte { color: var(--rouge); }
.b-etape-entree .fleche-etat.fleche-descend { color: var(--bleu); }

/* LA FORMULE du journal guide de la phase 2 (« Mon corps est rouge… et c'est ok. ») : une ligne douce sous le choix */
.journal-q-formule { margin: var(--e3) 0 0; font-size: .9rem; font-weight: 300; line-height: 1.6; color: var(--encre); text-wrap: balance; }

/* LES TYPES DE FUITE (ÉNERGIE, phase 2) : des bulles sur deux colonnes, le seul mot dedans, sans rond */
.protocole:not([data-espace="ramener"]) .nomination-compact.nomination-grille { display: grid; grid-template-columns: 1fr 1fr; width: 100%; max-width: 21rem; gap: var(--e2); margin-left: auto; margin-right: auto; }
.protocole:not([data-espace="ramener"]) .nomination-compact.nomination-grille .nom-option { justify-content: center; text-align: center; padding: var(--e3); gap: var(--e2); font-size: 1rem; white-space: nowrap; }
.protocole:not([data-espace="ramener"]) .nomination-compact.nomination-grille .nom-option:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* CHECK-POINTS, LES RESULTATS COMME LE REMPLISSAGE (25 octobre 2026, demande de Matylda) : la meme page que quand on remplit, tous les choix visibles, celui qui a ete fait reste selectionne ;
   rien ne se touche, et les commentaires de Matylda gardent leur bulle a cote de la question. */
.cp-ligne-fidele { margin: 0 0 var(--e6); }
.cp-ligne-fidele > .cp-question { margin: 0; }
.cp-lecture .cp-ligne-fidele .cp-option { pointer-events: none; cursor: default; }
/* seulement les champs de la QUESTION (en lecture) : la boite de reponse des commentaires, dans la meme ligne, doit rester utilisable */
.cp-lecture .cp-ligne-fidele > .cp-question textarea, .cp-lecture .cp-ligne-fidele > .cp-question .cp-autre { pointer-events: none; }
.cp-lecture .cp-ligne-fidele > .cp-question textarea { resize: none; }

/* LA PASTILLE « TON RETOUR EST LA » (26 octobre 2026) : un point jaune, sans chiffre, qui guide la participante jusqu'a son check-point ; elle disparait des qu'elle l'ouvre */
#barre button[data-onglet], .hub-produit, .hub-tuile, .cp-tuile { position: relative; }
.pastille-retour { position: absolute; top: var(--e2); right: var(--e2); width: .65rem; height: .65rem; border-radius: 50%; background: var(--jaune); box-shadow: 0 0 0 2px var(--fond); pointer-events: none; }
#barre .pastille-retour { top: 22%; right: var(--e1); }

/* LISIBILITE DES REPONSES ET DES COMMENTAIRES (26 octobre 2026, demande de Matylda : « le gris est trop fonce, c'est dur a lire ») : le texte des messages en trait normal (plus de trait fin gris),
   en noir ; le nom de l'auteur en noir (la barre jaune garde « c'est Matylda ») ; les cartes de commentaire et de reponse sur un gris plus leger. */
.cp-msg-texte, .cp-reponse-texte { font-weight: 400; color: var(--encre); }
.cp-reponse { background: var(--voile-leger); }

/* ETAT D'UNE PARTICIPANTE (26 octobre 2026) : un signe (⚠️ ✅ ❔) plus grand qu'un mot */
.cp-etat-signe { font-size: 1.15rem; line-height: 1; font-weight: 400; }
.cp-signe-ligne { margin-left: var(--e2); vertical-align: -.1em; }
.cp-signe-ligne:empty { display: none; }
/* un dossier par module qu'on replie (10 nov. 2026) */
.cp-participante .cp-sous-tete { margin: var(--e3) 0 var(--e1); }
.cp-sous-tete .cp-sous-module { margin: 0; }
.cp-passe { color: var(--vert); }

/* REPONSES A LIRE (27 octobre 2026, demande de Matylda, comme dans Notion) : un point jaune sur le nom, un bandeau en haut du check-point, les fils ou la participante a eu le dernier mot sont ouverts et marques */
.cp-point-attend { display: inline-flex; align-items: center; justify-content: center; min-width: .75rem; height: .75rem; margin-left: var(--e2); padding: 0 3px; border-radius: 999px; background: var(--jaune); color: var(--encre); font-size: .6rem; line-height: 1; font-weight: 600; flex: 0 0 auto; }
.cp-point-attend:empty { width: .75rem; padding: 0; }
.cp-point-attend[hidden] { display: none; }
.cp-attend-bandeau { position: sticky; top: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: var(--e3); width: 100%; margin: 0 0 var(--e3); padding: var(--e1) var(--e1) var(--e1) var(--e3); background: var(--fond); border: 1px solid var(--jaune); border-left-width: 5px; border-radius: var(--r-carte); color: var(--encre); font: inherit; font-size: .85rem; text-align: left; }
.cp-attend-texte { flex: 1; min-width: 0; }
.cp-attend-fleche { flex: 0 0 auto; width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; padding: 0; background: var(--fond); border: 1px solid var(--trait); border-radius: 50%; color: var(--encre); font: inherit; font-size: 1.1rem; line-height: 1; cursor: pointer; }
.cp-attend-fleche[hidden] { display: none; }
.cp-attend-bandeau.cp-attend-fini { border-color: var(--trait); border-left-color: var(--vert); padding-block: var(--e3); }
.cp-attend-bandeau[hidden] { display: none; }
.cp-bulle.cp-bulle-attend::after { content: ""; position: absolute; top: .15rem; right: .15rem; width: .6rem; height: .6rem; border-radius: 50%; background: var(--jaune); box-shadow: 0 0 0 2px var(--fond); }

/* LA FIN DU JOURNAL, EN GESTE (29 octobre 2026) : le separateur des pages, une ligne par geste, puis la derniere phrase en voix, petite et en italique */
.journal-fin-bloc { display: flex; flex-direction: column; align-items: center; margin-top: var(--e6); }
.journal-fin-bloc .cp-sep { width: 100%; margin: 0 0 var(--e5); }
.journal-fin-geste { white-space: pre-line; margin: 0 0 var(--e3); max-width: 21rem; font-size: 1rem; font-weight: 400; line-height: 1.6; color: var(--encre); text-align: center; text-wrap: balance; }
.journal-fin-voix { margin: var(--e3) calc(-1 * var(--e4)) 0; max-width: none; font-size: .7rem; font-style: italic; font-weight: 300; line-height: 1.75; color: var(--gris); text-align: center; text-wrap: balance; }
.journal-fin-bloc + .envoyer { margin-top: var(--e5); }
.parcours-gong-nom.parcours-gong-nom-phrase { font-style: italic; font-weight: 400; font-size: 1.1rem; }   /* une phrase par gong : a la place de la consigne */

/* PROTOCOLES, ORDINATEUR : les signaux de la couleur ou du signe choisi sont dans le panneau gauche, sous la consigne, en petit ; si c'est long, le panneau defile (29 octobre 2026) */
@media (min-width: 1100px) {
  #detailZone:not(.accent):not(.porte) #detailGauche { overflow-y: auto; justify-content: safe center; padding-top: var(--e6); padding-bottom: var(--e6); }
  #detailZone:not(.accent):not(.porte) #detailGauche > * { flex-shrink: 0; }
  #detailZone:not(.accent):not(.porte) #detailGauche > .signaux-ligne { margin: var(--e5) 0 0; max-width: none; width: 100%; }
  #detailZone:not(.accent):not(.porte) #detailGauche .signaux-ligne .groupe + .groupe { margin-top: var(--e3); }
  #detailZone:not(.accent):not(.porte) #detailGauche .signaux-ligne h4 { margin: 0 0 var(--e1); font-size: .7rem; }
  #detailZone:not(.accent):not(.porte) #detailGauche .signaux-ligne li { font-size: .8rem; line-height: 1.45; color: var(--gris); }
}

/* LE JOURNAL GUIDE (observation du matin, du soir), ORDINATEUR (29 octobre 2026, demande de Matylda) : en deux panneaux comme les protocoles et les explorations :
   a gauche (38,2 %, gris tres leger, trait fin) la date, le titre et la phrase ; a droite (blanc) les questions, la fin et le bouton. Sur telephone, rien ne change. */
.journal-guide-date { display: none; }
@media (min-width: 1100px) {
  #journal.journal-guide-ouvert { background-color: var(--fond);
    background-image: linear-gradient(to right, var(--voile-leger) 0 38.2%, transparent 38.2%), linear-gradient(to right, transparent calc(38.2% - 1px), var(--trait) calc(38.2% - 1px) 38.2%, transparent 38.2%); }
  #journal.journal-guide-ouvert .corps { display: block; max-width: none; padding: 0 0 6rem; }
  #journal.journal-guide-ouvert .corps > .journal-date-ligne, #journal.journal-guide-ouvert .corps > .journal-resume { display: none; }
  #journal.journal-guide-ouvert .corps > .journal-guide { display: grid; grid-template-columns: 38.2% minmax(0, 1fr); width: 100%; max-width: none; margin: 0; }
  #journal.journal-guide-ouvert .journal-guide-tete { position: sticky; top: 0; align-self: start; box-sizing: border-box; height: 100vh; padding: var(--e7) var(--e6); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; text-align: left; }
  #journal.journal-guide-ouvert .journal-guide-date { display: block; margin: 0 0 var(--e4); font-size: 1rem; font-weight: 300; color: var(--gris); }
  #journal.journal-guide-ouvert .journal-guide-titre { margin: 0; font-size: 2.25rem; font-weight: 500; line-height: 1.25; letter-spacing: 0; text-wrap: balance; }
  #journal.journal-guide-ouvert .journal-guide-sous { margin: var(--e4) 0 0; font-size: 1.25rem; font-style: normal; font-weight: 300; line-height: 1.6; text-wrap: pretty; }
  #journal.journal-guide-ouvert .journal-guide-corps { box-sizing: border-box; width: 100%; max-width: 42rem; margin: 0 auto; padding: var(--e7) var(--e6); }
}
/* ORDINATEUR : la couleur est choisie, « C'est ma couleur → » est sous les pastilles : la silhouette est un peu plus petite pour que tout tienne au-dessus de la barre du bas */
@media (min-width: 1100px) {
  #detailZone:not(.accent):not(.porte) #detailVisuel:has(.confirmer-choix) { zoom: max(1, calc(var(--z) - .15)); }
}

/* LES ROUTINES, ORDINATEUR : un grand defilement (29 octobre 2026). Gauche : en-tete, introduction, liste des moments (en clair) ; droite : le dessin, LA PRATIQUE, tous les moments. */
@media (min-width: 1100px) {
  #pageCorps.bur-r .bur-gauche { justify-content: flex-start; }
  #pageCorps.bur-r .bur-gauche > .b-sous { margin: 0 0 var(--e3); }
  #pageCorps.bur-r .bur-gauche > .b-texte { margin: 0 0 var(--e3); max-width: none; font-size: .9rem; line-height: 1.6; color: var(--gris); }
  #pageCorps.bur-r .bur-moments { background: none; box-shadow: none; padding-bottom: 0; display: flex; flex-direction: column; gap: var(--e3); width: 100%; margin-top: var(--e6); padding-top: var(--e5); border-top: 1px solid var(--trait); }
  #pageCorps.bur-r .bur-moment { background: none; box-shadow: none; display: flex; flex-direction: column; align-items: flex-start; gap: var(--e1); width: 100%; padding: var(--e2) 0 var(--e2) var(--e4); background: none; border: 0; border-left: 2px solid var(--trait); font: inherit; text-align: left; color: var(--encre); opacity: .62; cursor: pointer; }
  #pageCorps.bur-r .bur-moment-rang { font-size: .75rem; font-weight: 600; letter-spacing: .1em; color: var(--encre); }
  #pageCorps.bur-r .bur-moment-nom { font-size: 1.1rem; line-height: 1.35; }
  #pageCorps.bur-r .bur-moment:hover { opacity: 1; }
  #pageCorps.bur-r .bur-moment.actif { opacity: 1; border-left-color: var(--encre); }
  #pageCorps.bur-r .bur-moment.actif .bur-moment-nom { font-weight: 600; }
  /* LA PRATIQUE, a droite : plus gras */
  #pageCorps.bur-r .lecture > h2.b-titre { font-weight: 700; }
}

/* LE CHOIX DE LA DUREE d'un chrono (29 octobre 2026) : deux pastilles centrees au-dessus de « Je commence » */
.b-chrono-durees { justify-content: center; margin: 0 0 var(--e3); }
.b-chrono-durees .journal-choix-bouton:disabled { opacity: .5; cursor: default; }

/* « JE LANCE MA ROUTINE » (essai, 29 octobre 2026) : le bouton avant les moments, et la petite barre qui reste en bas pendant que les moments s'enchainent */
.routine-lancer { margin: var(--e5) 0 var(--e5); text-align: center; }
.routine-lancer .routine-lancer-indic { margin-top: var(--e4); }
.routine-auto { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--barre, 0px) + var(--bas, 0px) + var(--e4)); z-index: 60; display: flex; align-items: center; gap: var(--e3); max-width: calc(100% - 2 * var(--e4)); padding: var(--e2) var(--e3) var(--e2) var(--e4); background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.routine-auto-nom { min-width: 0; max-width: 13rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .85rem; color: var(--encre); }
.routine-auto-bouton { margin: 0; padding: var(--e2) var(--e3); font-size: .8rem; white-space: nowrap; }
.b-etape.en-cours .b-etape-rang { color: var(--encre); }
.diag-protocole .diag-jours + .diag-label { margin-top: var(--e6); }   /* MA ROUTINE, sous les 10 jours de MON PROTOCOLE : l'air d'une nouvelle partie */

/* LES BOUTONS D'AIDE sous une video (revenir / avancer de 10 s, aller a la pratique) et le GRAND ECRAN dans la page (iPhone) (29 octobre 2026, retour de Charlotte) */
.b-lecteur-aide { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--e4); margin: var(--e2) 0 0; }
/* des indications, pas des boutons : tres petites, grises, sans cadre ; la fleche est courbee */
.b-lecteur-aide-indic { display: inline-flex; align-items: center; gap: var(--e1); margin: 0; padding: var(--e1) var(--e2); background: none; border: 0; font: inherit; font-size: .68rem; letter-spacing: .04em; color: var(--gris); cursor: pointer; }
.b-lecteur-aide-indic svg { width: .85rem; height: .85rem; flex: none; }
.b-lecteur-aide-indic:hover { color: var(--encre); }
.b-lecteur.b-lecteur-grand { position: fixed; inset: 0; z-index: 200; width: 100vw; height: 100vh; height: 100dvh; max-width: none; margin: 0; border-radius: 0; }
body.lecteur-grand-ouvert { overflow: hidden; }
/* ÉMOTIONS gratuit (27 oct.) : l'entree « Bleu ou Rouge ? » en deux gouttes qui respirent, ce qu'elles recouvrent ecrit dessous */
/* la goutte a la taille de la petite goutte de l'etape « Je me donne… » ; autour, la place de sa respiration (--e5) : les deux halos ne se touchent jamais, les mots dessous non plus */
.protocole .nomination-ronds .nom-option.rond-symbole { width: auto; height: auto; margin: var(--e5); padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.protocole .nomination-ronds .nom-option.rond-symbole .symbole-scene.symbole-petit { height: auto; }
.protocole .nom-rond:has(.rond-symbole) { gap: 0; }
.protocole .nom-rond:has(.rond-symbole) .nom-rond-detail { margin-top: 0; }

/* LA RESPIRATION EN ANNEAUX (ÉMOTIONS gratuit, 27 oct.) : le dessin des anneaux des cinq sens (.ecoute-scene, .sens-anneau, .sens-nombre), rien de plus */

/* ÉMOTIONS gratuit, etape « Je me donne… » (27 oct., Matylda) : la goutte un peu plus grande, et de l'air entre elle et les actions */
#detailZone .actions-bloc > .symbole-scene.symbole-petit { height: auto; margin: 0 0 var(--e5); }   /* le halo respire jusqu'a --e5 au-dela du rond : il ne touche jamais les bulles */
#detailZone .actions-bloc > .symbole-scene.symbole-petit .symbole-halo { width: var(--e7); height: var(--e7); }
#detailZone .actions-bloc > .symbole-scene.symbole-petit .symbole-dessin { width: calc(var(--e5) + var(--e3)); height: calc(var(--e5) + var(--e3)); }
.actions-bloc .actions-liste { margin-top: var(--e3); }

/* LA PHRASE A REPETER, AU CENTRE (ÉMOTIONS gratuit, etape « J'ai besoin… », 27 oct., a valider) : cle « mise » d'une etape (capsule.js, rendrePage).
   La phrase prend le style de la phrase a dire au centre (.phrase-centre) ; l'indication garde le sien (.choix-invite). Le titre reste pour le lecteur d'ecran. */
#detailTitre.titre-lu { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.protocole[data-mise] .phrase-mise { text-wrap: balance; }
.protocole[data-mise] .phrase-mise-indication { margin: var(--e4) auto 0; text-wrap: balance; }
.protocole[data-mise="phrase-dessus"] .phrase-mise-indication { margin: 0 auto var(--e3); }
.protocole[data-mise="phrase-dessus"] .phrase-mise { margin: 0 auto var(--e3); }
.protocole[data-mise="phrase-dessous"] .phrase-mise { margin: var(--e3) auto 0; }
.protocole[data-mise="goutte-petite"] .phrase-mise { margin: var(--e5) auto 0; font-size: 1.75rem; line-height: 1.3; }
#detailZone[data-mise="goutte-petite"] .symbole-scene.symbole-petit { height: auto; }
#detailZone[data-mise="goutte-petite"] .symbole-scene.symbole-petit .symbole-halo { width: var(--e7); height: var(--e7); }
#detailZone[data-mise="goutte-petite"] .symbole-scene.symbole-petit .symbole-dessin { width: calc(var(--e5) + var(--e3)); height: calc(var(--e5) + var(--e3)); }

/* LA FIN DES CHEMINS GRATUITS (« Magnifique. », 27 oct., Matylda) : cle « mise: "fin-niveau" » (telephone ; capsule.js, rendrePage et caleImageTelephone).
   Le titre et « Te voilà en confiance. » en haut, a la place d'une question ; le rond vert (le meme : --e5, fin-respire) au niveau des images, comme les deux
   ronds de l'ecran d'avant ; « En savoir plus » dessous. La fin payante (sans cette cle) ne change pas. */
#detailZone.accent[data-mise="fin-niveau"] .protocole-interieur { padding-top: calc(var(--haut) + 4.5rem); }
#detailZone[data-mise="fin-niveau"] #detailTitre::before { content: none; }
.protocole[data-mise="fin-niveau"] .fin-point { display: block; flex: 0 0 auto; width: var(--e5); height: var(--e5); margin: var(--e5) auto; border-radius: 50%; background: var(--vert); animation: fin-respire 3.4s ease-in-out infinite; }
.protocole[data-mise="fin-niveau"] .fin-point + .plus-etape { margin-top: var(--e3); }
@media (prefers-reduced-motion: reduce) { .protocole[data-mise="fin-niveau"] .fin-point { animation: none; box-shadow: 0 0 0 var(--e2) color-mix(in srgb, var(--vert) 14%, transparent); } }

/* fin des chemins gratuits (29 oct., Matylda) : « Magnifique. » un peu plus bas, le rond au meme endroit, la phrase SOUS le rond, puis « En savoir plus » */
#detailZone.accent[data-mise="fin-niveau"] .protocole-interieur { padding-top: calc(var(--haut) + 4.5rem + 2 * var(--e5) + var(--e3) + var(--e6) - var(--e4)); }   /* 30 oct. : la phrase passe sous « Magnifique. » ; le tout remonte de --e4 pour que le halo du rond (--e5) ne la touche pas */   /* « Magnifique. » pres du rond vert (29 oct. soir, Matylda : « trop eloigne du rond ») : le halo du rond respire jusqu'a --e5, il reste environ --e5 de blanc au-dessus */
.protocole[data-mise="fin-niveau"] .fin-point { margin-bottom: calc(var(--e5) + var(--e3)); }   /* le halo respire jusqu'a --e5 : la phrase reste degagee */
/* 30 oct. (Matylda) : « Magnifique. », puis « Te voilà au centre de toi-même. » (#detailTexte, le meme style que la fin RÉALITÉ), puis le rond vert, puis « Je comprends » */

/* TEXTE EN LIGNES (bloc « texte » avec « lignes ») : une phrase par ligne, chacune equilibree ; « centre » : au centre, un peu plus presente, sur toute la largeur (ordinateur compris) */
.b-texte-lignes > span { display: block; text-wrap: balance; }
.lecture .b-texte-centre { text-align: center; font-size: 1.05rem; font-weight: 400; }
#pageCorps :is(.lecture, .b-section) > .b-texte-centre { column-span: all; margin-top: var(--e5); }
/* la fleche d'etat a cote du nom de l'en-tete : a la hauteur des capitales */
.b-entete-nom .fleche-etat { width: .8em; height: .8em; margin-right: 0; vertical-align: -.02em; }

/* LES PAGES « EN SAVOIR PLUS » DU GRATUIT (modele valide par Matylda le 29 oct. 2026) : l'en-tete en colonne (le pictogramme, puis le nom du chemin, puis la phrase),
   moins de blanc avant la premiere partie, et ce premier separateur invisible (sa place reste). Les separateurs suivants restent. */
#pageCorps.page-savoir .b-section-intro .b-entete { flex-direction: column; align-items: flex-start; gap: var(--e4); margin: 0 0 var(--e4); }
#pageCorps.page-savoir .b-section-intro .b-entete-icone { flex: 0 0 auto; width: 2.75rem; height: auto; }
#pageCorps.page-savoir .b-section-intro .b-entete-icone svg { display: block; width: 100%; height: auto; }
#pageCorps.page-savoir .b-section-intro > .b-texte { margin-top: 0; }
#pageCorps.page-savoir .lecture .b-section-intro { padding-bottom: 0; margin-bottom: 0; }
#pageCorps.page-savoir.module-sep .lecture .b-section-intro + .b-section { margin-top: var(--e5); }
#pageCorps.page-savoir.module-sep .lecture .b-section-intro + .b-section::before { margin-bottom: var(--e5); background: none; }
#pageCorps.page-savoir .b-section > .b-titre + .b-sous { font-style: normal; color: var(--encre); font-weight: 300; font-size: .95rem; line-height: 1.7; text-wrap: balance; }

/* LES OFFRES (« ALLER PLUS LOIN », 29 oct.) : deux familles de carte, le protocole (gris clair) et l'exploration (gris fonce, texte blanc).
   Tant qu'une offre n'est pas disponible : « Bientot disponible », et (si la table existe) « Me prevenir a sa sortie ». Aucun prix, aucun achat. */
.b-offres { display: flex; flex-direction: column; gap: var(--e5); margin-top: var(--e5); }
.offre { border-radius: var(--r-carte); padding: var(--e5) var(--e4); text-align: center; }
.offre p { margin: 0; }
.offre-protocole { background: var(--carte-marqueurs); color: var(--encre); }
.offre-exploration { background: var(--carte-exploration); color: var(--fond); }
.offre-visuel { display: block; width: 61.8%; margin: 0 auto var(--e4); }
.offre-visuel .offre-trait { fill: none; stroke: currentColor; stroke-width: 1.2; }
.offre-visuel .offre-pointille { stroke-dasharray: 2 5; }
.offre-visuel .offre-vide { fill: var(--carte-marqueurs); }
.offre-visuel .offre-plein { fill: currentColor; }
.offre-visuel-mot { font-size: 11px; fill: var(--gris); }
.offre-visuel-mot.fort { fill: currentColor; }
.offre-exploration .offre-visuel-mot { font-size: 10px; fill: color-mix(in srgb, var(--fond) 80%, var(--carte-exploration)); }
.offre-sur { font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }
.offre-titre { margin-top: var(--e2) !important; font-size: 1.375rem; font-weight: 500; line-height: 1.25; text-wrap: balance; }
.offre-nom { margin-top: var(--e1) !important; font-size: .75rem; font-weight: 300; color: var(--gris); }
.offre-texte { margin-top: var(--e4) !important; font-size: .95rem; font-weight: 300; line-height: 1.7; text-wrap: balance; }
.offre-texte strong { font-weight: 500; }
.offre-puces { list-style: none; margin: var(--e4) auto 0; padding: 0; display: grid; gap: var(--e1); width: fit-content; max-width: 100%; font-size: .875rem; font-weight: 300; text-align: left; }
.offre-puces li { display: flex; gap: var(--e2); }
.offre-puces li::before { content: "•"; flex: 0 0 auto; }
.offre-pied { margin-top: var(--e5); display: flex; flex-direction: column; align-items: center; gap: var(--e3); }
.offre-statut { font-size: .75rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.offre-bouton { display: inline-flex; padding: var(--e3) var(--e4); border-radius: 999px; border: 1px solid var(--fond); background: var(--fond); color: var(--encre); font: inherit; font-size: .8125rem; font-weight: 500; letter-spacing: .06em; cursor: pointer; }
.offre-bouton:disabled { opacity: .6; cursor: default; }
/* la demande est faite (30 oct.) : la meme bulle porte un mot court ; ce n'est plus un bouton */
.offre-bouton.offre-note, .offre-bouton.offre-note:disabled { opacity: 1; cursor: default; justify-content: center; text-align: center; }   /* la meme bulle blanche que « Me prévenir » (30 oct., Matylda), mais plus touchable */
.offre-retirer[hidden] { display: none; }
.offre-merci { max-width: 16rem; font-size: .8125rem; line-height: 1.5; text-wrap: balance; }
.offre-merci:empty { display: none; }
/* « C'est noté ✓ » et sa ligne, les deux DANS la bulle blanche (30 oct., Matylda) */
.offre-bouton.offre-note { flex-direction: column; align-items: center; gap: 2px; padding: var(--e3) var(--e5); border-radius: var(--e5); }
.offre-note-sous { display: block; max-width: 15rem; font-size: .75rem; font-weight: 300; letter-spacing: 0; line-height: 1.45; color: var(--gris); text-wrap: balance; }
.offre-retirer { background: none; border: 0; padding: var(--e1) var(--e2); font: inherit; font-size: .75rem; color: var(--gris); cursor: pointer; }
.offre-exploration :is(.offre-sur, .offre-nom, .offre-retirer) { color: color-mix(in srgb, var(--fond) 80%, var(--carte-exploration)); }
.offre-bouton:focus-visible, .offre-retirer:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
#pageCorps .b-entete-icone.b-entete-plein svg path { fill: currentColor; }   /* ÉMOTIONS : la goutte pleine, bleue ou rouge (pages « En savoir plus ») */
/* GRAND ECRAN dans la page : une croix pour le quitter, toujours visible, au-dessus de la bande de l'iPhone ; la barre du bas reste affichee (29 octobre 2026) */
.b-lecteur-quitter { display: none; }
.b-lecteur.b-lecteur-grand .b-lecteur-quitter, .b-lecteur.b-lecteur-plein .b-lecteur-quitter { display: flex; align-items: center; justify-content: center; position: absolute; z-index: 5; top: max(var(--e3), env(safe-area-inset-top, 0px)); right: max(var(--e3), env(safe-area-inset-right, 0px)); width: 2.75rem; height: 2.75rem; padding: 0; background: rgba(0, 0, 0, .55); color: var(--fond); border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.b-lecteur.b-lecteur-grand .b-lecteur-barre, .b-lecteur.b-lecteur-plein .b-lecteur-barre { opacity: 1; padding-bottom: max(var(--e3), env(safe-area-inset-bottom, 0px)); }

/* Changer de compte (30 oct. 2026) : seulement si ce compte est administratrice ou si des comptes ont ete ajoutes sur cet appareil */
.comptes-bloc { margin-top: var(--e4); }
.comptes-bloc .comptes-titre { margin: 0 0 var(--e2); font-size: .72rem; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }

/* la fin des chemins gratuits sur ordinateur (30 oct.) : le rond vert AU-DESSUS de « Je comprends », jamais a cote */
#detailZone[data-mise="fin-niveau"] #detailVisuel { display: flex; flex-direction: column; align-items: center; }
#detailZone[data-mise="fin-niveau"] #detailVisuel .fin-point + .lien-page { margin-top: 0; }   /* en colonne, les marges ne se fondent plus : seul le blanc sous le rond compte (le halo respire jusqu'a --e5) */
@media (min-width: 1100px) { #detailZone[data-mise="fin-niveau"] #detailVisuel .fin-point { margin-top: calc(var(--e5) + var(--e3)); } }   /* sans calage d'image sur ordinateur : le halo garde sa place sous la phrase */
/* MON ESPACE, « CE QUI ARRIVE POUR TOI » (version gratuite, proposition A de Matylda, 30 oct.) : cinq petits traits qui s'estompent, le titre,
   puis une carte par demande, de la famille des cartes « En savoir plus » (claire = protocole, gris fonce = exploration) : le nom et « Bientôt disponible » */
.hub-attente { width: 100%; margin-top: var(--e5); }
.hub-attente-traits { display: flex; justify-content: center; gap: var(--e1); margin-bottom: var(--e3); }
.hub-attente-traits i { display: block; width: var(--e4); height: 1px; background: var(--encre); }
.hub-attente-traits i:nth-child(2) { opacity: .5; } .hub-attente-traits i:nth-child(3) { opacity: .28; } .hub-attente-traits i:nth-child(4) { opacity: .14; } .hub-attente-traits i:nth-child(5) { opacity: .06; }
.hub-attente .hub-rubrique { margin-top: 0; }
.hub-attente-liste { display: grid; gap: var(--e3); margin-top: var(--e4); }
.hub-attente-carte { display: grid; gap: var(--e3); width: 100%; padding: var(--e4); background: var(--carte-routines); border: 0; border-radius: var(--r-carte); color: var(--encre); font: inherit; text-align: left; cursor: pointer; }
.hub-attente-carte.exploration { background: var(--carte-exploration); color: var(--fond); }
.hub-attente-carte:active { opacity: .85; }
.hub-attente-carte .hub-attente-nom { color: inherit; font-size: 1.02rem; font-weight: 500; line-height: 1.35; text-wrap: balance; }
.hub-attente-pied { display: flex; justify-content: space-between; align-items: center; font-size: .75rem; color: var(--gris); }
.hub-attente-carte.exploration .hub-attente-pied { color: color-mix(in srgb, var(--fond) 72%, var(--carte-exploration)); }
.hub-attente-etat { display: inline-flex; align-items: center; gap: var(--e2); }
.hub-attente-etat::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.hub-attente-fleche { font-size: 1rem; }
.hub-attente-indication { margin: var(--e4) auto 0; }

/* Choix de la langue (30 oct. 2026) : dans le formulaire de l'email, et dans MON COMPTE */
.langue-choix { display: flex; justify-content: center; gap: var(--e2); margin: var(--e3) 0 var(--e4); }
.langue-choix button { min-height: 2.75rem; padding: var(--e2) var(--e4); background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; font-family: inherit; font-size: .875rem; font-weight: 400; color: var(--gris); cursor: pointer; }
.langue-choix button[aria-pressed="true"] { color: var(--encre); border-color: var(--encre); }
.langue-choix-petit { margin: 0; gap: var(--e1); }
.langue-choix-petit button { min-height: var(--e5); padding: var(--e1) var(--e3); font-size: .8125rem; }
/* LES RONDS A SIGNE (30 oct. 2026, Matylda) : le signe (fleche, icone) dans le cercle, le nom DESSOUS, avec de l'air ; puis sa petite phrase.
   Dans tous les protocoles (gratuit, RÉALITÉ, urgence), en francais et en anglais : aucun mot ne peut plus toucher le trait. */
.nomination-ronds .nom-option.rond-signe { width: 5.5rem; height: 5.5rem; }
.nomination-ronds .nom-option.rond-signe :is(.fleche-etat, .icone-trait) { width: 2rem; height: 2rem; }
.nomination-ronds .nom-rond:has(> .rond-signe) { gap: 0; }
.nom-rond-nom { margin-top: var(--e4); font-size: 1rem; font-weight: 500; line-height: 1.35; text-align: center; text-wrap: balance; color: var(--encre); cursor: pointer; transition: opacity .18s; }
.nom-rond-nom + .nom-rond-detail { margin-top: var(--e2); }
#detailZone[data-espace="ramener"] .nom-rond-nom { font-weight: 400; }
.nomination.active .nom-rond:not(.choisi) .nom-rond-nom { opacity: .3; }

/* MON ESPACE : l'ancre invisible de « Ce qui arrive pour toi » ne prend aucune place (30 oct. 2026) */
.hub-ancre { height: 0; margin: 0; padding: 0; border: 0; }

/* La carte « Reviens à toi » (rappels) sous le calendrier de MON ESPACE : carte blanche au trait fin, cinq traits qui s'estompent, bouton en pilule (30 oct. 2026) */
.carte-rappel { display: grid; justify-items: center; gap: var(--e3); width: 100%; padding: var(--e4) var(--e3) var(--e3); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); text-align: center; margin: 0 0 var(--e5); box-sizing: border-box; }
.carte-rappel-traits { display: flex; justify-content: center; gap: var(--e1); }
.carte-rappel-traits i { display: block; width: var(--e4); height: 1px; background: var(--encre); }
.carte-rappel-traits i:nth-child(2) { opacity: .5; } .carte-rappel-traits i:nth-child(3) { opacity: .28; } .carte-rappel-traits i:nth-child(4) { opacity: .14; } .carte-rappel-traits i:nth-child(5) { opacity: .07; }
.carte-rappel-titre { margin: 0; font-size: 1rem; font-weight: 500; line-height: 1.3; }
.carte-rappel-sous { margin: 0; font-size: .8125rem; color: var(--gris); max-width: 28ch; }
.carte-rappel-bouton { width: 100%; max-width: 22rem; }
.carte-rappel-bouton.carte-rappel-gris { background: var(--voile); border-color: transparent; }   /* compte gratuit : le gris des pilules de MES RAPPELS (button.rappel-heure) */
.carte-rappel-pas { margin: 0; padding-left: 1.3rem; text-align: left; font-size: .8125rem; line-height: 1.5; max-width: 26rem; }
.carte-rappel-message:empty { display: none; }
@media (min-width: 1100px) {
  #espace.actif #hubCartes > .hub-droite > #hubRappelHote { margin-top: calc(-1 * var(--e7)); }   /* le grand ecart entre le calendrier et la carte suivante n'a pas lieu d'etre ici */
  #hubRappelHote .carte-rappel { max-width: 34rem; margin-left: auto; margin-right: auto; }
}

/* La carte rappel allegee (30 oct. 2026, Matylda : « trop lourd visuellement ») : sans boite, un titre, un bouton, beaucoup d'air. Seule la variante iPhone garde sa boite (validee). */
.carte-rappel:not(.carte-rappel-boite) { border: 0; background: none; padding: var(--e5) var(--e3) var(--e4); gap: var(--e4); margin-bottom: var(--e4); }
.carte-rappel:not(.carte-rappel-boite) .carte-rappel-titre { font-size: 1.0625rem; font-weight: 400; }
.carte-rappel-bouton { max-width: 20rem; }

/* LES QUATRE ENTREES, UN SEUL MODELE (30 oct. 2026, Matylda : « le halo autour du trait ») : le trait de couleur, le signe dedans, et le halo d'ÉMOTIONS
   qui respire AUTOUR du trait (le meme que le rond vert de « Magnifique. ») ; la goutte d'ÉMOTIONS est dans un rond comme les autres signes */
.nomination-ronds .nom-option.rond-monte { --rond: var(--rouge); }
.nomination-ronds .nom-option.rond-descend { --rond: var(--bleu); }
.nomination-ronds .nom-option.rond-signe { border: 1px solid var(--rond, var(--encre)); animation: fin-couleur 3.4s ease-in-out infinite; }
.nomination-ronds .nom-rond:has(> .rond-signe) { padding-top: var(--e3); }
.nomination-ronds .nom-rond:has(> .rond-signe) .nom-rond-nom { margin-top: var(--e5); }
.auto-pause .nomination-ronds .nom-option.rond-signe { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .nomination-ronds .nom-option.rond-signe { animation: none; box-shadow: 0 0 0 var(--e2) color-mix(in srgb, var(--rond, var(--encre)) 14%, transparent); } }
.nomination-ronds .nom-option.rond-goutte .symbole-scene { width: auto; height: auto; }
.nomination-ronds .nom-option.rond-goutte .symbole-halo { width: auto; height: auto; background: none; animation: none; box-shadow: none; }
.nomination-ronds .nom-option.rond-goutte .symbole-dessin { width: 2.6rem; height: 2.6rem; transform: scaleX(.9); }   /* un peu plus grande que les icones, un peu plus fine qu'une goutte ronde */

/* ============ MON PROTOCOLE (gratuit) — la page d'accueil du protocole (diagnostic.js > mpPage ; MODELE.md, validee par Matylda le 30 oct. 2026) ============
   La page est une page du moteur (#pageCorps.module-sep.page-protocole, comme l'accueil du Module I). Ici, seulement les pieces qui n'existaient pas :
   les anneaux de MON RÉSULTAT, les onglets AUJOURD'HUI / DEMAIN et leur cycle, les quatre chapitres de vie, la poignee, JE CONTINUE.
   Les textes portent les classes des roles (.b-texte, .b-appel-avant, .b-indication, .b-lien) : aucune taille de texte nouvelle, sauf le centre du cycle et le titre de la poignee (notes). */
:root { --anneau-repos: #ece8e2; }   /* le reste d'un anneau ou du cycle (MODELE.md §2 : « reste #ece8e2 ») */
#pageCorps.page-protocole .lecture .b-section-sans-sep { margin-top: var(--e6); }
/* MON RÉSULTAT : les anneaux emboites et leur legende a droite */
.mp-systeme { display: flex; align-items: center; gap: var(--e4); margin-top: var(--e5); }
.mp-anneaux { flex: 0 0 8.25rem; width: 8.25rem; height: 8.25rem; overflow: visible; }
.mp-anneau-repos { fill: none; stroke: var(--anneau-repos); stroke-width: 1.6; }
.mp-anneau-arc { fill: none; stroke: var(--selection); stroke-width: 1.6; stroke-linecap: round; }
.mp-anneau-arc.dominant { stroke: var(--rouge); }
.mp-legende { flex: 1; min-width: 0; }
.mp-ligne { display: flex; align-items: baseline; gap: var(--e2); width: 100%; min-height: 2.75rem; padding: var(--e3) 0; background: none; border: 0; border-top: 1px solid var(--trait); font: inherit; text-align: left; color: var(--encre); cursor: pointer; }
.mp-ligne:first-child { border-top: 0; }
.mp-ligne .mp-ligne-nom { flex: 1; margin: 0; }
.mp-ligne.dominant .mp-ligne-nom, .mp-ligne[aria-pressed="true"] .mp-ligne-nom { color: var(--encre); }
.mp-ligne-pct { font-size: .95rem; font-weight: 300; color: var(--selection); }   /* le role texte (.b-texte), dans la couleur de son anneau */
.mp-ligne.dominant .mp-ligne-pct { color: var(--rouge); }
.mp-lecture { margin-top: var(--e4); padding-top: var(--e4); border-top: 1px solid var(--trait); }
.mp-lecture .b-indication { margin-top: 0; }
.mp-lecture .mp-lecture-nom { margin: 0 0 var(--e1); }
.mp-lecture .b-texte { margin-top: 0; }
.mp-plus { display: block; min-height: 2.75rem; margin: 0 auto; padding: 0 var(--e3); background: none; border: 0; font-family: inherit; color: var(--gris); cursor: pointer; }
.mp-plus-texte { margin-top: var(--e3); padding-top: var(--e4); border-top: 1px solid var(--trait); }
.mp-plus-texte .b-texte { margin-top: var(--e3); color: var(--gris); text-align: center; }
.mp-plus-texte .b-texte:first-child { margin-top: 0; }
/* AUJOURD'HUI / DEMAIN : deux pilules ; celle choisie est cerclee de sa couleur (rouge = aujourd'hui, vert = demain), l'autre grise */
.mp-onglets { display: flex; gap: var(--e2); margin-top: var(--e6); }
.mp-onglet { flex: 1; margin: 0; min-height: 2.75rem; text-align: center; background: var(--fond); color: var(--gris); }
.mp-onglet[aria-pressed="true"] { color: var(--encre); }
.mp-onglet.mp-rouge[aria-pressed="true"] { border-color: var(--rouge); }
.mp-onglet.mp-vert[aria-pressed="true"] { border-color: var(--vert); }
.mp-etat > .b-texte:first-child { margin-top: var(--e5); }
.mp-cycle-cadre { margin-top: var(--e2); }
.mp-cycle-cadre + .b-texte { margin-top: var(--e3); }
/* le cycle : anneau au repos, trait de progression, un point et une etiquette par etape, le nom au centre */
.mp-cycle { display: block; width: 100%; height: auto; overflow: visible; }
.mp-cycle-repos { fill: none; stroke: var(--anneau-repos); stroke-width: 1.6; }
.mp-cycle-trait { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.mp-cycle-rouge .mp-cycle-trait { stroke: var(--rouge); }
.mp-cycle-vert .mp-cycle-trait { stroke: var(--vert); }
.mp-cycle-rouge .mp-cycle-point { fill: var(--rouge); }
.mp-cycle-vert .mp-cycle-point { fill: var(--vert); }
.mp-cycle-etq { font-family: inherit; font-size: .6875rem; font-weight: 500; letter-spacing: .1em; fill: var(--encre); }   /* les petites capitales des cercles du resultat (MODELE.md §2 : 11 px, comme la maquette validee) */
.mp-cycle-centre { font-family: inherit; font-size: 1.05rem; font-weight: 500; letter-spacing: .1em; fill: var(--encre); }   /* 31 oct. (Matylda) : exactement le role du titre au-dessus (.b-titre : taille, graisse 500, espacement) */
@media (min-width: 760px) { .mp-cycle-centre { font-size: 1.15rem; } }   /* comme .b-titre */
@media (min-width: 1100px) { .mp-cycle-centre { font-size: 1.2rem; } }   /* comme les titres centres de la page sur ordinateur (module-sep) */
.mp-cycle-cadre .mp-cycle { max-width: 340px; margin: 0 auto; }   /* le dessin a sa taille (1 unite = 1 px) : le nom au centre a la vraie taille du titre, sur telephone comme sur ordinateur */
@media (prefers-reduced-motion: no-preference) {
  /* un tour de 9 s : chaque etape apparait (1,6 s d'ecart), le trait avance d'un quart, tout reste, puis s'efface et recommence (generer-accueil-protocole.py) */
  .mp-ce0 { animation: mp-ce0 9s ease infinite; } .mp-ce1 { animation: mp-ce1 9s ease infinite; }
  .mp-ce2 { animation: mp-ce2 9s ease infinite; } .mp-ce3 { animation: mp-ce3 9s ease infinite; }
  .mp-cprog { stroke-dasharray: 1; animation: mp-cprog 9s cubic-bezier(.45, 0, .25, 1) infinite; }
  @keyframes mp-ce0 { 0% { opacity: 0 } 5.56%, 88% { opacity: 1 } 95%, 100% { opacity: 0 } }
  @keyframes mp-ce1 { 0%, 17.78% { opacity: 0 } 23.33%, 88% { opacity: 1 } 95%, 100% { opacity: 0 } }
  @keyframes mp-ce2 { 0%, 35.56% { opacity: 0 } 41.11%, 88% { opacity: 1 } 95%, 100% { opacity: 0 } }
  @keyframes mp-ce3 { 0%, 53.33% { opacity: 0 } 58.89%, 88% { opacity: 1 } 95%, 100% { opacity: 0 } }
  @keyframes mp-cprog { 0%, 5% { stroke-dashoffset: 1; opacity: 1 } 16.11%, 22.78% { stroke-dashoffset: .75 } 33.89%, 40.56% { stroke-dashoffset: .5 }
    51.67%, 58.33% { stroke-dashoffset: .25 } 69.44%, 88% { stroke-dashoffset: 0; opacity: 1 } 95%, 100% { stroke-dashoffset: 0; opacity: 0 } }
}
/* les quatre chapitres de vie : la ligne qui s'ouvre (→ / ↓ de la couleur de l'onglet), puis icone, nom et texte, un filet fin entre eux */
.mp-chapitres-titre { display: flex; align-items: center; gap: var(--e2); width: 100%; min-height: 2.75rem; margin: var(--e6) 0 0; padding: 0; background: none; border: 0; font-family: inherit; text-align: left; color: var(--encre); cursor: pointer; }
.mp-chapitres-fl { letter-spacing: 0; }
.mp-chapitres-fl.mp-rouge { color: var(--rouge); }
.mp-chapitres-fl.mp-vert { color: var(--vert); }
.mp-chapitres { margin-top: var(--e3); }
.mp-chapitre { display: flex; gap: var(--e4); padding: var(--e4) 0; border-top: 1px solid var(--trait); }
.mp-chapitre:first-child { border-top: 0; }
.mp-chapitre-icone { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; margin-top: 1px; fill: none; stroke: var(--encre); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mp-chapitre-texte .b-appel-avant { margin: 0 0 var(--e1); }
.mp-chapitre-texte .b-texte { margin-top: 0; }
/* QUOI FAIRE : « Je le vis maintenant » sous le fil ; MA ROUTINE : les trois tuiles */
#pageCorps .lecture .mp-vivre { margin-top: var(--e6); }
#pageCorps .lecture .mp-tuiles { margin-top: var(--e5); }
/* JE CONTINUE : trois lignes avec leur fleche (jamais soulignees), puis « Je continue » */
.mp-suites { margin-top: var(--e5); border-top: 1px solid var(--trait); }
.mp-suite { display: flex; align-items: baseline; justify-content: space-between; gap: var(--e3); width: 100%; min-height: 2.75rem; margin: 0; padding: var(--e3) 0; background: none; border: 0; border-bottom: 1px solid var(--trait); font-family: inherit; text-align: left; color: var(--encre); cursor: pointer; text-decoration: none; }
.mp-suite-fl { color: var(--gris); }
#pageCorps .lecture .mp-continuer { margin-top: var(--e6); }
/* MON PROTOCOLE (gratuit, 1er nov.) : la cloture du matin et du soir en deux ecrans, centree ; le repere des 10 jours (le trait des protocoles, sans chiffre, vert le jour 10) */
#pageCorps .mp-cloture { min-height: 62vh; align-items: center; }
#pageCorps .mp-cloture > * { margin: 0; }
#pageCorps .mp-cloture .b-entete-nom { margin-top: var(--e5); text-wrap: balance; }
#pageCorps .mp-cloture .mp-cloture-ligne { margin-top: var(--e3); max-width: 22rem; text-wrap: balance; }
#pageCorps .mp-cloture .mp-cloture-sur { margin-top: var(--e5); }
#pageCorps .mp-cloture .mp-cloture-phrase { margin-top: var(--e3); }
#pageCorps .mp-cloture .b-lien { margin-top: var(--e5); }
#pageCorps .mp-cloture .b-indication { margin-top: var(--e4); }
.mp-repere { position: relative; width: calc(var(--e6) + var(--e6)); height: 2px; margin-top: var(--e4) !important; background: var(--trait); border-radius: 999px; overflow: hidden; }
.mp-repere > i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--encre); border-radius: inherit; }
.mp-repere.fait > i { background: var(--vert); }
.mp-emporte { display: grid; gap: var(--e2); margin-top: var(--e4) !important; }
.mp-emporte-ligne { display: flex; align-items: baseline; justify-content: center; gap: var(--e3); margin: 0; }
.mp-emporte-ligne > * { margin: 0 !important; }
/* le soir : le regard choisi ce matin, en haut de la page */
/* MON PROTOCOLE (gratuit) : l'en-tete des routines, l'icone au-dessus et le nom du jour dessous, a gauche ; l'icone remonte un peu (Matylda, 1er nov.) */
/* le modele : l'en-tete des pages « En savoir plus » (#pageCorps.page-savoir .b-section-intro .b-entete : icone 2,75 rem au-dessus, a gauche, puis le texte,
   marge --e4 dessous) ; un seul ecart, demande par Matylda : --e5 entre l'icone et le texte. Le sous-titre vient juste sous le nom du jour. */
#pageCorps .b-entete.b-entete-empile { flex-direction: column; align-items: flex-start; gap: var(--e5); margin: calc(-1 * var(--e3)) 0 var(--e4); }
#pageCorps .b-entete.b-entete-empile .b-entete-icone { flex: 0 0 auto; width: 2.75rem; height: auto; }
#pageCorps .b-entete.b-entete-empile .b-entete-texte { flex: none; }
#pageCorps .b-entete.b-entete-empile + .b-sous { margin-top: 0; }
/* les quatre espaces en 2 × 2 (« Où je l'ai senti »), jamais 3 + 1 */
.journal-choix.journal-choix-deux { display: grid; grid-template-columns: repeat(2, max-content); }
.mp-fil { margin-top: var(--e4); padding: var(--e5) var(--e4); border-radius: var(--r-carte); border: 1px solid var(--trait); background: var(--fond); text-align: center; }   /* blanc, un fin trait (Matylda, 1er nov.) */
.mp-fil > p { margin: 0; }
.mp-fil > p + p, .mp-fil > p + .mp-jetons { margin-top: var(--e3); }
/* les jetons « J'emporte dans ma journee » : trois ronds de la famille des routines, l'etiquette petite, la reponse dessous en gras */
.mp-jetons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--e3); width: 100%; margin-top: var(--e4) !important; align-items: start; }
.mp-jeton { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.mp-jeton-rond { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--carte-routines); color: var(--encre); }
.mp-jeton-rond svg { width: 55%; height: 55%; display: block; }
.mp-jeton-geste svg { width: auto; height: 68%; }
.mp-jeton-nom { margin-top: var(--e3) !important; white-space: nowrap; }
.mp-jeton-valeur { margin-top: var(--e1) !important; text-wrap: balance; overflow-wrap: anywhere; }
.mp-jetons-petits { margin-top: var(--e4) !important; }   /* plus de blanc sous « CE MATIN, J’AI CHOISI » (Matylda, 1er nov.) */
.mp-jetons-petits .mp-jeton-rond { width: 2.75rem; height: 2.75rem; }
/* le soir (version C, 1er nov.) : ecran 1, la lune dans un jeton beige ; ecran 2, la phrase en gras courant, puis la tuile beige de demain (texte centre sur la hauteur, avec le soleil) */
#pageCorps .mp-cloture .mp-jeton-lune { width: 3.4rem; height: 3.4rem; margin-bottom: var(--e4); }
#pageCorps .mp-cloture .mp-jeton-lune svg { width: 55%; height: 55%; }
#pageCorps .mp-cloture .mp-cloture-mantra { margin-top: var(--e5); max-width: 22rem; text-wrap: balance; }   /* role .b-appel-titre (1,6 rem, 600), un cran sous le mot de l'ecran 1 */
/* le soir, « Ma roue » : le bouton tout de suite sous le titre, l'explication dessous (une indication, a --e4) */
#pageCorps .lecture .mp-roue-soir .b-vivre { margin-top: var(--e4); }
#pageCorps .mp-roue-soir .b-indication { margin-top: var(--e4); text-align: center; }
#pageCorps .mp-cloture .mp-tuile-demain { width: 100%; margin-top: var(--e6); flex-direction: row; align-items: center; gap: var(--e4); text-align: left; cursor: default; }
#pageCorps .mp-cloture .mp-tuile-demain .b-tuile-icone { flex: 0 0 var(--e6); width: var(--e6); }
#pageCorps .mp-cloture .mp-tuile-demain .b-tuile-texte { justify-content: center; }
#pageCorps .mp-cloture .mp-tuile-demain + .b-lien { margin-top: var(--e6); }
/* LA FIN DU JOUR 10 (version B, planche fin-10-jours, validee par Matylda le 1er nov.) : ecran 1, l'anneau des dix jours ; ecran 2, ce que j'ai appris.
   Les traits et les etiquettes sont ceux du cycle (.mp-cycle-*) ; aucune taille nouvelle. */
#pageCorps .mp-cloture .mp-dix-cadre { width: 100%; margin-top: var(--e3); }
#pageCorps .mp-cloture.mp-fin10 .b-entete-nom { margin-top: var(--e4); }
.mp-dix { max-width: 340px; }
.mp-duo { display: flex; align-items: flex-start; justify-content: center; gap: var(--e4); margin-top: var(--e4) !important; }
.mp-duo-un { display: flex; flex-direction: column; align-items: center; width: 8.5rem; text-align: center; }
.mp-duo-un .mp-duo-etq { margin: var(--e2) 0 0; }
.mp-duo-un .mp-duo-nom { margin-top: var(--e1); }
.mp-petit-cycle { width: 3.4rem; height: 3.4rem; overflow: visible; }
.mp-duo-fl { color: var(--gris); margin-top: 1.2rem; }   /* au milieu du petit cycle (3,4 rem) */
#pageCorps .mp-cloture .mp-temps { display: flex; flex-direction: column; gap: var(--e2); width: 100%; max-width: 19rem; margin-top: var(--e3); text-align: left; }
.mp-temps-ligne { display: flex; gap: var(--e3); align-items: flex-start; }
.mp-temps-point { flex: 0 0 .625rem; height: .625rem; margin-top: .3rem; border-radius: 50%; }
.mp-temps-ligne p { margin: 0; }
#pageCorps .mp-cloture .mp-temps .mp-temps-jours { margin-top: 2px; text-align: left; }
#pageCorps .mp-cloture .mp-fin10-phrase { margin-top: var(--e3); max-width: 22rem; text-wrap: balance; }
#pageCorps .mp-cloture.mp-fin10 .b-lien { margin-top: var(--e3); }
/* JE CONTINUE (version 1, validee le 1er nov.) : sous la capacite (le titre), mes anneaux, celui de mon mecanisme en vert : le protocole est fait */
.mp-continuer-tete { display: flex; justify-content: center; }
.mp-anneaux-vert .mp-anneau-arc.dominant { stroke: var(--vert); }
.mp-continuer-quoi { margin-top: var(--e5); text-align: center; }
.mp-continuer-quoi .b-texte { margin: 0; }
.mp-continuer-quoi .b-lien { margin-top: var(--e3); }
/* JE CONTINUE > ALLER PLUS LOIN : le design valide du gratuit (maquette aller-plus-loin-melange.html, 29 oct.) ; les textes prennent les roles de l'app
   (.b-appel-avant, .b-texte, .b-soustitre, .b-tuile-detail) ; .mp-apl-h = le role du titre de partie (1,2 rem, 500, comme #pageCorps.module-sep … > .b-titre), sans espacement */
.mp-apl { margin-top: var(--e4); }
.mp-apl-bloc { margin-top: var(--e4); padding: var(--e5) var(--e4); border-radius: var(--r-carte); }
.mp-apl-bloc p { margin: 0; }
.mp-apl-bloc .b-appel-avant { margin: 0; }
.mp-apl-h { margin-top: var(--e2) !important; font-size: 1.2rem; font-weight: 500; line-height: 1.3; color: inherit; }
.mp-apl-p { margin-top: var(--e2) !important; color: inherit; }
.mp-apl-blanc { background: var(--fond); border: 1px solid var(--trait); text-align: center; }
.mp-apl-roue { display: block; width: 96px; height: 96px; margin: 0 auto var(--e4); color: var(--encre); }
.mp-apl-fonce { background: var(--carte-exploration); color: var(--fond); }
.mp-apl-fonce .mp-apl-niv, .mp-apl-fonce .mp-apl-bientot { color: color-mix(in srgb, var(--fond) 70%, var(--carte-exploration)); }
.mp-apl-fonce .mp-apl-sous { margin-top: 2px !important; color: color-mix(in srgb, var(--fond) 85%, var(--carte-exploration)); }
.mp-apl-ligne { display: flex; justify-content: space-between; align-items: baseline; gap: var(--e3); margin-top: var(--e4); padding-top: var(--e3); border-top: 1px solid color-mix(in srgb, var(--fond) 18%, transparent); }
.mp-apl-ligne .b-soustitre, .mp-apl-ligne .b-appel-avant { margin: 0; color: inherit; }
.mp-apl-ligne .mp-apl-bientot { white-space: nowrap; }
.mp-apl-pied { margin-top: var(--e5); display: flex; flex-direction: column; align-items: center; gap: var(--e2); text-align: center; }
.mp-apl-fonce .offre-retirer, .mp-apl-fonce .offre-merci { color: color-mix(in srgb, var(--fond) 80%, var(--carte-exploration)); }
.mp-apl-creme { background: var(--carte-routines); }
.mp-apl-offre { display: grid; grid-template-columns: 40px 1fr; gap: var(--e1) var(--e4); margin-top: var(--e4); padding-top: var(--e4); border-top: 1px solid var(--trait); }
.mp-apl-dessin { width: 40px; height: 40px; color: var(--encre); }
.mp-apl-offre .b-soustitre { margin: 0; }
.mp-apl-offre .mp-apl-format { margin-top: var(--e2) !important; }
.mp-apl .mp-apl-lien { display: inline-flex; align-items: center; gap: var(--e2); margin-top: var(--e3); }
.mp-apl-creme .mp-apl-lien { background: var(--fond); border-color: var(--fond); }
.mp-apl-blanc .mp-apl-lien { margin-top: var(--e4); }
.mp-apl-fleche::after { content: "→"; color: var(--gris); }
.mp-apl-contact { margin-top: var(--e5); padding-top: var(--e4); border-top: 1px solid var(--trait); text-align: center; }
.mp-apl-enveloppe { width: 1.1rem; height: 1.1rem; }
@media (min-width: 1100px) {
  .mp-apl-deux { display: grid; grid-template-columns: 1fr 1fr; gap: var(--e4); align-items: stretch; }
  .mp-apl-deux .mp-apl-blanc { display: flex; flex-direction: column; justify-content: center; }
  .mp-apl-offres { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--e5); }
}
/* la poignee : « MON PROTOCOLE → » sur une ligne, un peu plus petit que « RÉALITÉ → » (MODELE.md §1, accord de Matylda du 30 oct.) ; le nom du profil en gras */
#menuModule .mp-menu-titre { font-size: 1.03rem; letter-spacing: .26em; white-space: nowrap; }
#menuModule .mp-menu-profil .nom { font-weight: 600; }
.mp-cycle-cadre .mp-cycle { max-width: 21.375rem; margin: 0 auto; }   /* sur ordinateur, le cycle garde sa taille du telephone (342 px = la colonne de 390 moins les marges) */

/* LA ROUE DE FIN (fin des chemins gratuits, 1er nov. 2026, Matylda, a valider) : la roue des chemins de RÉALITÉ en trois temps (capsule.js > roueQuatreChemin).
   1. (0 s) l'espace de depart seul : les trois autres gris, ses deux cotes rouges, son signe ;
   2. (2,8 s) le signe et le rouge s'en vont, les trois fleches vertes vont vers le corps, ses deux cotes deviennent verts (son nom reste noir) ;
   3. (5,4 s) ces fleches s'effacent, la fleche droite va du corps au centre, le moyeu noir devient vert et respire (halo de fin-respire).
   Sans animation : l'image finale (le corps vert, la fleche vers le centre, le moyeu vert). */
.protocole[data-mise="fin-niveau"] .roue-fin { display: block; width: min(100%, calc(var(--visuel) * 1.2)); margin: var(--e3) auto var(--e4); }
.roue-fin svg { display: block; width: 100%; height: auto; color: var(--encre); }
.roue-fin-lien { cursor: pointer; -webkit-tap-highlight-color: transparent; }
#detailZone.accent[data-mise="fin-niveau"][data-roue-fin] .protocole-interieur { padding-top: calc(var(--haut) + var(--e4) + var(--e6)); }   /* la roue est l'image, au centre de l'ecran ; « Magnifique. » et sa phrase juste au-dessus */
.roue-chemin-cote-depart { stroke: var(--chemin, var(--rouge)); stroke-width: 5; opacity: 0; }
.roue-chemin-cote-vers { stroke: var(--vert); stroke-width: 5; }
.roue-chemin-signe { opacity: 0; }
.roue-chemin-fleche.temps-2 { opacity: 0; }
.roue-fin .roue-chemin-moyeu { fill: var(--vert); }
@media (prefers-reduced-motion: no-preference) {
  .roue-fin text.roue-chemin-gris { animation: rc-degrise .6s ease 2.8s both; }
  .roue-chemin-cote-depart { animation: rc-cote-depart 3.2s ease forwards; }
  .roue-chemin-signe { animation: rc-signe 3.2s ease forwards; }
  .roue-chemin-cote-vers { opacity: 0; animation: rc-apparait .6s ease 4.2s forwards; }
  .roue-chemin-fleche.temps-2 { opacity: 1; animation: rc-efface .5s ease 5.4s forwards; }
  .temps-2 .roue-chemin-tige { stroke-dasharray: 1; stroke-dashoffset: 1; animation: roue-chemin-tige 1.2s cubic-bezier(.45, 0, .25, 1) 3s forwards; }
  .temps-2 .roue-chemin-tete { opacity: 0; animation: rc-apparait .3s ease 4s forwards; }
  .temps-3 .roue-chemin-tige { stroke-dasharray: 1; stroke-dashoffset: 1; animation: roue-chemin-tige .8s cubic-bezier(.45, 0, .25, 1) 5.7s forwards; }
  .temps-3 .roue-chemin-tete { opacity: 0; animation: rc-apparait .3s ease 6.4s forwards; }
  .roue-fin .roue-chemin-moyeu { fill: var(--encre); animation: roue-chemin-moyeu .9s ease 6.6s forwards; }
  .roue-chemin-halo { transform-box: fill-box; transform-origin: center; opacity: 0; animation: rc-apparait .9s ease 6.9s forwards, rc-halo-pres 3.4s ease-in-out 6.9s infinite; }
  .roue-chemin-halo.loin { animation-name: rc-apparait, rc-halo-loin; }
}
@media (prefers-reduced-motion: reduce) { .roue-chemin-fleche.temps-2 { display: none; } }
@keyframes roue-chemin-tige { to { stroke-dashoffset: 0; } }
@keyframes rc-apparait { to { opacity: 1; } }
@keyframes rc-efface { to { opacity: 0; } }
@keyframes rc-degrise { from { opacity: .22; } to { opacity: 1; } }
@keyframes rc-cote-depart { 0% { opacity: 0; } 12%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes rc-signe { 0% { opacity: 0; } 12%, 85% { opacity: 1; } 100% { opacity: 0; } }
@keyframes roue-chemin-moyeu { to { fill: var(--vert); } }
@keyframes rc-halo-pres { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.12); } }   /* le meme souffle que fin-respire : l'anneau proche s'ouvre, */
@keyframes rc-halo-loin { 0%, 100% { transform: scale(1); fill-opacity: .07; } 50% { transform: scale(1.25); fill-opacity: .03; } }   /* l'anneau lointain s'ouvre et palit */

/* LES ROUES DES PAGES « JE COMPRENDS » (1er nov. 2026, a valider) : capsule.js > blocs roueImpact, roueFin, roueVerte. La roue des chemins de RÉALITÉ, a la largeur
   des roues des pages (21rem), puis ses phrases : le signe de l'etat (ou le point vert), le nom de l'espace, sa phrase. Les animations se jouent quand la page s'ouvre. */
.b-roue-page { display: flex; flex-direction: column; align-items: center; width: 100%; }
.b-roue-page-roue { width: 100%; max-width: 21rem; margin: 0 auto; }
.b-roue-page-roue svg { display: block; width: 100%; height: auto; color: var(--encre); }
.b-roue-page-liste { list-style: none; margin: var(--e5) auto 0; padding: 0; width: 100%; max-width: 34rem; display: grid; gap: var(--e4); }
.b-roue-page-liste li { display: grid; grid-template-columns: var(--e5) 1fr; gap: var(--e3); align-items: start; }
.b-roue-page-marque { display: flex; justify-content: center; padding-top: .15rem; }
.b-roue-page-marque .signe-etat { width: var(--e4); height: var(--e4); }
.b-roue-page-point { width: var(--e3); height: var(--e3); margin-top: .3rem; border-radius: 50%; background: var(--vert); }
.b-roue-page-liste .b-liste-texte { display: grid; gap: var(--e1); }
.b-roue-page-liste .b-liste-texte b { font-weight: 500; letter-spacing: .12em; }
.b-roueVerte .roue-chemin-moyeu { fill: var(--vert); }
.b-roue-attend * { animation-play-state: paused !important; }   /* capsule.js : la roue s'anime quand elle arrive a l'ecran */
@media (prefers-reduced-motion: no-preference) {
  .b-roueImpact .roue-impact-espace { opacity: 0; animation: rc-apparait .7s ease calc(.5s + var(--i) * 1.1s) forwards; }
  .roue-verte-halo { transform-box: fill-box; transform-origin: center; animation: rc-halo-pres 3.4s ease-in-out infinite; }
  .roue-verte-halo.loin { animation-name: rc-halo-loin; }
}

/* pieces du resultat du diagnostic dans les pages « Je comprends » (1er nov., a valider) */
.b-roue-scan { width: 100%; max-width: 34rem; margin: var(--e5) auto 0; }
.b-roue-scan .diag-scan-nom { display: flex; align-items: center; gap: var(--e2); }
.b-roue-scan .signe-etat { width: var(--e4); height: var(--e4); }
.b-roue-pli { width: 100%; max-width: 34rem; margin: var(--e4) auto 0; }
.b-roue-pli .b-roue-scan { margin-top: var(--e3); }
.b-avant-apres, .b-capacite { max-width: 34rem; margin-left: auto; margin-right: auto; }

/* AUJOURD'HUI / DEMAIN et AVANT → MAINTENANT (pages « Je comprends », 1er nov., a valider) : les onglets et les petits cercles du resultat du diagnostic (MON PROTOCOLE, mp-onglets, fin des dix jours) */
.b-bascule { width: 100%; max-width: 34rem; margin: var(--e5) auto 0; }
.b-bascule-onglets { display: flex; gap: var(--e2); margin-bottom: var(--e5); }
.b-bascule-onglet { flex: 1; margin: 0; min-height: 2.75rem; text-align: center; background: var(--fond); color: var(--gris); }
.b-bascule-onglet[aria-pressed="true"] { color: var(--encre); }
.b-bascule-rouge[aria-pressed="true"] { border-color: var(--rouge); }
.b-bascule-bleu[aria-pressed="true"] { border-color: var(--bleu); }
.b-bascule-vert[aria-pressed="true"] { border-color: var(--vert); }
.b-avant-maintenant { display: flex; align-items: flex-start; justify-content: center; gap: var(--e4); margin: 0 auto var(--e4); }
.b-am-cote { display: flex; flex-direction: column; align-items: center; width: 8rem; text-align: center; }
.b-am-cercle { width: var(--e6); height: var(--e6); margin-bottom: var(--e2); }
.b-am-sur { margin: 0; font-size: .7rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); }
.b-am-nom { margin: var(--e1) 0 0; font-size: .8125rem; font-weight: 500; letter-spacing: .1em; color: var(--encre); }
.b-am-fleche { margin-top: var(--e4); color: var(--gris); }

.b-capacite.b-creme { background: var(--carte-routines); }

/* EN ARRIÈRE-PLAN (pages « Je comprends », 1er nov., a valider) : le schema des cartes d'offre en trois points, de l'air autour (--e6 dessous) */
.b-arriere-plan { width: 100%; max-width: 34rem; margin: var(--e5) auto var(--e6); padding: var(--e5) var(--e4); border-radius: var(--r-carte); background: var(--carte-routines); text-align: center; }
.b-ap-titre { margin-bottom: var(--e4); }
.b-ap-trait { display: block; width: 100%; height: auto; color: var(--vert); }
.b-ap-pointille { stroke: var(--gris); stroke-width: 1.2; stroke-dasharray: 2 5; }
.b-ap-vide { fill: var(--carte-routines); stroke: var(--gris); stroke-width: 1.2; }
.b-ap-plein { fill: var(--vert); }
.b-ap-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--e3); margin-top: var(--e3); }
.b-ap-sur { margin: 0 0 var(--e1); font-size: .7rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); text-transform: uppercase; }
.b-ap-texte { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--encre); }
.b-ap-etape.fort .b-ap-sur { color: var(--vert); }
.b-ap-fin { margin: var(--e5) 0 0; font-size: .95rem; font-weight: 400; line-height: 1.6; text-wrap: balance; }

/* les cartes d'offre allegees (pages « Je comprends », 1er nov.) : « En savoir plus + » sous les puces, centre, a la couleur de la carte */
.offre .offre-plus { margin-top: var(--e4); text-align: center; }
.offre .offre-plus summary { color: inherit; opacity: .75; }
.offre .offre-plus .offre-texte { margin-top: var(--e3) !important; }

/* MES RAPPELS : « J'active les rappels sur ce téléphone » en rouge, plein (1er nov. 2026, Matylda : on ne le voyait pas) ; le seul bouton rouge de l'app */
.rappel-telephone .b-lien.rappel-activer { background: var(--rouge); border-color: var(--rouge); color: var(--fond); font-weight: 500; }
.rappel-telephone .b-lien.rappel-activer::after { color: var(--fond); }

/* des nuages plus bas quand il y en a 5 ou 6 avec la zone d'ecriture (ÉNERGIE gratuit, 1er nov. 2026) : tout tient au-dessus de la barre du bas */
#detailZone .nomination-serree { gap: var(--e1); }
#detailZone .nomination-serree .nom-option { padding-top: var(--e1); padding-bottom: var(--e1); min-height: 2.75rem; }
#detailZone .nomination-serree + .champ-etape { margin-top: var(--e3); }

/* MES RAPPELS : une pilule de rappel qui n'arrivera pas encore (telephone pas active, ou notifications bloquees) : grise, jamais « Activé » (1er nov. 2026, audit B1) */
.interrupteur-pilule.en-attente { color: var(--gris); border-color: var(--trait); }
.rappel-telephone:not(:empty) { margin-bottom: var(--e5); }

/* des nuages avec une zone d'ecriture dessous (« De quoi j'ai vraiment peur ? », « Qu'est-ce que je repousse ? »…) : la meme largeur que la zone d'ecriture,
   l'espacement habituel des nuages (1er nov. 2026, Matylda) */
#detailZone .nomination:has(+ .champ-etape) { width: 100%; max-width: 21rem; margin-left: auto; margin-right: auto; }
#detailZone .nomination:has(+ .champ-etape) .nom-option { width: 100%; max-width: none; }
/* LES MANTRAS (« Je suis tel que je suis, et c'est suffisant. », « Ici et maintenant, tout va bien. »…) : plus presents, au role de la phrase a dire
   (.phrase-centre, 1,3125 rem), sur deux lignes equilibrees s'il le faut, dans tous les protocoles (1er nov. 2026, Matylda : « on a l'impression que c'est juste un titre ») */
#detailZone.centre #detailTitre.une-ligne { font-size: 1.3125rem; line-height: 1.45; text-wrap: balance; }

/* L'ENTREE LEGERE (1er nov. 2026, Matylda) : langue, email, code, prenom, installation. La marque et le titre restent a la meme hauteur
   d'un ecran a l'autre (le contenu part du haut au lieu d'etre centre : plus de saut), peu de texte, l'aide repliee, aucun lien souligne */
.plein.entree { place-items: start center; padding-top: calc(var(--e7) + var(--e5)); }
.entree .titre { margin-bottom: var(--e2); }
.entree .sous { margin: 0 auto var(--e5); }
.entree :is(#etapeLangue, #etapeEmail) { margin-top: var(--e5); }
.langue-entree { flex-direction: column; gap: var(--e3); margin: 0; }
.langue-entree button, .langue-entree button[aria-pressed] { width: 100%; padding: .95rem 1rem; color: var(--encre); border-color: var(--trait); font-size: .9375rem; }
.entree-pied { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--e2) var(--e5); margin: var(--e5) 0 0; }
.entree .lien-discret, .entree .connexion-contact a { text-decoration: none; }
.entree .connexion-contact a { color: var(--encre); }
#aideCode .b-indication { margin-top: var(--e5); }
#aideCode .entree-pied { margin-top: var(--e4); }
.entree .message:empty { min-height: 0; }
/* les etapes d'installation : un dessin du geste devant chaque phrase, au lieu des numeros */
.entree ol { list-style: none; padding: 0; display: grid; gap: var(--e4); margin-top: var(--e5); }
.entree ol li { display: flex; align-items: center; gap: var(--e3); line-height: 1.5; }
.entree ol li svg { flex: none; width: 1.75rem; height: 1.75rem; color: var(--encre); }
.entree .connexion-contact span { display: block; }
@media (min-width: 1100px) { .plein.entree { padding-top: calc(var(--e7) * 2); } }   /* ordinateur : le meme ecran, un peu plus bas dans la fenetre */

/* LA PAGE DE LANGUE DE L'ENTREE (1er nov., demande de Matylda) : tant que la personne n'a pas choisi, la langue du telephone est preselectionnee,
   et cela se voit : le trait de la pilule passe a l'encre, comme le choix fait de .langue-choix ; le texte en graisse d'etiquette (500) */
.langue-entree button[aria-pressed="true"] { border-color: var(--encre); font-weight: 500; }
/* N8 (relecture du 1er nov.) : l'ecran d'entree (#connexion, classes « plein entree ») recevait aussi l'ancienne regle « .entree » (les cartes d'entree, haut du fichier) :
   son trait gris arrondi longeait tout l'ecran. Seul l'ecran plein est corrige ; l'ancienne regle ne change pas pour ses autres usages */
.plein.entree { border: 0; border-radius: 0; }
/* N7 : sur ordinateur, les tuiles de MA ROUTINE (MON PROTOCOLE, gratuit) restent dans la colonne de texte, l'une sous l'autre, a la meme largeur */
@media (min-width: 1100px) { #pageCorps .b-tuiles-impair.mp-tuiles { grid-template-columns: minmax(0, 1fr); width: 100%; max-width: 100%; } }
/* SUR MES AUTRES APPAREILS (MON COMPTE, version gratuite, 1er nov. 2026) : les memes gestes dessines que l'invitation a installer */
.appareils ol { list-style: none; padding: 0; display: grid; gap: var(--e3); margin: var(--e3) 0 var(--e2); text-align: left; }
.appareils ol li { display: flex; align-items: center; gap: var(--e3); font-size: .88rem; line-height: 1.5; }
.appareils ol li svg { flex: none; width: 1.75rem; height: 1.75rem; color: var(--encre); }
.appareils .hub-rubrique { margin-top: var(--e5); }
.appareils > .porte-actions { margin-top: var(--e4); }

/* ============ LA ROUE « RÉALITÉ | OS » (2 nov. 2026, Matylda) ============
   « j'écris → » : un lien discret sous la phrase du centre (le gris habituel, jamais souligné) ; le sélecteur : une pilule fine à deux moitiés, seule, en bas.
   Espacements : seulement --e1 a --e7. */
#roue .lien-roue { display: block; margin: var(--e3) auto 0; padding: var(--e2) var(--e3); min-height: 2.75rem; background: none; border: 0; font: inherit; font-size: .82rem; font-weight: 300; color: var(--gris); cursor: pointer; }
#roueVues { display: flex; width: max-content; margin: var(--e3) auto var(--e2); padding: 3px; border: 1px solid var(--trait); border-radius: 999px; background: var(--fond); }
#roueVues button { min-height: 2.5rem; padding: 0 var(--e4); background: none; border: 0; border-radius: 999px; font: inherit; font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); cursor: pointer; }
#roueVues button[aria-pressed="true"] { background: var(--encre); color: var(--fond); }
#roue.a-vues .lien-roue { display: none; }   /* avec le selecteur, l'ecran reste leger : « j'écris » est dans MON ESPACE */
#roueEtape { height: 0; margin: calc(var(--e1) - 2.2rem) 0 calc(2.2rem - var(--e1)); overflow: visible; white-space: nowrap; text-align: center; font-size: .625rem; line-height: 1; font-weight: 400; letter-spacing: .14em; text-transform: uppercase; color: var(--gris); }   /* « FONDATION · PHASE 3 » : tout petit, juste sous la phrase, sans rien deplacer (hauteur 0 : la roue reste au meme niveau que du cote OS) */
#roue.vue-realite .titre { display: flex; justify-content: center; white-space: nowrap; transform: scale(.82); }   /* « PEUR OU CONFIANCE ? » tient sur une ligne ; la boite garde exactement la hauteur du titre habituel (seul le dessin est reduit) : la roue ne bouge pas */
#roue.a-vues .corps > :first-child { margin-top: 0; }   /* pas de centrage vertical : la roue est au meme niveau cote RÉALITÉ et cote OS */
#roue.a-vues .corps > :last-child { margin-bottom: var(--e2); }

/* LE RÉGLAGE DES STATISTIQUES D'USAGE (MON COMPTE, 2 nov. 2026) : les mêmes petites pilules que FR / EN, avec leur propre classe
   (la classe .langue-choix déclenche le changement de langue) */
.mesure-choix { display: flex; justify-content: center; gap: var(--e1); margin: 0; }
.mesure-choix button { min-height: var(--e5); padding: var(--e1) var(--e3); background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; font-family: inherit; font-size: .8125rem; font-weight: 400; color: var(--gris); cursor: pointer; }
.mesure-choix button[aria-pressed="true"] { color: var(--encre); border-color: var(--encre); }
/* « Comment as-tu découvert RÉALITÉ OS ? » (2 nov. 2026) : les réponses en boutons de l'entrée, un peu plus serrés que d'habitude pour tenir dans l'écran */
.provenance-choix { display: grid; gap: var(--e2); }
.provenance-choix .bouton { margin-top: 0; }

/* LE DIAGNOSTIC SANS COMPTE (2 nov. 2026, a valider) : le Diagnostic passe devant l'ecran de l'email, sur toute la hauteur (pas de barre du bas sans compte) */
body.diag-visiteur #diagnostic { z-index: 46; bottom: 0; }
body.roue-visiteur.diag-visiteur #diagnostic { bottom: calc(var(--barre) + var(--bas)); }   /* avec le bandeau du visiteur (7 nov.), le Diagnostic le laisse visible, comme tout panneau */
.diag-visiteur-resultat { display: flex; flex-direction: column; align-items: center; text-align: center; padding-bottom: var(--e6); }
.diag-visiteur-resultat .diag-intro { margin-top: var(--e3); }
.diag-visiteur-resultat .mp-resultat { align-self: stretch; text-align: left; }
.diag-visiteur-carte { align-self: stretch; margin-top: var(--e5); padding: var(--e5) var(--e4); border-radius: var(--r-carte); background: var(--voile); display: flex; flex-direction: column; align-items: center; }
.diag-visiteur-titre { margin: 0; font-size: 1.15rem; font-weight: 500; color: var(--encre); text-wrap: balance; }
.diag-visiteur-texte { margin: var(--e2) 0 0; font-weight: 300; line-height: 1.6; color: var(--encre); text-wrap: balance; }
.diag-visiteur-bouton { margin-top: var(--e4); width: auto; padding-left: var(--e5); padding-right: var(--e5); }
.diag-visiteur-carte .b-indication { margin-top: var(--e4); }
.diag-garde { margin: 0 0 var(--e4); text-wrap: balance; }

/* LA ROUE SANS COMPTE (3 nov. 2026, a valider) : sans session, la roue gratuite s'ouvre a la place de l'ecran de l'email.
   « j'écris → » laisse sa place a « Je me connecte → » (meme lien discret, .lien-roue : le journal est derriere le compte).
   La carte de fin de chemin est la feuille du bas de MON COMPTE (.feuille) avec la carte du Diagnostic sans compte (.diag-visiteur-carte) : aucune nouvelle taille. */
body.roue-visiteur #boutonEcrire { display: none; }
body.roue-visiteur #barre { margin-top: auto; }   /* sans compte (7 nov.), aucun .ecran n'est visible pour pousser le bandeau en bas du flex : il y va tout seul */
/* sans compte, sur ordinateur, la barre du bas est cachee : le protocole descend jusqu'en bas de l'ecran (6 nov. 2026, une bande vide de 72 px restait sous le panneau gauche) */
@media (min-width: 1100px) { body:has(#barre.cache) #detail { bottom: var(--bas); } }
.garder-roue .feuille-corps { text-align: center; }
.garder-roue .diag-visiteur-carte { margin-top: 0; }
.garder-roue .porte-actions .lien-fleche { min-height: 2.75rem; }
/* La carte « Garde ta progression. » (variante A validee par Matylda le 7 nov. 2026) : les benefices en clair sous le titre, le bouton court ;
   les deux liens (« J'ai deja un compte » et « Je continue sans compte ») rapproches l'un de l'autre, un peu plus bas. Aucune nouvelle taille : les benefices heritent du corps. */
.garder-benefices { margin: var(--e3) 0 0; }
.garder-roue .porte-actions { margin-top: var(--e5); }
.garder-roue .porte-actions + .porte-actions { margin-top: var(--e1); }

/* L'ACCUEIL DE L'OS : « Qu'est-ce qui se passe ? » (3 nov. 2026, Matylda ; accueil.js). Une question, un champ, beaucoup d'espace.
   Les roles de texte sont ceux de la roue (#roue .titre pour la question, #roue .sous pour le bonjour) ; le reste : tokens de :root. */
#roue .corps > .accueil-cache { display: none !important; }
/* LES ONGLETS « Chat | Carte » (5 nov. au soir ; retours de Matylda le 6 : blancs et grises facon ChatGPT, plus petits, tout en haut) :
   un bandeau blanc pleine largeur, colle en tete ; l'onglet actif est une petite pilule grisee (--voile), jamais noire */
#accueilOnglets { display: flex; justify-content: center; width: 100%; box-sizing: border-box; padding: var(--e1) 0 var(--e2); background: var(--fond); }
#accueilOnglets .piste { display: flex; background: var(--voile); border-radius: 999px; padding: 3px; }   /* le modele montre par Matylda : piste grise, actif en pilule BLANCHE ombree (ombre = transparence de #000, permise) */
#accueilOnglets button { min-height: 2.25rem; padding: 0 var(--e5); background: none; border: 0; border-radius: 999px; font: inherit; font-size: .8125rem; font-weight: 500; letter-spacing: .01em; color: var(--gris); cursor: pointer; }
#accueilOnglets button[aria-pressed="true"] { background: var(--fond); color: var(--encre); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
#roue .corps > #accueilOnglets { margin-top: calc(var(--e2) - 3.25rem); position: sticky; top: var(--haut); z-index: 4; }   /* remonte dans la bande blanche du haut, collant sous l'encoche */
/* pendant la conversation : RIEN d'autre que le fil (Matylda, 6 nov., 3e passage reel) — ni la barre Chat | Carte, ni le selecteur RÉALITÉ | OS ;
   le rond du centre ramene a la question, ou tout reapparait */
#roue.accueil-reponse #accueilOnglets, #roue.accueil-attente #accueilOnglets, #roue.accueil-merci #accueilOnglets { display: none; }
#roue.a-accueil.accueil-reponse #roueVues, #roue.a-accueil.accueil-attente #roueVues, #roue.a-accueil.accueil-merci #roueVues { display: none; }
/* sur la Carte de la vue OS, plus de « j'écris → » : le chat est l'ecriture du jour (il pose chaque message dans le journal) */
#roue.a-accueil #boutonEcrire { display: none !important; }
/* dans le jour du journal, une note venue du chat s'affiche en bulle, a droite, comme dans le chat (valide par Matylda le 6 nov.) ; les autres notes ne changent pas */
.note-carte.note-chat { display: block; }
.note-carte.note-chat .note-carte-ligne { display: flex; flex-direction: column; align-items: flex-end; gap: var(--e1); }
.note-carte.note-chat .note-carte-nom { font-size: .625rem; letter-spacing: .12em; color: var(--gris); }
.note-carte.note-chat .note-carte-choix-texte { display: inline-block; max-width: 85%; padding: var(--e3) var(--e4); background: var(--voile); border-radius: 1.2rem; border-bottom-right-radius: var(--e1); text-align: left; font-weight: 300; line-height: 1.6; }
.note-carte.note-chat.note-chat-ia .note-carte-ligne { align-items: flex-start; }   /* la reponse de l'IA : bulle claire a gauche, face aux bulles de la personne */
.note-carte.note-chat.note-chat-ia .note-carte-choix-texte { background: var(--fond); border: 1px solid var(--trait); border-bottom-right-radius: 1.2rem; border-bottom-left-radius: var(--e1); }
.note-carte.note-chat.note-chat-ia .note-carte-nom { visibility: hidden; height: 0; }
/* LE MODE ENTRAINEUSE (admin seulement, 6 nov.) : « ✗ Je corrige » sous la derniere reponse, pilules de destination, commentaire */
#accueil .accueil-dressage { display: none; width: 100%; text-align: center; }
#accueil.accueil-dressable .accueil-dressage { display: block; }
#accueil .accueil-dressage-ouvrir { min-height: 2rem; border: 0; background: none; font: inherit; font-size: .75rem; letter-spacing: .06em; color: var(--gris); cursor: pointer; }
#accueil .accueil-dressage-form { display: none; }
#accueil.accueil-dressage-ouverte .accueil-dressage-form { display: grid; gap: var(--e3); justify-items: center; padding: var(--e3) 0; }
#accueil .accueil-dressage-types { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--e1); }   /* 8 nov. : sur telephone, les 4 croix passent a la ligne au lieu de deborder */
#accueil .accueil-dressage-types button { min-height: 2rem; padding: 0 var(--e4); background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; font: inherit; font-size: .75rem; font-weight: 500; letter-spacing: .04em; color: var(--gris); cursor: pointer; }
#accueil .accueil-dressage-types button[aria-pressed="true"] { background: var(--voile); color: var(--encre); border-color: var(--encre); }
#accueil .accueil-dressage-dest { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--e1); max-width: 34rem; }
#accueil .accueil-dressage-dest button { min-height: 2rem; padding: 0 var(--e3); background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; font: inherit; font-size: .6875rem; letter-spacing: .04em; color: var(--gris); cursor: pointer; }
#accueil .accueil-dressage-dest button[aria-pressed="true"] { background: var(--voile); color: var(--encre); border-color: var(--encre); }
#accueil .accueil-dressage-form textarea { width: 100%; max-width: 34rem; box-sizing: border-box; padding: var(--e3) var(--e4); background: var(--voile); border: 0; border-radius: 1.2rem; resize: none; font: inherit; font-size: .95rem; font-weight: 300; outline: none; }
#accueil .accueil-dressage-save { width: auto; padding-left: var(--e5); padding-right: var(--e5); }   /* tout en haut ; le bandeau couvre le texte qui defile dessous ; jamais happe par le centrage :first-child (3630) */
#roue .corps > #accueil { width: 100%; }
/* le selecteur RÉALITÉ | OS (comptes payants) : UNE SEULE position dans les trois etats (vue RÉALITÉ, OS-chat, OS-carte) : sorti du flux, ancre au panneau */
#roue.a-vues #roueVues { position: absolute; left: 50%; bottom: 33px; transform: translateX(-50%); margin: 0; z-index: 3; }
#roue.a-vues .corps { padding-bottom: calc(33px + 3.2rem + var(--e3)); }
#roue.a-vues.a-accueil .accueil-champ-suite { bottom: calc(var(--barre) + var(--bas) + 33px + 3.2rem + var(--e3)); }   /* et au-dessus du selecteur RÉALITÉ | OS pour le payant */
#roue.accueil-roue .corps > #accueil { display: contents; }
/* en vue Carte, les onglets portent le sens : le titre « ÇA NE VA PAS ? » et sa ligne laissent leur place a la roue (arbitrage du 5 nov., a montrer a Matylda) */
#roue.a-accueil.accueil-roue .corps > .titre, #roue.a-accueil.accueil-roue .corps > .sous { display: none; }
/* les onglets puis l'accueil precedent le titre : le voisin de l'accueil reprend le role de :first-child (3630 : centrage ; 4955 : meme niveau RÉALITÉ|OS) */
#roue .corps > #accueil + * { margin-top: auto; }
#roue.a-vues .corps > #accueil + * { margin-top: 0; }   /* en etat roue, le bloc (vide ou presque) ne pese plus sur la mise en page : la roue OS reste au meme niveau que la roue RÉALITÉ */   /* ceinture posee par accueil.js, quel que soit l'etat */
#roue.accueil-question .corps > :not(#accueil):not(#roueVues):not(#accueilOnglets), #roue.accueil-merci .corps > :not(#accueil):not(#roueVues):not(#accueilOnglets),
#roue.accueil-reponse .corps > :not(#accueil):not(#roueVues):not(#accueilOnglets) { display: none !important; }
#roue.accueil-roue .accueil-question, #roue.accueil-merci .accueil-question, #roue.accueil-reponse .accueil-question,
#roue:not(.accueil-merci) .accueil-merci, #roue:not(.accueil-reponse) .accueil-eclairage, #roue:not(.accueil-attente) .accueil-champ .accueil-attente { display: none; }
/* V1 IA (5 nov. 2026) : l'attente (trois points sous le champ), puis l'eclairage (la reponse, « Revenir au centre », la petite ligne grise) */
#accueil .accueil-champ .accueil-attente { display: flex; justify-content: center; gap: var(--e2); padding: var(--e2) 0 var(--e1); }
#accueil .accueil-attente span { width: .4rem; height: .4rem; border-radius: 50%; background: var(--gris); opacity: .35; animation: accueil-point 1.2s ease-in-out infinite; }
#accueil .accueil-attente span:nth-child(2) { animation-delay: .2s; }
#accueil .accueil-attente span:nth-child(3) { animation-delay: .4s; }
@keyframes accueil-point { 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { #accueil .accueil-attente span { animation: none; opacity: .7; } }
#roue.accueil-attente .accueil-envoi { opacity: .45; pointer-events: none; }
/* l'effet chat (retours de Matylda, 5 nov.) : le fil (bulles a droite, reponses aerees avec du gras), le bouton quand c'est fini, la barre pour relancer */
#accueil .accueil-eclairage { min-height: calc(100dvh - var(--barre) - var(--haut) - var(--bas) - var(--e7)); display: grid; align-content: start; justify-items: center; gap: var(--e3); width: 100%; max-width: 34rem; margin: 0 auto; padding-top: var(--e5); }
#accueil .accueil-fil { display: grid; gap: var(--e5); width: 100%; justify-items: start; }
#accueil .accueil-moi { margin: 0; justify-self: end; max-width: 85%; padding: var(--e3) var(--e4); background: var(--voile); border-radius: 1.2rem; border-bottom-right-radius: var(--e1); font-size: .95rem; font-weight: 300; line-height: 1.6; text-align: left; }
#accueil .accueil-eclairage-texte { width: 100%; }
#accueil .accueil-eclairage-texte p { margin: 0 0 var(--e4); font-size: .95rem; font-weight: 300; line-height: 1.85; text-align: left; }
#accueil .accueil-eclairage-texte p:last-child { margin-bottom: 0; }
#accueil .accueil-eclairage-texte strong { font-weight: 500; }
#accueil .accueil-fil .accueil-attente { display: flex; gap: var(--e2); padding: var(--e2) 0; }
/* les deux actions (decision UX du 5 nov.) : deux vraies pilules juste sous la derniere reponse, principale a droite (ou dessus en pile) ; aucun champ permanent */
#accueil .accueil-fin { display: none; grid-template-columns: 1fr 1fr; gap: var(--e2); width: 100%; animation: accueil-apparait .4s ease both; }
#accueil.accueil-fini .accueil-fin { display: grid; }
#accueil .accueil-fin .bouton { width: 100%; box-sizing: border-box; margin: 0; white-space: normal; text-wrap: balance; line-height: 1.3; }
#accueil .accueil-discuter { color: var(--gris); }   /* la secondaire, a gauche : contour fin (--trait), en retrait */
#accueil .accueil-cta { border-color: var(--encre); font-weight: 500; }   /* la principale, a droite : liseree encre (jamais de bouton noir) */
@media (max-width: 479.9px) { #accueil .accueil-fin .bouton { font-size: .8125rem; padding-left: var(--e2); padding-right: var(--e2); } }   /* une seule ligne meme sur telephone : libelles reduits, retour a la ligne permis */
/* le champ de relance n'existe qu'apres « Continuer a discuter » : ANCRE A L'ECRAN, toujours AU-DESSUS de la barre du bas (retour de Matylda, 6 nov.) */
#accueil .accueil-champ-suite { display: none; }
#accueil.accueil-ecrire .accueil-champ-suite { display: block; position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--barre) + var(--bas) + var(--e3)); width: min(100% - 32px, 34rem); z-index: 6; animation: accueil-apparait .3s ease both; box-shadow: 0 0 0 6px var(--fond); }
#accueil.accueil-ecrire .accueil-fin { display: none; }   /* pendant qu'on ecrit, les boutons laissent la place au champ */
#accueil.accueil-ecrire .accueil-fil { padding-bottom: 7rem; }   /* la fin du texte reste lisible au-dessus du champ */
#roue.accueil-reponse .accueil-eclairage { animation: accueil-apparait .5s ease both; }
#roue.avec-situation .corps > .titre, #roue.avec-situation .corps > .sous, #roue.avec-situation .roue-invite { display: none; }
#accueil .accueil-question, #accueil .accueil-merci { min-height: calc(100dvh - var(--barre) - var(--haut) - var(--bas) - var(--e7)); display: grid; align-content: center; justify-items: center; gap: var(--e4); padding-bottom: calc(var(--e7) + var(--e6)); box-sizing: border-box; }   /* la question garde sa place haute d'avant les onglets (retour de Matylda, 6 nov.) */
#accueil .accueil-salut { margin: 0; font-weight: 500; }   /* le bonjour : un peu plus present (graisse des etiquettes, 4 nov.) */
#accueil .accueil-connexion { margin: 0; }   /* sans compte, sous le champ du Chat : le meme lien discret que la Carte (7 nov.) ; la grille donne deja --e4 */
#accueil .accueil-q, #accueil .accueil-merci-titre { margin: 0; font-size: min(1.6rem, 7vw); font-weight: 500; white-space: nowrap; }   /* une seule ligne, un peu plus petite que le titre de la roue (4 nov.) */
#accueil .accueil-champ { position: relative; width: 100%; max-width: 34rem; box-sizing: border-box; padding: var(--e3) 3.6rem var(--e3) var(--e4); background: var(--voile); border-radius: 1.6rem; transition: box-shadow .15s ease; }
#accueil .accueil-champ:focus-within { box-shadow: 0 0 0 1px var(--trait); }
#accueil .accueil-champ textarea { display: block; width: 100%; min-height: 1.6em; max-height: 10rem; margin: 0; padding: var(--e1) 0; border: 0; background: transparent; resize: none; outline: none; font: inherit; font-size: 1rem; font-weight: 300; line-height: 1.55; color: var(--encre); }
#accueil .accueil-champ textarea::placeholder { color: var(--gris); }
#accueil .accueil-envoi { position: absolute; right: var(--e2); bottom: var(--e2); width: 2.75rem; height: 2.75rem; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--gris); cursor: pointer; transition: background-color .15s ease, color .15s ease, box-shadow .15s ease; }
#accueil .accueil-envoi svg { width: 1.25rem; height: 1.25rem; }
#accueil .accueil-envoi:disabled { opacity: .45; cursor: default; }
#accueil .accueil-envoi.pret { background: var(--fond); color: var(--encre); box-shadow: 0 0 0 1px var(--trait); }
/* apres l'envoi : une phrase seule, au centre, puis une ligne plus legere */
#accueil .accueil-merci { cursor: pointer; text-align: center; gap: var(--e2); }
#accueil .accueil-agir { margin: 0; max-width: 20rem; font-size: 1rem; font-weight: 300; line-height: 1.55; text-wrap: balance; }
#roue.accueil-merci .accueil-merci { animation: accueil-apparait .5s ease both; }
@keyframes accueil-apparait { from { opacity: 0; } to { opacity: 1; } }
/* la roue apres l'envoi : la consigne seule, au-dessus de la roue */
#accueil .accueil-choisis { margin: var(--e2) auto var(--e2); max-width: 22rem; text-align: center; font-size: 1rem; font-weight: 500; line-height: 1.4; text-wrap: balance; }   /* serre : la Carte payante doit tenir au-dessus du selecteur */
#roue:not(.accueil-roue) .accueil-choisis { display: none; }

/* LE CHOIX A DEUX PILULES (capsule.js > poserChoix ; 5 nov. 2026, option C de Matylda) : pilules comme AUJOURD'HUI / DEMAIN du Diagnostic, puis la phrase et une carte par categorie */
.b-choix { margin: var(--e4) 0 0; }
.b-choix-pilules { display: flex; gap: var(--e2); }
.b-choix-pilule { flex: 1; display: flex; align-items: center; justify-content: center; gap: var(--e2); margin: 0; min-height: 2.75rem; background: var(--fond); color: var(--gris); }
.b-choix-pilule[aria-pressed="true"] { color: var(--encre); }
.b-choix-pilule.b-choix-rouge[aria-pressed="true"] { border-color: var(--rouge); }
.b-choix-pilule.b-choix-vert[aria-pressed="true"] { border-color: var(--vert); }
.b-choix-point { flex: 0 0 auto; width: 10px; height: 10px; border-radius: 50%; }
.b-choix-rouge .b-choix-point { background: var(--rouge); }
.b-choix-vert .b-choix-point { background: var(--vert); }
.b-choix-etat { margin-top: var(--e5); }
.b-choix-phrase { white-space: pre-line; margin: 0 0 var(--e4); text-align: center; font-size: 1rem; font-weight: 600; line-height: 1.35; color: var(--encre); }
.b-choix-carte { margin-top: var(--e3); padding: var(--e4); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); }
.b-choix-tete { display: flex; align-items: center; gap: var(--e3); margin-bottom: var(--e2); }
.b-choix-tete .b-appel-avant { margin: 0; }
/* categories repliables (25 nov. 2026) : le bandeau fait au moins 44 px, le + devient − une fois ouvert */
.b-choix-pli { padding-top: var(--e2); padding-bottom: var(--e2); }
.b-choix-pli > .b-choix-tete { min-height: 2.75rem; margin: 0; cursor: pointer; }
.b-choix-pli-signe { margin-left: auto; padding-left: var(--e3); font-size: 1.1rem; font-weight: 300; color: var(--gris); }
.b-choix-pli-signe::before { content: "−"; }
.b-choix-pli.ferme .b-choix-pli-signe::before { content: "+"; }
.b-choix-pli.ferme > :not(.b-choix-tete) { display: none; }
.b-choix-pli:not(.ferme) { padding-bottom: var(--e4); }
.b-choix-rond { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid var(--trait); border-radius: 50%; }
.b-choix-rouge .b-choix-rond { border-color: var(--rouge); }
.b-choix-vert .b-choix-rond { border-color: var(--vert); }
.b-choix-fleche { width: 15px; height: 15px; fill: none; stroke: var(--encre); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.b-choix-ligne { display: flex; gap: var(--e3); margin: var(--e2) 0 0; }
.b-choix-ligne::before { content: "•"; flex: 0 0 auto; color: var(--gris); }
.b-choix-rouge .b-choix-ligne::before { color: var(--rouge); }
.b-choix-vert .b-choix-ligne::before { color: var(--vert); }
.b-choix-ligne span { min-width: 0; }
.b-choix-bleu .b-choix-point { background: var(--bleu); }
.b-choix-pilule.b-choix-bleu[aria-pressed="true"] { border-color: var(--bleu); }
.b-choix-bleu .b-choix-rond { border-color: var(--bleu); }
.b-choix-rond.b-choix-rond-rouge { border-color: var(--rouge); color: var(--rouge); }
.b-choix-rond.b-choix-rond-rouge .b-choix-fleche, .b-choix-rond.b-choix-rond-rouge .b-choix-fleche path { stroke: var(--rouge); }   /* la fleche « a l'exterieur » en rouge (MON PROTOCOLE de la cartographie, 22 nov. 2026) */
.b-choix-bleu .b-choix-ligne::before { color: var(--bleu); }
.b-choix-intro { margin: 0 0 var(--e3); }
.b-choix-carte > .b-choix-ligne:first-child { margin-top: 0; }
/* la roue des marqueurs du module II : moins large que celle du module I (5 nov. 2026, Matylda : « beaucoup trop grosse »), ses phrases sont plus grandes pour rester lisibles */
.b-dessin[data-nom="marqueursfluidite"] svg { width: 84%; margin: 0 auto; }
/* LES FICHES (capsule.js > poserFiches ; 5 nov. 2026) : la meme carte que le choix a deux pilules, une par entree ; le titre en petites capitales grises, son complement plus marque */
.b-fiches { margin: var(--e4) 0 0; }
.b-fiches-fiche { margin-top: var(--e3); }
.b-fiches-fiche:first-child { margin-top: 0; }
.b-fiches-titre { margin: 0 0 var(--e1); }
.b-fiches-sous { margin: 0 0 var(--e2); font-size: .95rem; font-weight: 500; letter-spacing: .06em; color: var(--encre); }
.b-fiches-fiche .b-choix-ligne:first-of-type { margin-top: var(--e2); }
/* les signes des pilules du choix (ICONES_TRAIT : interdit, autorise, carre, vagues ; la goutte d'ÉMOTIONS) : 18 px, de la couleur de l'etat ; « autorise » un peu plus gras, « carre » plein */
.b-choix-signe { display: inline-flex; flex: 0 0 auto; width: 18px; height: 18px; }
.b-choix-signe svg { width: 100%; height: 100%; }
.b-choix-signe-rouge { color: var(--rouge); } .b-choix-signe-vert { color: var(--vert); } .b-choix-signe-bleu { color: var(--bleu); } .b-choix-signe-gris { color: var(--gris); }
.icone-centre svg path { fill: currentColor; }
.icone-gouttePleine svg path { fill: currentColor; stroke-width: 1.6; }   /* module III : la goutte pleine */
.icone-autorise svg path { stroke-width: 3.2; }
.icone-carre svg path { fill: currentColor; stroke-width: 1.6; }
/* le signe d'une pastille de silhouette (SOUPLE = vagues vertes, RIGIDE = carre rouge) et des choix des protocoles : 1,25 rem comme un rond, de la couleur de l'etat */
.pastilles .pastille-icone, .nom-option .icone-trait { display: inline-flex; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; }
.pastilles .pastille-icone svg, .nom-option .icone-trait svg { display: block; width: 100%; height: 100%; }
/* le logo d'une ligne d'etape (QUOI FAIRE) : 1,5 rem, devant le nom ; le schema « Je pense une emotion quand » au format de la colonne */
.b-etape-entree { align-items: center; }
.b-etape-logo { display: inline-flex; flex: 0 0 auto; width: 1.5rem; height: 1.5rem; margin-right: var(--e3); color: var(--encre); }
.b-etape-logo svg { display: block; width: 100%; height: 100%; }
.b-dessin svg[data-sens="schema"] { width: 100%; }
/* les phrases a toucher (PENSEES phase 1 : les 8 phrases, « Autre chose », « Aucune : j'autorise ») : deux colonnes, sur plusieurs lignes, pour que tout tienne dans l'ecran */
.protocole:not([data-espace="ramener"]) .nomination-compact.nomination-grille.nomination-phrases { max-width: 22rem; }
.protocole:not([data-espace="ramener"]) .nomination-compact.nomination-grille.nomination-phrases .nom-option { white-space: normal; font-size: .85rem; line-height: 1.3; padding: var(--e3) var(--e2); min-height: 3.25rem; }
.dires .dire .icone-trait { display: inline-flex; flex: 0 0 auto; width: 1.25rem; height: 1.25rem; margin-right: var(--e2); }
.dires .dire .icone-trait svg { display: block; width: 100%; height: 100%; }
/* PENSEES phase 1 (5 nov. 2026, Matylda) : « Je nomme directement » et « C'est une pensee de … » ont la meme presentation que l'ecran « Souple ou rigide ? » : titre au centre, boutons dessous, l'indication a --e4 (pas de grand blanc) */
.protocole:is([data-etape^="categorie"], [data-etape^="agis-rigide"], [data-etape^="agis-souple"]) :is(.compteur-etape, .etape-titre, .etape-texte, .note-etape) { text-align: center; }
.protocole:is([data-etape^="categorie"], [data-etape^="agis-rigide"], [data-etape^="agis-souple"]) .etape-titre { max-width: none; font-size: 1.6rem; font-weight: 600; line-height: 1.25; letter-spacing: .02em; }
.protocole:is([data-etape^="categorie"], [data-etape^="agis-rigide"], [data-etape^="agis-souple"]) .nomination { margin-top: var(--e4); }
.protocole:is([data-etape^="categorie"], [data-etape^="agis-rigide"], [data-etape^="agis-souple"]) .note-etape { margin-top: var(--e4); }
/* les 10 phrases de l'etape 1 : toutes la meme hauteur, le texte centre, sur deux lignes quand il y en a deux */
.protocole:not([data-espace="ramener"]) .nomination-compact.nomination-grille.nomination-phrases .nom-option { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 4rem; }
/* « Quelle pensee bloque ? » (15 nov. 2026, Matylda) : six phrases ; telephone : un peu plus grandes ; ordinateur : moins hautes ; la consigne « Nomme-le : » sur deux lignes, la phrase sur UNE seule ligne */
.protocole:not([data-espace="ramener"]) .nomination-compact.nomination-grille.nomination-phrases .nom-option { font-size: .95rem; }
@media (min-width: 1100px) { .protocole:not([data-espace="ramener"]) .nomination-compact.nomination-grille.nomination-phrases .nom-option { font-size: .85rem; min-height: 3.25rem; } }
.protocole[data-etape="pensees-bloquent"] .note-etape { max-width: none; white-space: pre; font-size: clamp(.78rem, 3.5vw, .9rem); }
.protocole .nomination-phrases .nom-option .nom-option-texte, .protocole .nomination-phrases .nom-option .nom-option-texte span { display: block; width: 100%; text-align: center; white-space: pre-line; }
.protocole:is([data-etape^="categorie"], [data-etape^="agis-rigide"], [data-etape^="agis-souple"]) .protocole-interieur { padding-top: calc(var(--haut) + 8rem); }
/* les signes SOUPLE / RIGIDE sur la silhouette : a la place des mots, de la taille d'un rond (1,7 rem) ; le mot reste pour le lecteur d'ecran */
.pastilles .pastille-icone { width: 1.7rem; height: 1.7rem; margin: 0 auto; }
.pastilles .nom-pastille-muet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pastilles button:has(.pastille-icone) { min-height: 2.75rem; display: flex; align-items: center; justify-content: center; }
/* LES ONGLETS (plus de deux pilules, sans couleur : les signaux du CORPS, les trois acces) : deux colonnes, la pilule choisie a son trait noir, la carte s'affiche dessous */
.b-choix-multi .b-choix-pilules { flex-wrap: wrap; }
.b-choix-multi .b-choix-pilule { flex: 1 1 calc(50% - var(--e2)); min-width: 0; padding: var(--e2) var(--e3); line-height: 1.3; text-align: center; }
.b-choix-pilule.b-choix-neutre[aria-pressed="true"] { border-color: var(--encre); }
.b-choix-neutre .b-choix-ligne::before { color: var(--gris); }
/* les entrees nommees d'une etape du QUOI FAIRE en cartes (JE RELIE AVEC LE CORPS / AVEC LES EMOTIONS) : le logo et le nom en tete, les lignes dessous */
.b-etape-liste:has(.b-etape-fiche) { display: flex; flex-direction: column; gap: var(--e3); margin-top: var(--e4); }
.b-etape-fiche { margin: 0; }
.b-etape-fiche .b-etape-logo-fiche { width: 1.75rem; height: 1.75rem; margin-right: 0; }
.b-etape-fiche-ligne { margin: var(--e2) 0 0; }
.b-etape-fiche-ligne:first-of-type { margin-top: 0; }
/* LA QUESTION DU HAUT DES PAGES MARQUEURS (« Souple ou rigide ? », « Peur ou confiance ? »), tous modules, toutes phases (5 nov. 2026, Matylda : « beaucoup trop petite ») :
   plus d'italique ni de gris, en grand et en gras, c'est la question de la page */
#pageCorps.page-marqueurs .b-entete + .b-sous,
#pageCorps.page-marqueurs .b-section-intro > .b-sous:first-child {   /* ordinateur : l'en-tete est dans la colonne de gauche, la question ouvre la colonne de droite */ margin: var(--e4) 0 0; font-style: normal; font-weight: 400; font-size: 1.75rem; line-height: 1.25; letter-spacing: .01em; color: var(--encre); }   /* 6 nov. (Matylda) : plus grande, PAS en gras, pas en italique */

/* Bleu / Rouge en bulle (5 nov. 2026) : seul le BANDEAU autour (le trait) prend la couleur de l'etat, le fond reste blanc (6 nov., Matylda) */
.b-choix-bulle .b-choix-etat.b-choix-bleu { padding: var(--e4); margin-top: var(--e3); background: var(--fond); border: 1px solid var(--bleu); border-radius: var(--r-carte); }
.b-choix-bulle .b-choix-etat.b-choix-rouge { padding: var(--e4); margin-top: var(--e3); background: var(--fond); border: 1px solid var(--rouge); border-radius: var(--r-carte); }
.b-choix-bulle .b-choix-etat .b-choix-carte { margin-top: var(--e3); background: var(--fond); border-color: color-mix(in srgb, currentColor 0%, var(--trait)); }
.b-choix-bulle .b-choix-etat .b-choix-phrase:last-child { margin-bottom: 0; }
.b-choix-ligne strong { font-weight: 600; letter-spacing: .02em; }

/* 5 nov. 2026 (Matylda) : un renvoi vers un autre module tient sur UNE ligne, avec une petite fleche sur le cote (la fleche → : un lien n'est jamais souligne) */
.note-etape.note-lien { max-width: none; white-space: nowrap; }
.note-lien-bouton, .note-passer-bouton { display: inline-flex; align-items: center; gap: var(--e2); min-height: 2.75rem; margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: pointer; text-decoration: none; }
.note-lien-fleche { color: var(--encre); }
.b-lien-texte { cursor: pointer; color: inherit; font: inherit; }   /* un lien dans une phrase : du texte comme les autres, qui se coupe a la ligne (15 nov. 2026) */
/* LES TEXTES DES ETAPES DES PAGES MARQUEURS : tous en noir, meme densite (15 nov. 2026, Matylda : « aligne tout sur le noir ») : le texte de fin d'etape et les lignes d'une liste n'etaient plus gris pale */
#pageCorps.page-marqueurs .b-etape-apres, #pageCorps.page-marqueurs .b-etape-entree span { color: var(--encre); }

/* ===== MODE FONDATRICE + MON ATELIER (cran 1, GO de Matylda le 6 nov. 2026) : son espace de travail avec son IA, compte admin seulement ===== */
#accueil .accueil-mode { display: flex; justify-content: center; align-items: center; gap: var(--e3); margin: var(--e4) auto 0; }   /* 8 nov. 2026 : plus de bascule Fondatrice | Publique — un seul chat, « Mon atelier → » seul ici */
#accueil .accueil-mode.cache { display: none; }
#accueil .accueil-atelier-lien { font-size: .8125rem; }
#accueil .accueil-atelier-lien.cache { display: none; }
#accueil .accueil-garde { margin: 0; text-align: center; font-size: .75rem; font-weight: 300; color: var(--gris); }   /* une indication : la capture s'est faite, avec « Annuler » */
#accueil .accueil-garde .b-lien { font-size: .75rem; }
/* la vue MON ATELIER : un etat a part entiere, rien d'autre que lui */
#roue.accueil-atelier .corps > :not(#accueil):not(#roueVues):not(#accueilOnglets) { display: none !important; }
#roue.accueil-atelier #accueilOnglets { display: none; }
#roue.a-accueil.accueil-atelier #roueVues { display: none; }
#roue.accueil-atelier .accueil-question, #roue.accueil-atelier .accueil-eclairage, #roue.accueil-atelier .accueil-merci { display: none; }
#accueil .accueil-atelier-vue { display: none; }
#roue.accueil-atelier .accueil-atelier-vue { display: grid; gap: var(--e4); width: 100%; max-width: 34rem; margin: 0 auto; padding-top: var(--e4); }
#accueil .atelier-tete { display: flex; align-items: baseline; justify-content: space-between; gap: var(--e3); }
#accueil .atelier-titre { margin: 0; font-size: .9rem; font-weight: 500; letter-spacing: .14em; }
#accueil .atelier-recherche { width: 100%; box-sizing: border-box; min-height: 2.75rem; padding: 0 var(--e4); border: 1px solid var(--trait); border-radius: 999px; background: var(--fond); font: inherit; font-size: .9rem; font-weight: 300; color: var(--encre); }
#accueil .atelier-liste { display: grid; gap: var(--e2); }
#accueil .atelier-ligne { display: grid; gap: 2px; text-align: left; padding: var(--e3) var(--e4); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); font: inherit; cursor: pointer; }
#accueil .atelier-ligne-titre { font-size: .9rem; font-weight: 400; color: var(--encre); }
#accueil .atelier-ligne-sous { margin: 0; font-size: .72rem; font-weight: 300; color: var(--gris); }
#accueil .atelier-fiche { display: grid; gap: var(--e3); justify-items: start; }
#accueil .atelier-fiche-titre { margin: 0; font-size: 1.05rem; font-weight: 500; }
#accueil .atelier-fiche-texte p { margin: 0 0 var(--e3); font-size: .95rem; font-weight: 300; line-height: 1.8; text-align: left; }
#accueil .atelier-fiche details { font-size: .8rem; color: var(--gris); }
#accueil .atelier-contexte { margin: var(--e2) 0 0; font-size: .8rem; font-weight: 300; line-height: 1.7; }
#accueil .atelier-fiche textarea { width: 100%; box-sizing: border-box; padding: var(--e3) var(--e4); border: 1px solid var(--trait); border-radius: var(--r-carte); background: var(--fond); font: inherit; font-size: .9rem; font-weight: 300; line-height: 1.6; resize: vertical; }
#accueil .atelier-fiche-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--e3); }
#accueil .atelier-supprimer { color: var(--erreur); }
/* la discussion de l'atelier (8 nov. 2026) : le fil de son IA de travail, puis le champ, puis la liste des idees */
#accueil .atelier-fil { display: grid; gap: var(--e3); }
#accueil .atelier-fil:empty { display: none; }
#accueil .atelier-indication { margin: 0; }
#accueil.atelier-en-fiche .atelier-fil, #accueil.atelier-en-fiche .atelier-champ, #accueil.atelier-en-fiche .atelier-indication, #accueil.atelier-en-fiche .atelier-recherche { display: none; }   /* une fiche ouverte : rien d'autre qu'elle */
/* 6 nov. 2026 (Matylda) : un texte sous une image a de l'air (la grille e5), partout */
#pageCorps .b-image + .b-texte, .lecture .b-image + .b-texte { margin-top: var(--e5); }

/* 6 nov. 2026 : le liseré vert (J'AUTORISE, SOUPLE) comme le bleu et le rouge ; le fond reste blanc */
.b-choix-bulle .b-choix-etat.b-choix-vert { padding: var(--e4); margin-top: var(--e3); background: var(--fond); border: 1px solid var(--vert); border-radius: var(--r-carte); }
.b-choix-bulle .b-choix-etat .b-choix-tete .b-appel-avant { font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }

/* 6 nov. 2026 (Matylda) : la phrase d'une pilule, centree, en police normale (pas en gras) ; pas de carte dessous */
.b-choix-phrase-normale { font-weight: 300; }
.b-choix-chaine { display: flex; flex-direction: column; align-items: center; gap: var(--e2); margin: var(--e3) 0 var(--e5); }
.b-choix-chaine > span:not(.icone-trait) { font-size: .875rem; font-weight: 600; letter-spacing: .12em; color: var(--encre); }
.b-choix-chaine .icone-trait { display: flex; width: 1.4rem; height: 1.4rem; }
.b-choix-chaine .icone-trait svg { width: 100%; height: 100%; }

/* 6 nov. 2026 (Matylda) : ÉMOTIONS, le recap automatique du « Je note » (au centre, comme la phrase a dire) ; les besoins a choix multiples et leur bouton « Je continue » */
.protocole .recap { display: grid; gap: var(--e3); margin: var(--e4) auto 0; max-width: 21rem; text-align: center; }
.protocole .recap-ligne { margin: 0; font-size: 1.3125rem; font-weight: 500; line-height: 1.5; color: var(--encre); }
.protocole .nomination-phrases .nomination-valider { grid-column: 1 / -1; justify-self: center; margin-top: var(--e4); }
.protocole .nomination-multiple.active .nom-option { opacity: 1; }   /* plusieurs choix : les autres ne s'effacent pas, le choix a son trait noir */
.protocole:not([data-espace="ramener"]) .nomination-multiple .nom-option.choisi { border-color: var(--encre); box-shadow: 0 0 0 1px var(--encre); background: var(--fond); }

/* 6 nov. 2026 (Matylda) : « Je note » (ÉMOTIONS) : le recap en carte, comme une note du journal (nom en petites capitales a gauche, le choix a droite, un trait fin entre les lignes) */
.protocole .recap.recap-carte { display: block; width: 100%; max-width: 21rem; margin: var(--e4) auto 0; padding: var(--e2) var(--e4); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); text-align: left; }
.protocole .recap-carte-ligne { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); min-height: 2.75rem; padding: var(--e2) 0; }
.protocole .recap-carte-ligne + .recap-carte-ligne { border-top: 1px solid var(--trait); }
.protocole .recap-carte-valeur { display: inline-flex; align-items: center; gap: var(--e2); flex: 0 1 62%; justify-content: flex-end; text-align: right; font-size: .95rem; font-weight: 400; line-height: 1.4; color: var(--encre); }
.protocole .recap-carte-signe { display: inline-flex; flex: 0 0 auto; width: 1.1rem; height: 1.1rem; }
.protocole .recap-carte-signe svg { display: block; width: 100%; height: 100%; }
@media (min-width: 1100px) { .protocole .recap.recap-carte { max-width: 26rem; margin-bottom: var(--e4); } }

/* 6 nov. 2026 (Matylda) : les cartes d'une etape du QUOI FAIRE (« Je relie avec le corps ») : un toucher ouvre l'espace ; de petits signes a la fin de leur ligne */
.b-etape-fiche-lien { cursor: pointer; }
.b-etape-fiche-lien:focus-visible { outline: 1px solid var(--encre); outline-offset: 2px; }
.b-etape-fiche-lien > .b-choix-tete::after { content: "→"; margin-left: auto; padding-left: var(--e3); font-weight: 400; color: var(--gris); }
/* LE MODELE OFFICIEL D'UNE FICHE (26 nov. 2026, Matylda) : la question du module un peu plus grasse, avec ses signes ; puis « → » et les reperes */
.b-etape-fiche-ligne strong { font-weight: 500; color: var(--encre); }
.b-etape-fiche-ligne .signe-ligne, .b-etape-entree .signe-ligne { display: inline-flex; vertical-align: -.2em; width: 1.1rem; height: 1.1rem; margin-left: var(--e2); }
.b-etape-fiche-ligne .signe-ligne svg, .b-etape-entree .signe-ligne svg { display: block; width: 100%; height: 100%; }

/* 6 nov. 2026 (Matylda) : les dessins vectoriels animes de « Souple ou rigide ? » (bloc vecto) : centres, sur la grille, l'espace de la section autour */
.b-vecto { display: block; margin: var(--e5) auto var(--e4); max-width: 100%; }
.b-vecto svg { display: block; width: 100%; height: auto; }

/* 6 nov. 2026 (Matylda) : un dessin de section pose directement dans la page (les routines : la capsule entre l'introduction et « LA PRATIQUE ») a le MEME blanc au-dessus et en dessous (--e6),
   dans tous les modules ; avant, 89 px au-dessus et 21 px en dessous */
#pageCorps .lecture > .b-dessin.b-dessin-section { margin-top: var(--e6); margin-bottom: var(--e6); }
#pageCorps .lecture > .b-dessin.b-dessin-section + .b-titre { margin-top: 0; }

/* 6 nov. 2026 (Matylda) : des cartes d'une seule phrase n'ont pas de point devant ; des entrees nommees en petites cartes sur deux colonnes */
.b-choix-sans-puce .b-choix-ligne::before { content: none; }
.b-choix-sans-puce .b-choix-ligne { margin: 0; }
.b-etape-liste.b-etape-grille:has(.b-etape-fiche) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e3); margin-top: var(--e3); }
.b-etape-grille > .b-etape-fiche { margin: 0; padding: var(--e3) var(--e4); }
.b-etape-grille .b-etape-fiche .b-texte { margin: var(--e2) 0 0; font-size: .875rem; line-height: 1.45; }

/* 6 nov. 2026 (Matylda) : la playlist dans l'etape (lecteur Spotify compact) ; l'introduction d'un journal guide (petite, grise) */
.b-spotify.b-spotify-compact { display: block; width: 100%; height: 152px; margin: var(--e4) 0 0; border: 0; border-radius: var(--r-carte); }
.journal-guide-intro { margin: var(--e3) 0 0; font-size: .875rem; font-weight: 300; line-height: 1.6; color: var(--gris); }

/* 6 nov. 2026 : la fin d'un journal en souffle (le cercle qui respire, puis la phrase) */
.journal-fin-souffle { margin: 0 0 var(--e5); }

/* 6 nov. 2026 (Matylda) : UNE typographie pour les textes d'un journal guide. L'introduction du haut a le role de l'introduction d'une routine (.95rem, 300, encre, interligne 1,8) ;
   les deux paragraphes de la fin (apres le cercle) ont le meme role, plus petit (.8125rem), au centre, sans italique, sur deux lignes */
.journal-guide-intro { font-size: .95rem; font-weight: 300; line-height: 1.8; color: var(--encre); font-style: normal; }
.journal-fin-bloc :is(.journal-fin-geste, .journal-fin-voix) { margin: 0 0 var(--e3); max-width: none; font-size: .8125rem; font-weight: 300; font-style: normal; line-height: 1.7; letter-spacing: 0; color: var(--encre); text-align: center; text-wrap: balance; }

/* 6 nov. 2026 (Matylda) : plus d'air entre les categories d'un journal guide (MA JOURNEE, CORPS, PENSÉES…) : une question qui ouvre une section est a --e7 (89 px) de la precedente (les autres restent a --e5) */
.journal-q:has(.journal-q-nom) { margin-top: var(--e7); }
.journal-guide-corps > .journal-q:first-child:has(.journal-q-nom) { margin-top: var(--e5); }

/* LE BILAN : une page par ecran (Matylda, 7 novembre 2026) */
@media all {
  .cp-titre-bilan { margin-bottom: var(--e2); }
  .cp-titre-bilan ~ .menu-liste { display: none; }
  .cp.cp-parpage { margin-top: var(--e2); display: flex; flex-direction: column; min-height: calc(100dvh - 9.5rem); }
  .cp-parpage .cp-pied { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: var(--e5); }
  .cp-parpage .cp-pied .b-lien { margin: 0 0 0 auto; min-width: 12rem; justify-content: center; }
  .cp-parpage .cp-question-texte { font-weight: 300; }
  .cp-parpage .cp-tete .cp-bloc-nom { font-size: 1rem; font-weight: 500; }
  .cp-parpage .journal-fin-bloc { flex: 1; justify-content: center; margin-top: 0; }
  .cp-parpage .cp-tete { margin-top: var(--e5); }
  .journal-fin-bloc .cp-fin-geste { font-size: 1.1rem; font-weight: 500; }
  .journal-fin-bloc .cp-fin-corps { margin-top: var(--e4); font-weight: 300; }
  .cp-parpage .cp-tete-page { margin-top: var(--e6); margin-bottom: var(--e3); padding-bottom: 0; }
  .cp-parpage .cp-tete-page + .cp-page-texte { margin-top: 0; }
  .cp-parpage .cp-tete:not(.cp-tete-page) { margin-top: var(--e6); margin-bottom: var(--e3); padding-bottom: var(--e2); }
  .cp-parpage .cp-question-texte { margin-bottom: var(--e5); }
  .cp-parpage .cp-aide { margin: var(--e4) 0 0; font-size: .88rem; line-height: 1.6; text-align: center; text-wrap: balance; }
  .journal-fin-bloc .cp-fin-corps { font-size: .95rem; font-weight: 300; line-height: 1.7; margin: var(--e4) 0 0; }
  .journal-fin-bloc .cp-sep + .cp-fin-corps { margin-top: var(--e3); }
  .cp-parpage .journal-fin-bloc .cp-sep { margin: 0; }
  .cp-parpage .cp-aide { font-size: .95rem; }
  .cp-parpage .cp-envoye { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: var(--e5); }
  .cp-parpage .cp-envoye .b-lien { margin: var(--e5) 0 0; }
  .cp-parpage .journal-fin-bloc { justify-content: flex-start; padding-top: var(--e5); }
  .cp-parpage .cp-bilan-roues { margin-top: var(--e5); }
  .cp-envoye .cp-fin-geste { font-size: 1.1rem; font-weight: 500; }
  .cp-parpage .cp-pied { position: sticky; bottom: 0; z-index: 1; background: var(--fond); padding: var(--e5) 0 var(--e3); }   /* toujours au meme endroit, meme quand la page est plus haute que l'ecran */
  /* le bilan remplit exactement l'ecran, quelle que soit la hauteur reelle du telephone (barres du navigateur, encoche) : plus de blanc dessous */
  .corps:has(> .cp-parpage), .cp-droite-corps:has(> .cp-parpage) { display: flex; flex-direction: column; }
  .corps:has(> .cp-parpage) > .cp-parpage, .cp-droite-corps:has(> .cp-parpage) > .cp-parpage { flex: 1 0 auto; min-height: 0; }
  /* l'ouverture : le titre et son texte au milieu de la page */
  .cp-parpage .cp-tete-page { margin-top: auto; }
  .cp-parpage .cp-tete-page + .cp-page-texte ~ .cp-page-texte:last-of-type, .cp-parpage .cp-page-texte:last-of-type { margin-bottom: auto; }
  .cp-parpage .cp-page-texte ~ .cp-pied { margin-top: 0; }
  .corps:has(> .cp-parpage) { padding-bottom: var(--e3); }
  .cp-lecture .cp-aide { font-size: .78rem; margin: var(--e3) 0 0; }   /* les resultats : le petit texte d'aide, tout petit, sous la boite de reponse */
}

@media all {
  /* fin d'une exploration « une chose a la fois » : droite, pas d'italique, comme la derniere ligne du bilan */
  .parcours-rouvre.parcours-rouvre-droit { font-style: normal; font-weight: 500; font-size: 1.1rem; }
  .parcours-final .parcours-rouvre-droit + .parcours-texte { margin-top: var(--e4); font-weight: 300; font-size: .95rem; line-height: 1.7; }
}

@media all {
  /* fin d'une exploration « une chose a la fois » : au milieu de la zone au-dessus de la barre, comme sur ordinateur */
  #parcours.parcours-une .parcours-corps.parcours-final { box-sizing: border-box; height: 100%; min-height: 0; padding-top: 0; padding-bottom: 0; align-items: center; }
  .parcours-final .b-lien-centre { margin-top: var(--e5); }
}

@media all {
  /* la photo de l'enfant (et, a l'etape « Je represente », la couleur de Bleu ou de Rouge) : petites, dans le coin en haut a droite, au meme endroit a chaque etape ;
     elles ne prennent aucune hauteur : l'ecran reste dans 390 x 700 (la photo de l'etape 2 est l'image de l'etape, elle reste au centre) */
  .parcours-duo { display: flex; justify-content: flex-end; align-items: center; gap: var(--e3); margin: 0 0 var(--e3); }
  .parcours-duo-photo { width: 2.25rem; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-carte); }
  .parcours-duo-couleur { width: 3rem; height: 3rem; object-fit: contain; }
  .parcours-photo-coin { width: 2.25rem; margin: 0; }
  .parcours-photo-coin[hidden] { display: none; }
  @media (max-width: 1099px) {
    .parcours-une .parcours-corps:not(.parcours-c) { position: relative; }
    .parcours-une .parcours-duo, .parcours-une .parcours-photo-coin { position: absolute; top: calc(var(--haut, 0px) + 5rem); right: var(--e4); margin: 0; }
  }
}

/* LE BILAN DE MODULE (11 nov. 2026, valide par Matylda). Les textes reprennent les roles de l'app : etiquette 12 px / 500 / gris, titre 19,2 px / 500, intertitre 15,2 px / 500, texte de carte 13,6 px / 300. Espacements : la grille --e1 a --e7. */
.bil { display: flex; flex-direction: column; align-items: center; gap: var(--e3); text-align: center; }
.bil p, .bil h2 { margin: 0; }
.bil-sur, .bil-etiquette, .bil-signature, .bil-champ-nom, .bil-legende { font-size: .75rem; font-weight: 500; letter-spacing: .12em; color: var(--gris); }
.bil-titre { font-size: 1.2rem; font-weight: 500; letter-spacing: .1em; color: var(--encre); }
.bil-bravo, .bil-nom { font-size: .95rem; font-weight: 500; letter-spacing: .06em; color: var(--encre); }
.bil .bil-roue { width: 100%; max-width: 14.4rem; margin: var(--e3) 0 0; padding: 0; }
.bil-cartes { width: 100%; display: flex; flex-direction: column; gap: var(--e4); margin-top: var(--e4); }
.bil-carte { display: flex; gap: var(--e3); align-items: flex-start; text-align: left; padding: var(--e4) var(--e3); background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte); }
.bil-mini, .bil-icone { width: 3.4rem; height: 3.4rem; flex: 0 0 auto; display: block; }
.bil-icone { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: color-mix(in srgb, var(--vert) 10%, var(--fond)); color: var(--vert); }
.bil-icone svg { width: 1.5rem; height: 1.5rem; display: block; }
.bil-texte { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: var(--e1); }
.bil-corps { font-size: .85rem; font-weight: 300; line-height: 1.45; color: var(--encre); }
.bil-mot { display: flex; flex-direction: column; align-items: center; gap: var(--e3); padding: var(--e5) var(--e4); background: var(--voile); border-radius: var(--r-carte); text-align: center; }
.bil-guil { width: 2.1rem; height: 1.6rem; color: var(--gris); display: block; }
.bil-mot-texte { font-size: .95rem; font-weight: 300; line-height: 1.8; color: var(--encre); }
.bil-fil { display: block; width: 2.1rem; height: 1px; background: var(--trait); }
.bil-bas { display: flex; flex-direction: column; align-items: center; gap: var(--e3); margin-top: var(--e5); }
.cp-tuile-attente { background: var(--voile); border-color: transparent; }
.bil-edition { display: flex; flex-direction: column; gap: var(--e4); margin-bottom: var(--e5); }
.bil-apercu { padding: var(--e4) var(--e3); border: 1px solid var(--trait); border-radius: var(--r-carte); }
.bil-form { display: flex; flex-direction: column; gap: var(--e4); }
.bil-groupe { display: flex; flex-direction: column; gap: var(--e3); margin: 0; padding: 0; border: 0; min-width: 0; }
.bil-champ { display: flex; flex-direction: column; gap: var(--e1); }
.bil-select { align-self: flex-start; min-height: 2.75rem; padding: 0 var(--e3); font: inherit; background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; color: var(--encre); }
.bil-actions { display: flex; flex-direction: column; align-items: flex-start; gap: var(--e2); }

/* CHAMPS D'ECRITURE (11 nov. 2026, etude de confort d'ecriture) : au toucher, une bordure franche au lieu de l'anneau noir de 2 px (qui sonne « validation de formulaire ») */
.journal-q-champ:focus-visible, input.cp-autre:focus-visible, .journal-zone:focus-visible { outline: none; border-color: var(--encre); }

/* LES REPONSES, EN CARTES COMME NOTION (11 nov. 2026, valide par Matylda) : un rond (le logo de Matylda, ou l'initiale), le nom et la date courte en gris, le message, ses reactions ; les reponses
   sous le message, reliees par un trait fin ; le non-lu = un point jaune et un fond jaune tres pale ; le texte commente est surligne (jaune tres pale). Sur ordinateur, l'echange est dans la marge. */
.cp-msg-tete { display: flex; align-items: center; gap: var(--e3); }
.cp-msg-noms { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 var(--e2); min-width: 0; }
.cp-msg-qui { font-size: .95rem; font-weight: 500; color: var(--encre); }
.cp-msg-date { font-size: .75rem; font-weight: 300; color: var(--gris); }
.cp-msg + .cp-msg { margin-left: 1rem; padding-left: var(--e4); border-left: 1px solid var(--trait); }
.cp-av { width: 2.1rem; height: 2.1rem; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center; justify-content: center; font-size: .75rem; font-weight: 500; line-height: 1; }
.cp-av-logo { background: var(--encre); }
.cp-av-logo::after { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--fond); }
.cp-av-ini { background: var(--fond); border: 1px solid var(--trait); color: var(--gris); }
.cp-reacs { display: flex; flex-wrap: wrap; gap: var(--e2); align-items: center; }
.cp-reac { min-height: 2rem; padding: 0 var(--e3); border: 0; border-radius: 999px; background: var(--voile); color: var(--encre); font: inherit; font-size: .85rem; line-height: 1; display: inline-flex; align-items: center; justify-content: center; gap: var(--e1); cursor: pointer; }
.cp-reac-moi { box-shadow: inset 0 0 0 1px var(--encre); }
/* UN EMOJI QUI FLOTTE (16 nov. 2026, Matylda : « je n'aime pas le trait noir autour, c'est trop sombre ») : la reaction posee est un petit emoji seul, sans cadre ni fond, en bas a droite de la carte ;
   le « + » et le plateau de choix gardent leur forme */
.cp-reacs { justify-content: flex-end; }
.cp-reac:not(.cp-reac-plus):not(.cp-reac-choix) { min-height: 1.6rem; padding: 0 var(--e1); background: none; box-shadow: none; font-size: 1.25rem; transition: transform .15s ease; }
.cp-reac:not(.cp-reac-plus):not(.cp-reac-choix):not(:disabled):hover { transform: scale(1.15); background: none; }
.cp-reac:not(.cp-reac-plus):not(.cp-reac-choix):disabled { opacity: 1; cursor: default; }
.cp-reac-plus { width: 2rem; min-width: 2rem; padding: 0; background: transparent; box-shadow: inset 0 0 0 1px var(--trait); color: var(--gris); font-size: 1.15rem; font-weight: 300; }   /* un « + » leger, sur le cote, jamais un smiley */
.cp-reac-plus:hover { background: var(--voile); }
.cp-reac:focus-visible { outline: 2px solid var(--encre); outline-offset: 2px; }
@media (pointer: coarse) { .cp-reac { min-height: 2.75rem; min-width: 2.75rem; } }
.cp-fil-barre { display: flex; align-items: center; justify-content: space-between; gap: var(--e3); margin-top: var(--e2); }
.cp-fil-barre .b-lien { margin-top: 0; }
.cp-emoji-plateau { display: flex; gap: var(--e2); margin-top: var(--e2); }
.cp-emoji-plateau[hidden] { display: none; }
.cp-hote-attend > .cp-fil-boite { background: color-mix(in srgb, var(--jaune) 10%, var(--fond)); }
.cp-hote-attend > .cp-fil-boite::after { content: ""; position: absolute; top: var(--e3); right: var(--e3); width: .65rem; height: .65rem; border-radius: 50%; background: var(--jaune); }
/* le texte commente est surligne : la reponse ecrite (champ de lecture) et le ou les choix faits */
.cp-commentee > .cp-ligne-reponse, .cp-commentee > .cp-question textarea, .cp-commentee > .cp-question .cp-autre, .cp-commentee > .cp-question .cp-option.choisi { background: color-mix(in srgb, var(--jaune) 14%, var(--fond)); border-bottom-color: color-mix(in srgb, var(--jaune) 45%, var(--fond)); }
@media (min-width: 1100px) {   /* ordinateur : l'echange s'ouvre dans la marge, a droite de la question, deja ouvert. 16 nov. 2026 : seulement tant que le fil est ouvert ; refermé, la bulle revient (sinon le commentaire etait introuvable) */
  .cp-lignes > .cp-ligne.cp-commentee:not(.cp-ligne-ouverte):has(> .cp-fil-boite:not([hidden])) { grid-column: 1 / -1; }
  .cp-ligne.cp-commentee:not(.cp-ligne-ouverte):has(> .cp-fil-boite:not([hidden])) { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; column-gap: var(--e5); align-items: start; padding-right: 0; }
  .cp-ligne.cp-commentee:not(.cp-ligne-ouverte):has(> .cp-fil-boite:not([hidden])) > :not(.cp-fil-boite):not(.cp-bulle) { grid-column: 1; }
  .cp-ligne.cp-commentee:not(.cp-ligne-ouverte) > .cp-fil-boite:not([hidden]) { grid-column: 2; grid-row: 1 / span 8; margin: 0; }
  .cp-ligne.cp-commentee:not(.cp-ligne-ouverte):has(> .cp-fil-boite:not([hidden])) > .cp-bulle { right: calc(18rem + var(--e5)); }   /* 16 nov. 2026 : la bulle reste, a gauche du commentaire : c'est elle qui le referme */
}

/* MON ÉVOLUTION : le « ? » n'est utile que sur la courbe ; il disparait quand un detail est ouvert (il restait fixe pendant la lecture d'un check-point) */
#evolutionPanneau:not(.evo-immersif) :is(.evo-aide-bt, .evo-aide-bulle) { display: none; }

/* UN EMOJI A COTE D'UNE REPONSE (11 nov. 2026) : le « + » n'apparait qu'au survol (ou au toucher de la ligne), comme la bulle de commentaire ; les reactions sous la reponse */
.cp-reac-survol { position: absolute; top: 0; right: 2.6rem; opacity: 0; pointer-events: none; }
.cp-lecture-admin .cp-ligne:hover .cp-reac-survol, .cp-lecture-admin .cp-section-tete:hover .cp-reac-survol, .cp-lecture-admin .cp-active .cp-reac-survol, .cp-lecture-admin .cp-reac-survol:focus-visible { opacity: 1; pointer-events: auto; }
.cp-lecture-admin .cp-ligne, .cp-lecture-admin .cp-section-tete { padding-right: 5.2rem; }
.cp-lecture-admin .cp-fil-boite { margin-right: -5.2rem; }
@media (min-width: 1100px) { .cp-ligne.cp-commentee:not(.cp-ligne-ouverte):has(> .cp-fil-boite:not([hidden])) > .cp-reac-survol { right: calc(18rem + var(--e5) + 2.6rem); } }
.cp-reacs-reponse { margin-top: var(--e2); }
.cp-reacs-reponse.cp-reacs-vide { margin: 0; }

/* LE CURSEUR D'UNE PAGE (signaux d'ÉMOTIONS, 14 nov. 2026, Matylda) : la reglette du protocole (.curseur) mais du ROUGE au JAUNE au VERT (fermeture, circulation, liberation : les couleurs d'etat de l'app) ;
   dessous, l'etat qui correspond dans un encadre gris clair, son NOM dedans en haut, l'encadre et les puces a la couleur de l'etat (comme les signaux de CORPS et de PENSEES : le mot au-dessus des points) */
.b-curseur { margin: var(--e5) 0 0; --orange: color-mix(in srgb, var(--rouge) 50%, var(--jaune)); }
.b-curseur .curseur { margin-top: 0; }
.b-curseur .curseur-reglette::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--rouge) 0%, var(--rouge) 10%, var(--orange) 35%, var(--jaune) 65%, var(--vert) 90%, var(--vert) 100%); }
.b-curseur .curseur-reglette::-moz-range-track { background: linear-gradient(to right, var(--rouge) 0%, var(--rouge) 10%, var(--orange) 35%, var(--jaune) 65%, var(--vert) 90%, var(--vert) 100%); }
.b-curseur-etat { --etat: var(--gris); margin-top: var(--e5); padding: var(--e4); background: var(--voile-leger); border: 1px solid var(--etat); border-radius: var(--r-carte); }
.b-curseur-rouge { --etat: var(--rouge); } .b-curseur-orange { --etat: var(--orange); } .b-curseur-jaune { --etat: var(--jaune); } .b-curseur-vert { --etat: var(--vert); }
.b-curseur-etat .b-curseur-nom { margin: 0 0 var(--e3); }
.b-curseur-etat .b-choix-ligne::before { color: var(--etat); }

/* LE CURSEUR ET SES QUATRE ETATS (14 nov. 2026) : seul l'etat touche garde sa phrase, les autres ne montrent que leur nom : les quatre tiennent au-dessus de la barre du bas (telephone et ordinateur), la note aussi, et la reglette reste au meme niveau que l'image des autres etapes */
#detailVisuel:has(.curseur) .nomination .nom-option:not(.choisi) .nom-option-detail { display: none; }
@media (min-width: 1100px) { #detailZone:not(.accent):not(.porte) #detailVisuel:has(.curseur) { zoom: max(1, calc(var(--z) - .2)); } }   /* un peu plus petit sur ordinateur (comme le geste du reveil) : reglette et quatre etats tiennent au-dessus de la barre */

/* MODULE II, PHASE 2 (14 nov. 2026, Matylda) : « Je decris ce que je sens » (CORPS, PENSÉES, ÉMOTIONS) et les signaux. Tokens seulement. */
/* six formes en trait : la taille et la place des ronds de couleur (--e5, meme rangee, meme niveau), sans cadre ; le nom est lu par le telephone, pas affiche */
.nomination-compact.nomination-ronds.nomination-couleurs { flex-wrap: wrap; }
#detail .nomination-compact.nomination-ronds:has(.icone-formeCercle) { flex-wrap: wrap; gap: 0; max-width: 18rem; }
#detail .nomination-ronds:has(.icone-formeCercle) .nom-rond { width: 6rem; padding: 0; gap: 0; }
#detail .nomination-ronds:has(.icone-formeCercle) .nom-rond-nom { display: none; }
#detail .nomination-ronds:has(.icone-formeCercle) .nom-option { flex: 0 0 var(--e5); width: var(--e5); height: var(--e5); margin: var(--e5) calc((6rem - var(--e5)) / 2); padding: 0; background: none; border: 0; border-radius: 0; }
#detail .nomination-ronds:has(.icone-formeCercle) .nom-option .icone-trait { width: var(--e5); height: var(--e5); }
/* le champ « Ou avec mes mots… » : de la largeur de la rangee de ronds, juste dessous */
#detail .nomination-ronds:is(:has(.icone-formeCercle), .nomination-couleurs) + .champ-etape { max-width: 18rem; margin-top: 0; }
/* « Je passe → » : dans la note, sous la petite phrase d'aide, tout en bas (meme style que « Si c'est trop → ») */
.note-passer { display: flex; justify-content: center; margin-top: var(--e4); }
/* le curseur : les etats nommes n'apparaissent qu'au premier mouvement (cle « zonesApparaissent » du curseur), puis suivent le curseur */
#detail:has(.curseur-zones-apparaissent) .nomination:not(.active) { visibility: hidden; }
/* 15 nov. 2026 (Matylda) : le MEME curseur que les signaux d'ÉMOTIONS (du rouge au vert) dans tous les protocoles ; une seule bulle d'etat a la fois : elle apparait quand on glisse et change avec le curseur ; le curseur un peu plus au centre de l'ecran */
#detail .curseur { --orange: color-mix(in srgb, var(--rouge) 50%, var(--jaune)); }
#detail .curseur .curseur-reglette::-webkit-slider-runnable-track { background: linear-gradient(to right, var(--rouge) 0%, var(--rouge) 10%, var(--orange) 35%, var(--jaune) 65%, var(--vert) 90%, var(--vert) 100%); }
#detail .curseur .curseur-reglette::-moz-range-track { background: linear-gradient(to right, var(--rouge) 0%, var(--rouge) 10%, var(--orange) 35%, var(--jaune) 65%, var(--vert) 90%, var(--vert) 100%); }
#detail:has(.curseur-zones-apparaissent) .nomination .nom-option:not(.choisi) { display: none; }
#detail .curseur.curseur-zones-apparaissent { margin-top: var(--e7); }
.protocole:is([data-etape="curseur"], [data-etape="augmente-curseur"]) .note-etape { max-width: none; white-space: pre; font-size: clamp(.78rem, 3.5vw, .9rem); }   /* « Si tu peux, augmente doucement : » sur deux lignes, la phrase sur une seule */
/* les signaux (pages marqueurs) : le mot du niveau (GLOBAL, LOCALISÉ, PRÉCIS) est le titre de l'encadre, centre, en grand (1,2 rem, comme les titres de partie) ; trois onglets sur une ligne */
.b-choix-mot .b-choix-tete { justify-content: center; }
.b-choix-mot .b-choix-tete .b-appel-avant { font-size: 1.2rem; letter-spacing: .04em; color: var(--encre); margin: 0 0 var(--e2); text-align: center; }
.b-choix-mot .b-choix-pilule { flex: 1 1 0; }
/* l'image d'un signal entre dans l'encadre, tout en haut ; une ligne de carte qui est un lien : sans puce, centree */
.b-choix-carte > .b-choix-image { display: block; margin: 0 auto var(--e4); }
.b-choix-carte .b-choix-lien { margin: var(--e4) 0 0; text-align: center; }
/* un lien DANS une phrase (« {{lien:…|…}} ») : reste dans la ligne, sans hauteur de bouton */
.b-lien-texte { display: inline; min-height: 0; text-align: inherit; }

.cp-cadenas { display: inline-flex; align-items: center; margin-left: auto; }
.cp-cadenas svg { width: 1.1rem; height: 1.1rem; display: block; }

/* LES CHECK-POINTS SUR TELEPHONE (15 nov. 2026, Matylda : « une bande blanche en bas coupe Je continue », puis « la fleche reste en bas et passe sur le texte ») :
   tout le panneau defile d'un bloc et la fleche de retour est la derniere chose de la page, sous « Je continue » : ni bande blanche fixe, ni fleche par-dessus le texte */
@media (max-width: 1099px) {
  #checkpoint:not(:has(.cp-parpage)) .fleche { display: none; }   /* 15 nov. 2026 (Matylda) : dans un check-point, sur telephone, la fleche ronde du bas est retiree ; le retour est la fleche « ← » du bloc (ou glisser vers la droite). Le bilan (cp-parpage) la garde : c'est sa fleche de retour */
  #mesCheckpoints { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  #mesCheckpoints .corps { flex: 0 0 auto; overflow: visible; padding-bottom: 0; }
  #mesCheckpoints .fleche { position: static; margin: var(--e5) auto var(--e5); transform: none; }
}
/* ... et sur ordinateur : meme chose, la fleche est en bas de la liste, a gauche */
@media (min-width: 1100px) {
  #mesCheckpoints:not(.cp-deux), #checkpoint { overflow-y: auto; }
  #mesCheckpoints:not(.cp-deux) .corps, #checkpoint .corps { flex: 0 0 auto; overflow: visible; padding-bottom: 0; }
  #mesCheckpoints:not(.cp-deux) .fleche, #checkpoint .fleche { position: static; margin: var(--e5) 0 var(--e5) var(--e5); align-self: flex-start; }
}

/* MODIFIER OU SUPPRIMER SON COMMENTAIRE (16 nov. 2026, Matylda) : deux boutons « b-lien » sous le message, plus legers que les autres (pas de nouvelle classe de bouton) ; la confirmation de suppression est dans la page */
.cp-msg-actions { display: flex; gap: var(--e3); margin-top: var(--e2); }
.cp-msg-actions[hidden] { display: none; }
.cp-msg-actions .b-lien, .cp-msg-confirme .b-lien { min-height: 2.25rem; margin-top: 0; font-size: .8rem; }
.cp-msg-confirme { align-items: center; flex-wrap: wrap; }
.cp-msg-question { font-size: .9rem; font-weight: 400; color: var(--encre); }

/* PLUSIEURS GROUPES DE CHOIX SUR UN ECRAN (20 nov. 2026, Matylda, phase 3 du module II : « Je décris ce que je vois / ce que je sens »), valide sur maquette */
.protocole .nominations-groupe { width: 100%; max-width: 21rem; margin: var(--e2) auto 0; display: flex; flex-direction: column; gap: var(--e3); }
.protocole .nominations-titre { margin: 0 0 var(--e1); text-align: center; font-size: .72rem; font-weight: 400; letter-spacing: .08em; color: var(--gris); }
.protocole .nominations-groupe .nomination { margin: 0; width: 100%; max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--e1) var(--e2); }
.protocole .nominations-groupe .nomination:not(.nomination-ronds) .nom-option { width: auto; padding: var(--e1) var(--e3); font-size: .82rem; font-weight: 400; background: var(--fond); border: 1px solid var(--trait); border-radius: 999px; line-height: 1.4; }
.protocole .nominations-groupe .nom-option.choisi:not(.rond-couleur) { border-color: var(--encre); box-shadow: inset 0 0 0 1px var(--encre); font-weight: 500; }
.protocole .nominations-groupe .nomination.active .nom-option { opacity: 1; }
.protocole .nominations-groupe .nomination.active .nom-option:not(.choisi) { opacity: .4; }
.protocole .nominations-groupe .nomination-ronds .nom-option:not(.rond-couleur) { width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--trait); border-radius: 50%; }
.protocole .nominations-groupe .nomination-ronds .nom-option .icone-trait { width: 1.2rem; height: 1.2rem; }
.protocole .nominations-groupe .nomination-ronds .nom-option.rond-couleur { flex: 0 0 1.5rem; width: 1.5rem; height: 1.5rem; margin: var(--e2) var(--e3); animation: none; }
.protocole .nominations-groupe .nomination-ronds .nom-option.rond-couleur::after { inset: -8px; }
.protocole .nominations-groupe .nomination-ronds .nom-rond { width: auto; }

/* PLUSIEURS GROUPES DE CHOIX SUR UN ECRAN (20 nov. 2026, Matylda, phase 3 du module II : « Je décris ce que je vois / ce que je sens »), valide sur maquette */
.nominations-groupe { width: 100%; max-width: 21rem; margin: var(--e3) auto 0; display: flex; flex-direction: column; gap: var(--e4); }
.nominations-titre { margin: 0 0 var(--e2); text-align: center; font-size: .78rem; font-weight: 400; letter-spacing: .06em; color: var(--gris); }
.nominations-groupe .nomination { margin: 0; max-width: none; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: var(--e2); }
.nominations-groupe .nom-option { width: auto; padding: var(--e2) var(--e3); font-size: .85rem; font-weight: 400; background: var(--fond); border-radius: 999px; }
.nominations-groupe .nom-option.choisi { background: var(--encre); color: var(--fond); }
.nominations-groupe .nomination.active .nom-option { opacity: 1; }
.nominations-groupe .nomination.active .nom-option:not(.choisi) { opacity: .45; }
.protocole .nominations-groupe .nom-option.choisi:not(.rond-couleur) { color: var(--encre); background: var(--fond); }
.protocole .nominations-groupe .nom-rond-nom { display: none; }
.protocole .nominations-groupe .nomination-ronds .nom-rond { width: auto; gap: 0; margin: 0; }
.protocole .nominations-groupe .nomination-ronds:not(.nomination-couleurs) { gap: var(--e2); flex-wrap: nowrap; }
.protocole .nominations-groupe .nomination-ronds .nom-option.rond-signe { width: 2.75rem; height: 2.75rem; }

/* plus d'air */
.protocole .nominations-groupe { gap: var(--e5); margin-top: var(--e3); }
.protocole .nominations-groupe .nomination { gap: var(--e3) var(--e3) !important; }
/* ecran 1 : formes serrees sur une rangee, couleurs 3 + 3 ; le titre ne bouge pas, les signes remontent */
.protocole .nominations-groupe .nomination-ronds { flex-wrap: nowrap; gap: var(--e3) !important; margin-top: calc(-1 * var(--e2)); }
.protocole .nominations-groupe .nomination-ronds .nom-rond { width: 2.75rem !important; flex: 0 0 2.75rem !important; margin: 0 !important; }
.protocole .nominations-groupe .nomination-ronds .nom-option:not(.rond-couleur) { width: 2.75rem !important; height: 2.75rem !important; margin: 0 !important; }
.protocole .nominations-groupe .nomination-couleurs { flex-wrap: wrap !important; width: 11.5rem; margin-left: auto; margin-right: auto; gap: var(--e3) var(--e4) !important; }
.protocole .nominations-groupe .nomination-couleurs .nom-option.rond-couleur { margin: 0 !important; flex: 0 0 2rem; width: 2rem; height: 2rem; }
/* ecran 2 : trois en-tetes fermes */
.protocole .nominations-groupe.fermees { gap: 0; margin-top: var(--e4); }
.protocole .nominations-bloc.ferme .nomination { display: none; }
.protocole .nominations-tete { width: 100%; display: flex; align-items: center; gap: var(--e3); padding: var(--e4) 0; background: none; border: 0; border-bottom: 1px solid var(--trait); font-family: inherit; color: var(--encre); cursor: pointer; text-align: left; }
.protocole .nominations-bloc:first-child .nominations-tete { border-top: 1px solid var(--trait); }
.protocole .nominations-tete .nominations-titre { margin: 0; flex: 1; text-align: left; font-size: .82rem; letter-spacing: .08em; color: var(--encre); }
.protocole .nominations-valeur { font-size: .9rem; font-weight: 500; }
.protocole .nominations-chevron { width: 8px; height: 8px; border-right: 1.5px solid var(--gris); border-bottom: 1.5px solid var(--gris); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.protocole .nominations-bloc:not(.ferme) .nominations-chevron { transform: rotate(-135deg) translateY(-2px); }
.protocole .nominations-bloc:not(.ferme) .nomination { padding: var(--e4) 0 var(--e3); }
.protocole .nominations-groupe .nomination-ronds:not(.nomination-couleurs) { gap: var(--e2) !important; justify-content: center; }
.protocole .nominations-groupe .nomination-ronds:not(.nomination-couleurs) .nom-rond, .protocole .nominations-groupe .nomination-ronds:not(.nomination-couleurs) .nom-option { width: 2.5rem !important; height: 2.5rem !important; flex: 0 0 2.5rem !important; }
/* v3 : formes 3 + 3 comme les couleurs, le bloc remonte (centre optique de l'ecran) */
.protocole .nominations-groupe:not(.fermees) { gap: var(--e5); }   /* le bloc remonte (20 nov. 2026, Matylda : « plus haut, plus d'air ») */
.protocole .nominations-groupe .nomination-ronds:not(.nomination-couleurs) { flex-wrap: wrap !important; width: 11.5rem; margin-left: auto; margin-right: auto; gap: var(--e3) var(--e4) !important; }
.protocole .nominations-groupe .nomination-ronds:not(.nomination-couleurs) .nom-rond, .protocole .nominations-groupe .nomination-ronds:not(.nomination-couleurs) .nom-option { width: 2rem !important; height: 2rem !important; flex: 0 0 2rem !important; }
.protocole .nominations-groupe .nomination-ronds:not(.nomination-couleurs) .nom-option .icone-trait { width: 1.1rem; height: 1.1rem; }
/* en colonne de droite (ordinateur), le visuel se cale sur son contenu : les trois lignes gardent la largeur d'un ecran de telephone */
.protocole .nominations-groupe { width: 21rem; max-width: 100%; }
.actions-bloc.actions-serre .actions-liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--e2); margin-top: var(--e3); width: 21rem; }   /* six gestes : deux colonnes (20 nov. 2026, Matylda : « trop long, pas joli ») */
.actions-bloc.actions-serre .action-option { min-height: 3.4rem; padding: var(--e2) var(--e3); font-size: .9rem; line-height: 1.35; }
/* CARTES BLEU / ROUGE : un seul rectangle (21 nov. 2026, Matylda : « pourquoi deux cases ? ») : la carte interne perd son trait et son fond, tout vit dans le rectangle de couleur ; empiles : les deux rectangles l'un au-dessus de l'autre */
.b-choix-un .b-choix-etat .b-choix-carte { border: 0; padding: 0; background: none; box-shadow: none; }
.b-choix-empiles { display: grid; gap: var(--e3); }
.b-choix-empiles .b-choix-etat { margin-top: 0; }
.b-choix-empiles .b-choix-tete { display: flex; align-items: center; gap: var(--e2); }
.b-choix-empiles .b-choix-phrase { margin-top: var(--e2); }


/* MON PROTOCOLE (cartographie) : le mantra, une carte, la question de secours dessous (22 nov. 2026) ; l'accueil remonte */
.page-protocole-carto .b-entete { margin-bottom: var(--e4); }
.carto-mantra { margin: var(--e4) 0 var(--e5); padding: var(--e5) var(--e4); text-align: center; background: var(--fond); border: 1px solid var(--trait); border-radius: var(--r-carte);
  box-shadow: 0 var(--e3) var(--e5) color-mix(in srgb, var(--encre) 8%, transparent); }
.carto-mantra-rond { display: block; width: var(--e3); height: var(--e3); margin: 0 auto var(--e4); border-radius: 50%; background: var(--encre); }
.carto-mantra-texte { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.5rem; font-weight: 400; line-height: 1.5; text-wrap: balance; color: var(--encre); }
.carto-mantra-ou { margin: var(--e4) auto 0; padding-top: var(--e4); max-width: 18rem; border-top: 1px solid var(--trait); font-size: .8rem; font-weight: 300; line-height: 1.5; color: var(--gris); text-wrap: balance; }
@media (min-width: 1100px) { .carto-mantra-texte { font-size: 1.875rem; } }
/* bilan : deux questions à réponse libre sur un même écran (MON ENGAGEMENT) : on resserre pour que tout tienne au-dessus du bouton */
.cp-parpage .cp-questions:has(> .cp-question + .cp-question) > .cp-question { margin-bottom: var(--e4); }
.cp-parpage .cp-questions:has(> .cp-question + .cp-question) .cp-question-texte { margin-bottom: var(--e3); }
.cp-parpage .cp-questions:has(> .cp-question + .cp-question) .journal-q-champ { height: 5.5rem; min-height: 0; }
/* bilan, écran de clôture (modules I et II) : le geste plus grand, plus d'air autour du trait, des lignes courtes et centrées */
.cp-parpage .journal-fin-bloc { padding-top: var(--e6); }
.cp-parpage .journal-fin-bloc .cp-fin-geste { font-size: 1.25rem; font-weight: 500; line-height: 1.5; }
.cp-parpage .journal-fin-bloc .cp-fin-corps { font-size: 1rem; line-height: 1.8; }
.cp-parpage .journal-fin-bloc .cp-sep { margin: var(--e5) 0 !important; }
.cp-parpage .journal-fin-bloc .cp-fin-corps + .cp-fin-corps { margin-top: var(--e5); }

/* Les notes « À ÉCRIRE » / « À VALIDER » d'un ecran de roue, pour l'administratrice seulement (23 nov. 2026) : position fixe, rien ne bouge dans l'ecran ;
   elles ne se montrent que tant que l'ecran de roue (#detail) est ouvert */
.note-admin-hote, .note-admin-panneau { display: none; }
body:has(#detail.actif) .note-admin-hote { display: block; }
body:has(#detail.actif) .note-admin-panneau:not([hidden]) { display: block; }
.note-admin-hote { position: fixed; top: calc(var(--haut, 0px) + var(--e1)); left: 50%; transform: translateX(-50%); z-index: 47; }
.note-admin-hote .b-lien { margin: 0; padding: var(--e1) var(--e3); background: var(--fond); white-space: nowrap; }
.note-admin-panneau { position: fixed; left: var(--e4); right: var(--e4); top: calc(var(--haut, 0px) + var(--e6)); z-index: 48; box-sizing: border-box; max-height: 60vh; overflow-y: auto;
  padding: var(--e4); background: var(--voile); border: 1px solid var(--trait); border-radius: var(--r-carte); cursor: pointer; }
.note-admin-panneau .b-encart-titre { margin: 0 0 var(--e2); }
.note-admin-panneau .b-encart-titre:not(:first-child) { margin-top: var(--e4); }
@media (min-width: 1100px) { .note-admin-panneau { left: auto; right: var(--e5); width: 34rem; max-width: calc(100vw - var(--e6)); } }

/* SANS COMPTE (24 nov. 2026, Matylda) : l'arrivee porte un vrai bouton « Je cree mon espace » ; la grille de l'ecran donne --e4 entre chaque element, rien d'autre ne s'y ajoute (plus serre) */
#accueil.accueil-visiteur .accueil-question { padding-bottom: 0; }
#accueil .accueil-creer { width: 100%; max-width: 34rem; box-sizing: border-box; margin: 0; }   /* la largeur du champ */
#accueil .accueil-creer-ind { margin: 0; }
/* pendant le chemin : « Mon espace privé → » en haut a droite, sous la ligne de l'espace et de la branche (jamais dans le protocole d'urgence) */
.detail-garder { display: none; position: absolute; right: var(--e4); top: var(--e5); padding: var(--e1); white-space: nowrap; z-index: 5; }
body.roue-visiteur #detail.actif:not([data-espace="ramener"]) .detail-garder { display: block; }

/* MES CERCLES (module III, 26 nov. 2026, valide par Matylda) : fond tres pale de la couleur du cercle, trait fin, nom COURBE a l'exterieur.
   L'interieur est reserve aux mots de la personne. Le dessin fait 348 unites de large, au plus la largeur de l'ecran. */
.cercles-bloc { width: 100%; display: flex; flex-direction: column; align-items: center; }
.cercles-figure { position: relative; width: 348px; flex: 0 0 auto; }
.cercles-figure > svg { display: block; overflow: visible; }
.cercle-fond { fill-opacity: .055; mix-blend-mode: multiply; }
.cercle-fond.doux { fill-opacity: .03; }
.cercle-trait { fill: none; stroke-width: 1.4; }
.cercle-trait.doux { opacity: .45; }
.cercle-touche { cursor: pointer; outline: none; }
.cercle-touche .cercle-fond { pointer-events: all; }
.cercle-touche:focus-visible .cercle-trait { stroke-width: 3; }
.cercle-nom { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; pointer-events: none; }
.cercle-nom.long { letter-spacing: .02em; }
.cercle-vide, .cercle-anneau { fill: none; stroke: var(--gris); stroke-width: .9; stroke-dasharray: 3 5; pointer-events: none; }
.cercle-mot { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; margin: 0; padding: 0 var(--e1); border: 1px solid transparent; border-radius: 999px;
  background: none; font: inherit; font-size: .875rem; font-weight: 300; line-height: 1.6; color: var(--encre); pointer-events: none; }
button.cercle-mot { pointer-events: auto; cursor: pointer; }
.cercle-mot.petit { max-width: 7.5rem; overflow: hidden; text-overflow: ellipsis; }
.cercle-mot.pale { color: var(--gris); opacity: .55; }
.cercle-mot.revient { padding: 0 var(--e3); background: var(--fond); }
.cercle-plus { width: 2.75rem; height: 2.75rem; font-size: 1.6rem; color: var(--gris); }
.cercle-faut { max-width: 7.75rem; width: max-content; white-space: normal; text-wrap: balance; line-height: 1.35; font-size: .78rem; color: var(--gris); background: var(--voile); border-color: var(--trait); border-radius: var(--r-carte); padding: var(--e1) var(--e2); }
.cercle-faut.courant { border-color: var(--encre); color: var(--encre); }
.cercle-faut.a-moi { background: var(--fond); color: var(--encre); }
.cercle-faut.sorti:not(.courant) { opacity: .5; background: none; }
.cercle-nuage { position: absolute; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: var(--e1) var(--e3); pointer-events: none; }
.cercle-dedans { pointer-events: auto; background: none; border: 0; margin: 0; padding: var(--e1); font: inherit; font-size: .95rem; font-weight: 300; line-height: 1.4; color: var(--encre); cursor: pointer; }
.cercle-dedans.pale { color: var(--gris); opacity: .55; }
.cercles-mots { width: 100%; text-align: center; margin-top: var(--e1); }
.cercles-mots-nom { margin: 0 0 var(--e1); font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gris); }
.cercle-mot.cercles-mots-nom { margin: 0; }
.cercles-bloc .cercles-bulles { justify-content: center; margin-top: var(--e2); }
.cercles-bloc .cercles-mots .cercles-bulles { margin-top: 0; }
.journal-choix-bouton.pale { color: var(--gris); opacity: .55; }
.cercles-champ { width: 100%; max-width: 28rem; box-sizing: border-box; }
.parcours-une .cercles-champ, .parcours-c .cercles-champ { height: 2.75rem; min-height: 0; }
.parcours-une .cercles-phrase { margin: var(--e2) 0 0; }
.parcours-une .cercles-phrase + .cercles-champ { margin-top: var(--e3); }
.cercles-bloc .cercles-note { margin: var(--e2) auto 0; }
/* « Un autre cercle → » : un lien discret (le meme role que « En savoir plus + »), jamais un second gros bouton */
.cercles-bloc .cercles-autre { margin-top: var(--e2); min-height: 2.25rem; padding: 0 var(--e3); background: none; border: 0; font: inherit; font-size: .75rem; font-weight: 600; letter-spacing: .12em; color: var(--gris); cursor: pointer; }
.cercle-axe { fill: var(--fond); }
.cercle-axe-arc { fill: none; stroke-width: 2.6; stroke-linecap: round; }
.cercle-acte { stroke: var(--encre); stroke-width: 1.2; }
.cercle-acte-point { fill: var(--encre); }
.cercle-faut.sorti:not(.courant) { opacity: 1; background: var(--fond); border-color: var(--trait); color: color-mix(in srgb, var(--gris) 55%, var(--fond)); }
/* ALLEGE (26 nov. 2026, retour de Matylda) : une simple ligne pour ecrire sous les « il faut » et sous mon axe, et la question en leger */
.parcours-une .cercles-champ.cercles-ligne, .parcours-c .cercles-champ.cercles-ligne { margin-top: var(--e4); padding: var(--e2) 0; text-align: center; background: none; border: 0; border-bottom: 1px solid var(--trait); border-radius: 0; }
.parcours-une .cercles-champ.cercles-ligne + .cercles-champ.cercles-ligne, .parcours-c .cercles-champ.cercles-ligne + .cercles-champ.cercles-ligne { margin-top: var(--e2); }
.cercles-champ.cercles-ligne:focus { outline: none; border-bottom-color: var(--encre); }
.parcours-une .parcours-corps .cercles-bloc .cercles-question { margin: var(--e4) auto 0; max-width: 19rem; text-align: center; text-wrap: balance; font-size: .95rem; line-height: 1.7; }
.parcours-une .cercles-trier .cercles-phrase { margin-top: var(--e4); }
.parcours-une .cercles-question + .cercles-champ.cercles-ligne { margin-top: var(--e2); }
/* « En savoir plus » d'une exploration (modules II et III) : une idee par bloc, aligne a gauche, un fil entre deux blocs */
.parcours-une .parcours-plus .b-plus-texte { max-width: 21rem; margin: 0 auto; padding: var(--e4) 0; text-align: left; line-height: 1.7; white-space: pre-line; border-top: 1px solid var(--trait); }
.parcours-une .parcours-plus summary + .b-plus-texte { margin-top: var(--e3); border-top: 0; padding-top: var(--e2); }
/* les ecrans de cercles tiennent dans le telephone : des bulles un peu plus serrees, et moins d'air autour du dessin */
.cercles-bloc .journal-choix { gap: var(--e2); }
.cercles-bloc .journal-choix-bouton { min-height: 2.25rem; padding-top: var(--e1); padding-bottom: var(--e1); }
@media (max-width: 1099.98px) {
  .parcours-une .parcours-corps:has(> .cercles-bloc) > .parcours-consigne { margin-bottom: var(--e1); }
  .parcours-une .parcours-corps > .cercles-bloc ~ .parcours-plus { margin: var(--e1) 0 0; }
  .parcours-une .parcours-corps:has(> .cercles-bloc) > .parcours-pied { padding-top: var(--e2); }
}
@media (max-width: 1099.98px) { .parcours-une .parcours-corps:has(> .parcours-plus[open]) > .cercles-bloc { display: none; } }
