/* ═══════════════════════════════════════════════════════════
   myLiV® · Feuille de style commune · V3 « cinéma » · sept. 2026
   Charte V6 : Nunito (titres) · Inter (texte)
   Nuit Profonde #030614 · Nuit Interface #1A2332 · Bleu Brume #314F67
   Or Particule #F5A623 · Cyan Interactif #6BA5FF · Gris Interface #F5F5F5
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --nuit: #030614; --nuit-2: #081020; --interface: #1A2332; --brume: #314F67;
  --or: #F5A623; --cyan: #6BA5FF; --texte: #F5F5F5; --papier: #E9E6DF; --encre: #1b1d22;
  --texte-80: rgba(245,245,245,.80); --texte-60: rgba(245,245,245,.60); --texte-40: rgba(245,245,245,.40);
  --ligne: rgba(245,245,245,.09); --ligne-2: rgba(245,245,245,.16);
  --or-10: rgba(245,166,35,.10); --or-30: rgba(245,166,35,.30);
  --cyan-10: rgba(107,165,255,.10); --cyan-30: rgba(107,165,255,.30);
  --surface: rgba(26,35,50,.55);
  --f-titre: 'Nunito', system-ui, sans-serif; --f-texte: 'Inter', system-ui, sans-serif;
  --max: 1120px; --gutter: clamp(16px, 4vw, 40px); --section: clamp(96px, 12vw, 160px);
  --radius: 18px; --ease: cubic-bezier(.22,1,.36,1);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { background: var(--nuit); color: var(--texte); font-family: var(--f-texte); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

#cvs { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .nav, footer { position: relative; z-index: 2; }
main { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* ═══════════ NAVIGATION (apparaît après l'ouverture) ═══════════ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transform: translateY(-100%); opacity: 0; transition: transform .6s var(--ease), opacity .6s, background .4s; border-bottom: 1px solid transparent; }
.nav.is-visible { transform: none; opacity: 1; }
.nav.is-scrolled { background: rgba(3,6,20,.8); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--ligne); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.nav-logo img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-family: var(--f-titre); font-size: 14px; font-weight: 600; color: var(--texte-60); text-decoration: none; transition: color .25s; }
.nav-links a:hover { color: var(--texte); }
.nav-cta { font-family: var(--f-titre); font-size: 13px; font-weight: 700; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--or-30); color: var(--or); text-decoration: none; transition: all .3s var(--ease); }
.nav-cta:hover { background: var(--or); color: var(--nuit); border-color: var(--or); }
.nav-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; }
.nav-burger span, .nav-burger span::before, .nav-burger span::after { display: block; width: 20px; height: 1.5px; background: var(--texte); position: relative; transition: transform .3s var(--ease), background .3s; }
.nav-burger span::before, .nav-burger span::after { content: ''; position: absolute; left: 0; }
.nav-burger span::before { top: -6px; } .nav-burger span::after { top: 6px; }
.nav.is-open .nav-burger span { background: transparent; }
.nav.is-open .nav-burger span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav-burger span::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 900px) {
  .nav-burger { display: flex; } .nav-links, .nav-cta { display: none; }
  .nav.is-open { background: rgba(3,6,20,.97); }
  .nav.is-open .nav-links { display: flex; flex-direction: column; align-items: stretch; gap: 0; position: absolute; top: 76px; left: 0; right: 0; background: rgba(3,6,20,.97); padding: 8px var(--gutter) 28px; border-bottom: 1px solid var(--ligne); }
  .nav.is-open .nav-links a { display: block; padding: 16px 0; font-size: 18px; color: var(--texte); border-bottom: 1px solid var(--ligne); }
}

/* ═══════════ ÉLÉMENTS COMMUNS ═══════════ */
h1, h2, h3 { font-family: var(--f-titre); color: #fff; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; line-height: 1.08; }
h3 { font-size: 20px; font-weight: 700; line-height: 1.3; }
h2 em, h3 em, .or { font-style: normal; color: var(--or); }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--texte-60); line-height: 1.8; margin-top: 22px; }

.acte { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px; font-family: var(--f-titre); font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--texte-40); }
.acte b { color: var(--or); font-weight: 800; }
.acte::after { content: ''; width: 40px; height: 1px; background: linear-gradient(to right, var(--or-30), transparent); }
.center { text-align: center; }
.center .acte { justify-content: center; }
.sec { padding: var(--section) 0; position: relative; }
.sec-head { max-width: 820px; margin-bottom: clamp(48px, 7vw, 88px); }
.sec-head.center { margin-left: auto; margin-right: auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--f-titre); font-size: 15px; font-weight: 700; padding: 15px 28px; border-radius: 999px; text-decoration: none; white-space: nowrap; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn .arr { transition: transform .3s var(--ease); } .btn:hover .arr { transform: translateX(4px); }
.btn-or { background: var(--or); color: var(--nuit); box-shadow: 0 10px 36px -10px rgba(245,166,35,.55); }
.btn-or:hover { transform: translateY(-2px); box-shadow: 0 16px 44px -10px rgba(245,166,35,.7); }
.btn-ghost { border: 1px solid var(--ligne-2); color: var(--texte); }
.btn-ghost:hover { border-color: var(--texte-60); background: rgba(255,255,255,.03); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-titre); font-size: 14px; font-weight: 700; color: var(--cyan); text-decoration: none; }
.link-arrow .arr { transition: transform .3s var(--ease); } .link-arrow:hover .arr { transform: translateX(4px); }

