/* La profondeur reprend le principe de l'original, guidé par le défilement natif. */
.has-abyss{background:#090a0c;--abyss-top:123px;--abyss-height:calc(100svh - var(--abyss-top));overflow-x:clip}
.has-abyss .preview-bar{position:fixed;top:0;left:0;right:0;z-index:50}
.has-abyss .site-header{position:fixed;top:28px;left:0;right:0;background:#090a0ced;backdrop-filter:blur(14px)}
.has-abyss:not(:has(.preview-bar)) .site-header{top:0;background:#090a0c}
.has-abyss #contenu{padding-top:var(--abyss-top)}
.has-abyss.is-gateway{--abyss-top:28px}
.is-gateway .site-header{display:none}
.abyss-journey{position:relative}
.abyss-stage{position:relative;isolation:isolate;background:#090a0c;perspective:1400px;perspective-origin:50% 45%}
.abyss-stage:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 43%,#dec89d09,transparent 62%);z-index:-1}
.abyss-dust{display:none;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;opacity:.48}
.abyss-ready .abyss-stage{position:sticky;top:var(--abyss-top);height:var(--abyss-height);overflow:hidden}
.abyss-ready .abyss-dust{display:block}
.abyss-ready .abyss-frame{position:absolute;top:0;left:0;right:0;min-height:100%;will-change:transform,opacity;transform-origin:50% 45%}
.abyss-frame>section{width:100%;min-height:var(--abyss-height);border-top:0;border-bottom:0;background:transparent}
.abyss-frame>.section{padding-top:clamp(40px,7vh,84px);padding-bottom:80px}
.abyss-frame>.welcome{padding:40px 24px 48px;justify-content:center}
.abyss-frame>.welcome .signature-large{width:min(390px,65vw)}
.abyss-frame>.choice-section{padding-bottom:50px;justify-content:center}
.abyss-frame .audience-grid{margin-top:36px}
.abyss-frame .audience-card{min-height:350px;padding:35px 40px;background:linear-gradient(145deg,#1d2520,#111612);border-radius:5px}
.abyss-frame .audience-card.personal{background:radial-gradient(ellipse at top right,#b39b551a,transparent 70%),#191914}
.abyss-frame .card-number{font-size:10px;letter-spacing:.16em}
.abyss-frame .audience-card h3{margin-top:35px}
.abyss-frame>.date-section{padding:40px 24px 80px;justify-content:center}
.abyss-frame .calendar{margin-top:38px}
.abyss-frame .calendar strong{font-size:100px}
.abyss-frame .date-section h2{font-size:56px}
.abyss-navigation{display:none}
.abyss-ready .abyss-navigation{display:flex;position:fixed;bottom:17px;left:var(--gutter);right:var(--gutter);z-index:25;align-items:center;justify-content:space-between;gap:24px;pointer-events:none}
.abyss-navigation button{pointer-events:auto;background:#090a0ccc;border:0;border-bottom:1px solid #d5bd8940;padding:8px 0;font-size:11px;color:#c4b38e;min-width:70px;min-height:38px;transition:color .2s,border-color .2s}
.abyss-navigation button:hover{color:#f1dfba;border-color:var(--gold)}
.abyss-navigation button:disabled{visibility:hidden}
.abyss-counter{font-size:10px;letter-spacing:.16em;color:#9e9178}
.has-abyss.abyss-ended .abyss-navigation{display:none}
@media(max-width:850px){.has-abyss{--abyss-top:106px}}
@media(max-width:620px){
 .has-abyss.is-gateway{--abyss-top:28px}
 .abyss-frame>.welcome{padding:28px 24px 40px}
 .abyss-frame>.welcome .signature-large{width:min(320px,74vw)}
 .abyss-frame>.section{padding-top:40px;padding-bottom:70px}
 .abyss-frame>.choice-section{padding:32px 20px 40px}
 .abyss-frame .audience-grid{gap:14px;margin-top:30px}
 .abyss-frame .audience-card{padding:24px 16px;min-height:340px}
 .abyss-frame .audience-card h3{font-size:clamp(20px,6.6vw,32px);margin-top:32px}
 .abyss-frame .audience-card p{font-size:13px}
 .abyss-frame .card-bottom{font-size:11px;line-height:1.65}
 .abyss-frame .card-number{font-size:8px;letter-spacing:.12em}
 .abyss-frame>.date-section{padding:36px 24px 65px}
 .abyss-frame .calendar{margin:32px 0 14px}
 .abyss-frame .calendar strong{font-size:82px}
 .abyss-frame .date-section h2{font-size:46px}
 .abyss-frame .fil-pill{font-size:13px}
 .abyss-frame>.audience-hero{min-height:var(--abyss-height)}
 .abyss-navigation{gap:12px}
}
@media(max-width:350px){.abyss-frame .audience-card{padding:20px 13px;min-height:325px}.abyss-frame .audience-card h3{font-size:21px}.abyss-frame .audience-card p{font-size:12px}.abyss-frame .card-bottom{font-size:10px}}
@media(max-height:740px){.abyss-frame>.welcome .signature-large{width:min(260px,64vw)}.abyss-frame>.welcome .eyebrow{font-size:10px}.abyss-frame>.welcome h1{margin-top:15px}.abyss-frame>.welcome .welcome-copy{margin-top:15px;font-size:15px}.abyss-frame>.welcome .welcome-next{margin-top:20px}}
@media(prefers-reduced-motion:reduce){.abyss-stage{perspective:none}.abyss-dust{display:none!important}.abyss-frame{transform:none!important;opacity:1!important}.abyss-navigation{display:none!important}}


/* Adaptation du moteur AC aux deux écrans conservés. */
.compact-page.has-abyss{--gutter:clamp(20px,4vw,56px)}
.compact-page.has-abyss .ac-original-header{position:fixed;top:var(--abyss-bar-height,33px);left:0;right:0;z-index:40}
.compact-page.has-abyss .preview-bar{color:#26392e;z-index:50}
.has-abyss .abyss-main{padding-top:var(--abyss-top);margin:0}
.abyss-frame>.surface-creations{width:100%;min-height:var(--abyss-height);background:#f7f4ec;color:#22362d;padding-bottom:85px}
.abyss-ready .abyss-frame>.date-section{min-height:var(--abyss-height);height:var(--abyss-height);padding:45px 24px 95px;background:#090a0c}
.abyss-frame .compact-main{padding-top:38px}
.entry-page .abyss-frame .compact-intro h1{font-size:clamp(43px,4.2vw,63px);line-height:1.02;max-width:none;color:#22362d}
.entry-page .abyss-frame .compact-intro h1 em{color:#8d7042}
.fallback-continue{margin:35px auto 0}.fallback-back{text-align:center;font-size:12px;padding:20px}
.abyss-ready .fallback-continue,.abyss-ready .fallback-back{display:none}
.has-abyss .abyss-navigation{left:0;right:0;bottom:0;padding:10px var(--gutter);background:linear-gradient(transparent,#090a0cf5 35%);gap:15px}
.has-abyss .abyss-navigation button{min-width:150px;background:none;border:0;font-size:11px;color:#dfca9f}
.has-abyss .abyss-navigation button:first-child{text-align:left}.has-abyss .abyss-navigation button:last-child{text-align:right}
.has-abyss[data-abyss-scene="1"] .abyss-navigation{background:linear-gradient(transparent,#f7f4ecf5 35%)}
.has-abyss[data-abyss-scene="1"] .abyss-navigation button,.has-abyss[data-abyss-scene="1"] .abyss-counter{color:#49583f}
.has-abyss .abyss-counter{white-space:nowrap}
body:has(dialog[open]) .abyss-navigation{visibility:hidden}
.has-abyss:not(.abyss-ready) .abyss-frame>.date-section{min-height:calc(100svh - var(--abyss-top));padding:45px 24px}
.has-abyss:not(.abyss-ready) .abyss-stage{perspective:none}
.has-abyss:not(.abyss-ready) .abyss-frame{position:relative;opacity:1;transform:none;visibility:visible}
.has-abyss .skip{z-index:60}
@media(max-width:760px){.abyss-frame .compact-main{padding-top:30px}.has-abyss .abyss-navigation{padding:8px 18px}.has-abyss .abyss-navigation button{min-width:0;max-width:130px;font-size:10px}.abyss-ready .abyss-frame>.date-section{padding:30px 20px 75px}.entry-page .abyss-frame .date-section .day-journal-link{margin-bottom:45px}.entry-page .abyss-frame .compact-intro h1{font-size:43px}.entry-page .preview-bar>span{display:none}}
@media(max-height:680px){.entry-page .abyss-frame .date-section .day-journal-link{margin-bottom:20px}.entry-page .abyss-frame .calendar strong{font-size:64px}.entry-page .abyss-frame .gold-rule{margin:18px auto}.entry-page .abyss-frame #entry-title{font-size:34px}}

/* Version publique sans bandeau d’aperçu. */
body{--abyss-bar-height:0px}
