/*
 * Good Luck VB — main.css
 * Design "Press Sport Noir" v2.1
 * Toutes les classes HTML correspondent aux templates front-page.php / header.php / footer.php
 *
 * 01. Custom properties & reset
 * 02. Typographie
 * 03. Layout
 * 04. Composants communs (btn, badges, section-header)
 * 05. Header / Navigation
 * 06. Hero
 * 07. Section Club
 * 08. Section Calendrier / Matchs
 * 09. Section Blog / Actualités
 * 10. Section Inscription
 * 11. Section Boutique
 * 12. Footer
 * 13. Pages intérieures (single, archive, 404)
 * 14. Animations fade-in
 * 15. Responsive
 * 16. Accessibilité
 *
 * @author Web & K
 */

/* ═══════════════════════════════════════════════════════
   01. CUSTOM PROPERTIES & RESET
   ═══════════════════════════════════════════════════════ */
:root {
  --gl-accent:   #E8C840;
  --gl-accent-r: 232;
  --gl-accent-g: 200;
  --gl-accent-b: 64;

  --bg-deep:     #080808;
  --bg-card:     #0f0f0f;
  --bg-elevated: #161616;
  --glass:       rgba(255,255,255,0.03);
  --glass-bd:    rgba(255,255,255,0.08);

  --text-1:      #f0f0f0;
  --text-2:      #888888;
  --text-3:      #444444;

  --accent-glow: rgba(var(--gl-accent-r),var(--gl-accent-g),var(--gl-accent-b),0.15);
  --accent-line: rgba(var(--gl-accent-r),var(--gl-accent-g),var(--gl-accent-b),0.4);

  --live-color:  #ff4444;
  --win-color:   #44cc88;
  --loss-color:  #cc5544;

  --font-display: 'Syne', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --header-h:     72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--text-1);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; height: auto; }
a    { color: inherit; text-decoration: none; }
ul   { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ═══════════════════════════════════════════════════════
   02. TYPOGRAPHIE
   ═══════════════════════════════════════════════════════ */
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; }

/* ═══════════════════════════════════════════════════════
   03. LAYOUT
   ═══════════════════════════════════════════════════════ */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

.page-section {
  padding: 80px 0;
  border-top: 1px solid var(--glass-bd);
}

/* ═══════════════════════════════════════════════════════
   04. COMPOSANTS COMMUNS
   ═══════════════════════════════════════════════════════ */

/* Boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn--primary { background: var(--gl-accent); color: #000; }
.btn--primary:hover { background: #fff; }
.btn--ghost   { background: transparent; color: var(--text-2); border: 1px solid var(--glass-bd); }
.btn--ghost:hover { color: var(--text-1); border-color: rgba(255,255,255,0.2); }

/* Boutons ancienne syntaxe v1 (compatibilité) */
.btn-primary { background: var(--gl-accent); color: #000; display: inline-flex; align-items: center; padding: 12px 24px; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: background 0.2s; }
.btn-primary:hover { background: #fff; }
.btn-outline { background: transparent; color: var(--text-2); border: 1px solid var(--glass-bd); display: inline-flex; align-items: center; padding: 12px 24px; font-family: var(--font-body); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.2s; }
.btn-outline:hover { color: var(--text-1); }

/* En-têtes de section */
.section-header-block { text-align: center; margin-bottom: 48px; }
.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gl-accent);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-1);
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-2);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-empty {
  color: var(--text-3);
  text-align: center;
  padding: 40px 0;
  font-size: 0.9375rem;
}

/* Tags news */
.news-card__tag {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gl-accent);
  margin-bottom: 10px;
}

/* ═══════════════════════════════════════════════════════
   05. HEADER / NAVIGATION
   ═══════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-bd);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gl-accent);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  color: #000;
  flex-shrink: 0;
  transition: background 0.2s;
}
.logo:hover .logo-icon { background: #fff; }
.logo-text {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
}
.logo-text span { color: var(--gl-accent); }
/* Logo custom image */
.logo img { height: 48px; width: auto; }
.custom-logo-link { display: flex; align-items: center; }
.custom-logo-link img { height: 48px; width: auto; }

/* Nav principale */
.main-navigation { display: flex; align-items: center; flex: 1; justify-content: center; }
.main-navigation ul { display: flex; align-items: center; gap: 28px; list-style: none; }
.main-navigation ul li a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.main-navigation ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gl-accent);
  transition: width 0.2s;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--text-1); }
.main-navigation ul li a:hover::after,
.main-navigation ul li.current-menu-item > a::after { width: 100%; }
.main-navigation ul li.current-menu-item > a { color: var(--gl-accent); }

/* CTA dans nav */
.nav-cta-list { margin-left: 12px; }
.nav-cta-wrap a {
  background: transparent;
  color: var(--gl-accent);
  padding: 8px 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.2s;
  border: 1px solid var(--gl-accent);
}
.nav-cta-wrap a:hover {
  background: var(--gl-accent);
  color: #000;
}

