/* ==========================================================================
   POLARISTAR — « Lumière de l'Astre » (accueil, 2026-10-17)
   Couche visuelle chargée EN DERNIER sur index.html : elle ne change ni le HTML
   fonctionnel, ni les scripts, ni les données. Tout est scopé par section.

   Trois intensités de lumière, jamais mélangées :
     · ambiante      → fonds des sections (dégradés radiaux très diffus)
     · accentuation  → cartes, médaillons, contours (reflets fins, éclairage interne)
     · sacrée        → réservée à l'Astre du hero, au noyau SYNAXIS, au cœur de
                       l'ATHANOR, au dernier jalon de l'Ascension, au CTA principal.
   Progression : l'Astre (or blanc) → Fragments (violet) → Outils (prisme) →
   SYNAXIS (turquoise/violet + or) → ATHANOR (or chaud) → Ascension (or montant).

   Qualité adaptative : html.lx-lite (posé par polaristar-lumiere.js : économie de
   données, ≤ 4 Go de mémoire, ≤ 4 cœurs) coupe les mouvements décoratifs continus.
   Les animations infinies hors écran sont déjà mises en pause par
   polaristar-anim-saver.js (chargé par la barre de navigation).
   ========================================================================== */

:root{
  /* Palette fondamentale */
  --lx-night:#05060F; --lx-cosmic:#0B1030; --lx-violet:#7B4FD6; --lx-gold:#E8C36A; --lx-turq:#3FE0D0; --lx-ivory:#F3EEE4;
  /* Variations d'éclairage */
  --lx-gold-hi:#FFE6A6; --lx-gold-pale:#FFF4D6; --lx-gold-deep:#A8772A;
  --lx-violet-hi:#B79BFF; --lx-violet-deep:#24145A;
  --lx-turq-hi:#8EF3E8;
  /* Textes : l'or est réservé aux titres et symboles */
  --lx-text:#F3EEE4;                      /* textes importants (ivoire) */
  --lx-text-2:rgba(238,231,250,.88);      /* descriptions : ≥ 11:1 sur la nuit */
  --lx-text-3:rgba(222,212,242,.76);      /* secondaires : ≥ 7:1 */
  /* Contours */
  --lx-line:rgba(232,195,106,.18); --lx-line-2:rgba(232,195,106,.34); --lx-line-hi:rgba(255,230,166,.7);
  /* Lumière d'accentuation */
  --lx-rim:inset 0 1px 0 rgba(255,240,205,.10);
  --lx-depth:0 18px 40px -22px rgba(0,0,0,.85);
  /* Lumière sacrée */
  --lx-sacred:0 0 22px rgba(255,226,150,.5),0 0 60px rgba(232,195,106,.26);
  /* Mouvement */
  --lx-ease:cubic-bezier(.16,1,.3,1); --lx-t-fast:.18s; --lx-t:.4s; --lx-t-slow:1.1s;
}

