@font-face { font-family: Cinzel; src: url(Cinzel.ttf); font-weight: 400 900; font-display: swap; }
:root { color-scheme: dark; --bg: #050c09; --text: #eaf5ee; --muted: #a3b9ad; --green: #3ee08f; --line: rgba(160,230,190,.16); --gold: #e9c46a; }
* { box-sizing: border-box; }
body { isolation: isolate; margin: 0; min-height: 100dvh; display: flex; flex-direction: column; color: var(--text); font: 1.0625rem/1.6 system-ui, sans-serif;
  background: radial-gradient(60rem 40rem at 80% -10%, #14503a 0, transparent 70%), radial-gradient(50rem 40rem at 0 100%, #0d3327 0, transparent 70%), var(--bg); }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 1rem; top: 1rem; z-index: 9; background: var(--bg); padding: .5rem 1rem; }
header { position: sticky; top: 0; z-index: 2; display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; align-items: center; justify-content: space-between; padding: .8rem max(1.25rem, calc(50vw - 34rem));
  background: rgba(5,12,9,.7); backdrop-filter: blur(20px) saturate(160%); }
.logo { font: 700 1.5rem Cinzel, serif; color: var(--gold); text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
nav a { text-decoration: none; color: var(--muted); padding: .4rem 0; } nav a[aria-current] { color: var(--text); }
main { flex: 1; width: min(68rem, 100% - 2.5rem); margin-inline: auto; padding-block: 2rem 5rem; }
h1 { font: 600 clamp(2.2rem, 7vw, 4.5rem)/1.08 Cinzel, serif; letter-spacing: -.02em; margin: 0 0 1.25rem; text-wrap: balance; }
h2 { font-size: 1.25rem; line-height: 1.3; margin: 0 0 .5rem; }
.hero { padding-block: clamp(3rem, 12vh, 8rem); max-width: 46rem; } .head { padding-block: 2rem 1rem; }
.hero p, .head p { font-size: 1.2rem; color: var(--muted); max-width: 38rem; margin: 0 0 1.75rem; }
.row { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn { display: inline-block; padding: .75rem 1.4rem; border-radius: 99px; background: var(--green); color: #04130b; font-weight: 650; text-decoration: none; }
.btn:active { transform: scale(.97); } .btn.ghost { background: rgba(160,230,190,.1); color: var(--text); } .btn.off { background: rgba(160,230,190,.08); color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; }
article { display: flex; flex-direction: column; align-items: flex-start; padding: 1.5rem; border: 1px solid var(--line); border-radius: 1.25rem; background: rgba(20,44,34,.45); }
article p { color: var(--muted); margin: 0 0 1rem; flex: 1; } article.mine { border-color: var(--green); }
.text { max-width: 42rem; margin-top: 2rem; } .text p, .text li { color: var(--muted); } .text li h2, .text > h2 { color: var(--text); margin-top: 1.5rem; }
details { border-bottom: 1px solid var(--line); padding: 1rem 0; } summary { cursor: pointer; font-weight: 600; }
footer { display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; padding: 1.5rem max(1.25rem, calc(50vw - 34rem)); color: var(--muted); font-size: .9rem; border-top: 1px solid var(--line); } footer p { margin: 0; }
@media (prefers-reduced-transparency: reduce) { header { background: var(--bg); backdrop-filter: none; } }

/* scène */
html { background: var(--bg); scrollbar-color: #2a5a45 transparent; }
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; opacity: 0; transition: opacity 1.2s ease-out; } #scene.on { opacity: 1; }
body:not(.index) #scene.on { opacity: .42; }
.index header { background: linear-gradient(rgba(3,9,7,.75), transparent); backdrop-filter: none; } .index nav a { color: #d8e8de; }
.index main { width: 100%; padding: 0; margin: 0; }
.act { min-height: 150svh; padding-inline: max(1.25rem, calc(50vw - 34rem)); display: flex; }
.act > div { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center; max-width: 40rem; text-shadow: 0 2px 30px rgba(0,0,0,.75), 0 0 4px rgba(0,0,0,.5); }
.act:not(.first, .last) > div { max-width: min(40rem, 100%); } .act:not(.first, .last) p { max-width: 24rem; }
.act.right { justify-content: flex-end; } .act.right > div { text-align: right; align-items: flex-end; }
.act.first, .act.last { justify-content: center; } .act.first > div, .act.last > div { text-align: center; align-items: center; max-width: 60rem; }
.act.last { min-height: 110svh; }
.act h1, .act h2 { font: 600 clamp(2.4rem, 7.5vw, 6rem)/1.04 Cinzel, serif; letter-spacing: -.025em; margin: 0 0 1.25rem; color: #fff8e4; text-wrap: balance; }
.act h2 { font-size: clamp(2.1rem, 5.6vw, 4.5rem); }
.act.last h2 { font-size: clamp(2.4rem, 7.5vw, 6rem); }
.act.last > div::before, .act > div::before { content: ""; position: absolute; z-index: -1; inset: 18% -18%; background: radial-gradient(closest-side, rgba(2,9,7,.62), transparent); pointer-events: none; }
.act p { font-size: clamp(1.05rem, 1.6vw, 1.35rem); margin: 0 0 1.75rem; max-width: 32rem; color: #e6f2ea; text-wrap: pretty; }
.act .btn { text-shadow: none; } .act .btn.ghost { background: rgba(4,18,12,.65); backdrop-filter: blur(14px); }
.cue { width: 2px; height: 4.5rem; background: linear-gradient(var(--gold), transparent); transform-origin: top; }
.act > div { opacity: var(--o, 1); translate: 0 var(--y, 0); will-change: opacity, translate; }
@media (prefers-reduced-motion: reduce) { .act > div { opacity: 1; translate: none; } #scene { transition: none; } }
.index main { overflow-x: clip; }
.index footer { background: rgba(3,9,7,.8); border: 0; }
#motion { font: inherit; color: inherit; background: none; border: 0; text-decoration: underline; cursor: pointer; margin-right: 1rem; padding: 0; }
@media (max-width: 45rem) { .act:not(.last) > div { justify-content: flex-start; padding-top: 15svh; } }

/* captures du launcher */
#son { font: inherit; color: #d8e8de; background: none; border: 0; padding: .4rem 0; cursor: pointer; } #son::after { content: " : non"; } #son[aria-pressed=true]::after { content: " : oui"; color: var(--green); }
#son:not([hidden]) { min-width: 5.5rem; text-align: left; }
.act.shot { padding-inline: max(1.25rem, 5vw); min-height: 170svh; }
.act.shot > div { max-width: none !important; width: 100%; flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; perspective: 1400px; text-align: left; }
.act.shot.right > div { flex-direction: row-reverse; } .act.shot > div > div { flex: 0 1 26rem; } .act.shot h2 { font-size: clamp(2rem, 4.4vw, 4rem); }
.shot figure { margin: 0; flex: 0 1 min(46vw, 46rem); transform: rotateY(var(--ry, -16deg)) rotateX(var(--rx, 4deg)) translateZ(0); }
.shot.right figure { --s: -1; }
.shot img { display: block; width: 100%; height: auto; max-height: 72svh; object-fit: contain; border-radius: 1.1rem; filter: drop-shadow(0 2rem 3rem rgba(0,0,0,.6)) drop-shadow(0 0 1.6rem rgba(62,224,143,.28)); }
@media (max-width: 45rem) {
  .act.shot > div, .act.shot.right > div { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .5rem; padding-top: 11svh !important; }
  .act.shot > div > div { flex: none; } .shot figure { flex: none; width: 100%; } .shot img { max-height: 46svh; }
  .act.shot > div::before { inset: 0 -2rem 35%; background: linear-gradient(rgba(2,9,7,.78) 55%, transparent) !important; }
  header { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .shot figure { transform: none; } }