/* Burger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px; padding: 4px;
  background: none; border: none; cursor: pointer;
}
.menu-toggle span {
  display: block; height: 1.5px;
  background: var(--text-1);
  transition: all 0.3s;
}

/* Menu mobile */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-h); left: 0; right: 0; bottom: 0;
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(20px);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
}
.mobile-menu.open { display: flex; }
.mobile-menu li { list-style: none; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--gl-accent); }

/* ═══════════════════════════════════════════════════════
   06. HERO
   ═══════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: clamp(420px,55vh,580px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(var(--gl-accent-r),var(--gl-accent-g),var(--gl-accent-b),0.04) 1px,transparent 1px),
    linear-gradient(90deg,rgba(var(--gl-accent-r),var(--gl-accent-g),var(--gl-accent-b),0.04) 1px,transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero__radial-bg {
  position: absolute; top: -120px; right: -120px;
  width: 520px; height: 520px;
  background: radial-gradient(ellipse,rgba(var(--gl-accent-r),var(--gl-accent-g),var(--gl-accent-b),0.06) 0%,transparent 70%);
  pointer-events: none;
}
.hero__bg-image {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.08; pointer-events: none;
}
.hero__content {
  position: relative; z-index: 2;
  padding: 56px 32px 56px 40px;
  display: flex; flex-direction: column; justify-content: center; gap: 20px;
}
.hero__eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gl-accent);
}
.hero__eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--gl-accent); flex-shrink: 0;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 4.25rem);
  font-weight: 800; line-height: 1.0;
  color: var(--text-1);
  white-space: nowrap;
}
.hero__title em { font-style: normal; color: var(--gl-accent); display: block; }
.hero__desc { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; max-width: 380px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero__scroll-indicator {
  position: absolute; bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem; color: var(--text-3);
  letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 2;
}

/* Stats glass */
.hero__stats {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px;
  gap: 12px;
}
.stats-tabs {
  display: flex; gap: 2px;
  max-width: 340px; width: 100%;
}
.stats-tab {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 8px;
  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--glass-bd);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  text-align: center;
}
.stats-tab:hover { color: var(--text-2); border-color: rgba(255,255,255,0.15); }
.stats-tab.active {
  color: var(--gl-accent);
  border-color: var(--accent-line);
  background: var(--accent-glow);
}
.stats-glass {
  background: var(--glass);
  border: 1px solid var(--glass-bd);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 1px; background-color: var(--glass-bd);
  width: 100%; max-width: 340px;
}
.stat-cell {
  background: var(--bg-card);
  padding: 20px 24px;
  display: flex; flex-direction: column; gap: 4px;
  transition: background 0.2s;
}
.stat-cell:hover { background: var(--bg-elevated); }
.stat-cell__value {
  font-family: var(--font-display);
  font-size: clamp(2rem,3vw,2.5rem); font-weight: 800;
  color: var(--gl-accent); line-height: 1;
  transition: opacity 0.2s;
}
.stat-cell__label {
  font-size: 0.6875rem; color: var(--text-2);
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ═══════════════════════════════════════════════════════
   07. SECTION CLUB
   ═══════════════════════════════════════════════════════ */
.section-club { background: var(--bg-card); }

.club-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.club-image { position: relative; }
.club-image img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.club-image-placeholder {
  width: 100%; aspect-ratio: 4/3;
  background: var(--bg-elevated);
  display: flex; align-items: center; justify-content: center;
}

/* Carrousel 3D axe X */
.club-carousel {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.club-carousel__scene {
  width: 300px;
  height: 420px;
  perspective: 1000px;
  overflow: visible;
}
.club-carousel__ring {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
}
.club-carousel__item {
  position: absolute;
  width: 280px;
  height: 180px;
  left: 50%;
  top: 50%;
  margin-left: -140px;
  margin-top: -90px;
  backface-visibility: hidden;
  border: 2px solid rgba(var(--gl-accent-r),var(--gl-accent-g),var(--gl-accent-b),0.2);
  overflow: hidden;
  transition: opacity 0.5s;
}
.club-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.club-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.club-carousel__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-3);
  transition: background 0.3s;
}
.club-carousel__dot.active {
  background: var(--gl-accent);
}
.club-description {
  font-size: 0.9375rem; color: var(--text-2); line-height: 1.8;
  margin-bottom: 24px;
}
.club-description strong { color: var(--text-1); font-weight: 600; }

.club-values { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.value-tag {
  background: var(--accent-glow);
  color: var(--gl-accent);
  border: 1px solid var(--accent-line);
  padding: 6px 14px;
  font-size: 0.8125rem; font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.value-tag__icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gl-accent);
}
.value-tag__icon svg {
  width: 100%;
  height: 100%;
}

