/* ============================================================
   CHÂTEAU — UNIVERS MAGIQUE · MLO exclusif FiveM
   Style : NOIR & OR — luxe / prestige
   ============================================================ */

:root {
  --bg:        #0a0a0c;
  --bg-soft:   #101013;
  --surface:   #131316;
  --surface-2: #1a1a1f;
  --line:      rgba(212, 175, 110, 0.16);
  --line-soft: rgba(255, 255, 255, 0.06);

  --gold:      #d4af6e;
  --gold-soft: #e8cf9a;
  --gold-deep: #b88a3e;

  --text:      #f3f0ea;
  --muted:     #a39e93;
  --muted-2:   #6f6a60;

  --radius:    16px;
  --radius-lg: 24px;
  --maxw:      1180px;
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

/* Lenis (smooth scroll) — neutralise le conflit avec scroll-behavior */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .nav__logo-text { font-family: "Cinzel", serif; }
a { color: inherit; text-decoration: none; }
em { color: var(--muted-2); font-style: italic; }

/* ---------- Fond ---------- */
.bg-stars {
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(1.5px 1.5px at 20% 30%, rgba(232,207,154,.55), transparent),
    radial-gradient(1px 1px at 60% 70%, rgba(255,255,255,.35), transparent),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(212,175,110,.5), transparent),
    radial-gradient(1px 1px at 35% 80%, rgba(255,255,255,.25), transparent),
    radial-gradient(1.5px 1.5px at 90% 60%, rgba(212,175,110,.4), transparent),
    radial-gradient(1px 1px at 10% 60%, rgba(255,255,255,.2), transparent);
  background-repeat: repeat;
  background-size: 700px 700px;
  opacity: .45;
  animation: drift 140s linear infinite;
  display: none;            /* désactivé : c'était la source du "trait" doré aux jointures */
}
@keyframes drift { to { background-position: 700px 700px; } }

.bg-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  display: none;            /* désactivé : lueur dorée fixe = source du "trait" doré aux jointures */
  background:
    radial-gradient(55% 45% at 50% -8%, rgba(212,175,110,.18), transparent 70%),
    radial-gradient(40% 40% at 88% 18%, rgba(212,175,110,.07), transparent 70%),
    radial-gradient(45% 45% at 8% 92%, rgba(184,138,62,.10), transparent 70%);
}

/* ---------- Barre de progression ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0%;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft));
  z-index: 1000; box-shadow: 0 0 10px rgba(212,175,110,.6);
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px clamp(18px, 5vw, 54px);
  transition: background .4s var(--ease), padding .4s var(--ease), border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,12,.78);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  padding-top: 14px; padding-bottom: 14px;
}
.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo-mark { color: var(--gold); font-size: 20px; text-shadow: 0 0 16px rgba(212,175,110,.6); }
.nav__logo-text {
  display: flex; flex-direction: column; line-height: 1;
  font-weight: 700; letter-spacing: 3px; font-size: 15px;
}
.nav__logo-text small { font-size: 8px; letter-spacing: 3.5px; color: var(--muted-2); margin-top: 5px; }
.nav__links { display: flex; gap: 32px; }
.nav__right { display: flex; align-items: center; gap: 16px; }
/* Sélecteur de langue */
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 100px;
  color: var(--text); padding: 8px 12px; font-size: 13px; font-weight: 600; letter-spacing: .5px; transition: border-color .25s, background .25s; }
.lang__btn:hover { border-color: var(--gold); }
.lang__flag { font-size: 15px; }
.lang__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 178px; list-style: none; margin: 0; padding: 6px;
  background: rgba(16,16,20,.97); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 24px 60px rgba(0,0,0,.6);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility .2s; z-index: 60; }
.lang.open .lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lang__menu button { width: 100%; text-align: left; background: none; border: 0; cursor: pointer; color: var(--text);
  font-size: 14px; padding: 10px 12px; border-radius: 9px; transition: background .2s, color .2s; }
