/* ═══════════════════════════════════════════════════════════════════════════
   CORPUS — LE TEMPLE DU CORPS (refonte visuelle 2026-10-06)
   Couche purement visuelle, chargée APRÈS le <style> de corpus.html et corpus-temple.css.
   Composition : FRONTON (en-tête) → COLONNADE (onglets) → NEF (onglet ouvert, entre deux piliers)
   → SANCTUAIRE (Ton Temple : naos + 7 marches) → PILIERS (Mouvement · Élévation · Matière · Énergie).
   Palette : émeraude profond · vert forêt · jade · turquoise léger · or · ivoire · bleu nuit.
   Le violet POLARISTAR reste secondaire (accent du grade VI posé par corpus-temple.js).
   Animations lentes (5 à 9 s), toutes coupées sous prefers-reduced-motion.
═══════════════════════════════════════════════════════════════════════════ */
:root{
  --cs-night:#040c11; --cs-night2:#06161a; --cs-emerald:#0e4a37; --cs-forest:#12382a;
  --cs-jade:#3fae8c; --cs-jade2:#8fd6b8; --cs-turq:#9fe6dc; --cs-gold:#d9b45a; --cs-gold2:#f1d891; --cs-ivory:#f3eddc;
  --cs-line:rgba(143,214,184,.14); --cs-line2:rgba(143,214,184,.24); --cs-gline:rgba(217,180,90,.34);
  --cs-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .78 0 0 0 0 .92 0 0 0 0 .86 0 0 0 .055 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --cs-vein:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' preserveAspectRatio='none'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-20 300 C120 260 200 290 300 240 S480 190 640 170' stroke='%238fd6b8' stroke-opacity='.07' stroke-width='1.2'/%3E%3Cpath d='M-20 320 C140 290 230 310 320 270' stroke='%23d9b45a' stroke-opacity='.05' stroke-width='.8'/%3E%3Cpath d='M380 -20 C360 60 400 120 360 200' stroke='%238fd6b8' stroke-opacity='.05' stroke-width='.7'/%3E%3C/g%3E%3C/svg%3E");
  /* jetons existants réaccordés (toute la page suit) */
  --ct-night:#05121a; --ct-night2:#0a2420; --ct-em:#3fae8c; --ct-em2:#8fd6b8; --ct-cy:#9fe6dc; --ct-gold:#d9b45a; --ct-gold2:#f1d891;
  --ct-ink:#ecf3ec; --ct-dim:#9fbcae; --ct-line:rgba(143,214,184,.15);
  --corpus-gold:#d9b45a; --corpus-gold-light:#ecd08a; --corpus-sage:#3fae8c; --corpus-sage-soft:#8fd6b8;
  --corpus-olive:#8fd6b8; --corpus-forest:#dcefe4; --corpus-text:#e6efe8; --corpus-dim:#9fbcae;
  --border:rgba(217,180,90,.2); --border-sage:rgba(143,214,184,.2); --glow:rgba(241,216,145,.2); --sage-glow:rgba(63,174,140,.2);
  --card-ivory:linear-gradient(170deg,rgba(14,52,44,.5),rgba(6,20,24,.9) 55%,rgba(4,13,17,.94));
  --card-sage:linear-gradient(170deg,rgba(16,60,50,.42),rgba(6,22,26,.7));
  --card-energy:linear-gradient(170deg,rgba(18,64,52,.38),rgba(6,22,26,.66));
}

