/* ─── TOKENS & VARIABLES D'INTERFACES ─── */
:root {
  --black:       #080808;
  --black-mid:   #111111;
  --black-card:  #161616;
  --black-border:#222222;
  --red:         #C01C1C;
  --red-light:   #E0281E;
  --red-glow:    rgba(192, 28, 28, 0.2);
  --gold:        #C89A3A;
  --gold-light:  #E5B858;
  --gold-glow:   rgba(200, 154, 58, 0.15);
  --white:       #F5F3EE;
  --white-dim:   rgba(245, 243, 238, 0.7);
  --white-muted: rgba(245, 243, 238, 0.4);
  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --ease-out:     cubic-bezier(.22, .68, 0, 1.2);
  --ease-sharp:   cubic-bezier(.4, 0, .2, 1);
  --header-bg: rgba(8, 8, 8, 0.9);
  --header-bg-scrolled: rgba(8, 8, 8, 0.98);
  --header-shadow-scrolled: 0 4px 20px rgba(0, 0, 0, 0.8);
  --cta-bg: linear-gradient(135deg, var(--red) 0%, #801010 100%);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-soft: 0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-elevated: 0 16px 48px rgba(0, 0, 0, 0.55);
  --space-section: clamp(72px, 10vw, 120px);
  --container-pad: clamp(20px, 4vw, 32px);
  --hero-media-opacity: 0.55;
  --hero-media-filter: grayscale(0.45) brightness(0.82) contrast(1.05);
  --hero-video-opacity: 0.9;
  --hero-video-filter-bw: grayscale(1) brightness(0.9) contrast(1.05);
  --hero-video-filter-color: brightness(0.9) contrast(1.05);
  --hero-video-filter: var(--hero-video-filter-bw);
}

/* Styles spécifiques pour l'équipe de coachs */
.coaches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}
.coach-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  position: relative;
  box-shadow: var(--shadow-soft);
}
.coach-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-elevated);
}
.coach-img-wrapper {
  position: relative;
  aspect-ratio: 399 / 600;
  width: 100%;
  overflow: hidden;
  background: var(--black-mid);
}
.coach-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease-sharp);
  filter: saturate(0.65) brightness(0.9);
}
.coach-card:hover .coach-img-wrapper img {
  transform: scale(1.04);
  filter: saturate(1) brightness(1);
}
.coach-card:has(.coach-flip):hover {
  transform: none;
  border-color: var(--gold);
  box-shadow: var(--shadow-elevated);
}
.coach-card--eric .coach-flip-photo {
  transform: scale(0.90 0.95);
  transform-origin: center 12%;
}
.coach-card--eric:hover .coach-flip-photo {
  transform: scale(1.1);
}
.coach-img-wrapper--flip {
  padding: 0;
  clip-path: inset(0 round var(--radius-md) var(--radius-md) 0 0);
  -webkit-clip-path: inset(0 round var(--radius-md) var(--radius-md) 0 0);
  isolation: isolate;
}
.coach-img-wrapper--flip .coach-flip {
  height: 100%;
}
.coach-img-wrapper--flip .coach-flip-inner {
  height: 100%;
  aspect-ratio: auto;
}
.coach-flip {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: left;
  perspective: 1000px;
  -webkit-perspective: 1000px;
}
.coach-flip:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}
.coach-flip-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 399 / 600;
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease-sharp);
}
.coach-flip.is-flipped .coach-flip-inner {
  transform: rotateY(180deg);
}
.coach-flip-front,
.coach-flip-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.coach-flip-front {
  background: var(--black-mid);
  overflow: hidden;
  transform: rotateY(0deg) translateZ(1px);
}
.coach-flip-back {
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  padding: 20px 18px;
  transform: rotateY(180deg) translateZ(1px);
  background: linear-gradient(160deg, rgba(192, 28, 28, 0.18) 0%, var(--black-mid) 45%, rgba(200, 154, 58, 0.12) 100%);
  border-bottom: 1px solid var(--black-border);
  overflow-y: auto;
}
.coach-flip-back-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}
.coach-flip-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-shrink: 0;
}
.coach-flip-badges img {
  height: 44px;
  width: auto;
  max-width: 56px;
  object-fit: contain;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}