.lang__menu button:hover { background: rgba(212,175,110,.12); color: var(--gold-soft); }
.lang__menu button.is-active { color: var(--gold); }
@media (max-width: 860px) { .nav__links { display: none; } }
.nav__links a { font-size: 13.5px; color: var(--muted); font-weight: 500; letter-spacing: .3px; position: relative; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0; background: var(--gold); transition: width .35s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14.5px; cursor: pointer; letter-spacing: .3px;
  padding: 13px 26px; border-radius: 100px; border: 1px solid transparent;
  transition: transform .25s var(--ease), box-shadow .3s, background .3s, color .3s;
  white-space: nowrap;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold) 55%, var(--gold-deep));
  color: #1a1407; box-shadow: 0 8px 26px -8px rgba(212,175,110,.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -8px rgba(212,175,110,.7); }
.btn--ghost { background: rgba(255,255,255,.03); color: var(--text); border-color: var(--line); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(212,175,110,.08); border-color: var(--gold); transform: translateY(-2px); }
.btn--lg { padding: 16px 32px; font-size: 15.5px; }
.btn--xl { padding: 19px 42px; font-size: 17px; }
.nav__cta { padding: 11px 24px; font-size: 13.5px; }

/* ---------- Particules dorées (magie) ---------- */
.embers { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.ember {
  position: absolute; bottom: -20px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--gold-soft); box-shadow: 0 0 8px 2px rgba(233,207,154,.7);
  opacity: 0; animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  10%  { opacity: .9; }
  90%  { opacity: .7; }
  100% { transform: translateY(-105vh) translateX(var(--drift, 30px)) scale(.3); opacity: 0; }
}

/* ---------- Utilitaires ---------- */
.text-gradient {
  background: linear-gradient(100deg, var(--gold-soft), var(--gold) 50%, var(--gold-deep));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.shimmer {
  background: linear-gradient(100deg, var(--gold-deep) 0%, var(--gold-soft) 25%, #fff5e0 50%, var(--gold-soft) 75%, var(--gold-deep) 100%);
  background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
/* « V2 » du titre d'intro : OR VIF et lumineux (pas de bronze foncé), brillant de haut en bas */
.hero__title .text-gradient,
.hero__title .shimmer {
  background: linear-gradient(180deg, #fff3cf 0%, #f6db97 40%, #ecc879 70%, #f3d488 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: none;
  filter: drop-shadow(0 2px 14px rgba(0,0,0,.5));
}
@keyframes shimmer { to { background-position: 220% center; } }
.eyebrow { display: inline-block; font-size: 11.5px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 20px; }
.eyebrow--center { display: block; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 500; letter-spacing: .5px; color: var(--gold-soft);
  background: rgba(212,175,110,.07); border: 1px solid var(--line);
  padding: 8px 18px; border-radius: 100px; margin-bottom: 28px;
}
.badge__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 120px clamp(18px, 5vw, 54px) 90px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__img {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,.35), rgba(10,10,12,.9)),
    radial-gradient(70% 70% at 50% 0%, #221c12, #0a0a0c 72%);
  background-size: cover; background-position: center;
  transform-origin: 50% 50%; will-change: transform;
}
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,12,.2) 0%, rgba(10,10,12,.55) 55%, var(--bg) 100%); }
/* Voile sombre léger pour la lisibilité du titre sur le paysage. */
.hero__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 45%, rgba(6,6,10,.15), rgba(6,6,10,.55) 70%, rgba(6,6,10,.8)); }

