/* Bible Game · page d'accueil, confidentialité, 404 (DA « Pixel moderne », ex-variante /4/) : le jeu en pixel art, l'interface moderne */
@font-face { font-family: 'Bricolage Grotesque'; src: url(/assets/home/fonts/bricolage.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url(/assets/home/fonts/figtree.woff2) format('woff2'); font-weight: 300 900; font-display: swap; }
@font-face { font-family: 'Jersey 15'; src: url(/play/fonts/jersey15.woff2) format('woff2'); font-display: swap; }

:root {
  --bg: #fbf6ec;
  --paper: #fffdf8;
  --ink: #13261c;
  --ink2: #44544a;
  --muted: #66756c;
  --line: rgba(19, 38, 28, .1);
  --green: #2e8a4a;
  --green-l: #dcf0cc;
  --terra: #c84b22;
  --terra-h: #d9592d;
  --gold: #f4b83f;
  --sea: #0f2c3d;
  --r-sm: 12px;
  --r: 18px;
  --r-lg: 26px;
  --sh: 0 1px 2px rgba(19, 38, 28, .06), 0 10px 28px -12px rgba(19, 38, 28, .22);
  --sh-lg: 0 2px 6px rgba(19, 38, 28, .06), 0 30px 70px -28px rgba(19, 38, 28, .45);
  --display: 'Bricolage Grotesque', 'Figtree', system-ui, sans-serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 450 17.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 750; letter-spacing: -.025em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid #1d5fd6; outline-offset: 3px; border-radius: 10px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--paper); padding: 10px 16px; border-radius: 999px; box-shadow: var(--sh); font-weight: 700; }
.skip:focus { top: 12px; }
.center { text-align: center; }

/* ---------- éléments ---------- */
.ico { display: inline-flex; width: 20px; height: 20px; flex: none; }
.ico svg, [data-ico] svg { width: 100%; height: 100%; display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer;
  font: 700 16px/1.1 var(--sans); text-decoration: none; white-space: nowrap; color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); transition-duration: .08s; }
.btn .ico { width: 18px; height: 18px; }
.btn-primary {
  background: var(--terra); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 10px 24px -10px rgba(200, 75, 34, .8);
}
.btn-primary:hover { background: var(--terra-h); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 16px 32px -12px rgba(200, 75, 34, .85); }
.btn-light {
  background: rgba(255, 255, 255, .82); border-color: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--sh);
}
.btn-light:hover { background: #fff; }
.btn-outline { border-color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-sm { padding: 10px 18px; font-size: 15px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-xl { padding: 19px 32px; font-size: 19px; }
.btn-price { font-size: .86em; padding: 4px 10px; border-radius: 999px; background: rgba(19, 38, 28, .08); }
.btn-primary .btn-price { background: rgba(255, 255, 255, .2); }
.compare { margin-right: .35em; opacity: .62; font-weight: 600; font-size: .8em; }
.compare:empty { display: none; }
.plan-price .compare { font-size: .46em; vertical-align: .4em; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 22px; padding: 7px 14px 7px 12px; border-radius: 999px;
  font: 650 14px/1.2 var(--sans); color: var(--ink);
}
.chip-glass, .float-chip {
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(255, 255, 255, .85);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 8px 24px -12px rgba(19, 38, 28, .35);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(46, 138, 74, .18); }
.eyebrow {
  display: inline-block; margin: 0 0 14px; font: 700 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra);
}
.eyebrow-light { color: var(--gold); }

.frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--r-lg); background: #1d1611;
  box-shadow: 0 0 0 1px rgba(19, 38, 28, .1), var(--sh-lg);
  isolation: isolate;
}
.frame > img, .frame > video, .stage-media > img, .stage-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame video { opacity: 0; transition: opacity .5s; }
.frame video.is-playing { opacity: 1; }

/* ---------- sprites (pixel : contenu du jeu) ---------- */
.spr {
  --s: 3; display: inline-block; width: calc(24px * var(--s)); height: calc(32px * var(--s));
  background: var(--sheet) no-repeat 0 0 / calc(384px * var(--s)) calc(96px * var(--s));
  image-rendering: pixelated;
}
.sheep {
  --s: 3; display: inline-block; width: calc(24px * var(--s)); height: calc(20px * var(--s));
  background: url(/assets/home/sprites/sheep.png) no-repeat 0 calc(-20px * var(--s)) / calc(96px * var(--s)) calc(60px * var(--s));
  image-rendering: pixelated;
}
.spr-walk { animation: walkR .56s steps(4) infinite; }
.sheep-walk { animation: sheepR .6s steps(4) infinite; }
.spr-idle { animation: idle 1.4s steps(2) infinite; }
@keyframes walkR {
  from { background-position: calc(-48px * var(--s)) calc(-32px * var(--s)); }
  to { background-position: calc(-144px * var(--s)) calc(-32px * var(--s)); }
}
@keyframes sheepR {
  from { background-position: 0 calc(-20px * var(--s)); }
  to { background-position: calc(-96px * var(--s)) calc(-20px * var(--s)); }
}
@keyframes idle { to { background-position: calc(-48px * var(--s)) 0; } }