/* ── FOND : nuit profonde, temple abstrait, halos verts ── */
body{
  background-color:var(--cs-night);
  background-image:
    radial-gradient(ellipse 46% 30% at 50% 0%,rgba(241,216,145,calc(.05 + var(--co-glow,0)*.09)),transparent 70%),
    radial-gradient(ellipse 80% 46% at 50% 4%,rgba(63,174,140,calc(.13 + var(--co-glow,0)*.16)),transparent 72%),
    radial-gradient(ellipse 55% 48% at 0% 72%,rgba(14,74,55,.36),transparent 70%),
    radial-gradient(ellipse 55% 48% at 100% 58%,rgba(10,36,64,.34),transparent 70%),
    linear-gradient(180deg,#05131a,#051410 48%,#03090d);
}
body::before{
  content:"";position:fixed;inset:0;z-index:0;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 900'%3E%3Cg fill='none' stroke='%238fd6b8' stroke-opacity='.075' stroke-width='1.2'%3E%3Cpath d='M70 230 L600 40 L1130 230'/%3E%3Cpath d='M140 222 L600 62 L1060 222' stroke-opacity='.05'/%3E%3Cpath d='M50 240 H1150 M60 256 H1140 M60 280 H1140'/%3E%3Cpath d='M92 296 H148 M84 304 H156 M96 304 V820 M144 304 V820 M108 310 V814 M120 310 V814 M132 310 V814 M84 820 H156 M76 830 H164'/%3E%3Cpath d='M212 296 H268 M204 304 H276 M216 304 V820 M264 304 V820 M228 310 V814 M240 310 V814 M252 310 V814 M204 820 H276 M196 830 H284'/%3E%3Cpath d='M332 296 H388 M324 304 H396 M336 304 V820 M384 304 V820 M348 310 V814 M360 310 V814 M372 310 V814 M324 820 H396 M316 830 H404'/%3E%3Cpath d='M812 296 H868 M804 304 H876 M816 304 V820 M864 304 V820 M828 310 V814 M840 310 V814 M852 310 V814 M804 820 H876 M796 830 H884'/%3E%3Cpath d='M932 296 H988 M924 304 H996 M936 304 V820 M984 304 V820 M948 310 V814 M960 310 V814 M972 310 V814 M924 820 H996 M916 830 H1004'/%3E%3Cpath d='M1052 296 H1108 M1044 304 H1116 M1056 304 V820 M1104 304 V820 M1068 310 V814 M1080 310 V814 M1092 310 V814 M1044 820 H1116 M1036 830 H1124'/%3E%3Cpath d='M30 846 H1170 M14 866 H1186 M0 886 H1200'/%3E%3C/g%3E%3Ccircle cx='600' cy='150' r='34' fill='none' stroke='%23d9b45a' stroke-opacity='.08'/%3E%3Ccircle cx='600' cy='150' r='3' fill='%23f1d891' fill-opacity='.18'/%3E%3C/svg%3E") 50% 0/min(1280px,170vw) auto no-repeat;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.85) 55%,rgba(0,0,0,.25) 100%);mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.85) 55%,rgba(0,0,0,.25) 100%);
}
/* poussière lumineuse verte / dorée, toujours présente (plus dense avec la progression) */
.co-particles i{background:rgba(159,230,220,.75);box-shadow:0 0 6px rgba(143,214,184,.6);
  opacity:calc(.16 + var(--co-glow,0)*.6 - var(--k)*.025)}
.co-particles i:nth-child(3n){background:rgba(241,216,145,.85);box-shadow:0 0 7px rgba(241,216,145,.6)}
.co-particles i:nth-child(4n){width:2px;height:2px}

/* ═════════ 1. FRONTON ═════════ */
header.cs-fronton{padding:1.4rem 0 1.4rem;position:relative}
.cs-ped{display:block;width:min(620px,100%);height:auto;margin:0 auto;overflow:visible}
.cs-ped path,.cs-ped circle{fill:none}
.cs-ped-geo{stroke:rgba(143,214,184,.11);stroke-width:.7}
.cs-ped-outer{stroke:url(#csPedLine);stroke-width:1.6;stroke-linejoin:round}
.cs-ped-inner{stroke:rgba(143,214,184,.32);stroke-width:.8;stroke-linejoin:round}
.cs-ped-cornice{stroke:rgba(217,180,90,.5);stroke-width:1}
.cs-ped-emblem{stroke:var(--cs-gold2);stroke-width:1.1;filter:drop-shadow(0 0 6px rgba(241,216,145,.45))}
.cs-ped-emblem .cs-dot{fill:#fff3cf;stroke:none}
.cs-ped-acro{fill:var(--cs-gold2)!important;filter:drop-shadow(0 0 6px rgba(241,216,145,.7))}
.cs-ped-stars circle{fill:var(--cs-ivory);opacity:.65;animation:csTwinkle 6s ease-in-out infinite}
.cs-ped-stars circle:nth-child(2n){animation-delay:-2.4s;animation-duration:7.5s}
.cs-ped-stars circle:nth-child(3n){animation-delay:-4.1s}
.cs-ped-halo{transform-box:fill-box;transform-origin:center;animation:csBreathe 8s ease-in-out infinite}
.cs-frieze{position:relative;margin:0 auto;padding:.55rem 1rem .75rem;max-width:min(560px,100%);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);mask-image:linear-gradient(90deg,transparent,#000 14%,#000 86%,transparent);
  background:linear-gradient(180deg,rgba(143,214,184,.05),rgba(143,214,184,0));
  border-bottom:1px solid rgba(217,180,90,.22)}
.cs-frieze h1{margin:.1rem 0 .1rem;font-size:clamp(2rem,6.4vw,3.4rem);letter-spacing:.28rem;color:var(--cs-gold2);
  background:linear-gradient(180deg,#fff5d6 0%,#ecd08a 48%,#b98f3a 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;
  text-shadow:none;filter:drop-shadow(0 0 18px rgba(241,216,145,.28))}
.cs-frieze .sub{color:var(--cs-jade2);letter-spacing:.55rem;font-size:.78rem;margin-top:.2rem}
.cs-frieze .sub::before,.cs-frieze .sub::after{content:"◆";font-size:.42rem;color:var(--cs-gold);opacity:.7;vertical-align:.18rem;margin:0 .9rem;letter-spacing:0}
header.cs-fronton .hline{width:min(540px,90%);height:9px;margin:0 auto 1.2rem;
  background:
    repeating-linear-gradient(90deg,rgba(217,180,90,.42) 0 5px,transparent 5px 11px) 0 0/100% 4px no-repeat,
    linear-gradient(90deg,transparent,rgba(143,214,184,.5),rgba(241,216,145,.7),rgba(143,214,184,.5),transparent) 0 100%/100% 1px no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent);mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent)}
header.cs-fronton .intro{color:var(--corpus-dim);font-size:.9rem;line-height:1.85;max-width:540px}
.cs-intro-a{display:block;font-family:'Cinzel Decorative',cursive;font-size:1.12rem;letter-spacing:.06rem;color:var(--cs-ivory);margin-bottom:.15rem;text-shadow:0 0 18px rgba(143,214,184,.25)}

/* ═════════ 2. COLONNADE (onglets) ═════════ */
.ct-tabs{gap:.35rem;padding:.6rem .2rem .55rem;
  background:linear-gradient(180deg,rgba(4,13,15,.97),rgba(4,13,15,.86));border-bottom:1px solid rgba(217,180,90,.16);
  box-shadow:0 1px 0 rgba(143,214,184,.06)}
.ct-tab{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.18rem;min-height:54px;line-height:1.15;
  padding:.5rem .9rem .5rem;border-radius:12px 12px 3px 3px;border:1px solid var(--cs-line);border-bottom-color:rgba(143,214,184,.28);
  background:linear-gradient(180deg,rgba(143,214,184,.07),rgba(143,214,184,.015) 70%),repeating-linear-gradient(90deg,transparent 0 9px,rgba(143,214,184,.025) 9px 10px);
  color:var(--ct-dim);font-size:.66rem;letter-spacing:.18rem}
.ct-tab::before{content:attr(data-pillar);font-size:.47rem;letter-spacing:.22rem;color:var(--cs-jade);opacity:.85}
.ct-tab::after{content:"";position:absolute;left:14%;right:14%;top:-1px;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,rgba(217,180,90,.35),transparent);opacity:.5;transition:opacity .3s}
.ct-tab:hover{border-color:rgba(217,180,90,.42);color:var(--cs-ivory)}
.ct-tab[aria-selected="true"]{color:var(--cs-gold2);border-color:rgba(217,180,90,.55);
  background:linear-gradient(180deg,rgba(217,180,90,.17),rgba(63,174,140,.1) 70%),repeating-linear-gradient(90deg,transparent 0 9px,rgba(241,216,145,.04) 9px 10px);
  box-shadow:0 10px 26px -16px rgba(241,216,145,.55),inset 0 -2px 0 rgba(241,216,145,.25)}
.ct-tab[aria-selected="true"]::before{color:var(--cs-jade2)}
.ct-tab[aria-selected="true"]::after{opacity:1;background:linear-gradient(90deg,transparent,var(--cs-gold2),transparent);box-shadow:0 0 10px rgba(241,216,145,.6)}
#ct-tab-temple{flex-grow:1.25}

/* ═════════ 3. NEF : l'onglet ouvert, entre deux piliers (grand écran) ═════════ */
.ct-pane{position:relative}
@media(min-width:980px){
  .ct-pane.on::before,.ct-pane.on::after{content:"";position:absolute;top:.4rem;bottom:.4rem;width:12px;pointer-events:none;
    background:
      linear-gradient(90deg,transparent,rgba(217,180,90,.35),transparent) 0 0/100% 1px no-repeat,
      linear-gradient(90deg,transparent,rgba(217,180,90,.35),transparent) 0 100%/100% 1px no-repeat,
      repeating-linear-gradient(90deg,rgba(143,214,184,.02) 0 2px,rgba(143,214,184,.09) 2px 3px,rgba(143,214,184,.02) 3px 4px);
    -webkit-mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.55) 70%,transparent);mask-image:linear-gradient(180deg,#000,rgba(0,0,0,.55) 70%,transparent);
    animation:csPillar 9s ease-in-out infinite}
  .ct-pane.on::before{left:-22px}
  .ct-pane.on::after{right:-22px;animation-delay:-4.5s}
}

/* têtes de piliers (ajoutées par corpus-sanctuaire.js) */
.cs-pillar{text-align:center;margin:.4rem 0 1.5rem;padding-bottom:1.1rem;position:relative}
.cs-pillar::after{content:"";position:absolute;left:50%;bottom:0;width:min(320px,70%);height:7px;transform:translateX(-50%);
  background:linear-gradient(90deg,transparent,rgba(143,214,184,.45),rgba(241,216,145,.8),rgba(143,214,184,.45),transparent) 0 50%/100% 1px no-repeat,
    radial-gradient(circle,var(--cs-gold2) 0 2px,transparent 2.5px) 50% 50%/7px 7px no-repeat}
.cs-capital{display:block;width:150px;height:auto;margin:0 auto .6rem;overflow:visible}
.cs-capital path,.cs-capital circle{fill:none;stroke:rgba(217,180,90,.7);stroke-width:1.1;stroke-linecap:round}
.cs-capital .cs-fine{stroke:rgba(143,214,184,.45);stroke-width:.8}
.cs-capital circle{fill:var(--cs-gold2);stroke:none}
.cs-pillar-k{font-family:'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A',serif;font-size:.62rem;letter-spacing:.45rem;color:var(--cs-jade2);text-transform:uppercase}
.cs-pillar-t{font-family:'Cinzel Decorative',cursive;font-weight:400;font-size:clamp(1.25rem,4.4vw,1.75rem);letter-spacing:.08rem;margin:.25rem 0 .3rem;
  color:var(--cs-gold2);text-shadow:0 0 22px rgba(241,216,145,.22)}
.cs-pillar-s{font-size:.78rem;color:var(--corpus-dim);letter-spacing:.04rem;line-height:1.7;max-width:460px;margin:0 auto}

/* ═════════ 4. MATIÈRE DES BLOCS : tablettes, niches, alcôves ═════════ */
.ct-night,.panel,.form-box{position:relative;
  background:var(--cs-grain),var(--cs-vein),linear-gradient(170deg,rgba(14,52,44,.5),rgba(6,20,24,.9) 55%,rgba(4,13,17,.94));
  background-size:220px 220px,100% 100%,100% 100%;
  border:1px solid var(--cs-line);border-top-color:rgba(143,214,184,.2);
  box-shadow:inset 0 1px 0 rgba(241,216,145,.07),inset 0 0 46px rgba(0,0,0,.34),0 22px 46px -30px rgba(0,0,0,.95);
  backdrop-filter:none;-webkit-backdrop-filter:none}
.ct-night{border-radius:14px 14px 10px 10px}
.panel,.form-box{border-radius:16px 16px 12px 12px;margin:1.6rem 0}
/* linteau doré : un fil + un losange au centre du bord supérieur */
.ct-card::before,.panel::before,.form-box::before,.cs-mirror-zone::before{content:"";position:absolute;left:12%;right:12%;top:-1px;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,rgba(217,180,90,.6),transparent)}
.ct-card::after,.panel::after,.form-box::after,.cs-mirror-zone::after{content:"";position:absolute;left:50%;top:-4px;width:7px;height:7px;margin-left:-3.5px;pointer-events:none;
  transform:rotate(45deg);background:var(--cs-night);border:1px solid rgba(217,180,90,.6);box-shadow:0 0 8px rgba(241,216,145,.35)}
