/* ============================================================
   ARKANE ESPORT — Stylesheet principal
   Dark theme noir + or antique | Mobile-first
   ============================================================ */

/* === DESIGN TOKENS === */
:root {
  /* Noirs */
  --black-deep: #070707;
  --black-base: #0D0D0D;
  --black-surface: #141416;
  --black-elevated: #1C1C20;
  --black-border: #2A2A30;

  /* Or */
  --gold-primary: #C9A84C;
  --gold-dark: #A68A3A;
  --gold-light: #DFC06A;
  --gold-muted: #8B7435;
  --gold-glow: rgba(201, 168, 76, 0.15);
  --gold-glow-strong: rgba(201, 168, 76, 0.3);

  /* Texte */
  --text-primary: #F5F0E8;
  --text-muted: #B8B0A0;
  --text-dim: #8A8478;

  /* Fonts */
  --font-title: 'Cinzel', serif;
  --font-ui: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 5rem;
  --container-width: 1200px;
  --container-narrow: 800px;

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  /* Transitions */
  --transition: 0.25s ease;
}

/* === LIGHT THEME === */
[data-theme="light"] {
  --black-deep: #FFFFFF;
  --black-base: #F8F7F4;
  --black-surface: #F0EDE6;
  --black-elevated: #E6E2D9;
  --black-border: #D4CFC4;

  --gold-primary: #A68A3A;
  --gold-dark: #8B7435;
  --gold-light: #C9A84C;
  --gold-muted: #BFA75C;
  --gold-glow: rgba(166, 138, 58, 0.1);
  --gold-glow-strong: rgba(166, 138, 58, 0.2);

  --text-primary: #1A1A1A;
  --text-muted: #4A4640;
  --text-dim: #8A8478;
  --text-secondary: #4A4640;
}

[data-theme="light"] body {
  color: var(--text-muted);
  background: var(--black-deep);
}

/* Header light */
[data-theme="light"] .header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--black-border);
}

/* Hero light — plus sombre overlay pour lisibilité du titre */
[data-theme="light"] .hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.55) 50%,
    var(--black-deep) 100%
  );
}
[data-theme="light"] .hero__title,
[data-theme="light"] .hero__subtitle {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
[data-theme="light"] .hero__gold-line {
  background: var(--gold-light);
}

/* Nav links light */
[data-theme="light"] .nav__link { color: var(--text-dim); }
[data-theme="light"] .nav__link:hover,
[data-theme="light"] .nav__link--active { color: var(--gold-primary); }

/* Buttons light */
[data-theme="light"] .btn--outline {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}
[data-theme="light"] .btn--outline:hover {
  background: var(--gold-primary);
  color: #fff;
}

/* Cards light */
[data-theme="light"] .res-card,
[data-theme="light"] .result-row,
[data-theme="light"] .stat-card,
[data-theme="light"] .player-card,
[data-theme="light"] .teammate-card,
[data-theme="light"] .gear-tile {
  background: var(--black-surface);
  border-color: var(--black-border);
}

[data-theme="light"] .res-card:hover,
[data-theme="light"] .teammate-card:hover {
  border-color: var(--gold-muted);
}

/* Score colors stay readable in light */
[data-theme="light"] .res-card__pts--ark,
[data-theme="light"] .result-score__ark { color: var(--gold-primary); }
[data-theme="light"] .res-card__pts--opp { color: var(--text-dim); }

/* Filter buttons light */
[data-theme="light"] .filter-btn {
  border-color: var(--black-border);
  color: var(--text-dim);
}
[data-theme="light"] .filter-btn--active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #fff;
}

/* Badges remain colored */
[data-theme="light"] .res-card__badge--win  { background: rgba(76,175,80,.12); }
[data-theme="light"] .res-card__badge--loss { background: rgba(229,115,115,.12); }

/* Stats bar light */
[data-theme="light"] .res-stats-bar {
  background: var(--black-surface);
  border-bottom-color: var(--black-border);
}

/* Joueur profile light */
[data-theme="light"] .joueur-profile {
  background: var(--black-surface);
}
[data-theme="light"] .joueur-stats-section {
  background: var(--black-base);
}

/* Gear tiles light */
[data-theme="light"] .gear-tile__visual {
  background: var(--black-elevated);
}
[data-theme="light"] .gear-tile__body {
  background: var(--black-surface);
}

/* Player card light */
[data-theme="light"] .player-card__info {
  background: var(--black-surface);
}

/* Mobile menu light */
[data-theme="light"] .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
}
[data-theme="light"] .mobile-menu__link {
  color: var(--text-primary);
}

/* Footer light */
[data-theme="light"] .footer {
  background: var(--black-surface);
}
[data-theme="light"] .footer__cta-section {
  background: var(--black-base);
}
[data-theme="light"] .footer__social-row .social-icons__link {
  background: var(--black-base);
}

/* Tags light */
[data-theme="light"] .joueur-tag {
  background: var(--black-elevated);
  color: var(--text-primary);
}
[data-theme="light"] .joueur-tag--captain {
  background: rgba(166, 138, 58, 0.15);
  color: var(--gold-primary);
}

/* Map chips light */
[data-theme="light"] .res-card__map {
  background: var(--black-elevated);
}
[data-theme="light"] .res-card__type {
  background: var(--black-elevated);
}
[data-theme="light"] .res-card__type--competition {
  background: rgba(166, 138, 58, 0.12);
}

/* Month title light */
[data-theme="light"] .res-month__title {
  color: var(--text-dim);
  border-bottom-color: var(--black-border);
}

/* Article / blog light */
[data-theme="light"] .single-post__content h2,
[data-theme="light"] .single-post__content h3 {
  color: var(--text-primary);
}

/* Section eyebrows */
[data-theme="light"] .section-eyebrow {
  color: var(--gold-primary);
}

/* Page loader light */
[data-theme="light"] .page-loader {
  background: #fff;
}

/* === THEME TOGGLE BUTTON === */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--black-border);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  flex-shrink: 0;
}
.theme-toggle:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}
.theme-toggle__icon {
  width: 18px;
  height: 18px;
}

/* Dark mode: show sun (switch to light), hide moon */
.theme-toggle__sun { display: block; }
.theme-toggle__moon { display: none; }

/* Light mode: show moon (switch to dark), hide sun */
[data-theme="light"] .theme-toggle__sun { display: none; }
[data-theme="light"] .theme-toggle__moon { display: block; }
[data-theme="light"] .theme-toggle {
  border-color: var(--black-border);
  color: var(--text-dim);
}
[data-theme="light"] .theme-toggle:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* === SKIP LINK (accessibility) === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold-primary);
  color: var(--black-deep);
  padding: 0.75rem 1.5rem;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* === FOCUS STYLES (gold ring) === */
:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-primary);
  outline-offset: 3px;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  background: var(--black-deep);
}

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

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container--narrow { max-width: var(--container-narrow); }

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), padding var(--transition);
}
.header.is-scrolled {
  background: rgba(7, 7, 7, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--black-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}
.header__logo img,
.header__logo .custom-logo {
  height: 40px;
  width: auto;
}
.header__logo-text {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.2rem;
  color: var(--gold-primary);
  letter-spacing: 0.12em;
}

/* Nav desktop */
.nav { display: none; }
@media (min-width: 992px) {
  .nav {
    display: flex;
    flex: 1;
    justify-content: center;
  }
}
.nav__list {
  display: flex;
  gap: 1.5rem;
}
.nav__link {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav__link:hover,
.nav__link--active {
  color: var(--gold-primary);
}
.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-primary);
}

/* Dropdown chevron */
.nav__chevron {
  display: inline-block;
  margin-left: 4px;
  vertical-align: middle;
  transition: transform var(--transition);
}

/* Dropdown submenu */
.nav__item--has-children {
  position: relative;
}

.nav__submenu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 180px;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 100;
  list-style: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.nav__item--has-children:hover > .nav__submenu,
.nav__item--has-children:focus-within > .nav__submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__item--has-children:hover > .nav__link .nav__chevron {
  transform: rotate(180deg);
}

.nav__sublink {
  display: block;
  padding: 0.5rem 1.25rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav__sublink:hover {
  color: var(--gold-primary);
  background: rgba(201, 168, 76, 0.08);
}

/* Mobile: accordion-style submenus */
.mobile-menu__list .nav__submenu {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0.5rem 0 0 0;
  min-width: 0;
}

.mobile-menu__list .nav__sublink {
  font-size: 1rem;
  letter-spacing: 0.08em;
  padding: 0.5rem 0;
  text-align: center;
  color: var(--text-dim);
}

.mobile-menu__list .nav__sublink:hover {
  background: transparent;
}

.mobile-menu__list .nav__chevron {
  display: none;
}

/* Header CTA */
.header__cta { display: none; }
@media (min-width: 992px) {
  .header__cta { display: inline-flex; }
}

.header__cta--don {
  background: var(--gold);
  color: var(--black-bg);
  border-color: var(--gold);
}

.header__cta--don:hover {
  background: var(--gold-hover);
  border-color: var(--gold-hover);
}

/* Footer don button */
.footer__don-btn {
  margin-top: 1rem;
}

/* Burger */
.burger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 0.5rem;
}
@media (min-width: 992px) {
  .burger { display: none; }
}
.burger__line {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}
.burger.is-active .burger__line:nth-child(1) {
  transform: rotate(45deg) translateY(5px) translateX(5px);
}
.burger.is-active .burger__line:nth-child(2) {
  opacity: 0;
}
.burger.is-active .burger__line:nth-child(3) {
  transform: rotate(-45deg) translateY(-5px) translateX(5px);
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.98);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-menu__list .nav__link {
  font-size: 1.3rem;
  letter-spacing: 0.12em;
}
.mobile-menu__cta {
  margin-top: 2rem;
}

/* ============================================================
   HERO SECTIONS
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow: hidden;
}
.hero--page {
  min-height: 38vh;
  padding-top: 80px;
}
.hero--page .hero__bg {
  background: url('../img/hero-internal.jpg') center center / cover no-repeat;
}
.hero--page .hero__overlay {
  background: linear-gradient(
    180deg,
    rgba(7, 7, 7, 0.55) 0%,
    rgba(7, 7, 7, 0.8) 50%,
    var(--black-deep) 100%
  );
}
.hero--compact {
  min-height: 35vh;
}
.hero--404 {
  min-height: 70vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video background hero */
.hero__bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero--has-video .hero__bg-img--fallback {
  /* Image sert de poster/fallback, cachée quand la vidéo joue */
  z-index: 0;
}
.hero--has-video .hero__overlay {
  z-index: 2;
}

/* Reduced motion : pause la vidéo visuellement */
@media (prefers-reduced-motion: reduce) {
  .hero__bg-video {
    display: none;
  }
  .hero--has-video .hero__bg-img--fallback {
    display: block;
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(7, 7, 7, 0.6) 0%,
    rgba(7, 7, 7, 0.85) 60%,
    var(--black-deep) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem 0;
}
.hero__content--joueur {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .hero__content--joueur {
    flex-direction: row;
    text-align: left;
  }
}

.hero__gold-line {
  width: 60px;
  height: 2px;
  background: var(--gold-primary);
  margin: 0 auto 1.5rem;
}

.hero__title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--text-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  margin-top: 3rem;
}
.hero__scroll-icon {
  display: inline-block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--gold-muted);
  border-radius: 12px;
  position: relative;
}
.hero__scroll-icon::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--gold-primary);
  border-radius: 2px;
  animation: scroll-indicator 1.5s ease-in-out infinite;
}
@keyframes scroll-indicator {
  0%, 100% { opacity: 1; top: 6px; }
  50% { opacity: 0.3; top: 16px; }
}

.hero__404-number {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(5rem, 15vw, 10rem);
  color: var(--gold-muted);
  line-height: 1;
  opacity: 0.3;
  display: block;
  margin-bottom: 1rem;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: var(--section-padding) 0;
}
.section--chiffres,
.section--cta {
  background: var(--black-surface);
}

.section__header {
  margin-bottom: 3rem;
}
.section__header--center {
  text-align: center;
}