/* FOND NOIR plein écran (DIV) : opacity 0 → 1 pendant que le titre zoome+disparaît, pour laisser place à la date. */
.hero__dark { position: absolute; inset: 0; z-index: 2; background: #06060a; opacity: 0; }

/* ===== LE TITRE : présent dès le début, au milieu ; zoome vers l'écran et disparaît au scroll ===== */
.hero__title {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 0.9; letter-spacing: 2px;
  font-family: "Cinzel", serif; font-weight: 800; font-size: clamp(46px, 11vw, 156px);
  color: #f2e6c8;
  text-shadow: 0 10px 50px rgba(0,0,0,.75), 0 3px 16px rgba(0,0,0,.7);
  transform-origin: 50% 50%; will-change: transform, opacity;
}
/* perf : pas de dégradé animé ni de drop-shadow pendant le zoom du logo (sinon ça rame) */
.hero__cine-title .shimmer { animation: none; }
/* perf : pas de dégradé animé ni de drop-shadow pendant le zoom du logo (sinon ça rame) */
.hero__cine-title .shimmer { animation: none; }

/* Le logo qui revient se loger en haut une fois le titre traversé */
.hero__logo {
  position: absolute; top: clamp(94px, 13vh, 140px); left: 50%; transform: translateX(-50%);
  z-index: 7; opacity: 0; pointer-events: none; white-space: nowrap;
  font-family: "Cinzel", serif; font-weight: 700; letter-spacing: 3px;
  font-size: clamp(14px, 2.2vw, 22px); color: var(--text); text-shadow: 0 2px 20px rgba(0,0,0,.7);
}

/* 1re révélation : la date de sortie */
.hero__date { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 14px; opacity: 0; z-index: 5; padding: 24px; }
.hero__date-big { font-family: "Cinzel", serif; font-size: clamp(44px, 9vw, 116px); font-weight: 800; line-height: 1.02; letter-spacing: -1px; filter: drop-shadow(0 0 44px rgba(212,175,110,.5)); }

/* Message « Pourquoi la V2 ? » qui surgit quand on a zoomé dans le noir */
.hero__reveal { position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center; gap: 16px; opacity: 0; z-index: 5; padding: 24px; }
.hero__reveal-title { font-family: "Cinzel", serif; font-size: clamp(40px, 8vw, 96px); font-weight: 800; line-height: 1.02; letter-spacing: -1px; filter: drop-shadow(0 0 40px rgba(212,175,110,.4)); }
.hero__reveal-text { max-width: 620px; font-size: clamp(15px, 2vw, 19px); color: var(--muted); line-height: 1.65; }
.hero__reveal-meta { display: inline-flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.hero__reveal-actions { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* CHT014 qui apparaît en dézoomant à la fin du hero */
.hero__cht { position: absolute; inset: 0; z-index: 8; opacity: 0; overflow: hidden; will-change: transform, opacity; }
.hero__cht-img { position: absolute; inset: 0; background-size: cover; background-position: center; background-color: var(--surface-2); will-change: transform; }
.hero__cht-msg { will-change: transform, opacity; }
.hero__cht-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 14px; text-align: center; padding: 24px;
  background: linear-gradient(0deg, rgba(6,6,10,.7), rgba(6,6,10,.15) 55%, rgba(6,6,10,.4)); }
.hero__cht-quote { font-family: "Cinzel", serif; font-size: clamp(24px, 4.5vw, 52px); font-weight: 600; color: var(--gold-soft); text-shadow: 0 4px 30px rgba(0,0,0,.85); }

/* LE MAGISTÈRE en overlay du hero : arrive EN DÉZOOMANT, dans la même séquence épinglée (aucun écran qui descend). */
.hero__mag { position: absolute; inset: 0; z-index: 9; opacity: 0; overflow: hidden; display: flex; align-items: center; }
.hero__chateau { z-index: 10; }
.hero__arene { z-index: 11; }
/* CITATION (overlay du hero) : image plein écran + texte centré, comme une scène */
.hero__quote { z-index: 12; display: grid; place-items: center; text-align: center; }
.hero__quote-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(0deg, rgba(6,6,10,.7), rgba(6,6,10,.3) 50%, rgba(6,6,10,.7)),
              radial-gradient(60% 60% at 50% 50%, transparent, rgba(6,6,10,.5)); }
.hero__quote-text { position: relative; z-index: 2; font-family: "Cinzel", serif; font-weight: 600;
  font-size: clamp(22px, 4vw, 46px); color: var(--gold-soft); max-width: 900px; line-height: 1.35;
  padding: 0 24px; text-shadow: 0 4px 30px rgba(0,0,0,.85); }
.hero__mag-img { position: absolute; inset: -2%; z-index: 0; background-size: cover; background-position: center; background-color: var(--surface-2); will-change: transform; }
.hero__mag-scrim { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(6,6,10,.88) 0%, rgba(6,6,10,.55) 40%, rgba(6,6,10,.15) 72%); }
.hero__mag .spotlight__inner { position: relative; z-index: 2; }
.hero__mag-inner { max-width: 40%; }
.hero__mag-hint { margin-top: 22px; font-size: 13px; letter-spacing: .5px; color: var(--gold); opacity: .85; }
/* Les PHOTOS de l'intérieur qui défilent à droite, une par une, EN PAYSAGE (titre reste à gauche) */
.hero__mag-shots { position: absolute; right: clamp(20px, 5vw, 84px); top: 50%; transform: translateY(-50%); z-index: 3;
  width: min(52vw, 680px); height: min(42vh, 400px); pointer-events: none; }