.club-stats { display: flex; gap: 1px; background: var(--glass-bd); }
.stat-card {
  background: var(--bg-deep); flex: 1;
  padding: 20px; display: flex; flex-direction: column; gap: 4px;
}
.stat-card__number {
  font-family: var(--font-display); font-size: 1.75rem; font-weight: 800;
  color: var(--gl-accent);
}
.stat-card__label { font-size: 0.6875rem; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.06em; }

/* ═══════════════════════════════════════════════════════
   08. SECTION CALENDRIER / MATCHS — Concept A Scoreboard
   ═══════════════════════════════════════════════════════ */

/* ── Contrôles : filtres + mois ── */
.cal-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.cal-filters, .cal-months, .cal-categories {
  display: flex;
  gap: 2px;
}
.cal-filter, .cal-month, .cal-cat {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 16px;
  color: var(--text-3);
  background: transparent;
  border: 1px solid var(--glass-bd);
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.cal-filter:hover, .cal-month:hover, .cal-cat:hover {
  color: var(--text-2);
  border-color: rgba(255,255,255,0.15);
}
.cal-filter.active {
  background: var(--gl-accent);
  color: #000;
  border-color: var(--gl-accent);
}
.cal-month.active {
  color: var(--gl-accent);
  border-color: var(--accent-line);
  background: var(--accent-glow);
}
.cal-cat.active {
  color: var(--gl-accent);
  border-color: var(--accent-line);
  background: var(--accent-glow);
}
.cal-categories {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cal-categories::-webkit-scrollbar { display: none; }
.cal-months {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.cal-months::-webkit-scrollbar { display: none; }

/* ── Cards scoreboard ── */
.cal-cards {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cal-card {
  display: grid;
  grid-template-columns: 1fr 180px 1fr;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  transition: background 0.2s, transform 0.15s;
}
.cal-card:hover {
  background: var(--bg-elevated);
}

/* Barre de statut en haut */
.cal-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--text-3);
}
.cal-card--victoire::before { background: var(--win-color); }
.cal-card--defaite::before  { background: var(--loss-color); }
.cal-card--a_venir::before  { background: var(--gl-accent); }
.cal-card--nul::before      { background: var(--text-2); }

/* Colonnes équipes */
.cal-card__team {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.cal-card__team--right {
  text-align: right;
  align-items: flex-end;
}
.cal-card__team-name {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
}
.cal-card__team-name--hl {
  color: var(--gl-accent);
}
.cal-card__team-role {
  font-size: 0.625rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Colonne centrale */
.cal-card__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 16px;
  gap: 5px;
  border-left: 1px solid var(--glass-bd);
  border-right: 1px solid var(--glass-bd);
  text-align: center;
}
.cal-card__date {
  font-size: 0.625rem;
  color: var(--text-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cal-card__score {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  letter-spacing: 6px;
  color: var(--text-1);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.cal-card__time {
  font-family: var(--font-display);
  font-size: 1.625rem;
  font-weight: 800;
  color: var(--gl-accent);
  line-height: 1;
  letter-spacing: 2px;
}
.cal-card__sets {
  font-size: 0.625rem;
  color: var(--text-3);
  letter-spacing: 0.5px;
  max-width: 160px;
  line-height: 1.4;
}

/* Footer card : lieu + live */
.cal-card__footer {
  grid-column: 1 / -1;
  border-top: 1px solid var(--glass-bd);
  padding: 10px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.6875rem;
  color: var(--text-3);
}
.cal-card__lieu {
  display: flex;
  align-items: center;
  gap: 6px;
}
.cal-card__lieu svg {
  width: 12px;
  height: 12px;
  opacity: 0.5;
  flex-shrink: 0;
}

/* Badges statut (repris, même classes) */
.match-badge {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
}
.match-badge--status-win      { background: rgba(68,204,136,0.1);  color: var(--win-color); }
.match-badge--status-loss     { background: rgba(204,85,68,0.1);   color: var(--loss-color); }
.match-badge--status-upcoming { background: var(--accent-glow);    color: var(--gl-accent); }

/* Boutons Live (intégration plugin GLL — inchangé) */
.match-live-btn {
  font-size: 0.6875rem; font-weight: 600;
  letter-spacing: 0.06em; padding: 6px 12px;
  transition: all 0.2s;
}
.match-live-disabled { color: var(--text-3); cursor: default; }
.match-live-active   { background: rgba(255,68,68,0.15); color: var(--live-color); }
.match-live-active:hover { background: rgba(255,68,68,0.25); }
.match-live-planned  { background: var(--accent-glow); color: var(--gl-accent); }
.match-live-replay   { background: var(--accent-glow); color: var(--gl-accent); }
.match-live-replay:hover { background: rgba(var(--gl-accent-r),var(--gl-accent-g),var(--gl-accent-b),0.25); }

/* Voir plus */
.cal-voir-plus {
  text-align: center;
  margin-top: 24px;
}
.cal-voir-plus .btn svg {
  margin-left: 6px;
}

/* Message aucun résultat filtre */
.cal-no-results {
  text-align: center;
  color: var(--text-3);
  padding: 40px 0;
  font-size: 0.9375rem;
  display: none;
}

/* ═══════════════════════════════════════════════════════
   09. SECTION BLOG / ACTUALITÉS
   ═══════════════════════════════════════════════════════ */
/* Blog Magazine Layout */
.blog-magazine {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  background: var(--glass-bd);
}
.blog-magazine--single {
  grid-template-columns: 1fr;
}
.blog-magazine--single .blog-feat__img { aspect-ratio: 21/9; }

/* Article principal (featured) */
.blog-feat {
  background: var(--bg-card);
  transition: background 0.2s;
  display: flex;
  flex-direction: column;
}
.blog-feat:hover { background: var(--bg-elevated); }
.blog-feat__img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-elevated);
}
.blog-feat__img--empty { background: var(--bg-elevated); }
.blog-feat__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s;
}
.blog-feat:hover .blog-feat__img img { transform: scale(1.03); }
.blog-feat__body { padding: 28px 28px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-feat__tag {
  font-size: 0.625rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gl-accent); margin-bottom: 10px; display: inline-block;
}
.blog-feat__title {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  color: var(--text-1); line-height: 1.3; margin-bottom: 10px;
}
.blog-feat__title a { color: inherit; transition: color 0.2s; }
.blog-feat__title a:hover { color: var(--gl-accent); }
.blog-feat__excerpt {
  font-size: 0.8125rem; color: var(--text-2);
  line-height: 1.7; margin-bottom: 16px; flex: 1;
}
.blog-feat__meta {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.6875rem; color: var(--text-3);
}
.blog-feat__meta-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--text-3);
}
.blog-feat__read {
  color: var(--gl-accent); font-weight: 600;
  letter-spacing: 0.04em; margin-left: auto;
  transition: opacity 0.2s;
}
.blog-feat__read:hover { opacity: 0.7; }

/* Articles secondaires (sidebar) */
.blog-side {
  display: flex; flex-direction: column;
  gap: 1px; background: var(--glass-bd);
  min-height: 0;
  overflow: hidden;
}
.blog-sm {
  background: var(--bg-card);
  display: grid;
  grid-template-columns: 130px minmax(0,1fr);
  grid-template-rows: 1fr;
  gap: 0;
  transition: background 0.2s;
  flex: 1;
  min-height: 0;
}
.blog-sm:hover { background: var(--bg-elevated); }
.blog-sm__img {
  display: block;
  background: var(--bg-elevated);
  overflow: hidden;
  min-height: 0;
}
.blog-sm__img--empty { background: var(--bg-elevated); }
.blog-sm__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s;
}
.blog-sm:hover .blog-sm__img img { transform: scale(1.05); }
.blog-sm__body {
  padding: 14px 18px;
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
}
.blog-sm__tag {
  font-size: 0.5625rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gl-accent);
}
.blog-sm__title {
  font-family: var(--font-display);
  font-size: 0.8125rem; font-weight: 700;
  color: var(--text-1); line-height: 1.3;
}
.blog-sm__title a { color: inherit; transition: color 0.2s; }
.blog-sm__title a:hover { color: var(--gl-accent); }
.blog-sm__meta {
  display: flex; align-items: center;
  justify-content: space-between;
  font-size: 0.625rem; color: var(--text-3);
}
.blog-sm__read {
  color: var(--gl-accent); font-weight: 600;
  font-size: 0.625rem; letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.blog-sm__read:hover { opacity: 0.7; }

/* Bouton voir toutes les actus */
.blog-all-btn {
  text-align: center;
  margin-top: 32px;
}
.blog-all-btn .btn svg {
  margin-left: 8px;
}

/* Blog page listing — Cards Grid (index.php / archive.php) */
.section-blog-page { padding-top: 140px; }

.blog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: var(--glass-bd);
}

