/* Duel : Echo Legend, le site de teasing. Nuit, or et parchemin ; Tienne pour les titres, Barlow pour le texte. */
:root {
  --nuit: #070b18; --nuit-2: #0d1428; --nuit-3: #141d38;
  --or: #e0b04f; --or-clair: #f6d68a; --or-sombre: #9c7426;
  --encre: #f4ecd8; --gris: #b9b2a0;
  --feu: #f07a45; --eau: #4fb3e8; --nature: #7cc95a; --sacre: #f4d27a; --ombre: #b585f0; --neutre: #c9c1ac; --roi: #e0b04f;
  --titre: "Tienne", Georgia, serif; --texte: "Barlow", system-ui, sans-serif;
  --enc: min(1240px, 100% - 48px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; background: var(--nuit); color: var(--encre); font: 400 17px/1.65 var(--texte); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { display: block; max-width: 100%; }
a { color: var(--or-clair); }
h1, h2, h3 { font-family: var(--titre); font-weight: 400; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 58px); letter-spacing: -.01em; text-wrap: balance; }
h3 { font-size: clamp(22px, 2vw, 28px); }
p { margin: 0 0 1em; }
.enc { width: var(--enc); margin-inline: auto; }
.enc--etroit { width: min(820px, 100% - 48px); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--or); color: var(--nuit); padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--or-clair); outline-offset: 3px; }
.surtitre { font: 600 13px/1 var(--texte); letter-spacing: .28em; text-transform: uppercase; color: var(--or); margin-bottom: 18px; display: inline-flex; align-items: center; gap: 14px; }
.surtitre::before { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, transparent, var(--or)); }
.chapo { font-size: clamp(18px, 1.4vw, 20px); color: #e6dcc4; max-width: 60ch; }
.tete { margin-bottom: clamp(32px, 5vw, 56px); }
.tete h2 { margin-bottom: 18px; }
.tete--centre { text-align: center; }
.tete--centre .chapo { margin-inline: auto; }
.tete--centre .surtitre::after { content: ""; width: 36px; height: 1px; background: linear-gradient(90deg, var(--or), transparent); }
.c-feu { color: var(--feu); } .c-eau { color: var(--eau); } .c-nature { color: var(--nature); } .c-sacre { color: var(--sacre); } .c-ombre { color: var(--ombre); }
section { position: relative; }

/* ---------- boutons ---------- */
.btn { --h: 48px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--h); padding: 0 26px; border-radius: 999px; border: 0;
  font: 600 16px/1 var(--texte); letter-spacing: .02em; text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s; white-space: nowrap; }
