/* =============================================================
   Tombola Savage Lands — style.css
   Palette : noir profond + rouge sang + blanc cassé (Brand DNA Savage Lands)
   Inspirations : savagelands.org, panneaux Hellfest, "Conscription for biodiv"
   ============================================================= */

:root {
  /* Fonds noirs profonds */
  --bg-0: #0a0a0a;          /* base — quasi noir */
  --bg-1: #140505;          /* noir rougeâtre — atmosphère sang séché */
  --bg-2: #1a1a1a;          /* gris charbon — blocs / surfaces */

  /* Accent rouge sang
     ─ --accent       : usages décoratifs (bg de CTA, bordures, glow) — ratio 3.3:1 sur noir,
                        OK pour large display ou pour bg + texte clair, PAS pour petit texte.
     ─ --accent-text  : variante lisible (ratio 5.3:1 sur noir) — à utiliser dès qu'on pose
                        de la couleur rouge sur des labels, eyebrows, liens, métadonnées.
     ─ --accent-deep  : profondeur — ombres, gradients, hover.
  */
  --accent: #c41e1e;
  --accent-text: #ef4444;
  --accent-deep: #8b0a0a;
  --accent-soft: rgba(196, 30, 30, 0.16);

  /* Texte */
  --text: #f4ecd8;          /* blanc cassé / parchemin */
  --text-dim: #c9c2b0;
  --text-mute: #8a8475;

  /* Surfaces & bordures */
  --border: rgba(244, 236, 216, 0.10);
  --border-strong: rgba(196, 30, 30, 0.35);
  --surface: rgba(244, 236, 216, 0.03);
  --surface-2: rgba(244, 236, 216, 0.06);

  --radius: 14px;
  --shadow-glow: 0 32px 92px -26px rgba(196, 30, 30, 0.7);

  /* Typographies — grunge / metal pour titres, système pour body */
  --font-sys: -apple-system, BlinkMacSystemFont, 'Inter', 'Segoe UI', sans-serif;
  --font-display: 'Bungee', 'Impact', 'Oswald', 'Arial Black', sans-serif;
  --font-stencil: 'Special Elite', 'Courier New', monospace;

  --maxw: 1180px;
}

/* -------------------- TEXTURE GRAIN (SVG inline) --------------------
   Réutilisée par les fonds pour donner le ressenti grain de papier/écorce.
   ----------------------------------------------------------------- */
:root {
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
}

/* -------------------- RESET -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* Cale le scroll-into-view sous le header sticky (96px d'offset). */
  scroll-padding-top: 96px;
  overflow-x: hidden;
}
body {
  margin: 0;
  font-family: var(--font-sys);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg-0);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* Empêche les zooms accidentels sur les inputs iOS quand font-size < 16px */
  -webkit-text-size-adjust: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }

/* Focus visible — anneau rouge sang, lisible sur fonds sombres */
:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 3px;
  border-radius: 2px;
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.25);
}
/* Boutons / liens-CTA avec clip-path : l'outline est rogné par le clip,
   on passe par un anneau via box-shadow uniquement. */
.btn:focus-visible,
.site-header__cta:focus-visible,
.lot__badge:focus-visible,
.site-footer__socials a:focus-visible {
  outline: 2px dashed var(--text);
  outline-offset: -6px;
  box-shadow:
    0 0 0 3px var(--accent-text),
    0 0 0 6px rgba(239, 68, 68, 0.35);
}

/* Skip to content — uniquement visible au focus clavier (a11y WCAG 2.4.1) */
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--bg-0);
  color: var(--accent-text);
  border: 2px solid var(--accent-text);
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

/* Réduction de mouvement — coupe net toutes les animations et transitions
   sur l'ensemble du site (WCAG 2.3.3). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* -------------------- TYPO -------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: var(--accent-soft);
  border: 1px solid var(--border-strong);
  color: var(--accent-text);
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 400;
  /* Bord déchiré façon "draft notice" */
  clip-path: polygon(
    2% 0%, 98% 6%, 100% 95%, 96% 100%, 4% 96%, 0% 8%
  );
}
.eyebrow--center { margin-inline: auto; }

.display {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 108px);
  line-height: 0.95;
  margin: 18px 0 18px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-weight: 400;
  /* Effet sang/scintillement : double ombre rouge */
  text-shadow:
    0 0 1px rgba(244, 236, 216, 0.6),
    3px 3px 0 var(--accent-deep),
    6px 6px 0 rgba(0, 0, 0, 0.4);
}
.display--md {
  font-size: clamp(32px, 4.8vw, 60px);
  text-shadow:
    2px 2px 0 var(--accent-deep),
    4px 4px 0 rgba(0, 0, 0, 0.35);
}

.lead {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 28px;
}
.lead__accent { color: var(--accent-text); font-weight: 700; }

/* -------------------- BUTTONS -------------------- */
.ctas { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.ctas--center { justify-content: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-stencil);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  border: 2px solid transparent;
  cursor: pointer;
  /* Bord déchiré façon papier arraché */
  clip-path: polygon(
    3% 0%, 97% 4%, 100% 92%, 95% 100%, 6% 96%, 0% 10%
  );
}
.btn--primary {
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: var(--text);
  border-color: var(--accent-deep);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.15);
  /* On accélère un peu la transition pour rester nerveux malgré l'amplification */
  transition: transform 0.18s ease, box-shadow 0.22s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn--primary:hover {
  transform: translateY(-3px) scale(1.015);
  box-shadow:
    0 40px 100px -22px rgba(196, 30, 30, 0.85),
    0 0 32px rgba(239, 68, 68, 0.35),
    inset 0 1px 0 rgba(255,255,255,0.22);
}
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.btn--ghost:hover {
  background: var(--surface-2);
  border-color: var(--border-strong);
  color: var(--accent-text);
}
.btn--lg { padding: 18px 36px; font-size: 16px; }

/* CTA "mega" — bouton principal de la page (Acheter un ticket).
   Plus grand, halo rouge sang qui pulse en continu. */
.btn--mega {
  padding: 20px 44px;
  font-size: 17px;
  letter-spacing: 0.22em;
  gap: 14px;
  animation: ctaPulse 2.6s ease-in-out infinite;
  /* On crée un contexte d'empilement pour le sweep ::before */
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn--mega .btn__icon {
  width: 22px; height: 22px;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}
.btn--mega > span {
  position: relative;
  z-index: 2;
}
/* Sweep — bande de lumière oblique qui traverse le bouton toutes les 2.4s */
.btn--mega::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(244, 236, 216, 0.0) 20%,
    rgba(244, 236, 216, 0.45) 50%,
    rgba(244, 236, 216, 0.0) 80%,
    transparent 100%
  );
  transform: skewX(-22deg);
  pointer-events: none;
  z-index: 1;
  animation: ctaSweep 2.4s ease-in-out infinite;
}
@keyframes ctaSweep {
  0%   { left: -120%; }
  55%  { left: 140%; }
  100% { left: 140%; }
}

@keyframes ctaPulse {
  0%, 100% {
    box-shadow:
      0 32px 92px -26px rgba(196, 30, 30, 0.7),
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 0 0 0 rgba(196, 30, 30, 0);
    transform: scale(1);
  }
  50% {
    box-shadow:
      0 36px 100px -22px rgba(196, 30, 30, 0.88),
      inset 0 1px 0 rgba(255, 255, 255, 0.25),
      0 0 0 10px rgba(196, 30, 30, 0.22);
    transform: scale(1.025);
  }
}
@media (prefers-reduced-motion: reduce) {
  .btn--mega,
  .btn--mega::before { animation: none; }
  .btn--mega::before { display: none; }
}

/* =============================================================
   HEADER
   ============================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px 24px;
  /* Plus discret au repos (en haut de page) ; se densifie au scroll. */
  background: rgba(10, 5, 5, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s ease, padding 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
/* État compact après scroll > 20px (classe posée par nav.js) */
.site-header.is-scrolled {
  padding: 12px 24px;
  background: rgba(10, 5, 5, 0.85);
  border-bottom-color: var(--border-strong);
  box-shadow: 0 14px 30px -20px rgba(0, 0, 0, 0.7);
}
.site-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-stencil);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.site-header__brand img { width: 36px; height: 36px; object-fit: contain; }
.site-header__wordmark { color: var(--text); }
.site-header__nav {
  display: none;
  gap: 28px;
  margin-left: auto;
  font-family: var(--font-stencil);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.site-header__nav a:hover { color: var(--accent-text); }
.site-header__cta {
  display: none;
  margin-left: auto;
  padding: 10px 20px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: var(--text);
  border: 1px solid var(--accent-deep);
  font-family: var(--font-stencil);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  clip-path: polygon(4% 0%, 96% 4%, 100% 90%, 95% 100%, 6% 96%, 0% 10%);
}

@media (min-width: 768px) {
  .site-header { padding: 20px 32px; }
  .site-header.is-scrolled { padding: 12px 32px; }
  .site-header__nav { display: inline-flex; }
  .site-header__cta { display: inline-flex; margin-left: 0; }
  .site-header__burger { display: none !important; }
}
@media (min-width: 980px) {
  .site-header { padding: 20px 40px; }
  .site-header.is-scrolled { padding: 12px 40px; }
}

/* -------------------- LANG SWITCH (FR / EN) -------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  padding: 4px 8px;
  background: rgba(244, 236, 216, 0.04);
  border: 1px solid var(--border);
  font-family: var(--font-stencil);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  clip-path: polygon(6% 0%, 94% 6%, 100% 90%, 94% 100%, 6% 94%, 0% 10%);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.lang-switch:hover { border-color: var(--border-strong); }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  color: var(--text-mute);
  transition: color 0.2s ease, transform 0.2s ease;
}
.lang-switch a:hover,
.lang-switch a:focus-visible { color: var(--accent-text); }
.lang-switch a[aria-current="page"] {
  color: var(--text);
  font-weight: 700;
  text-shadow: 1px 1px 0 var(--accent-deep);
  pointer-events: none;
  cursor: default;
}
.lang-switch__sep {
  color: var(--accent-deep);
  opacity: 0.7;
  padding: 0 2px;
}
.site-header .lang-switch {
  /* Sur desktop, le switcher se pose entre la nav et le CTA */
  margin-left: 4px;
}
/* Sous 768px le burger + tiroir prennent le relais : on masque le switcher
   du header (7 langues) pour éviter qu'il déborde à côté du burger ; le
   tiroir mobile embarque sa propre copie du switcher. */
@media (max-width: 767px) {
  .site-header .lang-switch { display: none; }
}

/* Variante "mobile" — dans le drawer : plus de respiration */
.nav-drawer .lang-switch {
  margin: 8px auto 0;
  font-size: 13px;
  padding: 6px 12px;
}
.nav-drawer .lang-switch a { padding: 6px 12px; }

/* Drapeaux FR / EN (décoratifs) — SVG inline en background pour visibilité sur fond sombre.
   Le drapeau EN livré par le client est un drapeau US (à confirmer : éventuellement remplacer par UK). */