.coach-flip-role {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  text-align: center;
}
.coach-flip-credentials {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--white);
  text-align: center;
}
.coach-flip-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: saturate(0.65) brightness(0.9);
  transition: filter 0.35s;
  border-radius: inherit;
}
.coach-card:has(.coach-flip):hover .coach-flip-photo {
  filter: saturate(1) brightness(1);
}
@media (prefers-reduced-motion: reduce) {
  .coach-flip-inner {
    transition: none;
  }
}
.coach-info {
  padding: 24px;
  border-top: 1px solid var(--black-border);
  background: linear-gradient(180deg, var(--black-card) 0%, rgba(8,8,8,0.95) 100%);
  text-align: center;
}
.coach-info h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  margin-bottom: 0;
  color: var(--white);
}
.coach-role {
  font-size: 0.82rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--gold-glow);
  color: var(--white);
}

/* Effet de grain de fond subtil */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* Barre de défilement stylisée */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* Layout & Containers */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ─── HEADER & MENU UNIQUE ─── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--black-border);
  transition: background 0.3s, box-shadow 0.3s;
}
.header.is-scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: var(--header-shadow-scrolled);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--white);
}
.brand-logo img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  object-fit: contain;
  object-position: center;
  box-shadow: 0 0 15px var(--gold-glow);
}
.brand-text h1,
.brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  line-height: 1;
  color: var(--white);
}
.brand-text p {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--gold);
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: color 0.25s, background 0.25s, box-shadow 0.25s;
}
.nav a.active, .nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 -2px 0 var(--gold);
}
.nav a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  padding: 10px 20px;
  border-radius: 4px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px var(--gold-glow);
}

/* Burger Menu */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  background: var(--black-mid);
  border-bottom: 1px solid var(--black-border);
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  padding: 20px var(--container-pad) 24px;
  gap: 4px;
  z-index: 999;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: max-height 0.35s var(--ease-sharp), opacity 0.3s, visibility 0.35s;
}
.mobile-nav.active {
  max-height: 480px;
  opacity: 1;
  visibility: visible;
}
.mobile-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border-bottom: none;
  transition: background 0.2s, color 0.2s;
}
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
  background: rgba(255, 255, 255, 0.04);
}
.mobile-nav-cta {
  margin-top: 12px;
  text-align: center;
  color: var(--black) !important;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-radius: 4px;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.mobile-nav-cta:hover {
  color: var(--black) !important;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  box-shadow: 0 0 15px var(--gold-glow);
}

/* ─── STYLE DU HERO GLOBAL ─── */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(140px, 18vh, 180px) 0 clamp(88px, 12vh, 120px);
  overflow: hidden;
  background: var(--black);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.2) 45%, rgba(8, 8, 8, 0.78) 100%),
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(192, 28, 28, 0.1), transparent 70%);
}
.hero:has(.hero-video)::after {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.35) 0%, rgba(8, 8, 8, 0.05) 55%, rgba(8, 8, 8, 0.55) 100%),
    radial-gradient(ellipse 90% 70% at 50% 20%, rgba(192, 28, 28, 0.06), transparent 65%);
}
.hero:has(.hero-video) p,
.hero:has(.hero-video) .hero-label {
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.85);
}
.hero > .container {
  position: relative;
  z-index: 2;
}
.hero-banner {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: var(--hero-media-opacity);
  filter: var(--hero-media-filter);
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: var(--hero-video-opacity);
  filter: var(--hero-video-filter);
  transition: filter 0.8s ease;
}
.hero-video.is-logo-reveal {
  filter: var(--hero-video-filter-color);
}
.hero-banner:has(.hero-video) > img {
  display: none;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 28, 28, 0.15);
  border: 1px solid var(--red);
  color: var(--red-light);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero h1 span {
  background: linear-gradient(to right, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
}
.hero p {
  max-width: 640px;
  margin: 0 auto 40px;
  color: var(--white-dim);
  font-size: clamp(1rem, 2vw, 1.125rem);
  line-height: 1.75;
}
.hero--compact {
  min-height: 44vh;
  padding: clamp(120px, 14vh, 150px) 0 clamp(56px, 8vh, 72px);
}
.hero--compact::after {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.5) 0%, rgba(8, 8, 8, 0.22) 50%, rgba(8, 8, 8, 0.8) 100%);
}
.hero--compact .hero-banner img {
  opacity: 0.5;
}
.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--gold);
  z-index: 2;
  animation: heroScrollBounce 2.2s ease-in-out infinite;
  transition: opacity 0.3s ease;
}
.hero-scroll span {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--white-dim);
}
.hero-scroll i {
  font-size: 1.1rem;
}
.hero-scroll.is-hidden {
  opacity: 0;
  pointer-events: none;
}
@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll { animation: none; }
}

