/* ============================================================
   IRON CROWN — Championnat d'Europe de Béhourd
   Design system & styles — static site (Option A)
   Palette, typographie et sections d'après le cahier des charges.
   ============================================================ */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Fonds */
  --bg:            #0B0C0E;   /* noir acier */
  --bg-2:          #15171B;   /* charbon / cartes */
  --bg-3:          #1b1e23;   /* carte survolée */
  --steel:         #3A3D42;   /* acier / bordures */
  --steel-soft:    rgba(58, 61, 66, .45);

  /* Textes */
  --text:          #F3F1EC;   /* blanc cassé */
  --muted:         #9AA0A6;   /* gris clair */
  --muted-2:       #6a7076;

  /* Accents */
  --ember:         #E4572E;   /* braise / forge */
  --ember-2:       #FF7A18;   /* braise chaude */
  --gold:          #C9A227;   /* couronne */
  --blue-fr:       #12306B;   /* rappel national */
  --red-fr:        #B4262A;   /* rappel national */

  --ember-grad:    linear-gradient(100deg, var(--ember) 0%, var(--ember-2) 100%);
  --gold-grad:     linear-gradient(180deg, #E7CE7A 0%, var(--gold) 55%, #8f7016 100%);

  /* Typo */
  --f-display: "Cinzel", Georgia, "Times New Roman", serif;
  --f-body:    "Inter", "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-stadium: "Oswald", "Arial Narrow", sans-serif;

  /* Rythme */
  --maxw: 1240px;
  --gutter: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vh, 150px);
  --radius: 4px;
  --radius-lg: 10px;

  --shadow: 0 24px 60px -20px rgba(0,0,0,.75);
  --ember-glow: 0 0 0 1px rgba(228,87,46,.35), 0 18px 50px -14px rgba(228,87,46,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
/* Lenis gère le smooth scroll en JS ; on neutralise le natif quand il est actif */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: clamp(15px, 1.05vw, 17px);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Grain global subtil */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("../img/grain.svg");
  background-size: 200px;
  opacity: .05;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 9999;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }

::selection { background: var(--ember); color: #fff; }

:focus-visible {
  outline: 2px solid var(--ember-2);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--ember); color: #fff; padding: 10px 16px;
  border-radius: var(--radius); z-index: 10000; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- 3. Typographie ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; line-height: 1.08; letter-spacing: .01em; }
.eyebrow {
  font-family: var(--f-stadium);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .8rem;
  font-weight: 500;
  color: var(--ember-2);
  display: inline-flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px;
  background: var(--ember-grad);
  display: inline-block;
}

.section-title {
  font-size: clamp(2rem, 5.2vw, 3.6rem);
  letter-spacing: .02em;
}
.section-title .gold { color: var(--gold); }
.lead {
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  max-width: 62ch;
}

/* ---------- 4. Layout utilitaires ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(48px, 7vh, 90px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .lead { margin-top: 18px; }
.hairline { height: 1px; background: linear-gradient(90deg, transparent, var(--steel-soft) 20%, var(--steel-soft) 80%, transparent); border: 0; }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--ember-grad); }
.center .lead { margin-inline: auto; }

/* Boutons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .6em;
  padding: 15px 28px;
  font-family: var(--f-stadium);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .95rem;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), color .25s;
  isolation: isolate;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--primary { color: #fff; background: var(--ember-grad); box-shadow: 0 10px 30px -10px rgba(228,87,46,.6); }
.btn--primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, #ff8a2b, #ff5e12);
  opacity: 0; transition: opacity .3s;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -10px rgba(255,122,24,.7); }
.btn--primary:hover::before { opacity: 1; }

.btn--ghost {
  color: var(--text);
  border: 1px solid var(--steel);
  background: rgba(255,255,255,.02);
}
.btn--ghost::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--ember-grad);
  transform: translateY(101%); transition: transform .35s var(--ease);
}
.btn--ghost:hover { color: #fff; border-color: transparent; transform: translateY(-2px); }
.btn--ghost:hover::before { transform: translateY(0); }

.btn--gold { color: #1a1407; background: var(--gold-grad); box-shadow: 0 10px 30px -12px rgba(201,162,39,.6); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(201,162,39,.75); }
.btn--sm { padding: 11px 20px; font-size: .82rem; }

/* Tag [À COMPLÉTER] */
.todo {
  display: inline-block;
  font-family: var(--f-stadium);
  font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px dashed rgba(201,162,39,.5);
  padding: 2px 9px; border-radius: 3px;
  vertical-align: middle;
}