.lang-switch__flag {
  display: inline-block;
  width: 21px;
  height: 15px;
  flex-shrink: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 1px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.55),
    0 1px 2px rgba(0, 0, 0, 0.45);
}
.lang-switch__flag--fr {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0YwRjBGMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSIgaWQ9ImIiPjxzdG9wIHN0b3AtY29sb3I9IiNGNDQ2NTMiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjRUUyQTM5IiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMCUiIHgyPSI1MCUiIHkyPSIxMDAlIiBpZD0iYyI+PHN0b3Agc3RvcC1jb2xvcj0iIzEwMzVCQiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiMwNDIzOTYiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZmlsbD0idXJsKCNhKSIgZD0iTTAgMGgyMXYxNUgweiIvPjxwYXRoIGZpbGw9InVybCgjYikiIGQ9Ik0xMCAwaDExdjE1SDEweiIvPjxwYXRoIGZpbGw9InVybCgjYykiIGQ9Ik0wIDBoN3YxNUgweiIvPjxwYXRoIGZpbGw9InVybCgjYSkiIGQ9Ik03IDBoN3YxNUg3eiIvPjwvZz48L3N2Zz4=");
}
.lang-switch__flag--en {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSI1MCUiIHkxPSIwJSIgeDI9IjUwJSIgeTI9IjEwMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjRkZGIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0YwRjBGMCIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48bGluZWFyR3JhZGllbnQgeDE9IjUwJSIgeTE9IjAlIiB4Mj0iNTAlIiB5Mj0iMTAwJSIgaWQ9ImIiPjxzdG9wIHN0b3AtY29sb3I9IiNEMDJGNDQiIG9mZnNldD0iMCUiLz48c3RvcCBzdG9wLWNvbG9yPSIjQjEyNTM3IiBvZmZzZXQ9IjEwMCUiLz48L2xpbmVhckdyYWRpZW50PjxsaW5lYXJHcmFkaWVudCB4MT0iNTAlIiB5MT0iMCUiIHgyPSI1MCUiIHkyPSIxMDAlIiBpZD0iYyI+PHN0b3Agc3RvcC1jb2xvcj0iIzQ2NDY3RiIgb2Zmc2V0PSIwJSIvPjxzdG9wIHN0b3AtY29sb3I9IiMzQzNDNkQiIG9mZnNldD0iMTAwJSIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+PHBhdGggZmlsbD0idXJsKCNhKSIgZD0iTTAgMGgyMXYxNUgweiIvPjxwYXRoIGQ9Ik0wIDBoMjF2MUgwVjB6bTAgMmgyMXYxSDBWMnptMCAyaDIxdjFIMFY0em0wIDJoMjF2MUgwVjZ6bTAgMmgyMXYxSDBWOHptMCAyaDIxdjFIMHYtMXptMCAyaDIxdjFIMHYtMXptMCAyaDIxdjFIMHYtMXoiIGZpbGw9InVybCgjYikiLz48cGF0aCBmaWxsPSJ1cmwoI2MpIiBkPSJNMCAwaDl2N0gweiIvPjxwYXRoIGQ9Ik0xLjUgMmEuNS41IDAgMTEwLTEgLjUuNSAwIDAxMCAxem0yIDBhLjUuNSAwIDExMC0xIC41LjUgMCAwMTAgMXptMiAwYS41LjUgMCAxMTAtMSAuNS41IDAgMDEwIDF6bTIgMGEuNS41IDAgMTEwLTEgLjUuNSAwIDAxMCAxem0tNSAxYS41LjUgMCAxMTAtMSAuNS41IDAgMDEwIDF6bTIgMGEuNS41IDAgMTEwLTEgLjUuNSAwIDAxMCAxem0yIDBhLjUuNSAwIDExMC0xIC41LjUgMCAwMTAgMXptMSAxYS41LjUgMCAxMTAtMSAuNS41IDAgMDEwIDF6bS0yIDBhLjUuNSAwIDExMC0xIC41LjUgMCAwMTAgMXptLTIgMGEuNS41IDAgMTEwLTEgLjUuNSAwIDAxMCAxem0tMiAwYS41LjUgMCAxMTAtMSAuNS41IDAgMDEwIDF6bTEgMWEuNS41IDAgMTEwLTEgLjUuNSAwIDAxMCAxem0yIDBhLjUuNSAwIDExMC0xIC41LjUgMCAwMTAgMXptMiAwYS41LjUgMCAxMTAtMSAuNS41IDAgMDEwIDF6bTEgMWEuNS41IDAgMTEwLTEgLjUuNSAwIDAxMCAxem0tMiAwYS41LjUgMCAxMTAtMSAuNS41IDAgMDEwIDF6bS0yIDBhLjUuNSAwIDExMC0xIC41LjUgMCAwMTAgMXptLTIgMGEuNS41IDAgMTEwLTEgLjUuNSAwIDAxMCAxeiIgZmlsbD0idXJsKCNhKSIvPjwvZz48L3N2Zz4=");
}
.lang-switch__flag--de {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjIxIiBoZWlnaHQ9IjE1IiBmaWxsPSIjMTYxNjE2Ii8+PHJlY3QgeT0iNSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjUiIGZpbGw9IiNENzE0MUEiLz48cmVjdCB5PSIxMCIgd2lkdGg9IjIxIiBoZWlnaHQ9IjUiIGZpbGw9IiNGRkNFMDAiLz48L3N2Zz4=");
}
.lang-switch__flag--es {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjIxIiBoZWlnaHQ9IjE1IiBmaWxsPSIjQzYwQjFFIi8+PHJlY3QgeT0iMy43NSIgd2lkdGg9IjIxIiBoZWlnaHQ9IjcuNSIgZmlsbD0iI0ZGQzQwMCIvPjwvc3ZnPg==");
}
.lang-switch__flag--it {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMTUiIGZpbGw9IiMwMDkyNDYiLz48cmVjdCB4PSI3IiB3aWR0aD0iNyIgaGVpZ2h0PSIxNSIgZmlsbD0iI0YxRjFGMSIvPjxyZWN0IHg9IjE0IiB3aWR0aD0iNyIgaGVpZ2h0PSIxNSIgZmlsbD0iI0NFMkIzNyIvPjwvc3ZnPg==");
}
.lang-switch__flag--pt {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjIxIiBoZWlnaHQ9IjE1IiBmaWxsPSIjREEyOTFDIi8+PHJlY3Qgd2lkdGg9IjgiIGhlaWdodD0iMTUiIGZpbGw9IiMwNDZBMzgiLz48Y2lyY2xlIGN4PSI4IiBjeT0iNy41IiByPSIyLjQiIGZpbGw9Im5vbmUiIHN0cm9rZT0iI0ZGRTAwMCIgc3Ryb2tlLXdpZHRoPSIxIi8+PC9zdmc+");
}
.lang-switch__flag--nl {
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHJlY3Qgd2lkdGg9IjIxIiBoZWlnaHQ9IjUiIGZpbGw9IiNBRTFDMjgiLz48cmVjdCB5PSI1IiB3aWR0aD0iMjEiIGhlaWdodD0iNSIgZmlsbD0iI0YxRjFGMSIvPjxyZWN0IHk9IjEwIiB3aWR0aD0iMjEiIGhlaWdodD0iNSIgZmlsbD0iIzIxNDY4QiIvPjwvc3ZnPg==");
}
.nav-drawer .lang-switch__flag {
  /* Légèrement plus gros dans le drawer mobile pour rester lisible */
  width: 24px;
  height: 17px;
}

/* -------------------- BURGER (mobile) -------------------- */
.site-header__burger {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border-strong);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header__burger:hover,
.site-header__burger:focus-visible {
  background: rgba(196, 30, 30, 0.1);
  border-color: var(--accent-text);
}
.site-header__burger > span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}
/* X quand le drawer est ouvert */
.site-header__burger[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--accent); }
.site-header__burger[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.site-header__burger[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--accent); }

/* =============================================================
   NAV DRAWER — Menu plein écran (mobile)
   ============================================================= */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-drawer[hidden] { display: none; }

.nav-drawer__inner {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 88px 24px 48px;
  text-align: center;
  background:
    radial-gradient(ellipse at center, rgba(196, 30, 30, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(5, 0, 0, 0.98) 0%, rgba(20, 5, 5, 0.99) 60%, rgba(5, 0, 0, 0.99) 100%),
    var(--grain);
  background-size: auto, auto, 200px 200px;
  background-blend-mode: normal, normal, overlay;
  /* Animation d'entrée — pilotée par .is-open */
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}
.nav-drawer.is-open .nav-drawer__inner {
  opacity: 1;
  transform: translateY(0);
}

.nav-drawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.nav-drawer__close:hover,
.nav-drawer__close:focus-visible {
  background: var(--accent);
  border-color: var(--accent-text);
  color: var(--text);
}
.nav-drawer__close svg { width: 22px; height: 22px; }

.nav-drawer__brand {
  display: inline-block;
  margin-bottom: 8px;
}
.nav-drawer__brand img {
  width: 110px;
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}

.nav-drawer__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.nav-drawer__nav a {
  display: inline-block;
  padding: 10px 18px;
  font-family: var(--font-display);
  font-size: clamp(24px, 6vw, 36px);
  font-weight: 400;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.05;
  text-shadow: 2px 2px 0 var(--accent-deep);
  transition: color 0.2s ease, transform 0.2s ease;
}
.nav-drawer__nav a:hover,
.nav-drawer__nav a:focus-visible {
  color: var(--accent-text);
  transform: translateX(4px);
}

.nav-drawer__cta {
  margin-top: 12px;
}

.nav-drawer__ext {
  margin-top: 8px;
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.nav-drawer__ext:hover { color: var(--accent-text); }

/* En mode countdown, on cache les liens "live-only" dans le drawer aussi */
body[data-mode="countdown"] .nav-drawer [data-mode-only="live"] { display: none !important; }

/* Body scroll lock pendant que le drawer est ouvert */
body.nav-open {
  overflow: hidden;
  /* Évite le saut de scrollbar (sur Win/Linux uniquement, no-op sur macOS) */
  padding-right: var(--scrollbar-w, 0px);
}

/* Cache les éléments live tant qu'on est en mode countdown */
body[data-mode="countdown"] [data-mode-only="live"] { display: none !important; }

/* =============================================================
   VISIBILITÉ DES MODES
   Pilotée par <html data-mode="…"> (posé par le script anti-FOUC du
   <head>) puis confirmée par mode.js sur <body>. Les deux sélecteurs
   sont équivalents — on évite tout flash d'affichage.
   ============================================================= */
html[data-mode="live"] #countdown-mode,
body[data-mode="live"] #countdown-mode { display: none !important; }
html[data-mode="countdown"] #live-mode,
body[data-mode="countdown"] #live-mode { display: none !important; }
html[data-mode="countdown"] .site-footer,
body[data-mode="countdown"] .site-footer { display: none; }

/* =============================================================
   BYPASS BADGE
   Affiché uniquement quand mode.js active le bypass.
   ============================================================= */
.bypass-badge {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(10, 5, 5, 0.94);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 12px 36px -10px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.bypass-badge[hidden] { display: none !important; }
.bypass-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: bypassPulse 1.6s ease-in-out infinite;
}
.bypass-badge__link {
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bypass-badge__link:hover { color: #fff; }
@keyframes bypassPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}

/* =============================================================
   MODES
   ============================================================= */
.mode { position: relative; }

/* -------------------- MODE COUNTDOWN -------------------- */
.mode--countdown {
  min-height: 100vh;
  min-height: 100svh; /* iOS Safari : évite que la barre URL mange l'image */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  isolation: isolate;
  overflow: hidden;
}
@media (max-width: 480px) {
  .mode--countdown { padding: 100px 16px 64px; }
}
.mode__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
/* Calque photo plein écran — racines/arbres morts Savage Lands.
   Animation cinématique très lente (zoom-out) pour donner de la vie. */
.mode__bg-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  /* Très désaturé + assombri pour laisser parler le rouge sang en overlay */
  filter: grayscale(0.65) brightness(0.45) contrast(1.15);
  transform: scale(1.06);
  animation: heroDrift 30s ease-in-out infinite alternate;
}
.mode__bg-photo--dead   { background-image: url('/assets/img/bg/bg-dead-trees.43ddfbcea7.webp'); }
.mode__bg-photo--guitar { background-image: url('/assets/img/bg/bg-guitar-trees.c9bda3cb35.webp'); }
.mode__bg-photo--hands  { background-image: url('/assets/img/bg/bg-hands-trees.fdbd541300.webp'); }
.mode__bg-photo--dust   { background-image: url('/assets/img/bg/bg-dust.30469ef007.webp'); }

@keyframes heroDrift {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.12) translate(-1.5%, 1.5%); }
}
@media (prefers-reduced-motion: reduce) {
  .mode__bg-photo { animation: none; transform: scale(1.04); }
}