.section__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section__title--sm {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.section__subtitle {
  font-size: 1rem;
  color: var(--text-dim);
}

.section__footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all var(--transition);
  border: 1px solid transparent;
}

.btn--primary {
  background: var(--gold-primary);
  color: var(--black-deep);
}
.btn--primary:hover {
  background: var(--gold-light);
}

.btn--outline {
  background: transparent;
  color: var(--gold-primary);
  border-color: var(--gold-primary);
}
.btn--outline:hover {
  background: var(--gold-glow);
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border-color: var(--black-border);
}
.btn--ghost:hover {
  background: var(--black-elevated);
  color: var(--text-primary);
}

.btn--sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.8rem;
}

/* Links */
.link { transition: color var(--transition); }
.link--gold { color: var(--gold-primary); }
.link--gold:hover { color: var(--gold-light); }

/* ============================================================
   PROCHAIN MATCH BAR (homepage)
   ============================================================ */
.section--next-match {
  padding: 0;
}

.next-match-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: var(--black-elevated);
  border: 1px solid var(--gold-muted);
  border-radius: 8px;
  margin-top: -2rem;
  position: relative;
  z-index: 2;
  transition: border-color var(--transition), background var(--transition);
}

.next-match-bar:hover {
  border-color: var(--gold-primary);
  background: var(--black-surface);
}

.next-match-bar__label {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  white-space: nowrap;
  padding: 0.25rem 0.75rem;
  background: rgba(201, 168, 76, 0.12);
  border-radius: 4px;
}

.next-match-bar__info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-primary);
  flex-wrap: wrap;
}

.next-match-bar__date {
  font-weight: 700;
  color: var(--gold-light);
}

.next-match-bar__sep {
  color: var(--text-dim);
}

.next-match-bar__teams {
  font-weight: 600;
}

.next-match-bar__event {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.next-match-bar__countdown {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-primary);
  white-space: nowrap;
}

.next-match-bar__arrow {
  color: var(--gold-primary);
  font-size: 1.1rem;
  transition: transform var(--transition);
}

.next-match-bar:hover .next-match-bar__arrow {
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .next-match-bar {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
  }
}

/* ============================================================
   TRIPTYQUE (3 blocs présentation)
   ============================================================ */
.triptyque {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .triptyque { grid-template-columns: repeat(3, 1fr); }
}

.triptyque__item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}
.triptyque__item:hover {
  border-color: var(--gold-muted);
}

.triptyque__number {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--gold-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.triptyque__title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.triptyque__text {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* ============================================================
   PLAYER CARDS
   ============================================================ */
.players-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .players-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .players-grid--full { grid-template-columns: repeat(3, 1fr); }
}

.player-card {
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.player-card:hover {
  border-color: var(--gold-muted);
  box-shadow: 0 0 30px var(--gold-glow);
  transform: translateY(-4px);
}

.player-card__link {
  display: block;
  color: inherit;
}

.player-card__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--black-elevated);
}
.player-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.player-card__img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(transparent, var(--black-surface));
}
.player-card__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 3rem;
  color: var(--gold-muted);
  opacity: 0.3;
}

.player-card__body {
  padding: 1.25rem;
}

.player-card__pseudo {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-primary);
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}

.player-card__role {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.player-card__badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  background: var(--gold-glow);
  color: var(--gold-primary);
  border-radius: 3px;
  border: 1px solid var(--gold-muted);
}

.player-card__stats {
  display: flex;
  gap: 1.25rem;
}
.player-card__stat { text-align: center; }
.player-card__stat-value {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  display: block;
}
.player-card__stat-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* ============================================================
   JOUEUR PROFILE — section compacte (remplace le hero)
   ============================================================ */
.joueur-profile {
  background: var(--black-deep);
  padding-top: 110px; /* hauteur navbar */
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
/* Accent subtil en arrière-plan */
.joueur-profile::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(135deg, transparent 50%, rgba(201,168,76,0.025) 100%);
  pointer-events: none;
}

/* Inner : 1 colonne mobile → 2 colonnes desktop */
.joueur-profile__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (min-width: 900px) {
  .joueur-profile__inner {
    grid-template-columns: 1fr 320px;
    gap: 4rem;
  }
}
@media (min-width: 1100px) {
  .joueur-profile__inner {
    grid-template-columns: 1fr 360px;
  }
}

/* Colonne gauche : stack vertical */
.joueur-profile__content {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  order: 2;
}
@media (min-width: 900px) {
  .joueur-profile__content { order: 1; }
}

/* Tags : jeu, rôle, capitaine */
.joueur-profile__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.joueur-tag {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.28rem 0.7rem;
  border-radius: 2px;
  background: rgba(201,168,76,0.1);
  color: var(--gold-primary);
  border: 1px solid rgba(201,168,76,0.3);
  line-height: 1.6;
}
.joueur-tag--role {
  background: rgba(255,255,255,0.04);
  color: var(--text-dim);
  border-color: var(--black-border);
}
.joueur-tag--captain {
  background: rgba(201,168,76,0.18);
  color: var(--gold-light);
  border-color: var(--gold-muted);
}

/* Pseudo / nom principal */
.joueur-profile__pseudo {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--text-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
}
.joueur-profile__prenom {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin: 0;
}
.joueur-profile__meta {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0;
}

/* Bio */
.joueur-profile__bio {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 500px;
  padding-top: 1rem;
  border-top: 1px solid var(--black-border);
  margin-top: 0.1rem;
}

/* ===============================
   STATS SECTION — JOUEUR
   =============================== */
.joueur-stats-section {
  background: var(--black-elevated);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  overflow: hidden;
}
.joueur-stats-section__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 2.25rem 1.5rem;
  text-align: center;
  position: relative;
  cursor: default;
  transition: background var(--transition);
}
.stat-card:hover {
  background: rgba(201, 168, 76, 0.05);
}
/* Séparateur vertical entre cartes */
.stat-card + .stat-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: var(--black-border);
}
/* Barre dorée animée en bas au survol */
.stat-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.stat-card:hover::after {
  transform: scaleX(1);
}
.stat-card__value {
  font-family: var(--font-ui);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-primary);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-card__label {
  font-size: 0.6rem;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
}
@media (max-width: 640px) {
  .joueur-stats-section__inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-card {
    padding: 1.5rem 0.75rem;
  }
  .stat-card__value {
    font-size: 1.75rem;
  }
  .stat-card + .stat-card::before {
    display: none;
  }
  .stat-card {
    border-bottom: 1px solid var(--black-border);
  }
}

/* Réseaux sociaux */
.joueur-profile__socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}
.joueur-social {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  text-decoration: none;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  background: transparent;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
a.joueur-social:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
}
.joueur-social--twitch:hover { color: #9147ff; border-color: rgba(145,71,255,0.4); }
.joueur-social--insta:hover  { color: #e1306c; border-color: rgba(225,48,108,0.4); }

/* Lien retour */
.joueur-profile__back {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

/* Colonne droite : photo */
.joueur-profile__visual {
  display: flex;
  justify-content: center;
  order: 1;
}
@media (min-width: 900px) {
  .joueur-profile__visual {
    order: 2;
    justify-content: flex-end;
    align-self: stretch;
    display: flex;
    align-items: flex-end;
  }
}
.joueur-profile__photo-wrap {
  position: relative;
  width: 240px;
  max-width: 100%;
}
@media (min-width: 900px) {
  .joueur-profile__photo-wrap {
    width: 100%;
    max-width: 320px;
  }
}
.joueur-profile__photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  border: 1px solid rgba(201,168,76,0.18);
  border-bottom: none;
  position: relative;
  z-index: 1;
}
.joueur-profile__photo-glow {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(201,168,76,0.12) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

/* Stats grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stats-grid__item {
  text-align: center;
  padding: 1.5rem;
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
}
.stats-grid__value {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 2rem;
  color: var(--gold-primary);
  display: block;
}
.stats-grid__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.social-links__item {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: all var(--transition);
}
.social-links__item:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

/* ============================================================
   SPONSORS
   ============================================================ */
.sponsors-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 2rem 0;
}
.sponsor-logo__img {
  max-height: 50px;
  width: auto;
  filter: grayscale(100%) brightness(0.7);
  transition: filter var(--transition);
}
.sponsor-logo:hover .sponsor-logo__img {
  filter: grayscale(0%) brightness(1);
}
.sponsor-logo__text {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   HOMEPAGE — DERNIERS RÉSULTATS
   ============================================================ */
.section--results-home {
  background: var(--black-base);
}
.results-home-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.result-mini {
  display: grid;
  grid-template-columns: 4px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 1.25rem;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), border-color var(--transition);
}
.result-mini:hover {
  transform: translateX(4px);
  border-color: var(--gold-muted);
}
.result-mini__indicator {
  width: 4px;
  height: 100%;
  min-height: 24px;
  border-radius: 2px;
}
.result-mini--victoire .result-mini__indicator { background: var(--green, #4ade80); }
.result-mini--defaite .result-mini__indicator { background: var(--red, #f87171); }
.result-mini--nul .result-mini__indicator { background: var(--gold-muted); }
.result-mini__teams {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
}
.result-mini__ark {
  font-weight: 700;
  color: var(--gold-primary);
  min-width: 2.5rem;
}
.result-mini__score {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}
.result-mini__opp {
  color: var(--text-secondary);
}
.result-mini__meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.15rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: right;
  white-space: nowrap;
}
.result-mini__event {
  color: var(--text-dim);
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================================
   HOMEPAGE — DERNIÈRE ACTUALITÉ
   ============================================================ */
.section--actu-home {
  background: var(--black-surface);
}
.actu-featured-card {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md, 12px);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), border-color var(--transition);
  max-width: 800px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .actu-featured-card { grid-template-columns: 0.45fr 0.55fr; }
}
.actu-featured-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-muted);
}
.actu-featured-card__image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.actu-featured-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.actu-featured-card:hover .actu-featured-card__image img {
  transform: scale(1.05);
}
.actu-featured-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.actu-featured-card__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.actu-featured-card__date {
  color: var(--text-dim);
}
.actu-featured-card__cat {
  color: var(--gold-primary);
  font-weight: 600;
}
.actu-featured-card__title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.actu-featured-card__excerpt {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.actu-featured-card__link {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-primary);
  transition: color var(--transition);
}
.actu-featured-card:hover .actu-featured-card__link {
  color: var(--gold-light);
}

/* Sponsor section alternée */
.section--sponsors { background: var(--black-base); }
.section--sponsors-premium { background: var(--black-surface); }
.section--why-support { background: var(--black-surface); }
.section--become-sponsor { background: var(--black-base); }
.section--packs { background: var(--black-surface); }
.section--contribution { background: var(--black-base); }

/* Sponsor cards */
.sponsors-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .sponsors-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsors-grid--premium { grid-template-columns: repeat(2, 1fr); }
  .sponsors-grid--argent { grid-template-columns: repeat(3, 1fr); }
}

.sponsor-card {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.sponsor-card:hover {
  border-color: var(--gold-muted);
  box-shadow: 0 0 20px var(--gold-glow);
}

.sponsor-card__logo {
  margin-bottom: 1.5rem;
  min-height: 60px;
  display: flex;
  align-items: center;
}
.sponsor-card__img {
  max-height: 60px;
  width: auto;
}
.sponsor-card__placeholder {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
}
.sponsor-card__body { flex: 1; display: flex; flex-direction: column; }
.sponsor-card__name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.sponsor-card__name a { transition: color var(--transition); }
.sponsor-card__name a:hover { color: var(--gold-primary); }
.sponsor-card__desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1rem;
  flex: 1;
}
.sponsor-card__links {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--black-border);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================================
   SPONSORS — Why Support
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .why-grid { grid-template-columns: repeat(4, 1fr); }
}
.why-grid__item {
  padding: 2rem 1.5rem;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.why-grid__item:hover {
  border-color: var(--gold-muted);
  transform: translateY(-4px);
}
.why-grid__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.why-grid__title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}
.why-grid__text {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
}

/* ============================================================
   SPONSORS — Tiers (Maillot / Short)
   ============================================================ */