/* Placeholder image (photo à fournir) */
.ph {
  position: relative;
  background:
    radial-gradient(120% 90% at 70% 15%, rgba(201,162,39,.10), transparent 55%),
    radial-gradient(120% 100% at 25% 90%, rgba(228,87,46,.16), transparent 55%),
    linear-gradient(160deg, #191b20, #101216 70%);
  border: 1px solid var(--steel-soft);
  overflow: hidden;
  display: grid; place-content: center;
  color: var(--muted-2);
  min-height: 180px;
}
.ph::before { /* grain */
  content: ""; position: absolute; inset: 0;
  background: url("../img/grain.svg"); background-size: 180px;
  opacity: .06; mix-blend-mode: overlay;
}
.ph__label {
  position: relative;
  font-family: var(--f-stadium);
  text-transform: uppercase; letter-spacing: .18em;
  font-size: .74rem; color: var(--muted);
  text-align: center; padding: 14px 18px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.ph__label svg { width: 30px; height: 30px; opacity: .5; }

/* Vraies photos : remplissent la cellule .ph (le grain .ph::before reste par-dessus) */
.photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.ph > .photo { position: absolute; inset: 0; z-index: 0; }
.ph--photo { color: transparent; }
/* Voile sombre pour homogénéiser et garantir la lisibilité, façon cinéma */
.ph--photo::after {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,12,14,.15), rgba(11,12,14,.55));
}
.ph--photo .ph__cap {
  position: absolute; z-index: 2; left: 12px; bottom: 10px;
  font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .14em;
  font-size: .68rem; color: var(--text); opacity: .82;
}

/* ---------- 5. Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
  padding: 18px var(--gutter);
  transition: padding .3s var(--ease), background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.nav--scrolled {
  padding-block: 11px;
  background: rgba(11,12,14,.82);
  backdrop-filter: blur(12px) saturate(120%);
  border-bottom-color: var(--steel-soft);
}
.brand { display: inline-flex; align-items: center; gap: 12px; z-index: 2; }
.brand__mark { width: 34px; height: 34px; color: var(--gold); flex: none; filter: drop-shadow(0 2px 8px rgba(201,162,39,.4)); }
.brand__word { font-family: var(--f-display); font-weight: 900; letter-spacing: .12em; font-size: 1.15rem; line-height: 1; }
.brand__word .crown { color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: clamp(14px, 1.8vw, 30px); }
.nav__link {
  font-family: var(--f-stadium); text-transform: uppercase;
  letter-spacing: .08em; font-size: .86rem; color: var(--muted);
  position: relative; padding: 6px 0; transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--ember-grad); transition: width .3s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; z-index: 2; }

/* Sélecteur de langue */
.lang { display: inline-flex; border: 1px solid var(--steel); border-radius: 999px; overflow: hidden; }
.lang button {
  font-family: var(--f-stadium); letter-spacing: .1em; font-size: .78rem;
  padding: 6px 12px; color: var(--muted); transition: background .25s, color .25s;
}
.lang button.is-active { background: var(--ember-grad); color: #fff; }

/* Burger */
.burger { display: none; width: 42px; height: 42px; position: relative; z-index: 2; }
.burger span { position: absolute; left: 9px; right: 9px; height: 2px; background: var(--text); transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
body.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .burger span:nth-child(2) { opacity: 0; }
body.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: grid; align-items: center;
  padding-top: 90px;
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
}
.hero__media .kenburns { animation: kenburns 26s ease-in-out infinite alternate; }
@keyframes kenburns {
  from { transform: scale(1.06) translate(0,0); }
  to   { transform: scale(1.18) translate(-1.5%, -2%); }
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(80% 60% at 50% 88%, rgba(228,87,46,.20), transparent 60%),
    linear-gradient(180deg, rgba(11,12,14,.88) 0%, rgba(11,12,14,.64) 42%, rgba(11,12,14,.92) 100%);
}
#hero-particles { position: absolute; inset: 0; z-index: 2; pointer-events: none; }

.hero__inner { position: relative; z-index: 3; width: 100%; }
.hero__eyebrow { margin-bottom: 22px; }
.wordmark {
  font-family: var(--f-display);
  font-weight: 900;
  font-size: clamp(3.4rem, 15vw, 11rem);
  line-height: .92;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0;
}
/* Couleurs PLEINES (pas de dégradé-sur-texte : fiable sur tous les navigateurs).
   Le relief vient des ombres portées. */
.wordmark .iron {
  color: #f3f1ec;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.8)) drop-shadow(0 2px 24px rgba(0,0,0,.55));
}
.wordmark .crown {
  color: #C9A227;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.6)) drop-shadow(0 4px 26px rgba(201,162,39,.4));
}
.hero__sub {
  margin-top: 20px;
  font-family: var(--f-stadium);
  text-transform: uppercase; letter-spacing: .16em;
  font-size: clamp(1rem, 2.4vw, 1.5rem);
  color: var(--text);
  text-shadow: 0 2px 14px rgba(0,0,0,.75);
}
.hero__meta {
  margin-top: 10px; color: var(--text);
  font-family: var(--f-stadium); letter-spacing: .1em; text-transform: uppercase; font-size: .95rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.8);
}
.hero__meta .sep { color: var(--ember-2); margin-inline: 10px; }