.blog-card-v2 {
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  transition: background 0.2s;
}
.blog-card-v2:hover { background: var(--bg-elevated); }

.blog-card-v2__img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-elevated);
}
.blog-card-v2__img--empty { background: var(--bg-elevated); }
.blog-card-v2__img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s;
}
.blog-card-v2:hover .blog-card-v2__img img { transform: scale(1.03); }

.blog-card-v2__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card-v2__tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gl-accent);
  margin-bottom: 8px;
  display: inline-block;
}
.blog-card-v2__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
  margin-bottom: 10px;
}
.blog-card-v2__title a { color: inherit; transition: color 0.2s; }
.blog-card-v2__title a:hover { color: var(--gl-accent); }
.blog-card-v2__excerpt {
  font-size: 0.8125rem;
  color: var(--text-2);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}
.blog-card-v2__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.6875rem;
  color: var(--text-3);
  padding-top: 16px;
  border-top: 1px solid var(--glass-bd);
}
.blog-card-v2__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-3);
}
.blog-card-v2__read {
  color: var(--gl-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: auto;
  transition: opacity 0.2s;
}
.blog-card-v2__read:hover { opacity: 0.7; }

/* Pagination blog */
.blog-pagination {
  padding: 40px 0 0;
  text-align: center;
}
.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border: 1px solid var(--glass-bd);
  color: var(--text-2);
  font-size: 0.8125rem;
  font-weight: 500;
  transition: all 0.2s;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--gl-accent);
  color: #000;
  border-color: var(--gl-accent);
}
.blog-pagination .page-numbers svg {
  width: 14px; height: 14px;
}

