/* ============================================================
   SPIDER RENAULT SPORT — main.css
   Direction : Circuit
   Typographie : Barlow Condensed (display) + Barlow (body)
   ============================================================ */

/* ---- RESET & VARIABLES ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0a0a0b;
  --bg-2:         #111114;
  --bg-3:         #17171a;
  --border:       rgba(255,255,255,0.07);
  --border-md:    rgba(255,255,255,0.12);
  --border-str:   rgba(255,255,255,0.18);
  --text:         #f0ede8;
  --text-muted:   #b0aca6;
  --text-faint:   #7a7872;
  --accent:       #e8c84a;
  --accent-dim:   rgba(232,200,74,0.12);
  --red:          #cc3329;
  --display:      'Barlow Condensed', sans-serif;
  --body:         'Barlow', sans-serif;
  --header-h:     64px;
  --max-w:        1280px;
  --pad-x:        clamp(1.25rem, 4vw, 5rem);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 0.93;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--text);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 14px 28px;
  transition: opacity 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary:hover { opacity: 0.85; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-md);
  padding: 13px 24px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover { color: var(--text); border-color: var(--border-str); }

.arrow {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  flex-shrink: 0;
}

.arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

/* ---- HEADER ---- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(10,10,11,0.95);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.site-header.scrolled {
  background: rgba(10,10,11,0.99);
}

.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-img {
  height: 27px;
  width: auto;
  display: block;
  opacity: 0.92;
  transition: opacity 0.2s;
}

.nav-logo:hover .logo-img { opacity: 1; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
  gap: 1rem;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item { position: relative; }

.nav-item > a {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 8px 12px;
  display: block;
  transition: color 0.2s;
}

.nav-item > a:hover,
.nav-item.active > a { color: var(--text); }

.nav-sub {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-md);
  min-width: 180px;
  padding: 8px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s;
}

.nav-has-sub:hover .nav-sub {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-sub a {
  display: block;
  padding: 8px 18px;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.15s, background 0.15s;
}

.nav-sub a:hover {
  color: var(--text);
  background: var(--border);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-lang {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  border: 1px solid var(--border);
  padding: 5px 10px;
  transition: color 0.2s, border-color 0.2s;
}

.nav-lang:hover { color: var(--text-muted); border-color: var(--border-md); }

.nav-forum-btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  padding: 8px 18px;
  transition: opacity 0.2s;
}

.nav-forum-btn:hover { opacity: 0.85; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--text);
  transition: transform 0.25s, opacity 0.25s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- HERO ---- */
.hero {
  padding-top: var(--header-h);
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem var(--pad-x) 5rem;
  position: relative;
  z-index: 2;
}

.hero-eyebrow { margin-bottom: 2rem; }

.hero-title {
  font-family: var(--display);
  font-weight: 900;
  line-height: 0.88;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.hero-logo-svg {
  display: block;
  width: clamp(280px, 45vw, 580px);
  height: auto;
  margin: 1.5rem 0 0.25rem;
}

.hero-title .line-brand {
  display: block;
  font-size: clamp(13px, 1.5vw, 16px);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.2em;
}

.hero-title .line-brand em {
  font-style: normal;
  color: var(--accent);
}

.hero-desc {
  font-size: clamp(14px, 1.5vw, 16px);
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero-accent-stripe {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
}

.hero-image-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-spec-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg);
  border: 1px solid var(--border-md);
  padding: 1rem 1.5rem;
  text-align: right;
}