.mode__bg-gradient {
  position: absolute; inset: 0;
  /* Overlay rouge sombre — densifié pour lisibilité au-dessus de la photo */
  background:
    radial-gradient(ellipse at 18% 12%, rgba(196, 30, 30, 0.40) 0%, transparent 42%),
    radial-gradient(ellipse at 82% 92%, rgba(139, 10, 10, 0.55) 0%, transparent 58%),
    linear-gradient(160deg, rgba(5, 0, 0, 0.85) 0%, rgba(20, 5, 5, 0.78) 55%, rgba(5, 0, 0, 0.92) 100%);
}
.mode__bg-grain {
  position: absolute; inset: 0;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}
.mode__bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
}
.mode__bg-orb--1 {
  /* Halo rouge sang vif */
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(196, 30, 30, 0.55), transparent 70%);
  top: -140px; left: -120px;
}
.mode__bg-orb--2 {
  /* Halo rouge sombre */
  width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(139, 10, 10, 0.70), transparent 70%);
  bottom: -180px; right: -160px;
}

.mode__inner {
  max-width: 880px;
  text-align: center;
}
.mode__logo {
  width: clamp(140px, 18vw, 220px);
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}

/* Apparition douce séquencée des éléments du hero */
.mode__inner > *,
.hero__inner > * {
  animation: fadeUp 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.mode__inner > *:nth-child(1), .hero__inner > *:nth-child(1) { animation-delay: 0.05s; }
.mode__inner > *:nth-child(2), .hero__inner > *:nth-child(2) { animation-delay: 0.18s; }
.mode__inner > *:nth-child(3), .hero__inner > *:nth-child(3) { animation-delay: 0.30s; }
.mode__inner > *:nth-child(4), .hero__inner > *:nth-child(4) { animation-delay: 0.42s; }
.mode__inner > *:nth-child(5), .hero__inner > *:nth-child(5) { animation-delay: 0.54s; }
.mode__inner > *:nth-child(6), .hero__inner > *:nth-child(6) { animation-delay: 0.66s; }
.mode__inner > *:nth-child(7), .hero__inner > *:nth-child(7) { animation-delay: 0.78s; }
.mode__inner > *:nth-child(n+8), .hero__inner > *:nth-child(n+8) { animation-delay: 0.9s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* -------------------- COMPTE À REBOURS — cartouche tag spray -------------------- */
.countdown {
  display: inline-block;
  margin: 8px auto 18px;
  position: relative;
}
.countdown__inner {
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 24px 30px;
  background:
    linear-gradient(180deg, rgba(20, 5, 5, 0.85), rgba(10, 5, 5, 0.95)),
    var(--grain);
  background-size: auto, 180px 180px;
  background-blend-mode: normal, overlay;
  border: 2px solid var(--border-strong);
  box-shadow:
    0 25px 60px -30px rgba(196, 30, 30, 0.5),
    inset 0 0 60px rgba(0, 0, 0, 0.6),
    0 0 0 0 rgba(196, 30, 30, 0);
  clip-path: polygon(2% 0%, 98% 3%, 100% 96%, 97% 100%, 3% 97%, 0% 5%);
  /* Scintillement très lent du cartouche — souffle rouge sang */
  animation: cdBreath 4.5s ease-in-out infinite;
}
@keyframes cdBreath {
  0%, 100% {
    box-shadow:
      0 25px 60px -30px rgba(196, 30, 30, 0.5),
      inset 0 0 60px rgba(0, 0, 0, 0.6),
      0 0 0 0 rgba(196, 30, 30, 0);
  }
  50% {
    box-shadow:
      0 25px 60px -30px rgba(196, 30, 30, 0.7),
      inset 0 0 60px rgba(0, 0, 0, 0.55),
      0 0 28px 2px rgba(196, 30, 30, 0.25);
  }
}

.countdown__cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 72px;
  padding: 0 6px;
  perspective: 600px;
}
.countdown__value {
  font-family: var(--font-display);
  font-size: clamp(38px, 7.5vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-text);
  text-shadow:
    0 0 18px rgba(196, 30, 30, 0.5),
    2px 2px 0 #000;
  display: inline-block;
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity;
}
/* Flip — déclenché par JS via classList */
.countdown__value.is-flipping {
  animation: cdFlip 0.55s cubic-bezier(0.35, 0, 0.25, 1);
}
@keyframes cdFlip {
  0%   { transform: rotateX(0deg);   opacity: 1; filter: brightness(1); }
  45%  { transform: rotateX(-95deg); opacity: 0.35; filter: brightness(1.6); }
  55%  { transform: rotateX(95deg);  opacity: 0.35; filter: brightness(1.6); }
  100% { transform: rotateX(0deg);   opacity: 1; filter: brightness(1); }
}

.countdown__label {
  margin-top: 10px;
  font-family: var(--font-stencil);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Séparateurs `:` qui clignotent comme une horloge */
.countdown__sep {
  font-family: var(--font-display);
  font-size: clamp(30px, 5.5vw, 56px);
  color: var(--accent-deep);
  line-height: 1;
  padding-bottom: 24px;
  opacity: 0.85;
  animation: cdBlink 2s steps(2, end) infinite;
}
@keyframes cdBlink {
  0%, 50%  { opacity: 0.85; }
  51%, 100% { opacity: 0.35; }
}

.countdown__target {
  margin: 0 auto 32px;
  font-size: 14px;
  color: var(--text-mute);
}
.countdown__target strong { color: var(--accent-text); }

@media (max-width: 520px) {
  .countdown__inner { gap: 4px; padding: 16px 14px; }
  .countdown__cell { min-width: 52px; padding: 0 4px; }
  .countdown__sep { padding-bottom: 18px; }
}

/* Très petits écrans (<420px) : on bascule sur 2 lignes pour garantir la lisibilité
   et éviter tout débordement horizontal entre 320 et 420px. */
@media (max-width: 420px) {
  .countdown__inner {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 12px 16px;
    padding: 16px 18px;
    place-items: center;
  }
  .countdown__cell { min-width: 64px; padding: 0; }
  .countdown__value { font-size: 44px; }
  .countdown__sep { display: none; }
}

/* Pas d'animation décorative si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {
  .countdown__inner,
  .countdown__sep,
  .countdown__value.is-flipping { animation: none; }
}

/* -------------------- UTILITAIRE A11Y -------------------- */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -------------------- LOTS PREVIEW (mode countdown) -------------------- */
.lots-preview {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border-strong);
}
.lots-preview__title {
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
  margin: 0 0 18px;
}
.lots-preview__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}
.lots-preview__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-deep);
  color: var(--text-dim);
  font-size: 14px;
}
.lots-preview__list li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent);
  flex-shrink: 0;
  transform: rotate(45deg);
}
@media (min-width: 640px) {
  .lots-preview__list { grid-template-columns: 1fr 1fr; }
}

/* =============================================================
   MODE LIVE — HERO
   ============================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh; /* iOS Safari safe */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  isolation: isolate;
  overflow: hidden;
}
@media (max-width: 480px) {
  .hero { padding: 100px 16px 64px; }
}
.hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
/* Calque photo : guitare-trees pour le hero live (lien explicite avec l'univers).
   Même filtre que le countdown pour rester homogène. */
.hero__bg-photo {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(0.6) brightness(0.45) contrast(1.2);
  transform: scale(1.06);
  animation: heroDrift 30s ease-in-out infinite alternate;
}
.hero__bg-photo--guitar { background-image: url('/assets/img/bg/bg-guitar-trees.c9bda3cb35.webp'); }
.hero__bg-photo--dead   { background-image: url('/assets/img/bg/bg-dead-trees.43ddfbcea7.webp'); }
.hero__bg-photo--world  { background-image: url('/assets/img/bg/bg-world-trees.7365bbb8fb.webp'); }
.hero__bg-photo--hands  { background-image: url('/assets/img/bg/bg-hands-trees.fdbd541300.webp'); }

.hero__bg-gradient {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 110%, rgba(196, 30, 30, 0.45), transparent 60%),
    radial-gradient(ellipse at 0% 0%, rgba(139, 10, 10, 0.55), transparent 55%),
    linear-gradient(180deg, rgba(5, 0, 0, 0.85) 0%, rgba(20, 5, 5, 0.78) 55%, rgba(5, 0, 0, 0.92) 100%);
}
.hero__bg-grain {
  position: absolute; inset: 0;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.55;
  mix-blend-mode: overlay;
  pointer-events: none;
}
/* Vignettage doux pour ramener le regard au centre */
.hero__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.65) 100%);
  pointer-events: none;
}
.mode__bg::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
}

.hero__inner {
  text-align: center;
  max-width: 860px;
  animation: fadeUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.hero__logo {
  width: clamp(120px, 14vw, 180px);
  margin: 0 auto 24px;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.8));
}
.hero__trust {
  margin-top: 24px;
  font-family: var(--font-stencil);
  font-size: 12px;
  color: var(--text-mute);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* =============================================================
   SECTIONS
   ============================================================= */
.section {
  padding: 96px 24px;
  position: relative;
  isolation: isolate;
}
@media (max-width: 600px) {
  .section { padding: 72px 18px; }
}
@media (max-width: 380px) {
  .section { padding: 56px 14px; }
}
/* Grain de papier subtil sur toutes les sections */
.section::after {
  content: "";
  position: absolute; inset: 0;
  background-image: var(--grain);
  background-size: 220px 220px;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}
.section--alt {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(196, 30, 30, 0.10), transparent 50%),
    linear-gradient(180deg, var(--bg-1) 0%, #100303 100%);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  /* Déchirure de papier en haut et bas */
  clip-path: polygon(
    0 8px, 6% 0, 14% 6px, 22% 0, 32% 4px, 44% 0, 56% 6px, 68% 0, 80% 4px, 92% 0, 100% 6px,
    100% calc(100% - 6px), 92% 100%, 80% calc(100% - 4px), 68% 100%, 56% calc(100% - 6px),
    44% 100%, 32% calc(100% - 4px), 22% 100%, 14% calc(100% - 6px), 6% 100%, 0 calc(100% - 8px)
  );
}
.section--cta {
  background:
    radial-gradient(ellipse at center, rgba(196, 30, 30, 0.18), transparent 60%),
    var(--bg-0);
}
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.section__inner--center { text-align: center; }
.section__inner--cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}
@media (min-width: 880px) {
  .section__inner--cols { grid-template-columns: 1.1fr 1fr; gap: 80px; }
}
.section__lead {
  font-size: 17px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 0 28px;
}
.section__inner--center .section__lead { margin-inline: auto; }