/* ═══════════════════════════════════════════════════════
   09b. SECTION TARIFS
   ═══════════════════════════════════════════════════════ */
.section-tarifs { background: var(--bg-card); }

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--glass-bd);
}

.tarif-card {
  background: var(--bg-deep);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background 0.2s;
}
.tarif-card:hover { background: var(--bg-elevated); }

.tarif-card--highlight {
  background: var(--bg-elevated);
  border-top: 2px solid var(--gl-accent);
}

.tarif-card__badge {
  position: absolute;
  top: -1px; right: 24px;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #000;
  background: var(--gl-accent);
  padding: 4px 12px;
}

.tarif-card__name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 16px;
  line-height: 1.3;
}

.tarif-card__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--glass-bd);
}
.tarif-card__amount {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--gl-accent);
  line-height: 1;
}
.tarif-card__currency {
  font-size: 0.75rem;
  color: var(--text-3);
}

.tarif-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.tarif-card__features li {
  font-size: 0.8125rem;
  color: var(--text-2);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}
.tarif-card__features li svg {
  width: 14px; height: 14px;
  color: var(--gl-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.tarif-card__cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}

.tarifs-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 24px;
}

/* ═══════════════════════════════════════════════════════
   10. SECTION INSCRIPTION
   ═══════════════════════════════════════════════════════ */
.section-inscription { background: var(--bg-card); }

.form-wrapper { max-width: 720px; margin: 0 auto; }

.form-message {
  padding: 14px 20px; margin-bottom: 24px;
  font-size: 0.875rem; font-weight: 500;
}
.form-message--success { background: rgba(68,204,136,0.1); color: var(--win-color); border-left: 3px solid var(--win-color); }
.form-message--error   { background: rgba(204,85,68,0.1);  color: var(--loss-color); border-left: 3px solid var(--loss-color); }

.inscription-form .form-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group--full { grid-column: 1 / -1; }
.form-group label { font-size: 0.8125rem; font-weight: 500; color: var(--text-2); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--glass-bd);
  color: var(--text-1);
  font-family: var(--font-body); font-size: 0.9375rem;
  padding: 10px 14px;
  transition: border-color 0.2s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--gl-accent); outline-offset: -2px;
  border-color: transparent;
}
.form-group select { appearance: none; cursor: pointer; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group select option { background: var(--bg-elevated); }

.form-submit { margin-top: 24px; text-align: center; }

/* ═══════════════════════════════════════════════════════
   11. SECTION BOUTIQUE
   ═══════════════════════════════════════════════════════ */
/* WooCommerce shortcode products */
.section-boutique .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 1px; background: var(--glass-bd);
  list-style: none; padding: 0; margin: 0 !important;
}
.section-boutique .products li.product {
  background: var(--bg-card); padding: 0;
  transition: background 0.2s;
}
.section-boutique .products li.product:hover { background: var(--bg-elevated); }
.section-boutique .products li.product a img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform 0.4s;
}
.section-boutique .products li.product:hover img { transform: scale(1.03); }
.section-boutique .products li.product .woocommerce-loop-product__title {
  font-family: var(--font-body); font-size: 0.9375rem;
  color: var(--text-1); padding: 16px 16px 4px;
}
.section-boutique .products .price {
  font-family: var(--font-display); color: var(--gl-accent);
  font-weight: 700; padding: 0 16px 12px;
}
.section-boutique .products .button {
  display: block; margin: 0 16px 16px;
  background: var(--gl-accent); color: #000;
  font-family: var(--font-body); font-size: 0.6875rem;
  font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  text-align: center; padding: 9px; transition: background 0.2s;
}
.section-boutique .products .button:hover { background: #fff; }

/* ═══════════════════════════════════════════════════════
   12. FOOTER
   ═══════════════════════════════════════════════════════ */
.site-footer { border-top: 1px solid var(--glass-bd); background: var(--bg-card); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px; margin: 0 auto;
  padding: 56px 32px 40px;
}

.footer-brand p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; margin-top: 16px; }