.reveal { opacity: 0; transform: translateY(28px); filter: blur(4px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter 1.2s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; filter: none; }
.d1 { transition-delay: .12s !important; } .d2 { transition-delay: .24s !important; } .d3 { transition-delay: .36s !important; }

/* ═══════════ OUVERTURE · le logo ═══════════ */
.ouverture { height: 100vh; height: 100svh; min-height: 560px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; padding: 0 var(--gutter); }
.ouverture::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 60% 45% at 50% 48%, rgba(49,79,103,.35), transparent 70%); opacity: 0; animation: fadein 3s ease 1.2s forwards; }
.ouv-logo { position: relative; width: min(560px, 82vw); aspect-ratio: 900 / 355; }
.ouv-logo img { width: 100%; height: auto; opacity: 0; filter: blur(12px); animation: logo-in 2.2s var(--ease) 1.1s forwards; }
/* Le point cyan s'allume d'abord, seul dans le noir, à la place exacte de celui du logo */
.ouv-dot { position: absolute; left: 50.4%; top: 13.5%; width: 10.8%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%,-50%) scale(.2); background: var(--cyan); box-shadow: 0 0 40px 10px rgba(107,165,255,.55), 0 0 120px 40px rgba(107,165,255,.25); opacity: 0; animation: dot-in 1.6s var(--ease) .2s forwards, dot-out 1.4s ease 2.2s forwards; }
.ouv-tag { margin-top: clamp(28px, 5vh, 48px); font-family: var(--f-titre); font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; color: var(--texte-80); opacity: 0; animation: rise-in 1.6s var(--ease) 2.6s forwards; }
.ouv-tag em { font-style: normal; color: var(--or); }
.ouv-sub { margin-top: 14px; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--texte-40); opacity: 0; animation: rise-in 1.6s var(--ease) 3.1s forwards; }
.ouv-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--texte-40); text-decoration: none; opacity: 0; animation: fadein 1.5s ease 3.8s forwards; }
.ouv-scroll i { width: 1px; height: 46px; background: linear-gradient(to bottom, var(--or), transparent); animation: drip 2.4s ease-in-out infinite; transform-origin: top; }
@keyframes dot-in { to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
@keyframes dot-out { to { box-shadow: 0 0 0 0 transparent; opacity: 0; } }
@keyframes logo-in { to { opacity: 1; filter: blur(0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }
@keyframes drip { 0% { transform: scaleY(0); opacity: 1; } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* ═══════════ PROLOGUE · cartons au défilement ═══════════ */
.prologue { height: 360vh; position: relative; }
.prologue-stage { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.prologue-sky { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 90% 60% at 50% 115%, rgba(245,166,35,.22), rgba(49,79,103,.18) 45%, transparent 75%); opacity: var(--p-glow, 0); transition: opacity .2s linear; }
.carton { position: absolute; left: var(--gutter); right: var(--gutter); text-align: center; font-family: var(--f-titre); font-weight: 800; font-size: clamp(30px, 5.4vw, 68px); line-height: 1.12; color: #fff; opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.carton.is-on { opacity: 1; transform: none; filter: none; }
.carton.is-past { opacity: 0; transform: translateY(-30px); filter: blur(8px); }
.carton small { display: block; margin-bottom: 18px; font-size: 13px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--texte-40); }
.carton em { font-style: normal; color: var(--or); }
.prologue-bar { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.prologue-bar span { width: 22px; height: 2px; border-radius: 2px; background: var(--ligne-2); transition: background .4s, width .4s; }
.prologue-bar span.is-on { background: var(--or); width: 36px; }

/* ═══════════ ACTE I · LE FILM ═══════════ */
.film { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.film h2 { font-size: clamp(38px, 5.6vw, 70px); line-height: 1.02; }
.film .poeme { margin-top: 28px; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.9; color: var(--texte-60); font-style: italic; }
.film-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.proofs { display: flex; flex-direction: column; gap: 12px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--ligne); list-style: none; color: var(--texte-60); font-size: 15px; }
.proofs li { display: flex; align-items: center; gap: 14px; }
.proofs li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.ecran { position: relative; display: flex; justify-content: center; }
.ecran::before { content: ''; position: absolute; width: 150%; aspect-ratio: 1; top: 50%; left: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(245,166,35,.16), rgba(49,79,103,.12) 35%, transparent 62%); pointer-events: none; animation: souffle 6s ease-in-out infinite; }
@keyframes souffle { 0%,100% { opacity: .75; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.06); } }

/* Vidéo « lite » */
.yt { position: relative; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 22px; background: linear-gradient(160deg, var(--interface), var(--nuit-2)); border: 1px solid var(--ligne-2); box-shadow: 0 50px 120px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(245,166,35,.06); }
.yt img { width: 100%; height: 100%; object-fit: cover; opacity: .9; transition: transform 1.4s var(--ease), opacity .4s; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play { position: absolute; inset: 0; width: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(to top, rgba(3,6,20,.8), transparent 50%); }
.yt-play span { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(3,6,20,.4); border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: transform .4s var(--ease), background .3s, border-color .3s; position: relative; }
.yt-play span::after { content: ''; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--or); animation: ping 2.6s ease-out infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.7); opacity: 0; } }
.yt-play svg { width: 24px; height: 24px; fill: #fff; margin-left: 3px; }
.yt:hover img { transform: scale(1.04); opacity: 1; }
.yt:hover .yt-play span { transform: scale(1.08); background: var(--or); border-color: var(--or); }
.yt:hover .yt-play svg { fill: var(--nuit); }
.yt-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; pointer-events: none; }
.yt-cap strong { display: block; font-family: var(--f-titre); font-size: 17px; font-weight: 800; color: #fff; }
.yt-cap span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.45; color: var(--texte-60); }
.yt.is-playing .yt-play, .yt.is-playing .yt-cap, .yt.is-playing .badge { display: none; }
.badge { position: absolute; top: 16px; left: 16px; z-index: 2; font-family: var(--f-titre); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; background: var(--or); color: var(--nuit); padding: 5px 11px; border-radius: 999px; }
.ecran .yt { max-width: 360px; }

/* ═══════════ ACTE II · LA MAGIE (démo de lecture) ═══════════ */
.magie { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.liseuse { position: relative; }
.liseuse-corps { position: relative; padding: 18px; border-radius: 30px; background: linear-gradient(160deg, #20242c, #111318); box-shadow: 0 60px 120px -40px rgba(0,0,0,.95), inset 0 1px 0 rgba(255,255,255,.06); }
.liseuse-papier { position: relative; border-radius: 14px; background: var(--papier); padding: clamp(26px, 4vw, 44px) clamp(22px, 3.5vw, 40px); min-height: 330px; overflow: hidden; box-shadow: inset 0 0 40px rgba(0,0,0,.08); }
.liseuse-papier::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .35; background-image: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1px); background-size: 3px 3px; }
.liseuse-titre { font-family: var(--f-titre); font-size: 12px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #6b6a66; margin-bottom: 20px; }
.recit { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(19px, 2vw, 23px); line-height: 1.75; color: #7c7a75; }
.recit .w { transition: color .35s ease; }
.recit .w.lu { color: var(--encre); }
.recit .w.cle { position: relative; }
.recit .w.cle.lu { color: var(--encre); font-weight: 700; }
.liseuse-pied { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; padding: 0 6px; }
.voix { display: flex; align-items: center; gap: 10px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-40); }
.voix-onde { display: flex; align-items: center; gap: 3px; height: 18px; }
.voix-onde i { width: 3px; height: 4px; border-radius: 2px; background: var(--cyan); opacity: .4; transition: opacity .3s; }
.liseuse.is-reading .voix-onde i { opacity: 1; animation: onde .9s ease-in-out infinite; }
.voix-onde i:nth-child(2){animation-delay:.1s}.voix-onde i:nth-child(3){animation-delay:.2s}.voix-onde i:nth-child(4){animation-delay:.3s}.voix-onde i:nth-child(5){animation-delay:.15s}
@keyframes onde { 0%,100% { height: 4px; } 50% { height: 18px; } }
.rejouer { font-family: var(--f-titre); font-size: 13px; font-weight: 700; color: var(--or); display: inline-flex; gap: 8px; align-items: center; opacity: .5; transition: opacity .3s; }
.rejouer:hover { opacity: 1; }
/* Le son qui naît : étiquette + éclats d'or */
.son { position: absolute; z-index: 3; pointer-events: none; white-space: nowrap; font-family: var(--f-titre); font-size: 13px; font-weight: 800; letter-spacing: .06em; color: var(--nuit); background: var(--or); padding: 6px 12px 6px 10px; border-radius: 999px; box-shadow: 0 10px 30px -6px rgba(245,166,35,.7); transform: translate(-50%, 0) scale(.6); opacity: 0; animation: son-pop 2.8s var(--ease) forwards; }
.son::before { content: '♪ '; }
@keyframes son-pop { 0% { opacity: 0; transform: translate(-50%, 6px) scale(.6); } 15% { opacity: 1; transform: translate(-50%, -34px) scale(1); } 75% { opacity: 1; transform: translate(-50%, -46px) scale(1); } 100% { opacity: 0; transform: translate(-50%, -64px) scale(.95); } }
.eclat { position: absolute; z-index: 2; width: 5px; height: 5px; border-radius: 50%; background: var(--or); box-shadow: 0 0 8px 2px rgba(245,166,35,.8); pointer-events: none; animation: eclat 1.6s ease-out forwards; }
@keyframes eclat { from { opacity: 1; transform: translate(0,0) scale(1); } to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.2); } }

.piliers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(64px, 9vw, 110px); }
.pilier { padding: 32px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--ligne); transition: border-color .4s, transform .4s var(--ease); }
.pilier:hover { border-color: var(--or-30); transform: translateY(-4px); }
.pilier svg { width: 48px; height: 48px; overflow: visible; margin-bottom: 22px; }
.pilier h3 { font-size: 18px; margin-bottom: 10px; }
.pilier p { color: var(--texte-60); font-size: 15px; }
@keyframes wave { 0%,100% { transform: scaleY(1); opacity: .45 } 50% { transform: scaleY(1.65); opacity: 1 } }
.wave-bar { transform-origin: center; transform-box: fill-box; animation: wave 1.5s ease-in-out infinite; }
.wave-bar:nth-child(2),.wave-bar:nth-child(6){animation-delay:.13s}.wave-bar:nth-child(3),.wave-bar:nth-child(5){animation-delay:.26s}.wave-bar:nth-child(4){animation-delay:.39s}
@keyframes rise-dot { 0% { transform: translateY(0) scale(1); opacity: .85 } 100% { transform: translateY(-22px) scale(.2); opacity: 0 } }
.p-dot { transform-box: fill-box; transform-origin: center; animation: rise-dot 2.4s ease-out infinite; }
.p-dot:nth-child(4){animation-delay:.45s}.p-dot:nth-child(5){animation-delay:.9s}.p-dot:nth-child(6){animation-delay:1.35s}.p-dot:nth-child(7){animation-delay:1.8s}.p-dot:nth-child(8){animation-delay:2.2s}
@keyframes breathe { 0%,100% { transform: scale(1); opacity: .55 } 50% { transform: scale(1.2); opacity: .12 } }
.ring { transform-box: fill-box; transform-origin: center; animation: breathe 2.9s ease-in-out infinite; } .ring.r2 { animation-delay: .55s; }

.citation { margin: clamp(80px, 11vw, 140px) auto 0; max-width: 820px; text-align: center; font-family: var(--f-titre); font-size: clamp(26px, 3.4vw, 42px); font-weight: 700; line-height: 1.3; color: var(--texte-80); }
.citation em { font-style: normal; color: var(--or); }

/* ═══════════ ACTE III · LE VOYAGE (manifeste) ═══════════ */
.voyage { position: relative; max-width: 980px; margin: 0 auto; }
.chemin { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); background: var(--ligne); border-radius: 2px; }
.chemin i { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--prog, 0) * 100%); background: linear-gradient(to bottom, var(--cyan), var(--or)); border-radius: 2px; box-shadow: 0 0 12px rgba(245,166,35,.6); }
.chemin i::after { content: ''; position: absolute; bottom: -6px; left: 50%; width: 12px; height: 12px; border-radius: 50%; transform: translateX(-50%); background: var(--or); box-shadow: 0 0 18px 6px rgba(245,166,35,.55); }
.etape { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; padding: 34px 0; }
.etape::before { content: ''; position: absolute; left: 50%; top: 64px; width: 14px; height: 14px; border-radius: 50%; transform: translateX(-50%); background: var(--nuit); border: 2px solid var(--ligne-2); transition: border-color .6s, box-shadow .6s, background .6s; z-index: 1; }
.etape.is-in::before { border-color: var(--or); background: var(--or); box-shadow: 0 0 16px 4px rgba(245,166,35,.5); }
.etape-carte { grid-column: 1; display: block; padding: 30px 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--ligne); text-decoration: none; transition: border-color .4s, transform .4s var(--ease), background .4s; }
.etape:nth-child(odd) .etape-carte { grid-column: 2; }
.etape-carte:hover { border-color: var(--or-30); background: rgba(26,35,50,.85); transform: translateY(-4px); }
.etape-n { font-family: var(--f-titre); font-size: 56px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--or-30); }
.etape-carte h3 { margin: 18px 0 10px; font-size: 22px; }
.etape-carte p { color: var(--texte-60); font-size: 15px; }
.etape-carte .link-arrow { margin-top: 18px; font-size: 13px; }
.etape.finale .etape-carte { border-color: var(--or-30); background: linear-gradient(135deg, rgba(245,166,35,.1), rgba(26,35,50,.6)); }
.voyage-fin { text-align: center; margin-top: 56px; }