/* -------------------- LOTS GRID -------------------- */
.lots-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 40px;
}
@media (min-width: 560px)  { .lots-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  { .lots-grid { grid-template-columns: repeat(4, 1fr); } }

.lot {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-deep);
  padding: 0 20px 22px;
  overflow: hidden;
  /* Carte entière cliquable → ouvre la modale détail-lot (widget gift-detail). */
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.lot:hover {
  transform: translateY(-6px) rotate(0.3deg);
  border-color: var(--accent-text);
  border-left-color: var(--accent-text);
  background: #1f1010;
  box-shadow:
    0 28px 60px -24px rgba(196, 30, 30, 0.65),
    0 0 24px rgba(196, 30, 30, 0.22);
}
.lot:hover .lot__visual img { transform: scale(1.06); }
.lot:focus-within {
  border-color: var(--accent-text);
  border-left-color: var(--accent-text);
}
/* Focus clavier direct sur la carte (tabindex="0") : anneau rouge sang halo
   posé en inset via box-shadow pour rester visible malgré overflow:hidden. */
.lot:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: -2px;
  box-shadow:
    inset 0 0 0 2px var(--accent-text),
    0 0 0 4px rgba(239, 68, 68, 0.3),
    0 0 24px rgba(196, 30, 30, 0.35);
}

.lot--feature {
  background: linear-gradient(180deg, rgba(196, 30, 30, 0.22), var(--bg-2));
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  /* Ring permanent intensifié */
  outline: 1px solid rgba(196, 30, 30, 0.55);
  outline-offset: -4px;
  box-shadow:
    0 14px 36px -22px rgba(139, 10, 10, 0.7),
    inset 0 0 32px rgba(196, 30, 30, 0.08);
}
.lot--feature:hover {
  box-shadow:
    0 36px 80px -26px rgba(196, 30, 30, 0.85),
    0 0 36px rgba(239, 68, 68, 0.35),
    inset 0 0 40px rgba(196, 30, 30, 0.12);
}
/* Le 1er lot--feature s'étend sur 2 colonnes en desktop pour donner du poids
   au lot signature (guitare Bill Kelliher) et au lot expérience (plantation). */
@media (min-width: 960px) {
  .lot--feature { grid-column: span 2; }
  .lot--feature .lot__title { font-size: 22px; }
}
/* En tablette (560-959px), pas de span 2 (sinon casse la grille 2 cols). */
@media (min-width: 560px) and (max-width: 959px) {
  .lot--feature { grid-column: auto; }
}

/* -------------------- LOT VISUAL -------------------- */
.lot__visual {
  position: relative;
  margin: 0 -20px 18px;
  aspect-ratio: 4/3;
  background-color: var(--bg-2);
  overflow: hidden;
  isolation: isolate;
}
.lot__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  /* Désaturation + assombrissement pour rester dans la charte rouge sang */
  filter: grayscale(0.35) brightness(0.78) contrast(1.08);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
}
.lot:hover .lot__visual img { filter: grayscale(0.1) brightness(0.92) contrast(1.1); }

/* Overlay grunge sur la photo : dégradé bas + grain */
.lot__visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 45%, rgba(10, 5, 5, 0.85) 100%),
    radial-gradient(ellipse at top right, rgba(196, 30, 30, 0.18), transparent 60%),
    var(--grain);
  background-size: auto, auto, 180px 180px;
  background-blend-mode: normal, normal, overlay;
  pointer-events: none;
  z-index: 1;
}

/* -------------------- LOT VISUAL — MINI-GALERIE (lot signature multi-photos) -------------------- */
/* Carrousel horizontal scroll-snap : 3 photos de la guitare collector */
.lot__visual--gallery .lot__gallery {
  display: flex;
  width: 100%;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(196, 30, 30, 0.6) transparent;
  -webkit-overflow-scrolling: touch;
  /* Évite que le focus ring du tabindex=0 ne se voie sous le badge */
  outline-offset: -3px;
}
.lot__visual--gallery .lot__gallery::-webkit-scrollbar { height: 4px; }
.lot__visual--gallery .lot__gallery::-webkit-scrollbar-thumb {
  background: rgba(196, 30, 30, 0.6);
  border-radius: 2px;
}
.lot__visual--gallery .lot__gallery::-webkit-scrollbar-track { background: transparent; }

.lot__gallery-img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  filter: grayscale(0.35) brightness(0.78) contrast(1.08);
  transition: filter 0.4s ease;
}
/* Pas de scale au hover sur les imgs de la galerie (sinon ça jitter pendant le snap) */
.lot--feature:hover .lot__gallery-img {
  transform: none;
  filter: grayscale(0.1) brightness(0.92) contrast(1.1);
}

/* Dots indicateurs (décoratifs) — signalent la présence de plusieurs photos */
.lot__gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2; /* au-dessus du overlay ::after */
  pointer-events: none;
}
.lot__gallery-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(244, 236, 216, 0.55);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 1px 2px rgba(0, 0, 0, 0.45);
}
@media (prefers-reduced-motion: reduce) {
  .lot__visual--gallery .lot__gallery { scroll-behavior: auto; }
}

/* -------------------- LOT BADGE -------------------- */
.lot__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  background: linear-gradient(180deg, rgba(20, 5, 5, 0.92), rgba(10, 5, 5, 0.96));
  color: var(--accent-text);
  border: 1px solid var(--border-strong);
  font-family: var(--font-stencil);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 3;
  clip-path: polygon(4% 0%, 96% 4%, 100% 90%, 95% 100%, 6% 96%, 0% 10%);
}
.lot__badge--feature {
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: var(--text);
  border-color: var(--accent-deep);
  box-shadow: 0 8px 24px -10px rgba(196, 30, 30, 0.7);
}

/* -------------------- LOT TEXT -------------------- */
.lot__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 10px;
  color: var(--text);
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}
.lot__desc {
  font-size: 14px;
  color: var(--text-dim);
  margin: 0;
  line-height: 1.55;
}
.lot__desc strong { color: var(--accent-text); font-weight: 700; }

/* =============================================================
   SECTION CAUSE — "Metal can save ecosystems"
   ============================================================= */
.section--cause {
  padding: 110px 24px 96px;
  position: relative;
  isolation: isolate;
}
.cause__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  /* Le clip-path du section--alt coupe nos enfants : on désactive le clip
     sur cette section pour laisser respirer la photo. */
}
.cause__bg-photo {
  position: absolute;
  inset: 0;
  background: url('/assets/img/bg/bg-world-trees.7365bbb8fb.webp') center / cover no-repeat;
  filter: grayscale(0.75) brightness(0.35) contrast(1.15);
  transform: scale(1.04);
}
.cause__bg-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(196, 30, 30, 0.18), transparent 55%),
    linear-gradient(180deg, rgba(5, 0, 0, 0.78) 0%, rgba(20, 5, 5, 0.85) 50%, rgba(5, 0, 0, 0.9) 100%);
}
/* On annule le clip-path "papier déchiré" du section--alt pour cette section
   pour laisser la photo s'étaler proprement (le clip coupait aussi la photo). */
.section--cause.section--alt { clip-path: none; }

.cause__tagline {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0 auto 22px;
  max-width: 720px;
  font-family: var(--font-stencil);
  font-size: clamp(14px, 1.6vw, 17px);
  letter-spacing: 0.06em;
  color: var(--text);
}
.cause__tagline-en {
  color: var(--accent-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cause__tagline-fr {
  color: var(--text-dim);
  font-style: italic;
}
.section--cause .section__lead {
  font-size: clamp(16px, 1.7vw, 19px);
}
.section--cause .section__lead em {
  display: block;
  margin-top: 12px;
  color: var(--accent-text);
  font-style: italic;
  font-weight: 600;
}

/* -------------------- PILIERS (3 colonnes) -------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin: 56px auto 40px;
  max-width: var(--maxw);
}
@media (min-width: 760px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}

.pillar {
  position: relative;
  padding: 32px 26px 28px;
  background:
    linear-gradient(180deg, rgba(20, 5, 5, 0.78), rgba(10, 5, 5, 0.92)),
    var(--grain);
  background-size: auto, 180px 180px;
  background-blend-mode: normal, overlay;
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent);
  text-align: center;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  clip-path: polygon(2% 0%, 98% 2%, 100% 97%, 97% 100%, 3% 98%, 0% 5%);
}
.pillar:hover {
  transform: translateY(-6px) rotate(0.3deg);
  border-top-color: #ff3a3a;
  border-color: var(--accent-text);
  box-shadow:
    0 30px 70px -26px rgba(196, 30, 30, 0.8),
    0 0 28px rgba(239, 68, 68, 0.3);
}
.pillar:hover .pillar__icon {
  border-color: #ff3a3a;
  box-shadow:
    0 0 30px rgba(196, 30, 30, 0.5),
    inset 0 0 22px rgba(196, 30, 30, 0.3);
}

.pillar__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  color: var(--accent-text);
  box-shadow:
    0 0 24px rgba(196, 30, 30, 0.25),
    inset 0 0 16px rgba(196, 30, 30, 0.18);
  background: rgba(10, 0, 0, 0.4);
}
.pillar__icon svg {
  width: 36px;
  height: 36px;
  filter: drop-shadow(0 0 6px rgba(196, 30, 30, 0.5));
}

.pillar__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 4px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 var(--accent-deep);
}
.pillar__en {
  margin: 0 0 14px;
  font-family: var(--font-stencil);
  font-size: 12px;
  color: var(--accent-text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pillar__desc {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-dim);
  line-height: 1.55;
}

.cause__cta {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.cause__cta .btn span { transition: transform 0.2s ease; display: inline-block; }
.cause__cta .btn:hover span { transform: translateX(4px); }

/* L'ancien sélecteur `.pillars` (liste à puces simple) reste utilisable si
   référencé ailleurs — on garde un style minimal de secours. */
.pillars {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0 28px;
}
.pillars li {
  padding: 16px 18px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent-deep);
  color: var(--text-dim);
  font-size: 15px;
}
.pillars strong { color: var(--accent-text); font-weight: 700; }

/* -------------------- IMPACT CARDS (legacy) -------------------- */
.impact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: var(--maxw);
  margin: 40px auto 0;
  list-style: none;
  padding: 0;
  text-align: left;
}
@media (min-width: 720px) {
  .impact { grid-template-columns: repeat(3, 1fr); }
}

/* =============================================================
   SECTION RÉSULTATS — Cartes pays (Costa Rica / France / Burundi)
   ============================================================= */
.results-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 760px)  { .results-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .results-grid { grid-template-columns: repeat(3, 1fr); } }