.hero__mag-shot { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; }
.hero__mag-shot-img { position: absolute; inset: 0; border-radius: 14px; background-size: cover; background-position: center;
  background-color: var(--surface-2); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.hero__mag-shot-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 46px 20px 18px; border-radius: 0 0 14px 14px;
  background: linear-gradient(0deg, rgba(6,6,10,.94), rgba(6,6,10,.4) 60%, transparent); }
.hero__mag-shot-cap strong { display: block; font-family: "Cinzel", serif; font-size: 16px; color: #fff; }
.hero__mag-shot-cap span { display: block; font-size: 13px; color: var(--gold-soft); margin-top: 4px; line-height: 1.4; }
@media (max-width: 860px) {
  .hero__mag-inner { max-width: none; }
  .hero__mag-shots { position: absolute; right: 16px; left: 16px; width: auto; height: 42vh; top: auto; bottom: 6vh; transform: none; }
}

/* Fallback (mouvement réduit / pas de GSAP) : paysage + titre + message empilés, jamais d'écran noir */
.hero.is-static { display: block; min-height: auto; padding: 0; }
.hero.is-static .hero__media,
.hero.is-static .hero__scrim { position: absolute; inset: 0; height: 80vh; }
.hero.is-static .hero__title { position: absolute; inset: 0; height: 80vh; transform: none; opacity: 1; }
.hero.is-static .hero__reveal { position: relative; inset: auto; opacity: 1; margin-top: 80vh; padding: 48px 24px 80px; }
.hero.is-static .hero__dark,
.hero.is-static .hero__cht,
.hero.is-static .hero__date,
.hero.is-static .hero__scroll { display: none; }
.hero__scroll { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted-2); }
.hero__scroll-line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: scrollLine 2.2s var(--ease) infinite; }
@keyframes scrollLine { 0% { opacity:0; transform: scaleY(.3); transform-origin: top;} 50%{opacity:1;} 100%{opacity:0; transform: scaleY(1); transform-origin: bottom;} }