.hero__savedate {
  display: inline-block; margin-top: 28px;
  font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .18em;
  font-size: .82rem; color: var(--text);
  padding: 11px 20px; border: 1px solid var(--steel);
  border-radius: 999px; background: rgba(255,255,255,.02);
  position: relative;
}
.hero__savedate::before {
  content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--ember-2); margin-right: 10px; vertical-align: 1px;
  box-shadow: 0 0 10px var(--ember-2);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

/* Countdown */
.countdown { display: flex; gap: clamp(10px, 2vw, 26px); margin-top: 40px; }
.cd {
  text-align: center; min-width: 68px;
}
.cd__num {
  font-family: var(--f-stadium); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 30px rgba(228,87,46,.25);
}
.cd__label { font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .18em; font-size: .7rem; color: var(--muted); margin-top: 8px; }
.cd + .cd { position: relative; }
.cd + .cd::before { content: ":"; position: absolute; left: calc(var(--gutter) * -0.5); left: -0.6em; top: .1em; color: var(--steel); font-family: var(--f-stadium); font-size: clamp(1.6rem,4vw,2.8rem); }

/* Scroll hint */
.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-family: var(--f-stadium); letter-spacing: .2em; font-size: .68rem; text-transform: uppercase;
}
.scroll-hint__mouse { width: 24px; height: 38px; border: 2px solid var(--steel); border-radius: 14px; position: relative; }
.scroll-hint__mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px;
  background: var(--ember-2); border-radius: 2px; animation: wheel 1.6s infinite;
}
@keyframes wheel { 0%{opacity:0; transform:translateY(0);} 30%{opacity:1;} 100%{opacity:0; transform:translateY(12px);} }

/* ---------- 7. Reveal animations (JS ajoute .in) ----------
   L'état masqué n'est appliqué QUE si JS est actif (html.js).
   Sans JS, le contenu reste visible : rien n'est bloqué. */
[data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js [data-reveal] { opacity: 0; transform: translateY(28px); }
/* La règle .in doit avoir une spécificité >= à html.js [data-reveal],
   sinon l'état masqué l'emporte et le contenu reste invisible. */
html.js [data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ---------- 8. Manifeste ---------- */
.manifesto { position: relative; text-align: center; }
.manifesto__pitch {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 4.2vw, 3rem);
  line-height: 1.25; letter-spacing: .01em;
  max-width: 20ch; margin: 0 auto 30px;
}
.manifesto__pitch .gold { color: var(--gold); }
.manifesto__pitch .ember { color: var(--ember-2); }
.manifesto__text { max-width: 66ch; margin-inline: auto; color: var(--muted); font-size: 1.12rem; }

/* ---------- 9. Le Béhourd ---------- */
.behourd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.behourd__media { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 12px; }
.behourd__media .ph:nth-child(1) { grid-row: span 2; min-height: 340px; }
.behourd__media .ph { min-height: 160px; border-radius: var(--radius); }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 30px; }
.value {
  background: var(--bg-2); border: 1px solid var(--steel-soft);
  border-radius: var(--radius); padding: 18px 18px 16px;
  transition: border-color .3s, transform .3s, background .3s;
}
.value:hover { border-color: rgba(228,87,46,.45); transform: translateY(-3px); background: var(--bg-3); }
.value__icon { width: 30px; height: 30px; color: var(--ember-2); margin-bottom: 12px; }
.value h4 { font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .1em; font-size: 1rem; color: var(--text); }
.value p { font-size: .9rem; color: var(--muted); margin-top: 4px; }