.result {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(20, 5, 5, 0.85), rgba(10, 5, 5, 0.95)),
    var(--grain);
  background-size: auto, 180px 180px;
  background-blend-mode: normal, overlay;
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent-deep);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.result:hover {
  transform: translateY(-6px) rotate(0.3deg);
  border-top-color: var(--accent-text);
  border-color: var(--accent-text);
  box-shadow:
    0 32px 70px -26px rgba(196, 30, 30, 0.7),
    0 0 28px rgba(239, 68, 68, 0.28);
}
/* Carte feature (France) : ring permanent + glow doublé */
.result--feature {
  outline: 1px solid rgba(196, 30, 30, 0.55);
  outline-offset: -4px;
  border-top-color: var(--accent);
  box-shadow:
    0 18px 44px -22px rgba(139, 10, 10, 0.75),
    inset 0 0 36px rgba(196, 30, 30, 0.1);
}
.result--feature:hover {
  box-shadow:
    0 40px 90px -28px rgba(196, 30, 30, 0.9),
    0 0 40px rgba(239, 68, 68, 0.4),
    inset 0 0 44px rgba(196, 30, 30, 0.14);
}
@media (min-width: 1080px) {
  .result--feature { border-top-color: var(--accent-text); }
}

/* -------------------- VISUEL + FLAG -------------------- */
.result__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  isolation: isolate;
}
.result__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(0.4) brightness(0.72) contrast(1.08);
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
}
.result:hover .result__visual img {
  transform: scale(1.06);
  filter: grayscale(0.15) brightness(0.85) contrast(1.1);
}
.result__visual::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 30%, rgba(10, 5, 5, 0.95) 100%),
    radial-gradient(ellipse at top right, rgba(196, 30, 30, 0.22), transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Drapeau + nom de pays — pose en bas du visuel */
.result__flag {
  position: absolute;
  left: 18px;
  bottom: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  background: rgba(10, 5, 5, 0.85);
  border: 1px solid var(--border-strong);
  color: var(--text);
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  clip-path: polygon(4% 0%, 96% 4%, 100% 90%, 95% 100%, 6% 96%, 0% 10%);
}
.result__flag-icon { font-size: 15px; line-height: 1; }
.result__flag-name { color: var(--accent-text); font-weight: 400; }

/* -------------------- BODY -------------------- */
.result__body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.result__hero {
  margin: 0;
  padding: 0 0 16px;
  border-bottom: 1px dashed var(--border-strong);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.result__num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 400;
  line-height: 1;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  text-shadow:
    0 0 16px rgba(196, 30, 30, 0.4),
    2px 2px 0 #000;
}
.result__num-lbl {
  font-family: var(--font-stencil);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.result__stats {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.result__stats li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.55;
}
.result__stats li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 7px; height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(196, 30, 30, 0.6);
}
.result__stats strong {
  color: var(--text);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.result__stats em {
  color: var(--accent-text);
  font-style: normal;
  font-weight: 700;
}
.impact__card {
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(196, 30, 30, 0.14), var(--bg-2)),
    var(--grain);
  background-size: auto, 180px 180px;
  background-blend-mode: normal, overlay;
  border: 1px solid var(--border-strong);
  clip-path: polygon(2% 0%, 98% 3%, 100% 96%, 97% 100%, 3% 97%, 0% 5%);
}
.impact__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 44px);
  font-weight: 400;
  line-height: 1;
  color: var(--accent-text);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
  text-shadow: 2px 2px 0 #000;
}
.impact__lbl {
  display: block;
  margin-top: 10px;
  font-family: var(--font-stencil);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

/* =============================================================
   SECTION PARTENAIRES — Wordmarks + carrousel d'artistes
   Pas de logos réels (droits non fournis) → wordmarks typographiques
   en grayscale qui s'enflamment au hover.
   ============================================================= */
.section--partners {
  padding-bottom: 0; /* le marquee tient sa propre respiration */
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 14px 18px;
  margin: 48px auto 0;
  max-width: 1100px;
  padding: 0;
  list-style: none;
}

.partner {
  position: relative;
  flex: 0 1 auto;
  min-width: 220px;
  padding: 22px 26px;
  background: linear-gradient(180deg, rgba(20, 5, 5, 0.55), rgba(10, 5, 5, 0.85));
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  /* Désaturation jusqu'au survol */
  filter: grayscale(1) opacity(0.7);
  transition:
    filter 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
  clip-path: polygon(3% 0%, 97% 3%, 100% 92%, 96% 100%, 4% 97%, 0% 8%);
}
.partner:hover,
.partner:focus-within {
  filter: grayscale(0) opacity(1);
  transform: translateY(-6px) rotate(0.3deg);
  border-color: var(--accent-text);
  box-shadow:
    0 28px 60px -24px rgba(196, 30, 30, 0.7),
    0 0 22px rgba(239, 68, 68, 0.28);
}

.partner__name {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}
.partner:hover .partner__name { color: var(--accent-text); }

.partner__role {
  font-family: var(--font-stencil);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* Partenaire principal — bordure top rouge, étiquette ★ implicite via le wording */
.partner--principal {
  background:
    linear-gradient(180deg, rgba(196, 30, 30, 0.18), rgba(10, 5, 5, 0.9)),
    var(--grain);
  background-size: auto, 160px 160px;
  background-blend-mode: normal, overlay;
  border-color: var(--border-strong);
  border-top: 3px solid var(--accent);
  filter: grayscale(0.3) opacity(0.92); /* déjà presque en couleur */
}
.partner--principal .partner__name { color: var(--text); }
.partner--principal .partner__role { color: var(--accent-text); }
.partner--principal:hover .partner__name { color: var(--accent-text); }

/* -------------------- CARROUSEL ARTISTES (marquee CSS pur) -------------------- */
.artists {
  margin-top: 64px;
  padding: 40px 0 80px;
  border-top: 1px dashed var(--border-strong);
  border-bottom: 1px dashed var(--border-strong);
  background: linear-gradient(180deg, transparent, rgba(196, 30, 30, 0.04), transparent);
}
.artists__title {
  margin: 0 auto 24px;
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-align: center;
  color: var(--accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.artists-marquee {
  position: relative;
  overflow: hidden;
  /* Fade aux deux extrémités pour intégrer la boucle visuellement */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.artists-marquee__track {
  display: inline-flex;
  width: max-content;
  animation: marqueeScroll 55s linear infinite;
  will-change: transform;
}
.artists-marquee__list {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  flex-shrink: 0;
}
.artists-marquee__list li {
  display: inline-flex;
  align-items: center;
  padding: 0 28px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 400;
  color: var(--text-dim);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.3s ease;
}
.artists-marquee__list li::after {
  content: "✕";
  margin-left: 28px;
  color: var(--accent-deep);
  font-size: 0.7em;
  opacity: 0.7;
}
.artists-marquee__list li:hover { color: var(--accent-text); }

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Pause au survol/focus pour l'accessibilité (lecture confortable) */
.artists-marquee:hover .artists-marquee__track,
.artists-marquee:focus-within .artists-marquee__track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .artists-marquee__track { animation: none; transform: translateX(0); }
  .artists-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
  }
}

/* =============================================================
   SECTION ARMY OF THE TREES — appel à l'engagement / propagande metal
   Full-bleed, photo "Hands Trees" en fond, double overlay rouge + grain,
   titre géant grunge avec halo rouge sang.
   ============================================================= */
.section--army {
  position: relative;
  overflow: hidden;
  padding: 140px 24px 120px;
  isolation: isolate;
}
.army__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.army__bg-photo {
  position: absolute;
  inset: 0;
  background: url('/assets/img/bg/bg-hands-trees.fdbd541300.webp') center / cover no-repeat;
  filter: grayscale(0.85) brightness(0.32) contrast(1.25);
  transform: scale(1.05);
  animation: heroDrift 40s ease-in-out infinite alternate;
}
.army__bg-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 30%, rgba(196, 30, 30, 0.45), transparent 55%),
    radial-gradient(ellipse at 80% 100%, rgba(139, 10, 10, 0.55), transparent 60%),
    linear-gradient(180deg, rgba(5, 0, 0, 0.82) 0%, rgba(20, 5, 5, 0.7) 40%, rgba(5, 0, 0, 0.92) 100%);
}
/* Rayures diagonales subtiles type "warning tape" pour donner du caractère propagande */
.army__bg-stripes {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0px, transparent 80px,
    rgba(196, 30, 30, 0.04) 80px, rgba(196, 30, 30, 0.04) 81px
  );
  pointer-events: none;
}

.army__inner {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.army__eyebrow {
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--accent-text);
}
.army__eyebrow span {
  font-size: 16px;
  color: var(--accent-text);
}

/* Titre géant : "Join the / Army of the Trees" */
.army__title {
  font-size: clamp(56px, 10vw, 132px);
  line-height: 0.92;
  margin: 18px 0 24px;
  text-transform: uppercase;
}
.army__title-pre {
  display: block;
  font-family: var(--font-stencil);
  font-size: 0.22em;
  letter-spacing: 0.28em;
  color: var(--text-dim);
  margin-bottom: 10px;
  text-shadow: none;
}
.army__title-main {
  display: block;
  color: var(--text);
  text-shadow:
    0 0 1px rgba(244, 236, 216, 0.5),
    4px 4px 0 var(--accent-deep),
    8px 8px 0 rgba(0, 0, 0, 0.5),
    0 0 60px rgba(196, 30, 30, 0.35);
}

.army__lead {
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
  color: var(--text);
  max-width: 680px;
  margin: 0 auto 14px;
}
.army__lead strong {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent-text);
  font-weight: 700;
}

.army__sub {
  font-family: var(--font-stencil);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--text-dim);
  margin: 0 auto 36px;
  max-width: 560px;
}
.army__sub em { color: var(--accent-text); font-style: italic; }

.army__ctas { margin-bottom: 48px; }

/* -------------------- PLAYLIST CARD -------------------- */
.army__playlist {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "icon body"
    "icon cta";
  align-items: center;
  gap: 14px 20px;
  max-width: 640px;
  margin: 0 auto;
  padding: 22px 26px;
  background:
    linear-gradient(180deg, rgba(20, 5, 5, 0.92), rgba(10, 5, 5, 0.96)),
    var(--grain);
  background-size: auto, 180px 180px;
  background-blend-mode: normal, overlay;
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  text-align: left;
  clip-path: polygon(2% 0%, 98% 2%, 100% 96%, 97% 100%, 3% 98%, 0% 5%);
}
.army__playlist-icon {
  grid-area: icon;
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-text);
  background: rgba(196, 30, 30, 0.08);
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 18px rgba(196, 30, 30, 0.3);
}
.army__playlist-icon svg { width: 30px; height: 30px; }
.army__playlist-body { grid-area: body; }
.army__playlist-title {
  margin: 0 0 4px;
  font-family: var(--font-stencil);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent-text);
  text-transform: uppercase;
}
.army__playlist-desc {
  margin: 0;
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.5;
}
.army__playlist-cta {
  grid-area: cta;
  justify-self: start;
  margin-top: 6px;
}
.army__playlist-cta span {
  display: inline-block;
  transition: transform 0.2s ease;
}
.army__playlist-cta:hover span { transform: translateX(4px); }

@media (min-width: 720px) {
  .army__playlist {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "icon body cta";
    gap: 22px;
  }
  .army__playlist-cta { margin-top: 0; }
}

@media (max-width: 520px) {
  .section--army { padding: 100px 20px 90px; }
  .army__title-main { text-shadow: 0 0 1px rgba(244,236,216,0.5), 3px 3px 0 var(--accent-deep), 5px 5px 0 rgba(0,0,0,0.5); }
  .army__playlist { padding: 18px 18px; }
}