/* Boutons génériques */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, border-color 0.25s;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(192, 28, 28, 0.35);
  border: 1px solid transparent;
}
.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(192, 28, 28, 0.45);
}
.btn-primary:active {
  transform: translateY(-1px);
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  border: 1px solid var(--black-border);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white-muted);
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

/* ─── ELEMENTS DE DESIGN COMMONS ─── */
.section-padding {
  padding: var(--space-section) 0;
}
.section-alt {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
}
.section-alt--both {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  border-bottom: 1px solid var(--black-border);
}
.section-header {
  max-width: 720px;
  margin: 0 auto clamp(48px, 6vw, 72px);
  text-align: center;
}
.section-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.32em;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.section-header .section-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.section-header .section-label::before,
.section-header .section-label::after {
  content: '';
  width: clamp(24px, 6vw, 56px);
  height: 1px;
  background: currentColor;
  opacity: 0.4;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.98;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 18px;
  text-wrap: balance;
}
.section-desc {
  color: var(--white-dim);
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  line-height: 1.75;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 32px);
}

/* ─── DESIGN DES CARTES ET ÉLÉMENTS INTERACTIFS ─── */
.card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 36px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 80%);
  opacity: 0;
  transition: opacity 0.35s;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.04), transparent 55%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(200, 154, 58, 0.35);
  box-shadow: var(--shadow-elevated);
}
.card:hover::before,
.card:hover::after {
  opacity: 1;
}
.card-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 22px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--gold-glow);
  border: 1px solid rgba(200, 154, 58, 0.2);
}
.card h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--white);
}
.card p {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ─── ACCUEIL : SPECIFIC DESIGNS ─── */

/* SDU Stats Counter Bar */
.stats-bar {
  background: var(--black-mid);
  border-bottom: 1px solid var(--black-border);
  position: relative;
  z-index: 2;
  margin-top: -1px;
}
.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}
.stat-box {
  padding: clamp(32px, 5vw, 48px) 20px;
  border-right: 1px solid var(--black-border);
  transition: background 0.3s;
}
.stat-box:hover {
  background: rgba(255, 255, 255, 0.02);
}
.stat-box:last-child {
  border-right: none;
}
.stat-box h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.stat-box p {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: var(--white-muted);
  max-width: 14ch;
  margin: 0 auto;
  line-height: 1.4;
}

/* ─── LE CLUB : VALEURS & INTERACTIF GALERIE ─── */
.portrait-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--black-mid);
  border: 1px solid var(--black-border);
  padding: 24px;
  border-radius: 8px;
}
.portrait-img {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--gold);
}

/* Galerie responsive */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.gallery-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--black-border);
  background: var(--black-mid);
}
.gallery-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.5s var(--ease-sharp);
}
.gallery-card:hover img {
  transform: scale(1.08);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-card:hover .gallery-overlay {
  opacity: 1;
}
.gallery-info h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  text-transform: uppercase;
  color: var(--white);
}
.gallery-info p {
  font-size: 0.8rem;
  color: var(--gold);
}