/* ---------- 10. Disciplines (cartes tilt/glow) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tcard {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--steel-soft);
  min-height: 380px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 26px;
  transform-style: preserve-3d; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
  will-change: transform;
}
.tcard__bg { position: absolute; inset: 0; z-index: 0; opacity: .5; transition: opacity .4s, transform .6s var(--ease); }
.tcard__bg.ph { border: 0; }
img.tcard__bg { width: 100%; height: 100%; object-fit: cover; }
/* Dégradé sombre bas de carte pour lisibilité du texte par-dessus la photo */
.tcard::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(11,12,14,.2) 0%, rgba(11,12,14,.35) 45%, rgba(11,12,14,.9) 100%);
}
.tcard::after { /* glow braise */
  content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .35s;
  background: radial-gradient(80% 60% at 50% 100%, rgba(228,87,46,.4), transparent 65%);
}
.tcard__body { position: relative; z-index: 2; transform: translateZ(30px); }
.tcard__num { font-family: var(--f-stadium); color: var(--ember-2); letter-spacing: .3em; font-size: .8rem; }
.tcard h3 { font-size: 1.7rem; margin: 8px 0 10px; }
.tcard p { color: var(--muted); font-size: .95rem; }
.tcard__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.chip {
  font-family: var(--f-stadium); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border: 1px solid var(--steel); border-radius: 999px; color: var(--muted);
}
.tcard:hover { border-color: rgba(228,87,46,.5); box-shadow: var(--ember-glow); }
.tcard:hover .tcard__bg { opacity: .75; transform: scale(1.05); }
.tcard:hover::after { opacity: 1; }

/* ---------- 11. Nations ---------- */
.nations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.nation {
  position: relative; background: var(--bg-2); border: 1px solid var(--steel-soft);
  border-radius: var(--radius); padding: 22px 18px; text-align: center;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  overflow: hidden;
}
.nation::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(70% 60% at 50% 0%, rgba(201,162,39,.22), transparent 70%);
}
.nation:hover { transform: translateY(-4px); border-color: rgba(201,162,39,.5); box-shadow: 0 18px 40px -18px rgba(0,0,0,.7); }
.nation:hover::before { opacity: 1; }
.nation--host { border-color: rgba(228,87,46,.4); }
.flag {
  width: 64px; height: 44px; margin: 0 auto 14px; border-radius: 3px; overflow: hidden;
  box-shadow: 0 6px 18px -8px rgba(0,0,0,.8); border: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.nation__name { font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .12em; font-size: .95rem; }
.nation__tag { font-size: .72rem; color: var(--ember-2); font-family: var(--f-stadium); letter-spacing: .18em; text-transform: uppercase; margin-top: 4px; }
.nation__crest { position: relative; margin-top: 12px; font-size: .68rem; color: var(--muted-2); }

/* ---------- 12. Le Fort ---------- */
.fort { position: relative; }
.fort__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.fort__media { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; box-shadow: var(--shadow); }
.fort__media img { width: 100%; height: 100%; object-fit: cover; }
.fort__media::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,12,14,.12) 0%, rgba(11,12,14,.12) 55%, rgba(11,12,14,.55) 100%); }
.fort__badge {
  position: absolute; left: 20px; bottom: 20px; z-index: 2;
  background: rgba(11,12,14,.7); backdrop-filter: blur(6px);
  border: 1px solid var(--steel-soft); border-radius: var(--radius);
  padding: 12px 16px; font-family: var(--f-stadium); letter-spacing: .06em;
}
.fort__badge b { color: var(--gold); }
.fort__stats { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.fort__stat b { display: block; font-family: var(--f-stadium); font-size: 2rem; color: var(--ember-2); line-height: 1; }
.fort__stat span { color: var(--muted); font-size: .85rem; }

/* ---------- 13. Programme (timeline) ---------- */
.timeline { position: relative; margin-top: 20px; }
.timeline::before {
  content: ""; position: absolute; left: 18px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--ember), var(--gold) 60%, transparent);
}
.tl-item { position: relative; padding: 0 0 40px 60px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: 11px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--ember-2); box-shadow: 0 0 0 4px rgba(228,87,46,.15);
}
.tl-day { font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--ember-2); }
.tl-item h3 { font-size: 1.5rem; margin: 4px 0 8px; }
.tl-item p { color: var(--muted); }
.tl-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }

/* ---------- 14. Chiffres (compteurs) ---------- */
.stats { background: linear-gradient(180deg, #0e0f12, #0b0c0e); border-block: 1px solid var(--steel-soft); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 3vw, 40px); }
.stat { text-align: center; }
.stat__num {
  font-family: var(--f-stadium); font-weight: 600;
  font-size: clamp(2.4rem, 5.5vw, 4.2rem); line-height: 1;
  color: var(--ember-2);                 /* couleur pleine, fiable partout */
  font-variant-numeric: tabular-nums;
}
.stat__num .suffix { color: var(--gold); }
.stat__label { font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); font-size: .82rem; margin-top: 10px; }
.stats__foot { text-align: center; color: var(--muted-2); margin-top: 40px; font-size: .9rem; }
.stats__foot b { color: var(--muted); font-weight: 600; }

/* ---------- 15. Billetterie ---------- */
.tickets__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 34px; }
.ticket {
  background: var(--bg-2); border: 1px solid var(--steel-soft); border-radius: var(--radius-lg);
  padding: 28px; position: relative; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.ticket:hover { transform: translateY(-4px); border-color: rgba(228,87,46,.4); box-shadow: var(--shadow); }
.ticket--featured { border-color: rgba(201,162,39,.5); background: linear-gradient(180deg, #1a1a16, #131418); }
.ticket--featured::before {
  content: "★"; position: absolute; top: 18px; right: 20px; color: var(--gold);
}
.ticket__name { font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .14em; font-size: 1.1rem; }
.ticket__price { font-family: var(--f-display); font-size: 2.4rem; margin: 10px 0 4px; }
.ticket__price--soon { font-family: var(--f-stadium); font-size: 1.25rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.ticket__price .todo { font-family: var(--f-stadium); font-size: .78rem; vertical-align: middle; }
.ticket ul { margin: 18px 0 24px; display: grid; gap: 10px; }
.ticket li { color: var(--muted); font-size: .92rem; display: flex; gap: 10px; align-items: flex-start; }
.ticket li svg { color: var(--ember-2); flex: none; width: 18px; height: 18px; margin-top: 3px; }
.ticket .btn { margin-top: auto; justify-content: center; }
.tickets__note { color: var(--muted); text-align: center; }
.tickets__note svg { width: 18px; height: 18px; color: var(--ember-2); vertical-align: -4px; margin-right: 6px; }

/* ---------- 16. Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery .ph { border-radius: var(--radius); cursor: pointer; transition: transform .4s var(--ease); }
.gallery .ph:hover { transform: scale(1.02); }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-wide { grid-column: span 2; }
.credits { color: var(--muted-2); font-size: .78rem; margin-top: 22px; text-align: center; line-height: 1.7; }
.credits a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
.credits a:hover { color: var(--ember-2); }

.media-cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 34px; }
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem;
  padding: 11px 18px; border: 1px solid var(--red-fr); border-radius: 999px; color: var(--text);
}
.live-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--red-fr); box-shadow: 0 0 0 0 rgba(180,38,42,.7); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(180,38,42,.6);} 70%{box-shadow:0 0 0 10px rgba(180,38,42,0);} 100%{box-shadow:0 0 0 0 rgba(180,38,42,0);} }

/* ---------- 17. Partenaires ---------- */
.partners { text-align: center; }
.partners__logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 30px; }
.plogo {
  min-width: 180px; height: 96px; display: grid; place-content: center;
  background: var(--bg-2); border: 1px solid var(--steel-soft); border-radius: var(--radius);
  color: var(--muted); font-family: var(--f-stadium); letter-spacing: .1em; text-transform: uppercase; font-size: .85rem;
  transition: border-color .3s, color .3s;
}
.plogo:hover { border-color: rgba(201,162,39,.4); color: var(--text); }
.plogo--slot { border-style: dashed; color: var(--muted-2); }
.partners__cta {
  margin-top: 44px; padding: clamp(30px, 5vw, 54px);
  background: linear-gradient(120deg, rgba(228,87,46,.12), rgba(201,162,39,.08));
  border: 1px solid var(--steel-soft); border-radius: var(--radius-lg);
}
.partners__cta h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.partners__cta p { color: var(--muted); max-width: 60ch; margin: 12px auto 24px; }

/* ---------- 18. Newsletter ---------- */
.newsletter { text-align: center; }
.nl-form { display: flex; gap: 12px; max-width: 520px; margin: 26px auto 0; flex-wrap: wrap; }
.nl-form input {
  flex: 1 1 240px; padding: 15px 18px; border-radius: var(--radius);
  background: var(--bg-2); border: 1px solid var(--steel); color: var(--text); font: inherit;
}
.nl-form input::placeholder { color: var(--muted-2); }
.nl-form input:focus { border-color: var(--ember-2); outline: none; }
.nl-consent { font-size: .78rem; color: var(--muted-2); margin-top: 14px; }
.socials { display: flex; gap: 14px; justify-content: center; margin-top: 30px; }
.socials a {
  width: 44px; height: 44px; display: grid; place-content: center;
  border: 1px solid var(--steel); border-radius: 50%; color: var(--muted);
  transition: color .25s, border-color .25s, transform .25s;
}
.socials a:hover { color: var(--text); border-color: var(--ember-2); transform: translateY(-3px); }
.socials svg { width: 20px; height: 20px; }

/* ---------- 18b. Accès & Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.access__card {
  background: var(--bg-2); border: 1px solid var(--steel-soft);
  border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 32px);
}
.access__card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.access__addr { font-style: normal; color: var(--muted); line-height: 1.7; margin-bottom: 18px; }
.access__addr strong { color: var(--text); font-family: var(--f-stadium); letter-spacing: .04em; }
.access__gps { font-family: var(--f-stadium); font-size: .8rem; letter-spacing: .08em; color: var(--muted-2); }
.access__list { display: grid; gap: 14px; margin: 22px 0; }
.access__list li { display: grid; gap: 3px; }
.access__list b { font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; color: var(--ember-2); }
.access__list span { color: var(--muted); font-size: .92rem; }
.access__times { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--steel-soft); }
.access__times div { text-align: center; }
.access__times b { display: block; font-family: var(--f-stadium); color: var(--text); font-size: 1.1rem; }
.access__times span { font-size: .74rem; color: var(--muted); }
.access__map { width: 100%; height: 260px; margin-top: 16px; border: 1px solid var(--steel-soft); border-radius: var(--radius-lg); filter: grayscale(.3) contrast(1.05) brightness(.9); }

/* Formulaire de contact */
.cform { display: grid; gap: 16px; }
.cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform label { display: grid; gap: 7px; font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted); }
.cform label em { text-transform: none; letter-spacing: 0; color: var(--muted-2); font-style: normal; }
.cform input, .cform select, .cform textarea {
  font-family: var(--f-body); font-size: 1rem; letter-spacing: normal; text-transform: none; color: var(--text);
  background: var(--bg); border: 1px solid var(--steel); border-radius: var(--radius);
  padding: 13px 15px; width: 100%;
}
.cform textarea { resize: vertical; min-height: 120px; }
.cform input:focus, .cform select:focus, .cform textarea:focus { border-color: var(--ember-2); outline: none; }
.cform select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: right 18px center, right 12px center; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
.cform__consent { grid-template-columns: auto 1fr; align-items: start; gap: 12px; text-transform: none; letter-spacing: 0; font-family: var(--f-body); font-size: .82rem; color: var(--muted); }
.cform__consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ember); }
.cform .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform button { justify-content: center; }
.cform__status { font-family: var(--f-stadium); letter-spacing: .06em; font-size: .9rem; min-height: 1.2em; }
.cform__status.ok { color: var(--gold); }
.cform__status.err { color: var(--red-fr); text-transform: none; letter-spacing: 0; font-family: var(--f-body); }