.sponsor-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .sponsor-tiers { grid-template-columns: repeat(2, 1fr); }
}
.sponsor-tier {
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition);
}
.sponsor-tier:hover {
  border-color: var(--gold-muted);
}
.sponsor-tier--major {
  border-color: var(--gold-dark);
  position: relative;
  overflow: hidden;
}
.sponsor-tier--major::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-dark));
}
.sponsor-tier__badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-primary);
  background: var(--gold-glow);
  border: 1px solid var(--gold-muted);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.75rem;
  margin-bottom: 1rem;
  width: fit-content;
}
.sponsor-tier__title {
  font-family: var(--font-title);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.sponsor-tier__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}
.sponsor-tier__perks {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
  flex: 1;
}
.sponsor-tier__perks li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.sponsor-tier__perks li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: 700;
}

/* ============================================================
   SPONSORS — Packs (KickOff / Boost / Legend)
   ============================================================ */
.packs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .packs-grid { grid-template-columns: repeat(3, 1fr); }
}
.pack-card {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.pack-card:hover {
  border-color: var(--gold-muted);
  transform: translateY(-4px);
}
.pack-card--featured {
  border-color: var(--gold-dark);
  position: relative;
}
.pack-card--featured::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary), var(--gold-dark));
}
.pack-card__header {
  padding: 1.25rem 1.5rem;
  background: var(--black-surface);
  border-bottom: 1px solid var(--black-border);
}
.pack-card__name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-primary);
}
.pack-card__header--boost .pack-card__name { color: var(--gold-primary); }
.pack-card__perks {
  list-style: none;
  padding: 1.5rem;
  margin: 0;
}
.pack-card__perks li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.6rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.pack-card__perks li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold-primary);
  font-weight: 700;
}
.pack-card__perks li:last-child { margin-bottom: 0; }
.pack-card__includes {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.pack-card__includes::before { content: none; }
.packs-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  font-style: italic;
}

/* ============================================================
   SPONSORS — Contribution Grid
   ============================================================ */
.contribution-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .contribution-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .contribution-grid { grid-template-columns: repeat(3, 1fr); }
}
.contribution-item {
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: border-color var(--transition);
}
.contribution-item:hover {
  border-color: var(--gold-muted);
}
.contribution-item__icon {
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.contribution-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================================
   VALUES GRID
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 992px) {
  .values-grid { grid-template-columns: repeat(4, 1fr); }
}

.values-grid__item {
  padding: 2rem 1.5rem;
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  text-align: center;
}
.values-grid__title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}
.values-grid__text {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ============================================================
   COUNTERS
   ============================================================ */
.counters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: center;
}
@media (min-width: 768px) {
  .counters { grid-template-columns: repeat(4, 1fr); }
}
.counters__value {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--gold-primary);
  display: block;
}
.counters__label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* ============================================================
   SPLIT LAYOUT (texte + image)
   ============================================================ */
.split {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .split { flex-direction: row; }
}
.split__text { flex: 1; }
.split__media { flex: 1; }
.split__img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--black-border);
}

/* ============================================================
   CTA BLOCK
   ============================================================ */
.cta-block {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  pointer-events: none;
}
.cta-block__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: var(--text-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  margin-bottom: 0.75rem;
}
.cta-block__text {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 2rem;
  position: relative;
}
.cta-block__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}

/* Double CTA */
.double-cta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .double-cta { grid-template-columns: repeat(2, 1fr); }
}
.double-cta__item {
  padding: 2.5rem 2rem;
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: border-color var(--transition);
}
.double-cta__item:hover {
  border-color: var(--gold-muted);
}
.double-cta__title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.double-cta__text {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

/* ============================================================
   CONTACT
   ============================================================ */
.section--contact { padding-bottom: 4rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
}

/* Form card */
.contact-grid__form {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md, 12px);
  padding: 2rem;
}
@media (min-width: 768px) {
  .contact-grid__form { padding: 2.5rem; }
}

/* Form */
.form__group { margin-bottom: 1.5rem; }
.form__label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.form__input,
.form__select,
.form__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--black-base);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}
.form__input::placeholder,
.form__textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.6;
}
.form__input:hover,
.form__select:hover,
.form__textarea:hover {
  border-color: var(--gold-muted);
}
.form__input:focus,
.form__select:focus,
.form__textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
  background: var(--black-surface);
}
.form__textarea { resize: vertical; min-height: 140px; }
.form__select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23C9A84C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.form .btn { margin-top: 0.5rem; width: 100%; }
@media (min-width: 480px) {
  .form .btn { width: auto; }
}

/* CF7 compatibility */
.contact-grid__form .wpcf7-form-control-wrap { display: block; margin-bottom: 1.25rem; }
.contact-grid__form .wpcf7 input[type="text"],
.contact-grid__form .wpcf7 input[type="email"],
.contact-grid__form .wpcf7 select,
.contact-grid__form .wpcf7 textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  background: var(--black-base);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-grid__form .wpcf7 input:focus,
.contact-grid__form .wpcf7 select:focus,
.contact-grid__form .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
  box-shadow: 0 0 0 3px var(--gold-glow);
}
.contact-grid__form .wpcf7 label {
  display: block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}
.contact-grid__form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--gold-primary);
  color: var(--black-deep);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.contact-grid__form .wpcf7-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

/* Contact info panel */
.contact-grid__info .contact-info {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md, 12px);
  padding: 2rem;
  position: sticky;
  top: 6rem;
}
.contact-info__title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold-primary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--gold-primary);
}
.contact-info__item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--black-border);
  transition: background var(--transition);
}
.contact-info__item:last-child { border-bottom: none; }
.contact-info__item:hover { background: var(--black-surface); margin: 0 -1rem; padding-left: 1rem; padding-right: 1rem; border-radius: var(--radius-sm); }
.contact-info__label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  display: block;
  margin-bottom: 0.35rem;
}
.contact-info__link {
  color: var(--text-primary);
  font-weight: 500;
  transition: color var(--transition);
}
.contact-info__link:hover {
  color: var(--gold-primary);
}

/* ============================================================
   STAFF GRID
   ============================================================ */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .staff-grid { grid-template-columns: repeat(3, 1fr); }
}
.staff-grid__item { text-align: center; }
.staff-grid__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 2px solid var(--black-border);
}
.staff-grid__name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.staff-grid__role {
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* ============================================================
   EQUIPE — Association + Lineup
   ============================================================ */
.section--association { background: var(--black-surface); }
.section--lineup { background: var(--black-base); }

/* Sous-sections (Bureau, Staff, Supporter Crew) */
.equipe-subsection {
  margin-bottom: 3rem;
}
.equipe-subsection:last-child { margin-bottom: 0; }
.equipe-subsection__title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--black-border);
}

/* Grille de membres (cards association) */
.membre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .membre-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .membre-grid { grid-template-columns: repeat(4, 1fr); }
  .membre-grid--bureau { grid-template-columns: repeat(3, 1fr); }
}

.membre-card {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color var(--transition), transform var(--transition);
}
.membre-card:hover {
  border-color: var(--gold-muted);
  transform: translateY(-3px);
}

.membre-card__visual {
  margin-bottom: 1rem;
}
.membre-card__img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 2px solid var(--black-border);
  transition: border-color var(--transition);
}
.membre-card:hover .membre-card__img {
  border-color: var(--gold-muted);
}
.membre-card__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--black-surface);
  border: 2px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold-primary);
  transition: border-color var(--transition);
}
.membre-card:hover .membre-card__avatar {
  border-color: var(--gold-muted);
}

.membre-card__name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.membre-card__role {
  font-size: 0.8rem;
  color: var(--text-dim);
  font-family: var(--font-ui);
}

/* Lineup grid (joueurs — cards plus grandes) */
.lineup-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .lineup-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .lineup-grid { grid-template-columns: repeat(5, 1fr); }
}

.lineup-card {
  display: block;
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  padding: 2rem 1rem 1.5rem;
  text-align: center;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  position: relative;
}
.lineup-card:hover {
  border-color: var(--gold-muted);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--gold-glow);
}

.lineup-card__visual {
  position: relative;
  margin-bottom: 1.25rem;
}
.lineup-card__img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  border: 3px solid var(--black-border);
  transition: border-color var(--transition);
}
.lineup-card:hover .lineup-card__img {
  border-color: var(--gold-primary);
}
.lineup-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--black-elevated);
  border: 3px solid var(--black-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-primary);
  transition: border-color var(--transition);
}
.lineup-card:hover .lineup-card__avatar {
  border-color: var(--gold-primary);
}
.lineup-card__badge {
  position: absolute;
  top: 0;
  right: calc(50% - 52px);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: var(--black-deep);
  font-family: var(--font-ui);
  font-weight: 800;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--black-surface);
}

.lineup-card__name {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.lineup-card__role {
  font-size: 0.8rem;
  color: var(--gold-primary);
  font-family: var(--font-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ============================================================
   PROSE (contenu éditeur)
   ============================================================ */
.prose {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.prose h2 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--gold-primary);
  margin: 2rem 0 1rem;
  letter-spacing: 0.04em;
}
.prose h3 {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  margin: 1.5rem 0 0.75rem;
}
.prose p { margin-bottom: 1rem; }
.prose a {
  color: var(--gold-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose a:hover { color: var(--gold-light); }
.prose strong { color: var(--text-primary); }
.prose img {
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--black-base);
  position: relative;
}

/* Gold accent top line */
.footer__accent {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary) 20%, var(--gold-light) 50%, var(--gold-primary) 80%, transparent);
}

/* CTA Section */
.footer__cta-section {
  background: var(--black-surface);
  padding: 3rem 0;
  border-bottom: 1px solid var(--black-border);
}
.footer__cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.footer__cta-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 0.5rem;
}
.footer__cta-title .gold {
  color: var(--gold-primary);
}
.footer__cta-desc {
  font-size: 0.9rem;
  color: var(--text-dim);
  max-width: 500px;
  line-height: 1.6;
}
.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 0.85rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Main footer grid */
.footer__main {
  padding: 3.5rem 0 1rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 3rem; }
}

/* Brand column */
.footer__col--brand {
  display: flex;
  flex-direction: column;
}
.footer__logo img,
.footer__logo .custom-logo {
  height: 55px;
  width: auto;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 6px rgba(166, 138, 58, 0.15));
}
.footer__logo-text {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--gold-primary);
}
.footer__baseline {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* Social row under brand */
.footer__social-row {
  display: flex;
  gap: 0.5rem;
}
.footer__social-row .social-icons__list {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer__social-row .social-icons__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: var(--black-elevated);
  color: var(--text-dim);
  transition: all var(--transition);
}
.footer__social-row .social-icons__link:hover {
  background: var(--gold-primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer__social-row .social-icons__icon {
  width: 18px;
  height: 18px;
}

/* Column titles */
.footer__title {
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer__title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 24px;
  height: 2px;
  background: var(--gold-primary);
  border-radius: 1px;
}

/* Nav links */
.footer__nav li,
.footer__social li {
  margin-bottom: 0.6rem;
}
.footer__nav a,
.footer__social a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color var(--transition), padding-left var(--transition);
  display: inline-block;
}
.footer__nav a:hover,
.footer__social a:hover {
  color: var(--gold-primary);
  padding-left: 4px;
}

/* Badge */
.footer__badge {
  margin-top: 1.25rem;
  display: inline-flex;
}
.footer__badge-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  background: var(--black-elevated);
}

/* Bottom bar */
.footer__bottom {
  border-top: 1px solid var(--black-border);
  padding: 1.5rem 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-dim);
}
.footer__made {
  font-size: 0.75rem;
  color: var(--text-dim);
  opacity: 0.6;
  font-style: italic;
}

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-dim);
  font-style: italic;
}

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

/* ============================================================
   LOGO — taille adaptée au scroll
   ============================================================ */
.header__logo img,
.header__logo .header__logo-img {
  height: 44px;
  width: auto;
  transition: height var(--transition);
}
.header.is-scrolled .header__logo img,
.header.is-scrolled .header__logo .header__logo-img {
  height: 32px;
}

/* ============================================================
   NAV — item actif sur page parente
   ============================================================ */