/* ═══════════ ACTE IV · LES HISTOIRES (affiches) ═══════════ */
.affiches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.affiche { position: relative; display: block; aspect-ratio: 2 / 3; border-radius: 16px; overflow: hidden; text-decoration: none; background: var(--interface); border: 1px solid var(--ligne); transition: transform .6s var(--ease), box-shadow .6s, border-color .4s; box-shadow: 0 30px 70px -35px rgba(0,0,0,.9); }
.affiche:hover { transform: translateY(-8px) rotate(-.4deg); border-color: var(--or-30); box-shadow: 0 40px 90px -30px rgba(0,0,0,.95), 0 0 50px -10px rgba(245,166,35,.25); }
.affiche-art, .affiche > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.affiche:hover .affiche-art, .affiche:hover > img { transform: scale(1.06); }
.affiche::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,6,20,.92) 8%, rgba(3,6,20,.2) 50%, transparent 70%); pointer-events: none; }
.affiche-txt { position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 2; }
.affiche-txt small { display: block; font-family: var(--f-titre); font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--or); margin-bottom: 8px; }
.affiche-txt strong { display: block; font-family: var(--f-titre); font-size: clamp(18px, 1.7vw, 22px); font-weight: 800; line-height: 1.2; color: #fff; }
.affiche-txt span { display: block; margin-top: 6px; font-size: 13px; color: var(--texte-60); }
.affiche .etiq { position: absolute; top: 14px; right: 14px; z-index: 2; font-family: var(--f-titre); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--texte); background: rgba(3,6,20,.55); border: 1px solid var(--ligne-2); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.affiche.mystere .affiche-art { filter: blur(1px) saturate(.8); }
.affiche.mystere strong { font-style: italic; }
.bandes { margin-top: clamp(64px, 9vw, 110px); }
.bandes-titre { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.bandes-titre h3 { font-size: clamp(22px, 2.4vw, 28px); font-weight: 800; }
.bandes-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; }
.bande .yt { box-shadow: none; border-radius: 16px; }
.bande-meta { padding: 14px 4px 0; }
.bande-meta strong { display: block; font-family: var(--f-titre); font-size: 16px; font-weight: 700; color: #fff; }
.bande-meta span { font-size: 14px; color: var(--texte-40); }
.bandes-plus { margin-top: 24px; }

/* ═══════════ AVIS ═══════════ */
.avis { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: clamp(36px, 6vw, 76px); border-radius: 28px; background: linear-gradient(135deg, rgba(245,166,35,.11), rgba(26,35,50,.5) 55%); border: 1px solid var(--or-30); }
.avis::after { content: ''; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.18), transparent 65%); pointer-events: none; }
.avis .acte { margin-bottom: 18px; }
.avis p { margin-top: 18px; color: var(--texte-60); }
.avis-cote { position: relative; z-index: 1; }
.avis-faits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ligne); border-radius: 14px; overflow: hidden; margin-bottom: 26px; }
.avis-faits div { background: rgba(8,16,32,.92); padding: 18px 8px; text-align: center; }
.avis-faits b { display: block; font-family: var(--f-titre); font-size: 22px; font-weight: 800; color: var(--or); }
.avis-faits small { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--texte-40); }
.avis .btn { width: 100%; }

/* ═══════════ LE PROJET ═══════════ */
.createur { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.createur-photo { position: relative; }
.createur-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border-radius: 24px; }
.createur-photo::after { content: ''; position: absolute; inset: 0; border-radius: 24px; background: linear-gradient(to top, rgba(3,6,20,.6), transparent 45%); pointer-events: none; }
.createur .role { margin-top: 12px; font-family: var(--f-titre); font-weight: 700; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--or); }
.createur .bio { margin-top: 26px; color: var(--texte-80); font-size: 17px; line-height: 1.8; }
.createur .bio + .bio { margin-top: 14px; color: var(--texte-60); }
.partenaires { margin-top: 34px; padding: 26px 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--ligne); }
.partenaires strong { display: block; font-family: var(--f-titre); font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--cyan); margin-bottom: 10px; }
.partenaires p { color: var(--texte-60); font-size: 15px; margin-bottom: 16px; }
.partenaires .liens { display: flex; flex-wrap: wrap; gap: 12px 26px; }