/* =============================================================
   CTA-BLOCK — Panneau de conversion principal (acheter un ticket)
   Pensé comme un "billet" : double bordure rouge, étiquette Savage Tombola,
   halo rouge sang derrière, glow pulsant sur le bouton mega.
   ============================================================= */
.section--cta {
  padding: 110px 24px 110px;
}
.cta-block {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  isolation: isolate;
}

/* Couches décoratives derrière le panneau */
.cta-block__bg {
  position: absolute;
  inset: -40px -8px;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.cta-block__bg-photo {
  position: absolute;
  inset: 0;
  background: url('/assets/img/field/field-hellfest.931fc55465.webp') center / cover no-repeat;
  filter: grayscale(0.8) brightness(0.32) contrast(1.18);
  transform: scale(1.05);
}
.cta-block__bg-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(196, 30, 30, 0.32), transparent 60%),
    linear-gradient(180deg, rgba(5, 0, 0, 0.85), rgba(20, 5, 5, 0.92));
}

/* Le panneau "billet" lui-même */
.cta-block__panel {
  position: relative;
  padding: 56px 32px 44px;
  background:
    linear-gradient(180deg, rgba(20, 5, 5, 0.92), rgba(10, 5, 5, 0.96)),
    var(--grain);
  background-size: auto, 200px 200px;
  background-blend-mode: normal, overlay;
  border: 2px solid var(--accent-deep);
  /* Glow rouge sang amplifié (+15% blur/spread) + halo accent-text */
  box-shadow:
    0 40px 100px -28px rgba(196, 30, 30, 0.75),
    0 0 40px rgba(239, 68, 68, 0.22),
    inset 0 0 90px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(196, 30, 30, 0.28);
  /* Bord papier-déchiré plus marqué (plus de points → silhouette plus erratique) */
  clip-path: polygon(
    1.5% 0%, 12% 2%, 25% 0.5%, 38% 3%, 52% 0.8%, 65% 2.5%, 78% 0.3%, 90% 2%, 98.5% 1%,
    100% 8%, 99.2% 22%, 100% 38%, 99% 55%, 100% 72%, 99.3% 88%, 100% 96%, 97% 100%,
    88% 98%, 75% 99.5%, 62% 97.5%, 48% 99.3%, 34% 97.2%, 22% 99.7%, 10% 97.8%, 2.5% 99%,
    0% 92%, 0.5% 78%, 0% 62%, 0.7% 45%, 0% 28%, 0.5% 12%, 0% 4%
  );
  text-align: center;
}

/* Étiquette "Savage Tombola / 2026" en haut à droite, façon souche de billet */
.cta-block__ticket-tag {
  position: absolute;
  top: 18px;
  right: -10px;
  z-index: 2;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 8px 16px 8px 18px;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: var(--text);
  font-family: var(--font-stencil);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px -8px rgba(196, 30, 30, 0.6);
  clip-path: polygon(0% 0%, 100% 0%, 96% 50%, 100% 100%, 0% 100%);
}
.cta-block__ticket-tag-num {
  font-size: 9px;
  color: rgba(244, 236, 216, 0.75);
  letter-spacing: 0.3em;
  margin-top: 2px;
}

/* Titre — 2e ligne en rouge sang */
.cta-block__title { margin-bottom: 18px; }
.cta-block__title-accent {
  color: var(--accent-text);
  display: inline-block;
  text-shadow:
    3px 3px 0 #000,
    0 0 30px rgba(196, 30, 30, 0.35);
}

.cta-block__ctas {
  margin-top: 32px;
  margin-bottom: 28px;
}

/* Trust line — 3 items horizontaux avec icônes */
.cta-block__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 22px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px dashed var(--border-strong);
  list-style: none;
}
.cta-block__trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.cta-block__trust svg {
  width: 16px;
  height: 16px;
  color: var(--accent-text);
  flex-shrink: 0;
  filter: drop-shadow(0 0 6px rgba(196, 30, 30, 0.4));
}

@media (max-width: 560px) {
  .cta-block__panel { padding: 48px 20px 36px; }
  .cta-block__ticket-tag { right: -6px; top: 12px; font-size: 10px; padding: 6px 12px 6px 14px; }
  .cta-block__trust { gap: 8px 14px; }
  .cta-block__trust li { font-size: 11px; letter-spacing: 0.1em; }
}

/* =============================================================
   FOOTER — 4 colonnes (Brand / Liens / Tombola / Newsletter) + bas
   ============================================================= */
.site-footer {
  background:
    linear-gradient(180deg, #050000, var(--bg-0)),
    var(--grain);
  background-size: auto, 220px 220px;
  background-blend-mode: normal, overlay;
  border-top: 2px solid var(--accent-deep);
  padding: 64px 24px 24px;
}
.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 640px) {
  .site-footer__inner { grid-template-columns: repeat(2, 1fr); gap: 40px 48px; }
}
@media (min-width: 1000px) {
  /* La 1ère colonne (brand) prend un peu plus de place */
  .site-footer__inner { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; }
}

.site-footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* -------------------- COL 1 : Marque -------------------- */
.site-footer__brand-col { gap: 16px; }
.site-footer__brand {
  display: inline-block;
  align-self: flex-start;
}
.site-footer__brand img {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.5));
}
.site-footer__baseline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.site-footer__baseline span { color: var(--accent-deep); }
.site-footer__about {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-mute);
  max-width: 320px;
}

/* -------------------- Titres de colonne -------------------- */
.site-footer__h {
  margin: 0 0 4px;
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.site-footer__h::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(196, 30, 30, 0.6);
}
.site-footer__h--sm { margin-top: 10px; font-size: 11px; }

/* -------------------- Listes de liens -------------------- */
.site-footer__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-dim);
  transition: color 0.2s ease, transform 0.2s ease;
}
.site-footer__list a span {
  font-size: 11px;
  color: var(--text-mute);
  transition: color 0.2s ease, transform 0.2s ease;
}
.site-footer__list a:hover,
.site-footer__list a:focus-visible {
  color: var(--accent-text);
  transform: translateX(3px);
}
.site-footer__list a:hover span { color: var(--accent-text); transform: translate(2px, -2px); }

/* -------------------- Réseaux sociaux -------------------- */
.site-footer__socials {
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: var(--text-dim);
  background: rgba(244, 236, 216, 0.04);
  border: 1px solid var(--border);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
  clip-path: polygon(5% 0%, 95% 5%, 100% 92%, 95% 100%, 5% 95%, 0% 8%);
}
.site-footer__socials a:hover,
.site-footer__socials a:focus-visible {
  color: var(--accent-text);
  background: rgba(196, 30, 30, 0.08);
  border-color: var(--accent-text);
  transform: translateY(-2px);
}
.site-footer__socials svg { width: 18px; height: 18px; }

/* -------------------- Newsletter -------------------- */
.site-footer__news-desc {
  margin: 0 0 4px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-mute);
}
.site-footer__news { display: flex; flex-direction: column; gap: 8px; }
.site-footer__news-row {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border-strong);
  background: rgba(10, 5, 5, 0.7);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-footer__news-row:focus-within {
  border-color: var(--accent-text);
  box-shadow: 0 0 0 3px rgba(196, 30, 30, 0.18);
}
.site-footer__news input[type="email"] {
  flex: 1;
  min-width: 0;
  padding: 11px 14px;
  background: transparent;
  border: 0;
  color: var(--text);
  font-family: var(--font-sys);
  font-size: 14px;
  outline: none;
}
.site-footer__news input[type="email"]::placeholder { color: var(--text-mute); }
.site-footer__news-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  border: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent-deep));
  color: var(--text);
  cursor: pointer;
  transition: filter 0.2s ease;
}
.site-footer__news-submit:hover { filter: brightness(1.15); }
.site-footer__news-submit svg { width: 18px; height: 18px; }
.site-footer__news-msg {
  margin: 0;
  padding: 8px 12px;
  background: rgba(196, 30, 30, 0.12);
  border-left: 3px solid var(--accent);
  font-size: 12.5px;
  color: var(--text-dim);
}
.site-footer__news-legal {
  margin: 0;
  font-size: 11px;
  color: var(--text-mute);
  letter-spacing: 0.04em;
}

/* -------------------- Bas de footer -------------------- */
.site-footer__bottom {
  max-width: var(--maxw);
  margin: 48px auto 0;
  padding: 22px 0 0;
  border-top: 1px dashed var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.site-footer__legal {
  margin: 0;
  font-family: var(--font-stencil);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.site-footer__legal strong { color: var(--accent-text); font-weight: 400; }
.site-footer__credits {
  margin: 0;
  font-size: 11px;
  color: var(--text-mute);
  font-style: italic;
}
.site-footer__credits span { color: var(--accent-text); margin: 0 2px; }
.site-footer__credits a { color: var(--text-mute); transition: color 0.2s ease; }
.site-footer__credits a:hover { color: var(--accent-text); }
@media (max-width: 600px) {
  .site-footer__bottom { justify-content: center; text-align: center; }
}

/* =============================================================
   PAGE LEGAL — Règlement & mentions légales (/reglement.html)
   Layout : hero étroit + sommaire sticky desktop + corps lisible.
   ============================================================= */
.page-legal { background: var(--bg-0); }

.legal-back {
  display: inline-flex !important;
  gap: 8px;
  align-items: center;
}

.legal {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 120px;
}

/* Hero du règlement */
.legal__hero {
  position: relative;
  margin: 0 -24px 56px;
  padding: 140px 24px 60px;
  text-align: center;
  isolation: isolate;
  overflow: hidden;
}
.legal__hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(196, 30, 30, 0.25), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 100%),
    var(--grain);
  background-size: auto, auto, 200px 200px;
  background-blend-mode: normal, normal, overlay;
}
.legal__hero-inner { max-width: 720px; margin: 0 auto; }
.legal__title { margin-top: 16px; }

/* Layout 2 colonnes (TOC + body) en desktop */
.legal__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 920px) {
  .legal__layout { grid-template-columns: 240px 1fr; gap: 56px; }
}

/* -------------------- SOMMAIRE -------------------- */
.legal__toc {
  background: linear-gradient(180deg, rgba(20, 5, 5, 0.7), rgba(10, 5, 5, 0.9));
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent);
  padding: 22px 22px 18px;
  clip-path: polygon(3% 0%, 97% 2%, 100% 96%, 96% 100%, 4% 98%, 0% 4%);
}
@media (min-width: 920px) {
  .legal__toc { position: sticky; top: 96px; }
}
.legal__toc-title {
  margin: 0 0 14px;
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.legal__toc-list {
  margin: 0;
  padding: 0 0 0 22px;
  list-style: decimal-leading-zero;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--text-dim);
}
.legal__toc-list::marker { color: var(--accent-text); }
.legal__toc-list li::marker {
  color: var(--accent-text);
  font-family: var(--font-stencil);
  font-size: 11px;
}
.legal__toc-list a {
  color: var(--text-dim);
  transition: color 0.2s ease, transform 0.2s ease;
}
.legal__toc-list a:hover,
.legal__toc-list a:focus-visible {
  color: var(--accent-text);
  transform: translateX(2px);
}

/* -------------------- CORPS DU RÈGLEMENT -------------------- */
.legal__body {
  max-width: 760px;
}
.legal__section {
  padding: 30px 0;
  border-bottom: 1px dashed var(--border-strong);
  scroll-margin-top: 96px; /* compense le header fixe sur ancre */
}
.legal__section:last-of-type { border-bottom: 0; }