/* ---------- 19. Footer ---------- */
.footer { background: #08090b; border-top: 1px solid var(--steel-soft); padding-block: clamp(50px, 7vw, 80px) 30px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer h5 { font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .14em; font-size: .82rem; color: var(--text); margin-bottom: 16px; }
.footer p, .footer li, .footer a { color: var(--muted); font-size: .9rem; }
.footer li { margin-bottom: 8px; }
.footer a:hover { color: var(--ember-2); }
.footer__brand .brand { margin-bottom: 16px; }
.footer__brand p { max-width: 34ch; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--steel-soft); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer__legal a { font-size: .82rem; }
.footer__copy { color: var(--muted-2); font-size: .82rem; }
.footer__copy a { color: var(--muted); }
.footer__copy a:hover { color: var(--ember-2); }
.footer__antispam { text-align: center; color: var(--muted-2); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; margin-top: 16px; }

/* ---------- 19b. Pages légales ---------- */
.legal-page { padding: 130px 0 80px; }
.legal-page .container { max-width: 820px; }
.legal-back { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; margin-bottom: 30px; }
.legal-back:hover { color: var(--ember-2); }
.legal-page h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 6px; }
.legal-page h2 { font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .08em; font-size: 1.05rem; color: var(--ember-2); margin: 34px 0 10px; }
.legal-page p, .legal-page li { color: var(--muted); line-height: 1.75; }
.legal-page ul { padding-left: 20px; list-style: disc; margin: 8px 0; }
.legal-page a { color: var(--ember-2); text-decoration: underline; text-underline-offset: 2px; }
.legal-updated { color: var(--muted-2); font-size: .85rem; margin-bottom: 26px; }
.legal-note { background: var(--bg-2); border: 1px solid var(--steel-soft); border-radius: var(--radius); padding: 14px 16px; font-size: .85rem; }