.nav__item.current-menu-ancestor > .nav__link,
.nav__item.current-page-ancestor > .nav__link {
  color: var(--gold-primary);
}
.nav__item.current-menu-ancestor > .nav__link::after,
.nav__item.current-page-ancestor > .nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gold-primary);
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Décalages pour les éléments en grille */
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
.reveal[data-delay="4"] { transition-delay: 0.4s; }
.reveal[data-delay="5"] { transition-delay: 0.5s; }

/* ============================================================
   BOUTON RETOUR EN HAUT
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  color: var(--gold-primary);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition),
              transform var(--transition), background var(--transition),
              border-color var(--transition);
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--black-deep);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  pointer-events: none;
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-deep);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.page-loader__ring {
  width: 40px;
  height: 40px;
  border: 3px solid var(--black-border);
  border-top-color: var(--gold-primary);
  border-radius: 50%;
  animation: loaderSpin 0.7s linear infinite;
}
@keyframes loaderSpin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-wrap: wrap;
}
.breadcrumb a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition);
}
.breadcrumb a:hover { color: var(--gold-primary); }
.breadcrumb__sep {
  color: var(--black-border);
  font-size: 0.9rem;
}
.breadcrumb__current { color: var(--text-muted); }

/* ============================================================
   TEAMMATES CTA
   ============================================================ */
.teammates-cta {
  padding: 5rem 0 6rem;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.teammates-cta__game {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}
.teammates-cta__title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 2rem;
}
.teammates-cta__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1rem;
}
.teammate-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius-sm);
  text-decoration: none;
  color: var(--text-primary);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.teammate-card:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-2px);
}
.teammate-card__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(201,168,76,0.3);
  overflow: hidden;
  flex-shrink: 0;
}
.teammate-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.teammate-card__photo--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black-elevated);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-muted);
}
.teammate-card__info {
  flex: 1;
  min-width: 0;
}
.teammate-card__role {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.15rem;
}
.teammate-card__pseudo {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.teammate-card__arrow {
  color: var(--text-dim);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: color var(--transition), transform var(--transition);
}
.teammate-card:hover .teammate-card__arrow {
  color: var(--gold-primary);
  transform: translateX(3px);
}

/* ============================================================
   SECTION EYEBROW (réutilisable)
   ============================================================ */
.section-eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 0.5rem;
}

/* ============================================================
   JOUEUR BIO SECTION
   ============================================================ */
.joueur-bio-section {
  background: var(--black-base);
  border-top: 1px solid var(--black-border);
  padding: 4rem 0;
}
.joueur-bio-section__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .joueur-bio-section__inner {
    grid-template-columns: 260px 1fr;
    gap: 4rem;
    align-items: start;
  }
}
.joueur-bio-section__title {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-top: 0.25rem;
}
.joueur-bio-section__text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.85;
}
.joueur-bio-section__text p { margin-bottom: 1rem; }
.joueur-bio-section__text p:last-child { margin-bottom: 0; }

/* ============================================================
   JOUEUR GEAR — tuiles setup/préférences
   ============================================================ */
.joueur-gear {
  background: var(--black-surface);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
  padding: 4rem 0;
}
.joueur-gear__title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 2.5rem;
  margin-top: 0.35rem;
}
.joueur-gear__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .joueur-gear__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  .joueur-gear__grid { grid-template-columns: repeat(5, 1fr); }
}

/* Tuile individuelle — layout visuel */
.gear-tile {
  display: flex;
  flex-direction: column;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition);
}
.gear-tile:hover {
  border-color: rgba(201,168,76,0.35);
  transform: translateY(-3px);
}

/* Zone image */
.gear-tile__visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--black-base);
  overflow: hidden;
}
.gear-tile__visual--empty {
  background: var(--black-surface);
}
.gear-tile__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0.75rem;
  display: block;
  transition: transform 0.35s ease;
}
/* Maps en cover (pas de transparence) */
.gear-tile:nth-child(4) .gear-tile__img {
  object-fit: cover;
  padding: 0;
}
.gear-tile:hover .gear-tile__img {
  transform: scale(1.04);
}

/* Placeholder si pas d'image */
.gear-tile__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gear-tile__placeholder svg {
  width: 36px;
  height: 36px;
  color: var(--black-border);
}

/* Ligne dorée en bas de la zone image */
.gear-tile__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary) 0%, transparent 100%);
  opacity: 0;
  transition: opacity var(--transition);
}
.gear-tile:hover .gear-tile__overlay { opacity: 1; }

/* Corps texte */
.gear-tile__body {
  padding: 0.85rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border-top: 1px solid var(--black-border);
}
.gear-tile__label {
  font-family: var(--font-ui);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-dim);
  line-height: 1;
}
.gear-tile__value {
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ============================================================
   PAGE STATISTIQUES & RÉSULTATS
   ============================================================ */

.stats-section {
  padding: 4rem 0;
}
.stats-section--dark {
  background: var(--black-elevated);
}
.stats-section__title {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Overview cards */
.stats-overview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 640px) {
  .stats-overview { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .stats-overview { grid-template-columns: repeat(5, 1fr); }
}
.stat-card--win  { border-color: #2d6a2d; }
.stat-card--win .stat-card__value  { color: #4caf50; }
.stat-card--lose { border-color: #6a2d2d; }
.stat-card--lose .stat-card__value { color: #e57373; }
.stat-card--gold .stat-card__value { color: var(--gold-primary); }

/* Leaderboard */
.stats-leaderboard {
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  overflow-x: auto;
}
.leaderboard-header,
.leaderboard-row {
  display: grid;
  grid-template-columns: 40px 180px repeat(7, 1fr);
  align-items: center;
  padding: 0 1rem;
  gap: 0.5rem;
  min-width: 700px;
}
.leaderboard-header {
  background: #1d2327;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.leaderboard-row {
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  border-top: 1px solid var(--black-border);
  transition: background var(--transition);
}
.leaderboard-row:hover { background: var(--black-elevated); }
.leaderboard-row--top1 { background: rgba(201,168,76,.06); }
.leaderboard-row--top2 { background: rgba(180,180,180,.04); }
.leaderboard-row--top3 { background: rgba(180,100,40,.04); }

.lb-col { font-size: 0.875rem; }
.lb-col--rank { text-align: center; color: var(--text-dim); font-weight: 700; }
.lb-col--player { display: flex; align-items: center; gap: 0.65rem; font-weight: 600; }
.lb-col--stat { text-align: center; color: var(--text-secondary); }
.lb-col--accent { color: var(--gold-primary) !important; font-weight: 700; }
.lb-col { color: var(--text-dim); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; }
.leaderboard-row .lb-col { font-size: 0.875rem; text-transform: none; letter-spacing: 0; color: var(--text-primary); }

.lb-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.lb-avatar--placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--black-border);
  color: var(--gold-primary);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}
.lb-player-name {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
}
.lb-player-name:hover { color: var(--gold-primary); }

.rank-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 800;
}
.rank-badge--gold   { background: var(--gold-primary); color: #000; }
.rank-badge--silver { background: #a8a8a8; color: #000; }
.rank-badge--bronze { background: #c87941; color: #fff; }

.stats-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-dim);
}

/* === CHARTS === */
.charts-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .charts-grid { grid-template-columns: 1fr 1fr; }
  .chart-card--wide { grid-column: span 1; }
}
@media (min-width: 1024px) {
  .charts-grid { grid-template-columns: 280px 1fr; }
}
.chart-card {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md, 12px);
  padding: 1.5rem;
}
.chart-card__title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  margin-bottom: 1.25rem;
}

/* Donut */
.donut-chart {
  position: relative;
  width: 160px;
  height: 160px;
  margin: 0 auto;
}
.donut-chart__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}
.donut-chart__bg {
  fill: none;
  stroke: var(--black-border);
  stroke-width: 10;
}
.donut-chart__fill {
  fill: none;
  stroke: var(--gold-primary);
  stroke-width: 10;
  stroke-linecap: round;
  transition: stroke-dasharray 1s ease;
}
.donut-chart__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.donut-chart__value {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
}
.donut-chart__label {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

/* Bar chart */
.bar-chart__row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.bar-chart__label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-secondary);
  min-width: 80px;
  text-align: right;
}
.bar-chart__track {
  flex: 1;
  height: 28px;
  background: var(--black-surface);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.bar-chart__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 0.5rem;
  min-width: 40px;
  transition: width 0.8s ease;
}
.bar-chart__value {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--black-deep);
}

/* K/D comparison */
.kd-row {
  margin-bottom: 0.75rem;
}
.kd-row__label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 0.25rem;
}
.kd-row__bars {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.kd-row__bar {
  height: 20px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
  min-width: 30px;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  transition: width 0.8s ease;
}
.kd-row__bar--kills {
  background: linear-gradient(90deg, rgba(74,222,128,0.3), rgba(74,222,128,0.6));
  color: #4ade80;
}
.kd-row__bar--deaths {
  background: linear-gradient(90deg, rgba(248,113,113,0.2), rgba(248,113,113,0.45));
  color: #f87171;
}
.kd-legend {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
  justify-content: center;
}
.kd-legend__item {
  font-size: 0.72rem;
  font-family: var(--font-ui);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.kd-legend__item::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.kd-legend__item--kills::before { background: #4ade80; }
.kd-legend__item--deaths::before { background: #f87171; }

/* ============================================================
   PAGE RÉSULTATS — v2 (compact cards + month groups)
   ============================================================ */

/* --- Hero compact --- */
.hero--compact { min-height: 28vh; }
.hero--compact .hero__content { padding: 2.5rem 0 1.5rem; }
.hero--compact .hero__title { font-size: clamp(1.8rem, 4vw, 2.8rem); }

/* --- Stats bar --- */
.res-stats-bar {
  background: var(--black-surface);
  border-bottom: 1px solid var(--black-border);
  padding: 1.25rem 0;
}
.res-stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.res-stat {
  text-align: center;
  min-width: 60px;
}
.res-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
}
.res-stat--win  .res-stat__value { color: #4caf50; }
.res-stat--loss .res-stat__value { color: #e57373; }
.res-stat--highlight .res-stat__value { color: var(--gold-primary); }
.res-stat__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  margin-top: 0.2rem;
}

/* --- Section & toolbar --- */
.resultats-section { padding: 2rem 0 4rem; }

.resultats-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--black-border);
}

.resultats-filters {
  margin-bottom: 1.5rem;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--black-border);
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn--sm { padding: 0.3rem 0.7rem; font-size: 0.7rem; }
.filter-btn:hover { border-color: var(--gold-muted); color: var(--text-primary); }
.filter-btn--active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: #000;
}

/* Result pills (V / D / E) */
.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--black-border);
  background: transparent;
  color: var(--text-dim);
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-pill:hover { border-color: var(--text-muted); color: var(--text-primary); }
.filter-pill--active { border-color: var(--gold-primary); color: var(--gold-primary); background: rgba(201,168,76,.1); }
.filter-pill--win.filter-pill--active  { border-color: #4caf50; color: #4caf50; background: rgba(76,175,80,.1); }
.filter-pill--loss.filter-pill--active { border-color: #e57373; color: #e57373; background: rgba(229,115,115,.1); }
.filter-pill--draw.filter-pill--active { border-color: var(--gold-muted); color: var(--gold-muted); background: rgba(201,168,76,.08); }

/* --- Month groups --- */
.res-month { margin-bottom: 2rem; }
.res-month__title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dim);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--black-border);
}

/* --- Card grid --- */
.res-month__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.6rem;
}