.gallery-carousel {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
}
.gallery-carousel-viewport {
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--black-border);
  background: var(--black-mid);
  box-shadow: var(--shadow-soft);
}
.gallery-carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease-out);
}
.gallery-carousel-slide {
  flex: 0 0 100%;
  margin: 0;
}
.gallery-carousel-image {
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 0;
  cursor: pointer;
  display: block;
}
.gallery-carousel-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}
.gallery-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--black-border);
  background: rgba(8, 8, 8, 0.82);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.gallery-carousel-btn:hover {
  background: rgba(192, 28, 28, 0.9);
  border-color: var(--red-light);
  color: var(--white);
}
.gallery-carousel-btn--prev { left: 12px; }
.gallery-carousel-btn--next { right: 12px; }
.gallery-carousel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.gallery-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gallery-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--black-border);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}
.gallery-carousel-dot.is-active {
  background: var(--gold);
  transform: scale(1.15);
}
.gallery-carousel-counter {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--white-muted);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.lightbox[hidden] {
  display: none;
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 95vw);
  max-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-content img,
.lightbox-content video {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 80vh;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  border: 1px solid var(--gold);
}
.lightbox-content video {
  background: #000;
}
.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}

/* ─── PLANNING : INTERACTIVE SCHEDULE FILTER ─── */
.schedule-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  color: var(--white-dim);
  padding: 10px 20px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: all 0.25s;
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--gold);
  color: var(--gold-light);
  background: var(--gold-glow);
}
.filter-btn[data-filter="krav"]:hover,
.filter-btn[data-filter="krav"].active {
  color: var(--red-light);
  border-color: var(--red);
  background: rgba(192, 28, 28, 0.15);
}

.schedule-table-wrapper {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow-soft);
}
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}
.schedule-table th, .schedule-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--black-border);
}
.schedule-table th {
  background: rgba(255, 255, 255, 0.02);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.schedule-table tr:last-child td {
  border-bottom: none;
}
.schedule-table tr {
  transition: background 0.2s;
}
.schedule-table tr:hover td {
  background: rgba(255,255,255,0.01);
}
.schedule-table .tag-discipline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.75rem;
  padding: 4px 6px;
  font-size: 0.65rem;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  white-space: nowrap;
  vertical-align: middle;
}
.schedule-table .tag-krav {
  width: 6.85rem;
}
.schedule-table .tag-combatives {
  width: 7.55rem;
  min-height: 1.9rem;
  padding: 5px 8px;
  font-size: 0.68rem;
}
.schedule-table td:nth-child(3) {
  white-space: nowrap;
}
.schedule-table .tag-discipline + .tag-discipline {
  margin-left: 8px;
}
.tag-discipline {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.tag-krav {
  background: rgba(192, 28, 28, 0.15);
  border: 1px solid var(--red);
  color: #fff;
}
.tag-combatives {
  background: var(--gold-glow);
  border: 1px solid var(--gold);
  color: var(--gold-light);
}

/* ─── TARIFS : MODERN PRICING & ESTIMATOR ─── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  margin-bottom: 80px;
}
.pricing-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.pricing-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: clamp(32px, 4vw, 44px) clamp(24px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}
.pricing-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(200, 154, 58, 0.05) 0%, var(--black-card) 100%);
  box-shadow: var(--shadow-elevated);
}
@media (min-width: 1025px) {
  .pricing-card.featured {
    transform: scale(1.03);
  }
  .pricing-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
  }
}
.featured-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.1em;
}
.pricing-card h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.02em;
  margin-bottom: 8px;
}
.pricing-card .price {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1;
  color: var(--white);
  margin: 20px 0;
}
.pricing-card .price span {
  font-size: 1.5rem;
  color: var(--white-muted);
}
.pricing-features {
  list-style: none;
  margin: 30px 0;
  flex-grow: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--white-dim);
  margin-bottom: 16px;
}
.pricing-features li i {
  color: var(--gold);
}

/* Calculateur d'adhésion interactif */
.calculator-box {
  background: var(--black-mid);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  padding: 40px;
  max-width: 800px;
  margin: 0 auto;
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.calc-group h4 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--gold);
}
.calc-option {
  display: block;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  padding: 16px 20px;
  border-radius: 6px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: all 0.25s;
}
.calc-option input {
  margin-right: 12px;
  accent-color: var(--gold);
}
.calc-option:hover, .calc-option.selected {
  border-color: var(--gold);
  background: rgba(200, 154, 58, 0.05);
}
.calc-result {
  text-align: center;
  border-top: 1px solid var(--black-border);
  padding-top: 30px;
}
.calc-result h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white-dim);
  margin-bottom: 10px;
}
.calc-price {
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--gold-light);
  line-height: 1;
}