.footer-social { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.social-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--glass-bd);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.625rem; font-weight: 700; color: var(--text-3);
  text-transform: uppercase; transition: all 0.2s;
}
.social-icon:hover { border-color: var(--gl-accent); color: var(--gl-accent); }

.footer-col h4 {
  font-family: var(--font-body); font-size: 0.6875rem;
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gl-accent); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a,
.footer-col ul li span {
  font-size: 0.8125rem; color: var(--text-2); transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--text-1); }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
  max-width: 1280px; margin: 0 auto;
  padding: 18px 32px;
  border-top: 1px solid var(--glass-bd);
  font-size: 0.6875rem; color: var(--text-3);
}

/* ═══════════════════════════════════════════════════════
   13. PAGES INTÉRIEURES — Single Article Editorial
   ═══════════════════════════════════════════════════════ */
.site-main--single,
.site-main--page { max-width: 860px; margin: 0 auto; padding: 40px 32px; }

/* Hero image plein largeur */
.single-article__hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}
.single-article__hero img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  object-position: center 20%;
}
.single-article__hero-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(transparent, var(--bg-deep));
  pointer-events: none;
}

/* Wrapper contenu centré */
.single-article__wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px 56px;
}

/* Titre overlap sur le hero */
.single-article__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-1);
  margin-top: -48px;
  position: relative;
  z-index: 2;
}

/* Barre méta structurée */
.single-article__meta-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-bottom: 1px solid var(--glass-bd);
  margin-bottom: 36px;
}
.single-article__tag {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  background: var(--gl-accent);
  padding: 3px 10px;
}
.single-article__date,
.single-article__author {
  font-size: 0.75rem;
  color: var(--text-2);
}
.single-article__dot {
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--text-3);
}
.single-article__reading {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-left: auto;
}

/* Contenu éditorial amélioré */
.entry-content { font-size: 1rem; line-height: 1.8; color: var(--text-2); }
.entry-content h2,.entry-content h3,.entry-content h4 { color: var(--text-1); margin: 2rem 0 0.75rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content a { color: var(--gl-accent); text-decoration: underline; text-underline-offset: 3px; }
.entry-content ul,.entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.5rem; }
.entry-content img { max-width: 100%; height: auto; margin: 2rem 0; display: block; }
.entry-content figcaption { font-size: 0.8125rem; color: var(--text-3); margin-top: 8px; text-align: center; }

/* Editorial : drop cap + h2 accent + blockquote */
.entry-content--editorial > p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 800;
  float: left;
  line-height: 0.85;
  margin: 6px 14px 0 0;
  color: var(--gl-accent);
}
.entry-content--editorial h2 {
  padding-left: 16px;
  border-left: 3px solid var(--gl-accent);
  border-radius: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
.entry-content--editorial h3 {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
}
.entry-content blockquote {
  border-left: 3px solid var(--gl-accent);
  padding: 20px 24px;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-1);
  background: rgba(var(--gl-accent-r),var(--gl-accent-g),var(--gl-accent-b),0.04);
  border-radius: 0;
}

/* Tags en bas d'article */
.single-article__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-bd);
}
.single-article__tag-link {
  font-size: 0.6875rem;
  color: var(--text-3);
  padding: 4px 12px;
  border: 1px solid var(--glass-bd);
  transition: all 0.2s;
  text-decoration: none;
}
.single-article__tag-link:hover {
  border-color: var(--gl-accent);
  color: var(--gl-accent);
}

/* Navigation article précédent/suivant */
.single-article__nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-bd);
}
.single-article__nav-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.single-article__nav-next { text-align: right; align-items: flex-end; }
.single-article__nav-label {
  font-size: 0.6875rem;
  color: var(--text-3);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 4px;
}
.single-article__nav-next .single-article__nav-label { justify-content: flex-end; }
.single-article__nav-title {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
  transition: color 0.2s;
  text-decoration: none;
  line-height: 1.4;
}
.single-article__nav-title:hover { color: var(--gl-accent); }
.single-article__nav-center {
  display: flex;
  align-items: center;
}