/* ---------- SPOTLIGHT (style GTA VI : image plein écran + titre/texte à gauche) ---------- */
.spotlight { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.spotlight__img { position: absolute; inset: -6%; z-index: -2; background-size: cover; background-position: center; will-change: transform;
  background-image: radial-gradient(70% 70% at 60% 40%, #221c12, #0a0a0c 75%); }
/* voile sombre à gauche pour rendre le texte lisible (clair à droite, comme GTA VI) */
.spotlight__scrim { position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6,6,10,.94) 0%, rgba(6,6,10,.7) 30%, rgba(6,6,10,.18) 58%, rgba(6,6,10,0) 80%),
    linear-gradient(0deg, rgba(6,6,10,.75) 0%, rgba(6,6,10,0) 38%),
    linear-gradient(180deg, rgba(6,6,10,.55) 0%, rgba(6,6,10,0) 22%); }
.spotlight__inner { position: relative; z-index: 1; max-width: 640px; padding: 0 clamp(20px, 7vw, 112px); }
.spotlight__eyebrow { display: inline-block; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.spotlight__title { font-family: "Cinzel", serif; font-weight: 800; line-height: .96; letter-spacing: -1px;
  font-size: clamp(46px, 9vw, 124px); margin-bottom: 22px; text-shadow: 0 6px 50px rgba(0,0,0,.7); }
.spotlight__desc { font-size: clamp(16px, 2.1vw, 22px); line-height: 1.55; color: #ead9b8; max-width: 470px; }
.spotlight__desc strong { color: #fff; }
@media (max-width: 760px) {
  .spotlight__scrim { background: linear-gradient(180deg, rgba(6,6,10,.55) 0%, rgba(6,6,10,.55) 40%, rgba(6,6,10,.9) 100%); }
  .spotlight__inner { max-width: none; }
}

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(212,175,110,.05), rgba(212,175,110,.02)); padding: 16px 0; }
.marquee__track { display: flex; gap: 40px; white-space: nowrap; animation: marquee 30s linear infinite; }
.marquee__track span { font-family: "Cinzel", serif; font-size: 14px; letter-spacing: 4px; color: var(--muted); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: clamp(72px, 11vw, 150px) clamp(18px, 5vw, 40px); }
.section--wide { max-width: 1360px; }
.section__head { max-width: 720px; margin-bottom: 66px; }
.section__title { font-size: clamp(30px, 5vw, 58px); font-weight: 700; line-height: 1.08; letter-spacing: -.5px; }
.section__title--center { text-align: center; }
.section__lead { margin-top: 24px; font-size: clamp(15px, 2vw, 19px); color: var(--muted); max-width: 600px; }
.section__lead--center { margin-inline: auto; text-align: center; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 30px; }
.stat { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 32px 24px; text-align: center; position: relative; overflow: hidden; transition: border-color .35s; }
.stat:hover { border-color: var(--line); }
.stat::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5; }
.stat__num { font-family: "Cinzel", serif; font-size: clamp(30px, 4vw, 46px); font-weight: 700; color: var(--gold-soft); }
.stat__plus { font-family: "Cinzel"; font-size: 26px; color: var(--gold-soft); }
.stat__label { display: block; margin-top: 10px; font-size: 12px; color: var(--muted-2); letter-spacing: 1.5px; text-transform: uppercase; }

/* ---------- Compte à rebours ---------- */
.section--countdown { text-align: center; padding-top: clamp(50px, 8vw, 90px); }
.countdown { max-width: 760px; margin: 0 auto; }
.timer { display: flex; justify-content: center; gap: clamp(10px, 2.5vw, 22px); margin: 40px 0 30px; flex-wrap: wrap; }
.timer__cell {
  min-width: clamp(74px, 16vw, 120px);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 14px; position: relative; overflow: hidden;
}
.timer__cell::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .55; }
.timer__num { display: block; font-family: "Cinzel", serif; font-size: clamp(34px, 6vw, 56px); font-weight: 700; color: var(--gold-soft); line-height: 1; }
.timer__label { display: block; margin-top: 10px; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); }

/* ---------- Objectifs (sélection) ---------- */
.goals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 680px; margin: 44px auto 0; text-align: left; }
.goal { display: flex; align-items: center; gap: 12px; background: rgba(10,10,12,.5); border: 1px solid var(--line-soft); border-radius: 100px; padding: 14px 22px; font-size: 14.5px; color: var(--text); }
.goal__mark { color: var(--gold); font-size: 13px; }

/* ---------- Showcase (zoom au scroll) ---------- */
.showcase { margin-bottom: 28px; }
.showcase__frame { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0,0,0,.85); }
.showcase__img { height: clamp(320px, 60vh, 640px); background-size: cover; background-position: center; transform: scale(1.15); will-change: transform; transition: transform .2s linear; display: grid; place-items: center; }
.showcase figcaption { text-align: center; margin-top: 16px; font-size: 13.5px; color: var(--muted-2); font-style: italic; letter-spacing: .5px; }

/* ---------- Zoom cinématique (façon GTA VI) ---------- */
.cinema { position: relative; height: 240vh; }     /* la hauteur = "durée" du scroll */
.cinema__sticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: grid; place-items: center;
}
.cinema__img {
  position: absolute; inset: 0; z-index: -2;
  background-color: var(--surface-2); background-size: cover; background-position: center;
  transform: scale(1); transform-origin: center center; will-change: transform;
}
.cinema__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(70% 70% at 50% 50%, transparent, rgba(7,6,9,.65)),
    linear-gradient(0deg, var(--bg), transparent 22%, transparent 78%, var(--bg));
}
.cinema__content { text-align: center; padding: 0 24px; z-index: 1; }
.cinema__title { font-size: clamp(44px, 9vw, 110px); font-weight: 800; line-height: 1; letter-spacing: -1px; margin-bottom: 18px; text-shadow: 0 6px 50px rgba(0,0,0,.8); }
.cinema__text { font-size: clamp(16px, 2vw, 21px); color: var(--muted); max-width: 560px; margin: 0 auto; text-shadow: 0 2px 16px rgba(0,0,0,.9); }
.section--interiors { padding-top: clamp(50px, 7vw, 90px); }
.gallery--dense { grid-auto-rows: 250px; grid-auto-flow: dense; }