.ct-card{padding:1.3rem 1.2rem}
.ct-night .ct-k,.co-kicker{color:var(--cs-jade2)}
.ct-night .ct-k{letter-spacing:.32rem}

/* niches à voûte : PROGREDI, sections de l'Énergie, Miroir */
#progredi-section,.co-ex-zone>section,.cs-mirror-zone{border-radius:48% 48% 14px 14px/70px 70px 14px 14px;padding-top:2.4rem}
.pg-liana{display:none}

/* titres de section : gravés, or pâle, fil vert/or dessous */
.section-title{font-family:'Cinzel Decorative',cursive;color:var(--cs-gold2);font-size:clamp(1.02rem,3.6vw,1.22rem);letter-spacing:.16rem;
  text-shadow:0 0 18px rgba(241,216,145,.22);margin-bottom:1.1rem}
.section-title::after{content:"";display:block;width:110px;height:1px;margin:.75rem auto 0;
  background:linear-gradient(90deg,transparent,var(--cs-jade),var(--cs-gold2),var(--cs-jade),transparent)}
.co-kicker.cs-k{margin-bottom:.45rem;letter-spacing:.4rem;color:var(--cs-jade)}
.section-note{color:var(--corpus-dim)}

/* petites tablettes */
.stat-card,.ct-ind,.co-ind,.avatar-stat{border-radius:8px 8px 6px 6px;border:1px solid var(--cs-line);
  background:linear-gradient(180deg,rgba(143,214,184,.06),rgba(0,0,0,.2));box-shadow:inset 0 1px 0 rgba(241,216,145,.06),inset 0 0 18px rgba(0,0,0,.25)}
.stat-value,.ct-ind b,.co-ind-v,.avatar-stat-value{color:var(--cs-gold2)}
.qual-box,.advice-box,.cycle-card,.bridge-card,.result-card,.morph-q,.imc-detail-panel,.pg-manual{border:1px solid var(--cs-line);
  background:var(--cs-grain),linear-gradient(175deg,rgba(16,58,48,.32),rgba(4,14,18,.7));background-size:220px 220px,100% 100%;box-shadow:inset 0 0 26px rgba(0,0,0,.28)}
.morph-q.answered{border-color:rgba(143,214,184,.4)}
.morph-opt{border-color:var(--cs-line);background:rgba(4,16,20,.55);font-family:'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A',serif;font-weight:400;line-height:1.55}
.morph-opt.selected{border-color:rgba(217,180,90,.55);background:linear-gradient(135deg,rgba(14,74,55,.7),rgba(8,40,36,.7));box-shadow:0 0 16px rgba(241,216,145,.12)}
input,select{border-color:var(--cs-line2);background:rgba(3,14,17,.75)}