/* ─── CODES STYLÉ CONSEIL REJOINDRE ─── */
.check-list {
  list-style: none;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.check-list li i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-top: 4px;
}

/* ─── SECTION D'APPEL À L'ACTION (CTA) ─── */
.cta {
  background: var(--cta-bg);
  padding: clamp(64px, 10vw, 96px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 0, 0, 0.35), transparent),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(0, 0, 0, 0.04) 40px,
      rgba(0, 0, 0, 0.04) 41px
    );
  pointer-events: none;
}
.cta-inner {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}
.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  text-transform: uppercase;
  margin-bottom: 16px;
  line-height: 1;
}
.cta p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

/* ─── FOOTER PREMIUM ─── */
.footer {
  background: var(--black-mid);
  border-top: 1px solid var(--black-border);
  padding: clamp(64px, 8vw, 88px) 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}
.footer-brand p {
  color: var(--white-dim);
  font-size: 0.95rem;
  margin-top: 16px;
  max-width: 300px;
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  color: var(--white-dim);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col ul li a:hover {
  color: var(--white);
}
.footer-bottom {
  border-top: 1px solid var(--black-border);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--white-muted);
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--black-border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white-dim);
  text-decoration: none;
  transition: transform 0.25s var(--ease-out), border-color 0.25s, background 0.25s, color 0.25s;
}
.social-links a:hover {
  border-color: var(--gold);
  color: var(--white);
  background: var(--gold-glow);
  transform: translateY(-2px);
}
.social-links a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto 50px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav, .nav-cta { display: none; }
  .mobile-toggle { display: flex; }
  .grid-2 { grid-template-columns: 1fr; gap: 30px; }
  .grid-3 { grid-template-columns: 1fr; }
  .calc-row { grid-template-columns: 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr; }
  .header-inner { height: 70px; }
  .stats-wrapper { grid-template-columns: 1fr 1fr; }
  .stat-box:nth-child(2) { border-right: none; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-carousel-btn { width: 38px; height: 38px; }
  .gallery-carousel-btn--prev { left: 8px; }
  .gallery-carousel-btn--next { right: 8px; }
  .gallery-carousel-image img { aspect-ratio: 3 / 4; }
  .social-feed-grid { grid-template-columns: 1fr; }
  .coaches-grid { grid-template-columns: 1fr; }
}

/* ─── EXTENSIONS MULTI-PAGES ─── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Visuels de contenu : proportions naturelles */
.split-image img,
.gallery-card img,
.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.split-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--black-border);
  background: var(--black-mid);
  box-shadow: var(--shadow-soft);
}
.split-image img {
  filter: saturate(0.75);
  transition: filter 0.5s, transform 0.5s;
}
.split-image:hover img {
  filter: saturate(1);
  transform: scale(1.01);
}