/* ---------- 20. Cookies ---------- */
.cookie {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%) translateY(140%);
  z-index: 2000; width: min(680px, calc(100% - 32px));
  background: rgba(19,21,25,.96); backdrop-filter: blur(10px);
  border: 1px solid var(--steel); border-radius: var(--radius-lg);
  padding: 20px 22px; box-shadow: var(--shadow);
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  transition: transform .5s var(--ease);
}
.cookie.show { transform: translateX(-50%) translateY(0); }
.cookie p { color: var(--muted); font-size: .88rem; flex: 1 1 300px; }
.cookie p a { color: var(--ember-2); text-decoration: underline; }
.cookie__actions { display: flex; gap: 10px; margin-left: auto; }

/* ---------- 20b. Toast « bientôt disponible » ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%) translateY(20px);
  z-index: 4000; max-width: calc(100% - 32px);
  display: flex; align-items: center; gap: 10px;
  background: rgba(19,21,25,.97); border: 1px solid var(--steel); border-left: 3px solid var(--ember);
  border-radius: var(--radius); padding: 14px 20px; box-shadow: var(--shadow);
  color: var(--text); font-family: var(--f-stadium); text-transform: uppercase; letter-spacing: .08em; font-size: .84rem;
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.toast::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember-2); box-shadow: 0 0 8px var(--ember-2); flex: none; }
.toast.show { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }

/* ---------- 21. Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 3000; display: none;
  place-content: center; padding: 30px;
  background: rgba(6,7,9,.92); backdrop-filter: blur(6px);
}
.lightbox.open { display: grid; }
.lightbox__inner { max-width: 1100px; width: 100%; text-align: center; }
.lightbox__img { max-width: 100%; max-height: 82vh; margin: 0 auto; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.lightbox__cap { margin-top: 14px; color: var(--muted); font-family: var(--f-stadium); letter-spacing: .1em; text-transform: uppercase; font-size: .76rem; }
.lightbox__close { position: absolute; top: 22px; right: 26px; font-size: 2.4rem; color: var(--text); line-height: 1; }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1080px) {
  .nations { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 920px) {
  .nav__links { display: none; }
  .burger { display: block; }
  /* Barre du haut allégée : le CTA Billetterie reste accessible dans le menu */
  .nav__actions .btn { display: none; }
  .nav { padding-inline: 18px; }
  .nav__menu {
    position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 26px;
    background: rgba(9,10,12,.97); backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  body.menu-open .nav__menu { opacity: 1; visibility: visible; }
  .nav__menu .nav__links { display: flex; flex-direction: column; gap: 22px; }
  .nav__menu .nav__link { font-size: 1.4rem; color: var(--text); }
  .behourd, .fort__grid { grid-template-columns: 1fr; }
  .cards, .tickets__grid { grid-template-columns: 1fr; }
  .contact__grid, .cform__row { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery .g-wide { grid-column: span 2; }
}
@media (max-width: 560px) {
  .nations { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: stretch; }
  .hero__cta .btn { justify-content: center; }
  .countdown { gap: 12px; }
  .cd { min-width: 56px; }
  .behourd__media .ph:nth-child(1) { grid-row: span 1; min-height: 200px; }
}

/* ---------- 23. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__media .kenburns { animation: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  #hero-particles { display: none; }
  .scroll-hint__mouse::after { animation: none; }
}