/* Signatures des cinq portails (couleur principale --tc conservée, seconde lumière --tc2) */
[data-tool="constella"]{--tc2:#ffd27a}
[data-tool="astrae"]{--tc2:#ff8fcf}
[data-tool="akasha"]{--tc2:#6f6cff}
[data-tool="corpus"]{--tc2:#3fe0d0}
[data-tool="sapientia"]{--tc2:#8f6bff}

/* Ciel de fond : nébuleuses fixes (avant : repeintes à chaque image par index.inline-3.js) */
#star-bg{background:
  radial-gradient(circle 55vw at 22% 18%,rgba(104,32,200,.22),transparent),
  radial-gradient(circle 42vw at 82% 78%,rgba(8,56,88,.20),transparent),
  radial-gradient(circle 32vw at 88% 14%,rgba(88,8,40,.18),transparent)}

/* ── 0 · TYPOGRAPHIE ET CONTRASTES ─────────────────────────────────────────── */
.section-tag{font-size:11px;color:var(--lx-gold);opacity:1;text-shadow:0 0 12px rgba(232,195,106,.28)}
.section-title{color:#fbf7ef}
.section-sub{color:var(--lx-text-2)}
.otool-dim{color:var(--lx-text-3)!important;font-size:10px!important}
.syn-note,.cta-free{color:var(--lx-text-3)}
.prog-text,.tp-tx{color:var(--lx-text-2)}
.tp-sub{color:var(--lx-text-2)}
.ath-caption{color:rgba(226,214,246,.62)!important}
.ath-gauge-k{color:rgba(255,230,170,.82)}
/* Titre qui apparaît : une seule montée de lumière sur l'étiquette, jamais rejouée */
html.js-rv .section-tag.rv.in{animation:lxTagIn 1.6s var(--lx-ease) both}
@keyframes lxTagIn{from{text-shadow:0 0 0 rgba(255,226,150,0);letter-spacing:10px}45%{text-shadow:0 0 18px rgba(255,226,150,.75)}to{text-shadow:0 0 12px rgba(232,195,106,.28)}}
#athanor .section-tag.rv.in,#synaxis .section-tag.rv.in{animation:none}

/* ── 1 · HERO — L'ASTRE ────────────────────────────────────────────────────── */
#hero{background:
  radial-gradient(46% 38% at 50% 30%,rgba(255,236,190,.075),transparent 70%),
  radial-gradient(70% 55% at 50% 34%,rgba(123,79,214,.10),transparent 75%)}
.lx-astre{position:relative;width:clamp(92px,10vw,128px);aspect-ratio:1;margin:-18px auto 10px;pointer-events:none}
.lx-astre svg{display:block;width:100%;height:100%;overflow:visible}
.lx-astre::before{content:'';position:absolute;inset:-70%;border-radius:50%;z-index:-1;
  background:radial-gradient(closest-side,rgba(255,226,150,.16),rgba(123,79,214,.07) 55%,transparent);
  animation:lxBreath 9s ease-in-out infinite}
/* Mouvements portés par des calques composités (transform/opacity) : rien n'est recalculé dans le SVG */
.lx-astre svg{animation:lxGlow 9s ease-in-out infinite}
.lx-astre::after{content:'';position:absolute;left:50%;top:50%;width:46%;height:46%;margin:-23% 0 0 -23%;pointer-events:none;
  background:linear-gradient(90deg,transparent 0,rgba(255,253,244,.9) 50%,transparent 100%) center/100% 1px no-repeat,
             linear-gradient(0deg,transparent 0,rgba(255,253,244,.9) 50%,transparent 100%) center/1px 100% no-repeat;
  opacity:0;transform:rotate(45deg) scale(.6);animation:lxFlare 11s ease-in-out infinite}
.lx-a-star{filter:drop-shadow(0 0 6px rgba(255,214,130,.55))}
@keyframes lxBreath{0%,100%{opacity:.72;transform:scale(.96)}50%{opacity:1;transform:scale(1.04)}}
@keyframes lxGlow{0%,100%{opacity:.9;transform:scale(.985)}50%{opacity:1;transform:scale(1.015)}}
@keyframes lxSpin{to{transform:rotate(360deg)}}
@keyframes lxFlare{0%,78%,100%{opacity:0;transform:rotate(45deg) scale(.6)}86%{opacity:.9;transform:rotate(90deg) scale(1.2)}94%{opacity:0;transform:rotate(100deg) scale(.9)}}
/* Connecté avec thème : la grande étoile guide de #fragment suit juste en dessous → pas deux astres */
body.ps-hero-nocta .lx-astre,body:has(#fragment.is-mine) .lx-astre{width:clamp(72px,7vw,96px);margin-bottom:4px}
#hero .hero-title{color:#fbf6ea;text-wrap:balance}
#hero .hero-sub{color:var(--lx-text-2)}

/* CTA précieux (hero + appel final) : or net, fond sombre éclairé, reflet métallique */
#hero .hero-main-cta,#finalStartBtn{
  border-radius:3px;
  background:
    linear-gradient(180deg,rgba(255,236,190,.10),rgba(255,236,190,0) 46%),
    radial-gradient(120% 140% at 50% 120%,rgba(232,195,106,.20),transparent 60%),
    linear-gradient(135deg,#1c1206,#2f2109 55%,#1a1105)!important;
  border:1px solid #e8c36a!important;color:#fff0c8!important;
  box-shadow:inset 0 1px 0 rgba(255,244,214,.38),inset 0 -1px 0 rgba(120,80,20,.55),0 0 0 1px rgba(232,195,106,.14),0 0 30px rgba(232,195,106,.26),0 10px 28px -14px rgba(0,0,0,.9)!important;
  text-shadow:0 0 12px rgba(255,214,130,.35);
  transition:transform var(--lx-t-fast) var(--lx-ease),box-shadow var(--lx-t) ease,border-color var(--lx-t) ease!important;
  -webkit-tap-highlight-color:transparent;touch-action:manipulation}
#hero .hero-main-cta:hover,#hero .hero-main-cta:focus-visible,#finalStartBtn:hover,#finalStartBtn:focus-visible{
  border-color:#ffe6a6!important;transform:translateY(-2px);
  box-shadow:inset 0 1px 0 rgba(255,244,214,.5),inset 0 -1px 0 rgba(120,80,20,.5),0 0 0 1px rgba(255,230,166,.3),0 0 48px rgba(232,195,106,.42),0 0 90px rgba(123,79,214,.18),0 12px 30px -14px rgba(0,0,0,.9)!important}
#hero .hero-main-cta:active,#finalStartBtn:active{transform:translateY(0) scale(.975);transition-duration:.08s!important;
  box-shadow:inset 0 0 22px rgba(255,214,130,.28),0 0 0 1px rgba(255,230,166,.4),0 0 64px rgba(255,214,130,.5)!important}
#finalStartBtn:focus-visible,#hero .hero-main-cta:focus-visible{outline:2px solid #ffe6a6;outline-offset:4px}

/* ── 2 · FRAGMENTS (visiteur) — l'artefact qui se révèle ───────────────────── */
#fragResult .frag-card{border-color:rgba(232,195,106,.42)!important;
  box-shadow:inset 0 0 0 1px rgba(255,240,205,.05),inset 0 0 40px rgba(123,79,214,.10),0 0 34px rgba(123,79,214,.16),var(--lx-depth)}
#fragResult .frag-card--life .frag-big{text-shadow:0 0 20px rgba(255,214,130,.55),0 0 50px rgba(232,195,106,.25)}
#fragResult .frag-k{color:var(--lx-gold)}
#fragResult .frag-text,#fragResult .frag-phase{color:var(--lx-text-2)}
#fragForm input[type="date"]{border-color:rgba(232,195,106,.45)}
#fragForm input[type="date"]:focus-visible{outline:2px solid #ffe6a6;outline-offset:2px}

/* ── 3 · CINQ PORTAILS CÉLESTES ────────────────────────────────────────────── */
#outils{background:
  radial-gradient(40% 30% at 12% 34%,rgba(106,171,255,.06),transparent 70%),
  radial-gradient(40% 30% at 88% 30%,rgba(192,128,255,.07),transparent 70%),
  radial-gradient(50% 24% at 50% 66%,rgba(63,224,208,.04),transparent 70%)}
#outils .otool{isolation:isolate;overflow:hidden;
  background:
    radial-gradient(120% 70% at 50% -12%,color-mix(in srgb,var(--tc) 20%,transparent),transparent 62%),
    radial-gradient(90% 60% at 50% 118%,color-mix(in srgb,var(--tc2) 15%,transparent),transparent 70%),
    linear-gradient(180deg,rgba(14,10,38,.94),rgba(6,5,20,.94));
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--tc) 22%,transparent),0 0 24px color-mix(in srgb,var(--tc) 9%,transparent),var(--lx-depth)}
/* Motif propre à chaque portail (masque SVG teinté par les deux lumières de l'outil) */
#outils .otool::before,#tool-panel::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:linear-gradient(160deg,var(--tc),var(--tc2));opacity:.16;
  -webkit-mask-position:center;mask-position:center;-webkit-mask-size:cover;mask-size:cover;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;
  transition:opacity var(--lx-t) ease}
