/* =====================================================================
   Thème « Cosmos » (04/12/2026) : le site entier plonge dans la nuit étoilée,
   cartes en verre bordées d'or, lumière dorée. Chargé APRÈS style.css.
   ===================================================================== */
:root {
  --creme: #0b0820; --creme2: #120d2e; --texte: #f1ecff; --doux: #a9a1c9; --bord: rgba(240, 215, 156, .18);
  --verre: rgba(255, 255, 255, .045); --verre2: rgba(255, 255, 255, .07); --lueur: 0 0 0 1px rgba(240, 215, 156, .16), 0 20px 60px rgba(0, 0, 0, .45);
  --ombre: 0 20px 60px rgba(0, 0, 0, .45);
}
body { background: #07051a radial-gradient(ellipse 120% 80% at 50% -10%, #2a1d63 0%, #110b2d 45%, #07051a 100%) fixed; color: var(--texte); }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .55;
  background-image: radial-gradient(1px 1px at 12% 18%, #fff 50%, transparent 51%), radial-gradient(1px 1px at 72% 34%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 38% 72%, #f0d79c 50%, transparent 51%), radial-gradient(1px 1px at 86% 82%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 55% 12%, #fff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 22% 88%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 93% 8%, #f0d79c 50%, transparent 51%), radial-gradient(1px 1px at 4% 52%, #fff 50%, transparent 51%);
  background-size: 420px 420px; }
::selection { background: rgba(240, 215, 156, .35); }
h1, h2, h3 { color: #fbf6ff; letter-spacing: .005em; }
h1 em, h2 em { font-style: italic; color: transparent; background: linear-gradient(100deg, #f7e3b1, #d8b46a 45%, #fff3d0 70%, #d8b46a);
  -webkit-background-clip: text; background-clip: text; background-size: 200% 100%; animation: reflet 8s ease-in-out infinite; }
@keyframes reflet { 50% { background-position: 100% 0; } }
.surtitre { color: var(--or2); display: inline-flex; align-items: center; gap: 12px; }
.surtitre::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, transparent, var(--or)); }
.centre { text-align: center; display: flex; justify-content: center; }
h2.centre { display: block; }
.chapeau { color: var(--doux); }
.discret { color: var(--doux); }

/* boutons : or lumineux */
.bouton { background: linear-gradient(135deg, #f7e3b1, #d8b46a 55%, #b88a3c); color: #120c2c; box-shadow: 0 0 0 1px rgba(255, 240, 200, .4), 0 10px 34px rgba(216, 180, 106, .35); letter-spacing: .01em; }
.bouton:hover { box-shadow: 0 0 0 1px rgba(255, 240, 200, .6), 0 14px 44px rgba(240, 215, 156, .55); }
.bouton.clair, .bouton.fantome, .bouton.clair-fonce { background: rgba(255, 255, 255, .03); color: var(--or2); box-shadow: inset 0 0 0 1.5px rgba(240, 215, 156, .5); }
.bouton.clair:hover, .bouton.fantome:hover { background: rgba(240, 215, 156, .1); }

/* en-tête */
.entete { background: rgba(7, 5, 26, .72); border-bottom-color: rgba(240, 215, 156, .12); }
.menu { background: transparent; }
@media (max-width: 1120px) { .menu { background: rgba(9, 6, 30, .97); backdrop-filter: blur(14px); } }

/* ------------------------------------------------ accueil */
.accueil { background: none; min-height: calc(100svh - 68px); display: flex; align-items: center; padding: 60px 0 90px; }
.accueil-in { max-width: 900px; margin-inline: auto; display: block; text-align: center; }
.accueil-in .intro { margin-inline: auto; }
.accueil-in .actions, .accueil-in .chiffres { justify-content: center; }
.accueil h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); line-height: 1.04; }
.accueil .intro { color: #cfc6ef; font-size: clamp(1.05rem, 1.6vw, 1.22rem); max-width: 600px; }
.accueil-embleme { position: relative; display: grid; place-items: center; }
.accueil-embleme::before { content: ""; position: absolute; width: 120%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 215, 156, .22), rgba(120, 90, 220, .14) 40%, transparent 68%); filter: blur(10px); }
.embleme { position: relative; width: min(460px, 100%); height: auto; overflow: visible; filter: drop-shadow(0 0 24px rgba(240, 215, 156, .35)); }
.embleme .anneau { transform-origin: 200px 200px; }
.embleme .lent { animation: tourne 90s linear infinite; }
.embleme .moyen { animation: tourne 60s linear infinite reverse; }
.embleme .rapide { animation: tourne 40s linear infinite; }
.embleme .pulsation { transform-origin: 200px 200px; animation: respire 6s ease-in-out infinite; }
@keyframes respire { 50% { transform: scale(1.12); opacity: .75; } }
.chiffre-sacre { font: 600 44px var(--serif); fill: #1a1238; letter-spacing: 4px; }
.etoiles-fond { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.etoiles-fond i { position: absolute; inset: -50%; background-image: radial-gradient(1.2px 1.2px at 20% 30%, #fff, transparent 60%), radial-gradient(1px 1px at 70% 60%, #fff, transparent 60%),
  radial-gradient(1.6px 1.6px at 40% 80%, #f0d79c, transparent 60%), radial-gradient(1px 1px at 85% 15%, #fff, transparent 60%); background-size: 300px 300px; opacity: .5; animation: derive 120s linear infinite; }
.etoiles-fond i:nth-child(2) { background-size: 220px 220px; opacity: .35; animation-duration: 180s; animation-direction: reverse; }
.etoiles-fond i:nth-child(3) { background-size: 520px 520px; opacity: .6; animation: scintille 5s ease-in-out infinite; }
@keyframes derive { to { transform: translate(150px, 80px); } }
@keyframes scintille { 50% { opacity: .2; } }
.descendre { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(240, 215, 156, .5); border-radius: 14px; }
.descendre span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--or2); animation: glisse 2s ease-in-out infinite; }
@keyframes glisse { 60% { transform: translateY(12px); opacity: 0; } }
.chiffres b { color: var(--or2); }
@media (max-width: 860px) {
  .accueil { min-height: 0; padding: 40px 0 80px; }
  .accueil-in { grid-template-columns: 1fr; }
  .accueil-embleme { order: -1; max-width: 260px; margin: 0 auto 8px; }
  .accueil-texte { text-align: center; }
  .accueil .intro { margin-inline: auto; }
  .accueil .actions { justify-content: center; }
  .chiffres { justify-content: center; }
}

/* ------------------------------------------------ les trois consciences */
.section { position: relative; }
.section.voile, .section.sombre { background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)); }
.section + .section::before { content: ""; position: absolute; top: 0; left: 50%; width: min(600px, 80%); height: 1px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(240, 215, 156, .35), transparent); }
.trois h2 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: 1.2em; }
.niveaux-conscience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: end; }
.nc { position: relative; padding: 34px 28px 30px; border-radius: 22px; background: var(--verre); border: 1px solid rgba(240, 215, 156, .14); backdrop-filter: blur(8px); }
.nc:nth-child(1) { min-height: 250px; } .nc:nth-child(2) { min-height: 290px; }
.nc p { color: var(--doux); margin: 0; }
.nc-num { display: block; font: 600 1rem var(--serif); letter-spacing: .3em; color: var(--or); margin-bottom: 18px; }
.nc-lumiere { min-height: 340px; background: linear-gradient(170deg, rgba(240, 215, 156, .2), rgba(120, 90, 220, .12) 60%, rgba(255, 255, 255, .04));
  border-color: rgba(240, 215, 156, .55); box-shadow: 0 0 80px rgba(240, 215, 156, .18); }