/* --- Match card --- */
.res-card {
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  transition: border-color var(--transition), transform 0.15s ease;
  position: relative;
}
.res-card:hover {
  border-color: var(--black-elevated);
  transform: translateY(-1px);
}
.res-card--win  { border-left: 3px solid #4caf50; }
.res-card--loss { border-left: 3px solid #e57373; }
.res-card--draw { border-left: 3px solid var(--gold-muted); }

.res-card__header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.res-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.65rem;
  background: var(--black-elevated);
}
.res-card__badge--win  { background: rgba(76,175,80,.15); color: #4caf50; }
.res-card__badge--loss { background: rgba(229,115,115,.15); color: #e57373; }
.res-card__badge--draw { background: rgba(201,168,76,.15); color: var(--gold-primary); }

.res-card__date {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.res-card__type {
  margin-left: auto;
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: var(--black-elevated);
  color: var(--text-dim);
}
.res-card__type--competition { background: rgba(201,168,76,.15); color: var(--gold-primary); }
.res-card__type--scrim { background: rgba(255,255,255,.05); color: var(--text-dim); }

/* Matchup row */
.res-card__matchup {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.res-card__team {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}
.res-card__team--opp {
  justify-content: flex-end;
}

.res-card__logo {
  width: 24px; height: 24px;
  object-fit: contain;
  border-radius: 3px;
  flex-shrink: 0;
}

.res-card__name {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.res-card__score {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}
.res-card__pts {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  min-width: 1em;
  text-align: center;
}
.res-card__pts--ark { color: var(--gold-primary); }
.res-card__pts--opp { color: var(--text-secondary); }
.res-card__sep {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* Maps chips */
.res-card__maps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding-top: 0.45rem;
  border-top: 1px solid var(--black-border);
}
.res-card__map {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.15rem 0.4rem;
  border-radius: 3px;
  background: var(--black-elevated);
  color: var(--text-dim);
}
.res-card__map--win  { color: #4caf50; background: rgba(76,175,80,.1); }
.res-card__map--loss { color: #e57373; background: rgba(229,115,115,.1); }

.res-card__event {
  font-family: var(--font-ui);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--gold-muted);
  margin-top: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.resultats-empty-msg {
  text-align: center;
  padding: 3rem;
  color: var(--text-dim);
}

/* --- Mobile --- */
@media (max-width: 640px) {
  .res-stats-bar__inner { gap: 1.25rem; }
  .res-stat__value { font-size: 1.2rem; }
  .res-month__grid { grid-template-columns: 1fr; }
  .resultats-toolbar { flex-direction: column; align-items: flex-start; }
  .filter-btn { padding: 0.35rem 0.65rem; font-size: 0.7rem; }
  .filter-pill { width: 28px; height: 28px; font-size: 0.65rem; }

  /* Leaderboard — colonnes condensées */
  .leaderboard-header,
  .leaderboard-row {
    grid-template-columns: 28px 120px repeat(7, 1fr);
    font-size: 0.75rem;
  }

  /* Stats overview */
  .stats-overview { grid-template-columns: repeat(3, 1fr); }
}


/* ============================================================
   PAGE BUILDER — Blocs Flexible Content
   ============================================================ */

/* --- Split reverse (Image + Texte inversé) --- */
@media (min-width: 768px) {
  .split--reverse { flex-direction: row-reverse; }
}

/* --- Builder Grid (Cards, Galerie, Colonnes) --- */
.builder-grid {
  display: grid;
  gap: 1.5rem;
}
.builder-grid--2col { grid-template-columns: repeat(2, 1fr); }
.builder-grid--3col { grid-template-columns: repeat(3, 1fr); }
.builder-grid--4col { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .builder-grid--3col,
  .builder-grid--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .builder-grid--2col,
  .builder-grid--3col,
  .builder-grid--4col { grid-template-columns: 1fr; }
}

/* --- Builder Card --- */
.builder-card {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition);
}
.builder-card:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}
.builder-card__img {
  width: 100%;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  object-fit: cover;
}
.builder-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--gold-primary);
}
.builder-card__title {
  font-family: var(--font-ui);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.builder-card__text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

/* --- Séparateur --- */
.bloc-separateur {
  padding: 1.5rem 0;
}
.bloc-separateur--espace {
  padding: 3rem 0;
}
.bloc-separateur--ligne hr,
.bloc-separateur--or hr {
  border: none;
  height: 1px;
  background: var(--black-border);
}
.bloc-separateur--or hr {
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

/* --- Vidéo --- */
.bloc-video__wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--black-border);
}
.bloc-video__wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.bloc-video__legende {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  text-align: center;
}

/* --- FAQ Accordéon --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.faq-item {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition);
}
.faq-item[open] {
  border-color: var(--gold-primary);
}
.faq-item__question {
  padding: 1.25rem 1.5rem;
  font-family: var(--font-ui);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  position: relative;
  padding-right: 2.5rem;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--gold-primary);
  transition: transform var(--transition);
}
.faq-item[open] .faq-item__question::after {
  content: '−';
}
.faq-item__answer {
  padding: 0 1.5rem 1.25rem;
}

/* --- Citation --- */
.arkane-quote {
  text-align: center;
  padding: 2rem 0;
}
.arkane-quote__text {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--gold-primary);
  line-height: 1.6;
  font-style: italic;
  position: relative;
  padding: 0 2rem;
}
.arkane-quote__text::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--gold-muted);
  position: absolute;
  left: -0.5rem;
  top: -0.75rem;
  font-style: normal;
}
.arkane-quote__author {
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Galerie --- */
.bloc-galerie__item {
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--black-border);
  transition: border-color var(--transition), transform var(--transition);
}
.bloc-galerie__item:hover {
  border-color: var(--gold-primary);
  transform: translateY(-2px);
}
.bloc-galerie__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- Bloc Texte largeurs --- */
.container--narrow {
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
}

/* --- CTA Block (builder) --- */
.cta-block {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
}
.cta-block__title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}
.cta-block__text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
/* ============================================================
   404 PAGE ENHANCEMENTS - Arkane Esport Theme
   Add these styles to arkane.css in the 404 section
   ============================================================ */

/* === 404 NUMBER WITH GOLD GLOW EFFECT === */
.hero__404-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin-bottom: 2rem;
}

.hero__404-number {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: clamp(6rem, 18vw, 12rem);
  color: var(--gold-primary);
  line-height: 1;
  display: block;
  margin: 0;
  letter-spacing: -0.04em;
  position: relative;
  z-index: 2;
}

.hero__404-glow {
  /* Multi-layered glow effect */
  filter: drop-shadow(0 0 20px var(--gold-primary))
          drop-shadow(0 0 40px var(--gold-glow-strong))
          drop-shadow(0 0 60px rgba(201, 168, 76, 0.2));
  animation: glow-pulse 3s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% {
    filter: drop-shadow(0 0 20px var(--gold-primary))
            drop-shadow(0 0 40px var(--gold-glow-strong))
            drop-shadow(0 0 60px rgba(201, 168, 76, 0.2));
    text-shadow: 0 0 30px rgba(201, 168, 76, 0.4);
  }
  50% {
    filter: drop-shadow(0 0 30px var(--gold-primary))
            drop-shadow(0 0 60px var(--gold-glow-strong))
            drop-shadow(0 0 80px rgba(201, 168, 76, 0.3));
    text-shadow: 0 0 50px rgba(201, 168, 76, 0.6);
  }
}


/* === SEARCH FORM === */
.page-404__search {
  margin: 3rem 0 4rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.search-form-404 {
  width: 100%;
}

.search-form-404__wrapper {
  position: relative;
  display: flex;
  border: 2px solid var(--gold-primary);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--black-surface);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-form-404__wrapper:focus-within {
  border-color: var(--gold-light);
  box-shadow: 0 0 20px var(--gold-glow);
}

.search-form-404__input {
  flex: 1;
  padding: 1rem 1.5rem;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  caret-color: var(--gold-primary);
}

.search-form-404__input::placeholder {
  color: var(--text-muted);
}

.search-form-404__button {
  flex-shrink: 0;
  padding: 0 1.5rem;
  background: transparent;
  border: none;
  color: var(--gold-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color var(--transition);
}

.search-form-404__button:hover {
  color: var(--gold-light);
}

.search-form-404__button svg {
  width: 20px;
  height: 20px;
}


/* === QUICK NAVIGATION SECTION === */
.page-404__quick-nav {
  margin: 3rem 0;
  padding: 2rem 0;
}

.page-404__quick-nav-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  text-align: center;
  margin-bottom: 2rem;
}

.page-404__nav-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .page-404__nav-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
  }
}

.page-404__nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  background: var(--black-surface);
  text-decoration: none;
  transition: all var(--transition);
  color: var(--text-muted);
}

.page-404__nav-link:hover {
  border-color: var(--gold-primary);
  background: var(--black-elevated);
  color: var(--gold-primary);
  box-shadow: 0 0 20px var(--gold-glow);
}

.page-404__nav-icon {
  font-size: 2rem;
  display: block;
  transition: transform var(--transition);
}

.page-404__nav-link:hover .page-404__nav-icon {
  transform: scale(1.2) translateY(-2px);
}

.page-404__nav-text {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}


/* === RESPONSIVE ADJUSTMENTS === */
@media (max-width: 640px) {
  .hero--404 {
    min-height: 60vh;
  }

  .hero__404-number {
    font-size: clamp(4rem, 15vw, 8rem);
  }

  .page-404__search {
    margin: 2rem 0 3rem;
  }

  .page-404__nav-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
  }

  .page-404__nav-link {
    padding: 1.25rem 0.75rem;
    gap: 0.5rem;
  }

  .page-404__nav-icon {
    font-size: 1.5rem;
  }

  .page-404__nav-text {
    font-size: 0.75rem;
  }
}


/* === ANIMATION: Smooth scroll appearance === */
@keyframes slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero--404 .hero__404-number {
  animation: slide-up 0.6s ease-out forwards;
}
.hero--404 .hero__title {
  animation: slide-up 0.6s ease-out 0.1s forwards;
  opacity: 0;
}
.hero--404 .hero__subtitle {
  animation: slide-up 0.6s ease-out 0.2s forwards;
  opacity: 0;
}
.hero--404 .page-404__search {
  animation: slide-up 0.6s ease-out 0.3s forwards;
  opacity: 0;
}
.hero--404 .page-404__quick-nav {
  animation: slide-up 0.6s ease-out 0.4s forwards;
  opacity: 0;
}
.hero--404 .hero__actions {
  animation: slide-up 0.6s ease-out 0.5s forwards;
  opacity: 0;
}


/* === DESKTOP ENHANCEMENTS === */
@media (min-width: 768px) {
  .hero--404 {
    min-height: 80vh;
  }

  .page-404__search {
    margin: 4rem 0 5rem;
  }

  .page-404__nav-grid {
    gap: 2.5rem;
  }

  .page-404__nav-link {
    padding: 2rem 1.5rem;
    gap: 1rem;
  }

  .page-404__nav-text {
    font-size: 0.9rem;
  }
}

/* ============================================================
   CALENDRIER / MATCHS À VENIR
   Dark theme esport calendar
   ============================================================ */

/* === FEATURED MATCH SECTION === */
.calendrier-featured {
  padding: var(--section-padding) 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.05) 0%, transparent 100%);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}

.featured-match {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2.5rem;
  background: var(--black-surface);
  border: 1px solid var(--black-elevated);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.featured-match::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.featured-match__header {
  grid-column: 1 / -1;
}

.featured-match__label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.featured-match__content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

.featured-match__date-section {
  display: flex;
  justify-content: center;
}

.featured-match__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(201, 168, 76, 0.2);
}

.featured-match__day {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--black-deep);
}

.featured-match__month-year {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--black-deep);
  text-transform: uppercase;
}

.featured-match__month {
}

.featured-match__year {
  opacity: 0.8;
}

.featured-match__versus {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.featured-versus__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.featured-versus__logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(201, 168, 76, 0.2));
  transition: transform var(--transition), filter var(--transition);
}

.featured-versus__team:hover .featured-versus__logo {
  transform: scale(1.1);
  filter: drop-shadow(0 6px 20px rgba(201, 168, 76, 0.35));
}

.featured-versus__name {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.featured-versus__vs {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  padding: 0 1rem;
}

/* Multi-opponent (featured) */
.featured-versus__multi-opp {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.featured-versus__multi-opp .featured-versus__team {
  gap: 0.35rem;
}

.featured-versus__multi-opp .featured-versus__logo {
  width: 52px;
  height: 52px;
}

.featured-versus__multi-opp .featured-versus__name {
  font-size: 0.95rem;
}

.featured-match__info {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--black-border);
}

.featured-match__event {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
}

.featured-match__countdown {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--black-border);
}

.countdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 1.5rem;
}

.countdown__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.countdown__value {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  min-width: 80px;
  text-align: center;
}