/* ---------- navigation ---------- */
.nav-wrap { position: fixed; z-index: 50; top: 14px; left: 0; right: 0; padding: 0 20px; pointer-events: none; }
.nav {
  pointer-events: auto; max-width: 1200px; margin: 0 auto; height: 62px; padding: 0 10px 0 24px;
  display: flex; align-items: center; gap: 22px; border-radius: 999px;
  background: rgba(255, 253, 248, .66); border: 1px solid rgba(255, 255, 255, .8);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: 0 10px 30px -18px rgba(19, 38, 28, .5);
  transition: background-color .3s;
}
.nav.is-stuck { background: rgba(255, 253, 248, .9); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; flex: none; text-decoration: none; color: var(--ink); }
.wm-mark { width: 38px; height: 38px; flex: none; }
.wm-txt { font: 800 25px/1 var(--display); letter-spacing: -.035em; white-space: nowrap; }
.wm-txt span { color: var(--terra); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a, .nav-lang { font: 600 15px/1 var(--sans); text-decoration: none; padding: 10px 14px; border-radius: 999px; color: var(--ink2); transition: background-color .2s, color .2s; }
.nav-links a:hover, .nav-lang:hover { background: rgba(19, 38, 28, .06); color: var(--ink); }

/* ---------- héros : scène pixel vivante ---------- */
.hero {
  position: relative; overflow: hidden; min-height: max(800px, 100svh);
  background: linear-gradient(#7fcbf1 0%, #a8ddf6 42%, #d6f0f7 70%, #f2f7e6 86%);
  padding-top: 96px; display: flex; flex-direction: column;
}
.sky { position: absolute; inset: 0; pointer-events: none; }
.sun { position: absolute; right: 4%; top: 120px; width: 96px; height: 96px; }
.sun::before { content: ''; position: absolute; inset: -60px; background: radial-gradient(closest-side, rgba(255, 246, 200, .95), rgba(255, 246, 200, 0)); }
.sun svg, .cloud svg { position: relative; width: 100%; height: 100%; display: block; shape-rendering: crispEdges; }
.clouds { position: absolute; inset: 0; }
.cloud { position: absolute; will-change: transform; }
.hills { position: absolute; left: 0; right: 0; pointer-events: none; }
.hills svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.hero .hills-far { bottom: 150px; height: 300px; }
.hero .hills-mid { bottom: 130px; height: 200px; }

.hero-inner {
  position: relative; z-index: 3; flex: 1; width: 100%; max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center;
  padding: 30px 32px 230px;
}
.hero h1 { position: relative; isolation: isolate; font-size: clamp(46px, 5.6vw, 80px); line-height: .98; letter-spacing: -.035em; font-weight: 800; margin-bottom: 22px; }
.hl { position: relative; white-space: nowrap; color: var(--terra); }
.hl::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .2em; background: rgba(244, 184, 63, .55); border-radius: 6px; z-index: -1; }
.hero-lede { font-size: 19px; line-height: 1.6; color: #2d3d33; max-width: 33em; margin-bottom: 0; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.hero-note { font: 600 15px/1.3 var(--sans); color: var(--ink2); display: flex; align-items: center; gap: 8px; margin: 0; }
.hero-note .ico { color: var(--green); }

.hero-screen { margin: 0; position: relative; }
.frame-hero { box-shadow: 0 0 0 6px rgba(255, 255, 255, .55), var(--sh-lg); }
.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px;
  font: 650 14px/1.2 var(--sans); color: var(--ink); white-space: nowrap;
}
.float-chip .ico { width: 18px; height: 18px; color: var(--terra); }
.fc-1 { top: -20px; left: -26px; }
.fc-2 { right: -22px; bottom: 64px; }
.fc-3 { left: 34px; bottom: -20px; }
.fc-free { background: var(--green); color: #fff; padding: 3px 9px; border-radius: 999px; font-size: 13px; }
.screen-cap { margin-top: 30px; font: 500 13.5px var(--sans); color: var(--ink2); text-align: right; }

.ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 190px; z-index: 2;
  background: linear-gradient(#8fc65a 0 44px, #79b44c 44px 52px, #efd69c 52px 124px, #d9b877 124px 130px, #6fae46 130px 100%);
}
.ground::before {
  content: ''; position: absolute; left: 0; right: 0; top: -15px; height: 16px; background: #8fc65a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16'%3E%3Cpath d='M0 16V8h8V4h12V0h16v4h8v4h12v4h8v4z'/%3E%3C/svg%3E") repeat-x 0 0 / 64px 16px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='16'%3E%3Cpath d='M0 16V8h8V4h12V0h16v4h8v4h12v4h8v4z'/%3E%3C/svg%3E") repeat-x 0 0 / 64px 16px;
}
.trees { position: absolute; left: 0; right: 0; top: -200px; height: 200px; pointer-events: none; }
.tree { position: absolute; bottom: 0; }
.tree svg { display: block; width: 100%; height: 100%; shape-rendering: crispEdges; }
.caravan {
  position: absolute; left: 0; bottom: 70px; z-index: 2; display: flex; align-items: flex-end; gap: 18px;
  animation: cross 52s linear infinite; will-change: transform;
}
.caravan .sheep { margin-left: -6px; }
.caravan .sheep:nth-child(5) { animation-delay: -.2s; }
.caravan .sheep:nth-child(6) { animation-delay: -.4s; }
.caravan .spr:nth-child(2) { animation-delay: -.14s; }
.caravan .spr:nth-child(3) { animation-delay: -.28s; }
.caravan-back { bottom: 128px; z-index: 1; animation: crossBack 70s linear infinite; animation-delay: -30s; }
.caravan-back .spr { --s: 2; transform: scaleX(-1); }
@keyframes cross { from { transform: translateX(-560px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes crossBack { from { transform: translateX(calc(100vw + 40px)); } to { transform: translateX(-120px); } }

/* ---------- chiffres ---------- */
.stats { position: relative; z-index: 4; padding: 0 24px; background: linear-gradient(#6fae46 0 50%, var(--bg) 50%); }
.stats-list {
  max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--sh-lg); padding: 10px;
}
.stats-list li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 18px 20px; }
.stats-list li + li { border-left: 1px solid var(--line); }
.stat-ico { grid-row: span 2; width: 46px; height: 46px; padding: 11px; border-radius: 14px; background: var(--green-l); color: var(--green); }
.stats-list li:nth-child(2) .stat-ico { background: #fde6d6; color: var(--terra); }
.stats-list li:nth-child(3) .stat-ico { background: #fdf0cf; color: #b07a0c; }
.stats-list li:nth-child(4) .stat-ico { background: #dcecf9; color: #1f6aa5; }
.stats-list b { font: 800 30px/1 var(--display); letter-spacing: -.02em; }
.stats-list span:last-child { font-size: 14px; line-height: 1.35; color: var(--muted); font-weight: 550; }

/* ---------- sections ---------- */
.sec { padding: 120px 24px; position: relative; }
.sec-head { max-width: 820px; margin: 0 auto 56px; text-align: center; }
.sec-head-left { text-align: left; margin: 0; }
.sec h2 { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.04; margin-bottom: 18px; }
.sec-lede { font-size: 19px; color: var(--ink2); max-width: 40em; margin: 0 auto; }

/* ---------- carte ---------- */
.sec-map { padding-left: 0; padding-right: 0; padding-bottom: 96px; overflow-x: clip; }
.sec-map .sec-head { padding: 0 24px; }
.legend { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; font: 600 14.5px/1 var(--sans); color: var(--ink2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.lg-dot { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; }
.lg-free { background: #fff; box-shadow: 0 0 0 3px var(--green); }
.lg-lock { background: #fff; box-shadow: var(--sh); }
.lg-lock .ico { width: 13px; height: 13px; }
.lg-hint { color: var(--muted); font-weight: 500; }

.map { position: relative; margin: 0 0 64px; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; z-index: 1; pointer-events: none; }
.map-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.road-glow { stroke: rgba(255, 255, 255, .85); stroke-width: 20; }
.road { stroke: rgba(19, 38, 28, .06); stroke-width: 20; }
.road-dash { stroke: rgba(19, 38, 28, .28); stroke-width: 3.5; stroke-dasharray: .1 11; }
.road-done { stroke: var(--terra); stroke-width: 4; opacity: .9; }
.band {
  position: absolute; left: max(16px, calc(50% - 640px)); right: max(16px, calc(50% - 640px)); z-index: 0;
  background: var(--c); border-radius: 36px; transition: box-shadow .5s var(--ease), filter .5s;
}
.band.is-current { box-shadow: inset 0 0 0 2px rgba(19, 38, 28, .12), 0 18px 50px -30px rgba(19, 38, 28, .5); filter: saturate(1.25); }

/* sans JS : liste simple */
.map-books { position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.book { margin-bottom: 40px; }
.book-banner {
  display: inline-flex; flex-direction: column; align-items: flex-start; padding: 14px 20px 16px;
  background: rgba(255, 253, 248, .9); border-radius: var(--r); box-shadow: var(--sh); transition: transform .4s var(--ease), box-shadow .4s;
}
.book-banner.is-current { transform: translateY(-3px); box-shadow: 0 0 0 2px var(--ink), var(--sh); }
.book-n { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--terra); }
.book-name { font: 750 26px/1.1 var(--display); margin: 6px 0 4px; letter-spacing: -.02em; }
.book-ref { font: 500 14px/1.2 var(--sans); color: var(--muted); }
.eps { display: flex; flex-wrap: wrap; gap: 30px 16px; margin-top: 24px; }
.node {
  position: relative; width: 128px; padding: 0; border: 0; background: none; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; color: var(--ink); font: inherit;
}
.node:focus-visible { outline: none; }
.node:focus-visible .node-img { outline: 3px solid #1d5fd6; outline-offset: 5px; }
.node-img {
  display: block; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; background: #fff;
  border: 4px solid #fff; box-shadow: 0 8px 18px -8px rgba(19, 38, 28, .55);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.node-img img { width: 100%; height: 100%; object-fit: cover; image-rendering: auto; }
.node:hover .node-img, .node:focus-visible .node-img, .node.is-open .node-img { transform: translateY(-4px) scale(1.08); box-shadow: 0 14px 26px -10px rgba(19, 38, 28, .6); }
.node.is-free .node-img { box-shadow: 0 0 0 4px var(--green), 0 0 0 10px rgba(46, 138, 74, .18), 0 8px 18px -8px rgba(19, 38, 28, .55); }
.node-n {
  position: absolute; left: calc(50% - 46px); top: -4px; z-index: 2; width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center; font: 750 13px/1 var(--sans); background: var(--ink); color: #fff;
  box-shadow: 0 0 0 3px #fff; transition: background-color .3s;
}
.node.is-reached .node-n { background: var(--terra); }
.node-name {
  margin-top: 10px; padding: 5px 10px; border-radius: 999px; white-space: nowrap;
  font: 650 14px/1.15 var(--sans); background: rgba(255, 253, 248, .88); box-shadow: 0 2px 8px -4px rgba(19, 38, 28, .3);
}
.node-lock {
  position: absolute; left: calc(50% + 20px); top: 52px; z-index: 2; width: 26px; height: 26px; padding: 6px; border-radius: 50%;
  background: #fff; color: var(--ink2); box-shadow: 0 3px 8px -2px rgba(19, 38, 28, .35);
}
.node-free {
  position: absolute; top: -34px; z-index: 3; padding: 4px 10px; border-radius: 999px; font: 700 12.5px/1.1 var(--sans);
  background: var(--green); color: #fff; box-shadow: 0 6px 14px -6px rgba(46, 138, 74, .9);
}

/* mode carte (JS) */
.map.is-js .map-books { position: static; max-width: none; padding: 0; margin: 0; }
.map.is-js .book { margin: 0; }
.map.is-js .book-banner { position: absolute; z-index: 3; }
.map.is-js .eps { display: block; margin: 0; }
.map.is-js .node { position: absolute; z-index: 3; }

.walker, .follower { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; will-change: transform; }
.walker .spr { display: block; background-position: 0 0; }
.walker::after { content: ''; position: absolute; left: 20%; right: 20%; bottom: -3px; height: 8px; border-radius: 50%; background: rgba(19, 38, 28, .22); }
.follower .sheep { display: block; }

.ep-card {
  position: absolute; z-index: 6; width: 300px; overflow: hidden; background: var(--paper);
  border-radius: 20px; box-shadow: 0 0 0 1px var(--line), var(--sh-lg);
  animation: pop .25s var(--ease);
}
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.97); } }
.ep-card[hidden] { display: none; }
.ep-card-img { aspect-ratio: 768 / 352; background: #d8cdb5; }
.ep-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ep-card-body { padding: 14px 18px 18px; }
.ep-card p { margin: 0; }
.ep-card-k { font: 700 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--terra); }
.ep-card-name { font: 750 24px/1.15 var(--display); letter-spacing: -.02em; margin-top: 8px !important; }
.ep-card-era { font-size: 15px; color: var(--muted); }
.ep-card-cta { margin-top: 14px; }

/* ---------- comment on joue ---------- */
.sec-play { background: linear-gradient(#eaf6fb, #f4f9f4); border-radius: 48px 48px 0 0; }
.play-grid { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 72px; align-items: start; }
.play-stage { grid-column: 1; grid-row: 1; height: 100%; }
.stage-sticky { position: sticky; top: 110px; }
.steps { grid-column: 2; grid-row: 1; padding: 4vh 0 18vh; }
.stage-media { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.stage-media.is-on { opacity: 1; }
/* la boîte de dialogue reste celle du jeu */
.dlg {
  position: absolute; z-index: 3; left: 22px; right: 22px; bottom: 18px; min-height: 112px;
  display: flex; gap: 14px; align-items: stretch; padding: 12px 16px 14px 12px;
  background: rgba(33, 25, 19, .93); color: #fbf1d6; border-radius: 6px;
  box-shadow: 0 0 0 2px #a88b62, 0 0 0 5px rgba(33, 25, 19, .9), 0 16px 30px -10px rgba(0, 0, 0, .5);
}
.dlg-face {
  flex: none; width: 76px; background: #e9d7ae; border-radius: 3px; box-shadow: inset 0 0 0 2px #a88b62;
  display: flex; align-items: flex-end; justify-content: center; overflow: hidden;
}
.dlg.no-face .dlg-face { display: none; }
.dlg-face .spr { --s: 3; margin-bottom: -28px; animation: idle 1.4s steps(2) infinite; }
.dlg-body { position: relative; flex: 1; padding-top: 12px; }
.dlg-name {
  position: absolute; top: -28px; left: 0; padding: 3px 10px 1px; font: 19px/1 'Jersey 15', var(--sans); letter-spacing: .08em; text-transform: uppercase;
  background: #211913; color: var(--gold); box-shadow: 0 0 0 2px #a88b62; border-radius: 3px;
}
.dlg-text { font: 26px/1.15 'Jersey 15', var(--sans); margin: 0; min-height: 2.3em; }
.dlg-more { position: absolute; right: 0; bottom: -4px; width: 14px; height: 8px; background: var(--gold); clip-path: polygon(0 0, 100% 0, 50% 100%); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.stage-note { margin: 16px 4px 0; font: 500 13.5px var(--sans); color: var(--muted); text-align: right; }
.hud-mission, .hud-toast {
  position: absolute; z-index: 3; color: #fff; border-radius: 14px;
  background: rgba(19, 30, 24, .55); border: 1px solid rgba(255, 255, 255, .25);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.hud-mission { left: 16px; top: 16px; padding: 10px 14px; display: flex; flex-direction: column; line-height: 1.2; }
.hm-k { font: 700 11px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hm-t { font: 750 18px/1.2 var(--display); margin: 2px 0; }
.hm-p { font-size: 13px; opacity: .85; }
.hud-toast { right: 16px; top: 16px; display: flex; gap: 10px; align-items: center; padding: 10px 14px; font-size: 13px; line-height: 1.3; }
.hud-toast b { display: block; font: 750 15px/1.2 var(--display); color: var(--gold); }
.hud-toast .ico { color: var(--gold); width: 24px; height: 24px; }
.screen-play[data-step="2"] .hud-mission, .screen-play[data-step="3"] .hud-toast { opacity: 1; transform: none; }

.step { position: relative; padding: 26px 28px 24px; margin-bottom: 26vh; border-radius: var(--r-lg); opacity: .5; transition: opacity .4s, background-color .4s, box-shadow .4s; }
.step:last-child { margin-bottom: 0; }
.step.is-on { opacity: 1; background: var(--paper); box-shadow: var(--sh); }
.step-n { display: block; font: 800 15px/1 var(--display); color: var(--terra); letter-spacing: .04em; margin-bottom: 10px; }
.step h3 { font-size: 28px; line-height: 1.1; margin-bottom: 10px; }
.step p { font-size: 17px; color: var(--ink2); }
.step-aside { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px !important; font-weight: 600; color: var(--muted) !important; margin: 0; }
.step-aside .ico { margin-top: 2px; width: 18px; height: 18px; color: var(--green); }

/* ---------- fidèle au texte ---------- */
.faith-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.faith-text > p:not(.eyebrow) { color: var(--ink2); }
.scroll { margin: 0 24px; position: relative; }
.scroll-rod { position: relative; z-index: 2; height: 22px; margin: 0 -22px; border-radius: 999px; background: linear-gradient(#b5804a, #8b5a2f 55%, #6a4020); box-shadow: 0 6px 14px -6px rgba(60, 30, 10, .6); }
.scroll-paper {
  position: relative; margin: -6px 6px; padding: 52px 44px 40px; overflow: hidden;
  background: linear-gradient(90deg, #efe0bb, #fbf2da 8%, #fdf6e6 50%, #fbf2da 92%, #efe0bb);
  box-shadow: var(--sh-lg);
}
.verse-mark { position: absolute; left: 30px; top: 6px; font: 800 120px/1 var(--display); color: rgba(200, 75, 34, .18); }
.verse { position: relative; margin: 0 0 20px; font: 650 clamp(28px, 2.8vw, 38px)/1.2 var(--display); letter-spacing: -.02em; }
.verse-ref { font: 700 14px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--terra); }
.echo { margin: 24px 0 0; padding-top: 18px; border-top: 1px dashed rgba(120, 80, 30, .35); color: var(--ink2); font-weight: 550; }
.echo-k { display: inline-block; font: 700 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 5px 9px; border-radius: 999px; margin-right: 10px; vertical-align: 2px; }
.echo-ref { white-space: nowrap; color: var(--muted); }
.checks { margin-top: 28px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks .ico { margin-top: 2px; width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--green-l); color: var(--green); }

/* ---------- scènes (section profonde) ---------- */
.sec-scenes { background: radial-gradient(1200px 500px at 50% 0%, #1d4a63, var(--sea) 70%); color: #fff; border-radius: 48px; margin: 0 12px; }
.sec-scenes h2 { color: #fff; }
.sec-scenes .sec-lede { color: rgba(255, 255, 255, .78); }
.reel { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.clip .frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 30px 60px -30px rgba(0, 0, 0, .8); transition: transform .5s var(--ease); }
.clip .frame:hover { transform: translateY(-4px); }
.clip-cap {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; margin: 0; padding: 9px 14px; border-radius: 14px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  background: rgba(10, 22, 30, .5); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.clip-cap b { font: 700 16px/1.2 var(--display); }
.clip-cap span { font: 600 12px/1 var(--sans); color: var(--gold); text-transform: uppercase; letter-spacing: .1em; white-space: nowrap; }

/* ---------- pour qui ---------- */
.party { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.member { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--sh); transition: transform .4s var(--ease), box-shadow .4s; }
.member:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), var(--sh-lg); }
.member-stage {
  height: 172px; display: flex; align-items: flex-end; justify-content: center; gap: 2px; padding-bottom: 20px;
  background: linear-gradient(#cdeefb 0 64%, #9dd06a 64% 72%, #86c057 72%);
}
.member-stage .spr { --s: 4; }
.member-stage .spr-small { --s: 3; }
.member:hover .spr { animation: none; background-position: calc(-192px * var(--s)) 0; }
.member-body { padding: 22px 22px 26px; }
.member h3 { font-size: 22px; margin-bottom: 8px; }
.member p { font-size: 15.5px; color: var(--ink2); margin: 0; }

/* ---------- tarif ---------- */
.sec-shop { background: linear-gradient(var(--bg), #f3ecdb); }
.plans { max-width: 960px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: 32px; border-radius: 28px; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--sh); }
.plan-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; min-height: 64px; }
.plan-thumb { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 3px var(--green), 0 0 0 7px rgba(46, 138, 74, .15); }
.plan-thumb img { width: 100%; height: 100%; object-fit: cover; }
.plan-name { font-size: 24px; }
.plan-sub { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.plan-price { font: 800 60px/1 var(--display); letter-spacing: -.03em; margin: 14px 0 4px; }
.plan-per { font-size: 15px; font-weight: 600; color: var(--muted); margin-bottom: 22px; }
.plan-list { display: grid; gap: 10px; margin-bottom: 30px; flex: 1; align-content: start; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; font-weight: 550; }
.plan-list .ico { margin-top: 2px; color: var(--green); }
.plan .btn { align-self: stretch; }
.plan-full { background: var(--ink); color: #f4efe2; box-shadow: var(--sh-lg); }
.plan-full .plan-price { color: var(--gold); }
.plan-full .plan-per { color: rgba(244, 239, 226, .7); }
.plan-full .plan-list .ico { color: #8fd38a; }
.plan-full .plan-name { margin-top: -4px; }
.ribbon { position: absolute; top: 28px; right: 28px; padding: 6px 12px; border-radius: 999px; font: 700 12px/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; background: var(--gold); color: var(--ink); }
.thumb-stack { display: flex; align-items: center; }
.thumb-stack img, .thumb-stack span { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--ink); margin-right: -10px; }
.thumb-stack span { display: grid; place-items: center; background: #2b4134; color: #fff; font: 700 13px/1 var(--sans); }
.shop-note { display: flex; gap: 10px; justify-content: center; align-items: center; margin: 28px auto 0; max-width: 46em; text-align: center; color: var(--ink2); font-size: 15px; font-weight: 550; }
.shop-note .ico { color: var(--green); }
.plats { max-width: 960px; margin: 40px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.plats li { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r); background: rgba(255, 255, 255, .55); box-shadow: 0 0 0 1px var(--line); }
.plat-ico { flex: none; width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: #fff; box-shadow: var(--sh); }
.plat-h { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 4px; }
.plat-h b { font: 700 18px/1.2 var(--display); }
.plats p:not(.plat-h) { margin: 0; font-size: 15px; color: var(--ink2); }
.pill { font: 700 11.5px/1 var(--sans); padding: 5px 9px; border-radius: 999px; background: rgba(19, 38, 28, .08); text-transform: uppercase; letter-spacing: .08em; }
.pill-on { background: var(--green-l); color: #1f6b37; }

/* ---------- FAQ ---------- */
.faq-grid { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 64px; align-items: start; }
.sec-head-left .sec-lede { margin: 0; }
.faq { display: grid; gap: 12px; }
.faq details { background: var(--paper); border-radius: var(--r); box-shadow: 0 0 0 1px var(--line); transition: box-shadow .3s; }
.faq details[open] { box-shadow: 0 0 0 1px var(--line), var(--sh); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 60px 20px 24px; position: relative; font: 700 18px/1.3 var(--display); letter-spacing: -.01em; border-radius: var(--r); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 20px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%;
  background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313261c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .3s var(--ease), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(180deg); background-color: var(--gold); }
.faq details p { padding: 0 24px 22px; margin: 0; font-size: 16.5px; color: var(--ink2); }

/* ---------- appel final ---------- */
.final {
  position: relative; overflow: hidden; min-height: 760px; display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(#ffb880 0%, #ffcf96 40%, #ffe2ad 70%, #fff1c9 86%);
}
.sun-dusk { right: auto; left: 12%; top: 150px; width: 128px; height: 128px; }
.final .hills-far { bottom: 140px; height: 280px; }
.final .hills-mid { bottom: 120px; height: 180px; }
.final-inner { position: relative; z-index: 3; text-align: center; padding: 120px 24px 340px; max-width: 860px; margin: 0 auto; }
.final h2 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1; letter-spacing: -.035em; font-weight: 800; margin-bottom: 20px; }
.final-inner > p { font-size: 20px; color: #3b3328; margin-bottom: 32px; }
.final .hero-note { justify-content: center; margin-top: 20px; }
.ground-dusk { background: linear-gradient(#78b24a 0 44px, #66a03f 44px 52px, #e6c88c 52px 124px, #c9a86a 124px 130px, #5d9a3b 130px 100%); }
.ground-dusk::before { background: #78b24a; }

/* ---------- pied de page ---------- */
.foot { background: var(--ink); color: rgba(244, 239, 226, .8); padding: 48px 24px 56px; }
.foot-inner { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; }
.foot .wordmark { color: #fff; }
.foot .wm-txt span { color: var(--gold); }
.foot p { margin: 0; flex: 1; min-width: 260px; font-size: 14.5px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a { font-weight: 600; font-size: 15px; text-decoration: none; }
.foot-links a:hover { color: var(--gold); }

/* ---------- pages simples : confidentialité, 404 ---------- */
.page-doc, .page-lost { background: var(--bg); }
.doc { padding: 150px 24px 110px; }
.doc-inner { max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(40px, 5vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 800; margin-bottom: 14px; }
.doc .upd { font: 600 15px/1.3 var(--sans); color: var(--muted); margin-bottom: 40px; }
.doc h2 { font-size: 26px; line-height: 1.15; margin: 44px 0 14px; }
.doc p, .doc li { color: var(--ink2); }
.doc ul { display: grid; gap: 14px; margin: 0 0 1em; }
.doc li { position: relative; padding-left: 26px; }
.doc li::before { content: ''; position: absolute; left: 4px; top: .62em; width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px var(--green-l); }
.doc strong { color: var(--ink); }
.doc a { color: var(--terra); font-weight: 650; }
.doc-card { background: var(--paper); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--sh); padding: 44px 48px 36px; }
.lost {
  position: relative; overflow: hidden; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 130px 24px 220px; background: linear-gradient(#ffd9a8 0%, #ffe8c0 45%, #fff3d8 75%);
}
.lost h1 { font-size: clamp(96px, 16vw, 180px); line-height: .9; letter-spacing: -.05em; font-weight: 800; color: var(--terra); margin-bottom: 18px; }
.lost p { font: 650 clamp(20px, 2.4vw, 26px)/1.35 var(--display); letter-spacing: -.01em; margin-bottom: 8px; }
.lost p + p { color: var(--ink2); font-weight: 550; font-size: 18px; font-family: var(--sans); margin-bottom: 32px; }
.lost .ctas { justify-content: center; margin: 0; }
.lost-ground {
  position: absolute; left: 0; right: 0; bottom: 0; height: 120px;
  background: linear-gradient(#efd69c 0 70px, #d9b877 70px 76px, #e6c88c 76px);
}
.lost-ground .sheep { position: absolute; bottom: 64px; left: calc(50% - 36px); }

/* ---------- tablette ---------- */
@media (max-width: 1100px) {
  .nav-links { display: none; }
  .nav-lang { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 56px; padding-top: 24px; }
  .hero-screen { max-width: 680px; }
  .play-grid { grid-template-columns: 1fr; gap: 0; }
  .play-stage { grid-row: 1; height: auto; position: sticky; top: 84px; z-index: 5; }
  .stage-sticky { position: static; padding: 12px 0 18px; background: linear-gradient(#eef7f9 85%, rgba(238, 247, 249, 0)); }
  .steps { grid-column: 1; grid-row: 2; padding: 36px 0 10vh; }
  .step { margin-bottom: 24vh; }
  .faith-grid, .faq-grid { grid-template-columns: 1fr; gap: 48px; }
  .party { grid-template-columns: repeat(2, 1fr); }
  .reel { grid-template-columns: repeat(2, 1fr); }
  .stats-list { grid-template-columns: repeat(2, 1fr); }
  .stats-list li:nth-child(3) { border-left: 0; }
  .stats-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- téléphone ---------- */
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .nav-wrap { top: 10px; padding: 0 10px; }
  .nav { height: 54px; padding: 0 6px 0 18px; gap: 6px; }
  .wm-mark { width: 34px; height: 34px; }
  .wm-txt { font-size: 22px; }
  .nav-lang { font-size: 14px; padding: 8px 10px; }
  .hero { padding-top: 76px; min-height: 0; }
  .hero-inner { padding: 22px 18px 250px; gap: 48px; }
  .hero h1 { position: relative; isolation: isolate; font-size: 44px; }
  .hero-lede { font-size: 17px; }
  .ctas { flex-direction: column; align-items: stretch; }
  .sun { right: 6%; top: 84px; width: 64px; height: 64px; }
  .hero .hills-far { bottom: 140px; height: 200px; }
  .hero .hills-mid { bottom: 120px; height: 130px; }
  .float-chip { font-size: 13px; padding: 7px 12px; }
  .fc-1 { left: -6px; top: -18px; }
  .fc-2 { right: -6px; bottom: 40px; }
  .fc-3 { display: none; }
  .ground { height: 170px; }
  .caravan { bottom: 58px; gap: 10px; }
  .caravan .spr, .caravan .sheep { --s: 2; }
  .caravan-back { bottom: 118px; }
  .stats { padding: 0 14px; }
  .stats-list { padding: 4px; border-radius: 22px; }
  .stats-list li { padding: 14px 12px; column-gap: 10px; }
  .stat-ico { width: 38px; height: 38px; padding: 9px; border-radius: 12px; }
  .stats-list b { font-size: 24px; }
  .stats-list span:last-child { font-size: 13px; }
  .sec { padding: 88px 18px; }
  .sec h2 { font-size: 36px; }
  .sec-lede { font-size: 17px; }
  .sec-head { margin-bottom: 40px; }
  .book-name { font-size: 22px; }
  .band { left: 10px; right: 10px; border-radius: 28px; }
  .book-banner { padding: 10px 16px 12px; }
  .node { width: 108px; }
  .node-img { width: 66px; height: 66px; border-width: 3px; }
  .node-n { left: calc(50% - 40px); width: 24px; height: 24px; font-size: 12px; }
  .node-lock { left: calc(50% + 16px); top: 44px; width: 24px; height: 24px; padding: 5px; }
  .node-name { font-size: 13px; white-space: normal; text-align: center; max-width: 108px; padding: 4px 8px; }
  .ep-card { width: min(300px, calc(100vw - 28px)); }
  .sec-play { border-radius: 32px 32px 0 0; }
  .play-stage { top: 72px; }
  .stage-sticky { margin: 0 -18px; padding: 8px 8px 18px; }
  .screen-play { aspect-ratio: 4 / 3; border-radius: 18px; }
  .dlg { left: 8px; right: 8px; bottom: 8px; min-height: 0; padding: 8px 10px 10px 8px; gap: 8px; }
  .dlg-face { width: 48px; }
  .dlg-face .spr { --s: 2; margin-bottom: -18px; }
  .dlg-text { font-size: 19px; min-height: 3.45em; }
  .dlg-name { font-size: 16px; top: -24px; }
  .dlg-body { padding-top: 6px; }
  .stage-note { display: none; }
  .hud-mission { left: 8px; top: 8px; padding: 7px 10px; }
  .hm-t { font-size: 15px; } .hm-p { display: none; }
  .hud-toast { right: 8px; top: 8px; padding: 7px 10px; font-size: 12px; }
  .hud-toast b { font-size: 13px; }
  .step { padding: 20px 20px 18px; margin-bottom: 30vh; }
  .step h3 { font-size: 24px; }
  .step p { font-size: 16px; }
  .scroll { margin: 0 14px; }
  .scroll-rod { margin: 0 -14px; }
  .scroll-paper { padding: 40px 24px 28px; }
  .sec-scenes { margin: 0 6px; border-radius: 32px; }
  .reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -18px; padding: 6px 18px 18px; scrollbar-width: none; }
  .clip { flex: 0 0 84%; scroll-snap-align: center; }
  .party { grid-template-columns: 1fr; gap: 16px; }
  .member { display: grid; grid-template-columns: 112px 1fr; }
  .member-stage { height: auto; min-height: 150px; padding-bottom: 12px; background: linear-gradient(to top, #86c057 0 22px, #9dd06a 22px 32px, #cdeefb 32px); }
  .member-stage .spr { --s: 3; }
  .member-stage .spr:first-child:nth-last-child(2), .member-stage .spr-small { --s: 2; }
  .member-body { padding: 16px 18px 18px; }
  .member h3 { font-size: 20px; }
  .member p { font-size: 15px; }
  .plans { grid-template-columns: 1fr; }
  .plan { padding: 26px 22px; }
  .plan .btn { white-space: normal; }
  .ribbon { top: 22px; right: 20px; }
  .plats { grid-template-columns: 1fr; }
  .faq summary { font-size: 17px; padding: 18px 54px 18px 18px; }
  .faq details p { padding: 0 18px 20px; font-size: 16px; }
  .final { min-height: 660px; }
  .final h2 { font-size: 42px; }
  .final-inner { padding: 100px 18px 250px; }
  .final-inner > p { font-size: 17px; }
  .btn-xl { font-size: 18px; }
  .foot-links { flex-wrap: wrap; }
  .doc { padding: 112px 14px 80px; }
  .doc-card { padding: 30px 22px 24px; border-radius: 22px; }
  .doc h2 { font-size: 22px; }
}

/* ---------- mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .caravan { transform: translateX(8vw); }
  .caravan-back { transform: translateX(70vw); }
  .spr-walk { background-position: calc(-48px * var(--s)) calc(-32px * var(--s)); }
}