/* ---------- Bandes de transition (parallax) ---------- */
.band {
  position: relative; min-height: 62vh; margin-top: -2px;   /* ferme l'interstice après la section épinglée */
  display: grid; place-items: center; text-align: center;
  padding: 80px clamp(20px, 6vw, 60px); overflow: hidden;
  /* cache NOIR au-dessus (box-shadow non rognée par overflow) → bloque la lueur dorée qui passait dans l'interstice */
  box-shadow: 0 -6px 0 0 var(--bg);
}
.band__bg {
  position: absolute; inset: -35%; z-index: -2;   /* TRÈS surdimensionné : le déplacement parallaxe ne montre JAMAIS le bord */
  background-color: var(--surface-2); background-size: cover; background-position: center;
  will-change: transform;                  /* effet parallaxe via GSAP (PAS de background-fixed → plus de trait) */
}
.band__overlay {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, var(--bg), rgba(7,6,9,.35) 35%, rgba(7,6,9,.35) 65%, var(--bg)),
    radial-gradient(60% 60% at 50% 50%, transparent, rgba(7,6,9,.5));
}
.band__quote {
  font-family: "Cinzel", serif; font-size: clamp(22px, 4vw, 44px); font-weight: 600;
  color: var(--gold-soft); max-width: 900px; line-height: 1.35;
  text-shadow: 0 4px 30px rgba(0,0,0,.8);
}
.band__msg { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.band--intro { min-height: 88vh; }
/* l'image CHT014 doit pouvoir zoomer (pas de parallaxe fixe ici) */
.band--intro .band__bg { background-attachment: scroll; will-change: transform; }

/* V1 → V2 qui apparaît en zoomant (épinglé), puis testable */
.section--zoomba { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; gap: 30px; }
.section--zoomba .ba { transform-origin: center center; will-change: transform, opacity; transform: translateZ(0); }
.gallery__item--soon { border-style: dashed; border-color: var(--line); background: rgba(255,255,255,.015); }
.gallery__item--soon .gallery__img { position: relative; }
.gallery__item--soon:hover { border-color: var(--gold); }

/* ---------- Avant / Après (comparateur) ---------- */
.ba {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 40px 90px -30px rgba(0,0,0,.85);
  user-select: none; cursor: ew-resize; touch-action: none;
}
.ba__img { position: absolute; inset: 0; background-color: var(--surface-2); background-size: cover; background-position: center; display: grid; place-items: center; }
.ba__img--before { clip-path: inset(0 50% 0 0); } /* la moitié gauche visible par défaut */
.ba__tag {
  position: absolute; top: 16px; z-index: 4;
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600;
  padding: 7px 14px; border-radius: 100px;
  background: rgba(10,10,12,.65); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.ba__tag--before { left: 16px; color: var(--muted); }
.ba__tag--after { right: 16px; color: var(--gold-soft); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; z-index: 5; transform: translateX(-50%); pointer-events: none; }
.ba__line { position: absolute; inset: 0; background: linear-gradient(var(--gold-soft), var(--gold), var(--gold-deep)); box-shadow: 0 0 16px rgba(212,175,110,.7); }
.ba__grip {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); color: #1a1407;
  display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,.5);
}

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 18px; margin-top: 28px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); cursor: pointer; transition: border-color .35s; }
.gallery__item:hover { border-color: var(--gold); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }
.gallery__img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .8s var(--ease); display: grid; place-items: center; }
.gallery__item:hover .gallery__img { transform: scale(1.07); }
.gallery__cap { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-size: 14px; font-weight: 600; color: #fff; letter-spacing: .3px; text-shadow: 0 2px 12px rgba(0,0,0,.9); opacity: 0; transform: translateY(8px); transition: .4s var(--ease); }
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,10,12,.88)); opacity: 0; transition: .4s; z-index: 1; }
.gallery__item:hover .gallery__cap { opacity: 1; transform: translateY(0); }
.gallery__item:hover::after { opacity: 1; }
/* Légendes AVEC description (intérieurs) : toujours visibles, dégradé de lisibilité */
div.gallery__cap { left: 0; right: 0; bottom: 0; padding: 46px 18px 16px; opacity: 1; transform: none;
  background: linear-gradient(0deg, rgba(6,6,10,.95) 0%, rgba(6,6,10,.5) 58%, transparent); }