/* Archive */
.archive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
  gap: 1px; background: var(--glass-bd);
}
.archive-pagination { padding: 24px 32px; }
.archive-pagination .nav-links { display: flex; gap: 4px; flex-wrap: wrap; }
.archive-pagination .page-numbers {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--glass-bd); color: var(--text-2); font-size: 0.8125rem;
  transition: all 0.2s;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover { background: var(--gl-accent); color: #000; border-color: var(--gl-accent); }

/* 404 */
.error-404 { text-align: center; padding: 80px 32px; }
.error-404__code { font-family: var(--font-display); font-size: clamp(6rem,15vw,10rem); font-weight: 800; color: var(--glass-bd); display: block; }
.error-404__title { font-size: clamp(1.5rem,3vw,2rem); margin-bottom: 16px; }
.error-404__text { font-size: 0.9375rem; color: var(--text-2); margin-bottom: 32px; }

/* ═══════════════════════════════════════════════════════
   14. ANIMATIONS FADE-IN
   ═══════════════════════════════════════════════════════ */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════════════════
   15. RESPONSIVE
   ═══════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero__stats { padding: 24px 32px; }
  .stats-glass { max-width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .club-grid { grid-template-columns: 1fr; gap: 32px; }
  .club-carousel__scene { width: 260px; height: 360px; }
  .club-carousel__item { width: 240px; height: 155px; margin-left: -120px; margin-top: -77px; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .nav-inner { padding: 0 20px; }
  .main-navigation { display: none; }
  .menu-toggle { display: flex; }
  .section-container { padding: 0 20px; }
  .page-section { padding: 56px 0; }
  .hero__content { padding: 40px 20px; }
  .hero__actions { flex-direction: column; }
  .inscription-form .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; padding: 40px 20px; }
  .footer-bottom { padding: 16px 20px; }
  .match-card { flex-direction: column; align-items: flex-start; gap: 12px; }
  /* Cal-card scoreboard responsive */
  .cal-controls { flex-direction: column; align-items: stretch; }
  .cal-filters { width: 100%; }
  .cal-filter { flex: 1; text-align: center; }
  .cal-card {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
  }
  .cal-card__team { padding: 16px 20px 8px; }
  .cal-card__team--left { order: 1; text-align: center; align-items: center; }
  .cal-card__team--right { order: 3; text-align: center; align-items: center; padding-top: 8px; padding-bottom: 16px; }
  .cal-card__center {
    order: 2;
    border-left: none;
    border-right: none;
    border-top: 1px solid var(--glass-bd);
    border-bottom: 1px solid var(--glass-bd);
    padding: 16px;
  }
  .cal-card__footer { order: 4; padding: 10px 20px; flex-wrap: wrap; gap: 8px; }
  .blog-magazine { grid-template-columns: 1fr; }
  .blog-sm { grid-template-columns: 90px minmax(0,1fr); }
  .blog-cards-grid { grid-template-columns: 1fr; }
  .section-blog-page { padding-top: 100px; }
  .site-main--single, .site-main--page { padding: 32px 20px; }
  .single-article__wrap { padding: 0 20px 40px; }
  .single-article__title { font-size: 1.5rem; margin-top: -32px; }
  .single-article__hero { aspect-ratio: 16/9; }
  .single-article__nav { grid-template-columns: 1fr; gap: 16px; }
  .single-article__nav-next { text-align: left; align-items: flex-start; }
  .single-article__nav-next .single-article__nav-label { justify-content: flex-start; }
  .single-article__nav-center { order: -1; }
  .single-article__meta-bar { gap: 8px; }
  .single-article__reading { margin-left: 0; }
}

@media (max-width: 480px) {
  .stats-glass { grid-template-columns: 1fr 1fr; }
  .club-stats { flex-direction: column; }
  .hero__title { font-size: clamp(1.5rem, 8vw, 2.25rem); white-space: normal; }
}

/* ═══════════════════════════════════════════════════════
   16. ACCESSIBILITÉ
   ═══════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .fade-in { opacity: 1; transform: none; }
}
:focus-visible { outline: 2px solid var(--gl-accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


/* ═══════════════════════════════════════════════════════
   17. SECTION PARTENAIRES — Bandeau de presse (v2.3.0)
   Boucle CSS : piste = 2 copies, translateX 0 → -50 %.
   Réglages visuels pilotés par custom properties.
   ═══════════════════════════════════════════════════════ */
.section-sponsors { overflow: hidden; }
.section-sponsors .section-header-block { margin-bottom: 40px; }

.sponsors-marquee {
  --sponsors-item-h: 110px;
  --sponsors-logo-h: 44px;
  --sponsors-logo-w: 180px;
  --sponsors-pad:    48px;
  --sponsors-fade:   10%;
  --sponsors-sep:    6px;
  position: relative;
  overflow: clip;              /* empêche le scroll programmatique au focus */
  background: var(--bg-card);
  border-top: 1px solid var(--glass-bd);
  border-bottom: 1px solid var(--glass-bd);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--sponsors-fade), #000 calc(100% - var(--sponsors-fade)), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 var(--sponsors-fade), #000 calc(100% - var(--sponsors-fade)), transparent);
}

.sponsors-marquee__track {
  position: relative;          /* référence offsetLeft pour le JS clavier */
  display: flex;
  width: max-content;
  animation: sponsorsScroll var(--sponsors-duration, 40s) linear infinite;
  will-change: transform;
}
.sponsors-marquee:hover .sponsors-marquee__track { animation-play-state: paused; }
.sponsors-marquee:focus-within .sponsors-marquee__track {
  animation: none;
  transform: translateX(var(--sponsors-focus-x, 0px));
  transition: transform .4s ease;
}
@keyframes sponsorsScroll { to { transform: translateX(-50%); } }