.hero-spec-badge strong {
  display: block;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.hero-spec-badge span {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- STATS BAR ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stat-item {
  padding: 2rem var(--pad-x);
  border-right: 1px solid var(--border);
  transition: background 0.2s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--bg-2); }

.stat-value {
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  line-height: 1;
  color: var(--text);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---- SECTIONS COMMUNES ---- */
.section {
  padding: 5rem var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
}

.section-header-left { display: flex; flex-direction: column; gap: 0.75rem; }

.section-more {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.section-more:hover { color: var(--text-muted); }

/* ---- GRILLE RUBRIQUES ---- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.card {
  background: var(--bg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.2s;
  text-decoration: none;
  color: var(--text);
}

.card:hover { background: var(--bg-2); }

.card-num {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 30px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.65;
  flex: 1;
}

.card-link {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0.5rem;
  transition: color 0.2s;
}

.card:hover .card-link { color: var(--accent); }

/* ---- SECTION FORUM ---- */
.forum-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.forum-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.forum-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.forum-stat {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}

.forum-stat:first-child { border-top: 1px solid var(--border); }

.forum-stat-value {
  font-family: var(--display);
  font-size: 38px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.forum-stat-label {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.forum-content { display: flex; flex-direction: column; gap: 1.5rem; }

.forum-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ---- FOOTER ---- */
.site-footer {
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 4rem;
  align-items: start;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: 13px;
  color: var(--text-faint);
  max-width: 280px;
  line-height: 1.65;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav a {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--text-muted); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-contact a {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s;
}

.footer-contact a:hover { color: var(--text-muted); }

.footer-bar {
  border-top: 1px solid var(--border);
  padding: 1.25rem var(--pad-x);
  max-width: 100%;
}

.footer-bar span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; transition: none; }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .forum-inner { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --header-h: 56px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0; bottom: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 2rem var(--pad-x);
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .main-nav.open { transform: none; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    gap: 0;
  }

  .nav-item { width: 100%; border-bottom: 1px solid var(--border); }

  .nav-item > a {
    font-size: 22px;
    padding: 1rem 0;
    letter-spacing: 0.08em;
    color: var(--text);
  }

  .nav-sub {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    border: none;
    background: none;
    padding: 0 0 0.75rem 1rem;
  }

  .nav-sub a {
    color: var(--text-muted);
    padding: 5px 0;
    font-size: 14px;
  }

  .nav-actions {
    margin-top: 2rem;
    gap: 1rem;
    width: 100%;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-right {
    display: block;
    height: 260px;
    position: relative;
    overflow: hidden;
  }

  .hero-image-wrap {
    position: absolute;
    inset: 0;
  }

  .hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 0% center;
    animation: pan-image 12s ease-in-out infinite alternate;
  }

  @keyframes pan-image {
    from { object-position: 0% center; }
    to   { object-position: 100% center; }
  }

  .hero-left {
    padding: 3rem var(--pad-x) 2.5rem;
    min-height: auto;
    justify-content: flex-start;
  }

  .stats-bar { grid-template-columns: repeat(2, 1fr); }

  .stat-item:nth-child(2) { border-right: none; }

  .cards-grid { grid-template-columns: 1fr; }

  .section-header { flex-direction: column; align-items: flex-start; }

  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .stats-bar { grid-template-columns: 1fr 1fr; }
}

/* ---- PAGE CLUB ---- */
.page-hero {
  padding-top: var(--header-h);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x) 3rem;
}

.page-hero-title {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(64px, 10vw, 130px);
  line-height: 0.88;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 1rem 0 0.25rem;
}

.page-hero-subtitle {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  font-style: italic;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.page-hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.75;
}

.page-hero-bar {
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.page-hero-stat {
  padding: 1.75rem var(--pad-x);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-hero-stat:last-child { border-right: none; }

.page-hero-stat .stat-value {
  font-family: var(--display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.page-hero-stat .stat-value small {
  font-size: 0.5em;
  font-weight: 400;
  color: var(--accent);
}

.page-hero-stat .stat-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.club-section {
  border-bottom: 1px solid var(--border);
}

.club-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.club-block { display: flex; flex-direction: column; gap: 1rem; }

.club-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.club-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.club-objectives {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.objectives-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.obj-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.obj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.obj-card {
  background: var(--bg-2);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.obj-card--accent {
  background: var(--accent-dim);
  border: 1px solid rgba(232,200,74,0.2);
}

.obj-num {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent);
}

.obj-card--accent .obj-num {
  font-size: 28px;
  letter-spacing: 0;
}

.obj-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
}

.obj-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.club-join {
  border-bottom: 1px solid var(--border);
}

.join-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.join-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.join-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.join-quote blockquote {
  font-family: var(--display);
  font-size: clamp(22px, 3vw, 32px);
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.3;
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
}

.join-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--display);
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.club-bureau {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}

.bureau-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.bureau-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.bureau-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 2rem;
}

.bureau-card {
  background: var(--bg-2);
  padding: 2rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.bureau-initials {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(232,200,74,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 16px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.bureau-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.bureau-info strong {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
}

.bureau-info span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.bureau-note {
  font-size: 13px;
  color: var(--text-faint);
  line-height: 1.7;
  max-width: 680px;
}

@media (max-width: 1024px) {
  .obj-grid { grid-template-columns: repeat(2, 1fr); }
  .bureau-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero-bar { grid-template-columns: 1fr 1fr; }
  .page-hero-stat:nth-child(2) { border-right: none; }
  .club-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .obj-grid { grid-template-columns: 1fr; }
  .join-inner { grid-template-columns: 1fr; gap: 3rem; }
}

/* ---- FACEBOOK ---- */
.forum-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-facebook {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color 0.2s;
}

.footer-facebook:hover { color: #1877f2; }

/* ---- BANDE COULEURS ---- */
.colors-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}

.color-item {
  padding: 1.75rem var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-right: 1px solid rgba(0,0,0,0.15);
  transition: filter 0.2s;
}

.color-item:last-child { border-right: none; }
.color-item:hover { filter: brightness(1.08); }

.color-code {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.color-name {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

@media (max-width: 768px) {
  .colors-bar { grid-template-columns: repeat(2, 1fr); }
  .color-item:nth-child(2) { border-right: none; }
  .color-item:nth-child(3) { border-top: 1px solid rgba(0,0,0,0.15); }
}

.footer-originals {
  display: inline-flex;
  align-items: center;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.footer-originals:hover { opacity: 1; }

/* ---- TAILLES MOBILES RENFORCÉES ---- */
@media (max-width: 768px) {
  body          { font-size: 17px; }
  .hero-desc    { font-size: 17px; }
  .card-desc    { font-size: 16px; }
  .forum-desc   { font-size: 16px; }
  .club-text p  { font-size: 16px; }
  .obj-desc     { font-size: 15px; }
  .join-desc    { font-size: 16px; }
  .bureau-note  { font-size: 15px; }
  .footer-desc  { font-size: 15px; }
  .stat-label   { font-size: 13px; }
  .color-name   { font-size: 16px; }
  .nav-sub a    { font-size: 16px; }
  .card-desc, .forum-desc, .club-text p, .join-desc { line-height: 1.75; }
}

/* ---- BANDEAU COOKIES ---- */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 500;
  background: var(--bg-3);
  border: 1px solid var(--border-md);
  box-shadow: 0 4px 32px rgba(0,0,0,0.6);
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  max-width: 760px;
  width: calc(100% - 3rem);
}

#cookie-banner.hidden { display: none; }

.cookie-text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
}

.cookie-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-text a:hover { opacity: 0.8; }

.cookie-btn {
  font-family: var(--display);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  flex-shrink: 0;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.cookie-btn:hover { opacity: 0.85; }

@media (max-width: 600px) {
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: 1rem; bottom: 0; width: 100%; }
  .cookie-btn { width: 100%; text-align: center; }
}

/* ---- MENTIONS LÉGALES ---- */
.legal-section {
  border-top: 1px solid var(--border);
}

.legal-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem var(--pad-x) 5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.legal-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.legal-block:last-child { border-bottom: none; }

.legal-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.legal-content p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-content strong { color: var(--text); font-weight: 500; }

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s;
}

.legal-content a:hover { opacity: 0.8; }

/* ---- PAGE HISTORIQUE ---- */
.history-quote {
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}

.history-quote-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3.5rem var(--pad-x);
}

.history-quote blockquote {
  font-family: var(--display);
  font-size: clamp(18px, 2.5vw, 28px);
  font-style: italic;
  font-weight: 300;
  color: var(--text);
  line-height: 1.4;
  border-left: 3px solid var(--accent);
  padding-left: 2rem;
  max-width: 860px;
}

.history-section {
  border-bottom: 1px solid var(--border);
}

.history-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.history-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.hist-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
}

.hist-timeline::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 0; bottom: 0;
  width: 1px;
  background: var(--border-md);
}

.hist-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 0 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.hist-item:last-child { border-bottom: none; }

.hist-item::before {
  content: '';
  position: absolute;
  left: 100px;
  top: 2.8rem;
  width: 10px; height: 10px;
  background: var(--bg);
  border: 1.5px solid var(--border-md);
  transform: translateX(-50%) rotate(45deg);
  transition: background 0.2s, border-color 0.2s;
}

.hist-item:hover::before {
  background: var(--accent);
  border-color: var(--accent);
}

.hist-item--separator::before { display: none; }

.hist-year {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  color: var(--text-muted);
  text-align: right;
  padding-right: 2rem;
  padding-top: 0.15rem;
  line-height: 1;
  transition: color 0.2s;
}

.hist-item:hover .hist-year { color: var(--accent); }

.hist-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-left: 0.5rem;
}

.hist-event {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.1;
}

.hist-detail {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 680px;
}

.hist-image {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 480px;
}

.hist-image img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  filter: grayscale(20%);
  transition: filter 0.3s;
}

.hist-image img:hover { filter: grayscale(0%); }

.hist-caption {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hist-separator-label {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.5rem 0;
}

.hist-item--separator {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.history-next {
  border-top: 1px solid var(--border);
}

.history-next-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--pad-x);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.history-next-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hist-timeline::before { left: 60px; }
  .hist-item { grid-template-columns: 60px 1fr; gap: 0 1.5rem; }
  .hist-item::before { left: 60px; }
  .hist-year { font-size: 16px; padding-right: 1rem; }
  .hist-event { font-size: 17px; }
  .hist-image { max-width: 100%; }
}

/* ---- PAGE DESIGN ---- */
.design-section,
.design-choices,
.design-dims {
  border-bottom: 1px solid var(--border);
}

.design-inner,
.design-choices-inner,
.design-dims-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.design-header {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.design-bio {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 5rem;
  align-items: start;
}

.design-bio-text {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.design-bio-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

.design-bio-card {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-md);
  min-width: 200px;
}

.design-bio-stat {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.design-bio-stat:last-child { border-bottom: none; }

.design-bio-value {
  font-family: var(--display);
  font-size: 36px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.design-bio-value small {
  font-size: 0.5em;
  color: var(--accent);
  font-weight: 400;
}

.design-bio-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.design-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.design-card {
  background: var(--bg);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.2s;
}

.design-card:hover { background: var(--bg-2); }

.design-card-num {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.design-card-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
}

.design-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.dims-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 2.5rem;
}

.dim-item {
  background: var(--bg);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dim-value {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: var(--text);
  line-height: 1;
}

.dim-value small {
  font-size: 0.45em;
  font-weight: 300;
  color: var(--text-muted);
}

.dim-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

@media (max-width: 1024px) {
  .design-grid { grid-template-columns: repeat(2, 1fr); }
  .design-bio { grid-template-columns: 1fr; gap: 2.5rem; }
  .design-bio-card { flex-direction: row; }
  .design-bio-stat { flex: 1; border-bottom: none; border-right: 1px solid var(--border); }
  .design-bio-stat:last-child { border-right: none; }
}

@media (max-width: 768px) {
  .design-grid { grid-template-columns: 1fr; }
  .dims-grid { grid-template-columns: repeat(2, 1fr); }
  .design-bio-card { flex-direction: column; }
  .design-bio-stat { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ---- IMAGES DESIGN ---- */
.design-card-img {
  margin-top: 1rem;
}

.design-card-img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--border);
  filter: grayscale(15%);
  transition: filter 0.3s;
}

.design-card:hover .design-card-img img { filter: grayscale(0%); }

.design-img-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 1.5rem;
}

.design-img-duo figure { margin: 0; }

.design-img-duo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  filter: grayscale(15%);
  transition: filter 0.3s;
  display: block;
}

.design-img-duo img:hover { filter: grayscale(0%); }

@media (max-width: 480px) {
  .design-img-duo { grid-template-columns: 1fr; }
  .design-card-img img { height: 140px; }
}

/* ---- PAGE PRODUCTION ---- */
.production-section,
.production-stats-section,
.production-steps { border-bottom: 1px solid var(--border); }

.production-inner,
.production-stats-inner,
.production-steps-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.production-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.production-text { display: flex; flex-direction: column; gap: 1.25rem; }
.production-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }

.production-imgs { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.production-imgs figure { margin: 0; }
.production-imgs img { width: 100%; height: 220px; object-fit: cover; display: block; filter: grayscale(15%); transition: filter 0.3s; }
.production-imgs img:hover { filter: grayscale(0%); }
.production-imgs figcaption { font-family: var(--display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); padding: 0.5rem 0; }

/* Production stats */
.prod-years {
  display: flex;
  align-items: flex-end;
  gap: 1px;
  background: var(--border);
  margin: 2rem 0 1.5rem;
  height: 200px;
}

.prod-year {
  flex: 1;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem 0.5rem;
  gap: 6px;
  height: 100%;
}

.prod-bar-wrap {
  flex: 1;
  width: 60%;
  display: flex;
  align-items: flex-end;
}

.prod-bar {
  width: 100%;
  background: var(--accent);
  opacity: 0.35;
  transition: opacity 0.2s;
  min-height: 4px;
}

.prod-year:hover .prod-bar { opacity: 0.6; }

.prod-year-val {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  line-height: 1;
  order: -1;
}

.prod-year-label {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

.prod-note { font-size: 13px; color: var(--text-faint); line-height: 1.7; max-width: 680px; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 1px;
}

.step-card {
  background: var(--bg);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-num { font-family: var(--display); font-size: 11px; font-weight: 700; letter-spacing: 0.2em; color: var(--accent); }
.step-title { font-family: var(--display); font-size: 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--text); }
.step-desc { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.step-img { margin-top: 0.75rem; }
.step-img img { width: 100%; height: 140px; object-fit: cover; filter: grayscale(15%); transition: filter 0.3s; }
.step-card:hover .step-img img { filter: grayscale(0%); }

.prod-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 1px;
}

.prod-gallery figure { margin: 0; }
.prod-gallery img { width: 100%; height: 160px; object-fit: cover; display: block; filter: grayscale(20%); transition: filter 0.3s; }
.prod-gallery img:hover { filter: grayscale(0%); }

/* ---- PAGE TECHNIQUE ---- */
.tech-section { border-bottom: 1px solid var(--border); }
.tech-section--dark { background: var(--bg-2); }

.tech-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.tech-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.tech-layout--reverse { direction: rtl; }
.tech-layout--reverse > * { direction: ltr; }

.tech-text { display: flex; flex-direction: column; gap: 1.25rem; }
.tech-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }

.tech-img-block { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.tech-img-block figure { margin: 0; }
.tech-img-block img { width: 100%; height: 200px; object-fit: cover; display: block; filter: grayscale(15%); transition: filter 0.3s; }
.tech-img-block img:hover { filter: grayscale(0%); }
.tech-img-block figcaption { font-family: var(--display); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-faint); padding: 0.5rem 0; }

/* Fiche technique */
.tech-specs-section { border-bottom: 1px solid var(--border); background: var(--bg-2); }
.tech-specs-inner { max-width: var(--max-w); margin: 0 auto; padding: 5rem var(--pad-x); }

.specs-table {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 2.5rem;
}

.spec-group {
  background: var(--bg-2);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-group-title {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.spec-row:last-child { border-bottom: none; }

.spec-name { font-size: 12px; color: var(--text-muted); letter-spacing: 0.05em; flex-shrink: 0; }
.spec-val { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--text); text-align: right; }

/* ---- PAGE COMPÉTITION ---- */
.comp-section,
.comp-palmares,
.comp-gallery-section { border-bottom: 1px solid var(--border); }
.comp-palmares { background: var(--bg-2); }

.comp-inner { max-width: var(--max-w); margin: 0 auto; padding: 5rem var(--pad-x); }

.comp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.comp-text { display: flex; flex-direction: column; gap: 1.25rem; }
.comp-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }

.comp-imgs { display: flex; flex-direction: column; gap: 1px; background: var(--border); }
.comp-imgs figure { margin: 0; }
.comp-imgs img { width: 100%; height: 200px; object-fit: cover; display: block; filter: grayscale(15%); transition: filter 0.3s; }
.comp-imgs img:hover { filter: grayscale(0%); }

.palmares-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.palmares-card {
  background: var(--bg-2);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.palmares-year {
  font-family: var(--display);
  font-size: 48px;
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  opacity: 0.4;
}

.palmares-winner h3 {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
}

.palmares-winner span {
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.palmares-detail { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.palmares-card figure { margin-top: 0.5rem; }
.palmares-card img { width: 100%; height: 160px; object-fit: cover; filter: grayscale(20%); transition: filter 0.3s; }
.palmares-card:hover img { filter: grayscale(0%); }

.comp-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-bottom: 3rem;
}

.comp-gallery figure { margin: 0; position: relative; }
.comp-gallery img { width: 100%; height: 160px; object-fit: cover; display: block; filter: grayscale(20%); transition: filter 0.3s; }
.comp-gallery img:hover { filter: grayscale(0%); }
.comp-gallery figcaption { font-family: var(--display); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); padding: 0.4rem 0; }

.comp-after { border-top: 1px solid var(--border); padding-top: 2.5rem; }
.comp-after-title { font-family: var(--display); font-size: 22px; font-weight: 700; text-transform: uppercase; color: var(--text); margin-bottom: 1rem; }
.comp-after p { font-size: 14px; color: var(--text-muted); line-height: 1.8; max-width: 860px; }

/* ---- PAGE VARIANTES ---- */
.variant-section { border-bottom: 1px solid var(--border); }
.variant-section--dark { background: var(--bg-2); }

.variant-inner { max-width: var(--max-w); margin: 0 auto; padding: 5rem var(--pad-x); }

.variant-header {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.variant-num {
  font-family: var(--display);
  font-size: 72px;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.25;
  line-height: 0.85;
  flex-shrink: 0;
}

.variant-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.variant-layout--reverse { direction: rtl; }
.variant-layout--reverse > * { direction: ltr; }

.variant-text { display: flex; flex-direction: column; gap: 1.25rem; }
.variant-text p { font-size: 15px; color: var(--text-muted); line-height: 1.8; }

.variant-specs {
  display: flex;
  gap: 1px;
  background: var(--border);
  margin-top: 0.5rem;
}

.variant-spec {
  flex: 1;
  background: var(--bg);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.variant-section--dark .variant-spec { background: var(--bg-2); }

.variant-spec span { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.variant-spec strong { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--text); }

.variant-imgs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  align-self: start;
}

.variant-imgs figure { margin: 0; }
.variant-imgs img { width: 100%; height: 160px; object-fit: cover; display: block; filter: grayscale(15%); transition: filter 0.3s; }
.variant-imgs img:hover { filter: grayscale(0%); }
.variant-imgs figcaption { font-family: var(--display); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); padding: 0.4rem 0; }

/* ---- PAGE MÉDIAS ---- */
.media-section { border-bottom: 1px solid var(--border); }
.media-section--dark { background: var(--bg-2); }

.media-inner { max-width: var(--max-w); margin: 0 auto; padding: 5rem var(--pad-x); }

.media-intro { font-size: 15px; color: var(--text-muted); line-height: 1.8; max-width: 680px; margin-bottom: 2.5rem; }

.media-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.media-gallery--press { grid-template-columns: repeat(4, 1fr); }

.media-gallery figure { margin: 0; }
.media-gallery img { width: 100%; height: 180px; object-fit: cover; display: block; filter: grayscale(20%); transition: filter 0.3s; }
.media-gallery img:hover { filter: grayscale(0%); }
.media-gallery figcaption { font-family: var(--display); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-faint); padding: 0.4rem 0; }

/* RESPONSIVE — toutes pages nouvelles */
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .specs-table { grid-template-columns: repeat(2, 1fr); }
  .palmares-grid { grid-template-columns: 1fr; }
  .comp-gallery { grid-template-columns: repeat(3, 1fr); }
  .media-gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .production-layout,
  .tech-layout,
  .tech-layout--reverse,
  .comp-layout,
  .variant-layout,
  .variant-layout--reverse { grid-template-columns: 1fr; direction: ltr; }
  .steps-grid { grid-template-columns: 1fr; }
  .specs-table { grid-template-columns: 1fr; }
  .prod-gallery { grid-template-columns: repeat(2, 1fr); }
  .comp-gallery { grid-template-columns: repeat(2, 1fr); }
  .variant-imgs { grid-template-columns: 1fr; }
  .media-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ---- TABLEAU STATS PRODUCTION ---- */
.prod-stats-table {
  margin-top: 2.5rem;
  border: 1px solid var(--border-md);
}

.prod-stats-title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.prod-stats-title span {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  text-transform: none;
}

.prod-stats-table figure {
  margin: 0;
  padding: 1.5rem;
  background: #fff;
}

.prod-stats-table img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .prod-stats-title { flex-direction: column; gap: 0.25rem; }
}

/* ---- DUO D'IMAGES TIMELINE ---- */
.hist-image-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  margin-top: 1rem;
  max-width: 560px;
}

.hist-image-duo figure { margin: 0; display: flex; flex-direction: column; gap: 0; }

.hist-image-duo img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  filter: grayscale(15%);
  transition: filter 0.3s;
}

.hist-image-duo img:hover { filter: grayscale(0%); }

@media (max-width: 480px) {
  .hist-image-duo { grid-template-columns: 1fr; }
}

/* ---- ANCRES AVEC OFFSET HEADER FIXE ---- */
#turbo, #helem, #lemans, #willemin,
#photos, #presse, #miniatures, #tuning {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* ---- LIGHTBOX ---- */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  padding: 2rem;
  cursor: zoom-out;
}

.lightbox-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 0 60px rgba(0,0,0,0.8);
  transform: scale(0.95);
  transition: transform 0.25s;
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--display);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 16px;
  border: 1px solid var(--border-md);
  transition: color 0.2s, border-color 0.2s;
}