.gallery__cap strong { display: block; font-family: "Cinzel", serif; font-size: 15px; font-weight: 700; color: #fff; }
.gallery__cap span { display: block; font-size: 12.5px; font-weight: 400; color: var(--gold-soft); line-height: 1.4; margin-top: 3px; }
/* écriture qui se révèle mot par mot (scène Magistère) */
.js-split .w { display: inline-block; }

/* Galerie « intérieurs » : disposition plus aérée et régulière (2 colonnes, grandes tuiles) */
.gallery--mag { grid-template-columns: repeat(2, 1fr); grid-auto-rows: clamp(220px, 30vw, 340px); }
.gallery--mag .gallery__item--full { grid-column: 1 / -1; }
.gallery__item { cursor: zoom-in; }

/* ---------- LIGHTBOX (photo agrandie au clic) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: flex; align-items: center; justify-content: center;
  padding: clamp(16px, 4vw, 60px); background: rgba(5,5,8,.94); backdrop-filter: blur(6px);
  opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility .3s; cursor: zoom-out; }
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__img { width: min(1400px, 94vw); height: min(86vh, 80vw); border-radius: 12px;
  background-size: contain; background-position: center; background-repeat: no-repeat;
  filter: drop-shadow(0 30px 90px rgba(0,0,0,.7)); transform: scale(.94); transition: transform .3s var(--ease); }
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__close { position: absolute; top: clamp(14px, 3vw, 30px); right: clamp(16px, 3vw, 36px);
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(20,20,26,.7);
  color: #fff; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center;
  transition: border-color .25s, background .25s; }
.lightbox__close:hover { border-color: var(--gold); background: rgba(40,32,16,.8); }

/* Placeholder photo */
.gallery__img, .showcase__img { background-color: var(--surface-2); }
.ph-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); border: 1px dashed var(--line); padding: 8px 14px; border-radius: 100px; background: rgba(10,10,12,.4); }
.has-img .ph-label { display: none; }