.btn--grand { --h: 56px; padding: 0 34px; font-size: 17px; }
.btn--or { color: #1a1206; background: linear-gradient(180deg, #f8dc93 0%, #e0b04f 48%, #b8862e 100%); box-shadow: 0 0 0 1px rgb(255 230 160 / .5) inset, 0 10px 30px -8px rgb(224 176 79 / .55); }
.btn--or::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / .55) 50%, transparent 65%); transform: translateX(-120%); animation: reflet 4.5s var(--ease) infinite; }
.btn--or:hover { transform: translateY(-2px); box-shadow: 0 0 0 1px rgb(255 240 190 / .7) inset, 0 16px 40px -8px rgb(224 176 79 / .8); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--verre { color: var(--encre); background: rgb(10 16 36 / .45); box-shadow: 0 0 0 1px rgb(246 214 138 / .45) inset; backdrop-filter: blur(6px); }
.btn--verre:hover { background: rgb(10 16 36 / .7); transform: translateY(-2px); }
.btn--discord { color: #fff; background: #5865f2; box-shadow: 0 12px 30px -10px rgb(88 101 242 / .8); }
.btn--discord:hover { background: #4752c4; transform: translateY(-2px); }
.ico-discord { width: 20px; height: 20px; filter: brightness(0) invert(1); }
@keyframes reflet { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------- en-tête ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, backdrop-filter .4s; }
.top__in { width: min(1320px, 100% - 32px); margin-inline: auto; height: 76px; display: flex; align-items: center; gap: 28px; }
.top--plein { background: rgb(7 11 24 / .86); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgb(224 176 79 / .18); }
.top__logo img { height: 46px; width: auto; filter: drop-shadow(0 2px 8px rgb(0 0 0 / .6)); }
.top__nav { display: flex; gap: 26px; margin-left: auto; }
.top__nav a { color: var(--encre); text-decoration: none; font: 500 15px/1 var(--texte); letter-spacing: .04em; position: relative; padding: 8px 0; }
.top__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--or); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.top__nav a:hover::after { transform: scaleX(1); }
.top__cta { --h: 42px; padding: 0 20px; font-size: 15px; }
.langue { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgb(10 16 36 / .55); box-shadow: 0 0 0 1px rgb(246 214 138 / .35) inset; }
.langue a { display: grid; place-items: center; min-width: 38px; height: 34px; padding: 0 8px; border-radius: 999px; color: var(--gris); text-decoration: none; font: 600 13px/1 var(--texte); letter-spacing: .08em; transition: background .25s, color .25s; }
.langue a:hover { color: var(--encre); }
.langue a[aria-current="page"] { background: linear-gradient(180deg, #f8dc93, #e0b04f); color: #1a1206; }
.top__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgb(10 16 36 / .6); box-shadow: 0 0 0 1px rgb(246 214 138 / .4) inset; cursor: pointer; place-content: center; gap: 6px; }
.top__burger span { display: block; width: 18px; height: 1.6px; background: var(--encre); transition: transform .3s; }
.top__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.top__burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1020px) {
  .top__burger { display: grid; }
  .top__cta { margin-left: auto; }
  .top__nav { position: fixed; inset: 76px 0 auto; flex-direction: column; gap: 0; margin: 0; background: rgb(7 11 24 / .97); padding: 8px 24px 24px; border-bottom: 1px solid rgb(224 176 79 / .25);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
  .top__nav.ouvert { transform: none; opacity: 1; pointer-events: auto; }
  .top__nav a { padding: 16px 0; font-size: 18px; border-bottom: 1px solid rgb(224 176 79 / .12); }
}
@media (max-width: 1020px) { .langue { margin-left: auto; } .top__cta { margin-left: 0; } }
@media (max-width: 520px) { .top__cta { display: none; } .top__burger { margin-left: 0; } .top__logo img { height: 38px; } .top__in { gap: 12px; } }

/* ---------- 1. l'entrée ---------- */
.hero { min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; padding: 110px 20px 90px; }
.hero__fond { position: absolute; inset: -4%; z-index: 0; will-change: transform; }
.hero__fond img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: lent 28s ease-in-out infinite alternate; }
@keyframes lent { from { transform: scale(1.04) translate(0, 0); } to { transform: scale(1.14) translate(-1.5%, -1%); } }
.hero__braises { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; mix-blend-mode: screen; }
.hero__voile { position: absolute; inset: 0; z-index: 1; background:
  radial-gradient(ellipse 70% 55% at 50% 45%, rgb(7 11 24 / .15), rgb(7 11 24 / .6) 70%, rgb(7 11 24 / .92)),
  linear-gradient(180deg, rgb(7 11 24 / .55) 0%, transparent 22%, transparent 62%, var(--nuit) 100%); }
.hero__in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; }
.hero__titre { display: grid; justify-items: center; gap: 18px; }
.hero__logo { width: min(620px, 86vw); height: auto; filter: drop-shadow(0 10px 40px rgb(0 0 0 / .8)) drop-shadow(0 0 30px rgb(224 140 60 / .35));
  animation: logo 2.2s var(--ease) both, lueur 5s ease-in-out 2.2s infinite; }
@keyframes logo { from { opacity: 0; transform: scale(1.18); filter: blur(14px) drop-shadow(0 0 0 transparent); } to { opacity: 1; transform: none; } }
@keyframes lueur { 50% { filter: drop-shadow(0 10px 40px rgb(0 0 0 / .8)) drop-shadow(0 0 48px rgb(240 160 70 / .6)); } }
.hero__genre { font: 600 14px/1 var(--texte); letter-spacing: .34em; text-transform: uppercase; color: var(--or-clair); text-shadow: 0 2px 12px #000; animation: monte 1s var(--ease) .9s both; }
.hero__phrase { font: 400 clamp(20px, 2.1vw, 26px)/1.45 var(--titre); color: #f3e8cf; text-shadow: 0 2px 18px rgb(0 0 0 / .9); margin: 0; animation: monte 1s var(--ease) 1.2s both; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; animation: monte 1s var(--ease) 1.5s both; }
.plateformes { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; animation: monte 1s var(--ease) 1.8s both; }
.plateformes::before { content: "Coming soon to"; flex-basis: 100%; font: 600 12px/1 var(--texte); letter-spacing: .3em; text-transform: uppercase; color: var(--or); text-align: center; }
:lang(fr) .plateformes::before { content: "Bientôt sur"; }
.plateformes li { display: inline-flex; align-items: center; gap: 9px; font: 500 16px/1 var(--texte); color: var(--encre); text-shadow: 0 2px 10px #000; }
.plateformes img { filter: drop-shadow(0 2px 6px #000); }
@keyframes monte { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__bas { position: absolute; z-index: 2; bottom: 26px; left: 50%; width: 30px; height: 48px; margin-left: -15px; border-radius: 16px; box-shadow: 0 0 0 1.5px rgb(246 214 138 / .7) inset; }
.hero__bas span { position: absolute; left: 50%; top: 10px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--or-clair); animation: roulette 1.8s ease-in-out infinite; }
@keyframes roulette { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---------- 2. la pré-inscription ---------- */
.inscr { padding: clamp(80px, 10vw, 140px) 0; overflow: hidden; }
.inscr__fond { position: absolute; inset: 0; }
.inscr__fond img { width: 100%; height: 100%; object-fit: cover; opacity: .22; filter: saturate(1.1) blur(2px); }
.inscr__fond::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--nuit), rgb(7 11 24 / .55) 30%, rgb(7 11 24 / .55) 70%, var(--nuit)); }
.inscr__in { position: relative; display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 90px); align-items: center;
  padding: clamp(32px, 5vw, 64px); border-radius: 28px; background: linear-gradient(160deg, rgb(20 29 56 / .92), rgb(9 13 28 / .92));
  box-shadow: 0 0 0 1px rgb(224 176 79 / .35) inset, 0 40px 100px -40px rgb(0 0 0 / .9), 0 0 80px -30px rgb(224 176 79 / .35); }
.inscr__in::before, .inscr__in::after { content: ""; position: absolute; width: 46px; height: 46px; border: 2px solid var(--or); opacity: .8; }
.inscr__in::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 14px; }
.inscr__in::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 14px; }
.inscr__atouts { list-style: none; margin: 20px 0 26px; padding: 0; display: grid; gap: 12px; max-width: 60ch; }
.inscr__atouts li { position: relative; padding-left: 30px; color: #e6dcc4; font-size: 17px; line-height: 1.45; }
.inscr__atouts li::before { content: ""; position: absolute; left: 4px; top: .45em; width: 10px; height: 10px; background: var(--or); transform: rotate(45deg); box-shadow: 0 0 10px rgb(224 176 79 / .7); }
.inscr__atouts strong { color: var(--or-clair); font-weight: 600; }
.inscr__dos { position: relative; height: clamp(300px, 34vw, 420px); perspective: 1200px; }
.inscr__dos img { position: absolute; left: 50%; top: 50%; width: clamp(130px, 14vw, 190px); height: auto; border-radius: 10px; box-shadow: 0 20px 50px -10px rgb(0 0 0 / .85), 0 0 0 1px rgb(246 214 138 / .4);
  transform-origin: 50% 120%; --r: 0deg; --x: 0px; transform: translate(-50%, -50%) translateX(var(--x)) rotate(var(--r)); transition: transform .8s var(--ease); animation: flotte 6s ease-in-out infinite; }
.inscr__dos img:nth-child(1) { --r: -24deg; --x: -70px; animation-delay: -1s; }
.inscr__dos img:nth-child(2) { --r: -12deg; --x: -35px; animation-delay: -2s; }
.inscr__dos img:nth-child(3) { --r: 0deg; --x: 0px; z-index: 2; animation-delay: -3s; }
.inscr__dos img:nth-child(4) { --r: 12deg; --x: 35px; animation-delay: -4s; }
.inscr__dos img:nth-child(5) { --r: 24deg; --x: 70px; animation-delay: -5s; }
.inscr__dos:hover img:nth-child(1) { --r: -34deg; --x: -120px; }
.inscr__dos:hover img:nth-child(2) { --r: -17deg; --x: -60px; }
.inscr__dos:hover img:nth-child(4) { --r: 17deg; --x: 60px; }
.inscr__dos:hover img:nth-child(5) { --r: 34deg; --x: 120px; }
@keyframes flotte { 50% { translate: 0 -10px; } }
.form { margin-top: 26px; }
.form__ligne { display: flex; gap: 10px; padding: 6px; border-radius: 999px; background: rgb(4 7 16 / .7); box-shadow: 0 0 0 1px rgb(224 176 79 / .4) inset; }
.form__ligne input { flex: 1; min-width: 0; height: 48px; padding: 0 20px; border: 0; background: transparent; color: var(--encre); font: 400 17px var(--texte); outline: none; }
.form__ligne input::placeholder { color: #8f887a; }
.form__ligne:focus-within { box-shadow: 0 0 0 1px var(--or-clair) inset, 0 0 0 4px rgb(224 176 79 / .18); }
.form__ok { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-top: 16px; font-size: 15px; line-height: 1.5; color: var(--gris); cursor: pointer; }
.form__ok input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--or); }
.form__msg { min-height: 1.6em; margin: 14px 0 0; font-weight: 500; }
.form__msg.ok { color: #9fe08a; } .form__msg.err { color: #ff9b85; }
.pot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 860px) {
  .inscr__in { grid-template-columns: 1fr; }
  .inscr__dos { height: 240px; order: -1; scale: .72; margin: -20px 0; }
  .inscr__dos img { width: 140px; }
}
@media (max-width: 520px) { .form__ligne { flex-direction: column; border-radius: 18px; } .form__ligne .btn { width: 100%; } }

/* ---------- 3. la partie en vidéo ---------- */
.partie { padding: clamp(80px, 10vw, 130px) 0; background: radial-gradient(ellipse 60% 50% at 50% 60%, rgb(40 80 140 / .25), transparent 70%); }
.ecran { position: relative; border-radius: 22px; padding: 10px; background: linear-gradient(140deg, #f6d68a, #9c7426 40%, #f6d68a 60%, #7a5a1c);
  box-shadow: 0 50px 120px -40px rgb(0 0 0 / .95), 0 0 120px -40px rgb(80 160 230 / .5); }
.ecran__video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; background: #000; }
.ecran__pause { position: absolute; right: 26px; bottom: 26px; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; background: rgb(7 11 24 / .7); box-shadow: 0 0 0 1px rgb(246 214 138 / .5) inset; }
.ecran__pause span, .ecran__pause span::after { position: absolute; top: 15px; left: 16px; width: 4px; height: 14px; background: var(--encre); border-radius: 1px; }
.ecran__pause span::after { content: ""; top: 0; left: 8px; }
.ecran__pause.lecture span { left: 18px; width: 0; height: 0; background: none; border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent var(--encre); }
.ecran__pause.lecture span::after { display: none; }

/* ---------- 4. le monde ---------- */
.monde { padding: clamp(80px, 10vw, 130px) 0; }
.monde__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.monde__texte p:not(.surtitre) { font-size: 19px; color: #e6dcc4; }
.monde__texte h2 { margin-bottom: 26px; }
.monde__image { margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgb(224 176 79 / .35), 0 40px 90px -30px rgb(0 0 0 / .9); }
.monde__image img { width: 100%; height: auto; transition: transform 1.2s var(--ease); }
.monde__image:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .monde__in { grid-template-columns: 1fr; } }

/* ---------- 5. les protagonistes ---------- */
.heros { padding: clamp(80px, 9vw, 120px) 0 clamp(60px, 7vw, 90px); overflow: hidden; min-height: 100svh; }
.heros__fonds img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity 1.2s var(--ease), transform 8s ease-out; }
.heros__fonds img.actif { opacity: .42; transform: scale(1); }
.heros__fonds::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 11 24 / .25), rgb(7 11 24 / .55) 50%, rgb(7 11 24 / .92)), linear-gradient(180deg, var(--nuit), transparent 25%, transparent 70%, var(--nuit)); }
.heros__in { position: relative; }
.heros__scene { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.heros__bustes { position: relative; aspect-ratio: 1; max-height: 640px; }
.heros__bustes img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; opacity: 0; transform: translateX(-40px) scale(.96);
  transition: opacity .7s var(--ease), transform .9s var(--ease); filter: drop-shadow(0 30px 50px rgb(0 0 0 / .8)); }
