/* ============================================================
   BREAK THE CODE — STYLE
   Palette : noir profond / orange braise / blanc cassé
   Typo    : Bebas Neue (titres) · Outfit (texte) · Space Mono (chronos)
   ============================================================ */

:root {
  --noir:       #0b0b0e;
  --noir-2:     #121218;
  --noir-3:     #1a1a22;
  --orange:     #ff6b1c;
  --orange-vif: #ff8a3d;
  --blanc:      #f4f2ee;
  --gris:       #9d9aa4;
  --ligne:      rgba(255,255,255,0.09);
  --orange-halo: rgba(255,107,28,0.35);

  --display: "Bebas Neue", "Arial Narrow", sans-serif;
  --body:    "Outfit", "Segoe UI", sans-serif;
  --mono:    "Space Mono", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--noir);
  color: var(--blanc);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* grain / vignette d'ambiance */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(255,107,28,0.06), transparent 55%),
    radial-gradient(ellipse 100% 100% at 50% 115%, rgba(0,0,0,0.6), transparent 60%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.wrap { position: relative; z-index: 1; width: min(1120px, 92%); margin: 0 auto; }

/* ============================================================
   TYPOGRAPHIE
   ============================================================ */
h1, h2, h3, .display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.045em;
  line-height: 0.98;
  text-transform: uppercase;
}

h1 { font-size: clamp(3.4rem, 12vw, 7.5rem); }
h2 { font-size: clamp(2rem, 6vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 4vw, 1.9rem); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--orange);
}

.lead { color: var(--gris); font-size: clamp(1rem, 2.6vw, 1.15rem); max-width: 60ch; }

.mono { font-family: var(--mono); }

/* ============================================================
   BOUTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 2rem;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  min-height: 52px;
}
.btn:active { transform: scale(0.97); }

.btn-orange {
  background: var(--orange);
  color: #170a02;
  box-shadow: 0 6px 24px var(--orange-halo);
}
.btn-orange:hover { background: var(--orange-vif); box-shadow: 0 8px 32px var(--orange-halo); }

.btn-ghost {
  background: transparent;
  color: var(--blanc);
  border-color: rgba(255,255,255,0.25);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-vif); }

/* ============================================================
   HEADER
   ============================================================ */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,11,14,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--ligne);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo .tick { color: var(--orange); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  font-size: 0.92rem;
  font-weight: 500;
}
.nav-links a { color: var(--gris); transition: color 0.15s; padding: 0.4rem 0; }
.nav-links a:hover { color: var(--blanc); }
.nav-links a.active { color: var(--orange); }
.nav-links .btn { min-height: 42px; padding: 0.5rem 1.3rem; font-size: 0.88rem; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 46px;
  height: 46px;
  position: relative;
}
.burger span, .burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 10px;
  width: 26px;
  height: 2px;
  background: var(--blanc);
  transition: transform 0.25s, opacity 0.2s;
}
.burger span { top: 22px; }
.burger span::before { top: -8px; left: 0; }
.burger span::after  { top: 8px;  left: 0; }
.nav-open .burger span { background: transparent; }
.nav-open .burger span::before { transform: translateY(8px) rotate(45deg); background: var(--orange); }
.nav-open .burger span::after  { transform: translateY(-8px) rotate(-45deg); background: var(--orange); }