.values-list { display: flex; flex-direction: column; gap: 16px; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 8px;
}
.value-item .check { color: var(--gold); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.value-item p { color: var(--white-dim); font-size: 0.95rem; }

.venue-card {
  cursor: pointer;
  text-align: center;
  width: 100%;
  font: inherit;
  color: inherit;
}
.venue-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.venue-audience {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
}

.gallery-item {
  border: none;
  padding: 0;
  background: var(--black-mid);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  display: block;
  width: 100%;
  border: 1px solid var(--black-border);
}
.gallery-item img {
  transition: transform 0.5s var(--ease-sharp);
}
.gallery-item:hover img { transform: scale(1.02); }
.gallery-item--video::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0,0,0,0.25);
  pointer-events: none;
}
.gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ─── FLUX RÉSEAUX SOCIAUX ─── */
.social-feed-loading,
.social-feed-empty {
  text-align: center;
  color: var(--white-dim);
  padding: 40px 0;
}
.social-feed-empty a {
  color: var(--gold);
  text-decoration: underline;
}
.social-feed-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.social-feed-card {
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.social-feed-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-elevated);
}
.social-feed-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: none;
  padding: 0;
  background: var(--black-mid);
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
}
.social-feed-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-sharp);
}
.social-feed-media:hover img { transform: scale(1.03); }
.social-feed-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--gold);
  opacity: 0.5;
}
.social-feed-body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.social-feed-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-muted);
}
.social-feed-platform {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold);
  font-weight: 600;
}
.social-feed-caption {
  color: var(--white-dim);
  font-size: 0.92rem;
  line-height: 1.5;
  flex: 1;
}
.social-feed-link {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red-light);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.social-feed-link:hover { color: var(--gold); }
.social-feed-cta {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 36px;
}
.social-feed-grid--compact,
.social-feed--compact .social-feed-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.social-feed--compact[data-visible="4"] .social-feed-grid,
.social-feed-grid--compact.social-feed-grid--cols-4 {
  grid-template-columns: repeat(4, 1fr);
}
.social-feed--compact .social-feed-body {
  padding: 12px 14px 14px;
  gap: 8px;
}
.social-feed--compact .social-feed-meta {
  font-size: 0.65rem;
}
.social-feed--compact .social-feed-caption {
  font-size: 0.82rem;
  line-height: 1.45;
}
.social-feed--compact .social-feed-link {
  font-size: 0.68rem;
}
.social-feed--compact .social-feed-placeholder {
  font-size: 1.8rem;
}
@media (max-width: 1024px) {
  .social-feed-grid--compact,
  .social-feed--compact .social-feed-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .social-feed-grid--compact,
  .social-feed--compact .social-feed-grid {
    grid-template-columns: 1fr;
  }
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 20px;
  font-size: 0.8rem;
}
.footer-legal a {
  color: var(--white-muted);
  text-decoration: none;
}
.footer-legal a:hover { color: var(--gold); }

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3000;
  background: rgba(8, 8, 8, 0.96);
  border-top: 1px solid var(--black-border);
  padding: 16px 20px;
}
.cookie-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner p {
  color: var(--white-dim);
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
  min-width: 220px;
}
.cookie-banner a { color: var(--gold); }

.legal-page h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin: 32px 0 12px;
  color: var(--gold);
  letter-spacing: 0.04em;
}
.legal-content p,
.legal-content li {
  color: var(--white-dim);
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-content a { color: var(--gold); }

.hero-actions {
  justify-content: center;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(0,0,0,0.95);
  cursor: pointer;
}

.map-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.map-modal[hidden] { display: none; }
.map-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  padding: 0;
  background: rgba(0,0,0,0.92);
  cursor: pointer;
}
.map-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.map-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--black-border);
}
.map-modal-header h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.map-modal-header p { color: var(--white-dim); font-size: 0.9rem; margin: 0; }
.map-modal-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 4px;
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.map-modal-close:hover { background: var(--red); }
.map-modal-body { position: relative; aspect-ratio: 16 / 10; background: var(--black-mid); }
.map-modal-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-modal-footer { padding: 16px 24px 24px; text-align: center; }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 4px;
  border: 1px solid var(--black-border);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-glow);
}