.nc-lumiere::after { content: ""; position: absolute; top: -34px; left: 50%; width: 68px; height: 68px; margin-left: -34px; border-radius: 50%;
  background: radial-gradient(circle, #fff6dc, rgba(240, 215, 156, .5) 40%, transparent 70%); animation: respire 5s ease-in-out infinite; }
.nc-lumiere h3 { color: var(--or2); }
.nc-lumiere p { color: #e6def8; }
.citation-centrale { text-align: center; font: italic 500 clamp(1.4rem, 2.6vw, 2rem)/1.35 var(--serif); color: var(--or2); max-width: 760px; margin: 2.4em auto 0; }
@media (max-width: 760px) { .niveaux-conscience { grid-template-columns: 1fr; } .nc { min-height: 0 !important; } .nc-lumiere { margin-top: 30px; } }

/* ------------------------------------------------ cartes : verre et or */
.livre, .rdv, details, .formation, .gratuit, .carte-espace, .ligne-espace, .formation-espace, .message-groupe, .vide-espace, .carte-connexion, .un-avis, .grille-temoins figure, .offre {
  background: var(--verre); border: 1px solid rgba(240, 215, 156, .14); box-shadow: var(--lueur); backdrop-filter: blur(8px); }
.livre:hover, .offre:hover, .formation:hover { border-color: rgba(240, 215, 156, .45); box-shadow: 0 0 0 1px rgba(240, 215, 156, .3), 0 24px 70px rgba(0, 0, 0, .5), 0 0 60px rgba(240, 215, 156, .1); }
.offre, .formation { transition: transform .25s, border-color .25s, box-shadow .25s; }
.offre:hover, .formation:hover { transform: translateY(-4px); }
.livre-corps p, .offre p, .sous-titre { color: var(--doux); }
.prix { color: var(--or2); }
.livre h3 a:hover { color: var(--or2); }
.couverture::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255, 240, 200, .25), transparent 55%); pointer-events: none; }
.niveaux li, .niveaux-espace > li.ferme { background: rgba(255, 255, 255, .035); border-color: rgba(240, 215, 156, .14); }
.niveaux-espace > li { border-color: rgba(240, 215, 156, .14); }
.niveaux-espace > li.ouvert { background: linear-gradient(170deg, rgba(240, 215, 156, .12), rgba(255, 255, 255, .03)); border-color: rgba(240, 215, 156, .5); }
.contenus-niveau li { border-top-color: rgba(255, 255, 255, .07); }
.contenus-niveau a { color: var(--or2); }
.vide-vignette { background: rgba(255, 255, 255, .06); }
.statut-groupe, .groupe-prix { background: linear-gradient(160deg, rgba(240, 215, 156, .16), rgba(120, 90, 220, .1)); border: 1px solid rgba(240, 215, 156, .4); }
.pastille-espace { background: rgba(240, 215, 156, .18); color: var(--or2); }
.onglets-espace { border-bottom-color: rgba(255, 255, 255, .1); }
.onglets-espace a[aria-selected="true"] { color: var(--or2); }
details p { color: var(--doux); }
summary { color: #f1ecff; }
blockquote { color: var(--or2); }
.portrait { background: radial-gradient(circle at 50% 35%, #f0d79c, #6a4bb5 55%, #1a1238); box-shadow: 0 0 80px rgba(240, 215, 156, .2); }
.avantages li { background: var(--verre); }
audio { filter: invert(.9) hue-rotate(180deg); border-radius: 30px; }

/* rendez-vous */
.formule, .jour, .heure { background: rgba(255, 255, 255, .04); border-color: rgba(240, 215, 156, .2); color: var(--texte); }
.formule[aria-checked="true"] { background: rgba(240, 215, 156, .12); border-color: var(--or); }
.jour.actif { background: linear-gradient(135deg, #f7e3b1, #d8b46a); border-color: transparent; color: #120c2c; }
.jour.actif span { color: #3a2a1a; }
.heure:hover { background: rgba(240, 215, 156, .12); }

/* formulaires et fenêtre d'achat */
.formulaire input, .formulaire select, .formulaire textarea { background: rgba(255, 255, 255, .06); border-color: rgba(240, 215, 156, .25); color: var(--texte); }
.formulaire input::placeholder { color: #7d76a0; }
.boite { background: linear-gradient(170deg, #1d1545, #0f0a28); border: 1px solid rgba(240, 215, 156, .3); box-shadow: 0 30px 90px rgba(0, 0, 0, .6), 0 0 80px rgba(240, 215, 156, .08); }
.fenetre { background: rgba(4, 2, 14, .75); backdrop-filter: blur(6px); }
.fermer { color: var(--doux); }
.erreur { color: #ff8f86; }
.info-code.bon { color: #8fe0a8; } .info-code.mauvais { color: #ff8f86; }
.langue option { color: #120c2c; }
.etoiles .vide { color: #4a4270; }
.verifie { color: #8fe0a8; }
.alerte-chargement { background: rgba(255, 120, 110, .12); color: #ffb3ad; }

/* pied de page */
.pied { background: rgba(4, 2, 14, .6); border-top: 1px solid rgba(240, 215, 156, .12); }

/* apparition douce au défilement */
@media (prefers-reduced-motion: no-preference) {
  .apparait { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
  .apparait.visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .embleme *, .etoiles-fond i, h1 em, h2 em, .nc-lumiere::after, .descendre span { animation: none !important; } }

/* ------------------------------------------------ 3D */
.etoiles-3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.accueil > .conteneur, .accueil > .descendre { z-index: 1; }
.accueil-embleme { perspective: 1100px; }
.gyroscope { position: relative; width: min(460px, 100%); aspect-ratio: 1; display: grid; place-items: center; transform-style: preserve-3d; transition: transform .1s linear; }
.gyroscope .embleme { position: absolute; inset: 0; width: 100%; transform: translateZ(40px); }
.orbite { position: absolute; inset: 4%; border-radius: 50%; border: 1.5px solid rgba(240, 215, 156, .55); transform-style: preserve-3d;
  box-shadow: 0 0 22px rgba(240, 215, 156, .25), inset 0 0 22px rgba(240, 215, 156, .12); }
.orbite::after { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%;
  background: radial-gradient(circle, #fff, #f0d79c 45%, transparent 70%); box-shadow: 0 0 16px #f0d79c; }
.o1 { animation: orbite1 16s linear infinite; }
.o2 { inset: 10%; border-color: rgba(180, 150, 255, .5); animation: orbite2 22s linear infinite; }
.o3 { inset: -2%; border-style: dashed; border-color: rgba(240, 215, 156, .3); animation: orbite3 30s linear infinite; }
@keyframes orbite1 { from { transform: rotateX(70deg) rotateZ(0); } to { transform: rotateX(70deg) rotateZ(360deg); } }
@keyframes orbite2 { from { transform: rotateY(66deg) rotateZ(0); } to { transform: rotateY(66deg) rotateZ(-360deg); } }
@keyframes orbite3 { from { transform: rotateX(45deg) rotateY(-30deg) rotateZ(0); } to { transform: rotateX(45deg) rotateY(-30deg) rotateZ(360deg); } }
.en-relief { transition: transform .12s ease-out, border-color .25s, box-shadow .25s !important; transform-style: preserve-3d; position: relative; }
.en-relief::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 2;
  background: radial-gradient(circle at var(--lx, 50%) var(--ly, 50%), rgba(255, 240, 200, .16), transparent 55%); }
.livre .couverture { transform: translateZ(0); }
@media (prefers-reduced-motion: reduce) { .orbite { animation: none !important; } }

.entete .conteneur { width: min(1300px, 100% - 32px); }
.entete-in .logo { margin-right: 28px; }
@media (max-width: 860px) { .accueil-embleme { width: 100%; max-width: none; } .gyroscope { width: min(250px, 70vw); } .accueil h1 { font-size: clamp(2.3rem, 9vw, 3rem); } }
