/* RÉCIT — styles de base du moteur (voir recit.js). Sans JavaScript ou avec « animations réduites » : tout est lisible et immobile. */
.sc{position:relative}
.st{position:relative;min-height:100vh;min-height:100svh;overflow:hidden;display:grid}
html.ra .st{position:sticky;top:0;height:100vh;height:100svh}
.st>*{grid-area:1/1}
.cal{will-change:transform,opacity}
.cal img,.cal canvas{display:block;width:100%;height:100%;object-fit:cover}
.mo{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.08em;margin-bottom:-.08em}.mo>span{display:inline-block;will-change:transform}
.hz{overflow:hidden}.hz-p{display:flex;width:max-content;will-change:transform}
.c3{--rz:42vw;position:relative;transform-style:preserve-3d;perspective:1600px}.c3-i{backface-visibility:hidden;transition:opacity .2s}
/* sans animation : les scènes redeviennent des blocs normaux, les calques prennent leur état lisible */
html:not(.ra) .sc{height:auto!important}html:not(.ra) .cal{opacity:1!important;transform:none!important;filter:none!important;clip-path:none!important}
html:not(.ra) .hz{overflow-x:auto}html:not(.ra) .c3{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px}html:not(.ra) .c3-i{position:static!important;transform:none!important;opacity:1!important}
html.pilote *{animation:none!important;transition:none!important}
.trace path,.trace line,.trace rect,.trace polyline{stroke-dasharray:1;stroke-dashoffset:calc(1 - var(--t,1))}
@keyframes recit-entree{from{transform:translateY(105%)}}html.ra .entree .mo>span{animation:recit-entree 1.1s cubic-bezier(.2,.8,.2,1) both}html.ra .entree .mo:nth-child(2)>span{animation-delay:.08s}html.ra .entree .mo:nth-child(3)>span{animation-delay:.16s}html.ra .entree .mo:nth-child(4)>span{animation-delay:.24s}html.ra .entree .mo:nth-child(n+5)>span{animation-delay:.32s}
html.pilote .cal,html.pilote .mo>span,html.pilote .hz-p{will-change:auto}