.heros__bustes img.actif { opacity: 1; transform: none; animation: respire 7s ease-in-out infinite; }
@keyframes respire { 50% { transform: translateY(-8px) scale(1.01); } }
.fiche { --c: var(--or); }
.fiche[data-el="nature"] { --c: var(--nature); } .fiche[data-el="eau"] { --c: var(--eau); } .fiche[data-el="feu"] { --c: var(--feu); } .fiche[data-el="sacre"] { --c: var(--sacre); } .fiche[data-el="ombre"] { --c: var(--ombre); }
.fiche.actif { animation: fiche .8s var(--ease) both; }
@keyframes fiche { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.fiche__el { display: inline-block; font: 600 13px/1 var(--texte); letter-spacing: .24em; text-transform: uppercase; color: var(--c); padding: 8px 14px; border-radius: 999px; box-shadow: 0 0 0 1px var(--c) inset; margin-bottom: 18px; }
.fiche h3 { font-size: clamp(48px, 6vw, 86px); line-height: 1; text-shadow: 0 0 40px color-mix(in oklab, var(--c) 45%, transparent); }
.fiche__titre { font: 400 clamp(20px, 2vw, 26px)/1.3 var(--titre); color: var(--c); margin: 8px 0 22px; }
.fiche p:last-child { font-size: 19px; color: #e6dcc4; max-width: 38ch; min-height: 3.3em; }
.heros__choix { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.heros__choix button { --c: var(--or); position: relative; width: 74px; height: 74px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--nuit-3); overflow: hidden;
  box-shadow: 0 0 0 2px rgb(224 176 79 / .3); transition: transform .3s var(--ease), box-shadow .3s; }
.heros__choix button[data-el="nature"] { --c: var(--nature); } .heros__choix button[data-el="eau"] { --c: var(--eau); } .heros__choix button[data-el="feu"] { --c: var(--feu); } .heros__choix button[data-el="sacre"] { --c: var(--sacre); } .heros__choix button[data-el="ombre"] { --c: var(--ombre); }
.heros__choix img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: grayscale(.6) brightness(.75); transition: filter .3s; }
.heros__choix span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.heros__choix button:hover { transform: translateY(-3px); }
.heros__choix button:hover img, .heros__choix button[aria-selected="true"] img { filter: none; }
.heros__choix button[aria-selected="true"] { box-shadow: 0 0 0 3px var(--c), 0 0 26px var(--c); transform: translateY(-3px) scale(1.06); }
@media (max-width: 860px) {
  .heros__scene { grid-template-columns: 1fr; }
  .heros__bustes { max-width: 460px; width: 100%; margin-inline: auto; }
  .heros__choix { gap: 10px; flex-wrap: nowrap; }
  .heros__choix button { width: 56px; height: 56px; flex: 0 0 auto; }
}

/* ---------- 6. les modes ---------- */
.modes { padding: clamp(80px, 10vw, 130px) 0; background: linear-gradient(180deg, var(--nuit), var(--nuit-2) 40%, var(--nuit)); }
.modes__grille { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 300px; gap: 18px; }
.mode { position: relative; overflow: hidden; border-radius: 20px; background: #000; box-shadow: 0 0 0 1px rgb(224 176 79 / .28); transition: box-shadow .4s, transform .4s var(--ease); }
.mode--large { grid-row: span 2; }
.mode--long { grid-column: span 2; }
.mode > img, .mode > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: brightness(.8); }
.mode::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgb(5 8 18 / .95)); pointer-events: none; }
.mode:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--or), 0 30px 60px -20px rgb(0 0 0 / .9), 0 0 40px -10px rgb(224 176 79 / .5); }
.mode:hover > img, .mode:hover > video { transform: scale(1.07); filter: brightness(1); }
.mode__txt { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 26px; }
.mode__txt h3 { margin-bottom: 8px; }
.mode__txt p { margin: 0; color: #ddd2b8; font-size: 16px; line-height: 1.5; max-width: 42ch; }
.mode--secret > img, .mode--secret > video { filter: brightness(.6) saturate(.8); }
.mode--secret::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(circle at 50% 40%, transparent 30%, rgb(60 30 120 / .35)); }
.badge { display: inline-block !important; margin-bottom: 12px !important; font: 600 12px/1 var(--texte) !important; letter-spacing: .22em; text-transform: uppercase; color: #1a1206 !important;
  background: linear-gradient(180deg, #f8dc93, #e0b04f); padding: 8px 12px; border-radius: 999px; animation: battement 2.4s ease-in-out infinite; }
@keyframes battement { 50% { box-shadow: 0 0 0 6px rgb(224 176 79 / 0), 0 0 22px rgb(224 176 79 / .7); } }
@media (max-width: 960px) { .modes__grille { grid-template-columns: 1fr 1fr; grid-auto-rows: 260px; } .mode--long { grid-column: span 1; } .mode--large { grid-column: span 2; grid-row: span 1; } }
@media (max-width: 600px) { .modes__grille { grid-template-columns: 1fr; } .mode--large { grid-column: span 1; } }

/* ---------- 7. les gardiens ---------- */
.gardiens { padding: clamp(80px, 10vw, 130px) 0 clamp(60px, 8vw, 110px); overflow: hidden;
  background: radial-gradient(ellipse 80% 50% at 50% 85%, rgb(120 50 20 / .35), transparent 70%), radial-gradient(ellipse 50% 40% at 50% 100%, rgb(224 176 79 / .18), transparent 70%); }
.gardiens .enc { width: min(1400px, 100% - 32px); }
.gardiens__rang { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; align-items: flex-end; }
.gardiens__rang li { --c: var(--or); position: relative; flex: 1 1 0; max-width: 240px; margin: 0 -10px; text-align: center; transition: transform .5s var(--ease), z-index 0s .2s; }
.gardiens__rang li[data-el="nature"] { --c: var(--nature); } .gardiens__rang li[data-el="eau"] { --c: var(--eau); } .gardiens__rang li[data-el="feu"] { --c: var(--feu); } .gardiens__rang li[data-el="ombre"] { --c: var(--ombre); } .gardiens__rang li[data-el="sacre"] { --c: var(--sacre); } .gardiens__rang li[data-el="neutre"] { --c: var(--neutre); }
.gardiens__rang li:nth-child(1), .gardiens__rang li:nth-child(7) { transform: scale(.86); }
.gardiens__rang li:nth-child(2), .gardiens__rang li:nth-child(6) { transform: scale(.93); }
.gardiens__roi { max-width: 270px !important; z-index: 2; }
.gardiens__rang img { width: 100%; height: auto; filter: drop-shadow(0 20px 30px rgb(0 0 0 / .9)) brightness(.82); animation: plane 6s ease-in-out infinite; animation-delay: calc(var(--i) * -.9s); transition: filter .4s; }
@keyframes plane { 50% { translate: 0 -12px; } }
.gardiens__rang span { position: absolute; left: 50%; bottom: -8px; transform: translate(-50%, 8px); white-space: nowrap; font: 400 18px/1 var(--titre); color: var(--c); opacity: 0; transition: opacity .3s, transform .3s; text-shadow: 0 2px 10px #000; }
.gardiens__rang li:hover, .gardiens__rang li:focus-within { transform: scale(1.06); z-index: 3; }
.gardiens__rang li:hover img { filter: drop-shadow(0 20px 30px rgb(0 0 0 / .9)) drop-shadow(0 0 26px var(--c)) brightness(1.05); }
.gardiens__rang li:hover span { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .gardiens__rang span { opacity: .9; transform: translate(-50%, 0); font-size: 14px; } }
@media (max-width: 760px) {
  .gardiens__rang { flex-wrap: wrap; gap: 26px 0; }
  .gardiens__rang li { flex: 0 0 33.33%; max-width: none; margin: 0; transform: none !important; }
  .gardiens__roi { order: -1; flex-basis: 60% !important; max-width: none !important; }
  .gardiens__rang span { font-size: 13px; }
}

/* ---------- 8. la collection ---------- */
.collec { padding: clamp(80px, 10vw, 130px) 0 0; }
.collec__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.collec__cartes { position: relative; height: clamp(360px, 40vw, 520px); perspective: 1400px; }
.collec__cartes img { position: absolute; top: 50%; left: 50%; width: clamp(170px, 18vw, 250px); height: auto; border-radius: 12px;
  box-shadow: 0 0 0 2px rgb(246 214 138 / .55), 0 30px 60px -15px rgb(0 0 0 / .9); transition: transform .8s var(--ease); transform-style: preserve-3d; }
.collec__cartes .c1 { transform: translate(-50%, -50%) translateX(-58%) rotate(-12deg) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
.collec__cartes .c2 { z-index: 2; transform: translate(-50%, -54%) scale(1.08) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
.collec__cartes .c3 { transform: translate(-50%, -50%) translateX(58%) rotate(12deg) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
.collec__cartes:hover .c1 { transform: translate(-50%, -50%) translateX(-78%) rotate(-16deg) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
.collec__cartes:hover .c3 { transform: translate(-50%, -50%) translateX(78%) rotate(16deg) rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); }
@media (max-width: 860px) { .collec__in { grid-template-columns: 1fr; } .collec__texte { order: -1; } }

.defile { overflow: hidden; padding: 50px 0; mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.defile__piste { display: flex; gap: 22px; width: max-content; animation: defile 60s linear infinite; }
.defile:hover .defile__piste { animation-play-state: paused; }
.defile__piste--dos img { width: 150px; height: auto; border-radius: 9px; box-shadow: 0 16px 30px -10px #000, 0 0 0 1px rgb(246 214 138 / .35); transition: transform .4s var(--ease); }
.defile__piste--dos img:hover { transform: translateY(-10px) rotate(-3deg); }
.defile__piste--cine { animation-duration: 80s; animation-direction: reverse; }
.defile__piste--cine img { width: clamp(320px, 34vw, 520px); aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 1px rgb(224 176 79 / .3), 0 24px 50px -20px #000; filter: brightness(.85); transition: filter .4s, transform .6s var(--ease); }
.defile__piste--cine img:hover { filter: none; transform: scale(1.03); }
@keyframes defile { to { transform: translateX(-50%); } }

/* ---------- 9. le récit ---------- */
.recit { padding: clamp(60px, 8vw, 110px) 0 20px; }

/* ---------- 10. Discord ---------- */
.discord { padding: clamp(100px, 12vw, 170px) 0; text-align: center; overflow: hidden; }
.discord__fond { position: absolute; inset: 0; }
.discord__fond img { width: 100%; height: 100%; object-fit: cover; }
.discord__fond::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 50% 50%, rgb(7 11 24 / .55), rgb(7 11 24 / .9)), linear-gradient(180deg, var(--nuit), transparent 25%, transparent 75%, var(--nuit)); }
.discord__in { position: relative; display: grid; justify-items: center; gap: 22px; }
.discord__logo { width: 72px; height: 72px; filter: drop-shadow(0 0 30px rgb(88 101 242 / .8)); animation: flotte 5s ease-in-out infinite; }
.discord .chapo { text-shadow: 0 2px 12px #000; }

/* ---------- 11. les questions ---------- */
.faq { padding: clamp(80px, 10vw, 130px) 0; }
.faq details { border-bottom: 1px solid rgb(224 176 79 / .25); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 44px 24px 0; position: relative; font: 400 clamp(19px, 1.8vw, 23px)/1.3 var(--titre); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--or); border-bottom: 2px solid var(--or); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { color: #ddd2b8; padding-bottom: 22px; margin: 0; }

/* ---------- pied ---------- */
.pied { padding: 90px 0 30px; background: radial-gradient(ellipse 60% 70% at 50% 30%, rgb(224 176 79 / .12), transparent 70%), #04060e; border-top: 1px solid rgb(224 176 79 / .2); }
.pied__appel { display: grid; justify-items: center; gap: 18px; text-align: center; padding: 0 24px 70px; }
.pied__logo { width: min(340px, 70vw); height: auto; }
.pied__appel p { font: 400 22px/1.3 var(--titre); color: var(--or-clair); margin: 0; }
.pied__bas { display: flex; flex-wrap: wrap; gap: 16px 30px; justify-content: space-between; font-size: 14px; color: var(--gris); padding-top: 26px; border-top: 1px solid rgb(224 176 79 / .15); }
.pied__bas nav { display: flex; gap: 22px; flex-wrap: wrap; }
.pied__bas a { color: var(--gris); text-decoration: none; }
.pied__bas a:hover { color: var(--or-clair); }

/* ---------- apparitions au défilement ---------- */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.vu { opacity: 1; transform: none; }
.modes__grille .reveal:nth-child(2) { transition-delay: .08s; } .modes__grille .reveal:nth-child(3) { transition-delay: .16s; }
.modes__grille .reveal:nth-child(4) { transition-delay: .08s; } .modes__grille .reveal:nth-child(5) { transition-delay: .16s; } .modes__grille .reveal:nth-child(6) { transition-delay: .24s; } .modes__grille .reveal:nth-child(7) { transition-delay: .32s; }

/* ---------- mouvement réduit : tout se pose ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__braises { display: none; }
}
/* L'éditeur, Billion Games, dans le pied de page (1er décembre 2026). */
.pied__bas { align-items: center; }
.pied__editeur { display: inline-flex; align-items: center; gap: 14px; }
.pied__editeur img { height: 64px; width: auto; }