/* boutons : action principale = émeraude + liseré or ; fantôme = trait fin */
.btn{background:linear-gradient(135deg,#0e4a37,#1b6b52);border-color:rgba(217,180,90,.55);color:var(--cs-ivory);box-shadow:0 0 18px rgba(63,174,140,.18)}
.btn:hover{background:linear-gradient(135deg,#125a43,#21805f);box-shadow:0 0 28px rgba(63,174,140,.28),0 0 12px rgba(241,216,145,.18)}
.btn-ghost{border-color:var(--cs-line2);color:var(--corpus-dim)}
.btn-ghost:hover{border-color:rgba(217,180,90,.5);color:var(--cs-gold2)}
.ct-btn{border-color:rgba(217,180,90,.6);background:linear-gradient(160deg,rgba(217,180,90,.2),rgba(14,74,55,.32))}
.ct-btn.ghost{border-color:var(--cs-line2)}

/* l'autel du jour (bouton central) */
.co-cta{border-radius:44px 44px 12px 12px/30px 30px 12px 12px;background:linear-gradient(180deg,#145c45,#0c3a2d);border-color:rgba(217,180,90,.6);
  box-shadow:0 0 30px rgba(63,174,140,.2),inset 0 1px 0 rgba(241,216,145,.25)}
.co-cta.is-done{background:linear-gradient(180deg,rgba(217,180,90,.14),rgba(14,74,55,.2))}

/* ═════════ 5. LE SANCTUAIRE : Ton Temple ═════════ */
#temple-hero.ct-night{padding:1.7rem 1.1rem 1.6rem;
  background:
    radial-gradient(ellipse 52% 40% at 50% 40%,rgba(241,216,145,calc(.05 + var(--co-glow,0)*.1)),transparent 70%),
    radial-gradient(ellipse 70% 55% at 50% 42%,rgba(63,174,140,calc(.1 + var(--co-glow,0)*.14)),transparent 72%),
    var(--cs-grain),
    linear-gradient(180deg,rgba(8,30,28,.92),rgba(4,13,17,.96));
  background-size:100% 100%,100% 100%,220px 220px,100% 100%;
  border-color:rgba(217,180,90,.2);border-radius:20px 20px 14px 14px}
#temple-hero .co-kicker{letter-spacing:.5rem}
#temple-hero .co-grade{margin-bottom:.4rem}
.cs-naos{--cw:min(340px,84vw);position:relative;width:100%;margin:.4rem auto 0}
.cs-naos-top{display:block;width:min(calc(var(--cw) * 1.62),100%);height:auto;margin:0 auto 2px;overflow:visible}
.cs-naos-row{display:flex;justify-content:center;align-items:stretch}
.cs-naos-row .co-ring-wrap{flex:0 0 auto;margin:0}
.cs-cols{flex:0 0 auto;width:calc(var(--cw) * .31);height:var(--cw);overflow:visible}
.cs-cols-r{transform:scaleX(-1)}
/* parties du temple : esquisse en pointillés tant qu'elles ne sont pas bâties */
.cs-naos .cs-g path,.cs-naos .cs-g circle{fill:none;stroke:rgba(143,214,184,.2);stroke-width:1;stroke-dasharray:3 4;stroke-linecap:round;stroke-linejoin:round;transition:stroke .9s,fill .9s,opacity .9s}
.cs-naos .cs-g .cs-fine{stroke-width:.7;opacity:.6}
.cs-naos .cs-g.on path,.cs-naos .cs-g.on circle{stroke:#e2c376;stroke-dasharray:none}
.cs-naos .cs-g.on .cs-fine{stroke:rgba(143,214,184,.7)}
.cs-naos svg .cs-g.on{filter:drop-shadow(0 0 4px rgba(241,216,145,.35))}
.cs-naos .cs-col.on .cs-shaft{fill:rgba(63,174,140,.09)}
.cs-naos .cs-col.on{animation:csColumn 7s ease-in-out infinite}
.cs-cols .cs-col[data-g="2"].on{animation-delay:-2.3s}
.cs-naos .cs-g.on .cs-acro{fill:var(--cs-gold2);stroke:none}
.cs-naos .cs-g .cs-ray{stroke-dasharray:2 3}
.cs-naos .cs-g.on .cs-ray{stroke:rgba(241,216,145,.6);stroke-dasharray:none;animation:csTwinkle 4s ease-in-out infinite}
.cs-naos svg .cs-g.now{animation:csNow 3.6s ease-in-out infinite}
.cs-naos-top .cs-g[data-g="5"].on circle{fill:rgba(241,216,145,.08)}
/* GRADES = TEMPLE : le grade bâtit l'architecture autour ; la lumière de l'avatar appartient à PROGREDI (corpus-silhouette.js) */
#temple-hero .co-temple g.on{opacity:.22}
/* les 7 marches */
.cs-stairs{display:flex;flex-direction:column;align-items:center;gap:3px;width:min(calc(var(--cw) * 1.62),100%);margin:.15rem auto 0;padding:0;
  background:none;border:0;cursor:pointer;font-family:'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A',serif;-webkit-tap-highlight-color:transparent}
.cs-stairs:focus-visible{outline:2px solid var(--cs-gold2);outline-offset:4px;border-radius:6px}
.cs-step{position:relative;display:flex;align-items:center;gap:.6rem;height:25px;padding:0 .8rem;overflow:hidden;
  border:1px solid rgba(143,214,184,.1);border-top-color:rgba(143,214,184,.22);border-radius:2px;
  background:linear-gradient(180deg,rgba(143,214,184,.045),rgba(0,0,0,.2));
  font-size:.55rem;letter-spacing:.14rem;text-transform:uppercase;color:rgba(159,188,174,.6);transition:color .6s,background .6s,border-color .6s,box-shadow .6s}
.cs-step[data-g="6"]{width:52%}.cs-step[data-g="5"]{width:60%}.cs-step[data-g="4"]{width:68%}.cs-step[data-g="3"]{width:76%}
.cs-step[data-g="2"]{width:84%}.cs-step[data-g="1"]{width:92%}.cs-step[data-g="0"]{width:100%}
.cs-step b{font-family:'Cinzel Decorative',cursive;font-weight:400;min-width:2.3em;text-align:left;letter-spacing:.04rem;font-size:.66rem}
.cs-step span{flex:1;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cs-step em{font-style:normal;text-transform:none;letter-spacing:.03rem;font-size:.6rem;opacity:.75;white-space:nowrap;text-align:right}
.cs-step.on{color:var(--cs-ivory);border-color:rgba(217,180,90,.22);border-top-color:rgba(241,216,145,.6);
  background:linear-gradient(180deg,rgba(217,180,90,.2),rgba(14,74,55,.24));box-shadow:0 -1px 12px -5px rgba(241,216,145,.55)}
.cs-step.on b{color:var(--cs-gold2)}
.cs-step.now{border-color:rgba(241,216,145,.55)}
.cs-step.now::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,transparent 30%,rgba(255,244,214,.22) 50%,transparent 70%);
  transform:translateX(-100%);animation:csSweep 4.5s ease-in-out infinite}
.cs-stairs:hover .cs-step{border-top-color:rgba(241,216,145,.5)}
/* « Voir les 7 grades » : un portail d'accès aux niveaux du temple */
#temple-hero .ct-hero-info .btn-row .ct-btn.ghost{border-radius:40px 40px 6px 6px/26px 26px 6px 6px;padding:.75rem 1.7rem .6rem;min-height:48px;
  border-color:rgba(217,180,90,.55);color:var(--cs-gold2);letter-spacing:.2rem;
  background:linear-gradient(180deg,rgba(217,180,90,.16),rgba(14,74,55,.12));box-shadow:inset 0 1px 0 rgba(241,216,145,.25)}
.ct-hero-info{margin-top:1.1rem}
.ct-hero-grade{color:var(--cs-gold2)}

/* modale des 7 grades = un escalier : I en bas, VII en haut */
.tg-box{background:var(--cs-grain),linear-gradient(170deg,#0a2a24,#040e12);background-size:220px 220px,100% 100%;border-color:rgba(217,180,90,.28)}
#tg-list{display:flex;flex-direction:column-reverse}
#tg-list .tg-row{color:var(--ct-ink)!important;border-radius:4px;border:1px solid var(--cs-line);border-top-color:rgba(143,214,184,.26);
  background:linear-gradient(180deg,rgba(143,214,184,.05),rgba(0,0,0,.22));margin-bottom:.45rem}
#tg-list .tg-row:nth-child(2){margin-inline:1.5%}#tg-list .tg-row:nth-child(3){margin-inline:3%}#tg-list .tg-row:nth-child(4){margin-inline:4.5%}
#tg-list .tg-row:nth-child(5){margin-inline:6%}#tg-list .tg-row:nth-child(6){margin-inline:7.5%}#tg-list .tg-row:nth-child(7){margin-inline:9%}
#tg-list .tg-row.current{border-color:rgba(241,216,145,.6);box-shadow:0 0 22px -6px rgba(241,216,145,.45)}
.cs-tg-arch{font-family:'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A',serif;font-size:.55rem;letter-spacing:.24rem;text-transform:uppercase;color:var(--cs-jade);margin-bottom:.15rem}

/* ═════════ 6. PILIER DU MOUVEMENT : PROGREDI = la montée des marches ═════════ */
#progredi-section{background:
    radial-gradient(ellipse 50% 30% at 50% 0,rgba(241,216,145,.06),transparent 70%),
    var(--cs-grain),linear-gradient(180deg,rgba(10,40,34,.75),rgba(4,13,17,.95));
  background-size:100% 100%,220px 220px,100% 100%}
.pg-panel>.section-title{font-size:clamp(1.2rem,4.4vw,1.7rem)}
/* titres « Forge » et « Santé cardio » : même grand titre doré que PROGREDI (16/10) */
.ct-card>.section-title.ct-big-title{font-size:clamp(1.2rem,4.4vw,1.7rem);text-align:center;margin-bottom:.9rem}
.ct-ringbig{position:relative}
.ct-ringbig::before{content:"";position:absolute;inset:9%;border-radius:50%;pointer-events:none;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%238fd6b8' stroke-opacity='.16' stroke-width='.5'%3E%3Ccircle cx='50' cy='50' r='48'/%3E%3Ccircle cx='50' cy='50' r='36'/%3E%3Cpath d='M50 2 L91.6 74 H8.4 Z M50 98 L8.4 26 H91.6 Z'/%3E%3C/g%3E%3C/svg%3E") center/contain no-repeat,
    radial-gradient(circle,rgba(63,174,140,.14),transparent 68%);
  animation:csBreathe 7s ease-in-out infinite}
.ct-ringbig .bg{stroke:rgba(143,214,184,.14)}
#ctRingGrad stop:nth-child(1){stop-color:#1f7a5c}
#ctRingGrad stop:nth-child(2){stop-color:#5cc8a2}
#ctRingGrad stop:nth-child(3){stop-color:#f1d891}
.ct-ringbig .fg{filter:drop-shadow(0 0 6px rgba(241,216,145,.35))}
.pg-count{color:var(--cs-gold2);text-shadow:0 0 24px rgba(241,216,145,.3)}
/* les marches : la lumière suit la progression du jour */
.pg-path{max-width:520px}
.pg-path .pg-path-track{display:none}          /* la barre reste dans le DOM (mise à jour par PROGREDI) : remplacée visuellement par les marches */
.cs-ascent{position:relative;height:104px;margin:.6rem 0 .3rem}
.cs-ascent>svg{display:block;width:100%;height:100%;overflow:visible}
.cs-asc-bg{fill:rgba(143,214,184,.05)}
.cs-asc-fill{fill:url(#csAscGrad);opacity:.5}
.cs-asc-edge{fill:none;stroke:rgba(143,214,184,.38);stroke-width:1.2;vector-effect:non-scaling-stroke}
.cs-ascent.is-lit .cs-asc-edge{stroke:rgba(143,214,184,.5)}
.cs-asc-land{fill:none;stroke:rgba(217,180,90,.28);stroke-width:1;stroke-dasharray:2 3;vector-effect:non-scaling-stroke}
.cs-asc-beam{stroke:var(--cs-gold2);stroke-width:2;vector-effect:non-scaling-stroke;opacity:0;stroke-dasharray:5 7;
  filter:drop-shadow(0 0 4px rgba(241,216,145,.9))}
.cs-ascent.is-lit .cs-asc-beam{opacity:.9;animation:csRise 1.8s linear infinite}
.cs-asc-temple{position:absolute;right:-8px;top:-30px;width:38px;height:32px}
.cs-asc-temple svg{width:100%;height:100%;display:block;overflow:visible}
.cs-asc-temple path{fill:none;stroke:rgba(143,214,184,.45);stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round;transition:stroke .8s}
.cs-ascent.is-full .cs-asc-temple path{stroke:var(--cs-gold2)}
.cs-ascent.is-full .cs-asc-temple{filter:drop-shadow(0 0 8px rgba(241,216,145,.75));animation:csNow 3s ease-in-out infinite}
.cs-ascent.is-full .cs-asc-fill{opacity:.72}
.pg-path .pg-paliers{margin-top:.3rem}
/* alcôve du suivi de marche */
.mission-box{border-radius:34px 34px 12px 12px/24px 24px 12px 12px;border:1px solid var(--cs-line);
  background:var(--cs-grain),linear-gradient(180deg,rgba(14,60,48,.4),rgba(3,12,15,.7));background-size:220px 220px,100% 100%;
  box-shadow:inset 0 0 40px rgba(0,0,0,.4),inset 0 1px 0 rgba(241,216,145,.1)}
.pg-manual-toggle{border-color:var(--cs-line2)}

/* ═════════ 7. PILIER DE LA MATIÈRE : le Miroir du Temple ═════════ */
.cs-mirror-zone{position:relative;margin:1.4rem 0 1.6rem;padding:2.2rem 1rem 1rem;border:1px solid rgba(217,180,90,.2);
  background:radial-gradient(ellipse 60% 240px at 50% 0,rgba(143,214,184,.1),transparent 72%),rgba(3,11,14,.42);
  box-shadow:inset 0 0 60px rgba(0,0,0,.42)}
.cs-mirror-head{text-align:center;margin-bottom:1.1rem}
.cs-mirror-disc{display:block;width:118px;height:118px;margin:0 auto .7rem;overflow:visible}
.cs-mir-rim{fill:none;stroke:var(--cs-gold);stroke-width:1.3;filter:drop-shadow(0 0 6px rgba(241,216,145,.35))}
.cs-mir-glass{stroke:rgba(143,214,184,.35);stroke-width:.8}
.cs-mirror-disc .cs-fine{fill:none;stroke:rgba(143,214,184,.22);stroke-width:.6}
.cs-mir-body *{fill:none;stroke:rgba(241,216,145,.6);stroke-width:1.2;stroke-linecap:round}
.cs-mir-sheen{fill:none;stroke:rgba(255,255,255,.4);stroke-width:2;stroke-linecap:round;animation:csSheen 9s ease-in-out infinite}
.cs-mirror-t{font-family:'Cinzel Decorative',cursive;font-weight:400;font-size:clamp(1.15rem,4vw,1.5rem);color:var(--cs-gold2);letter-spacing:.08rem;margin:.2rem 0 .35rem}
.cs-mirror-s{font-size:.82rem;color:var(--corpus-dim);line-height:1.7;max-width:440px;margin:0 auto}
.cs-mirror-links{display:flex;justify-content:center;gap:.6rem;flex-wrap:wrap;margin-top:.9rem}
.cs-mirror-links .btn-ghost{min-height:44px}
.cs-mirror-zone>.ct-card,.cs-mirror-zone>.panel{margin:0 0 1rem}
.cs-mirror-zone>.panel:last-child{margin-bottom:0}
#poids-section .avatar-live{position:relative}

/* ═════════ 8. PILIER DE L'ÉNERGIE : lectures, enseignements, rythmes, autel ═════════ */
.co-explore{margin-top:.6rem}
.co-ex-toggle{border-radius:40px 40px 10px 10px/28px 28px 10px 10px;border-color:rgba(217,180,90,.45);color:var(--cs-gold2);
  background:linear-gradient(180deg,rgba(217,180,90,.12),rgba(14,74,55,.12))}
.co-ex-menu{grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,auto);grid-auto-flow:column;gap:.7rem .8rem;max-width:760px;margin-left:auto;margin-right:auto}
.co-ex-card{min-height:96px;border-radius:44px 44px 8px 8px/32px 32px 8px 8px;border:1px solid var(--cs-line);padding:1rem .5rem .8rem;
  background:var(--cs-grain),linear-gradient(180deg,rgba(14,60,48,.45),rgba(4,13,17,.85));background-size:220px 220px,100% 100%;
  color:var(--cs-ivory);box-shadow:inset 0 0 22px rgba(0,0,0,.35),inset 0 1px 0 rgba(241,216,145,.1)}
.co-ex-card:hover{border-color:rgba(217,180,90,.5);box-shadow:inset 0 0 22px rgba(0,0,0,.35),0 0 22px rgba(241,216,145,.12)}
.co-ex-card[aria-expanded="true"]{border-color:rgba(241,216,145,.6);background:linear-gradient(180deg,rgba(217,180,90,.16),rgba(14,74,55,.3))}
.co-ex-card[data-open="morph-section"]{order:1}.co-ex-card[data-open="dosha-quiz-section"]{order:2}.co-ex-card[data-open="exo-section"]{order:3}
.co-ex-card[data-open="food-section"]{order:4}.co-ex-card[data-open="cycle-section"]{order:5}.co-ex-card[data-open="profil-section"]{order:6}
.co-ex-ic svg{display:block;width:26px;height:26px;margin:0 auto;fill:none;stroke:var(--cs-gold2);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 4px rgba(241,216,145,.3))}
.co-ex-card[aria-expanded="true"] .co-ex-ic svg{stroke:#fff3cf}
.cs-ex-cap{display:block;font-size:.55rem;letter-spacing:.08rem;text-transform:none;color:var(--cs-jade2);opacity:.85;font-style:italic}
.co-ex-zone>section{background:
    radial-gradient(ellipse 50% 160px at 50% 0,rgba(143,214,184,.08),transparent 72%),
    var(--cs-grain),linear-gradient(180deg,rgba(8,32,28,.8),rgba(4,13,17,.95));
  background-size:100% 100%,220px 220px,100% 100%}
.cs-teach-ic{display:flex;justify-content:center;margin-bottom:.5rem}
.cs-teach-ic svg{width:46px;height:46px;overflow:visible}
.cs-teach-ic circle,.cs-teach-ic path{fill:none;stroke:var(--cs-gold);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.cs-teach-ic circle{stroke:rgba(143,214,184,.4)}
.cs-teach-ic .cs-fine{stroke:rgba(143,214,184,.5);stroke-width:.9}
.cs-moons{display:flex;justify-content:center;margin:-.6rem 0 .5rem}
.cs-moons svg{width:min(300px,86%);height:auto;overflow:visible}
.cs-moons .cs-fine{fill:none;stroke:rgba(143,214,184,.22);stroke-width:.7;stroke-dasharray:2 4}
.cs-moon circle{fill:rgba(3,12,15,.9);stroke:rgba(143,214,184,.4);stroke-width:.9}
.cs-moon .cs-lit{fill:rgba(241,216,145,.6);stroke:none}
.cs-moon:nth-child(5) circle.cs-lit{filter:drop-shadow(0 0 5px rgba(241,216,145,.7));animation:csNow 6s ease-in-out infinite}
/* autel de synthèse : matière + énergie → équilibre */
#bridge-section{border-color:rgba(217,180,90,.24);
  background:radial-gradient(ellipse 46% 120px at 50% 100%,rgba(241,216,145,.08),transparent 72%),
    radial-gradient(ellipse 50% 160px at 50% 0,rgba(143,214,184,.08),transparent 72%),
    var(--cs-grain),linear-gradient(180deg,rgba(8,32,28,.8),rgba(4,13,17,.95));
  background-size:100% 100%,100% 100%,220px 220px,100% 100%}
.cs-equation{display:flex;justify-content:center;align-items:center;gap:.9rem;flex-wrap:wrap;margin:-.2rem 0 1rem}
.cs-eq-g{display:flex;flex-direction:column;align-items:center;gap:.3rem}
.cs-eq-g svg{width:42px;height:42px;overflow:visible}
.cs-eq-g rect,.cs-eq-g circle,.cs-eq-g path{fill:none;stroke:var(--cs-jade2);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.cs-eq-g em{font-style:normal;font-size:.56rem;letter-spacing:.22rem;text-transform:uppercase;color:var(--corpus-dim)}
.cs-eq-res rect,.cs-eq-res circle,.cs-eq-res path{stroke:var(--cs-gold2)}
.cs-eq-res svg{filter:drop-shadow(0 0 6px rgba(241,216,145,.45));animation:csBreathe 6s ease-in-out infinite}
.cs-eq-res em{color:var(--cs-gold2)}
.cs-eq-op{font-family:'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A',serif;font-size:1.1rem;color:var(--cs-gold);opacity:.8;margin-top:-1.1rem}
.bridge-grid{position:relative}
@media(min-width:701px){
  .bridge-grid::before{content:"";position:absolute;left:50%;top:12%;bottom:12%;width:1px;background:linear-gradient(180deg,transparent,rgba(241,216,145,.6),transparent)}
}

/* quêtes, route, sceaux : tablettes gravées */
.ct-q{border-radius:6px 6px 12px 12px;border-color:var(--cs-line);background:linear-gradient(180deg,rgba(143,214,184,.06),rgba(0,0,0,.2))}
.ct-q.is-done{border-color:rgba(217,180,90,.45);background:linear-gradient(180deg,rgba(217,180,90,.1),rgba(14,74,55,.16))}
.ct-route::before{background:var(--cs-line2)}
.ct-night .ct-chip{border-color:var(--cs-line)}

/* soubassement : le pied du temple */
footer{border-top:0;position:relative;padding-top:2.4rem}
footer::before{content:"";position:absolute;left:0;right:0;top:0;height:14px;pointer-events:none;background:
  linear-gradient(90deg,transparent,rgba(217,180,90,.5),transparent) 50% 0/62% 1px no-repeat,
  linear-gradient(90deg,transparent,rgba(143,214,184,.32),transparent) 50% 6px/80% 1px no-repeat,
  linear-gradient(90deg,transparent,rgba(143,214,184,.18),transparent) 50% 12px/100% 1px no-repeat}

/* ═════════ animations (lentes, discrètes) ═════════ */
@keyframes csBreathe{0%,100%{opacity:.8;transform:scale(1)}50%{opacity:1;transform:scale(1.035)}}
@keyframes csTwinkle{0%,100%{opacity:.35}50%{opacity:.9}}
@keyframes csPillar{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes csColumn{0%,100%{filter:drop-shadow(0 0 3px rgba(241,216,145,.25))}50%{filter:drop-shadow(0 0 9px rgba(241,216,145,.55))}}
@keyframes csNow{0%,100%{opacity:.85}50%{opacity:1;filter:drop-shadow(0 0 10px rgba(241,216,145,.7))}}
@keyframes csSweep{0%,35%{transform:translateX(-100%)}75%,100%{transform:translateX(100%)}}
@keyframes csRise{to{stroke-dashoffset:24}}
@keyframes csSheen{0%,100%{opacity:.15}50%{opacity:.55}}

/* ═════════ mobile : plus de colonnes latérales, le temple reste lisible par titres, fils et marches ═════════ */
@media(max-width:600px){
  .cs-cols{display:none}
  .cs-naos-top{width:min(calc(var(--cw) * 1.12),100%)}
  .cs-stairs{width:100%}
  .cs-step{height:23px;padding:0 .55rem}
  .cs-step em{display:none}
  .cs-step[data-g="6"]{width:64%}.cs-step[data-g="5"]{width:70%}.cs-step[data-g="4"]{width:76%}.cs-step[data-g="3"]{width:82%}
  .cs-step[data-g="2"]{width:88%}.cs-step[data-g="1"]{width:94%}
  .cs-ped-geo,.cs-ped-stars{display:none}
  .cs-frieze .sub{letter-spacing:.32rem}
  .cs-frieze .sub::before,.cs-frieze .sub::after{margin:0 .45rem}
  .ct-tab{min-height:50px;padding:.45rem .8rem}
  #progredi-section,.co-ex-zone>section,.cs-mirror-zone{border-radius:40% 40% 12px 12px/40px 40px 12px 12px}
  .co-ex-menu{grid-template-columns:repeat(2,1fr);grid-template-rows:none;grid-auto-flow:row}
  .co-ex-card{border-radius:34px 34px 8px 8px/24px 24px 8px 8px}
  .cs-capital{width:120px}
  .cs-pillar{margin-bottom:1.1rem}
  body::before{opacity:.6}
  #tg-list .tg-row:nth-child(n){margin-inline:0}
}
@media(prefers-reduced-motion:reduce){
  .cs-ped-stars circle,.cs-ped-halo,.ct-pane.on::before,.ct-pane.on::after,.cs-naos .cs-col.on,.cs-naos .cs-g.on .cs-ray,.cs-naos svg .cs-g.now,
  .cs-step.now::after,.ct-ringbig::before,.cs-ascent.is-lit .cs-asc-beam,.cs-ascent.is-full .cs-asc-temple,.cs-mir-sheen,
  .cs-moon:nth-child(5) circle.cs-lit,.cs-eq-res svg{animation:none}
  .cs-step.now::after{display:none}
  .cs-naos .cs-g path,.cs-naos .cs-g circle,.cs-step,.cs-asc-temple path{transition:none}
}

/* ═════════ MIROIR CORPOREL ADAPTATIF (corpus-silhouette.js) ═════════
   --csb-e = énergie 0..1 (élan + grade) : l'aura et les lignes d'énergie s'éclairent avec la progression. */
.csb{position:absolute;inset:0;width:100%;height:100%;z-index:2;overflow:visible;--csb-e:0}
.csb-aura{opacity:calc(.28 + var(--csb-e)*.6);transform-box:fill-box;transform-origin:center;animation:csbAura 7s ease-in-out infinite}
.csb-flow-l{fill:none;stroke:rgba(143,214,184,.5);stroke-width:.5;stroke-dasharray:1 6;opacity:calc(.12 + var(--csb-e)*.5);animation:csbFlow 12s linear infinite}
.csb-flow-l+.csb-flow-l{animation-direction:reverse}
.csb-fig{transform-origin:100px 90px;animation:csbBreath 5.5s ease-in-out infinite}
.csb-part{fill:url(#csbFill);stroke:url(#csbLine);stroke-width:.9;stroke-linejoin:round;filter:drop-shadow(0 0 calc(2px + var(--csb-e)*5px) rgba(241,216,145,.35))}
.csb-arm{stroke-width:.8}
.csb-head{fill:url(#csbFill)}
.csb-nostroke{stroke:none}
.csb-line{fill:none;stroke:url(#csbLine);stroke-width:.9;stroke-linejoin:round;filter:drop-shadow(0 0 calc(2px + var(--csb-e)*5px) rgba(241,216,145,.35))}
.csb-core{opacity:calc(.25 + var(--csb-e)*.6);pointer-events:none}
.csb-inner path{fill:none;stroke:rgba(241,216,145,.32);stroke-width:.55;stroke-linecap:round}
.csb-inner .csb-axis{stroke:rgba(143,214,184,.45);stroke-dasharray:1.5 3}
/* points d'énergie : éclat continu selon l'élan PROGREDI (aucun décompte, pour ne pas se confondre avec les 7 grades) */
.csb-pt{fill:#f1d891;stroke:rgba(255,243,207,.6);stroke-width:.5;opacity:calc(.18 + var(--csb-e)*.82);
  filter:drop-shadow(0 0 calc(var(--csb-e)*3px) rgba(241,216,145,.9))}
/* régularité (jours actifs) : ancrage au sol + axe du corps plus net */
.csb-ground{fill:rgba(143,214,184,.35);opacity:calc(var(--csb-s,0)*.9);filter:blur(2px)}
.csb .csb-inner .csb-axis{opacity:calc(.35 + var(--csb-s,0)*.65)}
/* évolution du poids : silhouette d'il y a quelques semaines, en pointillés très discrets */
.csb-ghost{fill:none;stroke:rgba(159,230,220,.4);stroke-width:.6;stroke-dasharray:1.6 2.4;opacity:0;transition:opacity .8s}
.csb.has-ghost .csb-ghost{opacity:1}
.csb-mark{fill:none;stroke:rgba(241,216,145,.35);stroke-width:.5;stroke-dasharray:1.5 2}
.csb-dot{fill:#e2c376;opacity:.75}
.cs-body-read{margin:.55rem auto .5rem;text-align:center;line-height:1.5;max-width:420px;min-height:2.6em}
.cs-body-read b{display:block;font-family:'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A',serif;font-weight:600;font-size:.74rem;letter-spacing:.24rem;text-transform:uppercase;color:var(--cs-gold2)}
.cs-body-read span{display:block;font-size:.7rem;color:var(--corpus-dim);letter-spacing:.03rem;margin-top:.15rem}
/* l'ancien halo de l'image fixe n'a plus d'objet : la silhouette porte sa propre aura */
#temple-hero .avatar-sprite-wrap{animation:none}
@keyframes csbBreath{0%,100%{transform:scale(1,1)}50%{transform:scale(1.012,1.006)}}
@keyframes csbAura{0%,100%{transform:scale(1)}50%{transform:scale(1.04)}}
@keyframes csbFlow{to{stroke-dashoffset:-140}}
@media(prefers-reduced-motion:reduce){.csb-aura,.csb-flow-l,.csb-fig{animation:none}.csb-ghost{transition:none}}
/* ── Miroir anatomique : définition musculaire (--csb-m = muscleDefinition 0…1, jamais une largeur) ── */
.csb .csb-line{stroke-width:1.05}
.csb-shade{fill:url(#csbShade);opacity:calc(.6 + var(--csb-m,0)*.4)}
.csb-hi{fill:url(#csbHi);opacity:calc(var(--csb-m,0)*.8 - .04)}
.csb-ana{fill:none;stroke-linecap:round;stroke-linejoin:round}
.csb-ana-main{stroke:rgba(244,236,206,.95);stroke-width:.5;opacity:calc(var(--csb-m,0)*.95 - .1)}
.csb-ana-fine{stroke:rgba(244,236,206,.95);stroke-width:.4;opacity:calc((var(--csb-m,0) - .38)*1.5)}
.csb-ana-shadow{stroke:rgba(2,16,14,.85);stroke-width:2.4;opacity:calc(.08 + var(--csb-m,0)*.55);filter:blur(.9px)}
/* ── Sanctuaire : la silhouette occupe davantage le cercle (62 % → 74 %), le halo ivoire est atténué
   pour laisser lire l'anatomie ; l'aura de la silhouette (PROGREDI) prend le relais de la lumière ── */
#temple-hero .co-ring-wrap .avatar-stage{width:74%;
  background:radial-gradient(ellipse 58% 42% at 50% 38%,rgba(214,183,107,.06),transparent 72%),radial-gradient(ellipse 74% 60% at 50% 62%,rgba(78,165,139,.08),transparent 78%)}
#temple-hero .avatar-frame-svg ellipse{opacity:.22}
#temple-hero .avatar-frame-svg circle,#temple-hero .avatar-frame-svg polygon,#temple-hero .avatar-frame-svg line{opacity:.32}

/* ═════════ AURA DE PUISSANCE — reflet de la DISCIPLINE (série de jours de quêtes + combos) ═════════
   Distincte du corps (forme, muscles) et du temple (grades). Paliers cumulatifs posés sur le SVG :
   pw1 première lueur · pw2 halo éveillé (+ particules) · pw3 aura stable (anneau, lignes d'énergie)
   pw4 aura de puissance (halo noble, contour lumineux, graine de vie) · pw5 aura sacrée (2e anneau, orbes, rayonnement, étoile).
   --csb-p intensité · --csb-pr rayon (≤ 1,27) · --csb-pb luminosité — calculés par CorpusEngine.auraPower. */
.csb-power>*{opacity:0;transition:opacity 1.2s ease}
.csb-pw-halo1,.csb-pw-halo2,.csb-pw-flash{transform-box:fill-box;transform-origin:center}
.csb-pw-halo1{transform:scale(calc(var(--csb-pr,1) * .9))}
.csb.pw1 .csb-pw-halo1{opacity:calc(.18 + var(--csb-pb,0) * .7);animation:csbPwBreath 7.5s ease-in-out infinite}
.csb-pw-halo2{transform:scale(var(--csb-pr,1))}
.csb.pw4 .csb-pw-halo2{opacity:calc(var(--csb-pb,0) * .85);animation:csbPwBreath2 9s ease-in-out infinite}
.csb-pw-ring{fill:none;stroke:rgba(159,230,220,.55);stroke-width:.7;stroke-dasharray:2 7;transform-box:fill-box;transform-origin:center;transform:scale(var(--csb-pr,1))}
.csb-pw-ring.r2{stroke:rgba(241,216,145,.6);stroke-dasharray:1 5}
.csb.pw3 .csb-pw-ring:not(.r2){opacity:calc(.35 + var(--csb-pb,0) * .5);animation:csbPwRing 48s linear infinite}
.csb.pw5 .csb-pw-ring.r2{opacity:calc(.3 + var(--csb-pb,0) * .5);animation:csbPwRing 70s linear infinite reverse}
.csb-pw-arc{fill:none;stroke:rgba(159,230,220,.6);stroke-width:.6;stroke-linecap:round;stroke-dasharray:3 9}
.csb.pw3 .csb-pw-arc{opacity:calc(.25 + var(--csb-p,0) * .45);animation:csbPwFlow 9s linear infinite}
.csb-pw-rim{fill:none;stroke:url(#csbLine);stroke-width:3.2;stroke-linejoin:round;filter:blur(2.2px)}
.csb.pw4 .csb-pw-rim{opacity:calc(.25 + var(--csb-pb,0) * .45)}
.csb-pw-geo circle,.csb-pw-geo path{fill:none;stroke:rgba(241,216,145,.7);stroke-width:.45}
.csb-pw-geo .dot{fill:rgba(241,216,145,.8);stroke:none}
.csb-pw-geo .lv1,.csb-pw-geo .lv2{opacity:0;transition:opacity 1.2s ease}
.csb-pw-geo[data-lv="1"],.csb-pw-geo[data-lv="2"]{opacity:1}
.csb-pw-geo[data-lv="1"] .lv1,.csb-pw-geo[data-lv="2"] .lv1{opacity:.22}
.csb-pw-geo[data-lv="2"] .lv2{opacity:.28}
.csb-pw-geo .lv2{transform-box:view-box;transform-origin:100px 80px;animation:csbPwSpin 140s linear infinite}
.csb-pw-orbs{transform-box:view-box;transform-origin:100px 104px}
.csb-pw-orbs circle{fill:#fff3cf;filter:drop-shadow(0 0 2px rgba(241,216,145,.9))}
.csb.pw5 .csb-pw-orbs{opacity:.85;animation:csbPwSpin 60s linear infinite}
.csb-pw-rays{filter:blur(5px)}
.csb.pw5 .csb-pw-rays{opacity:calc(.35 + var(--csb-pb,0) * .45);animation:csbPwRays 8s ease-in-out infinite}
.csb-pw-parts{opacity:1}
.csb-pp{fill:#bff3e6;opacity:0;transform-box:fill-box;transform-origin:center}
.csb-pp.g{fill:#f6e3a1}
.csb-pp.on{animation:csbPwRise var(--d,8s) ease-in-out var(--s,0s) infinite}
/* passage de palier : éclat doux qui s'élargit puis s'efface */
.csb-pw-flash{opacity:0}
.csb.csb-levelup .csb-pw-flash{animation:csbPwFlash 2.6s ease-out}
@keyframes csbPwBreath{0%,100%{transform:scale(calc(var(--csb-pr,1) * .88))}50%{transform:scale(calc(var(--csb-pr,1) * .94))}}
@keyframes csbPwBreath2{0%,100%{transform:scale(calc(var(--csb-pr,1) * .97));opacity:calc(var(--csb-pb,0) * .7)}50%{transform:scale(calc(var(--csb-pr,1) * 1.03));opacity:calc(var(--csb-pb,0) * .9)}}
@keyframes csbPwRing{to{stroke-dashoffset:-180}}
@keyframes csbPwFlow{to{stroke-dashoffset:-96}}
@keyframes csbPwSpin{to{transform:rotate(360deg)}}
@keyframes csbPwRays{0%,100%{transform:scaleX(1)}50%{transform:scaleX(1.25)}}
@keyframes csbPwRise{0%{opacity:0;transform:translateY(5px)}25%{opacity:calc(.35 + var(--csb-pb,0) * .6)}75%{opacity:calc(.25 + var(--csb-pb,0) * .5)}100%{opacity:0;transform:translateY(-16px)}}
@keyframes csbPwFlash{0%{opacity:.6;transform:scale(.85)}100%{opacity:0;transform:scale(1.3)}}
.csb-pw-rays{transform-box:fill-box;transform-origin:center}
/* lecture de l'aura sous la silhouette */
.cs-aura-read{margin:-.2rem auto .55rem;text-align:center;max-width:420px;font-size:.72rem;line-height:1.55;color:var(--corpus-dim)}
.cs-aura-read b{font-family:'Cinzel', 'Cinzel Fallback', 'Cinzel Fallback A',serif;font-weight:600;letter-spacing:.18rem;text-transform:uppercase;color:var(--cs-jade2);font-size:.68rem}
.cs-aura-read .nx{display:block;color:var(--cs-gold2);opacity:.85;margin-top:.1rem}
@media(prefers-reduced-motion:reduce){
  .csb-power>*,.csb-pw-geo .lv1,.csb-pw-geo .lv2{transition:none}
  .csb.pw1 .csb-pw-halo1,.csb.pw4 .csb-pw-halo2,.csb.pw3 .csb-pw-ring,.csb.pw5 .csb-pw-ring.r2,.csb.pw3 .csb-pw-arc,.csb-pw-geo .lv2,.csb.pw5 .csb-pw-orbs,.csb.pw5 .csb-pw-rays,.csb.csb-levelup .csb-pw-flash{animation:none}
  .csb-pp.on{animation:none;opacity:calc(.2 + var(--csb-pb,0) * .4)}
}

/* ═════════ EFFETS DU TEMPLE — récompenses du palier II de chaque route, posés sur le naos (classes fx-<grade>) ═════════ */
.cs-fx{position:absolute;inset:0;pointer-events:none;z-index:0}
.cs-fx>*{position:absolute;opacity:0;transition:opacity 1.4s ease}
.cs-naos>*:not(.cs-fx){position:relative;z-index:1}
/* I · Lueur de l'Aube : clarté chaude au pied du sanctuaire */
.fx-dawn{left:6%;right:6%;bottom:-4%;height:46%;background:radial-gradient(ellipse 60% 70% at 50% 100%,rgba(255,214,150,.30),rgba(241,216,145,.10) 45%,transparent 75%)}
.cs-naos.fx-eveil .fx-dawn{opacity:1;animation:fxDawn 9s ease-in-out infinite}
/* II · Racines de Lumière : sous les marches */
.fx-roots{left:12%;right:12%;bottom:-26px;width:76%;height:30px;overflow:visible}
.fx-roots path{fill:none;stroke:rgba(143,214,184,.6);stroke-width:1.1;stroke-linecap:round;vector-effect:non-scaling-stroke;stroke-dasharray:4 7}
.cs-naos.fx-ancrage .fx-roots{opacity:.85}
.cs-naos.fx-ancrage .fx-roots path{animation:fxRoots 14s linear infinite}
/* III · Vent des Colonnes : un souffle de lumière glisse le long du temple */
.fx-wind{left:0;right:0;top:14%;bottom:34%;background:linear-gradient(100deg,transparent 38%,rgba(241,216,145,.10) 47%,rgba(159,230,220,.14) 50%,transparent 60%) 0 0/260% 100% no-repeat;
  -webkit-mask-image:radial-gradient(ellipse 60% 60% at 50% 50%,#000 40%,transparent 80%);mask-image:radial-gradient(ellipse 60% 60% at 50% 50%,#000 40%,transparent 80%)}
.cs-naos.fx-mouvement .fx-wind{opacity:1;animation:fxWind 11s ease-in-out infinite}
/* IV · Flammes de Vigile : de part et d'autre de la plus haute marche */
.cs-stairs{position:relative}
.fx-flame{position:absolute;top:-6px;width:9px;height:17px;opacity:0;transition:opacity 1.4s ease;border-radius:50% 50% 45% 45%/62% 62% 38% 38%;
  background:radial-gradient(ellipse 50% 60% at 50% 70%,#fff3cf 0,#f1d891 35%,rgba(63,174,140,.55) 75%,transparent 100%);filter:drop-shadow(0 0 6px rgba(241,216,145,.8));transform-origin:50% 100%}
.fx-flame.l{left:calc(24% - 20px)}.fx-flame.r{right:calc(24% - 20px)}
.cs-naos.fx-discipline .fx-flame{opacity:1;animation:fxFlame 3.2s ease-in-out infinite}
.cs-naos.fx-discipline .fx-flame.r{animation-delay:-1.4s}
/* V · Marches Lumineuses : liseré d'or sur les marches gravies */
.cs-naos.fx-ascension .cs-step.on{border-top-color:#fff3cf;box-shadow:0 -1px 16px -3px rgba(241,216,145,.85),inset 0 1px 0 rgba(255,243,207,.55)}
/* VI · Voûte Étoilée : étoiles au-dessus du fronton */
.fx-stars{left:14%;right:14%;top:-10px;height:18%}
.fx-stars i{position:absolute;width:3px;height:3px;border-radius:50%;background:#fff6da;box-shadow:0 0 6px rgba(255,246,218,.9);animation:fxTwinkle 5s ease-in-out infinite}
.fx-stars i:nth-child(1){left:4%;top:60%}.fx-stars i:nth-child(2){left:16%;top:22%;animation-delay:-1.2s}.fx-stars i:nth-child(3){left:29%;top:48%;animation-delay:-2.6s}
.fx-stars i:nth-child(4){left:40%;top:8%;animation-delay:-.6s}.fx-stars i:nth-child(5){left:61%;top:12%;animation-delay:-3.1s}.fx-stars i:nth-child(6){left:72%;top:46%;animation-delay:-1.8s}
.fx-stars i:nth-child(7){left:85%;top:20%;animation-delay:-4s}.fx-stars i:nth-child(8){left:95%;top:58%;animation-delay:-2.2s}.fx-stars i:nth-child(9){left:52%;top:70%;width:2px;height:2px;animation-delay:-3.6s}
.cs-naos.fx-maitrise .fx-stars{opacity:1}
/* VII · Couronne de Rayons : rayons au sommet du temple */
.fx-rays{left:50%;top:-16px;width:96px;height:38px;transform:translateX(-50%);overflow:visible}
#temple-hero .co-grade{margin-bottom:1rem}
.fx-rays path{fill:none;stroke:rgba(241,216,145,.65);stroke-width:1;stroke-linecap:round}
.cs-naos.fx-rayonnement .fx-rays{opacity:1;animation:fxRays 6s ease-in-out infinite}
@keyframes fxDawn{0%,100%{opacity:.75}50%{opacity:1}}
@keyframes fxRoots{to{stroke-dashoffset:-110}}
@keyframes fxWind{0%{background-position:120% 0}100%{background-position:-20% 0}}
@keyframes fxFlame{0%,100%{transform:scale(1,1)}35%{transform:scale(.92,1.08)}70%{transform:scale(1.05,.95)}}
@keyframes fxTwinkle{0%,100%{opacity:.35}50%{opacity:1}}
@keyframes fxRays{0%,100%{opacity:.7;filter:drop-shadow(0 0 2px rgba(241,216,145,.5))}50%{opacity:1;filter:drop-shadow(0 0 6px rgba(241,216,145,.8))}}
@media(max-width:600px){.fx-flame.l{left:calc(18% - 18px)}.fx-flame.r{right:calc(18% - 18px)}}
@media(prefers-reduced-motion:reduce){
  .cs-fx>*,.fx-flame{transition:none}
  .cs-naos.fx-eveil .fx-dawn,.cs-naos.fx-ancrage .fx-roots path,.cs-naos.fx-mouvement .fx-wind,.cs-naos.fx-discipline .fx-flame,.fx-stars i,.cs-naos.fx-rayonnement .fx-rays{animation:none}
}

/* 15/10 : le halo du naos (.co-aura) dépassait l'écran de 2 px en mobile (la page glissait sur le côté) */
body>.wrap{overflow-x:clip}