.lightbox-close:hover { color: var(--text); border-color: var(--border-str); }

/* Curseur zoom sur toutes les images cliquables */
.lightbox-trigger {
  cursor: zoom-in;
}

/* ---- SÉLECTEUR DE LANGUE ---- */
.nav-lang-select {
  position: relative;
}

.nav-lang-btn {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-faint);
  background: none;
  border: 1px solid var(--border);
  padding: 5px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, border-color 0.2s;
}

.nav-lang-btn:hover { color: var(--text-muted); border-color: var(--border-md); }

.lang-arrow {
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  margin-top: -2px;
  transition: transform 0.2s;
}

.nav-lang-btn[aria-expanded="true"] .lang-arrow {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.nav-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: var(--bg-2);
  border: 1px solid var(--border-md);
  min-width: 140px;
  list-style: none;
  padding: 4px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s;
  z-index: 300;
}

.nav-lang-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.nav-lang-menu li a {
  display: block;
  padding: 8px 16px;
  font-family: var(--display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s, background 0.15s;
}

.nav-lang-menu li a:hover { color: var(--text); background: var(--border); }
.nav-lang-menu li a.active { color: var(--accent); }

@media (max-width: 768px) {
  .nav-lang-select { margin-top: 0; }
  .nav-lang-menu { position: static; opacity: 1; pointer-events: auto; transform: none; border: none; background: none; padding: 0; min-width: auto; display: none; }
  .nav-lang-menu.open { display: block; }
  .nav-lang-menu li a { padding: 6px 0; font-size: 14px; }
}

/* ---- PAGE GAMME ---- */
.gamme-section,
.gamme-options,
.gamme-colors { border-bottom: 1px solid var(--border); }

.gamme-options { background: var(--bg-2); }

.gamme-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--pad-x);
}