.countdown__label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Responsive: Stack featured match on mobile */
@media (max-width: 768px) {
  .featured-match {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .featured-match__content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .featured-match__day {
    font-size: 2rem;
  }

  .featured-versus__logo {
    width: 60px;
    height: 60px;
  }

  .featured-versus__name {
    font-size: 1rem;
  }

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

/* === MATCHES LIST SECTION === */
.calendrier-section {
  padding: var(--section-padding) 0;
}

.section-title {
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.matches-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* === MATCH CARD === */
.match-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  transition: all var(--transition);
  overflow: hidden;
  position: relative;
}

.match-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-primary), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.match-card:hover {
  border-color: var(--gold-primary);
  background: var(--black-elevated);
  box-shadow: 0 8px 24px rgba(201, 168, 76, 0.1);
}

.match-card:hover::before {
  opacity: 1;
}

.match-card__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.75rem;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.15);
}

.match-card__day {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--black-deep);
}

.match-card__month {
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--black-deep);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.match-card__content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  justify-content: center;
  min-height: 100%;
}

.match-card__versus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.match-card__team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  flex: 1;
}

.match-card__logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  transition: transform var(--transition);
}

.match-card__team:hover .match-card__logo {
  transform: scale(1.15);
}

.match-card__team-name {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.match-card__vs {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 900;
  color: var(--gold-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  flex-shrink: 0;
}

/* Multi-opponent (match card) */
.match-card__multi-opp {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: center;
}

.match-card__multi-opp .match-card__team {
  gap: 0.15rem;
  min-width: 0;
}

.match-card__multi-opp .match-card__logo {
  width: 26px;
  height: 26px;
}

.match-card__multi-opp .match-card__team-name {
  font-size: 0.65rem;
}

.match-card__meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--black-border);
  font-size: 0.75rem;
}

.match-card__event {
  font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.match-card__location {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--black-border);
  font-size: 0.75rem;
  color: var(--text-dim);
}

.match-card__icon {
  opacity: 0.7;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.badge--competition {
  background: rgba(76, 175, 80, 0.15);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.3);
}

.badge--amical {
  background: rgba(33, 150, 243, 0.15);
  color: #2196f3;
  border: 1px solid rgba(33, 150, 243, 0.3);
}

.badge--entrainement {
  background: rgba(255, 152, 0, 0.15);
  color: #ff9800;
  border: 1px solid rgba(255, 152, 0, 0.3);
}

/* Featured match time — inside the gold date block */
.featured-match__time {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--black-deep);
  text-align: center;
  margin-top: 0.25rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

/* Match card time */
.match-card__time {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-primary);
}

/* Responsive: Expand grid on larger screens */
@media (min-width: 1024px) {
  .matches-list {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  }
}

@media (max-width: 768px) {
  .matches-list {
    grid-template-columns: 1fr;
  }

  .match-card {
    grid-template-columns: 60px 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .match-card__day {
    font-size: 1.5rem;
  }

  .match-card__month {
    font-size: 0.6rem;
  }

  .match-card__logo {
    width: 36px;
    height: 36px;
  }

  .match-card__team-name {
    font-size: 0.75rem;
  }
}

/* === EMPTY STATE === */
.calendrier-empty {
  padding: 3rem;
  text-align: center;
  background: var(--black-surface);
  border: 1px dashed var(--black-border);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-style: italic;
}
.calendrier-empty-state {
  text-align: center;
  padding: 3rem 2rem;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md, 12px);
}
.calendrier-empty-state__icon {
  color: var(--gold-primary);
  opacity: 0.6;
  margin-bottom: 1.5rem;
}
.calendrier-empty-state__title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.calendrier-empty-state__text {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.calendrier-empty-state__sub {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.calendrier-empty-state__recent {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--black-border);
}
.calendrier-empty-state__recent-title {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}
.calendrier-empty-state__recent-list {
  max-width: 400px;
  margin: 0 auto;
}
.calendrier-recent-match {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.calendrier-recent-match:hover { background: var(--black-surface); }
.calendrier-recent-match__teams {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--text-primary);
}
.calendrier-recent-match__score {
  font-weight: 700;
  padding: 0 0.35rem;
}
.calendrier-recent-match__score.victoire { color: var(--green, #4ade80); }
.calendrier-recent-match__score.defaite { color: var(--red, #f87171); }
.calendrier-recent-match__date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === CTA SECTION === */
.calendrier-cta {
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid var(--black-border);
}

/* === ANIMATIONS === */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.match-card {
  animation: slideInUp 0.5s ease forwards;
}

.match-card:nth-child(1) { animation-delay: 0.05s; }
.match-card:nth-child(2) { animation-delay: 0.1s; }
.match-card:nth-child(3) { animation-delay: 0.15s; }
.match-card:nth-child(n+4) { animation-delay: 0.2s; }

/* === PRINT STYLES === */
@media print {
  .featured-match__countdown {
    display: none;
  }

  .match-card {
    break-inside: avoid;
  }
}

/* ========================================
   SOCIAL ICONS - Comprehensive CSS
   ======================================== */

/* Platform colors & social transitions */
:root {
    --social-discord: #5865F2;
    --social-twitter: #1DA1F2;
    --social-instagram-start: #FD5949;
    --social-instagram-end: #D6249F;
    --social-tiktok: #00f2ea;
    --social-twitch: #9147ff;
    --social-youtube: #FF0000;
    --transition-base: var(--transition);
}

/* ========================================
   BASE SOCIAL ICONS STYLES
   ======================================== */

.social-icons__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-icons__item {
    margin: 0;
    padding: 0;
}

.social-icons__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-base);
    border-radius: 0.25rem;
    position: relative;
}

.social-icons__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
}

.social-icons__icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 0;
}

.social-icons__label {
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* ========================================
   FOOTER STYLE - Larger icons with labels
   ======================================== */

.social-icons--footer {
    width: 100%;
}

.social-icons--footer .social-icons__list {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.social-icons--footer .social-icons__icon {
    width: 1.75rem;
    height: 1.75rem;
}

.social-icons--footer .social-icons__link {
    padding: 0.5rem 0.75rem;
    border-radius: 0.375rem;
    font-size: 0.9375rem;
}

.social-icons--footer .social-icons__link:hover {
    background-color: var(--black-elevated);
    transform: translateY(-2px);
}

/* Individual platform hover states for footer */
.social-icons--footer .social-icons__link--discord:hover {
    color: var(--social-discord);
}

.social-icons--footer .social-icons__link--twitter:hover {
    color: var(--social-twitter);
}

.social-icons--footer .social-icons__link--instagram:hover {
    color: var(--social-instagram-start);
}

.social-icons--footer .social-icons__link--tiktok:hover {
    color: var(--social-tiktok);
}

.social-icons--footer .social-icons__link--twitch:hover {
    color: var(--social-twitch);
}

.social-icons--footer .social-icons__link--youtube:hover {
    color: var(--social-youtube);
}

/* ========================================
   HEADER STYLE - Compact icons only
   ======================================== */

.social-icons--header {
    display: none; /* Hidden on mobile, shown on desktop in @media query below */
}

.social-icons--header .social-icons__list {
    gap: 0.5rem;
}

.social-icons--header .social-icons__icon {
    width: 1.25rem;
    height: 1.25rem;
}

.social-icons--header .social-icons__link {
    padding: 0.375rem;
    border-radius: 0.25rem;
}

.social-icons--header .social-icons__link:hover {
    background-color: rgba(201, 168, 76, 0.1); /* Subtle gold tint */
}

/* Individual platform hover states for header */
.social-icons--header .social-icons__link--discord:hover {
    color: var(--social-discord);
}

.social-icons--header .social-icons__link--twitter:hover {
    color: var(--social-twitter);
}

.social-icons--header .social-icons__link--instagram:hover {
    color: var(--social-instagram-start);
}

.social-icons--header .social-icons__link--tiktok:hover {
    color: var(--social-tiktok);
}

.social-icons--header .social-icons__link--twitch:hover {
    color: var(--social-twitch);
}

.social-icons--header .social-icons__link--youtube:hover {
    color: var(--social-youtube);
}

/* ========================================
   MOBILE STYLE - Centered icons with labels
   ======================================== */

.social-icons--mobile {
    width: 100%;
    padding: 1rem 0;
    border-top: 1px solid var(--black-border);
    margin-top: 1.5rem;
}

.social-icons--mobile .social-icons__list {
    justify-content: center;
    gap: 1.5rem;
}

.social-icons--mobile .social-icons__icon {
    width: 1.75rem;
    height: 1.75rem;
}

.social-icons--mobile .social-icons__link {
    flex-direction: column;
    padding: 0.75rem;
    border-radius: 0.375rem;
}

.social-icons--mobile .social-icons__label {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.social-icons--mobile .social-icons__link:active {
    background-color: var(--black-elevated);
}

/* Individual platform hover/active states for mobile */
.social-icons--mobile .social-icons__link--discord:active {
    color: var(--social-discord);
}

.social-icons--mobile .social-icons__link--twitter:active {
    color: var(--social-twitter);
}

.social-icons--mobile .social-icons__link--instagram:active {
    color: var(--social-instagram-start);
}

.social-icons--mobile .social-icons__link--tiktok:active {
    color: var(--social-tiktok);
}

.social-icons--mobile .social-icons__link--twitch:active {
    color: var(--social-twitch);
}

.social-icons--mobile .social-icons__link--youtube:active {
    color: var(--social-youtube);
}

/* ========================================
   HEADER LAYOUT INTEGRATION
   ======================================== */

.header__actions {
    display: none; /* Hidden on mobile, shown on desktop */
    align-items: center;
    gap: 1rem;
    margin-left: auto;
}

.header__social {
    display: none; /* Hidden on mobile, shown on desktop */
}

/* ========================================
   MOBILE MENU INTEGRATION
   ======================================== */

.mobile-menu__social {
    width: 100%;
}

/* ========================================
   FOCUS STATES (Accessibility)
   ======================================== */

.social-icons__link:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Desktop — aligned with nav breakpoint (992px) */
@media (min-width: 992px) {
    .social-icons--header {
        display: block;
    }

    .header__actions {
        display: flex;
    }

    .header__social {
        display: block;
    }
}

/* Small devices (320px - 479px) */
@media (max-width: 479px) {
    .social-icons--footer .social-icons__list {
        gap: 0.5rem;
    }

    .social-icons--footer .social-icons__icon {
        width: 1.5rem;
        height: 1.5rem;
    }

    .social-icons--footer .social-icons__link {
        padding: 0.4rem 0.5rem;
        font-size: 0.8125rem;
    }

    .social-icons--mobile .social-icons__list {
        gap: 1rem;
    }

    .social-icons--mobile .social-icons__icon {
        width: 1.5rem;
        height: 1.5rem;
    }
}

/* ========================================
   INSTAGRAM GRADIENT EFFECT (Optional)
   ======================================== */

/* If you want a subtle gradient effect on Instagram hover */
.social-icons__link--instagram {
    position: relative;
}

.social-icons__link--instagram:hover .social-icons__icon svg {
    background: linear-gradient(135deg, var(--social-instagram-start) 0%, var(--social-instagram-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Fallback for browsers that don't support background-clip */
@supports not (background-clip: text) {
    .social-icons__link--instagram:hover .social-icons__icon svg {
        color: var(--social-instagram-start);
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    .social-icons {
        display: none;
    }
}

/* ========================================
   DARK MODE / HIGH CONTRAST (if needed)
   ======================================== */

@media (prefers-color-scheme: dark) {
    /* Existing styles already account for dark mode */
}

@media (prefers-contrast: more) {
    .social-icons__link {
        border: 1px solid var(--text-primary);
    }

    .social-icons__link:focus-visible {
        outline-width: 3px;
    }
}

/* ========================================
   REDUCED MOTION (Accessibility)
   ======================================== */

@media (prefers-reduced-motion: reduce) {
    .social-icons__link {
        transition: none;
    }

    .social-icons__link:hover {
        transform: none;
    }
}

/* ========================================
   ADDITIONAL UTILITIES (Optional)
   ======================================== */

/* For sites that want to hide labels on certain breakpoints */
.social-icons--header .social-icons__label,
.social-icons--mobile .social-icons__label {
    display: none;
}

.social-icons--footer .social-icons__label {
    display: inline;
}

/* Utility class to show/hide social icons based on context */
.social-icons__item--hidden {
    display: none;
}

/* ========================================
   END SOCIAL ICONS CSS
   ======================================== */

/* ========================================
   RESPONSIVE REFINEMENTS
   Global mobile-first improvements
   ======================================== */

/* --- Small mobile (≤ 480px) --- */
@media (max-width: 480px) {
  :root {
    --section-padding: 3rem;
  }

  /* Typography scaling */
  .hero__title {
    font-size: 1.75rem;
    letter-spacing: 0.06em;
  }

  .hero__subtitle {
    font-size: 0.9rem;
  }

  .section-heading,
  .section-title {
    font-size: 1.5rem;
  }

  /* Buttons */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.8rem;
  }

  .btn--lg {
    padding: 0.875rem 1.75rem;
    font-size: 0.85rem;
  }

  /* Hero adjustments */
  .hero--page {
    min-height: 35vh;
  }

  /* Container tighter padding */
  .container {
    padding: 0 1rem;
  }

  /* Footer stacking */
  .footer__cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .footer__cta-desc {
    max-width: 100%;
  }
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer__col--brand {
    align-items: center;
  }
  .footer__title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer__social-row .social-icons__list {
    justify-content: center;
  }
  .footer__badge {
    justify-content: center;
  }
  .footer__bottom-inner {
    flex-direction: column;
    gap: 0.25rem;
    text-align: center;
  }

  /* Blog cards */
  .blog-grid {
    gap: 1.25rem;
  }

  .article-card__body {
    padding: 1rem;
  }

  .article-card__title {
    font-size: 1rem;
  }

  /* Calendar */
  .featured-match {
    padding: 1.25rem;
  }

  .countdown__value {
    font-size: 1.5rem;
    min-width: 60px;
  }

  /* Result rows */
  .result-row {
    padding: 0.75rem;
  }

  /* Filter pills */
  .filter-btn {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
  }

  /* Back to top smaller */
  .back-to-top {
    width: 40px;
    height: 40px;
    right: 1rem;
    bottom: 1rem;
  }
}

/* --- Tablet (481px – 767px) --- */
@media (min-width: 481px) and (max-width: 767px) {
  .hero__title {
    font-size: 2.25rem;
  }

  .footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: left;
  }
  .footer__title::after {
    left: 0;
    transform: none;
  }

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

  .matches-list {
    grid-template-columns: 1fr;
  }
}

/* --- Touch-friendly sizing --- */
@media (hover: none) and (pointer: coarse) {
  .nav__link,
  .filter-btn,
  .social-icons__link,
  .footer__nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .mobile-menu__list .nav__link {
    padding: 0.875rem 0;
  }
}

/* --- Landscape phone fix --- */
@media (max-height: 500px) and (orientation: landscape) {
  .hero--page {
    min-height: 60vh;
    padding: 2rem 0;
  }

  .hero__title {
    font-size: 1.5rem;
  }

  .mobile-menu {
    overflow-y: auto;
  }
}

/* --- Safe area (notch) support --- */
@supports (padding: env(safe-area-inset-bottom)) {
  .footer__bottom {
    padding-bottom: calc(1rem + env(safe-area-inset-bottom));
  }

  .mobile-menu {
    padding-bottom: env(safe-area-inset-bottom);
  }

  .back-to-top {
    bottom: calc(1.5rem + env(safe-area-inset-bottom));
  }
}

/* ============================================================
   ANIMATIONS & MICRO-INTERACTIONS
   ============================================================ */

/* Scroll reveal */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Player card image zoom on hover */
.player-card:hover .player-card__photo {
  transform: scale(1.06);
}
.player-card__photo {
  transition: transform 0.5s ease;
}

/* Player card pseudo gold shimmer on hover */
.player-card:hover .player-card__pseudo {
  text-shadow: 0 0 12px var(--gold-glow);
}

/* Gold line pulse on hero */
@keyframes goldPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
.hero__gold-line {
  animation: goldPulse 3s ease-in-out infinite;
}

/* Result card hover effect */
.result-card:hover,
.match-card:hover {
  border-color: var(--gold-muted);
  transform: translateY(-2px);
}
.result-card,
.match-card {
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

/* Stat card hover */
.stat-card {
  transition: transform var(--transition), border-color var(--transition);
}
.stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-muted);
}

/* Sponsor logo hover */
.sponsor-logo img,
.sponsors-bar__logo img {
  transition: filter 0.3s ease, transform 0.3s ease;
  filter: grayscale(0.3);
}
.sponsor-logo:hover img,
.sponsors-bar__logo:hover img {
  filter: grayscale(0) brightness(1.1);
  transform: scale(1.05);
}

/* Button press effect */
.btn:active {
  transform: scale(0.97);
}

/* Smooth link underlines */
.footer__nav a,
.contact-info__link {
  position: relative;
}
.footer__nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: width 0.3s ease;
}
.footer__nav a:hover::after {
  width: 100%;
}

/* Triptyque number counter feel */
.triptyque__number {
  transition: transform 0.3s ease, color 0.3s ease;
}
.triptyque__item:hover .triptyque__number {
  transform: scale(1.1);
  color: var(--gold-light);
}

/* Section title gold underline animation */
.section__title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold-primary);
  margin: 0.75rem auto 0;
  transition: width 0.4s ease;
}
.section:hover .section__title::after,
.section--results-home:hover .section__title::after,
.section--actu-home:hover .section__title::after {
  width: 80px;
}

/* ============================================================
   PAGE EVA — "C'est quoi EVA ?"
   ============================================================ */

/* Intro: texte + vidéo */
.section--eva-intro { padding: var(--section-padding) 0; }

.eva-intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

.eva-intro__title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.eva-intro__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.eva-video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--black-border);
  background: var(--black-deep);
}