.animate {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease-sharp), transform 0.65s var(--ease-sharp);
}
.animate.visible {
  opacity: 1;
  transform: translateY(0);
}
.grid-3 > .animate:nth-child(2),
.stats-wrapper > .animate:nth-child(2) { transition-delay: 0.07s; }
.grid-3 > .animate:nth-child(3),
.stats-wrapper > .animate:nth-child(3) { transition-delay: 0.14s; }
.grid-3 > .animate:nth-child(4),
.stats-wrapper > .animate:nth-child(4) { transition-delay: 0.21s; }
.coaches-grid.animate {
  transform: none;
  transition: opacity 0.65s var(--ease-sharp);
}
.coaches-grid.animate.visible {
  transform: none;
}
.coaches-grid > .animate:nth-child(3) { transition-delay: 0.1s; }
.coaches-grid > .animate:nth-child(4) { transition-delay: 0.15s; }
.coaches-grid > .animate:nth-child(5) { transition-delay: 0.2s; }
.coaches-grid > .animate:nth-child(6) { transition-delay: 0.25s; }
@media (prefers-reduced-motion: reduce) {
  .animate,
  .animate.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── ÉVÉNEMENTS ─── */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.events-list--compact {
  max-width: 960px;
  gap: 16px;
}
.events-list--compact .event-card {
  grid-template-columns: 84px 1fr;
  gap: 20px;
  padding: clamp(16px, 3vw, 24px);
}
.events-list--compact .event-date {
  min-height: 84px;
  padding: 12px 10px;
}
.events-list--compact .event-day {
  font-size: 1.85rem;
}
.events-list--compact .event-body h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.events-list--compact .event-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 12px;
}
.events-list--compact .event-meta li {
  font-size: 0.8rem;
}
.event-card {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  align-items: start;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  padding: clamp(24px, 4vw, 36px);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
  box-shadow: var(--shadow-soft);
}
.event-card:hover {
  transform: translateY(-5px);
  border-color: rgba(200, 154, 58, 0.35);
  box-shadow: var(--shadow-elevated);
}
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black-mid);
  border: 1px solid var(--black-border);
  border-radius: 8px;
  padding: 16px 12px;
  min-height: 100px;
}
.event-day {
  font-family: var(--font-display);
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
}
.event-month {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin: 4px 0;
}
.event-year {
  font-size: 0.7rem;
  color: var(--white-muted);
}
.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}
.event-type {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-dim);
  border: 1px solid var(--black-border);
}
.event-body h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.event-desc {
  color: var(--white-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
.event-meta {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.event-meta li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--white-muted);
}
.event-meta li i {
  color: var(--gold);
  width: 16px;
  text-align: center;
}
@media (max-width: 768px) {
  .event-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px;
  }
  .event-date {
    flex-direction: row;
    gap: 12px;
    min-height: auto;
    padding: 12px 16px;
  }
  .event-day { font-size: 1.8rem; }
}

.feed-archive {
  max-width: 900px;
  margin: 32px auto 0;
  border: 1px solid var(--black-border);
  border-radius: var(--radius-md);
  background: var(--black-card);
  overflow: hidden;
}
.feed-archive-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background 0.25s, color 0.25s;
}
.feed-archive-summary::-webkit-details-marker { display: none; }
.feed-archive-summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--gold);
  transition: transform 0.3s var(--ease-out);
}
.feed-archive[open] .feed-archive-summary::after {
  transform: rotate(180deg);
}
.feed-archive-summary:hover {
  background: var(--black-mid);
  color: var(--gold);
}
.feed-archive-summary i {
  color: var(--gold);
}
.feed-archive-count {
  color: var(--white-muted);
  font-weight: 500;
}
.feed-archive-content {
  padding: 0 24px 24px;
  border-top: 1px solid var(--black-border);
}
.feed-archive-content.events-list {
  padding-top: 24px;
}
.feed-archive-content.social-feed-grid {
  padding-top: 24px;
}
#socialArchiveHost .feed-archive {
  max-width: none;
}

/* ─── STAGE DÉFENSE DOMICILE ─── */
.stage-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}
.stage-pillar {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(200, 154, 58, 0.12);
  border: 1px solid rgba(200, 154, 58, 0.35);
  padding: 6px 14px;
  border-radius: 4px;
  color: var(--gold-light);
}
.stage-program {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}
.stage-prog-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--black-card);
  border: 1px solid var(--black-border);
  padding: 24px 28px;
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  transition: border-color 0.3s var(--ease-out);
}
.stage-prog-item:hover {
  border-color: rgba(200, 154, 58, 0.4);
}
.stage-prog-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 40px;
  line-height: 1;
}
.stage-prog-item h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 8px;
}
.stage-prog-item h3 i {
  color: var(--gold);
  margin-right: 8px;
  font-size: 0.95rem;
}
.stage-prog-item p {
  color: var(--white-dim);
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0;
}
.stage-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--black-border);
}
.stage-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--white-muted);
}
.stage-audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}
.stage-guarantees i {
  color: var(--gold);
}
.stage-promo-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
@media (max-width: 768px) {
  .stage-prog-item {
    flex-direction: column;
    gap: 12px;
    padding: 20px;
  }
  .stage-prog-num { font-size: 1.5rem; }
  .stage-promo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .stage-promo-card .section-desc { text-align: center !important; }
  .stage-promo-card .btn { justify-self: center; }
}