@media (max-width: 880px) {
  .burger { display: block; }
  .nav-links {
    position: fixed;
    top: 68px;
    left: 0; right: 0;
    background: rgba(11,11,14,0.98);
    border-bottom: 1px solid var(--ligne);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 4% 1.2rem;
    transform: translateY(-115%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav-open .nav-links { transform: translateY(0); }
  .nav-links a { padding: 0.85rem 0.4rem; border-bottom: 1px solid var(--ligne); font-size: 1.05rem; }
  .nav-links .btn { margin-top: 0.9rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100svh - 68px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 0 5rem;
}
.hero::after {
  /* faisceau discret */
  content: '';
  position: absolute;
  top: -30%;
  left: 55%;
  width: 46vw;
  height: 160%;
  background: linear-gradient(190deg, rgba(255,107,28,0.10), transparent 62%);
  transform: rotate(14deg);
  pointer-events: none;
}
.hero-content { max-width: 800px; }
.hero h1 { margin: 0.4rem 0 0.6rem; }
.hero h1 .accent { color: var(--orange); }
.hero .tagline {
  font-family: var(--mono);
  color: var(--gris);
  font-size: clamp(0.85rem, 2.6vw, 1rem);
  letter-spacing: 0.06em;
  margin-bottom: 2.2rem;
}
.hero .tagline .blink { color: var(--orange); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.hero-cta { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.hero-meta {
  margin-top: 3.2rem;
  display: flex;
  gap: 2.4rem;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: var(--gris);
}
.hero-meta b { display: block; color: var(--blanc); font-family: var(--mono); font-size: 1.05rem; }

.hero-flex { display: flex; align-items: center; gap: 3rem; }
.hero-logo { flex-shrink: 0; }
.hero-logo img {
  width: min(320px, 30vw);
  height: auto;
  filter: drop-shadow(0 0 34px rgba(255,107,28,0.22));
}
@media (max-width: 880px) {
  .hero-flex { flex-direction: column-reverse; align-items: flex-start; gap: 1.6rem; }
  .hero-logo img { width: clamp(130px, 34vw, 190px); }
  .hero { padding-top: 2.2rem; }
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: clamp(3.2rem, 8vw, 5.5rem) 0; }
section.alt { background: var(--noir-2); border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); }

.section-head { margin-bottom: clamp(1.8rem, 5vw, 3rem); }
.section-head .lead { margin-top: 0.8rem; }

/* Révélation discrète au scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero .tagline .blink { animation: none; }
}

/* ============================================================
   CARTES EXPÉRIENCES
   ============================================================ */
.exp-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 1.6rem;
}
.exp-card {
  background: var(--noir-3);
  border: 1px solid var(--ligne);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.exp-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,107,28,0.45);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
}
.exp-visual { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--noir-2); }
.exp-visual img { width: 100%; height: 100%; object-fit: cover; }
.exp-body { padding: 1.5rem 1.4rem 1.6rem; display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.exp-body h3 { color: var(--blanc); }
.exp-accroche { color: var(--orange-vif); font-weight: 500; font-size: 0.98rem; }
.exp-desc { color: var(--gris); font-size: 0.95rem; }

.exp-stats {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  padding: 0.8rem 0 0.2rem;
  font-size: 0.85rem;
  color: var(--gris);
  border-top: 1px solid var(--ligne);
  margin-top: auto;
}
.exp-stats b { display: block; color: var(--blanc); font-family: var(--mono); font-size: 0.95rem; }
.stars { color: var(--orange); letter-spacing: 2px; }

.exp-actions { display: flex; gap: 0.7rem; padding-top: 0.9rem; flex-wrap: wrap; }
.exp-actions .btn { flex: 1; min-width: 140px; }

/* Placeholder image manquante */
.img-ph {
  width: 100%;
  height: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,0.025) 14px 28px),
    linear-gradient(160deg, #1c1c25, #121218);
  color: #5b5864;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.img-ph::before { content: '⧉'; font-size: 1.8rem; color: rgba(255,107,28,0.5); }

/* ============================================================
   TARIFS
   ============================================================ */
.tarif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 1rem;
}
.tarif-card {
  background: var(--noir-3);
  border: 1px solid var(--ligne);
  border-radius: 10px;
  padding: 1.5rem 1.2rem;
  text-align: center;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.tarif-card:hover { border-color: rgba(255,107,28,0.5); transform: translateY(-3px); }
.tarif-joueurs { font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.tarif-prix { font-family: var(--display); font-size: 2.5rem; color: var(--orange); margin: 0.4rem 0 0.1rem; }
.tarif-detail { font-size: 0.85rem; color: var(--gris); }
.tarif-note { margin-top: 1.3rem; color: var(--gris); font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.tarif-note::before { content: 'ℹ'; color: var(--orange); }

/* ============================================================
   RECORDS — tableau façon chrono
   ============================================================ */
.records-board {
  background: var(--noir-3);
  border: 1px solid var(--ligne);
  border-radius: 12px;
  overflow: hidden;
}
.records-board + .records-board { margin-top: 2rem; }
.rb-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: rgba(255,107,28,0.07);
  border-bottom: 1px solid var(--ligne);
}
.rb-head h3 { font-size: 1.5rem; }
.rb-head .rb-tag { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.18em; color: var(--orange); text-transform: uppercase; }

.rb-row {
  display: grid;
  grid-template-columns: 56px 1fr auto auto;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border-bottom: 1px solid var(--ligne);
}
.rb-row:last-child { border-bottom: none; }
.rb-rank {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--gris);
  text-align: center;
}
.rb-row:first-of-type .rb-rank { color: var(--orange); }
.rb-team { font-weight: 600; }
.rb-time {
  font-family: var(--mono);
  font-size: clamp(1.05rem, 3.4vw, 1.35rem);
  color: var(--orange-vif);
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px var(--orange-halo);
}
.rb-jokers { font-size: 0.8rem; color: var(--gris); font-family: var(--mono); white-space: nowrap; }

@media (max-width: 560px) {
  .rb-row { grid-template-columns: 40px 1fr auto; }
  .rb-jokers { grid-column: 2 / -1; margin-top: -0.5rem; }
}

/* ============================================================
   AVIS
   ============================================================ */
.avis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 1.2rem;
}
.avis-card {
  background: var(--noir-3);
  border: 1px solid var(--ligne);
  border-radius: 10px;
  padding: 1.4rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.avis-note { color: var(--orange); letter-spacing: 3px; font-size: 0.95rem; }
.avis-texte { color: var(--blanc); font-size: 0.96rem; }
.avis-nom { color: var(--gris); font-size: 0.85rem; font-family: var(--mono); }
.avis-nom::before { content: '— '; }
.avis-src { margin-top: 1.2rem; color: var(--gris); font-size: 0.85rem; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 780px; }
.faq-item {
  border: 1px solid var(--ligne);
  border-radius: 8px;
  margin-bottom: 0.7rem;
  background: var(--noir-3);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.2rem;
  background: none;
  border: none;
  color: var(--blanc);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  min-height: 56px;
}
.faq-q .chev { color: var(--orange); transition: transform 0.25s; flex-shrink: 0; }
.faq-item.open .faq-q .chev { transform: rotate(90deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--gris);
  font-size: 0.95rem;
}
.faq-a > div { padding: 0 1.2rem 1.1rem; }

/* ============================================================
   GALERIE
   ============================================================ */
.gal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 0.9rem;
}
.gal-item {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--ligne);
  background: var(--noir-3);
}
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.gal-item:hover img { transform: scale(1.05); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 1.6rem;
  align-items: start;
}
.contact-card {
  background: var(--noir-3);
  border: 1px solid var(--ligne);
  border-radius: 10px;
  padding: 1.6rem 1.4rem;
}
.contact-line { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.65rem 0; border-bottom: 1px solid var(--ligne); }
.contact-line:last-child { border-bottom: none; }
.contact-line .ic { color: var(--orange); font-size: 1.1rem; width: 24px; text-align: center; flex-shrink: 0; margin-top: 2px; }
.contact-line b { display: block; font-size: 0.78rem; font-family: var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--gris); }
.contact-line a:hover { color: var(--orange-vif); }