/* Fil de lumière en haut de carte */
#outils .otool::after{content:'';position:absolute;left:16%;right:16%;top:0;height:1px;pointer-events:none;
  background:linear-gradient(90deg,transparent,color-mix(in srgb,var(--tc) 80%,#fff),transparent);opacity:.55;transition:opacity var(--lx-t) ease,left var(--lx-t) var(--lx-ease),right var(--lx-t) var(--lx-ease)}
#outils .otool:hover::before,#outils .otool[aria-selected="true"]::before{opacity:.3}
#outils .otool:hover::after,#outils .otool[aria-selected="true"]::after{opacity:1;left:6%;right:6%}
#outils .otool-ico{width:52px;height:52px;margin-left:auto;margin-right:auto;align-items:center;border-radius:50%;
  background:radial-gradient(circle,color-mix(in srgb,var(--tc) 18%,transparent),transparent 70%);
  box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--tc) 30%,transparent)}
#outils .otool-role{color:var(--lx-text)}
#outils .otool:active{transform:translateY(-1px) scale(.985)}
#tool-panel{isolation:isolate;
  background:
    radial-gradient(80% 60% at 50% 0%,color-mix(in srgb,var(--tc) 14%,transparent),transparent 70%),
    radial-gradient(60% 50% at 50% 104%,color-mix(in srgb,var(--tc2) 10%,transparent),transparent 72%),
    rgba(7,5,24,.8);
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--tc) 25%,transparent),0 0 44px color-mix(in srgb,var(--tc) 12%,transparent),var(--lx-depth)}
#tool-panel::before{opacity:.07;-webkit-mask-size:min(520px,90%) auto;mask-size:min(520px,90%) auto;-webkit-mask-position:50% 30%;mask-position:50% 30%}
#tool-panel .tp-tile{background:linear-gradient(180deg,color-mix(in srgb,var(--tc) 5%,rgba(12,8,34,.7)),rgba(8,6,26,.62));box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
#tool-panel .tp-cta{background:linear-gradient(135deg,color-mix(in srgb,var(--tc) 100%,#fff 30%),var(--tc) 55%,color-mix(in srgb,var(--tc) 60%,var(--tc2)));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 0 26px color-mix(in srgb,var(--tc) 40%,transparent)}
#tool-panel .tp-cta:active{transform:scale(.975)}