.gamme-table-img {
  margin-top: 2rem;
  border: 1px solid var(--border);
  background: #fff;
  padding: 1.5rem;
}

.gamme-table-img img {
  width: 100%;
  height: auto;
  display: block;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  margin-top: 2.5rem;
}

.option-card {
  background: var(--bg-2);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option-num {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.option-title {
  font-family: var(--display);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
  line-height: 1.1;
}

.option-note {
  font-size: 12px;
  color: var(--text-muted);
  font-style: italic;
}

/* Coloris */
.color-showcase {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  margin-top: 2.5rem;
}

.color-show-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: var(--bg);
  transition: background 0.2s;
}

.color-show-item:hover { background: var(--bg-2); }

.color-show-swatch {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1rem;
}

.color-show-swatch span {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(0,0,0,0.4);
}

.color-show-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-left: 1px solid var(--border);
}

.color-show-name {
  font-family: var(--display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text);
}

.color-show-code {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.color-show-img { margin: 0; }

.color-show-img img {
  width: 100%;
  max-width: 560px;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
  transition: filter 0.3s;
}

.color-show-item:hover .color-show-img img { filter: grayscale(0%); }

@media (max-width: 1024px) {
  .options-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .options-grid { grid-template-columns: repeat(2, 1fr); }
  .color-show-item { grid-template-columns: 80px 1fr; }
  .color-show-name { font-size: 20px; }
  .color-show-img img { height: 180px; }
}