.legal__h2 {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--text);
  line-height: 1.1;
  text-shadow: 2px 2px 0 var(--accent-deep);
}
.legal__num {
  font-family: var(--font-stencil);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent-text);
  text-shadow: none;
  flex-shrink: 0;
}

.legal__body p,
.legal__body li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-dim);
}
.legal__body p { margin: 0 0 14px; }
.legal__body p:last-child { margin-bottom: 0; }
.legal__body strong { color: var(--text); font-weight: 700; }
.legal__body em { color: var(--accent-text); font-style: italic; }
.legal__body a {
  color: var(--accent-text);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(196, 30, 30, 0.5);
  transition: text-decoration-color 0.2s ease;
}
.legal__body a:hover { text-decoration-color: var(--accent-text); }

/* Listes */
.legal__ul,
.legal__lots {
  margin: 6px 0 18px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal__lots { padding-left: 28px; }
.legal__lots li { list-style: decimal-leading-zero; }
.legal__lots li::marker { color: var(--accent-text); font-weight: 700; }
.legal__ul li { list-style: none; position: relative; padding-left: 18px; }
.legal__ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 7px; height: 7px;
  background: var(--accent);
  transform: rotate(45deg);
}

.legal__note {
  margin-top: 10px;
  padding: 12px 16px;
  background: rgba(196, 30, 30, 0.08);
  border-left: 3px solid var(--accent);
  font-size: 13.5px !important;
  color: var(--text-dim);
  font-style: italic;
}

/* Bloc clé/valeur pour les mentions légales */
.legal__dl {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px 18px;
  margin: 0;
}
@media (min-width: 560px) {
  .legal__dl { grid-template-columns: 200px 1fr; gap: 12px 24px; }
}
.legal__dl dt {
  font-family: var(--font-stencil);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-text);
  padding-top: 3px;
}
.legal__dl dd {
  margin: 0 0 4px;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
}

/* Marqueurs TODO client — surlignés en rouge sang pour qu'aucun ne passe en prod par erreur */
.legal__todo {
  display: inline-block;
  padding: 1px 6px;
  margin: 0 1px;
  background: rgba(196, 30, 30, 0.18);
  border-bottom: 1px dashed var(--accent);
  color: var(--accent-text);
  font-family: var(--font-stencil);
  font-size: 0.88em;
  letter-spacing: 0.04em;
  font-weight: 400;
}

.legal__updated {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px dashed var(--border-strong);
  font-size: 13px !important;
  color: var(--text-mute);
  font-style: italic;
}
.legal__back-top {
  margin-top: 20px;
  text-align: center;
}
.legal__back-top a {
  display: inline-block;
  padding: 8px 18px;
  font-family: var(--font-stencil);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mute) !important;
  text-decoration: none !important;
  border: 1px solid var(--border);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.legal__back-top a:hover {
  color: var(--accent-text) !important;
  border-color: var(--accent-text);
}

/* =============================================================
   SECTION GALERIE — scroll-snap horizontal (item-008 +photos)
   ============================================================= */
.section--gallery {
  padding-bottom: 80px;
}
.gallery {
  display: flex;
  gap: 18px;
  margin: 48px 0 0;
  padding: 8px 24px 28px;          /* respiration latérale + ombre hover */
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 24px;
  scrollbar-width: thin;
  scrollbar-color: var(--accent-deep) transparent;
  /* Fades aux extrémités pour habiller le scroll */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
}
.gallery:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 4px; }
.gallery::-webkit-scrollbar { height: 8px; }
.gallery::-webkit-scrollbar-track { background: transparent; }
.gallery::-webkit-scrollbar-thumb {
  background: var(--accent-deep);
  border-radius: 4px;
}
.gallery__item {
  flex: 0 0 auto;
  width: clamp(260px, 32vw, 380px);
  scroll-snap-align: start;
}
.gallery__item figure {
  position: relative;
  margin: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-left: 3px solid var(--accent-deep);
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  clip-path: polygon(2% 0%, 98% 2%, 100% 96%, 97% 100%, 3% 98%, 0% 5%);
}
.gallery__item figure:hover {
  transform: translateY(-4px) rotate(0.3deg);
  border-color: var(--accent-text);
  border-left-color: var(--accent-text);
  box-shadow:
    0 24px 50px -24px rgba(196, 30, 30, 0.55),
    0 0 22px rgba(239, 68, 68, 0.25);
}
.gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.35) brightness(0.78) contrast(1.06);
  transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.4s ease;
}
.gallery__item figure:hover img {
  transform: scale(1.05);
  filter: grayscale(0.1) brightness(0.92) contrast(1.1);
}
.gallery__item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(5, 0, 0, 0.92) 70%);
  color: var(--text);
  font-family: var(--font-stencil);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
}

/* =============================================================
   #army : vignette d'illustration sous le titre
   ============================================================= */
.army__illustration {
  margin: 28px auto 24px;
  max-width: 620px;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  border-top: 2px solid var(--accent);
  box-shadow: 0 22px 50px -28px rgba(196, 30, 30, 0.6);
  clip-path: polygon(2% 0%, 98% 2%, 100% 96%, 97% 100%, 3% 98%, 0% 5%);
}
.army__illustration img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  filter: grayscale(0.6) brightness(0.7) contrast(1.15);
}

/* =============================================================
   SECTION TIMELINE — 4 jalons dates clés Hellfest (item-009)
   ============================================================= */
.section--timeline {
  padding-bottom: 110px;
}
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  max-width: var(--maxw);
  margin: 56px auto 0;
  padding: 0 24px;
  list-style: none;
  counter-reset: timeline;
  position: relative;
}
@media (min-width: 720px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 28px; }
}
@media (min-width: 1080px) {
  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
  /* Ligne de connexion horizontale entre les 4 étapes */
  .timeline::before {
    content: "";
    position: absolute;
    top: 64px;
    left: 8%;
    right: 8%;
    height: 2px;
    background: repeating-linear-gradient(
      90deg,
      var(--accent-deep) 0 8px,
      transparent 8px 16px
    );
    z-index: 0;
  }
}

.timeline__step {
  counter-increment: timeline;
  position: relative;
  padding: 28px 24px 26px;
  background:
    linear-gradient(180deg, rgba(20, 5, 5, 0.85), rgba(10, 5, 5, 0.95)),
    var(--grain);
  background-size: auto, 180px 180px;
  background-blend-mode: normal, overlay;
  border: 1px solid var(--border-strong);
  border-top: 3px solid var(--accent-deep);
  text-align: center;
  z-index: 1;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  clip-path: polygon(3% 0%, 97% 2%, 100% 96%, 96% 100%, 4% 98%, 0% 5%);
}
@media (min-width: 1080px) {
  .timeline__step { margin: 0 8px; }
}
.timeline__step:hover {
  transform: translateY(-6px) rotate(0.3deg);
  border-color: var(--accent-text);
  border-top-color: var(--accent-text);
  box-shadow:
    0 28px 60px -24px rgba(196, 30, 30, 0.65),
    0 0 24px rgba(239, 68, 68, 0.28);
}

/* Variante accent (jalon "veille / installation") : ring rouge */
.timeline__step--accent {
  border-top-color: var(--accent);
  outline: 1px solid rgba(196, 30, 30, 0.4);
  outline-offset: -4px;
}

/* Variante feature (Hellfest lui-même) : glow doublé permanent */
.timeline__step--feature {
  background:
    linear-gradient(180deg, rgba(196, 30, 30, 0.22), var(--bg-2)),
    var(--grain);
  background-size: auto, 180px 180px;
  background-blend-mode: normal, overlay;
  border-top-color: var(--accent);
  outline: 1px solid rgba(196, 30, 30, 0.55);
  outline-offset: -4px;
  box-shadow:
    0 18px 44px -22px rgba(139, 10, 10, 0.75),
    inset 0 0 36px rgba(196, 30, 30, 0.1);
}
.timeline__step--feature:hover {
  box-shadow:
    0 40px 90px -28px rgba(196, 30, 30, 0.9),
    0 0 40px rgba(239, 68, 68, 0.4),
    inset 0 0 44px rgba(196, 30, 30, 0.14);
}

/* Pastille date — gros chiffre Bungee façon badge cartouche */
.timeline__date {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 auto 16px;
  padding: 10px 18px 8px;
  background: linear-gradient(180deg, rgba(10, 5, 5, 0.95), rgba(20, 5, 5, 0.95));
  border: 2px solid var(--accent-deep);
  clip-path: polygon(6% 0%, 94% 6%, 100% 92%, 94% 100%, 6% 94%, 0% 10%);
}
.timeline__step--feature .timeline__date {
  border-color: var(--accent);
  box-shadow: 0 0 22px rgba(196, 30, 30, 0.35);
}
.timeline__day {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  line-height: 1;
  color: var(--accent-text);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 2px 2px 0 #000;
  white-space: nowrap;
}
.timeline__month {
  font-family: var(--font-stencil);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.timeline__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  color: var(--accent-text);
  background: rgba(196, 30, 30, 0.1);
  border: 1.5px solid var(--accent-deep);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(196, 30, 30, 0.25);
}
.timeline__icon svg { width: 26px; height: 26px; }
.timeline__step--feature .timeline__icon {
  border-color: var(--accent);
  box-shadow:
    0 0 24px rgba(196, 30, 30, 0.5),
    inset 0 0 14px rgba(196, 30, 30, 0.2);
}
.timeline__step:hover .timeline__icon {
  border-color: var(--accent-text);
  box-shadow:
    0 0 24px rgba(239, 68, 68, 0.4),
    inset 0 0 16px rgba(196, 30, 30, 0.25);
}

.timeline__title {
  font-family: var(--font-display);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 8px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-shadow: 1px 1px 0 var(--accent-deep);
}
.timeline__desc {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-dim);
}

/* =============================================================
   PASSE QUALITÉ + EFFETS VISUELS +10% (item-002 request-0134)
   ============================================================= */

/* -------------------- 1. Tokens transition standardisés -------------------- */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast: 0.16s;
  --dur-med:  0.28s;
  --dur-slow: 0.55s;
}

/* -------------------- 2. Hiérarchie typographique affinée -------------------- */
h1, h2, h3, .display, .display--md {
  text-wrap: balance;       /* évite les veuves orphelines sur 1 ligne */
  -webkit-hyphens: auto;
}
.display {
  /* Letterspacing un peu plus serré sur le XXL (Bungee), feeling premium */
  letter-spacing: -0.008em;
}
.lead, .section__lead, .timeline__desc, .lot__desc, .pillar__desc, .army__lead {
  text-wrap: pretty;
}
/* Décollement subtil du hero (lisibilité par-dessus la photo)
   + halo ambient orange chaud (request-1728 item-002) qui s'aligne sur la
   nouvelle trainée curseur « flammes des enfers ». */
.mode__inner .display,
.hero__inner .display {
  text-shadow:
    0 0 1px rgba(244, 236, 216, 0.5),
    3px 3px 0 var(--accent-deep),
    6px 6px 0 rgba(0, 0, 0, 0.5),
    0 0 80px rgba(0, 0, 0, 0.55),       /* halo sombre derrière qui décolle du fond */
    0 0 40px rgba(255, 122, 26, 0.25);  /* chaleur orange sous le titre (flamme) */
}