/* Motifs des portails (générés : masques SVG en ligne) */
#outils .otool[data-tool="constella"]::before,#tool-panel[data-tool="constella"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.1'%3E%3Ccircle cx='158' cy='42' r='74' stroke-opacity='.55'/%3E%3Ccircle cx='158' cy='42' r='48' stroke-dasharray='2 6'/%3E%3Cpath d='M22 158L58 128L94 140L128 100L176 114'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='22' cy='158' r='3'/%3E%3Ccircle cx='58' cy='128' r='2.2'/%3E%3Ccircle cx='94' cy='140' r='2.6'/%3E%3Ccircle cx='128' cy='100' r='3.4'/%3E%3Ccircle cx='176' cy='114' r='2.2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.1'%3E%3Ccircle cx='158' cy='42' r='74' stroke-opacity='.55'/%3E%3Ccircle cx='158' cy='42' r='48' stroke-dasharray='2 6'/%3E%3Cpath d='M22 158L58 128L94 140L128 100L176 114'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='22' cy='158' r='3'/%3E%3Ccircle cx='58' cy='128' r='2.2'/%3E%3Ccircle cx='94' cy='140' r='2.6'/%3E%3Ccircle cx='128' cy='100' r='3.4'/%3E%3Ccircle cx='176' cy='114' r='2.2'/%3E%3C/g%3E%3C/svg%3E")}
#outils .otool[data-tool="astrae"]::before,#tool-panel[data-tool="astrae"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.1'%3E%3Ccircle cx='100' cy='100' r='84'/%3E%3Ccircle cx='100' cy='100' r='62' stroke-dasharray='1.5 5'/%3E%3Ccircle cx='100' cy='100' r='36' stroke-opacity='.6'/%3E%3Cpath d='M184.0 100.0L194.0 100.0M172.7 142.0L181.4 147.0M142.0 172.7L147.0 181.4M100.0 184.0L100.0 194.0M58.0 172.7L53.0 181.4M27.3 142.0L18.6 147.0M16.0 100.0L6.0 100.0M27.3 58.0L18.6 53.0M58.0 27.3L53.0 18.6M100.0 16.0L100.0 6.0M142.0 27.3L147.0 18.6M172.7 58.0L181.4 53.0'/%3E%3Cpath d='M100 70L104 96L130 100L104 104L100 130L96 104L70 100L96 96Z' stroke-opacity='.8'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.1'%3E%3Ccircle cx='100' cy='100' r='84'/%3E%3Ccircle cx='100' cy='100' r='62' stroke-dasharray='1.5 5'/%3E%3Ccircle cx='100' cy='100' r='36' stroke-opacity='.6'/%3E%3Cpath d='M184.0 100.0L194.0 100.0M172.7 142.0L181.4 147.0M142.0 172.7L147.0 181.4M100.0 184.0L100.0 194.0M58.0 172.7L53.0 181.4M27.3 142.0L18.6 147.0M16.0 100.0L6.0 100.0M27.3 58.0L18.6 53.0M58.0 27.3L53.0 18.6M100.0 16.0L100.0 6.0M142.0 27.3L147.0 18.6M172.7 58.0L181.4 53.0'/%3E%3Cpath d='M100 70L104 96L130 100L104 104L100 130L96 104L70 100L96 96Z' stroke-opacity='.8'/%3E%3C/g%3E%3C/svg%3E")}
#outils .otool[data-tool="akasha"]::before,#tool-panel[data-tool="akasha"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.1'%3E%3Ccircle cx='100' cy='100' r='88' stroke-opacity='.5'/%3E%3Crect x='46' y='46' width='108' height='108'/%3E%3Crect x='46' y='46' width='108' height='108' transform='rotate(45 100 100)'/%3E%3Ccircle cx='100' cy='100' r='34'/%3E%3Cpath d='M100 66V134M66 100H134' stroke-opacity='.5'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.1'%3E%3Ccircle cx='100' cy='100' r='88' stroke-opacity='.5'/%3E%3Crect x='46' y='46' width='108' height='108'/%3E%3Crect x='46' y='46' width='108' height='108' transform='rotate(45 100 100)'/%3E%3Ccircle cx='100' cy='100' r='34'/%3E%3Cpath d='M100 66V134M66 100H134' stroke-opacity='.5'/%3E%3C/g%3E%3C/svg%3E")}
#outils .otool[data-tool="corpus"]::before,#tool-panel[data-tool="corpus"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M-4 128C36 96 64 160 100 128S164 96 204 128'/%3E%3Cpath d='M-4 150C36 118 64 182 100 150S164 118 204 150' stroke-opacity='.55'/%3E%3Cpath d='M-4 106C36 74 64 138 100 106S164 74 204 106' stroke-opacity='.35'/%3E%3Ccircle cx='100' cy='56' r='20'/%3E%3Ccircle cx='100' cy='56' r='34' stroke-dasharray='2 6'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='round'%3E%3Cpath d='M-4 128C36 96 64 160 100 128S164 96 204 128'/%3E%3Cpath d='M-4 150C36 118 64 182 100 150S164 118 204 150' stroke-opacity='.55'/%3E%3Cpath d='M-4 106C36 74 64 138 100 106S164 74 204 106' stroke-opacity='.35'/%3E%3Ccircle cx='100' cy='56' r='20'/%3E%3Ccircle cx='100' cy='56' r='34' stroke-dasharray='2 6'/%3E%3C/g%3E%3C/svg%3E")}
#outils .otool[data-tool="sapientia"]::before,#tool-panel[data-tool="sapientia"]::before{-webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M28 40L92 30L150 62L184 128M28 40L62 102L120 112L184 128M92 30L120 112L112 172M62 102L40 162L112 172L162 182L184 128M150 62L120 112'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='28' cy='40' r='3'/%3E%3Ccircle cx='92' cy='30' r='2.4'/%3E%3Ccircle cx='150' cy='62' r='3.2'/%3E%3Ccircle cx='62' cy='102' r='2.4'/%3E%3Ccircle cx='120' cy='112' r='3.6'/%3E%3Ccircle cx='184' cy='128' r='2.6'/%3E%3Ccircle cx='40' cy='162' r='2.2'/%3E%3Ccircle cx='112' cy='172' r='3'/%3E%3Ccircle cx='162' cy='182' r='2.2'/%3E%3C/g%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M28 40L92 30L150 62L184 128M28 40L62 102L120 112L184 128M92 30L120 112L112 172M62 102L40 162L112 172L162 182L184 128M150 62L120 112'/%3E%3C/g%3E%3Cg fill='%23fff'%3E%3Ccircle cx='28' cy='40' r='3'/%3E%3Ccircle cx='92' cy='30' r='2.4'/%3E%3Ccircle cx='150' cy='62' r='3.2'/%3E%3Ccircle cx='62' cy='102' r='2.4'/%3E%3Ccircle cx='120' cy='112' r='3.6'/%3E%3Ccircle cx='184' cy='128' r='2.6'/%3E%3Ccircle cx='40' cy='162' r='2.2'/%3E%3Ccircle cx='112' cy='172' r='3'/%3E%3Ccircle cx='162' cy='182' r='2.2'/%3E%3C/g%3E%3C/svg%3E")}