.eva-video-wrapper iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Comment ça marche — steps */
.section--eva-how {
  padding: var(--section-padding) 0;
  background: var(--black-surface);
}

.eva-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

.eva-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--black-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--black-border);
  transition: border-color var(--transition), transform var(--transition);
}

.eva-step:hover {
  border-color: var(--gold-muted);
  transform: translateY(-4px);
}

.eva-step__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-glow);
  border-radius: 50%;
  padding: 0.5rem;
}

.eva-step__title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.eva-step__text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Specs grid */
.section--eva-specs { padding: var(--section-padding) 0; }

.eva-specs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.eva-spec {
  text-align: center;
  padding: 1.5rem 1rem;
  background: var(--black-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--black-border);
  transition: border-color var(--transition);
}

.eva-spec:hover {
  border-color: var(--gold-muted);
}

.eva-spec__number {
  display: block;
  font-family: var(--font-title);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.eva-spec__title {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
}

.eva-spec__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Desktop EVA */
@media (min-width: 768px) {
  .eva-intro {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  .eva-intro__title { font-size: 1.8rem; }

  .eva-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .eva-specs-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  .eva-spec__number { font-size: 2.5rem; }
}

/* ============================================================
   END PAGE EVA
   ============================================================ */

/* ============================================================
   PAGE PALMARÈS — Timeline & résultats par compétition
   ============================================================ */

/* Trophées */
.palm-trophies {
  padding: 2.5rem 0 2.5rem;
}

.palm-trophy {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  border-radius: var(--radius-lg);
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.palm-trophy--gold {
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.1) 0%, rgba(201, 168, 76, 0.03) 100%);
  border: 2px solid var(--gold-primary);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.1), inset 0 0 30px rgba(201, 168, 76, 0.03);
}

.palm-trophy--gold::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(201, 168, 76, 0.05), transparent, rgba(201, 168, 76, 0.08), transparent);
  animation: trophyShine 8s linear infinite;
}

@keyframes trophyShine {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.palm-trophy__icon {
  flex-shrink: 0;
  color: var(--gold-primary);
  position: relative;
  z-index: 1;
}

.palm-trophy__content {
  position: relative;
  z-index: 1;
}

.palm-trophy__label {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-dark);
}

.palm-trophy__title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--gold-primary);
  line-height: 1.2;
  margin: 0.15rem 0 0.25rem;
}

.palm-trophy__detail {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 767px) {
  .palm-trophy {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  .palm-trophy__title { font-size: 1.3rem; }
}

/* Stats bar */
.palm-stats-bar {
  background: var(--black-surface);
  border-bottom: 1px solid var(--black-border);
  padding: 1.5rem 0;
}

.palm-stats-bar__inner {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.palm-stat { text-align: center; }

.palm-stat__value {
  display: block;
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-primary);
}

.palm-stat--win .palm-stat__value { color: #4CAF50; }
.palm-stat--highlight .palm-stat__value { color: var(--gold-primary); }

.palm-stat__label {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

/* Timeline (manual ACF entries) */
.palm-timeline {
  position: relative;
  padding: 2rem 0;
}

.palm-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 2px;
  background: var(--black-border);
  transform: translateX(-50%);
}

.palm-timeline__item {
  position: relative;
  width: 50%;
  padding: 1rem 2.5rem;
}

.palm-timeline__item--left { margin-right: auto; text-align: right; padding-right: 3rem; }
.palm-timeline__item--right { margin-left: auto; text-align: left; padding-left: 3rem; }

.palm-timeline__dot {
  position: absolute;
  top: 1.5rem;
  width: 14px; height: 14px;
  background: var(--gold-primary);
  border: 3px solid var(--black-base);
  border-radius: 50%;
  z-index: 1;
}

.palm-timeline__item--left .palm-timeline__dot { right: -7px; }
.palm-timeline__item--right .palm-timeline__dot { left: -7px; }

.palm-timeline__card {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: border-color var(--transition);
}

.palm-timeline__card:hover { border-color: var(--gold-muted); }

.palm-timeline__date {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-primary);
}

.palm-timeline__title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 0.25rem 0 0.5rem;
}

.palm-timeline__desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.palm-timeline__result {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.palm-timeline__result--victoire { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }
.palm-timeline__result--defaite { background: rgba(244, 67, 54, 0.15); color: #F44336; }

/* Events section */
.palm-events {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.palm-event {
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--transition);
}

.palm-event:hover { border-color: var(--gold-muted); }

.palm-event__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--black-elevated);
  border-bottom: 1px solid var(--black-border);
  flex-wrap: wrap;
}

