/* L'espace élève (17/11/2026) : téléphone d'abord, un geste par écran.
   Couleurs et police : la charte du site (site/css/mon-trader-ia.css, seule autorité). Fond clair. */
.photo { object-fit: cover; background: var(--muted); }
.avatar.grand { width: 56px; height: 56px; font-size: 22px; }
.avatar.vide { background: var(--muted); color: var(--muted-foreground); }
.liste-etapes { list-style: none; margin: 6px 0 4px; padding: 0; }
.liste-etapes li { font-size: 14px; padding: 3px 0 3px 22px; position: relative; color: var(--muted-foreground); }
.liste-etapes li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 10px; height: 10px; border-radius: 3px; border: 1.5px solid var(--border-strong); }
.liste-etapes li.fait { color: var(--foreground); }
.liste-etapes li.fait::before { background: var(--success); border-color: var(--success); }

/* L'entrée */
.bienvenue { padding: 8px 0 18px; }
.porte-etapes { margin: 0 0 18px; padding-left: 22px; display: grid; gap: 8px; font-size: 16px; }
.porte .bouton-phare { display: block; text-align: center; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--muted); margin: 0 0 18px;
  box-shadow: 0 10px 30px rgba(10,11,16,.08); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.entrer h2 { font-size: 22px; }
.bouton.google { background: var(--card); color: var(--foreground); border: 1px solid var(--border-strong); box-shadow: 0 1px 2px rgba(10,11,16,.06); }
.bouton.google svg { width: 22px; height: 22px; }
.ou { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--muted-foreground); font-size: 14px; }
.ou::before, .ou::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.envoye { text-align: center; padding: 26px 20px; }
.rond-mail { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 14px; background: var(--accent-wash); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; }
.rond-mail svg { width: 28px; height: 28px; }

/* L'accueil */
.accueil-tete { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.accueil-tete .lien-retour { margin: 0; }
.coches { list-style: none; margin: 0; padding: 0; }
.coches li { position: relative; padding: 8px 0 8px 32px; font-size: 15px; }
.coches li::before { content: ""; position: absolute; left: 0; top: 10px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-wash); border: 2px solid var(--accent); box-sizing: border-box; }
.coches li::after { content: ""; position: absolute; left: 7px; top: 14px; width: 6px; height: 10px; border: solid var(--accent-text);
  border-width: 0 2px 2px 0; transform: rotate(45deg); }