.map-frame {
  border: 1px solid var(--ligne);
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--noir-3);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.4) contrast(1.05); }

/* ============================================================
   BANDEAU CTA
   ============================================================ */
.cta-band {
  text-align: center;
  padding: clamp(3rem, 8vw, 4.5rem) 1rem;
  background:
    radial-gradient(ellipse 70% 120% at 50% 130%, rgba(255,107,28,0.16), transparent 60%),
    var(--noir-2);
  border-top: 1px solid var(--ligne);
}
.cta-band h2 { margin-bottom: 0.6rem; }
.cta-band p { color: var(--gris); margin-bottom: 1.8rem; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  border-top: 1px solid var(--ligne);
  padding: 2.4rem 0 2rem;
  background: var(--noir);
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
  color: var(--gris);
  font-size: 0.88rem;
}
.foot-social { display: flex; gap: 1.1rem; }
.foot-social a { color: var(--gris); transition: color 0.15s; display: inline-flex; align-items: center; gap: 0.4rem; }
.foot-social a:hover { color: var(--orange-vif); }

/* ============================================================
   PAGES INTÉRIEURES
   ============================================================ */
.page-hero { padding: clamp(2.6rem, 7vw, 4.2rem) 0 clamp(1.4rem, 4vw, 2.2rem); }
.page-hero h1 { font-size: clamp(2.6rem, 9vw, 4.6rem); }

.theme-hero-visual {
  aspect-ratio: 21 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ligne);
  margin-bottom: 2rem;
  background: var(--noir-3);
}
.theme-hero-visual img { width: 100%; height: 100%; object-fit: cover; }

.theme-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  padding: 1.2rem 1.4rem;
  background: var(--noir-3);
  border: 1px solid var(--ligne);
  border-radius: 10px;
  margin: 1.6rem 0;
}
.theme-stats > div { font-size: 0.85rem; color: var(--gris); }
.theme-stats b { display: block; font-family: var(--mono); color: var(--blanc); font-size: 1.05rem; }