/* -------------------- 3. scroll-margin-top renforcé sur sections ancrées -------------------- */
section[id],
.legal__section[id] {
  scroll-margin-top: 108px;  /* compense header sticky + air respirable */
}

/* -------------------- 4. Grain SVG renforcé (+8% intensité) -------------------- */
.mode__bg-grain,
.hero__bg-grain {
  opacity: 0.62;             /* était 0.55 → +12% */
}
.section::after {
  opacity: 0.22;             /* était 0.18 → +22% */
}

/* -------------------- 5. Halo pulse sur cartes feature (lot signature / résultats France) -------------------- */
@keyframes featurePulse {
  0%, 100% {
    outline-color: rgba(196, 30, 30, 0.55);
    box-shadow:
      0 14px 36px -22px rgba(139, 10, 10, 0.7),
      inset 0 0 32px rgba(196, 30, 30, 0.08),
      0 0 0 0 rgba(196, 30, 30, 0);
  }
  50% {
    outline-color: rgba(239, 68, 68, 0.85);
    box-shadow:
      0 18px 44px -22px rgba(139, 10, 10, 0.8),
      inset 0 0 40px rgba(196, 30, 30, 0.12),
      0 0 0 6px rgba(196, 30, 30, 0.18);
  }
}
.lot--feature:not(:hover),
.result--feature:not(:hover),
.timeline__step--feature:not(:hover) {
  animation: featurePulse 4s ease-in-out infinite;
}
@media (prefers-reduced-motion: reduce) {
  .lot--feature, .result--feature, .timeline__step--feature { animation: none; }
}

/* -------------------- 6. Glow trail sur countdown au moment du flip -------------------- */
.countdown__value.is-flipping {
  /* On amplifie le filtre pendant la rotation pour laisser un sillage rouge */
  filter: drop-shadow(0 0 12px rgba(239, 68, 68, 0.55))
          drop-shadow(0 0 22px rgba(196, 30, 30, 0.35));
}

/* -------------------- 7. Sweep btn--mega : plus rapide + plus contrasté -------------------- */
.btn--mega::before {
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(244, 236, 216, 0.0) 18%,
    rgba(244, 236, 216, 0.65) 50%,   /* était 0.45 — +44% intensité */
    rgba(244, 236, 216, 0.0) 82%,
    transparent 100%
  );
  animation-duration: 2.2s;          /* était 2.4s — +9% vitesse */
}

/* -------------------- 8. Tilt 3D subtil sur pillars + timeline steps (desktop) -------------------- */
@media (hover: hover) and (pointer: fine) {
  .pillar,
  .timeline__step {
    transform-style: preserve-3d;
    transition: transform var(--dur-med) var(--ease-out-expo),
                border-color var(--dur-med) ease,
                box-shadow var(--dur-med) ease;
  }
  .pillar:hover {
    transform: translateY(-6px) rotate(0.3deg)
               perspective(800px) rotateX(4deg) rotateY(-2deg);
  }
  .timeline__step:hover {
    transform: translateY(-6px) rotate(0.3deg)
               perspective(800px) rotateX(3deg);
  }
  /* L'icône interne se détache légèrement, effet relief */
  .pillar:hover .pillar__icon,
  .timeline__step:hover .timeline__icon {
    transform: translateZ(8px) scale(1.06);
    transition: transform var(--dur-med) var(--ease-out-back),
                border-color var(--dur-med) ease,
                box-shadow var(--dur-med) ease;
  }
}

/* -------------------- 9. Entrée stagger (déclenché par JS via .fx-stagger.is-visible) -------------------- */
.fx-stagger {
  opacity: 0;
  transform: translateY(24px) rotate(-0.2deg);
  transition: opacity var(--dur-slow) var(--ease-out-expo),
              transform var(--dur-slow) var(--ease-out-expo);
  will-change: opacity, transform;
}
.fx-stagger.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}
/* Délais successifs (lus dans l'ordre du DOM) */
.fx-stagger:nth-child(1)  { transition-delay: 0ms; }
.fx-stagger:nth-child(2)  { transition-delay: 70ms; }
.fx-stagger:nth-child(3)  { transition-delay: 140ms; }
.fx-stagger:nth-child(4)  { transition-delay: 210ms; }
.fx-stagger:nth-child(5)  { transition-delay: 280ms; }
.fx-stagger:nth-child(6)  { transition-delay: 350ms; }
.fx-stagger:nth-child(7)  { transition-delay: 420ms; }
.fx-stagger:nth-child(8)  { transition-delay: 490ms; }
@media (prefers-reduced-motion: reduce) {
  .fx-stagger { opacity: 1; transform: none; transition: none; }
}

/* -------------------- 10. Parallax doux sur fonds photo (driven par JS) -------------------- */
.mode__bg-photo,
.hero__bg-photo,
.army__bg-photo,
.cta-block__bg-photo {
  will-change: transform;
}
/* JS pose --parallax-y (en px, valeur négative quand on scroll) → translate3D */
.mode__bg-photo[data-parallax],
.hero__bg-photo[data-parallax],
.army__bg-photo[data-parallax],
.cta-block__bg-photo[data-parallax] {
  transform: scale(1.06) translate3d(0, var(--parallax-y, 0px), 0);
}
@media (prefers-reduced-motion: reduce) {
  .mode__bg-photo[data-parallax],
  .hero__bg-photo[data-parallax],
  .army__bg-photo[data-parallax],
  .cta-block__bg-photo[data-parallax] {
    transform: scale(1.04);
    --parallax-y: 0px;
  }
}

/* -------------------- 11. Scroll-snap galerie plus net -------------------- */
.gallery { scroll-snap-stop: always; scroll-behavior: smooth; }

/* -------------------- 12. Padding hero augmenté sous 480px -------------------- */
@media (max-width: 480px) {
  .mode--countdown { padding: 88px 16px 56px; }
  .hero            { padding: 88px 16px 56px; }
  .display { letter-spacing: 0.005em; }
}

/* -------------------- 13. Séparateur déchiré entre certaines sections -------------------- */
.section--cta::before,
.section--army::after {
  content: "";
  display: block;
  position: absolute;
  left: 0; right: 0;
  height: 12px;
  background:
    radial-gradient(ellipse at top, rgba(196, 30, 30, 0.18), transparent 60%);
  pointer-events: none;
}
.section--cta::before { top: 0; }
.section--army::after { bottom: 0; }

/* -------------------- 14. États focus/hover homogènes sur tous les liens internes -------------------- */
a[href^="#"]:hover,
a[href^="/"]:hover {
  transition: color var(--dur-fast) ease;
}

/* =============================================================
   FLAMMES DES ENFERS sur les titres (+15% FX, item-002 request-1728)
   Cohérence avec la trainée curseur « flammes des enfers ».
   Palette feu : jaune cœur (#ffd24a) → orange chaud (#ff7a1a) → rouge sang (#c41e1e).
   Toutes les animations sont conditionnées à `prefers-reduced-motion: no-preference`.
   Le texte conserve `color: var(--text)` pour préserver le contraste WCAG AA.
   ============================================================= */

@media (prefers-reduced-motion: no-preference) {

  /* -------- 15a. titleFlicker — vacillement de braise sur tous les .display -------- */
  @keyframes titleFlicker {
    0%, 100% {
      text-shadow:
        0 0 8px  rgba(255, 210,  74, 0.20),
        0 0 16px rgba(255, 122,  26, 0.30),
        0 0 24px rgba(196,  30,  30, 0.50);
    }
    28% {
      text-shadow:
        0 0 6px  rgba(255, 210,  74, 0.28),
        0 0 14px rgba(255, 122,  26, 0.42),
        0 0 22px rgba(196,  30,  30, 0.42);
    }
    52% {
      text-shadow:
        0 0 10px rgba(255, 210,  74, 0.15),
        0 0 20px rgba(255, 122,  26, 0.36),
        0 0 28px rgba(196,  30,  30, 0.55);
    }
    78% {
      text-shadow:
        0 0 7px  rgba(255, 210,  74, 0.24),
        0 0 15px rgba(255, 122,  26, 0.32),
        0 0 26px rgba(196,  30,  30, 0.48);
    }
  }

  /* Applique le flicker à tous les gros titres .display + titres de sections cités */
  .display,
  .hero__title,
  .lots-preview__title,
  .army__title,
  .artists__title,
  .cta-block__title {
    animation: titleFlicker 2.8s ease-in-out infinite;
  }

  /* Les titres du hero/mode ont déjà un text-shadow multi-stop riche (lisibilité photo).
     Sur ceux-là on désactive le flicker text-shadow et on passe par un drop-shadow
     filter pour ajouter la chaleur sans détruire le décollement existant. */
  @keyframes heroEmberGlow {
    0%, 100% {
      filter:
        drop-shadow(0 0 10px rgba(255, 122, 26, 0.30))
        drop-shadow(0 0 22px rgba(196,  30, 30, 0.32));
    }
    50% {
      filter:
        drop-shadow(0 0 16px rgba(255, 122, 26, 0.45))
        drop-shadow(0 0 30px rgba(196,  30, 30, 0.48));
    }
  }
  .mode__inner .display,
  .hero__inner .display {
    animation: heroEmberGlow 3.2s ease-in-out infinite;
  }

  /* -------- 15b. emberGlow — pulse subtile sur les sous-titres .display--md -------- */
  @keyframes emberGlow {
    0%, 100% {
      filter:
        drop-shadow(0 0  8px rgba(255, 122, 26, 0.35))
        drop-shadow(0 0  8px rgba(196,  30, 30, 0.20));
    }
    50% {
      filter:
        drop-shadow(0 0 14px rgba(255, 122, 26, 0.55))
        drop-shadow(0 0 14px rgba(196,  30, 30, 0.35));
    }
  }
  .display--md {
    animation: emberGlow 4s ease-in-out infinite;
  }

  /* -------- 15c. flameSweep — dégradé feu animé en background-clip text (optionnel) -------- */
  @supports ((background-clip: text) or (-webkit-background-clip: text)) {
    @keyframes flameSweep {
      0%   { background-position:   0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position:   0% 50%; }
    }
    /* On limite le clip-text aux .display HORS hero (le hero garde son shadow stack
       multi-couche pour la lisibilité sur photo). */
    .lots-preview__title,
    .army__title,
    .artists__title,
    .cta-block__title {
      background-image: linear-gradient(
        100deg,
        var(--text)       0%,
        #ffd24a          22%,
        #ff7a1a          45%,
        #c41e1e          62%,
        var(--text)      85%,
        var(--text)     100%
      );
      background-size: 280% 100%;
      background-repeat: no-repeat;
      background-position: 0% 50%;
      -webkit-background-clip: text;
              background-clip: text;
      -webkit-text-fill-color: transparent;
              text-fill-color: transparent;
      /* Fallback color déjà posé par .display { color: var(--text) } — préservé pour AA. */
      animation:
        titleFlicker 2.8s ease-in-out infinite,
        flameSweep   6s   ease-in-out infinite;
    }
  }
}

/* -------- 15d. Garde-fou a11y : neutralisation complète en reduced-motion -------- */
@media (prefers-reduced-motion: reduce) {
  .display,
  .display--md,
  .hero__title,
  .lots-preview__title,
  .army__title,
  .artists__title,
  .cta-block__title,
  .mode__inner .display,
  .hero__inner .display {
    animation: none !important;
    filter: none;
  }
}