/* ---------- Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 36px 30px; transition: transform .35s var(--ease), border-color .35s, background .35s; }
.feature:hover { transform: translateY(-6px); border-color: var(--gold); background: var(--surface-2); }
.feature__icon { font-size: 28px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 14px; background: rgba(212,175,110,.08); border: 1px solid var(--line); margin-bottom: 22px; }
.feature h3 { font-size: 19px; margin-bottom: 10px; letter-spacing: .3px; }
.feature p { font-size: 14.5px; color: var(--muted); }

/* ---------- Exclusivité ---------- */
.section--exclu { position: relative; }
.exclu { background: linear-gradient(180deg, var(--surface), var(--bg-soft)); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(42px, 7vw, 84px); text-align: center; position: relative; overflow: hidden; }
.exclu::before { content: "✦"; position: absolute; top: -34px; right: -8px; font-size: 210px; color: rgba(212,175,110,.04); pointer-events: none; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; text-align: left; }
.step { background: rgba(10,10,12,.5); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 30px 26px; }
.step__num { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-family: "Cinzel"; font-weight: 700; font-size: 18px; color: #1a1407; background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); margin-bottom: 18px; }
.step h4 { font-size: 16.5px; margin-bottom: 7px; }
.step p { font-size: 14px; color: var(--muted); }

/* ---------- CTA final ---------- */
.section--cta { text-align: center; }
.cta { background: radial-gradient(80% 120% at 50% 0%, rgba(212,175,110,.16), transparent 70%), var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(50px, 8vw, 100px) clamp(24px, 5vw, 60px); }
.cta__title { font-size: clamp(30px, 5vw, 58px); font-weight: 700; margin-bottom: 22px; }
.cta__text { color: var(--muted); font-size: clamp(15px, 2vw, 19px); max-width: 540px; margin: 0 auto 38px; }
.cta__note { margin-top: 20px; font-size: 12.5px; color: var(--muted-2); }

/* ---------- Prix / Précommande ---------- */
.section__head--center { margin-inline: auto; text-align: center; }
.price { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; max-width: 1000px; margin: 0 auto; }
.price__card {
  background: radial-gradient(90% 120% at 50% 0%, rgba(212,175,110,.14), transparent 70%), var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 36px; text-align: center; position: relative; overflow: hidden;
}
.price__card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }
.price__tag { display: inline-block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-soft); border: 1px solid var(--line); padding: 7px 16px; border-radius: 100px; margin-bottom: 24px; }
.price__amounts { display: flex; align-items: baseline; justify-content: center; gap: 16px; margin-bottom: 12px; }
.price__old { font-family: "Cinzel", serif; font-size: 26px; color: var(--muted-2); text-decoration: line-through; text-decoration-color: rgba(212,175,110,.6); }
.price__new { font-family: "Cinzel", serif; font-size: clamp(52px, 9vw, 78px); font-weight: 800; line-height: 1; color: var(--gold-soft); }
.price__sub { font-size: 13px; color: var(--muted); max-width: 320px; margin: 0 auto 24px; }
.price__feats { list-style: none; text-align: left; max-width: 300px; margin: 0 auto 30px; display: grid; gap: 12px; }
.price__feats li { position: relative; padding-left: 28px; font-size: 14.5px; color: var(--text); }
.price__feats li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 12px; top: 3px; }
.price__btn { width: 100%; justify-content: center; }

/* Barre d'avancement */
.progress { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 34px 32px; }
.progress__head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.progress__pct { font-family: "Cinzel", serif; font-size: 22px; color: var(--gold-soft); letter-spacing: 0; }
.progress__bar { height: 12px; border-radius: 100px; background: rgba(255,255,255,.05); border: 1px solid var(--line-soft); overflow: hidden; }
.progress__fill { height: 100%; width: var(--p, 50%); border-radius: 100px; background: linear-gradient(90deg, var(--gold-deep), var(--gold-soft)); box-shadow: 0 0 18px rgba(212,175,110,.6); transform-origin: left; animation: grow 1.4s var(--ease) both; }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.progress__note { margin-top: 22px; font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Bloc "12 serveurs" */
.limit { display: inline-flex; align-items: center; gap: 22px; margin-top: 40px; padding: 26px 40px; background: rgba(10,10,12,.5); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.limit__num { font-family: "Cinzel", serif; font-size: clamp(60px, 11vw, 96px); font-weight: 800; line-height: 1; color: transparent; background: linear-gradient(135deg, var(--gold-soft), var(--gold-deep)); -webkit-background-clip: text; background-clip: text; }
.limit__txt { text-align: left; font-size: clamp(16px, 2.4vw, 22px); color: var(--text); line-height: 1.3; }
.limit__txt strong { color: var(--gold-soft); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-soft); padding: 56px clamp(18px, 5vw, 54px) 40px; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.footer__top { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer__brand { display: flex; align-items: center; gap: 10px; font-family: "Cinzel"; letter-spacing: 3px; font-size: 14px; }
.footer__date { font-family: "Cinzel", serif; font-weight: 700; font-size: clamp(20px, 3.4vw, 34px); letter-spacing: .5px; }
.footer__copy { font-size: 12px; color: var(--muted-2); max-width: 640px; }

/* ---------- Reveal au scroll ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; }
  .features { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; }
  .band__bg { background-attachment: scroll; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .goals { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__item--wide, .gallery__item--tall { grid-column: auto; grid-row: auto; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .limit { flex-direction: column; gap: 8px; padding: 26px 28px; }
  .limit__txt { text-align: center; }
  .footer { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .cinema { height: 100vh; }              /* pas de scroll-zoom : section simple */
}