.sponsors-marquee__set {
  display: flex;
  align-items: center;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sponsors__item {
  display: flex;
  align-items: center;
  height: var(--sponsors-item-h);
}
.sponsors__item::after {       /* losange séparateur — présent après CHAQUE item : boucle régulière */
  content: "";
  flex: none;
  width: var(--sponsors-sep);
  height: var(--sponsors-sep);
  background: var(--gl-accent);
  transform: rotate(45deg);
}

.sponsors__link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--sponsors-logo-h);
  margin: 0 var(--sponsors-pad);   /* marge (pas padding) : contour de focus serré sur le logo */
  opacity: .5;
  filter: grayscale(1) brightness(1.6);
  transition: opacity .3s ease, filter .3s ease, transform .3s ease;
}
a.sponsors__link:hover,
a.sponsors__link:focus-visible {
  opacity: 1;
  filter: none;
  transform: scale(1.06);
}
a.sponsors__link:focus-visible {
  outline: 1px solid var(--gl-accent);
  outline-offset: 8px;
}

.sponsors__img {
  display: block;
  width: auto;
  height: 100%;
  max-width: var(--sponsors-logo-w);
  object-fit: contain;
}
.sponsors__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text-1);
}

.sponsors-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px 24px;
  margin-top: 28px;
  padding: 0 16px;
  font-size: .8125rem;
  color: var(--text-2);
  text-align: center;
}
.sponsors-cta__link {
  color: var(--gl-accent);
  border-bottom: 1px solid var(--accent-line);
  transition: border-color .3s ease;
}
.sponsors-cta__link:hover,
.sponsors-cta__link:focus-visible { border-bottom-color: var(--gl-accent); }

@media (max-width: 768px) {
  .sponsors-marquee {
    --sponsors-item-h: 84px;
    --sponsors-logo-h: 32px;
    --sponsors-logo-w: 130px;
    --sponsors-pad:    28px;
    --sponsors-fade:   6%;
  }
}

/* Mouvement réduit : logos fixes, centrés, sans doublons */
@media (prefers-reduced-motion: reduce) {
  .sponsors-marquee { -webkit-mask-image: none; mask-image: none; }
  .sponsors-marquee__track { width: auto; animation: none; transform: none; }
  .sponsors-marquee__set { flex: 1; flex-wrap: wrap; justify-content: center; }
  .sponsors-marquee__set[aria-hidden="true"],
  .sponsors__item[aria-hidden="true"],
  .sponsors__item::after { display: none; }
}


/* ═══════════════════════════════════════════════════════
   18. SECTION INSTAGRAM — conteneur de flux (v2.4.0)
   Le flux vient d'une extension : on cadre, on n'impose pas.
   ═══════════════════════════════════════════════════════ */
.section-instagram .section-header-block { margin-bottom: 40px; }
.instagram-feed {
  max-width: 1100px;
  margin: 0 auto;
}
.instagram-feed img { border-radius: 2px; }
.instagram-feed a:focus-visible {
  outline: 1px solid var(--gl-accent);
  outline-offset: 3px;
}
.instagram-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}
.instagram-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.instagram-cta__btn:hover { color: var(--gl-accent); border-color: var(--accent-line); }
.instagram-cta__icon { flex: none; }
.instagram-cta__handle { color: var(--gl-accent); }
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════
   19. CORRECTIF MOBILE — rangées de filtres (v2.4.3)
   Un enfant flex/grid garde min-width:auto = largeur de son
   contenu : une rangée « défilante » n'y défile jamais et
   élargit toute la page. On borne donc chaque niveau :
   colonne de grille → conteneur → rangée.
   ═══════════════════════════════════════════════════════ */

/* Hero : colonnes bornées (1fr seul = minmax(auto,1fr) → déborde) */
.hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hero > * { min-width: 0; }

/* Rangées défilantes */
.cal-controls > *,
.cal-categories,
.cal-months,
.stats-tabs { min-width: 0; }
.cal-categories,
.cal-months { max-width: 100%; }

.stats-tabs {
  max-width: 340px;            /* aligné sur .stats-glass (desktop) */
  flex-wrap: wrap;             /* desktop : tous les onglets visibles */
}
.stats-tab { flex: 1 0 auto; white-space: nowrap; }

@media (max-width: 1024px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .stats-tabs { max-width: 100%; }  /* .stats-glass passe aussi à 100 % */
}

@media (max-width: 768px) {
  .stats-tabs {                /* mobile : une ligne qui défile */
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .stats-tabs::-webkit-scrollbar { display: none; }
  .cal-categories,
  .cal-months,
  .stats-tabs {
    scroll-snap-type: x proximity;
    /* Fondu à droite : signale qu'on peut faire défiler */
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
            mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent);
    padding-right: 32px;
  }
  .cal-cat, .cal-month, .stats-tab { scroll-snap-align: start; }
}