.skool { list-style: none; margin: 0; padding: 0; }
.skool li { padding: 12px 0; border-top: 1px solid var(--border); font-size: 15px; }
.skool li:first-child { border-top: 0; padding-top: 0; }
.pas { margin: 0 0 6px; padding: 0; list-style: none; counter-reset: pas; }
.pas li { counter-increment: pas; position: relative; padding: 4px 0 14px 44px; }
.pas li::before { content: counter(pas); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent-text); font-weight: 750; display: flex; align-items: center; justify-content: center; }
.bouton.copie { background: var(--success) !important; color: #fff !important; border-color: var(--success) !important; }

/* Le tableau de bord */
.carte.une { background: linear-gradient(160deg, #FFFFFF 0%, #F6F4FF 100%); border-color: rgba(139,127,224,.25);
  box-shadow: 0 14px 40px rgba(110,97,214,.12); padding: 22px; }
.carte.une h2 { font-size: 24px; letter-spacing: -0.03em; }
.lien-carte { display: block; text-decoration: none; color: inherit; }
.rdv-ligne { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 550; }
.rdv-ligne svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; }
.titre-section { margin: 30px 0 12px; }
.semaine { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; }
.semaine li + li { border-top: 1px solid var(--border); }
.semaine a, .semaine li > div { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px 14px;
  text-decoration: none; color: inherit; }
.semaine a:active { background: var(--muted); }
.semaine .pion { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-weight: 750;
  background: var(--accent-wash); color: var(--accent-text); }
.semaine .pion svg { width: 18px; height: 18px; }
.semaine .quoi b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.semaine .quoi small { display: block; font-size: 13px; color: var(--muted-foreground); margin-top: 2px; }
.semaine li.fait .pion { background: var(--success); color: #fff; }
.semaine li.ferme .pion { background: var(--muted); color: var(--disabled-foreground); }
.semaine li.ferme .quoi b { color: var(--muted-foreground); }
.semaine li.courant .pion { background: var(--primary); color: var(--on-primary); box-shadow: 0 6px 16px rgba(110,97,214,.3); }
.tuiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tuile { display: block; background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 14px; text-decoration: none; color: inherit; min-height: 84px; }
.tuile b { display: block; color: var(--accent-text); }
.tuile small { display: block; font-size: 13px; color: var(--muted-foreground); margin-top: 4px; line-height: 1.35; }
.tuile:active { background: var(--muted); }

/* La page du jour */
.temps { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted-foreground); margin: 12px 0 20px;
  background: var(--muted); border-radius: 999px; padding: 5px 12px 5px 9px; }
.temps svg { width: 16px; height: 16px; flex: none; }
.jour-infos .temps { align-items: flex-start; border-radius: 14px; padding: 8px 12px; line-height: 1.45; max-width: 720px; }
.jour-infos .temps svg { margin-top: 2px; }
.ferme-carte { text-align: center; padding: 26px 20px; }
.cadenas { width: 54px; height: 54px; border-radius: 50%; background: var(--muted); color: var(--muted-foreground); margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center; }
.cadenas svg { width: 26px; height: 26px; }
.apercu { margin: 0; padding-left: 20px; color: var(--muted-foreground); font-size: 15px; }
.avance { position: sticky; top: 56px; z-index: 4; background: rgba(250,250,247,.92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  margin: 0 -16px 12px; padding: 10px 16px; font-size: 13px; font-weight: 600; color: var(--muted-foreground); }
.avance .barre { margin-top: 6px; }
@media (max-width: 760px) { .avance { top: 92px; } }
.etape { scroll-margin-top: 150px; transition: border-color .2s, background .2s; }
.etape-tete { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.etape-tete .pion { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-wash); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; font-weight: 750; transition: background .2s, color .2s; }
.etape-tete h2 { font-size: 18px; line-height: 1.3; padding-top: 5px; }
.etape-corps p, .etape-corps li { font-size: 16px; }
.etape-corps ul, .etape-corps ol { padding-left: 22px; margin: 0 0 12px; }
.etape-corps li { margin: 4px 0; }
.etape.faite { border-color: rgba(21,128,61,.3); background: #FBFDFB; }
.etape.faite .etape-tete .pion { background: var(--success); color: #fff; }
.capture { margin: 6px 0 16px; }
.capture img { display: block; width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--border-strong); box-shadow: 0 6px 20px rgba(10,11,16,.06); }
.capture figcaption { font-size: 13px; color: var(--muted-foreground); margin-top: 6px; }
.a-dire { background: var(--accent-wash); border: 1px solid rgba(139,127,224,.25); border-radius: 12px; padding: 12px 14px; margin: 6px 0 14px; }
.a-dire .etiquette { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: 6px; }
.a-dire p { margin: 0 0 10px; font-size: 16px; font-weight: 500; }
.a-dire p:last-child { margin-bottom: 0; }
.encadre { border-radius: 12px; padding: 12px 14px; margin: 6px 0 14px; font-size: 15px; }
.encadre b:first-child { display: block; margin-bottom: 2px; }
.encadre.astuce { background: rgba(21,128,61,.07); }
.encadre.attention { background: rgba(180,83,9,.08); }
.coche { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; margin-top: 8px; padding: 10px 14px; font: inherit;
  font-weight: 650; font-size: 16px; border-radius: 12px; border: 1.5px dashed var(--border-strong); background: var(--card); color: var(--foreground); cursor: pointer;
  transition: background .2s, border-color .2s, color .2s; }
.coche .boite { width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--border-strong); display: flex; align-items: center; justify-content: center; flex: none;
  transition: background .2s, border-color .2s; }
.coche .boite svg { width: 16px; height: 16px; color: #fff; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .25s cubic-bezier(.2,1.4,.4,1); }
.coche[aria-pressed=true] { border-style: solid; border-color: var(--success); background: rgba(21,128,61,.07); color: var(--success); }
.coche[aria-pressed=true] .boite { background: var(--success); border-color: var(--success); }
.coche[aria-pressed=true] .boite svg { opacity: 1; transform: scale(1); }
.message h2 { font-size: 18px; }
.bouton.whatsapp { background: #128C4A; box-shadow: 0 8px 24px rgba(18,140,74,.25); }
.jours-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.jours-nav .bouton { width: auto; flex: 1; max-width: 48%; }

/* ---------------------------------------------------------------------------------------------
   L'espace comme une application (17/11/2026) : en-tête d'une ligne, onglets en bas sur téléphone,
   installable sur l'écran d'accueil, gestes qui répondent au doigt.
   --------------------------------------------------------------------------------------------- */
body.espace { -webkit-tap-highlight-color: transparent; }
body.espace .entete { padding-top: env(safe-area-inset-top); }
body.espace .entete .dedans { height: 56px; flex-wrap: nowrap; padding-top: 0; }
body.espace .entete .dedans .brand { height: auto; }
.moi { width: 36px; height: 36px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #8B7FE0, #5B4FC4); color: #fff; font-weight: 700; font-size: 15px; text-decoration: none;
  box-shadow: 0 4px 12px rgba(110,97,214,.25); }
.nav-large { margin-left: auto; }
@media (max-width: 760px) { .nav-large { display: none !important; } }

.onglets { display: none; }
@media (max-width: 760px) {
  .onglets { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.88);
    backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
    border-top: 1px solid var(--border); }
  .onglets a { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px; border-radius: 14px;
    text-decoration: none; color: var(--muted-foreground); font-size: 11px; font-weight: 600; letter-spacing: .01em;
    transition: color .2s, transform .15s; }
  .onglets a svg { width: 24px; height: 24px; transition: transform .25s cubic-bezier(.2,1.4,.4,1); }
  .onglets a.actif { color: var(--accent-text); }
  .onglets a.actif svg { transform: translateY(-1px) scale(1.08); }
  .onglets a.actif::after { content: ""; width: 18px; height: 3px; border-radius: 3px; background: var(--primary); margin-top: 1px; }
  .onglets a:active { transform: scale(.92); }
  body.avec-onglets .page { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  body.avec-onglets footer.pied { display: none; }
  body.espace .avance { top: calc(56px + env(safe-area-inset-top)); }
}

/* Le doigt : chaque bouton et chaque carte répond */
body.espace .bouton, body.espace .lien-carte, body.espace .semaine a, body.espace .tuile, body.espace .coche, body.espace .choix span {
  transition: transform .14s ease, filter .2s, background .2s, border-color .2s, color .2s; }
body.espace .bouton:active, body.espace .lien-carte:active, body.espace .tuile:active, body.espace .coche:active { transform: scale(.975); }
body.espace .semaine a:active { transform: scale(.99); }

/* L'arrivée de chaque écran */
@keyframes entree { from { transform: translateY(12px); } to { transform: none; } }
body.espace main.page { animation: entree .38s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) { body.espace main.page { animation: none; } }

/* L'accueil de l'espace : la date, la semaine d'un coup d'œil */
.salut { margin: 0 0 20px; }
.salut .eyebrow { margin-bottom: 6px; }
.salut .frise { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 16px 0 8px; }
.salut .frise span { height: 8px; border-radius: 8px; background: var(--cadran-vide); position: relative; overflow: hidden; }
.salut .frise span.ouvert { background: rgba(139,127,224,.28); }
.salut .frise span.fait { background: var(--success); }
.salut .frise span.courant { background: var(--primary); box-shadow: 0 0 0 3px rgba(110,97,214,.15); }
.salut .frise span.courant::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.55), transparent);
  animation: lueur 2.4s ease-in-out infinite; }
@keyframes lueur { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
.frise-texte { margin: 0; }

/* Installer l'espace */
.installer { display: flex; gap: 14px; align-items: flex-start; position: relative; padding-right: 44px; }
.installer[hidden] { display: none; }
.installer img { border-radius: 13px; flex: none; box-shadow: 0 6px 16px rgba(110,97,214,.3); }
.installer b { display: block; font-size: 16px; }
.installer p { margin: 2px 0 0; }
.installer .bouton { margin-top: 10px; }
.installer .fermer { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: 0; border-radius: 50%;
  background: var(--muted); color: var(--muted-foreground); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.installer .fermer svg { width: 16px; height: 16px; }

/* Mon compte */
.compte-carte .avatar { width: 44px; height: 44px; }
.liens-compte { display: grid; margin-top: 12px; border-top: 1px solid var(--border); }
.liens-compte a { display: flex; justify-content: space-between; align-items: center; padding: 13px 2px; text-decoration: none;
  color: var(--foreground); font-weight: 550; border-bottom: 1px solid var(--border); }
.liens-compte a:last-child { border-bottom: 0; color: var(--error); }
.liens-compte a::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--disabled-foreground);
  border-top: 2px solid var(--disabled-foreground); transform: rotate(45deg); }
.titre-section { scroll-margin-top: 80px; }

/* Le jour : une étape ouverte à la fois, les autres pliées */
.etape { padding: 0; overflow: hidden; }
.etape .etape-tete { display: flex; gap: 12px; align-items: center; width: 100%; margin: 0; padding: 16px 16px; background: none; border: 0;
  font: inherit; color: inherit; text-align: left; cursor: pointer; }
.etape .etape-tete h2 { flex: 1; padding-top: 0; font-size: 17px; }
.etape .pion { position: relative; }
.etape .pion svg { position: absolute; width: 18px; height: 18px; opacity: 0; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.2,1.4,.4,1); }
.etape.faite .pion .num { opacity: 0; }
.etape.faite .pion svg { opacity: 1; transform: scale(1); }
.etape .chevron { width: 20px; height: 20px; flex: none; color: var(--disabled-foreground); transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.etape.ouverte .chevron { transform: rotate(180deg); color: var(--accent-text); }
.etape-interieur { padding: 0 16px 16px; }
html.js .etape-pli { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2,.8,.2,1); }
html.js .etape-pli > .etape-interieur { min-height: 0; overflow: hidden; padding-bottom: 0; transition: padding .35s; }
html.js .etape.ouverte .etape-pli { grid-template-rows: 1fr; }
html.js .etape.ouverte .etape-pli > .etape-interieur { padding-bottom: 16px; }
.etape.ouverte { border-color: rgba(139,127,224,.35); box-shadow: 0 12px 32px rgba(110,97,214,.10); }
.etape.faite:not(.ouverte) .etape-tete h2 { color: var(--muted-foreground); }
.etape.faite { background: var(--card); }
.etape.faite.ouverte { background: #FBFDFB; }
.etape { scroll-margin-top: calc(120px + env(safe-area-inset-top)); }
.avance { transition: color .3s; }
.avance.complet { color: var(--success); }
.avance.complet .barre i { background: var(--success); }
.avance .barre i { transition: width .45s cubic-bezier(.2,.8,.2,1), background .3s; }

/* La fin du jour */
.fete { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center;
  background: rgba(10,11,16,.38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .25s; }
.fete[hidden] { display: none; }
.fete.visible { opacity: 1; }
.fete-carte { position: relative; width: 100%; max-width: 480px; background: var(--card); border-radius: 26px 26px 0 0; text-align: center;
  padding: 30px 22px calc(22px + env(safe-area-inset-bottom)); transform: translateY(40px); transition: transform .45s cubic-bezier(.2,1.2,.3,1); }
.fete.visible .fete-carte { transform: none; }
@media (min-width: 761px) { .fete { align-items: center; } .fete-carte { border-radius: 26px; } }
.fete-carte h2 { font-size: 26px; letter-spacing: -0.03em; }
.fete-rond { width: 76px; height: 76px; border-radius: 50%; margin: -68px auto 14px; background: linear-gradient(135deg, #22A35A, #15803D);
  display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(21,128,61,.35), 0 0 0 8px var(--card); }
.fete-rond svg { width: 38px; height: 38px; }
.fete.visible .fete-rond { animation: pop .5s .15s cubic-bezier(.2,1.6,.4,1); }
@keyframes pop { from { transform: scale(.7); } to { transform: none; } }
.fete-confettis { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.fete-confettis i { position: absolute; top: -20px; left: calc(var(--x) * 1%); width: 8px; height: 14px; border-radius: 2px; opacity: 0;
  background: #8B7FE0; transform: rotate(var(--r)); }
.fete-confettis i[style*="--c:1"] { background: #6E61D6; width: 7px; height: 7px; border-radius: 50%; }
.fete-confettis i[style*="--c:2"] { background: #22A35A; }
.fete-confettis i[style*="--c:3"] { background: #C9C2F5; }
.fete.visible .fete-confettis i { animation: tombe 2.2s var(--d) cubic-bezier(.3,.6,.4,1) forwards; }
@keyframes tombe { 0% { opacity: 1; transform: translateY(0) rotate(var(--r)); } 100% { opacity: 0; transform: translateY(95vh) rotate(calc(var(--r) + 540deg)); } }
@media (prefers-reduced-motion: reduce) { .fete-confettis { display: none; } .fete-carte { transition: none; } }

/* Une capture en grand */
.capture a { display: block; position: relative; }
.capture a::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%;
  background: rgba(10,11,16,.55) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat; }
.loupe { position: fixed; inset: 0; z-index: 60; background: rgba(10,11,16,.94); display: flex; flex-direction: column; opacity: 0; transition: opacity .2s; }
.loupe[hidden] { display: none; }
.loupe.visible { opacity: 1; }
.loupe-defile { flex: 1; overflow: auto; display: flex; align-items: center; justify-content: center; padding: calc(60px + env(safe-area-inset-top)) 10px 10px;
  touch-action: pan-x pan-y pinch-zoom; }
.loupe-defile img { max-width: 100%; height: auto; border-radius: 10px; transform: scale(.96); transition: transform .25s cubic-bezier(.2,1.2,.3,1); }
.loupe.visible .loupe-defile img { transform: none; }
.loupe-legende { color: rgba(255,255,255,.8); font-size: 14px; text-align: center; margin: 0; padding: 12px 20px calc(18px + env(safe-area-inset-bottom)); }
.loupe-fermer { position: absolute; top: calc(12px + env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 1; }
.loupe-fermer svg { width: 22px; height: 22px; }
@media (max-width: 760px) { body.avec-onglets .page-jour > .lien-retour { display: none; } }

.loupe-defile img { cursor: zoom-in; }
.loupe.zoom .loupe-defile { justify-content: flex-start; }
.loupe.zoom .loupe-defile img { max-width: none; width: 220%; cursor: zoom-out; }
@media (min-width: 761px) { .loupe.zoom .loupe-defile img { width: 160%; } }
.loupe-legende::after { content: " · touche l'image pour l'agrandir"; opacity: .6; }
.loupe.zoom .loupe-legende::after { content: " · touche pour revenir"; }
body.espace .avance { background: var(--background); box-shadow: 0 8px 12px -10px rgba(10,11,16,.12); }

/* Le petit guide « Pas encore d'IA ? » de l'accueil (Ce qu'il te faut) */
.guide-ia { border: 1.5px solid var(--accent-wash, #ece9fb); }
.guide-ia-titre { font-size: 17px; display: block; }
.guide-ia-choix { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.guide-ia-carte { background: var(--background, #FAFAF7); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; }
.guide-ia-carte > b { font-size: 16px; margin-bottom: 10px; }
.guide-ia-carte .pas { flex: 1; }
.guide-ia-carte .pas li { font-size: 14px; padding-bottom: 10px; }
.guide-ia-carte .bouton { width: 100%; text-align: center; }
@media (max-width: 760px) { .guide-ia-choix { grid-template-columns: 1fr; } }

/* « Mes rendez-vous », dans le cadre de l'application (18/11/2026) */
.rdv-une { display: flex; gap: 16px; align-items: center; padding: 18px; border-radius: 20px; color: #fff;
  background: linear-gradient(135deg, #6E61D6 0%, #8B7FE0 100%); box-shadow: 0 14px 34px rgba(110,97,214,.28); }
.rdv-une-date { flex: none; width: 72px; padding: 8px 0 10px; border-radius: 16px; background: rgba(255,255,255,.96); color: var(--foreground);
  display: flex; flex-direction: column; align-items: center; line-height: 1; }
.rdv-une-jour, .rdv-une-mois { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .06em; color: var(--accent-text); }
.rdv-une-num { font-size: 30px; font-weight: 800; margin: 4px 0 3px; letter-spacing: -.02em; }
.rdv-une-quoi { min-width: 0; }
.rdv-une-quoi .eyebrow { color: rgba(255,255,255,.82); }
.rdv-une-heure { display: block; font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-top: 2px; }
.rdv-une-titre { display: block; font-size: 14px; color: rgba(255,255,255,.88); margin-top: 2px; }
.rdv-une-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 12px 0 6px; }
.rdv-une-actions .bouton:only-child { grid-column: 1 / -1; }
.rdv-liste li > div { grid-template-columns: 40px 1fr auto; }
.rdv-liste li.fait .quoi b { color: var(--muted-foreground); }
.rdv-changer { font-size: 14px; font-weight: 650; color: var(--accent-text); background: var(--accent-wash); border-radius: 999px;
  padding: 6px 12px; text-decoration: none; white-space: nowrap; }
.rdv-note { color: var(--accent-text) !important; }
.infos { display: grid; gap: 10px; }
.info { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: start; background: var(--card); border: 1px solid var(--border);
  border-radius: 14px; padding: 14px; }
.info b { display: block; font-size: 15px; }
.info p { margin: 3px 0 0; font-size: 14px; color: var(--muted-foreground); line-height: 1.45; }
.info-icone { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-wash); color: var(--accent-text);
  display: flex; align-items: center; justify-content: center; }
.info-icone svg { width: 20px; height: 20px; }
@media (min-width: 761px) { .infos { grid-template-columns: repeat(3, 1fr); } .info { grid-template-columns: 1fr; } }
.rdv-une-actions .bouton { justify-content: center; text-align: center; font-size: 15px; padding-left: 10px; padding-right: 10px; }
.rdv-heure { font-weight: 650; color: var(--foreground); }
.rdv-liste li.courant .quoi b { color: var(--accent-text); }

/* La bascule élève / formateur (18/11/2026) : un seul compte, deux vues */
.bascule { flex: none; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-size: 13px; font-weight: 650;
  color: var(--accent-text); background: var(--accent-wash); border: 1px solid rgba(139,127,224,.35); border-radius: 999px; padding: 7px 12px; margin-left: 8px; white-space: nowrap; }
.bascule svg { width: 16px; height: 16px; }
.bascule:active { transform: scale(.97); }
@media (max-width: 760px) { body.espace .bascule { display: none; } }

/* Choisir sa formule (18/11/2026) : tout pousse vers le formateur, sans rien cacher */
.formule-page h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.12; letter-spacing: -.02em; margin: 10px 0 10px; }
.compte-a-rebours { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 6px 12px; border-radius: 999px;
  background: #FFF4E5; color: #9A4B00; font-size: 13px; font-weight: 700; }
.compte-a-rebours .point { width: 8px; height: 8px; border-radius: 50%; background: #F08A00; box-shadow: 0 0 0 0 rgba(240,138,0,.6); animation: pouls 1.8s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 8px rgba(240,138,0,0); } 100% { box-shadow: 0 0 0 0 rgba(240,138,0,0); } }
.formule { position: relative; border-radius: 22px; padding: 22px 18px 18px; margin: 18px 0 0; background: var(--card); border: 1px solid var(--border); }
.formule-phare { border: 2px solid var(--primary); box-shadow: 0 18px 44px rgba(110,97,214,.20);
  background: linear-gradient(180deg, rgba(139,127,224,.10) 0%, var(--card) 38%); }
.formule-ruban { position: absolute; top: -12px; left: 18px; margin: 0; padding: 4px 12px; border-radius: 999px; background: var(--primary);
  color: #fff; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.formule-entete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.formule-entete h2 { margin: 0; font-size: 21px; letter-spacing: -.01em; }
.formule-prix { text-align: right; flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.1; }
.prix-barre { font-size: 15px; color: var(--muted-foreground); text-decoration: line-through; text-decoration-thickness: 2px; }
.prix-grand { font-size: 30px; font-weight: 800; letter-spacing: -.02em; color: var(--accent-text); }
.prix-moyen { font-size: 22px; font-weight: 750; }
.prix-note { font-size: 12px; color: var(--muted-foreground); margin-top: 3px; }
.atouts { list-style: none; padding: 0; margin: 16px 0 18px; display: grid; gap: 12px; }
.atouts li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; }
.atout-icone { width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
.atout-icone svg { width: 14px; height: 14px; }
.bouton-phare { width: 100%; font-size: 17px; min-height: 56px; box-shadow: 0 12px 28px rgba(110,97,214,.35); }
.formule-rassure { text-align: center; font-size: 13px; color: var(--muted-foreground); margin: 10px 0 0; }
.formule-apres { font-size: 12.5px; color: var(--muted-foreground); margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--border); line-height: 1.5; }
.comparatif { background: var(--card); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.comp-ligne { display: grid; grid-template-columns: 1fr 64px 88px; align-items: center; min-height: 48px; border-top: 1px solid var(--border); font-size: 14px; }
.comp-ligne:first-child { border-top: 0; }
.comp-ligne > span:first-child { padding: 10px 12px 10px 14px; line-height: 1.35; }
.comp-tete { min-height: 42px; font-size: 12px; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--muted-foreground); }
.comp-tete span { text-align: center; }
.comp-phare { background: rgba(139,127,224,.10); align-self: stretch; display: flex; align-items: center; justify-content: center; }
.comp-tete .comp-phare { color: var(--accent-text); }
.comp-plus > span:first-child { font-weight: 600; }
.comp-case { display: flex; align-items: center; justify-content: center; align-self: stretch; }
.comp-case svg { width: 18px; height: 18px; }
.comp-case.oui { color: var(--success); }
.comp-case.oui.comp-phare { color: var(--primary); }
.comp-case.non { color: var(--disabled-foreground, #B9B9C3); }
.pourquoi { margin: 18px 0 0; padding: 16px; border-radius: 16px; background: var(--accent-wash); color: var(--accent-text); }
.pourquoi p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.5; color: var(--foreground); }
.formule-seul .bouton { width: 100%; }
.relance-formateur { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; text-decoration: none; color: inherit;
  border: 1.5px solid rgba(139,127,224,.4); background: linear-gradient(90deg, rgba(139,127,224,.10), transparent); }
.relance-formateur b { display: block; font-size: 15px; }
.relance-formateur small { display: block; font-size: 13px; color: var(--muted-foreground); margin-top: 2px; }
.relance-icone { width: 44px; height: 44px; border-radius: 14px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; }
.relance-icone svg { width: 22px; height: 22px; }
@media (min-width: 761px) { .formule { padding: 26px 26px 22px; } .comp-ligne { grid-template-columns: 1fr 110px 130px; } }

/* Le numéro avec l'indicatif du pays devant (18/11/2026) */
.numero-ligne { display: grid; grid-template-columns: minmax(0, 46%) 1fr; gap: 8px; }
.numero-ligne select { min-width: 0; }
@media (min-width: 761px) { .numero-ligne { grid-template-columns: 220px 1fr; } }

/* 18/11/2026 : le prix barré se voit, et la carte du message au formateur */
.prix-barre { font-size: 20px; font-weight: 750; color: rgba(10,11,16,.62); text-decoration: none; letter-spacing: -.01em; }
.prix-barre s { text-decoration: line-through; text-decoration-color: #E5484D; text-decoration-thickness: 3px; }
.prix-grand { font-size: 32px; }
.programme-carte { text-align: left; margin: 0 0 18px; border: 1.5px solid rgba(18,140,74,.35); background: rgba(18,140,74,.05); }
.programme-carte b { font-size: 16px; }
.programme-carte .bouton { width: 100%; }

/* Fiche élève (formateur) : ses jours ouverts, et les ouvrir à l'avance (18/11/2026) */
.pastilles-jours { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 0 0 12px; }
.pastilles-jours span { height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700;
  background: var(--muted); color: var(--disabled-foreground, #9A9AA5); }
.pastilles-jours span.ouvert { background: var(--primary); color: #fff; }
.ouvrir-jours { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; }
.ouvrir-jours .champ { margin: 0; }

/* ---------------------------------------------------------------------------------------------
   L'accueil « Le chemin » (19/11/2026) : où j'en suis (l'anneau), ce que je fais maintenant (la carte
   du jour, son bouton « Continuer », le rendez-vous et le temps qui reste), ma semaine en chemin.
   Ordinateur : deux colonnes. Téléphone : une colonne, dans l'ordre des « order ».
   --------------------------------------------------------------------------------------------- */
.page.chemin { max-width: 1080px; }
.chemin-grille { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.chemin-col { display: flex; flex-direction: column; min-width: 0; }
.chemin-col > section > .titre-section:first-child { margin-top: 30px; }
.chemin-grille > .chemin-col:last-child > section:first-child > .titre-section { margin-top: 6px; }
@media (max-width: 860px) {
  .chemin-grille { display: flex; flex-direction: column; gap: 0; }
  .chemin-col { display: contents; }
  .chemin-col > * { width: 100%; min-width: 0; }
  .chemin-grille > .chemin-col:last-child > section:first-child > .titre-section { margin-top: 30px; }
}

.hero { position: relative; overflow: hidden; border-radius: 26px; padding: 26px; border: 1px solid rgba(139,127,224,.22);
  background: radial-gradient(120% 90% at 100% 0%, rgba(139,127,224,.26), transparent 58%), linear-gradient(165deg, #FFFFFF, #F5F3FF);
  box-shadow: 0 1px 2px rgba(10,11,16,.04), 0 18px 48px rgba(110,97,214,.12); }
.hero h1 { font-size: clamp(30px, 5vw, 38px); letter-spacing: -.03em; margin: 6px 0 0; }
.hero-etat { display: flex; align-items: center; gap: 18px; margin: 20px 0 22px; }
.hero-mots b { display: block; font-size: 17px; letter-spacing: -.01em; }
.hero-mots p { margin: 4px 0 0; font-size: 14.5px; line-height: 1.45; }
.anneau { position: relative; width: 104px; height: 104px; flex: none; }
.anneau svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.anneau circle { fill: none; stroke-width: 10; }
.anneau .fond { stroke: rgba(139,127,224,.16); }
.anneau .plein { stroke: url(#anneau-degrade); stroke-linecap: round; stroke-dasharray: 276.5; stroke-dashoffset: var(--reste);
  animation: anneau 1.4s cubic-bezier(.2,.8,.2,1) both; filter: drop-shadow(0 4px 8px rgba(110,97,214,.3)); }
@keyframes anneau { from { stroke-dashoffset: 276.5; } }
.anneau-texte { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1.05; }
.anneau-texte b { font-size: 28px; font-weight: 750; letter-spacing: -.03em; }
.anneau-texte b small { font-size: 15px; color: var(--muted-foreground); font-weight: 600; }
.anneau-texte span { font-size: 11px; color: var(--muted-foreground); margin-top: 3px; }

.maintenant { display: block; position: relative; padding: 22px; border-radius: 20px; background: var(--card); border: 1px solid var(--border);
  box-shadow: 0 2px 4px rgba(10,11,16,.04), 0 18px 40px rgba(110,97,214,.16); text-decoration: none; color: inherit; }
.maintenant .eyebrow { margin: 0; }
.maintenant h2 { font-size: 23px; letter-spacing: -.02em; line-height: 1.2; margin: 8px 0 4px; }
.maintenant > p.muted { margin: 4px 0 0; font-size: 14.5px; }
.maintenant .barre { margin: 16px 0 0; }
.chemin .barre i { width: var(--w); animation: barre 1.1s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes barre { from { width: 0; } }
.maintenant-actions { display: grid; gap: 8px; margin-top: 18px; }
.maintenant-actions .bouton { display: flex; justify-content: center; gap: 10px; }
.bouton-continuer { display: flex !important; width: 100%; margin-top: 18px; justify-content: space-between; gap: 12px; text-align: left;
  min-height: 56px; font-size: 16px; box-shadow: 0 10px 26px rgba(110,97,214,.35); }
.bouton-continuer { align-items: center; line-height: 1.3; padding-top: 12px; padding-bottom: 12px; }
.bouton-continuer span { min-width: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.bouton-continuer svg, .maintenant-actions .bouton svg { width: 20px; height: 20px; flex: none; transition: transform .25s cubic-bezier(.2,.8,.2,1); }
.maintenant:hover .bouton-continuer svg { transform: translateX(4px); }
.maintenant.lien-carte:hover { border-color: rgba(139,127,224,.4); }

.rdv-du-jour { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255,255,255,.7); border: 1px solid rgba(139,127,224,.22); }
.rdv-du-jour.proche { background: var(--accent-wash); border-color: rgba(139,127,224,.4); }
.rdv-icone { width: 38px; height: 38px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--primary); color: #fff; box-shadow: 0 6px 14px rgba(110,97,214,.3); }
.rdv-icone svg { width: 20px; height: 20px; }
.rdv-mots { flex: 1; min-width: 0; }
.rdv-mots b { display: block; font-size: 15px; }
.rdv-mots small { display: block; font-size: 13px; color: var(--muted-foreground); margin-top: 1px; }
.rdv-du-jour.proche .rdv-mots small { color: var(--accent-text); font-weight: 650; }
.rdv-du-jour .bouton { flex: none; width: auto; }
.hero .relance-formateur { margin: 12px 0 0; }

/* Le chemin des 7 jours */
.sentier { list-style: none; margin: 0; padding: 0; position: relative; }
.sentier::before, .sentier::after { content: ""; position: absolute; left: 27px; top: 34px; width: 3px; border-radius: 3px; }
.sentier::before { bottom: 34px; background: var(--border-strong); }
.sentier::after { height: calc((100% - 68px) * var(--avance) / 100); background: linear-gradient(var(--accent), var(--primary));
  animation: sentier 1.2s .3s cubic-bezier(.2,.8,.2,1) both; }
@keyframes sentier { from { height: 0; } }
.sentier li { position: relative; animation: arrivee .5s calc(var(--i) * 60ms) cubic-bezier(.2,.8,.2,1) both; }
@keyframes arrivee { from { opacity: 0; transform: translateY(8px); } }
.sentier a, .sentier li > div { display: flex; align-items: center; gap: 14px; padding: 6px 0; text-decoration: none; color: inherit; }
.sentier .noeud { position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  font-size: 19px; font-weight: 750; background: var(--card); border: 2px solid var(--border-strong); color: var(--muted-foreground);
  transition: transform .3s cubic-bezier(.2,1.4,.4,1); }
.sentier .noeud svg { width: 22px; height: 22px; }
.sentier a:hover .noeud { transform: scale(1.07); }
.sentier .quoi { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 16px; border: 1px solid transparent; transition: background .2s, border-color .2s; }
.sentier a:hover .quoi { background: var(--card); border-color: var(--border); }
.sentier .quoi b { display: block; font-size: 15px; font-weight: 650; line-height: 1.3; }
.sentier .quoi small { display: block; font-size: 12.5px; color: var(--muted-foreground); margin-top: 2px; }
.sentier li.fait .noeud { background: linear-gradient(135deg, #A99FF0, var(--primary)); border-color: transparent; color: #fff;
  box-shadow: 0 6px 14px rgba(110,97,214,.28); }
.sentier li.courant .noeud { border: 3px solid var(--primary); color: var(--accent-text); box-shadow: 0 0 0 6px var(--accent-wash); }
.sentier li.courant .noeud::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid var(--accent); animation: onde 2.2s infinite; }
@keyframes onde { 0% { opacity: .7; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.3); } }
.sentier li.courant .quoi { background: var(--card); border-color: rgba(139,127,224,.3); box-shadow: 0 8px 22px rgba(110,97,214,.12); }
.sentier li.ferme .noeud { background: var(--muted); border-color: transparent; color: var(--disabled-foreground); }
.sentier li.ferme .quoi b { color: var(--muted-foreground); }
/* Le bas de l'accueil, « chaque chose à sa place » (19/11/2026) : les raccourcis, les notes du
   formateur sous chaque jour du chemin, le formateur en une bande, le compte derrière l'initiale. */
.raccourcis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.raccourci { display: flex; align-items: center; gap: 12px; min-width: 0; padding: 14px; border-radius: 18px; background: var(--card);
  border: 1px solid var(--border); text-decoration: none; color: inherit; transition: transform .15s cubic-bezier(.2,.8,.2,1), box-shadow .2s; }
.raccourci:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(110,97,214,.14); }
.raccourci:active { transform: scale(.97); }
.raccourci-icone { width: 44px; height: 44px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center; color: #fff; }
.raccourci-icone svg { width: 22px; height: 22px; }
.raccourci-icone.tvni { background: linear-gradient(135deg, #2A2540, #0A0B10); }
.raccourci-icone.arene { background: linear-gradient(135deg, #F2B880, #E07A5F); }
.raccourci-icone.skool { background: linear-gradient(135deg, #8B7FE0, #5B4FC4); }
.raccourci-mots { min-width: 0; flex: 1; }
.raccourci-mots b { display: block; font-size: 15px; }
.raccourci-mots small { display: block; font-size: 12.5px; color: var(--muted-foreground); line-height: 1.35; margin-top: 1px; }
.raccourci-fleche { width: 18px; height: 18px; flex: none; color: var(--disabled-foreground); align-self: flex-start; }
@media (min-width: 861px) {
  .raccourci { flex-direction: column; align-items: flex-start; gap: 10px; position: relative; }
  .raccourci-fleche { position: absolute; top: 14px; right: 14px; }
}
@media (max-width: 760px) {
  .raccourci { flex-direction: column; align-items: flex-start; gap: 8px; padding: 12px; }
  .raccourci-mots small, .raccourci-fleche { display: none; }
  .raccourci-mots b { font-size: 14px; }
}

.note-formateur { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 8px 70px; padding: 11px 13px; border-radius: 4px 16px 16px 16px; background: var(--card);
  border: 1px solid var(--border); box-shadow: 0 4px 14px rgba(10,11,16,.04); font-size: 14px; line-height: 1.45; }
.note-formateur b { font-size: 13px; }
.note-avatar { width: 28px; height: 28px; border-radius: 50%; flex: none; object-fit: cover; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #8B7FE0, #5B4FC4); color: #fff; font-size: 12px; font-weight: 700; }
.note-demain { display: block; margin-top: 7px; padding: 6px 10px; border-radius: 10px; background: var(--accent-wash); color: var(--accent-text);
  font-weight: 600; font-size: 13px; }
@media (max-width: 760px) { .note-formateur { margin-left: 64px; } }

.section-formateur { margin-top: 22px; }
.ancre { display: block; position: relative; top: -90px; }
.bande-formateur { padding: 0; margin: 0; overflow: hidden; }
.bande-haut { display: flex; align-items: center; gap: 12px; padding: 14px 16px; }
.bande-avatar { width: 52px; height: 52px; border-radius: 50%; flex: none; object-fit: cover; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #8B7FE0, #5B4FC4); color: #fff; font-size: 20px; font-weight: 700; box-shadow: 0 6px 16px rgba(110,97,214,.28); }
.bande-mots { flex: 1; min-width: 0; }
.bande-mots b { display: block; font-size: 15.5px; }
.bande-mots small { display: block; font-size: 13px; color: var(--muted-foreground); line-height: 1.35; }
.bande-mail { width: 46px; height: 46px; border-radius: 14px; flex: none; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong); background: var(--card); color: var(--foreground); }
.bande-mail svg, .bande-wa svg { width: 20px; height: 20px; }
.bande-mail:active { transform: scale(.95); }
.bande-wa { width: auto !important; flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; }
.bande-mois { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); background: var(--accent-wash); }
.bande-mois.droit-fait, .bande-mois.droit-semaine { background: var(--muted); }
.bande-mois-icone { width: 40px; height: 40px; border-radius: 12px; flex: none; display: flex; align-items: center; justify-content: center;
  background: var(--card); color: var(--accent-text); border: 1px solid rgba(139,127,224,.3); }
.bande-mois-icone svg { width: 20px; height: 20px; }
.bande-mois-mots { flex: 1; min-width: 0; }
.bande-mois-mots b { display: block; font-size: 14.5px; }
.bande-mois-mots small { display: block; font-size: 13px; color: var(--muted-foreground); }
.droit-pris .bande-mois-mots small { color: var(--accent-text); font-weight: 600; }
.bande-prendre { width: auto !important; flex: none; min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; }
@media (max-width: 760px) {
  .bande-haut { flex-wrap: wrap; }
  .bande-mots { flex-basis: calc(100% - 64px); }
  .bande-wa { flex: 1; justify-content: center; }
  .bande-mois { flex-wrap: wrap; }
  .bande-mois-mots { flex-basis: calc(100% - 52px); }
  .bande-prendre { flex: 1 1 100%; justify-content: center; }
}
.avoir-formateur { display: grid; grid-template-columns: 44px 1fr; gap: 12px 14px; align-items: center; margin: 0; text-decoration: none; color: inherit;
  border: 1.5px solid rgba(139,127,224,.4); background: linear-gradient(120deg, rgba(139,127,224,.12), var(--card) 70%); }
.avoir-mots b { display: block; font-size: 16px; }
.avoir-mots small { display: block; font-size: 13.5px; color: var(--muted-foreground); line-height: 1.4; margin-top: 2px; }
.avoir-bouton { grid-column: 1 / -1; display: flex; justify-content: center; }

.toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); z-index: 80; transform: translateX(-50%);
  width: max-content; max-width: calc(100% - 32px); padding: 12px 16px; border-radius: 14px; background: #15803D; color: #fff; font-weight: 600;
  font-size: 14.5px; box-shadow: 0 14px 34px rgba(21,128,61,.35); animation: toast 5s cubic-bezier(.2,.8,.2,1) forwards; pointer-events: none; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 16px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 0); } }
@media (min-width: 761px) { .toast { bottom: 28px; } }

/* Prendre rendez-vous avec son formateur (19/11/2026) */
.page-prendre { max-width: 720px; }
.prendre-tete { display: flex; align-items: center; gap: 14px; margin: 4px 0 10px; }
.prendre-tete h1 { margin: 2px 0 0; }
.droit-mois { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--accent-wash);
  color: var(--accent-text); font-weight: 600; font-size: 14.5px; margin: 14px 0 16px; }
.droit-point { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); flex: none; margin-top: 6px; }
.droit-mois.droit-fait, .droit-mois.droit-pris { background: rgba(21,128,61,.08); color: var(--success); }
.droit-mois.droit-fait .droit-point, .droit-mois.droit-pris .droit-point { background: var(--success); }
.jours-rdv { display: flex; gap: 8px; overflow-x: auto; margin: 0 -16px; padding: 4px 16px 10px; scroll-snap-type: x proximity; scrollbar-width: none; align-items: stretch; }
.jours-rdv::-webkit-scrollbar { display: none; }
.jours-mois { flex: none; writing-mode: vertical-rl; transform: rotate(180deg); font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-text); padding: 0 2px; text-align: center; }
.jour-rdv { flex: none; width: 70px; padding: 10px 0; border-radius: 16px; border: 1px solid var(--border); background: var(--card); font: inherit;
  color: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; scroll-snap-align: start;
  transition: transform .15s, background .2s, border-color .2s, box-shadow .2s; }
.jour-rdv .nom { font-size: 12px; color: var(--muted-foreground); text-transform: capitalize; }
.jour-rdv .num { font-size: 22px; font-weight: 750; letter-spacing: -.02em; line-height: 1.2; }
.jour-rdv .libres { font-size: 11px; color: var(--muted-foreground); }
.jour-rdv:active { transform: scale(.95); }
.jour-rdv.actif { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 8px 20px rgba(110,97,214,.35); }
.jour-rdv.actif .nom, .jour-rdv.actif .libres { color: rgba(255,255,255,.85); }
.heures-rdv { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 8px; animation: arrivee .3s cubic-bezier(.2,.8,.2,1); }
.heures-rdv.cache { display: none; }
.heure-rdv { position: relative; }
.heure-rdv input { position: absolute; opacity: 0; pointer-events: none; }
.heure-rdv span { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 14px; border: 1px solid var(--border-strong);
  background: var(--card); font-weight: 650; font-size: 15px; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .12s; }
.heure-rdv span:active { transform: scale(.96); }
.heure-rdv input:checked + span { background: var(--accent-wash); border-color: var(--primary); color: var(--accent-text); box-shadow: 0 0 0 2px rgba(110,97,214,.25); }
.heure-rdv input:focus-visible + span { outline: 2px solid var(--ring); outline-offset: 2px; }
.prendre-bas { position: sticky; bottom: 0; margin: 22px -16px 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(transparent, var(--background) 22%); }
.prendre-bas .bouton { width: 100%; }
.prendre-bas .bouton:disabled { opacity: .55; box-shadow: none; cursor: default; }
@media (max-width: 760px) { body.avec-onglets .prendre-bas { bottom: calc(64px + env(safe-area-inset-bottom)); } }

/* Fiche élève (formateur) : le rendez-vous du mois, mois par mois */
.mois-liste { list-style: none; margin: 0; padding: 0; }
.mois-liste li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--border); }
.mois-liste li:first-child { border-top: 0; }
.mois-nom { font-weight: 650; font-size: 15px; }
.mois-quoi { grid-column: 1; font-size: 13px; color: var(--muted-foreground); }
.mois-liste .etat { grid-column: 2; grid-row: 1 / span 2; text-decoration: none; }

/* Mon compte, derrière l'initiale */
.compte-menu { position: relative; flex: none; margin-left: 10px; }
.compte-menu > summary { list-style: none; cursor: pointer; }
.compte-menu > summary::-webkit-details-marker { display: none; }
.compte-menu[open] > summary { box-shadow: 0 0 0 3px var(--accent-wash), 0 4px 12px rgba(110,97,214,.25); }
.compte-voile { display: none; }
.compte-feuille { position: absolute; right: 0; top: calc(100% + 10px); z-index: 70; width: 320px; padding: 8px; border-radius: 20px; background: var(--card);
  border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(10,11,16,.22); animation: compte-ouvre .2s cubic-bezier(.2,.8,.2,1); }
@keyframes compte-ouvre { from { opacity: 0; transform: translateY(-6px) scale(.98); } }
.compte-poignee { display: none; }
.compte-titre { margin: 6px 12px 0; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.compte-qui { display: flex; align-items: center; gap: 12px; padding: 10px 12px 12px; border-bottom: 1px solid var(--border); }
.compte-qui .moi { width: 40px; height: 40px; box-shadow: none; }
.compte-qui b { display: block; font-size: 15px; }
.compte-qui small { display: block; font-size: 13px; color: var(--muted-foreground); overflow: hidden; text-overflow: ellipsis; }
.compte-qui > span:last-child { min-width: 0; }
.compte-liens { display: grid; padding-top: 6px; }
.compte-liens a { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; text-decoration: none; color: var(--foreground);
  font-weight: 600; font-size: 15px; }
.compte-liens a:hover { background: var(--muted); }
.compte-liens a:active { transform: scale(.98); }
.compte-liens a svg { width: 20px; height: 20px; flex: none; color: var(--muted-foreground); }
.compte-liens a.rouge, .compte-liens a.rouge svg { color: var(--error); }
.compte-calque .compte-feuille { display: none; position: fixed; top: calc(62px + env(safe-area-inset-top)); right: max(16px, calc((100vw - 1040px) / 2 + 8px)); }
body.compte-ouvert .compte-calque .compte-feuille { display: block; }
@media (max-width: 760px) {
  body.compte-ouvert .compte-calque .compte-voile,
  .compte-menu[open] .compte-voile { display: block; position: fixed; inset: 0; z-index: 69; background: rgba(10,11,16,.34);
    backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: voile .2s; }
  @keyframes voile { from { opacity: 0; } }
  .compte-feuille, .compte-calque .compte-feuille { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: 26px 26px 0 0;
    padding: 8px 10px calc(16px + env(safe-area-inset-bottom)); animation: compte-monte .32s cubic-bezier(.2,1,.3,1); }
  @keyframes compte-monte { from { transform: translateY(100%); } }
  .compte-poignee { display: block; width: 40px; height: 5px; border-radius: 5px; background: var(--border-strong); margin: 4px auto 8px; }
  .compte-liens a { padding: 14px 12px; font-size: 16px; }
}

/* ---------------------------------------------------------------------------------------------
   Le jour « en focus » (19/11/2026) : une étape à la fois, en grand, des barres comme des stories.
   Tout ce qui suit ne vaut qu'avec JavaScript (.focus.actif) ; sans lui, les étapes restent pliées.
   --------------------------------------------------------------------------------------------- */
.page-focus { max-width: 1040px; }
.page-focus > h1, .page-focus > .intro { max-width: 720px; }
.jour-infos { display: flex; flex-wrap: wrap; gap: 8px; }
.page-jour > .rdv-du-jour { margin: 0 0 18px; max-width: 720px; }
.histoires, .focus-liste, .focus-nav, .focus-aide, .filigrane, .focus-compte { display: none; }

.focus.actif .focus-tete { padding-top: 12px; padding-bottom: 6px; }
.focus.actif .focus-compte { display: flex; justify-content: space-between; gap: 10px; }
.focus.actif .focus-compte .js-avance-texte { color: var(--muted-foreground); font-weight: 550; }
.focus.actif .focus-compte .js-position { color: var(--foreground); }
.avance.complet .focus-compte .js-avance-texte { color: var(--success); }
.focus.actif .histoires { display: flex; gap: 5px; }
.histoire { flex: 1; padding: 9px 0; border: 0; background: none; cursor: pointer; }
.histoire i { display: block; position: relative; height: 5px; border-radius: 5px; background: rgba(10,11,16,.09); overflow: hidden;
  transition: background .3s; }
.histoire i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: 0; border-radius: 5px; background: var(--primary);
  transition: width .5s cubic-bezier(.2,.8,.2,1); }
.histoire.faite i::after { width: 100%; background: var(--accent); }
.histoire.courante i { background: rgba(110,97,214,.22); }
.histoire.courante i::after { width: 45%; background: var(--primary); }
.histoire.courante.faite i::after { width: 100%; background: var(--success); }
.histoire.message-barre i { background: rgba(18,140,74,.14); }
.histoire.message-barre.courante i::after { width: 100%; background: #128C4A; }
.histoire:hover i { background: rgba(110,97,214,.3); }

.focus.actif .focus-corps { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 10px; }
.focus.actif .focus-liste { display: block; position: sticky; top: calc(150px + env(safe-area-inset-top)); list-style: none; margin: 8px 0 0; padding: 0; }
.focus-liste button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 9px 10px; border: 0; border-radius: 12px;
  background: none; font: inherit; font-size: 14px; line-height: 1.3; color: var(--muted-foreground); cursor: pointer; transition: background .2s, color .2s; }
.focus-liste button:hover { background: rgba(10,11,16,.04); }
.focus-liste button.courante { background: var(--card); color: var(--foreground); font-weight: 650; box-shadow: 0 1px 2px rgba(10,11,16,.05), 0 8px 20px rgba(110,97,214,.12); }
.focus-liste .rond { position: relative; width: 26px; height: 26px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 750; border: 1.5px solid var(--border-strong); }
.focus-liste .rond svg { width: 13px; height: 13px; }
.focus-liste .rond .num + svg { display: none; }
.focus-liste button.faite { color: var(--foreground); }
.focus-liste button.faite .rond { background: rgba(21,128,61,.1); border-color: transparent; color: var(--success); }
.focus-liste button.faite .rond .num { display: none; }
.focus-liste button.faite .rond .num + svg { display: block; }
.focus-liste button.courante .rond { background: var(--primary); border-color: var(--primary); color: #fff; }

.focus.actif .panneau { display: none; }
.focus.actif .panneau.ouverte { display: block; }
.focus.actif .panneau { position: relative; overflow: hidden; margin: 0; border-radius: 24px; border-color: rgba(139,127,224,.22);
  box-shadow: 0 2px 6px rgba(10,11,16,.04), 0 30px 70px rgba(110,97,214,.15); }
.focus.actif .filigrane { display: block; position: absolute; right: -4px; top: -40px; font-size: 190px; font-weight: 800; line-height: 1;
  letter-spacing: -.05em; color: rgba(139,127,224,.09); pointer-events: none; }
.focus.actif .etape .etape-tete { pointer-events: none; padding: 28px 28px 10px; align-items: flex-start; position: relative; }
.focus.actif .etape .chevron { display: none; }
.focus.actif .etape .etape-tete h2 { font-size: 27px; letter-spacing: -.025em; line-height: 1.18; padding-top: 2px; }
.focus.actif .etape .etape-tete .pion { width: 38px; height: 38px; border-radius: 12px; background: var(--primary); color: #fff; }
.focus.actif .etape.faite .etape-tete .pion { background: var(--success); }
.focus.actif .etape .etape-interieur { padding: 0 28px 0; position: relative; }
.focus.actif .etape.ouverte .etape-pli > .etape-interieur { padding-bottom: 28px; }
.focus.actif .etape-corps p, .focus.actif .etape-corps li { font-size: 16.5px; line-height: 1.6; }
.focus.actif .message { padding: 28px; }
.focus.actif .message h2 { font-size: 27px; letter-spacing: -.025em; }
.focus.actif .coche { min-height: 60px; margin-top: 18px; justify-content: center; border: 0; border-radius: 16px; background: var(--primary); color: #fff;
  font-size: 17px; box-shadow: 0 12px 28px rgba(110,97,214,.35); }
.focus.actif .coche .boite { border-color: rgba(255,255,255,.75); }
.focus.actif .coche[aria-pressed=true] { background: var(--success); color: #fff; box-shadow: 0 12px 28px rgba(21,128,61,.28); }
.focus.actif .coche[aria-pressed=true] .boite { background: #fff; border-color: #fff; }
.focus.actif .coche[aria-pressed=true] .boite svg { color: var(--success); }
.focus.actif .coche:hover { filter: brightness(1.05); }
.depuis-droite { animation: depuis-droite .4s cubic-bezier(.2,.8,.2,1); }
.depuis-gauche { animation: depuis-gauche .4s cubic-bezier(.2,.8,.2,1); }
@keyframes depuis-droite { from { opacity: 0; transform: translateX(34px); } }
@keyframes depuis-gauche { from { opacity: 0; transform: translateX(-34px); } }

.focus.actif .focus-nav { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.focus-precedent, .focus-suivant { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--border-strong);
  background: var(--card); color: var(--foreground); font: inherit; font-weight: 650; font-size: 15px; cursor: pointer; transition: transform .14s, background .2s; }
.focus-precedent { width: 48px; height: 48px; border-radius: 50%; }
.focus-suivant { height: 48px; padding: 0 16px 0 20px; border-radius: 999px; color: var(--accent-text); }
.focus-precedent svg, .focus-suivant svg { width: 20px; height: 20px; }
.focus-precedent:active, .focus-suivant:active { transform: scale(.95); }
.focus-precedent:hover, .focus-suivant:hover { background: var(--accent-wash); }
@media (hover: none) { .focus.actif .focus-aide { display: block; text-align: center; font-size: 12.5px; color: var(--muted-foreground); margin: 10px 0 0; } }

@media (max-width: 900px) {
  .focus.actif .focus-corps { display: block; }
  .focus.actif .focus-liste { display: none; }
}
@media (max-width: 760px) {
  .focus.actif .panneau { border-radius: 22px; }
  .focus.actif .etape .etape-tete { padding: 22px 18px 8px; }
  .focus.actif .etape .etape-tete h2 { font-size: 22px; }
  .focus.actif .etape .etape-interieur { padding: 0 18px; }
  .focus.actif .etape.ouverte .etape-pli > .etape-interieur { padding-bottom: 20px; }
  .focus.actif .message { padding: 22px 18px; }
  .focus.actif .message h2 { font-size: 22px; }
  .focus.actif .filigrane { font-size: 140px; top: -28px; }
  .focus.actif .etape-corps p, .focus.actif .etape-corps li { font-size: 16px; }
}
/* ---------------------------------------------------------------------------------------------
   « Aujourd'hui » du formateur (19/11/2026) : le prochain appel en grand, la journée à côté.
   --------------------------------------------------------------------------------------------- */
@media (max-width: 760px) {
  .onglets.onglets-formateur { grid-template-columns: repeat(5, 1fr); }
  .onglets .plus { position: relative; }
  .onglets .plus summary { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0 4px;
    border-radius: 14px; color: var(--muted-foreground); font-size: 11px; font-weight: 600; cursor: pointer; }
  .onglets .plus summary::-webkit-details-marker { display: none; }
  .onglets .plus summary svg { width: 24px; height: 24px; }
  .onglets .plus.actif summary, .onglets .plus[open] summary { color: var(--accent-text); }
  .plus-menu { position: absolute; right: 4px; bottom: calc(100% + 12px); width: 230px; padding: 6px; border-radius: 18px; background: var(--card);
    border: 1px solid var(--border); box-shadow: 0 18px 44px rgba(10,11,16,.18); animation: plus-ouvre .22s cubic-bezier(.2,.8,.2,1); }
  @keyframes plus-ouvre { from { opacity: 0; transform: translateY(8px) scale(.97); } }
  .plus-menu a { display: block; padding: 13px 14px; border-radius: 12px; text-decoration: none; color: var(--foreground); font-size: 15px; font-weight: 600; }
  .plus-menu a:active { background: var(--muted); }
  .plus-menu a.rouge { color: var(--error); }
}
.formateur-grille { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 6px; }
.formateur-col { min-width: 0; }
.formateur-col > section:first-child > .titre-section { margin-top: 4px; }
.jours-formateur .jour { width: 74px; }
.appel { position: relative; overflow: hidden; padding: 26px; border-radius: 26px; border: 1px solid rgba(139,127,224,.25);
  background: radial-gradient(110% 80% at 100% 0%, rgba(139,127,224,.22), transparent 60%), linear-gradient(165deg, #FFFFFF, #F6F4FF);
  box-shadow: 0 2px 6px rgba(10,11,16,.04), 0 28px 64px rgba(110,97,214,.16); }
.appel.en-cours { border-color: rgba(110,97,214,.55); box-shadow: 0 0 0 4px var(--accent-wash), 0 28px 64px rgba(110,97,214,.22); }
.filigrane-heure { position: absolute; right: -6px; bottom: -26px; font-size: 120px; font-weight: 800; letter-spacing: -.05em; line-height: 1;
  color: rgba(139,127,224,.08); pointer-events: none; }
.appel .eyebrow { margin: 0; }
.appel-dans { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--card);
  border: 1px solid rgba(139,127,224,.3); font-size: 13px; font-weight: 700; color: var(--accent-text); white-space: nowrap; }
.appel-dans .point { width: 8px; height: 8px; border-radius: 50%; background: #22A35A; box-shadow: 0 0 0 0 rgba(34,163,90,.5); animation: pouls-vert 1.8s infinite; }
@keyframes pouls-vert { 70% { box-shadow: 0 0 0 8px rgba(34,163,90,0); } 100% { box-shadow: 0 0 0 0 rgba(34,163,90,0); } }
.appel-qui { display: flex; align-items: center; gap: 16px; margin: 18px 0 0; position: relative; }
.appel-avatar, .petit-avatar { border-radius: 50%; background: linear-gradient(135deg, #8B7FE0, #5B4FC4); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; }
.appel-avatar { width: 64px; height: 64px; font-size: 26px; flex: none; box-shadow: 0 10px 24px rgba(110,97,214,.3); }
.appel-qui h2 { font-size: 30px; letter-spacing: -.03em; line-height: 1.1; margin: 0; }
.appel-qui p { margin: 4px 0 0; font-size: 15px; }
.sept { display: flex; gap: 4px; margin-top: 10px; }
.sept i { width: 22px; height: 6px; border-radius: 4px; background: rgba(10,11,16,.09); }
.sept i.f { background: var(--accent); }
.sept i.c { background: var(--primary); box-shadow: 0 0 0 2px rgba(110,97,214,.18); }
.appel-phrase { position: relative; margin: 20px 0 0; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.8);
  border: 1px solid var(--border); font-size: 16px; font-style: italic; line-height: 1.45; }
.appel-phrase span { display: block; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent-text); margin-bottom: 4px; }
.appel-avant { position: relative; margin-top: 18px; }
.appel-avant h3 { font-size: 15px; margin: 0 0 6px; }
.appel-avant .deroule { font-size: 15px; }
.appel-avant .deroule ul, .appel-avant .deroule ol { margin: 0; padding-left: 20px; }
.appel-avant .deroule li { margin: 5px 0; }
.appel-actions { position: relative; display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-top: 22px; }
.appel-actions .bouton { display: flex; align-items: center; justify-content: center; gap: 8px; text-align: center; min-height: 54px; }
.appel-actions .bouton:only-child { grid-column: 1 / -1; }
.appel-meet { font-size: 16px; box-shadow: 0 12px 28px rgba(110,97,214,.35); }
.appel-meet svg { width: 20px; height: 20px; }
.appel-liens { position: relative; display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 14px 0 0; font-size: 14px; font-weight: 600; }
.appel-liens a { color: var(--accent-text); text-decoration: none; white-space: nowrap; }
.appel-deroule { position: relative; margin-top: 16px; border-top: 1px solid var(--border); padding-top: 12px; }
.appel-deroule summary { cursor: pointer; font-weight: 650; font-size: 14.5px; color: var(--foreground); }
.appel-fini h2 { font-size: 24px; margin: 6px 0 4px; }

.faire { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.faire li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; padding: 14px; border-radius: 16px;
  background: var(--card); border: 1px solid rgba(180,83,9,.22); }
.faire li .etat { grid-column: 1 / -1; justify-self: start; }
.faire-quoi { min-width: 0; font-size: 15px; }
.faire-quoi small { display: block; font-size: 13px; color: var(--muted-foreground); margin-top: 2px; }

.journee { list-style: none; margin: 0; padding: 0 0 0 76px; position: relative; }
.journee::before { content: ""; position: absolute; left: 61px; top: 10px; bottom: 10px; width: 2px; border-radius: 2px; background: var(--border-strong); }
.journee li { position: relative; margin-bottom: 10px; }
.journee-heure { position: absolute; left: -76px; top: 14px; width: 56px; white-space: nowrap; text-align: right; font-size: 13px; font-weight: 650; color: var(--muted-foreground); }
.journee-heure::after { content: ""; position: absolute; right: -24px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--card);
  border: 2px solid var(--border-strong); }
.journee li.fait .journee-heure::after { background: var(--accent); border-color: var(--accent); }
.journee li.prochain .journee-heure { color: var(--accent-text); }
.journee li.prochain .journee-heure::after { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 4px var(--accent-wash); }
.journee-carte { padding: 12px 14px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.journee li.prochain .journee-carte { border-color: rgba(110,97,214,.4); box-shadow: 0 8px 22px rgba(110,97,214,.12); }
.journee-tete { display: flex; align-items: center; gap: 10px; }
.petit-avatar { width: 34px; height: 34px; font-size: 14px; flex: none; }
.journee-quoi { flex: 1; min-width: 0; }
.journee-quoi b { display: block; font-size: 15px; }
.journee-quoi small { display: block; font-size: 12.5px; color: var(--muted-foreground); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.journee .sept { margin: 10px 0 0 44px; }
.journee .sept i { width: 18px; height: 5px; }
.journee-liens { display: flex; gap: 14px; margin: 10px 0 0 44px; font-size: 13px; font-weight: 650; }
.journee-liens a { color: var(--accent-text); text-decoration: none; }
.jours-suite { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
@media (max-width: 860px) {
  .formateur-grille { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .formateur-col > section:first-child > .titre-section { margin-top: 30px; }
}
@media (max-width: 760px) {
  .appel { padding: 20px 16px; border-radius: 22px; }
  .appel-qui { gap: 12px; }
  .appel-avatar { width: 52px; height: 52px; font-size: 21px; }
  .appel-qui h2 { font-size: 24px; }
  .appel-actions { grid-template-columns: 1fr; }
  .filigrane-heure { font-size: 90px; }
  .journee { padding-left: 72px; }
  .journee::before { left: 59px; }
  .journee-heure { left: -72px; width: 54px; }
  .journee-heure::after { right: -22px; }
  .journee .sept, .journee-liens { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .appel-dans .point { animation: none; }
  .depuis-droite, .depuis-gauche { animation: none; }
  .anneau .plein, .chemin .barre i, .sentier::after, .sentier li, .sentier li.courant .noeud::after { animation: none; }
}
@media (max-width: 760px) {
  .hero { padding: 20px 16px 16px; border-radius: 22px; }
  .anneau { width: 88px; height: 88px; }
  .anneau-texte b { font-size: 24px; }
  .maintenant { padding: 18px 16px; }
  .maintenant h2 { font-size: 21px; }
  .sentier .noeud { width: 50px; height: 50px; font-size: 17px; }
  .sentier::before, .sentier::after { left: 24px; top: 31px; }
  .sentier::before { bottom: 31px; }
  .sentier::after { height: calc((100% - 62px) * var(--avance) / 100); }
}

/* ---------------------------------------------------------------------------------------------
   En-tête et fond (19/11/2026, « effet wow », toujours en clair) : une barre flottante en verre
   dépoli, les onglets en pastilles, un fond lumineux qui respire doucement derrière l'espace.
   Vaut pour l'élève et pour le formateur (body.espace).
   --------------------------------------------------------------------------------------------- */
body.espace { background: #F7F6FB; }
/* Le bandeau du haut : une lumière lavande, violette et pêche, qui se fond dans la page. La barre en
   verre et la première carte se posent dessus. Toujours clair : aucune couleur sombre. */
body.espace::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 460px; z-index: -1; pointer-events: none;
  background:
    radial-gradient(55% 90% at 12% 0%, rgba(139,127,224,.55), transparent 70%),
    radial-gradient(45% 80% at 88% 10%, rgba(110,97,214,.42), transparent 70%),
    radial-gradient(40% 70% at 55% 30%, rgba(255,206,184,.45), transparent 72%),
    radial-gradient(35% 60% at 30% 70%, rgba(196,186,255,.55), transparent 70%),
    linear-gradient(180deg, #DDD6FF 0%, #ECE7FF 55%, #F7F6FB 100%);
  background-size: 140% 140%, 140% 140%, 160% 160%, 140% 140%, 100% 100%;
  animation: aurore 24s ease-in-out infinite alternate;
  -webkit-mask-image: linear-gradient(to bottom, #000 62%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 62%, transparent 100%); }
body.espace::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 460px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255,255,255,.55) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.6) 40%, transparent 85%);
  mask-image: linear-gradient(to bottom, #000 0, rgba(0,0,0,.6) 40%, transparent 85%); }
@keyframes aurore { 0% { background-position: 0% 0%, 100% 0%, 50% 50%, 0% 100%, 0 0; }
  100% { background-position: 30% 20%, 70% 30%, 20% 40%, 30% 60%, 0 0; } }

/* La barre */
body.espace .entete { background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none;
  padding: calc(10px + env(safe-area-inset-top)) 12px 0; z-index: 30; }
body.espace .entete .dedans { max-width: 1080px; height: 62px; padding: 0 10px 0 12px; border-radius: 20px;
  background: rgba(255,255,255,.72); backdrop-filter: saturate(1.8) blur(20px); -webkit-backdrop-filter: saturate(1.8) blur(20px);
  border: 1px solid rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 1px 3px rgba(10,11,16,.05), 0 10px 30px rgba(91,79,196,.10);
  transition: box-shadow .3s, background .3s; }
body.espace.defile .entete .dedans { background: rgba(255,255,255,.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 2px 6px rgba(10,11,16,.06), 0 16px 40px rgba(91,79,196,.16); }
body.espace .brand { gap: 11px; }
body.espace .brand img { width: 36px; height: 36px; border-radius: 11px; box-shadow: 0 6px 16px rgba(110,97,214,.35); }
.brand-mots { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
body.espace .brand-mots::after { content: "Ma formation"; font-size: 11px; font-weight: 550; letter-spacing: .02em; text-transform: none;
  color: var(--muted-foreground); margin-top: 3px; }
body.formateur-espace .brand-mots::after { content: "Espace formateur"; }

/* Les onglets, en pastilles */
body.espace .nav-large { display: flex; gap: 2px; padding: 4px; border-radius: 14px; background: rgba(110,97,214,.07);
  border: 1px solid rgba(110,97,214,.08); margin-left: auto; }
body.espace .nav-large a { padding: 8px 14px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--muted-foreground);
  transition: color .2s, background .2s, box-shadow .2s; }
body.espace .nav-large a:hover { color: var(--foreground); background: rgba(255,255,255,.6); }
body.espace .nav-large a.actif { background: #fff; color: var(--accent-text);
  box-shadow: 0 1px 2px rgba(10,11,16,.06), 0 4px 12px rgba(110,97,214,.14); }
body.espace .bascule { background: rgba(255,255,255,.8); }
body.espace .moi { width: 40px; height: 40px; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(139,127,224,.45), 0 6px 16px rgba(110,97,214,.3);
  transition: transform .2s; }
body.espace .moi:hover { transform: scale(1.05); }
body.espace .moi-formateur { margin-left: 10px; }
@media (max-width: 760px) { body.espace .moi-formateur { margin-left: auto; } }

/* Sur le bandeau, la première carte devient du verre blanc */
body.espace .hero { background: radial-gradient(120% 90% at 100% 0%, rgba(139,127,224,.16), transparent 58%), rgba(255,255,255,.78);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: rgba(255,255,255,.95);
  box-shadow: inset 0 1px 0 #fff, 0 2px 6px rgba(10,11,16,.04), 0 24px 60px rgba(91,79,196,.18); }
body.espace .appel { background: radial-gradient(110% 80% at 100% 0%, rgba(139,127,224,.16), transparent 60%), rgba(255,255,255,.8);
  backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: rgba(255,255,255,.95); }

/* Ce qui se colle sous la barre */
body.espace .avance { top: calc(78px + env(safe-area-inset-top)); background: rgba(247,246,251,.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-radius: 0 0 14px 14px; }
body.espace main.page { padding-top: 30px; }
body.espace .compte-calque .compte-feuille { top: calc(80px + env(safe-area-inset-top)); }

/* Sur téléphone : la barre et les onglets du bas flottent tous les deux */
@media (max-width: 760px) {
  body.espace .entete { padding: calc(8px + env(safe-area-inset-top)) 10px 0; }
  body.espace .entete .dedans { height: 56px; border-radius: 18px; padding: 0 8px 0 10px; }
  body.espace .brand img { width: 32px; height: 32px; border-radius: 10px; }
  body.espace .moi { width: 36px; height: 36px; }
  body.espace .avance { top: calc(68px + env(safe-area-inset-top)); }
  body.espace main.page { padding-top: 22px; }
  body.espace .onglets { left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 22px;
    background: rgba(255,255,255,.8); border: 1px solid rgba(255,255,255,.95);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 2px 6px rgba(10,11,16,.06), 0 14px 36px rgba(91,79,196,.18); }
  body.espace .onglets a, body.espace .onglets .plus summary { border-radius: 16px; padding: 7px 0 6px; }
  body.espace .onglets a.actif { background: var(--accent-wash); }
  body.espace .onglets a.actif::after { display: none; }
  body.avec-onglets.espace .page { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
  body.avec-onglets.espace .prendre-bas { bottom: calc(84px + env(safe-area-inset-bottom)); }
  body.espace .toast { bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { body.espace::before { animation: none; } }

/* Préparer l'appel avec son IA (19/11/2026) */
.appel-ia { position: relative; margin-top: 18px; padding: 16px; border-radius: 18px; background: var(--card);
  border: 1px solid rgba(139,127,224,.35); display: grid; gap: 12px; }
.appel-ia h3 { font-size: 15px; margin: 0 0 4px; }
.appel-ia p { margin: 0; font-size: 14px; line-height: 1.45; }
.appel-ia-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.appel-ia-actions .bouton { width: auto; min-height: 46px; padding-left: 22px; padding-right: 22px; }
.appel-ia-actions a:not(.bouton) { font-size: 14px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.preparer-etapes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.preparer-etapes li { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: 18px; background: var(--card); border: 1px solid var(--border); }
.preparer-num { flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--accent-wash); color: var(--accent-text);
  font-weight: 750; display: flex; align-items: center; justify-content: center; }
.preparer-quoi { min-width: 0; flex: 1; }
.preparer-quoi h2 { font-size: 18px; margin: 4px 0 4px; }
.preparer-quoi p { margin: 0 0 12px; font-size: 14.5px; line-height: 1.45; }
.preparer-quoi p:last-child { margin-bottom: 0; }
.preparer-copier { width: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding-left: 22px; padding-right: 22px; }
.preparer-copier svg { width: 18px; height: 18px; }
.preparer-ia { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 420px; }
.preparer-ia .bouton { text-align: center; }
.preparer-voir { margin-top: 22px; border-top: 1px solid var(--border); padding-top: 14px; }
.preparer-voir summary { cursor: pointer; font-weight: 650; font-size: 14.5px; }
.preparer-voir textarea { width: 100%; box-sizing: border-box; margin-top: 10px; font: 13px/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
  padding: 12px; border-radius: 12px; border: 1px solid var(--border-strong); background: var(--muted); color: var(--foreground); resize: vertical; }
@media (max-width: 520px) { .preparer-copier { width: 100%; } .preparer-ia { max-width: none; } }
