/* AUTEURE — UNIVERS AUTONOME v8.81
   Page isolée : décor, portrait, animations et particules ne dépendent d'aucun autre univers. */
.auteure-world--clean{
  position:fixed; inset:0; z-index:1048; display:block;
  overflow-x:hidden; overflow-y:auto; overscroll-behavior:contain;
  color:#f6f0e8; background:#02050a;
  opacity:0; visibility:hidden; pointer-events:none;
  transition:opacity .38s cubic-bezier(.22,.72,.24,1),visibility .38s;
  isolation:isolate;
  scrollbar-gutter:stable;
}
body[data-world="top-lunaire"] .auteure-world--clean{
  opacity:1; visibility:visible; pointer-events:auto;
}

.auteure-clean__bg{
  position:fixed; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(circle at 79% 18%,rgba(180,34,57,.20),transparent 38%),
    radial-gradient(circle at 20% 44%,rgba(47,92,165,.12),transparent 46%),
    linear-gradient(118deg,#02050a 0%,#040812 52%,#10070b 100%);
}

/* Le layout n'ouvre pas de contexte d'empilement : portrait < particules < contenu. */
.auteure-clean__layout{
  position:relative; min-height:100vh; width:100%;
  padding:clamp(116px,11vh,160px) clamp(34px,6vw,106px) clamp(92px,11vh,150px);
}

/* Portrait plein écran, davantage poussé vers la droite. */
.auteure-clean__portrait{
  position:absolute; z-index:1; inset:0; margin:0; overflow:hidden;
  pointer-events:none; opacity:.18;
  transform:translate3d(0,0,0) scale(1.01);
  transition:opacity 1.35s cubic-bezier(.22,.72,.24,1),transform 1.45s cubic-bezier(.22,.72,.24,1);
  will-change:opacity,transform;
}
.auteure-world--clean.is-auteure-revealed .auteure-clean__portrait{
  opacity:1; transform:translate3d(0,0,0) scale(1);
}
.auteure-clean__portrait img{
  position:absolute; top:0; right:-3vw; bottom:0; left:auto;
  width:78vw; height:100%; min-height:100vh;
  object-fit:cover; object-position:74% center;
  transform:translate3d(0,0,0) scale(1.035);
}
/* Dégradé continu, sans ligne verticale ni rupture entre texte et photo. */
.auteure-clean__portrait::after{
  content:""; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 72% 100% at 88% 48%,rgba(2,5,10,.02) 0%,rgba(2,5,10,.10) 42%,rgba(2,5,10,.42) 72%,rgba(2,5,10,.86) 100%),
    linear-gradient(90deg,#02050a 0%,rgba(2,5,10,.96) 13%,rgba(2,5,10,.82) 29%,rgba(2,5,10,.56) 44%,rgba(2,5,10,.27) 61%,rgba(2,5,10,.08) 82%,rgba(2,5,10,.12) 100%),
    linear-gradient(180deg,rgba(2,5,10,.06),rgba(2,5,10,.03) 58%,rgba(2,5,10,.74) 100%);
}

/* Particules canvas : un seul calque léger, compensé par rapport au scroll interne. */
.auteure-particle-canvas{
  position:absolute;
  top:0; left:0;
  width:100vw; height:100vh;
  z-index:15;
  pointer-events:none;
  opacity:0;
  visibility:hidden;
  mix-blend-mode:screen;
  will-change:transform,opacity;
  transition:opacity .18s ease,visibility .18s;
}
body[data-world="top-lunaire"] .auteure-particle-canvas{
  opacity:1;
  visibility:visible;
}

.auteure-clean__content{
  position:relative; z-index:30; width:min(700px,48vw); max-width:700px;
}
.auteure-clean__kicker,.auteure-clean__title,.auteure-clean__claim,
.auteure-clean__bio,.auteure-clean__signature{
  opacity:0; transform:translate3d(0,16px,0);
  transition:opacity .56s cubic-bezier(.22,.72,.24,1),transform .56s cubic-bezier(.22,.72,.24,1);
  will-change:opacity,transform;
}
/* Séquence nette : titre, sous-titre, texte, signature. */
.auteure-world--clean.is-auteure-revealed .auteure-clean__kicker{
  opacity:1; transform:none; transition-delay:.02s;
}
.auteure-world--clean.is-auteure-revealed .auteure-clean__title{
  opacity:1; transform:none; transition-delay:.08s;
}
.auteure-world--clean.is-auteure-revealed .auteure-clean__claim{
  opacity:1; transform:none; transition-delay:.27s;
}
.auteure-world--clean.is-auteure-revealed .auteure-clean__bio{
  opacity:1; transform:none; transition-delay:.46s;
}
.auteure-world--clean.is-auteure-revealed .auteure-clean__signature{
  opacity:1; transform:none; transition-delay:.64s;
}

.auteure-clean__kicker{display:flex;align-items:center;gap:18px;margin:0 0 28px;font:800 12px/1 Inter,Arial,sans-serif;letter-spacing:.48em;text-transform:uppercase;color:#ff4055}
.auteure-clean__kicker::before,.auteure-clean__kicker::after{content:"";display:block;width:74px;height:1px;background:linear-gradient(90deg,transparent,rgba(105,165,255,.9))}.auteure-clean__kicker::after{background:linear-gradient(90deg,rgba(255,64,85,.9),transparent)}
.auteure-clean__title{margin:0 0 34px;font-family:"Cormorant Garamond",Georgia,serif;font-weight:400;font-size:clamp(4.8rem,8.6vw,9.5rem);line-height:.78;letter-spacing:-.075em;color:#f5f0e8;text-shadow:0 28px 90px rgba(0,0,0,.78)}
.auteure-clean__title span{display:block}
.auteure-clean__claim{margin:0 0 34px;font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(1.75rem,2.45vw,2.9rem);line-height:1.05;letter-spacing:.035em;text-transform:uppercase;color:#efe4d6}
.auteure-clean__bio{max-width:570px;margin:0 0 34px;padding-left:24px;border-left:2px solid rgba(255,64,85,.78);font:500 clamp(.98rem,1.04vw,1.08rem)/1.72 Inter,Arial,sans-serif;color:rgba(255,255,255,.84)}
.auteure-clean__bio p{margin:0 0 1.25em}.auteure-clean__bio p:last-child{margin-bottom:0}
.auteure-clean__signature{margin:0 0 54px;font-family:"Cormorant Garamond",Georgia,serif;font-style:italic;font-size:clamp(2.2rem,3.1vw,4rem);line-height:1;color:#e93e4b}

.auteure-clean__pillars{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(18px,2.4vw,34px);max-width:680px}
.auteure-clean__pillars section{
  padding-left:22px;border-left:1px solid rgba(255,255,255,.14);
  opacity:0;transform:translate3d(0,28px,0);
  transition:opacity .62s cubic-bezier(.22,.72,.24,1),transform .62s cubic-bezier(.22,.72,.24,1);
  transition-delay:var(--pillar-delay,0ms);
}
.auteure-clean__pillars section.is-auteure-scroll-visible{opacity:1;transform:none}
.auteure-clean__pillars span{display:block;margin:0 0 8px;font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(2.4rem,3.6vw,4.2rem);line-height:.8;color:rgba(255,255,255,.13)}
.auteure-clean__pillars h2{margin:0 0 12px;font-family:"Cormorant Garamond",Georgia,serif;font-size:clamp(1.15rem,1.4vw,1.45rem);text-transform:uppercase;color:#f4ede5}
.auteure-clean__pillars p{margin:0;max-width:190px;font:400 .92rem/1.65 Inter,Arial,sans-serif;color:rgba(255,255,255,.68)}
.auteure-clean__vertical{position:absolute;z-index:20;right:clamp(18px,2.4vw,44px);top:20%;writing-mode:vertical-rl;text-transform:uppercase;letter-spacing:.32em;font:700 12px/1.2 Inter,Arial,sans-serif;color:rgba(255,255,255,.62)}
.auteure-clean__vertical strong{color:#ff4055}

@media(max-width:980px){
  .auteure-clean__layout{padding:112px 24px 78px}
  .auteure-clean__portrait{position:absolute;inset:0;opacity:.18}
  .auteure-world--clean.is-auteure-revealed .auteure-clean__portrait{opacity:.58}
  .auteure-clean__portrait img{right:-16vw;width:112vw;object-position:70% top;transform:scale(1.06)}
  .auteure-clean__portrait::after{background:linear-gradient(180deg,rgba(2,5,10,.52),rgba(2,5,10,.68) 48%,rgba(2,5,10,.97))}
  .auteure-clean__content{width:100%;max-width:100%}
  .auteure-clean__title{font-size:clamp(4.5rem,20vw,7.2rem)}
  .auteure-clean__pillars{grid-template-columns:1fr;gap:26px}
  .auteure-clean__vertical{display:none}
}
@media(prefers-reduced-motion:reduce){
  .auteure-clean__portrait,.auteure-clean__kicker,.auteure-clean__title,.auteure-clean__claim,.auteure-clean__bio,.auteure-clean__signature,.auteure-clean__pillars section{transition:none!important;opacity:1!important;transform:none!important}
}

/* v8.98 — le canvas local est abandonné : l'overlay est rattaché directement à body. */
.auteure-particle-canvas{display:none!important}
body[data-world="top-lunaire"] .star-book-label,
.auteure-world--clean[aria-hidden="false"] ~ .star-book-label{
  opacity:0!important;
  visibility:hidden!important;
}

/* =========================================================
   V12.2 — PARTICULES OPTIMISEES ET NON FIXES
   Le canvas appartient à la page Auteure : il défile avec son contenu.
   Il ne suit donc plus le viewport pendant le scroll.
========================================================= */
.auteure-world--clean .auteure-particle-canvas{
  display:block !important;
  position:absolute !important;
  inset:0 auto auto 0 !important;
  width:100% !important;
  height:100vh !important;
  z-index:15 !important;
  pointer-events:none !important;
  opacity:0;
  visibility:hidden;
  mix-blend-mode:screen;
  transform:none !important;
  contain:strict;
  will-change:opacity;
  transition:opacity .22s ease, visibility .22s ease;
}
body[data-world="top-lunaire"] .auteure-world--clean .auteure-particle-canvas{
  opacity:.82;
  visibility:visible;
}