/* ═══════════ CONTACT ═══════════ */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 88px); align-items: start; }
.contact-points { list-style: none; margin-top: 34px; display: flex; flex-direction: column; gap: 14px; }
.contact-points li { display: flex; gap: 14px; align-items: baseline; color: var(--texte-60); font-size: 15px; }
.contact-points li b { font-family: var(--f-titre); color: var(--or); font-size: 13px; }
.form-card { padding: clamp(26px, 4vw, 44px); border-radius: 24px; background: linear-gradient(180deg, rgba(26,35,50,.85), rgba(8,16,32,.8)); border: 1px solid var(--ligne-2); box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); }
.field { margin-bottom: 18px; border: 0; }
.field label, .field-legend { display: block; margin-bottom: 8px; font-family: var(--f-titre); font-size: 13px; font-weight: 700; color: var(--texte-80); }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 12px; background: rgba(3,6,20,.6); border: 1px solid var(--ligne-2); color: var(--texte); font-family: var(--f-texte); font-size: 15px; transition: border-color .25s, box-shadow .25s; -webkit-appearance: none; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan-30); box-shadow: 0 0 0 4px var(--cyan-10); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip label { display: inline-block; padding: 9px 16px; border-radius: 999px; cursor: pointer; border: 1px solid var(--ligne-2); font-size: 14px; color: var(--texte-60); transition: all .2s; user-select: none; margin: 0; font-family: var(--f-texte); font-weight: 400; }
.chip label:hover { border-color: var(--texte-40); color: var(--texte); }
.chip input:checked + label { background: var(--cyan-10); border-color: var(--cyan); color: #fff; }
.chip input:focus-visible + label { outline: 2px solid var(--cyan); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form-card .btn { width: 100%; margin-top: 8px; }
.form-card .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.form-note { margin-top: 14px; font-size: 12px; color: var(--texte-40); text-align: center; }
.form-note a { color: var(--texte-60); }
.err { display: none; margin-top: 14px; font-size: 14px; color: var(--or); text-align: center; }
.success { display: none; text-align: center; padding: 32px 8px; }
.success .chk { width: 60px; height: 60px; border-radius: 50%; border: 1px solid var(--or-30); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.success .chk svg { width: 24px; height: 24px; fill: none; stroke: var(--or); stroke-width: 2.5; }
.success h3 { font-size: 22px; margin-bottom: 10px; }
.success p { color: var(--texte-60); }

/* ═══════════ GÉNÉRIQUE DE FIN (footer) ═══════════ */
footer { margin-top: var(--section); padding: clamp(80px, 10vw, 130px) 0 0; border-top: 1px solid var(--ligne); background: linear-gradient(to bottom, rgba(3,6,20,.6), #02040d); text-align: center; }
.generique-logo { display: inline-block; cursor: default; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.generique-logo img { width: min(240px, 60vw); height: auto; margin: 0 auto; }
.generique-tag { margin-top: 22px; font-family: var(--f-titre); font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--texte-80); }
.generique-tag em { font-style: normal; color: var(--or); }
.credits { margin: 64px auto 0; max-width: 640px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 40px; font-size: 14px; }
.credits dt { text-align: right; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--texte-40); padding-top: 3px; }
.credits dd { text-align: left; color: var(--texte-80); }
.credits dd a { text-decoration: none; border-bottom: 1px solid var(--ligne-2); transition: border-color .2s, color .2s; }
.credits dd a:hover { color: var(--or); border-color: var(--or); }
.ft-social { display: flex; justify-content: center; gap: 12px; margin-top: 56px; }
.ft-social a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--ligne-2); display: flex; align-items: center; justify-content: center; transition: all .3s; }
.ft-social a:hover { border-color: var(--or); background: var(--or-10); }
.ft-social svg { width: 16px; height: 16px; fill: var(--texte-60); transition: fill .3s; }
.ft-social a:hover svg { fill: var(--or); }
.ft-bas { margin-top: 64px; padding: 26px var(--gutter) 34px; border-top: 1px solid var(--ligne); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; font-size: 12px; color: var(--texte-40); }
.ft-bas a, .ft-bas button { color: var(--texte-60); text-decoration: none; font-size: 12px; }
.ft-bas a:hover, .ft-bas button:hover { color: var(--texte); }

/* ═══════════ FENÊTRE D'ACCÈS (admin · partenaires) ═══════════ */
.acces { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: var(--gutter); background: rgba(2,4,13,.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.acces.is-open { opacity: 1; pointer-events: auto; }
.acces-boite { width: 100%; max-width: 400px; padding: 36px 32px 30px; border-radius: 22px; background: linear-gradient(180deg, #121a28, #0a1120); border: 1px solid var(--ligne-2); box-shadow: 0 50px 120px -30px rgba(0,0,0,.9); text-align: center; transform: translateY(14px) scale(.98); transition: transform .45s var(--ease); position: relative; }
.acces.is-open .acces-boite { transform: none; }
.acces-boite img { width: 110px; height: auto; margin: 0 auto 22px; }
.acces-boite h2 { font-size: 22px; line-height: 1.3; }
.acces-boite p { margin-top: 8px; font-size: 14px; color: var(--texte-60); }
.acces-boite .field { margin: 24px 0 14px; text-align: left; }
.acces-boite .btn { width: 100%; }
.acces-err { display: none; margin-top: 12px; font-size: 13px; color: var(--or); }
.acces-fermer { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--texte-40); font-size: 22px; }
.acces-fermer:hover { color: var(--texte); background: rgba(255,255,255,.05); }
.acces-onglets { display: inline-flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 999px; background: rgba(3,6,20,.6); border: 1px solid var(--ligne); }
.acces-onglets button { padding: 7px 16px; border-radius: 999px; font-family: var(--f-titre); font-size: 13px; font-weight: 700; color: var(--texte-60); }
.acces-onglets button[aria-selected="true"] { background: var(--interface); color: #fff; }

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1000px) {
  .affiches { grid-template-columns: repeat(2, 1fr); max-width: 560px; margin: 0 auto; }
}
@media (max-width: 960px) {
  .film, .magie, .avis, .createur, .contact { grid-template-columns: 1fr; }
  .ecran .yt { max-width: 300px; }
  .piliers { grid-template-columns: 1fr; }
  .createur-photo { max-width: 380px; }
  .chemin { left: 18px; }
  .etape { grid-template-columns: 1fr; gap: 0; padding: 18px 0 18px 52px; }
  .etape::before { left: 18px; top: 48px; }
  .etape .etape-carte, .etape:nth-child(odd) .etape-carte { grid-column: 1; }
}
@media (max-width: 640px) {
  .film-ctas .btn { width: 100%; }
  .bandes-grid { grid-template-columns: 1fr; max-width: 300px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .credits { grid-template-columns: 1fr; gap: 4px; }
  .credits dt { text-align: center; margin-top: 14px; }
  .credits dd { text-align: center; }
  .affiches { gap: 12px; }
  .affiche-txt { left: 14px; right: 14px; bottom: 14px; }
  .prologue { height: 300vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; filter: none; }
  .prologue { height: auto; }
  .prologue-stage { position: relative; height: auto; flex-direction: column; gap: 48px; padding: 96px 0; }
  .carton { position: relative; opacity: 1; transform: none; filter: none; }
  .prologue-bar { display: none; }
}
.acte { white-space: nowrap; }
@media (max-width: 640px) { .acte::after { display: none; } .acte { letter-spacing: .2em; } }

/* ═══════════════════════════════════════════════════════════
   V4 · Épuré · la bonne info au bon moment
═══════════════════════════════════════════════════════════ */

/* Apparitions plus légères (pas de flou : plus fluide sur téléphone) */
.reveal { filter: none !important; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* Ouverture : logo, puis la phrase clé et l'action, dans le même écran */
.ouv-logo img { animation-delay: .7s; animation-duration: 1.6s; }
.ouv-dot { animation: dot-in 1.1s var(--ease) .1s forwards, dot-out 1s ease 1.5s forwards; }
.ouv-promesse { margin-top: clamp(30px, 5vh, 52px); font-family: var(--f-titre); font-size: clamp(22px, 3vw, 34px); font-weight: 800; line-height: 1.2; color: #fff; opacity: 0; animation: rise-in 1.2s var(--ease) 1.7s forwards; }
.ouv-promesse em { font-style: normal; color: var(--or); }
.ouv-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; opacity: 0; animation: rise-in 1.2s var(--ease) 2.1s forwards; }
.ouv-scroll { animation-delay: 2.8s; }

/* Film : texte court */
.film h2 { font-size: clamp(34px, 4.8vw, 58px); }

/* Magie : un seul bloc, centré */
.magie-seule { max-width: 620px; margin: 0 auto; }
.magie-seule .sec-head { margin-bottom: 40px; }

/* Histoires : affiche (image seule) + texte en dessous */
.rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.histoire { display: flex; flex-direction: column; text-decoration: none; min-width: 0; }
.histoire-img { position: relative; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--interface); border: 1px solid var(--ligne); transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.histoire:hover .histoire-img { transform: translateY(-6px); border-color: var(--or-30); box-shadow: 0 30px 60px -30px rgba(0,0,0,.9); }
.histoire-img svg, .histoire-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.histoire-img .etiq { position: absolute; top: 10px; left: 10px; z-index: 2; font-family: var(--f-titre); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--nuit); background: var(--or); padding: 4px 9px; border-radius: 999px; }
.histoire-img .etiq.calme { color: var(--texte); background: rgba(3,6,20,.6); border: 1px solid var(--ligne-2); }
.histoire-txt { padding: 14px 2px 0; }
.histoire-txt strong { display: block; font-family: var(--f-titre); font-size: 17px; font-weight: 800; line-height: 1.25; color: #fff; }
.histoire-txt p { margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--texte-60); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.histoire-txt small { display: block; margin-top: 8px; font-size: 12px; color: var(--or); letter-spacing: .04em; }
.histoire.mystere strong { font-style: italic; }
.rail-fin { margin-top: 34px; }

/* Projet : photo compacte + avis intégré */
.avis-mini { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: clamp(56px, 8vw, 96px); padding: 26px 30px; border-radius: 20px; background: linear-gradient(135deg, rgba(245,166,35,.10), rgba(26,35,50,.45)); border: 1px solid var(--or-30); }
.avis-mini strong { display: block; font-family: var(--f-titre); font-size: 20px; font-weight: 800; color: #fff; }
.avis-mini span { font-size: 14px; color: var(--texte-60); }

/* Générique plus court */
.credits { margin-top: 48px; }

@media (max-width: 1000px) {
  /* Histoires en rail horizontal : on fait glisser, les images restent petites */
  .rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; scroll-padding-left: var(--gutter); }
  .rail::-webkit-scrollbar { display: none; }
  .histoire { flex: 0 0 min(210px, 58vw); scroll-snap-align: start; }
}
@media (max-width: 640px) {
  :root { --section: 76px; }
  .sec-head { margin-bottom: 36px; }
  h2 { font-size: clamp(28px, 8vw, 36px); }
  .film h2 { font-size: 34px; }
  .ouv-logo { width: min(420px, 78vw); }
  .ouv-actions .btn { padding: 13px 22px; font-size: 14px; }
  .ecran .yt { max-width: 250px; }
  .proofs { margin-top: 30px; font-size: 14px; }
  .liseuse-papier { min-height: 0; padding: 22px 20px; }
  .recit { font-size: 18px; }
  .citation { font-size: 22px; margin-top: 56px; }

  /* Manifeste compact : numéro à côté du titre, texte court */
  .chemin { left: 10px; }
  .etape { padding: 8px 0 8px 32px; }
  .etape::before { left: 10px; top: 28px; width: 11px; height: 11px; }
  .etape-carte { padding: 16px 18px; border-radius: 14px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: baseline; }
  .etape-n { font-size: 22px; -webkit-text-stroke: 0; color: var(--or); grid-row: 1; }
  .etape-carte h3 { margin: 0; font-size: 16px; grid-column: 2; }
  .etape-carte p { grid-column: 2; font-size: 13px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .etape-carte .link-arrow { display: none; }

  /* Créateur : petite photo ronde à côté du nom */
  .createur { gap: 22px; }
  .createur-photo { width: 110px; }
  .createur-photo img { aspect-ratio: 1; border-radius: 50%; }
  .createur-photo::after { display: none; }
  .createur .bio { font-size: 15px; }
  .partenaires { padding: 20px; }
  .avis-mini { padding: 22px; }
  .avis-mini .btn { width: 100%; }
  footer { padding-top: 64px; }
  .credits { margin-top: 36px; }
}

/* ═══ Démo : vraie page de liseuse ═══ */
.recit { font-size: clamp(17px, 1.7vw, 20px); line-height: 1.7; }
.recit-page { display: none; }
.recit-page.is-on { display: block; animation: encre .5s ease; }
@keyframes encre { from { opacity: 0; } to { opacity: 1; } }
.liseuse-papier { min-height: 380px; display: flex; flex-direction: column; }
.liseuse-papier .recit { flex: 1; }
.liseuse-num { margin-top: 18px; text-align: right; font-family: var(--f-titre); font-size: 11px; font-weight: 700; letter-spacing: .2em; color: #9a978f; }
/* Rafraîchissement e-paper : bref passage en négatif */
.liseuse-papier.flash { animation: eink .42s steps(2, end); }
@keyframes eink { 0% { filter: invert(0); } 35% { filter: invert(1); } 70% { filter: invert(.15); } 100% { filter: invert(0); } }
.btn-son { width: 100%; margin-top: 18px; border: 1px solid var(--or-30); color: var(--or); background: var(--or-10); }
.btn-son:hover { background: var(--or); color: var(--nuit); border-color: var(--or); }
.btn-son.is-on { background: var(--or); color: var(--nuit); border-color: var(--or); }
.btn-son.is-on svg path:last-child { animation: ondes 1s ease-in-out infinite; }
@keyframes ondes { 50% { opacity: .3; } }

/* ═══ Finitions globales ═══ */
/* Lumières d'ambiance : chaque grande scène a sa propre lueur */
#film::before, #histoires::before, #projet::before { content: ''; position: absolute; z-index: -1; pointer-events: none; width: min(900px, 120vw); aspect-ratio: 1; border-radius: 50%; filter: blur(20px); }
#film::before { right: -20%; top: 5%; background: radial-gradient(circle, rgba(245,166,35,.07), transparent 60%); }
#histoires::before { left: -25%; top: 10%; background: radial-gradient(circle, rgba(107,165,255,.06), transparent 60%); }
#projet::before { right: -25%; bottom: 0; background: radial-gradient(circle, rgba(49,79,103,.22), transparent 60%); }
main > section { isolation: isolate; }
/* Horizon doré sous le logo */
.ouverture::after { content: ''; position: absolute; left: 50%; bottom: 0; width: min(1100px, 140vw); height: 38vh; transform: translateX(-50%); pointer-events: none; background: radial-gradient(ellipse 50% 60% at 50% 100%, rgba(245,166,35,.10), transparent 70%); opacity: 0; animation: fadein 3s ease 1.6s forwards; }
.sec-head.center + *, .magie-seule .sec-head { }
/* Titres de section un peu plus élégants */
.acte { color: var(--or); letter-spacing: .3em; }
.acte::after { background: linear-gradient(to right, var(--or-30), transparent); }
.lead { max-width: 560px; }
.sec-head.center .lead { margin-left: auto; margin-right: auto; }
/* Vidéo : cadre plus fin */
.yt { border-color: rgba(245,245,245,.12); }

@media (max-width: 640px) {
  .liseuse-papier { min-height: 340px; }
  .recit { font-size: 16.5px; }
  .createur-photo { width: 104px; height: 104px; }
  .createur-photo img { width: 104px; height: 104px; aspect-ratio: auto; border-radius: 50%; border: 2px solid var(--or-30); }
}
/* Magie visuelle renforcée */
.eclat { animation: eclat var(--t, 1.6s) cubic-bezier(.2,.7,.3,1) forwards; }
.eclat.cyan { background: var(--cyan); box-shadow: 0 0 8px 2px rgba(107,165,255,.8); }
.onde-mot { position: absolute; z-index: 1; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--or); transform: translate(-50%,-50%); pointer-events: none; animation: onde-mot 1.3s ease-out forwards; }
@keyframes onde-mot { from { opacity: .9; width: 16px; height: 16px; } to { opacity: 0; width: 180px; height: 180px; border-width: 1px; } }
.liseuse-papier.lueur { animation: lueur 1.6s ease; }
@keyframes lueur { 0% { box-shadow: inset 0 0 40px rgba(0,0,0,.08); } 25% { box-shadow: inset 0 0 70px rgba(245,166,35,.28); } 100% { box-shadow: inset 0 0 40px rgba(0,0,0,.08); } }
.btn-son[hidden] { display: none; }
/* Les deux pages occupent la même place : pas de saut de hauteur */
.recit { display: grid; }
.recit-page, .recit-page.is-on { display: block; grid-area: 1 / 1; visibility: hidden; }
.recit-page.is-on { visibility: visible; }
.liseuse-papier { min-height: 0; }

/* Rythme général plus serré */
:root { --section: clamp(76px, 9vw, 120px); }
/* Manifeste en zigzag compact sur grand écran */
@media (min-width: 961px) {
  .etape { padding: 0; }
  .etape + .etape { margin-top: -72px; }
  .etape::before { top: 40px; }
  .etape-carte { padding: 24px 28px; }
  .etape-n { font-size: 40px; }
  .etape-carte h3 { margin: 12px 0 8px; font-size: 19px; }
  .etape-carte .link-arrow { margin-top: 12px; }
  .createur { grid-template-columns: 300px 1fr; }
  .createur-photo { max-width: 300px; }
}

/* ═══ Rejoindre : trois portes lisibles ═══ */
.portes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.porte { display: flex; flex-direction: column; align-items: flex-start; padding: 32px 30px 30px; border-radius: 22px; background: linear-gradient(180deg, rgba(26,35,50,.75), rgba(8,16,32,.6)); border: 1px solid var(--ligne-2); transition: border-color .4s, transform .4s var(--ease); }
.porte:hover { border-color: var(--or-30); transform: translateY(-4px); }
.porte-ico { width: 48px; height: 48px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--or-10); border: 1px solid var(--or-30); margin-bottom: 24px; }
.porte-ico svg { width: 22px; height: 22px; fill: none; stroke: var(--or); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.porte-pro .porte-ico { background: var(--cyan-10); border-color: var(--cyan-30); }
.porte-pro .porte-ico svg { stroke: var(--cyan); }
.porte-pour { font-family: var(--f-titre); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-40); }
.porte h3 { margin: 10px 0 10px; font-size: 22px; font-weight: 800; }
.porte p { color: var(--texte-60); font-size: 15px; line-height: 1.6; flex: 1; margin-bottom: 26px; }
.porte .btn { width: 100%; }
.porte-note { margin-top: 12px; align-self: center; font-size: 13px; color: var(--texte-40); text-decoration: none; border-bottom: 1px solid var(--ligne-2); }
.porte-note:hover { color: var(--texte); }
/* Photo du créateur : proportions correctes */
.createur-photo img { height: auto; }
.createur .bio { max-width: 580px; }
@media (max-width: 960px) { .portes { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
@media (max-width: 640px) {
  .porte { padding: 24px 22px; }
  .porte-ico { margin-bottom: 18px; }
  .createur-photo img { height: 104px; }
}

/* ═══════════ DÉMO V5 : les mots sortent du livre ═══════════ */
.spectacle { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: center; max-width: 1040px; margin: 0 auto; }
.magie-seule { max-width: none; }
.liseuse-papier { min-height: 0; }
.recit { display: block; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.75; }
.recit .w.cle.envole { color: #b98a3a; }
.scene { position: relative; aspect-ratio: 400 / 260; border-radius: 22px; overflow: hidden; border: 1px solid var(--ligne-2); box-shadow: 0 50px 110px -40px rgba(0,0,0,.95); background: #02040c; }
.scene svg { width: 100%; height: 100%; }
.scene .el { opacity: 0; transition: opacity 1.4s ease, transform 1.6s var(--ease); transform-box: fill-box; }
.scene .el.on { opacity: 1; transform: none; }
#el-foret { transform: translateY(16px); transform-origin: bottom; }
#el-maison { transform: translateY(8px); }
#el-hibou { transform: translateY(-14px); }
#el-lune { transform: scale(.7); transform-origin: center; }
.sc-chaud { opacity: 0; transition: opacity 3s ease; }
.scene.eveille .sc-chaud { opacity: .55; }
.sc-etoiles { opacity: .35; transition: opacity 2s; }
.scene.lunaire .sc-etoiles { opacity: .8; }
.nuage { transition: transform 3s var(--ease), opacity 3s; }
.scene.lunaire .n1 { transform: translateX(-70px); opacity: .5; }
.scene.lunaire .n2 { transform: translateX(60px); opacity: .5; }
.scene.venteux .arbres { animation: balance 2.4s ease-in-out infinite; transform-box: fill-box; transform-origin: bottom; }
@keyframes balance { 0%,100% { transform: skewX(0); } 50% { transform: skewX(-2.5deg); } }
.sc-vent.on path { stroke-dasharray: 60 200; animation: souffle-vent 2.6s linear infinite; }
.sc-vent.on path:nth-child(2) { animation-delay: .6s; } .sc-vent.on path:nth-child(3) { animation-delay: 1.2s; }
@keyframes souffle-vent { from { stroke-dashoffset: 260; } to { stroke-dashoffset: 0; } }
.reflet { animation: reflet 2s linear infinite; }
@keyframes reflet { to { stroke-dashoffset: -40; } }
#el-etoile .filante { stroke-dasharray: 100; stroke-dashoffset: 100; }
#el-etoile.on .filante { animation: filante 1.4s ease-out forwards; }
@keyframes filante { 0% { stroke-dashoffset: 100; opacity: 1; } 70% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: -100; opacity: 0; } }
#el-hibou.on .oeil { animation: cligne 4s ease-in-out infinite 1.2s; transform-box: fill-box; transform-origin: center; }
@keyframes cligne { 0%,92%,100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.lueur-fenetre { animation: fenetre 3s ease-in-out infinite; }
@keyframes fenetre { 50% { opacity: .6; } }
.luciole { opacity: 0; }
#el-eveil.on .luciole { animation: luciole 3s ease-in-out infinite; }
#el-eveil.on .luciole:nth-child(2n) { animation-delay: .8s; } #el-eveil.on .luciole:nth-child(3n) { animation-delay: 1.6s; }
@keyframes luciole { 0%,100% { opacity: 0; transform: translate(0,0); } 50% { opacity: 1; transform: translate(4px,-8px); } }
.son-scene { font-size: 12px; }
.scene .eclat { position: absolute; }
.scene-fin { position: absolute; left: 0; right: 0; bottom: 16px; text-align: center; font-family: var(--f-titre); font-weight: 800; font-size: clamp(15px, 1.8vw, 20px); color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.8); opacity: 0; transform: translateY(8px); transition: opacity 1.4s ease 1s, transform 1.4s var(--ease) 1s; }
.scene.fin .scene-fin { opacity: 1; transform: none; }
.mot-vol { position: fixed; z-index: 60; pointer-events: none; font-family: Georgia, 'Times New Roman', serif; font-weight: 700; font-size: clamp(16px, 1.5vw, 19px); color: var(--or); text-shadow: 0 0 12px rgba(245,166,35,.9), 0 0 30px rgba(245,166,35,.5); white-space: nowrap; will-change: transform; }
@media (max-width: 900px) {
  .spectacle { grid-template-columns: 1fr; max-width: 520px; }
  .scene { order: -1; }
}
/* Accès partenaires visible dans le menu (l'admin reste caché : 3 clics sur le logo) */
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-pro { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-titre); font-size: 13px; font-weight: 700; color: var(--texte-80); padding: 10px 16px; border-radius: 999px; border: 1px solid var(--ligne-2); transition: all .3s var(--ease); }
.nav-pro svg { width: 15px; height: 15px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; }
.nav-pro:hover { border-color: var(--cyan-30); color: #fff; background: var(--cyan-10); }
.nav-mobile-only { display: none; }
@media (max-width: 1100px) { .nav-links { gap: 22px; } }
@media (max-width: 900px) {
  .nav-actions { display: none; }
  .nav.is-open .nav-mobile-only { display: block; }
  .nav.is-open .nav-links button { display: block; width: 100%; text-align: left; padding: 16px 0; font-family: var(--f-titre); font-size: 18px; font-weight: 600; color: var(--cyan); }
}

/* ═══════════════════════════════════════════════════════════
   PAGES INTÉRIEURES (histoires, manifeste, mentions, accès)
═══════════════════════════════════════════════════════════ */
.page-hero { padding: 150px 0 clamp(40px, 6vw, 72px); text-align: center; position: relative; }
.page-hero::before { content: ''; position: absolute; left: 50%; top: 40px; width: min(900px, 130vw); height: 420px; transform: translateX(-50%); z-index: -1; pointer-events: none; background: radial-gradient(ellipse 50% 50% at 50% 40%, rgba(49,79,103,.35), transparent 70%); }
.page-hero h1 { font-size: clamp(34px, 5.4vw, 64px); font-weight: 800; line-height: 1.06; }
.page-hero h1 em { font-style: normal; color: var(--or); }
.page-hero .lead { margin-left: auto; margin-right: auto; }
.page-hero .acte { justify-content: center; }
.fil { display: inline-flex; gap: 8px; align-items: center; margin-bottom: 26px; font-size: 13px; color: var(--texte-40); text-decoration: none; }
.fil:hover { color: var(--texte); }

/* ── Histoires : cartes avec lecteur ── */
.histoires-liste { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.h-carte { display: grid; grid-template-columns: 170px 1fr; gap: 24px; padding: 20px; border-radius: 22px; background: linear-gradient(180deg, rgba(26,35,50,.75), rgba(8,16,32,.6)); border: 1px solid var(--ligne-2); transition: border-color .4s; }
.h-carte:hover { border-color: var(--or-30); }
.h-carte.joue { border-color: var(--or); box-shadow: 0 0 60px -20px rgba(245,166,35,.35); }
.h-affiche { position: relative; aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; background: var(--interface); }
.h-affiche svg, .h-affiche img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.h-corps { display: flex; flex-direction: column; min-width: 0; padding: 6px 4px 4px 0; }
.h-tag { font-family: var(--f-titre); font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--or); }
.h-corps h2 { font-size: clamp(20px, 2vw, 24px); margin: 8px 0 10px; line-height: 1.2; }
.h-corps p { font-size: 15px; line-height: 1.6; color: var(--texte-60); flex: 1; }
.lecteur { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.lecteur-btn { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--or); color: var(--nuit); box-shadow: 0 10px 30px -10px rgba(245,166,35,.7); transition: transform .3s var(--ease); }
.lecteur-btn:hover { transform: scale(1.06); }
.lecteur-btn svg { width: 18px; height: 18px; fill: currentColor; }
.lecteur-piste { flex: 1; min-width: 0; }
.lecteur-barre { position: relative; height: 6px; border-radius: 6px; background: var(--ligne-2); cursor: pointer; }
.lecteur-barre i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 6px; background: linear-gradient(to right, var(--cyan), var(--or)); }
.lecteur-temps { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; color: var(--texte-40); font-variant-numeric: tabular-nums; }
.h-note { margin-top: 14px; font-size: 12px; color: var(--texte-40); }
.h-bientot { margin-top: 20px; font-family: var(--f-titre); font-size: 13px; font-weight: 700; color: var(--texte-40); }
.bandes-page { margin-top: clamp(72px, 10vw, 120px); }
.bandes-page .bandes-grid { margin: 0 auto; }
@media (max-width: 960px) { .histoires-liste { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; } }
@media (max-width: 640px) {
  .page-hero { padding-top: 116px; }
  .h-carte { grid-template-columns: 92px 1fr; gap: 16px; padding: 16px; align-items: start; }
  .h-affiche { aspect-ratio: 1; border-radius: 12px; }
  .h-corps { padding: 0; }
  .h-corps h2 { font-size: 18px; margin: 4px 0 6px; }
  .h-corps p { font-size: 14px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
  .lecteur { grid-column: 1 / -1; }
  .h-carte .lecteur, .h-carte .h-note, .h-carte .h-bientot { grid-column: 1 / -1; }
  .h-corps { display: contents; }
  .h-corps > .h-tag, .h-corps > h2, .h-corps > p { grid-column: 2; }
  .h-affiche { grid-row: 1 / span 3; }
  .lecteur-btn { width: 46px; height: 46px; }
}

/* ── Manifeste : lecture confortable ── */
.progression { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 70; background: linear-gradient(to right, var(--cyan), var(--or)); box-shadow: 0 0 10px rgba(245,166,35,.6); }
.hero-chapeau { font-family: var(--f-titre); font-size: 14px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-40); margin-bottom: 18px; }
.hero-auteur { margin-top: 22px; color: var(--texte-60); font-size: 14px; }
.sommaire { max-width: 760px; margin: 0 auto clamp(48px, 7vw, 80px); padding: 0 var(--gutter); }
.sommaire-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sommaire-title { display: none; }
.sommaire-list { display: contents; list-style: none; }
.sommaire-list li { display: contents; }
.sommaire-list a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ligne-2); font-size: 13px; color: var(--texte-60); text-decoration: none; transition: all .25s; }
.sommaire-list a:hover { border-color: var(--or-30); color: #fff; }
.sommaire-list a::before { content: attr(data-n); font-family: var(--f-titre); font-weight: 800; color: var(--or); }
.article-body { max-width: 700px; margin: 0 auto; padding: 0 var(--gutter); }
.article-body .section { padding: 16px 0; scroll-margin-top: 96px; opacity: 0; transform: translateY(20px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.article-body .section.visible { opacity: 1; transform: none; }
.article-body .section-num { display: block; font-family: var(--f-titre); font-size: 56px; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--or-30); margin-bottom: 14px; }
.article-body .section-titre { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; line-height: 1.15; margin-bottom: 26px; }
.article-body .section-titre em { font-style: normal; color: var(--or); }
.article-body p { font-size: 17px; line-height: 1.85; color: var(--texte-80); margin-bottom: 20px; }
.article-body p em, .article-body p i { color: var(--texte); }
.article-body strong { color: #fff; font-weight: 600; }
.article-body .citation { margin: 34px 0; padding: 4px 0 4px 26px; max-width: none; text-align: left; border-left: 2px solid var(--or); font-family: var(--f-titre); font-size: clamp(20px, 2.4vw, 26px); font-weight: 700; line-height: 1.4; color: #fff; }
.article-body .citation p { font-family: inherit; font-size: inherit; line-height: inherit; color: inherit; margin: 0; }
.article-body .sep { width: 1px; height: 64px; margin: 40px auto; background: linear-gradient(to bottom, transparent, var(--or-30), transparent); }
.article-body .conclusion { margin: 64px 0 0; padding: clamp(28px, 5vw, 52px); border-radius: 24px; background: linear-gradient(135deg, rgba(245,166,35,.10), rgba(26,35,50,.6)); border: 1px solid var(--or-30); }
.article-body .conclusion-titre { font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 24px; line-height: 1.15; }
.article-body .conclusion-titre em { font-style: normal; color: var(--or); }
.article-body .conclusion-tagline { margin-top: 28px; font-family: var(--f-titre); font-size: 20px; font-weight: 800; color: var(--or) !important; }
.article-body .btn-retour { display: none; }
.article-fin { text-align: center; margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
@media (max-width: 640px) {
  .article-body p { font-size: 16px; }
  .article-body .section-num { font-size: 42px; }
  .sommaire-list a { font-size: 12px; padding: 7px 12px; }
}

/* ── Mentions ── */
.legal { max-width: 760px; margin: 0 auto; padding: 0 var(--gutter); }
.legal .date { text-align: center; color: var(--texte-40); font-size: 14px; margin-top: -30px; margin-bottom: 40px; }
.legal .section { padding: 28px 30px; margin-bottom: 16px; border-radius: 18px; background: var(--surface); border: 1px solid var(--ligne); }
.legal .section.highlight { border-color: var(--or-30); }
.legal h2 { font-size: 20px; margin-bottom: 14px; }
.legal h3 { font-family: var(--f-titre); font-size: 16px; font-weight: 700; color: var(--titre, #ECE8E1); margin: 22px 0 8px; }
.legal p, .legal li { font-size: 15px; line-height: 1.75; color: var(--texte-80); }
.legal p + p { margin-top: 8px; }
.legal ul { margin: 10px 0 12px 20px; }
.legal a { color: var(--cyan); }
.legal strong { color: #fff; font-weight: 600; }

/* ── Pages de connexion ── */
.connexion { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; padding: 100px var(--gutter) 60px; }
.connexion .acces-boite { transform: none; }
/* Chiffres du sondage en direct */
.chiffres { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; max-width: 820px; margin: -20px auto 48px; border-radius: 18px; overflow: hidden; background: var(--ligne); border: 1px solid var(--ligne); }
.chiffres[hidden] { display: none; }
.chiffres div { background: rgba(8,16,32,.9); padding: 22px 16px; text-align: center; }
.chiffres b { display: block; font-family: var(--f-titre); font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; color: var(--or); line-height: 1.1; font-variant-numeric: tabular-nums; }
.chiffres span { display: block; margin-top: 6px; font-size: 13px; color: var(--texte-60); }
@media (max-width: 640px) { .chiffres { grid-template-columns: 1fr; margin-top: -8px; } .chiffres div { padding: 16px; } }

/* ═══ Bouton film + salle de cinéma ═══ */
.btn-film { padding: 10px 26px 10px 10px; gap: 14px; font-size: 16px; }
.btn-film-play { width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--nuit); color: var(--or); }
.btn-film-play svg { margin-left: 2px; }
.btn-film-duree { font-weight: 600; opacity: .6; font-size: 14px; }
.cinema { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 56px 16px 24px; background: rgba(2,4,13,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); animation: fadein .35s ease forwards; }
.cinema[hidden] { display: none; }
.cinema-ecran { height: min(82vh, 820px); aspect-ratio: 9 / 16; max-width: 100%; border-radius: 20px; overflow: hidden; background: #000; box-shadow: 0 0 120px -20px rgba(245,166,35,.35); }
.cinema-ecran iframe { width: 100%; height: 100%; border: 0; display: block; }
.cinema-titre { font-family: var(--f-titre); font-weight: 700; color: var(--texte-80); font-size: 15px; }
.cinema-fermer { position: absolute; top: 14px; right: 16px; width: 48px; height: 48px; border-radius: 50%; font-size: 28px; color: var(--texte-80); border: 1px solid var(--ligne-2); display: flex; align-items: center; justify-content: center; }
.cinema-fermer:hover { color: #fff; border-color: var(--or); }
@media (max-width: 640px) { .cinema-ecran { height: auto; width: 100%; max-height: 78vh; } .btn-film { font-size: 15px; } }

/* ═══ Accès admin discret : 3 clics sur « myLiV® » en bas de page ═══ */
.marque-secret { cursor: default; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }

/* ═══ Contact simple ═══ */
.form-card textarea { min-height: 140px; }

/* ═══ Vidéos sur l'accueil ═══ */
.accueil-videos { margin-top: clamp(56px, 7vw, 88px); padding-top: clamp(40px, 5vw, 56px); border-top: 1px solid var(--ligne); }
.accueil-videos-tete { margin-bottom: 24px; }
.accueil-videos-tete h3 { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; }
.accueil-videos .bandes-grid { max-width: none; grid-template-columns: repeat(3, minmax(0, 260px)); }
@media (max-width: 1000px) {
  .accueil-videos .bandes-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 14px; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 6px; }
  .accueil-videos .bandes-grid::-webkit-scrollbar { display: none; }
  .accueil-videos .bande { flex: 0 0 min(200px, 52vw); scroll-snap-align: start; }
}

/* ═══ Journal : cartes d'articles ═══ */
.journal-tete { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.journal-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.art-carte { display: flex; flex-direction: column; text-decoration: none; border-radius: 20px; overflow: hidden; background: rgba(26,35,50,.45); border: 1px solid var(--ligne); transition: border-color .4s, transform .4s var(--ease); }
.art-carte:hover { border-color: var(--or-30); transform: translateY(-4px); }
.art-img { position: relative; aspect-ratio: 16 / 10; background: radial-gradient(ellipse at 50% 30%, var(--brume), var(--interface) 70%); }
.art-img::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; border-radius: 50%; transform: translate(-50%,-50%); background: var(--cyan); box-shadow: 0 0 20px 6px rgba(107,165,255,.35); }
.art-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.art-txt { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.art-txt small { font-size: 12px; color: var(--texte-40); letter-spacing: .04em; }
.art-txt strong { font-family: var(--f-titre); font-size: 19px; font-weight: 700; line-height: 1.3; color: var(--titre, #fff); }
.art-txt span { font-size: 14px; line-height: 1.6; color: var(--texte-60); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .journal-grille { grid-template-columns: 1fr; max-width: 560px; } }

/* ═══════════════════════════════════════════════════════════
   DOUCEUR · contrastes adoucis et scènes mieux séparées
═══════════════════════════════════════════════════════════ */
:root { --titre: #ECE8E1; --or-doux: #E9B45C; }
h1, h2, h3, .h-corps h2, .art-txt strong { color: var(--titre); }
h2 { font-weight: 700; letter-spacing: -.005em; }
h2 em, h1 em, .ouv-promesse em, .citation em, .generique-tag em { color: var(--or-doux); }
.acte { color: rgba(233,180,92,.85); font-weight: 700; }
.lead, .porte p, .createur .bio { color: rgba(236,232,225,.66); }
.createur .bio { color: rgba(236,232,225,.8); }
/* Boutons : l'orange plein est réservé à l'action principale, adouci */
.btn-or { background: var(--or-doux); box-shadow: 0 8px 26px -12px rgba(233,180,92,.55); }
.btn-or:hover { box-shadow: 0 12px 32px -12px rgba(233,180,92,.65); }
.porte .btn-or, .avis .btn-or { background: transparent; color: var(--or-doux); border: 1px solid rgba(233,180,92,.45); box-shadow: none; }
.porte .btn-or:hover { background: rgba(233,180,92,.12); }
/* Particules plus discrètes */
#cvs { opacity: .6; }
/* Scènes séparées : une bande douce une section sur deux, et un filet léger */
main > section.sec { position: relative; }
main > section.sec:nth-of-type(odd)::after { content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none; background: linear-gradient(to bottom, rgba(18,28,44,0) 0%, rgba(18,28,44,.55) 14%, rgba(18,28,44,.55) 86%, rgba(18,28,44,0) 100%); }
main > section.sec + section.sec { border-top: 1px solid rgba(245,245,245,.05); }
/* Cartes et cadres plus doux */
.porte, .etape-carte, .form-card, .h-carte, .pilier { background: rgba(22,31,46,.55); border-color: rgba(245,245,245,.08); }
.yt, .scene, .liseuse-corps { box-shadow: 0 30px 70px -40px rgba(0,0,0,.9); }
.ecran::before { opacity: .6; }
.chemin i { box-shadow: 0 0 8px rgba(233,180,92,.4); }
@media (min-width: 961px) { :root { --section: clamp(96px, 10vw, 136px); } }

/* ═══ Lecture d'un article du journal ═══ */
.lecture-tete h1 { max-width: 900px; margin: 0 auto; }
.lecture-image { max-width: 980px; margin: 0 auto clamp(40px, 6vw, 64px); padding: 0 var(--gutter); }
.lecture-image img { width: 100%; max-height: 560px; object-fit: cover; border-radius: 22px; }
.lecture-corps h2 { font-size: clamp(24px, 3vw, 32px); margin: 44px 0 18px; line-height: 1.2; }
.lecture-corps h3 { font-size: 21px; margin: 32px 0 12px; }
.lecture-corps blockquote { margin: 32px 0; padding-left: 24px; border-left: 2px solid var(--or-doux, var(--or)); font-family: var(--f-titre); font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; line-height: 1.45; color: var(--titre, #fff); }
.lecture-corps ul { margin: 0 0 20px 22px; color: var(--texte-80); line-height: 1.8; }
.lecture-corps figure { margin: 34px 0; }
.lecture-corps figure img { width: 100%; border-radius: 16px; }
.lecture-corps figcaption { margin-top: 10px; font-size: 13px; color: var(--texte-40); text-align: center; }
.lecture-corps a { color: var(--cyan); }

/* ═══════════ DÉMO V6 : le texte sur le vrai prototype, l'imaginaire sans cadre ═══════════ */
.spectacle { grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(28px, 5vw, 72px); max-width: 1080px; }
.proto { display: flex; flex-direction: column; align-items: center; }
.proto-appareil { position: relative; width: 100%; max-width: 360px; container-type: inline-size; filter: drop-shadow(0 40px 60px rgba(0,0,0,.6)); }
.proto-appareil img { width: 100%; height: auto; display: block; }
/* Zone de l'écran e-paper sur la photo (mesurée sur l'image) */
.proto-ecran { position: absolute; left: 16.6%; top: 11.2%; width: 67.3%; height: 64%; background: #e3e2dc; border-radius: 1.2cqw; padding: 6cqw 5.5cqw; overflow: hidden; display: flex; flex-direction: column; box-shadow: inset 0 0 3cqw rgba(0,0,0,.12); }
.proto-ecran::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .3; background-image: radial-gradient(rgba(0,0,0,.07) 1px, transparent 1px); background-size: 3px 3px; }
.proto-ecran .liseuse-titre { font-size: 2.6cqw; margin-bottom: 4.5cqw; letter-spacing: .24em; color: #6d6b66; }
.proto-ecran .recit { font-size: 4.05cqw; line-height: 1.6; color: #8a8883; }
.proto-ecran .recit .w.lu { color: #16181c; }
.proto-ecran .recit .w.cle.lu { color: #16181c; font-weight: 700; }
.proto-ecran .recit .w.cle.envole { color: #a77a2c; }
.proto-ecran.flash { animation: eink .42s steps(2, end); }
/* Haut-parleurs : le son sort de l'appareil */
.hp { position: absolute; top: 90.8%; width: 0; height: 0; }
.hp-g { left: 21%; } .hp-d { left: 79%; }
.onde-hp { position: absolute; left: 0; top: 0; width: 10cqw; height: 10cqw; border-radius: 50%; border: 1.5px solid var(--or-doux, #E9B45C); transform: translate(-50%,-50%) scale(.4); opacity: 0; animation: onde-hp 1.8s ease-out forwards; pointer-events: none; }
@keyframes onde-hp { 0% { opacity: .9; transform: translate(-50%,-50%) scale(.4); } 100% { opacity: 0; transform: translate(-50%,-50%) scale(3.2); } }
.son-hp { position: absolute; left: 50%; top: 88%; font-size: 12px; }
.proto.is-reading .voix-onde i { opacity: 1; animation: onde .9s ease-in-out infinite; }
.proto .liseuse-pied { width: 100%; max-width: 360px; margin-top: 18px; }
/* L'imaginaire : pas de cadre, l'image flotte dans la nuit */
.imaginaire { display: flex; flex-direction: column; gap: 22px; }
.imaginaire .scene { border: 0; background: none; box-shadow: none; border-radius: 0; overflow: visible;
  -webkit-mask-image: radial-gradient(ellipse 58% 62% at 50% 52%, #000 52%, transparent 100%);
          mask-image: radial-gradient(ellipse 58% 62% at 50% 52%, #000 52%, transparent 100%); }
.imaginaire .scene-fin { bottom: 8%; font-size: clamp(16px, 1.9vw, 22px); }
.legende-magie { display: flex; flex-direction: column; gap: 10px; padding-left: 8%; }
.legende-magie p { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(236,232,225,.7); }
.legende-magie em { font-style: normal; color: var(--titre, #fff); font-weight: 600; }
.lm-ico { width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%; position: relative; }
.lm-img { background: radial-gradient(circle, rgba(107,165,255,.35), transparent 70%); }
.lm-img::after { content: ''; position: absolute; inset: 9px; border-radius: 50%; background: var(--cyan); }
.lm-son { border: 1.5px solid var(--or-doux, #E9B45C); }
.lm-son::before, .lm-son::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px solid var(--or-doux, #E9B45C); opacity: .6; }
.lm-son::after { inset: 11px; background: var(--or-doux, #E9B45C); border: 0; opacity: 1; }
@media (max-width: 900px) {
  .spectacle { grid-template-columns: 1fr; max-width: 520px; }
  .imaginaire { order: -1; }
  .proto-appareil { max-width: 320px; }
  .legende-magie { padding-left: 0; align-items: center; }
}
.proto-ecran { padding: 8cqw 6cqw; justify-content: center; }
.proto-ecran .liseuse-titre { font-size: 3cqw; margin-bottom: 6cqw; }
.proto-ecran .recit { font-size: 5.1cqw; line-height: 1.72; }
/* Lisibilité : aucune étiquette sous 12 px, numéros plus présents */
.porte-pour, .ouv-scroll { font-size: 12px; }
.badge, .etiq, .histoire-img .etiq, .affiche .etiq { font-size: 11.5px; padding: 5px 11px; }
.etape-n, .chap-n, .article-body .section-num { -webkit-text-stroke: 1.2px rgba(233,180,92,.6); }
.acte { font-size: 12.5px; }
.lead { color: rgba(236,232,225,.72); }

/* ═══ Plus d'« oreilles » lumineuses : halos ronds retirés ou fondus ═══ */
#film::before, #histoires::before, #projet::before { display: none; }
.ouverture::before { background: radial-gradient(ellipse 90% 70% at 50% 45%, rgba(49,79,103,.22), transparent 75%); }
.ouverture::after { height: 45vh; background: radial-gradient(ellipse 70% 80% at 50% 100%, rgba(233,180,92,.06), transparent 80%); }
.ouv-dot { box-shadow: 0 0 30px 6px rgba(107,165,255,.45); }
.page-hero::before { background: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(49,79,103,.20), transparent 80%); }
.ecran::before { display: none; }
.hero-media::before { display: none; }

/* ═══════════ DÉMO V8 : le prototype myLiV redessiné en vectoriel ═══════════
   Proportions relevées sur le vrai prototype : boîtier 0,587 · écran 16,6 % / 11,2 % / 67,3 % × 64 % */
.proto-appareil { position: relative; width: 100%; max-width: 340px; aspect-ratio: 0.587; container-type: inline-size; filter: none; margin: 0 auto; }
.boitier { position: absolute; inset: 0; border-radius: 8.5cqw;
  background:
    radial-gradient(120% 60% at 30% 0%, rgba(140,165,220,.16), transparent 60%),
    radial-gradient(rgba(255,255,255,.035) 1px, transparent 1.4px) 0 0 / 3px 3px,
    linear-gradient(160deg, #26325a 0%, #1d2748 45%, #161e39 100%);
  box-shadow:
    inset 0 1.2cqw 1.6cqw rgba(170,190,240,.10),
    inset 0 -1.6cqw 2.4cqw rgba(0,0,0,.45),
    inset -1cqw 0 1.5cqw rgba(0,0,0,.30),
    0 6cqw 12cqw -4cqw rgba(0,0,0,.75),
    0 0 0 1px rgba(255,255,255,.04); }
/* Tranche droite (épaisseur du boîtier) */
.boitier::after { content: ''; position: absolute; top: 3%; bottom: 3%; right: -2.2cqw; width: 2.6cqw; border-radius: 0 3cqw 3cqw 0;
  background: linear-gradient(90deg, #121932, #0b1024); z-index: -1; }
/* Logo gravé en creux dans le boîtier */
.gravure { position: absolute; left: 50%; top: 2.6%; width: 44%; height: auto; transform: translateX(-50%);
  filter: brightness(0) opacity(.42) drop-shadow(0 .35cqw 0 rgba(160,180,230,.14)); }
/* Lunette noire autour de l'écran */
.lunette { position: absolute; left: 15.2%; top: 10.4%; width: 70.1%; height: 65.6%; border-radius: 1.6cqw; background: #070a12;
  box-shadow: inset 0 .6cqw 1cqw rgba(0,0,0,.9), 0 .3cqw 0 rgba(255,255,255,.05); padding: 1.4cqw; }
.boitier .proto-ecran { position: relative; left: auto; top: auto; width: 100%; height: 100%; inset: auto; border-radius: .8cqw;
  background: linear-gradient(175deg, #e9e8e2 0%, #dfded7 100%); padding: 7cqw 6cqw; justify-content: center;
  box-shadow: inset 0 0 2.5cqw rgba(0,0,0,.10); }
.boitier .proto-ecran::before { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(125deg, rgba(255,255,255,.35) 0%, transparent 30%); }
.boitier .proto-ecran .liseuse-titre { font-size: 2.9cqw; margin-bottom: 5.5cqw; }
.boitier .proto-ecran .recit { font-size: 4.75cqw; line-height: 1.66; }
/* Grilles des haut-parleurs : cercles de trous */
.grille { position: absolute; top: 79.5%; width: 30%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, #070b18 32%, rgba(7,11,24,.6) 42%, transparent 48%) 0 0 / 5.6cqw 5.6cqw;
  -webkit-mask-image: radial-gradient(circle, #000 60%, transparent 71%); mask-image: radial-gradient(circle, #000 60%, transparent 71%);
  opacity: .9; }
.grille-g { left: 6%; } .grille-d { right: 6%; }
.boitier .hp { position: absolute; top: 88.5%; width: 0; height: 0; }
.boitier .hp-g { left: 21%; } .boitier .hp-d { left: 79%; }
.boitier .son-hp { left: 50%; top: 84%; }
/* Molette dorée sur le côté */
.molette { position: absolute; right: -5.8cqw; top: 60%; width: 5cqw; height: 7.5cqw; border-radius: 1cqw;
  background: repeating-linear-gradient(0deg, #b8872f 0 .5cqw, #e9c16b .5cqw 1cqw), linear-gradient(90deg, #7a5718, #f3d58f);
  box-shadow: inset -.6cqw 0 1cqw rgba(0,0,0,.35), 0 .5cqw 1cqw rgba(0,0,0,.5); }
.proto .liseuse-pied { max-width: 340px; }
@media (max-width: 900px) { .proto-appareil { max-width: 300px; } }

/* Affiche du film : la vraie photo de nuit */
.yt .yt-affiche { object-position: center 30%; }
.proto-appareil .boitier .gravure { width: 44%; height: auto; }
.grille { background: radial-gradient(circle, #060a16 30%, rgba(6,10,22,.55) 40%, transparent 46%) 0 0 / 4.6cqw 4.6cqw; }
.proto-appareil .boitier .gravure { width: 31%; top: 2.4%; }
.nav-links a { white-space: nowrap; }
.nav-mobile-only { display: none; }
@media (max-width: 900px) { .nav.is-open .nav-mobile-only { display: block; } .nav.is-open .nav-links .nav-mobile-only a { color: var(--texte); } }

/* ═══ Voir aussi : le teaser myLiV, sous le film ═══ */
.voir-aussi { display: flex; align-items: center; gap: 16px; margin-top: 28px; padding: 10px 18px 10px 10px; border-radius: 16px; text-align: left;
  background: rgba(22,31,46,.55); border: 1px solid rgba(245,245,245,.08); transition: border-color .3s, transform .3s var(--ease); max-width: 380px; }
.voir-aussi[hidden] { display: none; }
.voir-aussi:hover { border-color: rgba(233,180,92,.35); transform: translateY(-2px); }
.va-vignette { position: relative; width: 64px; aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--interface); }
.va-vignette img { width: 100%; height: 100%; object-fit: cover; }
.va-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(3,6,20,.35); }
.va-play svg { width: 18px; height: 18px; fill: #fff; }
.va-txt { display: flex; flex-direction: column; gap: 2px; }
.va-txt small { font-family: var(--f-titre); font-size: 11.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(233,180,92,.85); }
.va-txt strong { font-family: var(--f-titre); font-size: 16px; font-weight: 700; color: var(--titre, #fff); }
.va-txt span { font-size: 13px; color: var(--texte-60); }

/* ═══ L'aventure en vidéo : rail qui défile, toutes les vidéos ═══ */
.videos-rail { display: flex !important; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; gap: 18px; max-width: none;
  margin: 0 calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-left: var(--gutter); }
.videos-rail::-webkit-scrollbar { display: none; }
.videos-rail .bande { flex: 0 0 min(230px, 56vw); scroll-snap-align: start; }
#videos .journal-tete { margin-bottom: 32px; }

/* ═══ Ouverture plein écran, sans bouton : le logo, la phrase, puis on descend ═══ */
.ouverture { height: 100vh; height: 100svh; min-height: 520px; padding-bottom: 12vh; }
.ouv-logo { width: min(640px, 84vw); }
.ouv-promesse { margin-top: clamp(34px, 6vh, 64px); font-size: clamp(24px, 3.4vw, 40px); max-width: 16em; line-height: 1.25; }
.ouv-scroll { bottom: max(28px, 4vh); gap: 14px; font-size: 11.5px; letter-spacing: .32em; text-align: center; max-width: 80vw; line-height: 1.9; }
.ouv-scroll i { height: 56px; }
@media (max-width: 640px) {
  .ouverture { padding-bottom: 14vh; }
  .ouv-logo { width: 86vw; }
  .ouv-promesse { font-size: 26px; max-width: 12em; }
}
@media (max-width: 640px) { .ouv-scroll { white-space: nowrap; letter-spacing: .18em; font-size: 10.5px; max-width: none; } }

/* ═══ Téléphone : l'imaginaire au-dessus, la liseuse juste dessous, tout dans le même écran ═══ */
@media (max-width: 900px) {
  #magie .sec-head { margin-bottom: 20px; }
  #magie .sec-head .lead { display: none; }
  .spectacle { display: flex; flex-direction: column; align-items: center; gap: 0; max-width: 460px; }
  .imaginaire { display: contents; }
  .imaginaire .scene { order: -1; width: 100%; max-width: 440px; margin-bottom: -34px; position: relative; z-index: 0; }
  .imaginaire .scene-fin { bottom: 16%; }
  .proto { order: 0; position: relative; z-index: 1; width: 100%; }
  .proto-appareil { width: 62vw; max-width: 250px; }
  .boitier .proto-ecran { padding: 6cqw 5.5cqw; }
  .boitier .proto-ecran .liseuse-titre { margin-bottom: 4cqw; }
  .boitier .proto-ecran .recit { font-size: 5.05cqw; line-height: 1.58; }
  .proto .liseuse-pied { max-width: 250px; margin-top: 12px; }
  .legende-magie { order: 1; margin-top: 26px; padding-left: 0; align-items: flex-start; }
  .legende-magie p { font-size: 14px; }
}
@media (max-width: 900px) {
  .imaginaire .scene { margin-bottom: -6px; }
  .proto-appareil { width: 56vw; max-width: 236px; }
  .proto .liseuse-pied { max-width: 236px; }
}
@media (max-width: 900px) {
  .imaginaire .scene-fin { bottom: 4%; font-size: 15px; }
  .proto .liseuse-pied .voix { white-space: nowrap; font-size: 10.5px; letter-spacing: .1em; }
  .proto .liseuse-pied .rejouer { white-space: nowrap; font-size: 12px; }
}

/* ── Lien vers la page créateur ── */
.createur-lien { display: inline-block; margin-top: 22px; font-family: var(--f-titre); font-weight: 700; font-size: 15px; color: var(--or); text-decoration: none; border-bottom: 1px solid var(--or-30); padding-bottom: 2px; }
.createur-lien:hover { border-color: var(--or); }
.credits dd a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--ligne-2); }
/* Créateur : portrait discret, en petit, partout */
.createur.discret { grid-template-columns: auto 1fr; align-items: start; gap: clamp(22px, 4vw, 48px); }
.createur.discret .createur-photo { width: 132px; height: 132px; max-width: none; }
.createur.discret .createur-photo img { width: 132px; height: 132px; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 2px solid var(--or-30); }
.createur.discret .createur-photo::after { display: none; }
@media (max-width: 640px) {
  .createur.discret { grid-template-columns: 1fr; }
  .createur.discret .createur-photo, .createur.discret .createur-photo img { width: 96px; height: 96px; }
}