.palm-event__name {
  font-family: var(--font-title);
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.palm-event__stats {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.palm-event__record {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  display: flex;
  gap: 0.5rem;
}

.palm-event__w { color: #4CAF50; font-weight: 600; }
.palm-event__l { color: #F44336; font-weight: 600; }
.palm-event__d { color: var(--text-dim); font-weight: 600; }

.palm-event__wr {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  color: var(--gold-primary);
  font-weight: 600;
}

.palm-event__status {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-sm);
}

.palm-event__status--positive { background: rgba(76, 175, 80, 0.12); color: #4CAF50; }
.palm-event__status--negative { background: rgba(244, 67, 54, 0.12); color: #F44336; }
.palm-event__status--neutral { background: rgba(201, 168, 76, 0.12); color: var(--gold-primary); }

.palm-event__matches {
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.palm-match {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.palm-match__badge {
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.palm-match__badge--win { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }
.palm-match__badge--loss { background: rgba(244, 67, 54, 0.15); color: #F44336; }
.palm-match__badge--draw { background: rgba(201, 168, 76, 0.15); color: var(--gold-primary); }

.palm-match__score {
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0.2rem;
}

.palm-empty {
  text-align: center;
  color: var(--text-dim);
  padding: 3rem 0;
  font-family: var(--font-body);
}

/* Mobile timeline fallback: single column */
@media (max-width: 767px) {
  .palm-timeline::before { left: 20px; }

  .palm-timeline__item {
    width: 100%;
    text-align: left;
    padding-left: 3rem;
    padding-right: 0;
  }

  .palm-timeline__item--left,
  .palm-timeline__item--right { margin: 0; }

  .palm-timeline__item--left .palm-timeline__dot,
  .palm-timeline__item--right .palm-timeline__dot { left: 13px; right: auto; }

  .palm-stats-bar__inner { gap: 1.5rem; }
  .palm-stat__value { font-size: 1.4rem; }
}

/* ============================================================
   END PAGE PALMARÈS
   ============================================================ */

/* ============================================================
   PAGE GALERIE — Masonry grid + Lightbox
   ============================================================ */

.galerie-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2rem;
}

.galerie-grid {
  columns: 2;
  column-gap: 1rem;
}

.galerie-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
}

.galerie-item__link {
  display: block;
  position: relative;
}

.galerie-item__img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.galerie-item__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition);
  color: #fff;
}

.galerie-item:hover .galerie-item__overlay { opacity: 1; }
.galerie-item:hover .galerie-item__img { transform: scale(1.05); }

.galerie-item__zoom, .galerie-item__play { color: var(--gold-primary); }

.galerie-item__caption {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  text-align: center;
  padding: 0 0.5rem;
}

/* Empty state */
.galerie-empty {
  text-align: center;
  padding: 4rem 1rem;
}

.galerie-empty__icon {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.galerie-empty__title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.galerie-empty__text {
  font-family: var(--font-body);
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.galerie-empty__sub {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox__close {
  position: absolute;
  top: 1rem; right: 1.5rem;
  background: none; border: none;
  color: #fff; font-size: 2.5rem;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: color var(--transition);
}

.lightbox__close:hover { color: var(--gold-primary); }

.lightbox__prev, .lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 1.5rem;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-radius: var(--radius-sm);
  z-index: 10;
  transition: background var(--transition), color var(--transition);
}

.lightbox__prev { left: 1rem; }
.lightbox__next { right: 1rem; }
.lightbox__prev:hover, .lightbox__next:hover { background: rgba(201, 168, 76, 0.3); color: var(--gold-primary); }

.lightbox__content { max-width: 90vw; max-height: 80vh; }

.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.lightbox__video {
  width: 80vw;
  max-width: 900px;
  aspect-ratio: 16/9;
}

.lightbox__video iframe {
  width: 100%; height: 100%;
  border-radius: var(--radius-md);
}

.lightbox__caption {
  margin-top: 1rem;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .galerie-grid { columns: 3; }
}

@media (min-width: 1024px) {
  .galerie-grid { columns: 4; column-gap: 1.25rem; }
}

/* ============================================================
   END PAGE GALERIE
   ============================================================ */

/* ============================================================
   PAGE RECRUTEMENT
   ============================================================ */

/* Criteria grid */
.recru-criteria {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.recru-criterion {
  text-align: center;
  padding: 1.5rem;
  background: var(--black-surface);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), transform var(--transition);
}

.recru-criterion:hover {
  border-color: var(--gold-muted);
  transform: translateY(-3px);
}

.recru-criterion__icon {
  color: var(--gold-primary);
  margin-bottom: 1rem;
}

.recru-criterion__title {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.recru-criterion__text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Form section */
.section--recru-form { background: var(--black-surface); }
.container--narrow { max-width: var(--container-narrow); }

.recru-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.recru-form__field { margin-bottom: 1rem; }

.recru-form__label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.recru-form__input, .recru-form__textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.recru-form__input:focus, .recru-form__textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.recru-form__textarea { resize: vertical; }

.recru-form__submit {
  margin-top: 0.5rem;
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

/* Success & Error */
.recru-success {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-primary);
}

.recru-success svg { color: #4CAF50; margin-bottom: 1rem; }
.recru-success h3 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.recru-success p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.recru-error {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #F44336;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-ui);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .recru-criteria { grid-template-columns: 1fr; }
  .recru-form__row { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .recru-criteria { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   END PAGE RECRUTEMENT
   ============================================================ */

/* ============================================================
   FOOTER CTA — Newsletter + Soutien
   ============================================================ */

.footer__cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer__cta-block {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-lg);
}

.footer__cta-block--support {
  background: linear-gradient(135deg, var(--black-elevated) 0%, rgba(201, 168, 76, 0.05) 100%);
  border-color: var(--gold-muted);
}

.footer__cta-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.footer__cta-soon {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.6rem 1rem;
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
}

/* Newsletter form */
.newsletter-form { margin-top: 1rem; }

.newsletter-form__row {
  display: flex;
  gap: 0.5rem;
  max-width: 420px;
  margin: 0 auto;
}

.newsletter-form__input {
  flex: 1;
  padding: 0.7rem 1rem;
  background: var(--black-base);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color var(--transition);
}

.newsletter-form__input:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.newsletter-form__btn {
  white-space: nowrap;
  padding: 0.7rem 1.5rem;
}

.newsletter-form__msg {
  font-family: var(--font-ui);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.newsletter-form__msg--success { color: #4CAF50; }
.newsletter-form__msg--error { color: #F44336; }

@media (min-width: 768px) {
  .footer__cta-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* ============================================================
   END FOOTER CTA
   ============================================================ */

/* ============================================================
   SINGLE JOUEUR — Stats par Map + Historique
   ============================================================ */

/* Stats par map */
.joueur-maps-section {
  padding: var(--section-padding) 0;
  background: var(--black-surface);
}

.joueur-maps__title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.joueur-maps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.joueur-map-card {
  background: var(--black-elevated);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  transition: border-color var(--transition);
}

.joueur-map-card:hover { border-color: var(--gold-muted); }

.joueur-map-card__name {
  font-family: var(--font-title);
  font-size: 1rem;
  color: var(--gold-primary);
  margin-bottom: 0.75rem;
}

.joueur-map-card__stats {
  display: flex;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.joueur-map-card__stat { text-align: center; }

.joueur-map-card__val {
  display: block;
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.joueur-map-card__val--wr { color: var(--gold-primary); }

.joueur-map-card__lbl {
  font-family: var(--font-ui);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
}

.joueur-map-card__bar {
  height: 4px;
  background: var(--black-border);
  border-radius: 2px;
  overflow: hidden;
}

.joueur-map-card__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-primary));
  border-radius: 2px;
  transition: width 0.6s ease;
}

/* Historique matchs */
.joueur-history-section {
  padding: var(--section-padding) 0;
}

.joueur-history__title {
  font-family: var(--font-title);
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.joueur-history__list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.joueur-history-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  background: var(--black-surface);
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.joueur-history-row--win { border-left-color: #4CAF50; }
.joueur-history-row--loss { border-left-color: #F44336; }
.joueur-history-row--draw { border-left-color: var(--gold-primary); }

.joueur-history-row__badge {
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.joueur-history-row__badge--win { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }
.joueur-history-row__badge--loss { background: rgba(244, 67, 54, 0.15); color: #F44336; }
.joueur-history-row__badge--draw { background: rgba(201, 168, 76, 0.15); color: var(--gold-primary); }

.joueur-history-row__teams { flex: 1; min-width: 150px; }

.joueur-history-row__score {
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0.2rem;
}

.joueur-history-row__kda {
  font-weight: 600;
  color: var(--text-primary);
  min-width: 70px;
  text-align: center;
}

.joueur-history-row__kda-val {
  color: var(--gold-primary);
  font-weight: 600;
  min-width: 65px;
  text-align: center;
}

.joueur-history-row__type {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-dim);
  padding: 0.15rem 0.5rem;
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
}

@media (max-width: 767px) {
  .joueur-history-row__kda-val,
  .joueur-history-row__type { display: none; }
}

/* ============================================================
   END SINGLE JOUEUR ADDITIONS
   ============================================================ */

/* ============================================================
   PAGE CLASSEMENT — Standings table
   ============================================================ */
.class-header {
  padding: 2rem 0 0;
}

.class-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.class-header__season {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.class-header__div {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 0.2rem 0.7rem;
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-sm);
}

.class-header__journee {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.class-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--black-border);
}

.class-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.class-table__th {
  padding: 0.85rem 1rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  background: var(--black-card);
  border-bottom: 2px solid var(--gold-dim);
}

.class-table__th--rank { width: 50px; }
.class-table__th--team { text-align: left; }

.class-table__row {
  transition: background 0.2s;
}

.class-table__row:hover {
  background: rgba(201, 168, 76, 0.04);
}

.class-table__row--ark {
  background: rgba(201, 168, 76, 0.08);
  font-weight: 600;
}

.class-table__row--ark:hover {
  background: rgba(201, 168, 76, 0.12);
}

.class-table__td {
  padding: 0.8rem 1rem;
  text-align: center;
  border-bottom: 1px solid var(--black-border);
}

.class-table__td--team {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.class-table__logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 4px;
}

.class-table__team-name {
  font-weight: 600;
}

.class-table__rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 700;
  font-size: 0.85rem;
  background: var(--black-card);
  border: 1px solid var(--black-border);
}

.class-table__rank--gold {
  background: rgba(201, 168, 76, 0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.class-table__rank--silver {
  background: rgba(192, 192, 192, 0.1);
  border-color: #c0c0c0;
  color: #c0c0c0;
}

.class-table__rank--bronze {
  background: rgba(205, 127, 50, 0.1);
  border-color: #cd7f32;
  color: #cd7f32;
}

.class-table__td--win { color: var(--green, #4ade80); }
.class-table__td--loss { color: var(--red, #f87171); }
.class-table__td--pts { font-weight: 700; color: var(--gold); font-size: 1.05rem; }
.class-table__td--pos { color: var(--green, #4ade80); }
.class-table__td--neg { color: var(--red, #f87171); }

.class-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-dim);
  font-size: 1.05rem;
}

/* History cards */
.class-history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.class-history-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.class-history-card__season {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.class-history-card__result {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0.4rem 0 0.3rem;
}

.class-history-card__detail {
  font-size: 0.85rem;
  color: var(--text-dim);
}

@media (max-width: 767px) {
  .class-table__th--maps,
  .class-table__th--diff,
  .class-table__td--maps,
  .class-table__td--diff { display: none; }
  .class-table__th,
  .class-table__td { padding: 0.6rem 0.5rem; font-size: 0.85rem; }
}

/* ============================================================
   PAGE BOUTIQUE — Merch vitrine
   ============================================================ */
.shop-coming {
  text-align: center;
  padding: 4rem 1rem;
}

.shop-coming__icon {
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.shop-coming__title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.shop-coming__text {
  color: var(--text-dim);
  max-width: 480px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.shop-coming__contact {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.shop-coming__contact a {
  color: var(--gold);
  text-decoration: underline;
}

.shop-notice {
  background: rgba(201, 168, 76, 0.08);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.shop-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.shop-card:hover {
  transform: translateY(-3px);
  border-color: var(--gold-dim);
}

.shop-card__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--black-bg);
  overflow: hidden;
}

.shop-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.shop-card:hover .shop-card__img {
  transform: scale(1.04);
}

.shop-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-dim);
  opacity: 0.3;
}

.shop-card__placeholder svg { width: 48px; height: 48px; }

.shop-card__badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: var(--gold);
  color: var(--black-bg);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.shop-card__body {
  padding: 1.25rem;
}

.shop-card__name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.shop-card__desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  line-height: 1.5;
  margin-bottom: 1rem;
}

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

.shop-card__price {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--gold);
}

.shop-card__soon {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dim);
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
}

/* ============================================================
   PAGE FAQ — Accordion style
   ============================================================ */
.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold-dim);
}

.faq-category__items {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.faq-item {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: var(--gold-dim);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  list-style: none;
  transition: color 0.2s;
}

.faq-item__question::-webkit-details-marker {
  display: none;
}

.faq-item__question::marker {
  content: '';
}

.faq-item__question:hover {
  color: var(--gold);
}

.faq-item__chevron {
  flex-shrink: 0;
  transition: transform 0.3s;
  color: var(--gold);
}

.faq-item[open] .faq-item__chevron {
  transform: rotate(180deg);
}

.faq-item__answer {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.7;
}

.faq-item__answer p {
  margin: 0;
}

@media (max-width: 767px) {
  .faq-item__question {
    font-size: 0.9rem;
    padding: 0.85rem 1rem;
  }
  .faq-item__answer {
    padding: 0 1rem 1rem;
    font-size: 0.85rem;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { transition: none; opacity: 1; transform: none; }
  .hero__gold-line { animation: none; }
  .player-card__photo { transition: none; }
  .section__title::after { transition: none; }
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
