/* Espace des clients venus par la page « performance mentale » (hommes) : la palette validée par Vanille
   le 26/10/2026, la même que liens/performance (palette-coal.css). Fond coal, cartes brown, texte white,
   petits titres olive, l'oxblood seule couleur (boutons, coches, souffle). Les textes ne changent pas.
   Tout est sous body.perf, posé par seances.js quand la personne a réservé par cette page.
   Le logo (le soleil MDB, dans l'arche, les vignettes et les respirations) garde ses couleurs : demande de Vanille. */

body.perf {
  --p-coal: #242224; --p-carte: #2F2C2D; --p-brown: #46413C; --p-olive: #8F9289; --p-white: #F4F4F4;
  --p-ox: #6B2B26; --p-ox-clair: #9A453C; --p-ox-texte: #C9877E; --p-ligne: rgba(143, 146, 137, .28);

  /* les variables du moteur, redirigées vers la palette */
  --creme: var(--p-white);
  --jaune: var(--p-ox-texte);
  --bleu: var(--p-olive);
  --nuit: var(--p-coal);
  --ink: var(--p-white);
  --ink-soft: #D9D9D6;
  --ink-mute: var(--p-olive);
  --glass-fill: var(--p-carte);
  --glass-fill-on: var(--p-brown);
  --glass-shadow: inset 0 0 0 1px var(--p-ligne);
  --glass-shadow-on: inset 0 0 0 1.5px var(--p-ox-clair);
  --glass-rim: none;
}
html:has(body.perf) { background: #242224; }
body.epure.perf { background: var(--p-coal); }
body.perf .aurora, body.perf .grain { display: none !important; }

/* Surfaces à plat : coal / brown, un filet olive, pas de verre */
body.perf .glass { background: var(--p-carte) !important; box-shadow: var(--glass-shadow) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
body.perf .glass::before { display: none !important; }
body.perf .eyebrow, body.perf.epure .etiq { color: var(--p-olive); }
body.perf a { color: var(--p-white); }

/* Boutons : oxblood plein, texte white */
body.perf .cta, body.perf .btn-verre, body.perf .btn-plein {
  background: var(--p-ox) !important; color: var(--p-white) !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
}
body.perf .cta[disabled] { background: var(--p-brown) !important; color: rgba(244, 244, 244, .45) !important; }
body.perf .cta-bar { background: linear-gradient(to top, rgba(36, 34, 36, .95), rgba(36, 34, 36, 0)); }
body.perf.avec-onglets .cta-bar { background: none; }
body.perf .ep-lien, body.perf .ep-petit-lien { color: var(--p-ox-texte); }

/* Repères, coches, sélection : oxblood */
body.perf .ep-points i { background: rgba(244, 244, 244, .16); }
body.perf .ep-points i.on, body.perf .ep-barre i { background: var(--p-ox-clair); }
body.perf .ep-fin-coche, body.perf .done-mark { background: var(--p-ox) !important; color: var(--p-white); box-shadow: none !important; }
body.perf .ep-n[aria-pressed="true"],
body.perf .rappel-choix .btn-line.glass[aria-pressed="true"],
body.perf .chip.glass[aria-pressed="true"] { background: var(--p-ox) !important; color: var(--p-white) !important; box-shadow: none !important; }
body.perf .tab[aria-current="page"] { color: var(--p-ox-texte); }
body.perf .ep-rangee, body.perf .ep-liste > .ep-rangee:last-child, body.perf .ep-plus { border-color: var(--p-ligne); }
body.perf .ep-page { background: var(--p-carte); box-shadow: inset 0 0 0 1px var(--p-ligne); }
body.perf .note { background: var(--p-carte); color: var(--p-white); box-shadow: inset 3px 0 0 var(--p-ox), inset 0 0 0 1px var(--p-ligne); }
body.perf .ep-pop { background: rgba(20, 18, 20, .7); }
body.perf .ep-pop-carte { background: var(--p-carte); color: var(--p-white); box-shadow: inset 0 0 0 1px var(--p-ligne); }
body.perf .ep-pop-carte h2 { color: var(--p-white); }
body.perf .vignette-souffle { background: radial-gradient(120% 90% at 50% 0%, var(--p-brown) 0%, var(--p-carte) 45%, var(--p-coal) 100%) !important; }

/* ---------- Respirations en plein écran : même scène, sur coal, le souffle en oxblood ---------- */
body.perf .souffle-plein, body.perf .souffle-plein[data-theme="aube"] {
  --jaune: #C9877E; --creme: #F4F4F4; --nuit: #242224; --oxblood: #6B2B26;
  --fond: #242224; --aura-zenith: #46413C; --aura-milieu: #2F2C2D; --aura-sol: #242224; --aura-milieu-pos: 40%;
  --tache-feu: #6B2B26; --tache-terre: #46413C; --tache-lait: #8F9289; --tache-profonde: #242224;
  --o-feu: .7; --o-terre: .6; --o-lait: .18; --o-profonde: 1; --o-liquide: .45;
  --liquide-coeur: #C9877E; --liquide-bord: #9A453C;
  --encre: #F4F4F4; --encre-douce: rgba(244, 244, 244, .8); --encre-discrete: rgba(244, 244, 244, .7);
  --verre-teinte: rgba(36, 34, 36, .55);
  --verre-reflet: linear-gradient(135deg, rgba(255,255,255,.12) 0%, rgba(255,255,255,.04) 38%, rgba(255,255,255,.02) 70%, rgba(255,255,255,.04) 100%);
  --ombre-verre: inset 0 0 0 1px rgba(143, 146, 137, .3), 8px 16px 34px -14px rgba(0, 0, 0, .55);
  --grain-mode: overlay; --grain-o: .06;
}
body.perf .souffle-plein .s-points i.on { background: #9A453C; box-shadow: none; }
body.perf .souffle-plein .s-pause { background: #2F2C2D; color: #F4F4F4; box-shadow: inset 0 0 0 1px rgba(143, 146, 137, .28); }
body.perf .souffle-plein .s-surtitre, body.perf .souffle-plein .s-compte { color: #8F9289; }