/* ── 4 · SYNAXIS — LE POINT DE CONVERGENCE ─────────────────────────────────── */
#synaxis{background:
  radial-gradient(34% 26% at 50% 66%,rgba(255,214,130,.07),transparent 70%),
  radial-gradient(46% 34% at 30% 70%,rgba(63,224,208,.05),transparent 72%),
  radial-gradient(46% 34% at 72% 58%,rgba(123,79,214,.09),transparent 72%)}
/* Couronne de résonance : turquoise → violet → or, une seule rotation très lente */
.syn-orbit::after{content:'';position:absolute;inset:4%;z-index:-1;border-radius:50%;pointer-events:none;
  background:conic-gradient(from 0deg,rgba(63,224,208,0),rgba(63,224,208,.55) 12%,rgba(123,79,214,0) 30%,rgba(183,155,255,.5) 46%,rgba(232,195,106,0) 62%,rgba(255,226,150,.55) 78%,rgba(63,224,208,0));
  -webkit-mask:radial-gradient(closest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px),#000 100%,transparent);
  mask:radial-gradient(closest-side,transparent calc(100% - 2px),#000 calc(100% - 1.5px),#000 100%,transparent);
  opacity:.75;animation:lxSpin 90s linear infinite}
/* Chaque énergie garde sa couleur jusqu'au point de convergence */
.syn-arm{--sc:#ffe08a}
.syn-arm[style*="--i:0"]{--sc:#6aabff}.syn-arm[style*="--i:1"]{--sc:#c080ff}.syn-arm[style*="--i:2"]{--sc:#7de0b0}
.syn-arm[style*="--i:3"]{--sc:#6fe3ff}.syn-arm[style*="--i:4"]{--sc:#e8c870}
.syn-arm .syn-node{background:radial-gradient(circle,#fff 0 28%,var(--sc) 52%,transparent 72%);box-shadow:0 0 10px 2px color-mix(in srgb,var(--sc) 60%,transparent)}
.syn-arm .syn-orb{border-color:color-mix(in srgb,var(--sc) 45%,rgba(230,180,70,.55));color:#fbf1d6}
.syn-name{text-shadow:0 0 14px rgba(255,226,150,.95),0 0 34px rgba(255,214,130,.4),0 0 4px rgba(5,3,15,.9)}

/* ── 5 · ATHANOR — LE CŒUR DE LA TRANSMUTATION ─────────────────────────────── */
/* Le foyer garde son moteur (niveaux, flamme) ; on ajoute une lumière diffuse qui suit déjà --e (niveau réel affiché). */
.ath-hearth{isolation:isolate}
.ath-hearth::after{content:'';position:absolute;left:50%;top:62%;width:58%;aspect-ratio:1;z-index:-1;pointer-events:none;border-radius:50%;
  transform:translate(-50%,-50%) scale(calc(.7 + var(--e) * .5));
  background:radial-gradient(closest-side,rgba(255,214,130,calc(.10 + var(--e) * .22)),rgba(139,69,230,calc(.06 + var(--e) * .12)) 55%,transparent);
  transition:transform 1.6s var(--lx-ease),background 1.6s ease}
#athanor .prog-item{position:relative;overflow:hidden;
  border-color:rgba(232,195,106,.24);
  background:radial-gradient(90% 60% at 50% 0%,rgba(255,200,110,.08),transparent 70%),linear-gradient(180deg,rgba(28,14,60,.62),rgba(9,5,26,.6));
  box-shadow:var(--lx-rim),var(--lx-depth)}
#athanor .prog-item::before{content:'';position:absolute;left:22%;right:22%;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(255,226,150,.7),transparent)}
#athanor .prog-ico{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;
  border:1px solid rgba(232,195,106,.4);background:radial-gradient(circle,rgba(255,214,130,.16),transparent 70%)}

/* ── 6 · L'ASCENSION (Quatre étapes) — jalons qui montent en lumière ───────── */
#how{background:
  radial-gradient(46% 40% at 50% 56%,rgba(232,195,106,.07),transparent 70%),
  linear-gradient(180deg,rgba(20,8,50,0) 0%,rgba(20,8,50,.32) 30%,rgba(4,2,16,0) 100%)}
#how .path-num{font-family:'Cinzel','Cinzel Fallback','Cinzel Fallback A',serif;
  background:radial-gradient(circle at 50% 38%,rgba(255,236,190,calc(var(--lx-s) * .22)),rgba(7,4,26,1) 72%);
  border-color:rgba(232,195,106,calc(.35 + var(--lx-s) * .5));color:#ffeccc;
  box-shadow:0 0 calc(8px + var(--lx-s) * 22px) rgba(232,195,106,calc(.12 + var(--lx-s) * .3)),inset 0 0 0 3px rgba(5,4,16,.9),inset 0 0 0 4px rgba(232,195,106,calc(.08 + var(--lx-s) * .2))}
#how .path-step{--lx-s:.15}
#how .path-step:nth-child(2){--lx-s:.4}
#how .path-step:nth-child(3){--lx-s:.68}
#how .path-step:nth-child(4){--lx-s:1}
#how .path-step:last-child .path-num{box-shadow:var(--lx-sacred),inset 0 0 0 3px rgba(5,4,16,.9),inset 0 0 0 4px rgba(255,230,166,.4)}
#how .path-step+.path-step::before{background:linear-gradient(90deg,rgba(232,195,106,calc(var(--lx-s) * .3)),rgba(255,226,150,calc(.25 + var(--lx-s) * .45)))}
#how .path-name{color:#fbf5e6}
#how .path-text{color:var(--lx-text-2)}
/* Validation : chaque jalon s'allume une fois en apparaissant */
html.js-rv #how .path-step.rv.in .path-num{animation:lxNode 1.4s var(--lx-ease) both;animation-delay:calc(var(--d,0s) + .25s)}
@keyframes lxNode{from{transform:scale(.7);opacity:.2}60%{transform:scale(1.08);opacity:1}to{transform:none;opacity:1}}

/* ── 7 · APPEL FINAL ───────────────────────────────────────────────────────── */
#cta-final .cta-sub{color:var(--lx-text-2)}

/* ── 8 · ABONNEMENTS & STARDUST (affichage seul : tarifs, droits, Stripe, Solana inchangés) ── */
/* Lumière focale sur la formule mise en avant (badge existant .plan-star) */
#pricing .pricing-grid-4 .plan-star{box-shadow:0 0 0 1px rgba(255,255,255,.06),0 0 46px rgba(210,220,255,.14),0 24px 60px -28px rgba(0,0,0,.9)}
#pricing .plan-tagline{color:var(--lx-text-2)}
/* STARDUST : pièce cosmique — halo spectral bleu/pourpre derrière chaque pièce */
.sd-pk{isolation:isolate}
.sd-pk-coin{position:relative}
.sd-pk-coin::before{content:'';position:absolute;inset:-22%;z-index:-1;border-radius:50%;pointer-events:none;
  background:radial-gradient(closest-side,rgba(183,155,255,.32),rgba(80,120,255,.14) 55%,transparent);opacity:.75;transition:opacity var(--lx-t) ease,transform var(--lx-t) var(--lx-ease)}
.sd-pk:hover .sd-pk-coin::before,.sd-pk.is-reco .sd-pk-coin::before{opacity:1;transform:scale(1.08)}
.sd-pk.is-reco .sd-pk-coin::before{background:radial-gradient(closest-side,rgba(255,226,150,.30),rgba(183,155,255,.22) 50%,rgba(80,120,255,.1) 70%,transparent);
  animation:lxFlame 6s ease-in-out infinite}
@keyframes lxFlame{0%,100%{opacity:.8;transform:scale(1.02)}50%{opacity:1;transform:scale(1.12)}}

/* ── 9 · TÉMOIGNAGES ──────────────────────────────────────────────────────── */
#testimonials{background:radial-gradient(50% 50% at 50% 40%,rgba(123,79,214,.07),transparent 72%)}

/* ── 10 · TÉLÉPHONE — même prestige, moins de calcul ───────────────────────── */
@media (max-width:760px){
  /* le flou derrière l'en-tête fixe se recalculait à chaque image du défilement : fond déjà opaque */
  nav,.nav-back-init{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
  .lx-astre{width:84px;margin:-6px auto 6px}
  .lx-astre::before{inset:-55%}
  #outils .otool-ico{width:44px;height:44px}
  #outils .otool::before{-webkit-mask-size:auto 140%;mask-size:auto 140%;-webkit-mask-position:right center;mask-position:right center;opacity:.2}
  #outils .otool:hover::before,#outils .otool[aria-selected="true"]::before{opacity:.32}
  .syn-orb{font-size:9.5px!important;letter-spacing:1.2px!important}
  .ath-caption{letter-spacing:2px}
  .section-tag{letter-spacing:6px}
}
@media (max-width:480px){ .syn-orb{padding:6px 9px} }
@media (hover:none){ #outils .otool:hover{transform:none} }

/* ── 11 · QUALITÉ ADAPTATIVE ET RÉDUCTION DES MOUVEMENTS ───────────────────── */
html.lx-lite .lx-astre::after,html.lx-lite .lx-astre::before,html.lx-lite .syn-orbit::after,
html.lx-lite .sd-pk.is-reco .sd-pk-coin::before{animation:none!important}
html.lx-lite .lx-astre svg{animation-duration:14s}
@media (prefers-reduced-motion:reduce){
  .lx-astre::before,.lx-astre::after,.lx-astre svg,.syn-orbit::after,.sd-pk-coin::before,
  html.js-rv .section-tag.rv.in,html.js-rv #how .path-step.rv.in .path-num{animation:none!important}
  #hero .hero-main-cta,#finalStartBtn,#outils .otool,#outils .otool::before,#outils .otool::after{transition:none!important}
}
@media print{ .lx-astre{display:none} }
