/* ═══════════════════════════════════════════════════
   LA SALLE — SHARED STYLESHEET
═══════════════════════════════════════════════════ */

/* ─── ROOT ───────────────────────────────────────── */
:root {
  --bg:       #0A0A08;
  --gold:     #E8A820;
  --gold-lt:  #F5C84A;
  --gold-dk:  #B8841A;
  --white:    #F0EDE6;
  --muted:    #7A7468;
  --s1:       #131210;
  --s2:       #1C1916;
  --s3:       #27231E;
  --border:   rgba(232,168,32,0.14);
  --border-h: rgba(232,168,32,0.38);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  animation: pageFade 0.35s ease both;
}

@keyframes pageFade { from { opacity:0; } to { opacity:1; } }

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.028;
  pointer-events: none;
  z-index: 9999;
}

/* ─── NAV ─────────────────────────────────────────── */
#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 500;
  padding: 1.6rem 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.45s cubic-bezier(.16,1,.3,1),
              padding   0.45s cubic-bezier(.16,1,.3,1),
              border-color 0.45s;
  border-bottom: 1px solid transparent;
}

#nav.scrolled {
  background: rgba(10,10,8,0.93);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem 5rem;
  border-color: var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.nav-brand img {
  height: 38px;
  filter: brightness(0) invert(1);
}

.nav-brand-text {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
}

.nav-links a {
  font-family: 'Barlow', sans-serif;
  font-size: 0.90rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.65);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover        { color: var(--gold); }
.nav-links a.active       { color: var(--gold); }
.nav-links a.btn-gold,
.nav-links a.btn-gold:hover,
.nav-links a.btn-gold:active { color: #000; }
.nav-links a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ─── BUTTONS ────────────────────────────────────── */
.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.90rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 0.6rem 1.35rem;
  border-radius: 2px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.18s cubic-bezier(.16,1,.3,1);
}

.btn-gold:hover  { background: var(--gold-lt); transform: translateY(-2px); }
.btn-gold:active { transform: translateY(0); }
.btn-gold:focus-visible { outline: 2px solid var(--gold-lt); outline-offset: 3px; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  font-family: 'Barlow', sans-serif;
  font-size: 0.90rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.85);
  background: transparent;
  padding: 0.6rem 1.35rem;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid rgba(240,237,230,0.3);
  transition: border-color 0.2s, color 0.2s, transform 0.18s cubic-bezier(.16,1,.3,1);
}

.btn-ghost:hover  { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.btn-ghost:active { transform: translateY(0); }
.btn-ghost:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* ─── MOBILE BURGER ──────────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 601;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), opacity 0.2s;
}

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

/* ─── HERO (homepage) ────────────────────────────── */
#hero {
  position: relative;
  height: 100vh;
  min-height: 680px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom { to { transform: scale(1); } }

.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10,10,8,.72) 0%, rgba(10,10,8,.42) 35%, rgba(10,10,8,.60) 65%, rgba(10,10,8,.97) 100%),
    linear-gradient(to right, rgba(10,10,8,.55) 0%, transparent 60%),
    radial-gradient(ellipse at 25% 60%, rgba(232,168,32,.07) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5rem 7rem;
  max-width: 860px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  text-shadow: 0 1px 12px rgba(0,0,0,.8), 0 0px 4px rgba(0,0,0,.9);
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(.16,1,.3,1) 0.4s both;
}

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

.hero-h1 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(4.5rem, 10.5vw, 9.5rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(.16,1,.3,1) 0.6s both;
}

.hero-h1 em { font-style: normal; color: var(--gold); }

.hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(240,237,230,.72);
  max-width: 460px;
  margin-top: 1.6rem;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(.16,1,.3,1) 0.8s both;
}

.hero-ctas {
  display: flex;
  gap: 0.9rem;
  margin-top: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(.16,1,.3,1) 1s both;
}

.hero-stats {
  position: absolute;
  right: 5rem;
  bottom: 7rem;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 1.4s both;
}

.stat { text-align: right; }

.stat-n {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
}

.stat-l {
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240,237,230,.45);
}

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  z-index: 2;
  opacity: 0;
  animation: fadeIn 1s ease 1.8s both;
}

.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,100% { opacity:.35; }
  50%      { opacity:1; }
}

@keyframes fadeUp {
  from { opacity:0; transform: translateY(32px); }
  to   { opacity:1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity:0; }
  to   { opacity:1; }
}

/* ─── PAGE HERO (inner pages) ────────────────────── */
.page-hero {
  position: relative;
  height: 46vh;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.38);
  transform: scale(1.04);
  transition: transform 8s ease-out;
}

.page-hero-bg.loaded { transform: scale(1); }

.page-hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,10,8,.2) 0%, rgba(10,10,8,.88) 100%);
}

.page-hero-veil::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 70%, rgba(232,168,32,.06) 0%, transparent 55%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 5rem 4.5rem;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
  opacity: 0;
  animation: fadeUp 0.7s cubic-bezier(.16,1,.3,1) 0.2s both;
}

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

.page-hero-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(3rem, 6.5vw, 6.5rem);
  line-height: 0.88;
  letter-spacing: -0.01em;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(.16,1,.3,1) 0.35s both;
}

.page-hero-title em { font-style: normal; color: var(--gold); }

.page-hero-sub {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(240,237,230,.6);
  max-width: 500px;
  margin-top: 1.1rem;
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(.16,1,.3,1) 0.5s both;
}

.breadcrumb {
  position: absolute;
  top: 2rem;
  left: 5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,237,230,.35);
  z-index: 2;
  margin-top: 5rem;
}

.breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: rgba(240,237,230,.55); }

/* ─── STATS BAR (homepage) ───────────────────────── */
.stats-bar {
  background:
    linear-gradient(90deg, rgba(10,10,8,.88) 0%, rgba(10,10,8,.78) 55%, rgba(10,10,8,.70) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_21.webp') center/cover no-repeat,
    var(--s1);
  border-bottom: 1px solid var(--border);
}

.stats-bar-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stats-bar-item {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.75rem 0;
  border-right: 1px solid var(--border);
  padding-right: 2rem;
  padding-left: 2rem;
}

.stats-bar-item:first-child { padding-left: 0; }
.stats-bar-item:last-child  { border-right: none; }

.stats-bar-n {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.4rem;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}

.stats-bar-l {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(240,237,230,.45);
  line-height: 1.5;
}

/* ─── SECTION SHARED ─────────────────────────────── */
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

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

.section-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 0.93;
  letter-spacing: 0.01em;
  color: var(--white);
}

.section-title em { font-style: normal; color: var(--gold); }

.section-body {
  font-size: 0.975rem;
  font-weight: 300;
  line-height: 1.82;
  color: rgba(240,237,230,.62);
}

.gold-bar {
  width: 54px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.4rem 0;
}

/* Reveal animations */
.rv {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s cubic-bezier(.16,1,.3,1),
              transform 0.8s cubic-bezier(.16,1,.3,1);
}

.rv.in { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .45s; }

/* ─── ABOUT ──────────────────────────────────────── */
#about {
  background:
    linear-gradient(100deg, rgba(10,10,8,.74) 0%, rgba(10,10,8,.72) 42%, rgba(16,15,13,.90) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_1.webp') center/cover no-repeat,
    var(--bg);
  padding: 12rem 5rem;   /* fond plein largeur ; plus d'air au-dessus/en-dessous */
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  overflow-x: clip;   /* contient les slides 3D sans rogner le badge (central) */
}

/* ─── ABOUT CAROUSEL ─────────────────────────────── */
.about-carousel {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: visible;   /* le badge peut dépasser ; le clipping se fait sur .about-inner */
}

.ac-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1100px;
  overflow: hidden;
  border-radius: 3px;
}

.ac-slide {
  position: absolute;
  width: 600px;
  height: 780px;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(.25,.46,.45,.94),
              opacity 0.6s cubic-bezier(.25,.46,.45,.94),
              filter 0.5s;
  will-change: transform, opacity, filter;
  cursor: pointer;
}

.ac-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.ac-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.85rem;
  background: linear-gradient(to top, rgba(10,10,8,.85) 0%, transparent 100%);
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,237,230,.9);
  opacity: 0;
  transition: opacity 0.35s;
}

.ac-slide[data-active] .ac-label { opacity: 1; }

.ac-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(232,168,32,.3);
  background: rgba(10,10,8,.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.ac-btn:hover {
  border-color: rgba(232,168,32,.8);
  background: rgba(232,168,32,.1);
  transform: translateY(-50%) scale(1.08);
}

.ac-prev { left: 0.75rem; }
.ac-next { right: 0.75rem; }

.ac-dots {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 20;
}

.ac-dot {
  height: 5px;
  width: 5px;
  border-radius: 99px;
  border: none;
  background: rgba(232,168,32,.3);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, width 0.35s cubic-bezier(.25,.46,.45,.94);
}

.ac-dot.active {
  background: var(--gold);
  width: 22px;
}

/* keep badge from old layout */
.about-carousel .about-badge {
  bottom: -1.75rem;
  right: -1.75rem;
}

/* old about-img-wrap kept for responsive */
.about-img-wrap { position: relative; }
.about-img-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 3px;
  background:
    linear-gradient(to bottom, rgba(10,10,8,.55) 0%, transparent 35%, transparent 55%, rgba(10,10,8,.65) 100%),
    linear-gradient(to right, rgba(10,10,8,.15) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.about-img-frame {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: -1.25rem;
  bottom: -1.25rem;
  border: 1px solid rgba(232,168,32,.22);
  border-radius: 3px;
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: -1.75rem;
  right: -1.75rem;
  width: 108px;
  height: 108px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 32px rgba(232,168,32,.3);
}

.about-badge .bn {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  line-height: 1;
  color: var(--bg);
}

.about-badge .bl {
  font-family: 'Barlow', sans-serif;
  font-size: 0.90rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10,10,8,.75);
  text-align: center;
  line-height: 1.3;
}

.highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2.5rem;
}

.hl-item {
  background: var(--s2);
  border: 1px solid var(--border);
  padding: 1.1rem 1.2rem;
  border-radius: 3px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.hl-item:hover { border-color: var(--border-h); transform: translateY(-2px); }

.hl-icon { font-size: 1.3rem; flex-shrink: 0; }

.hl-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--white);
}

/* ─── CTA BAND ───────────────────────────────────── */
.cta-band {
  background:
    linear-gradient(180deg, rgba(10,10,8,.88) 0%, rgba(10,10,8,.80) 50%, rgba(10,10,8,.90) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_17.webp') center/cover no-repeat,
    var(--s1);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 7rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,168,32,.06) 0%, transparent 65%);
  pointer-events: none;
}

.cta-band-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.81rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.cta-band-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.cta-band h2 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.8rem, 5vw, 5rem);
  line-height: 0.92;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.cta-band h2 em { font-style: normal; color: var(--gold); }

.cta-band p {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(240,237,230,.55);
  max-width: 500px;
  margin: 0 auto 2.5rem;
}

.cta-band-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── SERVICES / FORMULES ────────────────────────── */
#services {
  background:
    linear-gradient(165deg, rgba(10,10,8,.86) 0%, rgba(10,10,8,.80) 50%, rgba(10,10,8,.90) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_3.webp') center/cover no-repeat,
    var(--bg);
  padding: 8rem 5rem;
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(232,168,32,.04) 0%, transparent 65%);
  pointer-events: none;
}

.services-head { max-width: 860px; margin: 0 auto 3.5rem; }

.formules-wrap {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto auto auto auto auto auto;
  gap: 1.5rem;
}

.formule-card {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem 2.5rem 2rem;
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 7;
  position: relative;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s;
}

.formule-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background 0.3s;
}

.formule-card.formule-featured {
  border-color: rgba(232,168,32,.35);
  background: linear-gradient(160deg, rgba(232,168,32,.07) 0%, var(--s2) 55%);
}

.formule-card.formule-featured::before {
  background: var(--gold);
}

.formule-card:hover {
  border-color: var(--border-h);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 4px 16px rgba(232,168,32,.07);
}

.formule-card.formule-featured:hover {
  border-color: rgba(232,168,32,.6);
}

.formule-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232,168,32,.12);
  border: 1px solid rgba(232,168,32,.3);
  padding: 0.2rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}


.formule-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: rgba(240,237,230,.3);
  margin-bottom: 0.4rem;
}

.formule-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.formule-price-row {
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.formule-amt {
  font-family: 'Bebas Neue', cursive;
  font-size: 6rem;
  line-height: 1;
  color: var(--white);
  letter-spacing: -0.02em;
}

.formule-featured .formule-amt { color: var(--gold); }

.formule-price-meta {
  display: flex;
  flex-direction: column;
  padding-bottom: 0.6rem;
}

.formule-currency {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  color: var(--gold);
  line-height: 1;
}

.formule-per {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  color: rgba(240,237,230,.4);
  letter-spacing: 0.05em;
}

.formule-rule {
  height: 1px;
  background: var(--border);
  margin-bottom: 0.75rem;
}

.formule-desc {
  font-size: 0.93rem;
  line-height: 1.6;
  color: rgba(240,237,230,.55);
  margin-bottom: 0.75rem;
}

.formule-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.formule-btn {
  align-self: start;
}

.formule-features li {
  font-family: 'Barlow', sans-serif;
  font-size: 0.90rem;
  color: rgba(240,237,230,.7);
  padding-left: 1.2rem;
  position: relative;
}

.formule-features li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.8rem;
}

/* ─── TARIFS ─────────────────────────────────────── */
#tarifs {
  padding: 8rem 5rem;
  max-width: 1440px;
  margin: 0 auto;
}

.tarifs-layout {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3.5rem;
}

.tarif-group { margin-bottom: 0.25rem; }

.tarif-section-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.9rem 0 0.5rem;
  border-top: 1px solid var(--border);
  margin-top: 1rem;
}

.tarif-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.2rem;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 3px;
  margin-bottom: 0.5rem;
  transition: border-color 0.2s, background 0.2s;
}

.tarif-row:hover { border-color: var(--border-h); background: var(--s3); }

.tarif-row.featured {
  border-color: rgba(232,168,32,.5);
  background: linear-gradient(135deg, rgba(232,168,32,.09) 0%, rgba(232,168,32,.02) 100%);
}

.tarif-name {
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--white);
}

.tarif-name small {
  display: block;
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(240,237,230,.45);
  margin-top: 0.1rem;
}

.tarif-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  color: var(--gold);
  white-space: nowrap;
  margin-left: 1rem;
}

.tarifs-side {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.tarifs-side::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
}

.promo-pill {
  display: inline-block;
  background: var(--gold);
  color: var(--bg);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.pack-card {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.5rem 1.6rem;
  margin-bottom: 1rem;
  transition: border-color 0.2s;
}

.pack-card:hover { border-color: var(--border-h); }

.pack-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.45rem;
  color: var(--white);
  margin-bottom: 0.45rem;
}

.pack-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(240,237,230,.55);
  margin-bottom: 1rem;
}

.pack-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.97rem;
  color: rgba(240,237,230,.8);
}

.pack-row .disc {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.25rem;
  color: var(--gold);
}

.side-cta {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.side-cta p {
  font-size: 0.93rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

/* ─── TARIFS PREMIUM (tp-*) ───────────────────────── */

/* Section layout */
#tarifs {
  padding: 8rem 5rem;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

/* Fond pleine largeur (débordant du conteneur centré) + voile pour la lisibilité */
#tarifs::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,10,8,.82) 0%, rgba(10,10,8,.68) 45%, rgba(10,10,8,.86) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_6.webp') center/cover no-repeat,
    var(--bg);
  pointer-events: none;
}

.tp-atmo {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(232,168,32,.055) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

#tarifs > *:not(.tp-atmo) { position: relative; z-index: 1; }

/* Label rows */
.tp-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  margin-top: 3rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tp-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}

/* Corner brackets */
.tp-brkt {
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
}
.tp-brkt--tl { top: 14px; left: 14px;
  border-top: 1.5px solid rgba(232,168,32,.6);
  border-left: 1.5px solid rgba(232,168,32,.6);
}
.tp-brkt--br { bottom: 14px; right: 14px;
  border-bottom: 1.5px solid rgba(232,168,32,.25);
  border-right: 1.5px solid rgba(232,168,32,.25);
}

/* ── HERO GRID (mensuels) ── */
.tp-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.25rem;
  margin-bottom: 0;
}

.tp-hero {
  position: relative;
  border-radius: 6px;
  padding: 2.25rem 2.25rem 2rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.4s cubic-bezier(.16,1,.3,1), box-shadow 0.4s;
}

.tp-hero:hover { transform: translateY(-5px); }

.tp-hero--gold {
  background: linear-gradient(145deg, rgba(232,168,32,.12) 0%, rgba(232,168,32,.04) 40%, var(--s2) 70%);
  border: 1px solid rgba(232,168,32,.38);
  box-shadow: 0 0 60px rgba(232,168,32,.07), inset 0 1px 0 rgba(232,168,32,.15);
}
.tp-hero--gold:hover {
  box-shadow: 0 20px 80px rgba(0,0,0,.4), 0 0 80px rgba(232,168,32,.1), inset 0 1px 0 rgba(232,168,32,.2);
  border-color: rgba(232,168,32,.6);
}

.tp-hero--std {
  background: var(--s2);
  border: 1px solid var(--border);
}
.tp-hero--std:hover {
  border-color: var(--border-h);
  box-shadow: 0 20px 60px rgba(0,0,0,.3);
}

/* Glow orb inside featured */
.tp-hero-glow {
  position: absolute;
  top: -40px; left: -40px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(232,168,32,.18) 0%, transparent 65%);
  pointer-events: none;
}

/* Pill tag */
.tp-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  align-self: flex-start;
  margin-bottom: 1.5rem;
}
.tp-hero-pill--muted {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
}

/* Top row: name + price side by side */
.tp-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.tp-hero-name {
  font-family: 'Barlow', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
}
.tp-hero-sub {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 0.4rem;
  line-height: 1.5;
}

/* Price block */
.tp-hero-price {
  display: flex;
  align-items: flex-start;
  gap: 0.15rem;
  flex-shrink: 0;
}
.tp-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 5rem;
  line-height: 0.9;
  color: var(--gold);
  letter-spacing: 0.01em;
}
.tp-unit {
  display: flex;
  flex-direction: column;
  padding-top: 0.25rem;
  gap: 0.1rem;
}
.tp-cur {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.5rem;
  color: var(--gold);
  line-height: 1;
}
.tp-per {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Separator */
.tp-sep {
  height: 1px;
  background: linear-gradient(90deg, var(--border-h), transparent);
  margin-bottom: 1.25rem;
}

/* Features list */
.tp-feats {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
  margin-bottom: 1.75rem;
}
.tp-feats li {
  font-size: 0.875rem;
  color: rgba(240,237,230,.75);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.tp-feats li::before {
  content: '';
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.tp-btn { align-self: flex-start; margin-top: auto; }

/* ── DURATION STRIP ── */
.tp-duration-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0;
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}

.tp-dur-connector {
  width: 1px;
  height: 60%;
  background: var(--border);
}

.tp-dur-card {
  padding: 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-align: center;
  transition: background 0.3s;
  cursor: default;
}
.tp-dur-card:hover { background: var(--s2); }

.tp-dur-badge {
  font-family: 'Barlow', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.18rem 0.6rem;
  border-radius: 2px;
  margin-bottom: 0.35rem;
}

.tp-dur-card--best { background: linear-gradient(180deg, rgba(232,168,32,.08) 0%, transparent 100%); }
.tp-dur-card--best:hover { background: linear-gradient(180deg, rgba(232,168,32,.13) 0%, rgba(232,168,32,.04) 100%); }

.tp-dur-period {
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.tp-dur-price {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}
.tp-dur-price span {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.02em;
}
.tp-dur-price em {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.4rem;
  color: rgba(232,168,32,.6);
  font-style: normal;
}
.tp-dur-saving {
  font-family: 'Barlow', sans-serif;
  font-size: 0.73rem;
  color: var(--muted);
  font-weight: 500;
}

/* ── BOTTOM GRID ── */
.tp-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
  align-items: start;
}

.tp-bottom-col { display: flex; flex-direction: column; gap: 0; }

/* Séances */
.tp-seance-row {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tp-seance {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1.1rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color 0.25s, background 0.25s;
}
.tp-seance:hover { border-color: var(--border-h); background: var(--s3); }
.tp-seance-name {
  font-family: 'Barlow', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--white);
}
.tp-seance-sub {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.15rem;
}
.tp-seance-price {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.7rem;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}
.tp-seance-price span { font-size: 1.1rem; }

/* Tarif réduit */
.tp-reduit {
  position: relative;
  background: linear-gradient(145deg, rgba(232,168,32,.09) 0%, var(--s2) 65%);
  border: 1px solid rgba(232,168,32,.3);
  border-radius: 5px;
  padding: 1.5rem;
  overflow: hidden;
  transition: border-color 0.3s;
}
.tp-reduit:hover { border-color: rgba(232,168,32,.55); }

.tp-reduit-badges {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tp-reduit-badges span {
  font-family: 'Barlow', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--gold);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

.tp-reduit-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.tp-reduit-desc {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.4;
}
.tp-reduit-desc small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--muted);
  margin-top: 0.3rem;
}
.tp-reduit-price {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
  flex-shrink: 0;
}
.tp-reduit-price span {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
}
.tp-reduit-price em {
  font-family: 'Bebas Neue', cursive;
  font-size: 1rem;
  color: rgba(232,168,32,.65);
  font-style: normal;
  text-align: center;
  line-height: 1.2;
}

/* Pack famille */
.tp-famille {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.tp-famille-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  color: rgba(240,237,230,.75);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}
.tp-famille-row strong {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.3rem;
  color: var(--gold);
}
.tp-famille-sep {
  height: 1px;
  background: var(--border);
  display: none;
}
.tp-famille-promo {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
  display: flex;
  gap: 0.5rem;
}
.tp-famille-icon { color: var(--gold); flex-shrink: 0; }

/* CTA bar */
.tp-cta-bar {
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.tp-cta-bar p {
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: var(--muted);
  flex: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  #tarifs { padding: 6rem 3rem; }
  .tp-hero-grid { grid-template-columns: 1fr; }
  .tp-bottom-grid { grid-template-columns: 1fr 1fr; }
  .tp-bottom-grid .tp-bottom-col:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  #tarifs { padding: 5rem 1.5rem; }
  .tp-duration-strip { grid-template-columns: 1fr; }
  .tp-dur-connector { display: none; }
  .tp-bottom-grid { grid-template-columns: 1fr; }
  .tp-hero-top { flex-direction: column; gap: 0.75rem; }
  .tp-num { font-size: 3.5rem; }
  .tp-cta-bar { flex-direction: column; align-items: flex-start; }
}

/* ─── COURS PREVIEW / TICKER ─────────────────────── */
#cours-preview {
  background: var(--s1);
  padding: 6rem 5rem 5rem;
  overflow: hidden;
}

.cours-preview-head {
  max-width: 860px;
  margin: 0 auto 3.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.cours-preview-sub {
  font-size: 0.97rem;
  line-height: 1.7;
  color: rgba(240,237,230,.55);
  max-width: 420px;
}

.cours-ticker-wrap {
  position: relative;
  overflow: hidden;
}

.cours-ticker-wrap::before,
.cours-ticker-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 180px;
  z-index: 2;
  pointer-events: none;
}
.cours-ticker-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.cours-ticker-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}

.cours-ticker {
  display: flex;
  align-items: center;
  width: max-content;
  animation: cours-scroll 40s linear infinite;
}

.cours-ticker:hover { animation-play-state: paused; }

.tick-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.75rem;
  letter-spacing: 0.05em;
  color: rgba(240,237,230,.18);
  padding: 0 1.2rem;
  transition: color 0.25s;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.tick-name:hover { color: var(--gold); }

.tick-sep {
  font-size: 0.7rem;
  color: var(--gold);
  opacity: 0.7;
  flex-shrink: 0;
}

@keyframes cours-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── COURS PREVIEW — Fight Card Lineup ─────────── */
#cours-preview {
  background:
    linear-gradient(180deg, rgba(10,10,8,.92) 0%, rgba(10,10,8,.82) 42%, rgba(10,10,8,.93) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_7.webp') center/cover no-repeat,
    var(--bg);
  padding: 6rem 5rem 0;
  overflow: hidden;
  position: relative;
}

#cours-preview::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(232,168,32,.25), transparent);
}

.cp-header {
  max-width: 1300px;
  margin: 0 auto 4rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}

.cp-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25rem;
  flex-shrink: 0;
}

.cp-lm-badge {
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(232,168,32,.28);
  background: rgba(232,168,32,.05);
  padding: 0.5rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.cp-lm-star {
  font-size: 0.65rem;
  opacity: 0.6;
}

/* Roster */
.cp-roster {
  max-width: 1300px;
  margin: 0 auto;
  border-top: 1px solid rgba(232,168,32,.15);
}

.cp-row {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(232,168,32,.1);
  position: relative;
  border-left: 2px solid transparent;
  padding-left: 1.5rem;
  transition: border-color 0.3s cubic-bezier(.16,1,.3,1),
              background 0.3s cubic-bezier(.16,1,.3,1);
  cursor: default;
}

.cp-row:hover {
  border-left-color: var(--gold);
  background: linear-gradient(to right, rgba(232,168,32,.04) 0%, transparent 60%);
}

.cp-row-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.45;
  width: 2rem;
  flex-shrink: 0;
  transition: opacity 0.25s;
}

.cp-row:hover .cp-row-num {
  opacity: 0.9;
}

.cp-row-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 3.2rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.25s;
  min-width: 280px;
}

.cp-row:hover .cp-row-name {
  color: var(--gold);
}

.cp-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  flex: 1;
}

.cp-row-tags a {
  font-family: 'Barlow', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(240,237,230,.45);
  border: 1px solid rgba(240,237,230,.09);
  padding: 0.28rem 0.75rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.cp-row-tags a:hover {
  color: var(--gold);
  border-color: rgba(232,168,32,.35);
  background: rgba(232,168,32,.05);
}

.cp-row-count {
  font-family: 'Barlow', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(240,237,230,.2);
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  transition: color 0.25s;
}

.cp-row:hover .cp-row-count {
  color: rgba(232,168,32,.5);
}

.cp-row-arrow {
  font-size: 1rem;
  color: var(--gold);
  opacity: 0;
  flex-shrink: 0;
  transform: translate(-4px, 4px);
  transition: opacity 0.25s, transform 0.25s cubic-bezier(.16,1,.3,1);
}

.cp-row:hover .cp-row-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

/* Ticker */
.cours-ticker-wrap {
  margin-top: 3.5rem;
}

@media (max-width: 1024px) {
  #cours-preview { padding: 5rem 3rem 0; }
  .cp-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .cp-header-actions { align-items: flex-start; }
  .cp-row-name { font-size: 2.4rem; min-width: 220px; }
  .cp-row { gap: 1.5rem; }
}
@media (max-width: 640px) {
  #cours-preview { padding: 4rem 1.5rem 0; }
  .cp-row { flex-wrap: wrap; gap: 0.75rem; padding: 1.25rem 0 1.25rem 1rem; }
  .cp-row-name { font-size: 2rem; min-width: unset; width: 100%; }
  .cp-row-count { margin-left: 0; }
  .cp-row-arrow { display: none; }
}

/* ─── HORAIRES ───────────────────────────────────── */
#horaires {
  background:
    linear-gradient(120deg, rgba(16,15,13,.90) 0%, rgba(10,10,8,.80) 55%, rgba(10,10,8,.86) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_13.webp') center/cover no-repeat,
    var(--s1);
  padding: 8rem 5rem;
  position: relative;
  overflow: hidden;
}

#horaires::after {
  content: '';
  position: absolute;
  bottom: -300px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,168,32,.05) 0%, transparent 65%);
  pointer-events: none;
}

.horaires-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: center;
}

.horaires-grid { display: flex; flex-direction: column; gap: 0.55rem; }

.h-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.4rem;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.2s;
}

.h-row:hover { border-color: var(--border-h); }

.h-row.today {
  border-color: rgba(232,168,32,.55);
  background: linear-gradient(135deg, rgba(232,168,32,.08) 0%, transparent 100%);
}

.h-day {
  font-family: 'Barlow', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.today-tag {
  font-family: 'Barlow', sans-serif;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.12rem 0.45rem;
  border-radius: 2px;
}

.h-time {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: var(--gold);
}

/* ─── ESPACES ────────────────────────────────────── */
#espaces {
  padding: 8rem 5rem;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* Fond pleine largeur (débordant du conteneur centré) + voile pour la lisibilité */
#espaces { isolation: isolate; }
#espaces::before {
  content: '';
  position: absolute;
  top: -16px;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100vw + 32px);
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(10,10,8,.86) 0%, rgba(10,10,8,.74) 45%, rgba(10,10,8,.90) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_21.webp') center/cover no-repeat,
    var(--bg);
  filter: blur(5px);   /* léger flou du fond ; les cartes restent nettes au-dessus */
  pointer-events: none;
}

.espaces-head { max-width: 1440px; margin: 0 auto 3.5rem; position: relative; z-index: 1; }

.espaces-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.4rem;
}

.espace-card {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s;
}

.espace-card:hover {
  border-color: var(--border-h);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 4px 16px rgba(232,168,32,.08);
}

.espace-card.featured { grid-column: span 2; }

.espace-img-wrap {
  overflow: hidden;
  position: relative;
  height: 260px;
}

.espace-card.featured .espace-img-wrap { height: 320px; }

.espace-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(10,10,8,.7));
  pointer-events: none;
}

.espace-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(15%) brightness(.82);
  transition: filter .45s cubic-bezier(.16,1,.3,1), transform .45s cubic-bezier(.16,1,.3,1);
}

.espace-card:hover .espace-img { filter: grayscale(0%) brightness(.95); transform: scale(1.04); }

.espace-body { padding: 1.75rem; }

.espace-tag {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(232,168,32,.1);
  border: 1px solid rgba(232,168,32,.25);
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
  margin-bottom: 0.75rem;
}

.espace-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.85rem;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.espace-size {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232,168,32,.65);
  margin-bottom: 0.75rem;
}

.espace-desc {
  font-size: 0.97rem;
  line-height: 1.75;
  color: rgba(240,237,230,.55);
}

.espace-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.espace-pill {
  font-family: 'Barlow', sans-serif;
  font-size: 0.81rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(240,237,230,.6);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

/* ─── COURS COLLECTIFS ───────────────────────────── */
#cours {
  padding: 8rem 5rem;
  max-width: 1440px;
  margin: 0 auto;
}

.cours-head { margin-bottom: 3.5rem; }

.cours-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
  margin-bottom: 5rem;
}

.cours-card {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s, transform 0.3s cubic-bezier(.16,1,.3,1), box-shadow 0.3s;
}

.cours-card:hover {
  border-color: var(--border-h);
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(0,0,0,.4), 0 4px 16px rgba(232,168,32,.08);
}

.cours-img {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  flex-shrink: 0;
}
.cours-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.12);
  transition: transform 0.6s cubic-bezier(.16,1,.3,1);
}
.cours-card:hover .cours-img img {
  transform: scale(1.18);
}

/* header coloré pour cartes sans image */
.cours-card-header {
  height: 4px;
  flex-shrink: 0;
}

.cours-card-body {
  padding: 1.3rem 1.5rem 1.6rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cours-cat {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  padding: 0.18rem 0.5rem;
  border-radius: 2px;
  margin-bottom: 0.7rem;
}

.cat-cardio   { color: #ff6b6b; background: rgba(255,107,107,.1); border: 1px solid rgba(255,107,107,.25); }
.cat-cycling  { color: #74b9ff; background: rgba(116,185,255,.1); border: 1px solid rgba(116,185,255,.25); }
.cat-force    { color: #55efc4; background: rgba(85,239,196,.1);  border: 1px solid rgba(85,239,196,.25); }
.cat-mindbody { color: #a29bfe; background: rgba(162,155,254,.1); border: 1px solid rgba(162,155,254,.25); }
.cat-danse    { color: #fd79a8; background: rgba(253,121,168,.1); border: 1px solid rgba(253,121,168,.25); }

/* ── Couleurs individuelles par cours (calquées sur le planning) ── */
.cat-bodypump      { color: #ff8fab; background: rgba(255,143,171,.12); border: 1px solid rgba(255,143,171,.35); }
.cat-bodyattack    { color: #ff2d78; background: rgba(255,45,120,.12);  border: 1px solid rgba(255,45,120,.35); }
.cat-bodycombat    { color: #ffe030; background: rgba(255,224,48,.1);   border: 1px solid rgba(255,224,48,.35); }
.cat-bodybalance   { color: #c5b8fa; background: rgba(197,184,250,.1);  border: 1px solid rgba(197,184,250,.35); }
.cat-core          { color: #ffaa88; background: rgba(255,170,136,.12); border: 1px solid rgba(255,170,136,.35); }
.cat-shapes        { color: #a8f0a8; background: rgba(168,240,168,.1);  border: 1px solid rgba(168,240,168,.35); }
.cat-gymdouce      { color: #4ade80; background: rgba(74,222,128,.1);   border: 1px solid rgba(74,222,128,.35); }
.cat-step          { color: #b47ffe; background: rgba(180,127,254,.12); border: 1px solid rgba(180,127,254,.35); }
.cat-zumba         { color: #ff8fab; background: rgba(255,143,171,.12); border: 1px solid rgba(255,143,171,.35); }
.cat-reejam        { color: #ff9b38; background: rgba(255,155,56,.12);  border: 1px solid rgba(255,155,56,.35); }
.cat-pilates       { color: #7bc8f6; background: rgba(123,200,246,.1);  border: 1px solid rgba(123,200,246,.35); }
.cat-rpm           { color: #67e8f9; background: rgba(103,232,249,.08); border: 1px solid rgba(103,232,249,.28); }
.cat-spinning      { color: #67e8f9; background: rgba(103,232,249,.08); border: 1px solid rgba(103,232,249,.28); }
.cat-crosstraining { color: #ff8751; background: rgba(255,135,81,.12);  border: 1px solid rgba(255,135,81,.35); }
.cat-hyrox              { color: #00d4c7; background: rgba(0,212,199,.1);    border: 1px solid rgba(0,212,199,.35); }
.cat-cardioboxe         { color: #ff4444; background: rgba(255,68,68,.1);    border: 1px solid rgba(255,68,68,.35); }
.cat-sprint             { color: #ff6b35; background: rgba(255,107,53,.12);  border: 1px solid rgba(255,107,53,.35); }
.cat-pilatesreformer    { color: #b8a9f8; background: rgba(184,169,248,.1);  border: 1px solid rgba(184,169,248,.35); }

/* ─── COMING SOON CARD ───────────────────────────── */
.cours-card--coming-soon { position: relative; }

.cours-coming-badge {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  background: var(--gold);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(232,168,32,.35);
}

.cours-card--coming-soon .cours-img img {
  filter: grayscale(55%) brightness(.65);
}

.cours-card--coming-soon .cours-card-body {
  opacity: 0.55;
}

.cours-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.65rem;
  letter-spacing: 0.02em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.cours-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
}

.cours-badge {
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(240,237,230,.5);
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
}

.cours-desc {
  font-size: 0.93rem;
  line-height: 1.7;
  color: rgba(240,237,230,.48);
}

.cours-programme {
  background:
    linear-gradient(180deg, rgba(10,10,8,.85) 0%, rgba(10,10,8,.72) 45%, rgba(10,10,8,.88) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_15.webp') center/cover no-repeat,
    var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
  --planning-side: clamp(0px, calc((100vw - 900px) / 2), 20rem);
  width: calc(100vw - 2 * var(--planning-side));
  position: relative;
  left: calc(50% - 50vw + var(--planning-side));
  border-left: none;
  border-right: none;
  border-radius: 0;
}

.cours-programme-head {
  padding: 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
}

.cours-programme-head h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.9rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.cours-programme-head h3 em { font-style: normal; color: var(--gold); }
.cours-programme img { width: 100%; display: block; }
.p-cell-anim-photo { width: 20px !important; height: 20px !important; display: block !important; }

/* ─── COURS PLACEHOLDER ──────────────────────────── */
.cours-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--s2) !important;
  border: none !important;
}
.cours-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 10px,
    rgba(255,255,255,.03) 10px,
    rgba(255,255,255,.03) 11px
  );
}
.cours-img-placeholder span {
  position: relative;
  z-index: 1;
  font-family: 'Bebas Neue', cursive;
  font-size: 1.65rem;
  letter-spacing: 0.06em;
  color: currentColor;
  opacity: 0.35;
  text-align: center;
  pointer-events: none;
}
/* Teinte de couleur par catégorie sur le bord gauche */
.cours-img-placeholder.cat-bodypump   { border-left: 3px solid #ff8fab !important; }
.cours-img-placeholder.cat-bodyattack { border-left: 3px solid #ff2d78 !important; }
.cours-img-placeholder.cat-bodycombat { border-left: 3px solid #ffe030 !important; }
.cours-img-placeholder.cat-bodybalance{ border-left: 3px solid #c5b8fa !important; }
.cours-img-placeholder.cat-core       { border-left: 3px solid #ffaa88 !important; }
.cours-img-placeholder.cat-shapes     { border-left: 3px solid #a8f0a8 !important; }
.cours-img-placeholder.cat-gymdouce   { border-left: 3px solid #4ade80 !important; }
.cours-img-placeholder.cat-step       { border-left: 3px solid #b47ffe !important; }
.cours-img-placeholder.cat-zumba      { border-left: 3px solid #ff8fab !important; }
.cours-img-placeholder.cat-reejam     { border-left: 3px solid #ff9b38 !important; }
.cours-img-placeholder.cat-pilates    { border-left: 3px solid #7bc8f6 !important; }
.cours-img-placeholder.cat-rpm        { border-left: 3px solid #67e8f9 !important; }
.cours-img-placeholder.cat-spinning   { border-left: 3px solid #67e8f9 !important; }
.cours-img-placeholder.cat-crosstraining { border-left: 3px solid #ff8751 !important; }
.cours-img-placeholder.cat-hyrox      { border-left: 3px solid #00d4c7 !important; }
.cours-img-placeholder.cat-cardioboxe { border-left: 3px solid #ff4444 !important; }

/* ─── PLANNING TABLE ─────────────────────────────── */
.planning-wrap {
  background: transparent;   /* laisse voir le fond de .cours-programme derrière tout le planning */
  border-top: 1px solid var(--border);
}
.planning-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.planning-table {
  width: 100%;
  table-layout: fixed;   /* colonnes de largeur égale et élastiques */
  border-collapse: collapse;
  font-family: 'Barlow', sans-serif;
}
.planning-table thead tr {
  background: rgba(15,13,11,.55);   /* semi-transparent : la texture reste visible sous les jours */
  border-bottom: 2px solid var(--border);
}
.planning-table th {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0.7rem 0.4rem 0.6rem;
  text-align: center;
  border-right: 1px solid rgba(232,168,32,.08);
  overflow: hidden;
}
.planning-table th:last-child { border-right: none; }
.planning-th-time {
  color: rgba(240,237,230,.35) !important;
  width: 62px;
}
.planning-table tbody tr {
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.planning-table tbody tr:nth-child(even) {
  background: rgba(255,255,255,.012);
}
.planning-table tbody tr:hover { background: rgba(232,168,32,.03); }
.planning-table td {
  padding: 3px;
  vertical-align: top;
  border-right: 1px solid rgba(232,168,32,.05);
  height: var(--plan-row, 56px);
}
.planning-table td:last-child { border-right: none; }
.planning-time {
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(240,237,230,.55);
  text-align: center;
  padding: 0 !important;
  white-space: nowrap;
  vertical-align: middle !important;
  width: 62px;
  font-variant-numeric: tabular-nums;
}
.p-cell {
  position: relative;
  border-radius: 3px;
  padding: 0.3rem 0.45rem;
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(10,10,8,.92);
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
  border: none !important;
  transition: filter 0.18s, transform 0.18s, box-shadow 0.18s;
  overflow: hidden;
  min-width: 0;
  box-sizing: border-box;
  background-image: linear-gradient(155deg, rgba(255,255,255,.12) 0%, rgba(0,0,0,.22) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 1px 4px rgba(0,0,0,.25);
}
.p-cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: rgba(255,255,255,.2);
  border-radius: 3px 3px 0 0;
}
.p-cell:hover { filter: brightness(1.1); }
.p-cell span {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.75;
  text-transform: none;
  letter-spacing: 0;
}
.p-cell-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.p-cell-time {
  font-size: 0.66rem;
  font-weight: 700;
  opacity: 0.82;
  text-transform: none;
  letter-spacing: 0.03em;
  font-variant-numeric: tabular-nums;
}
/* Carte très basse : nom + horaire uniquement, bien tassés */
.p-cell-mini { padding: 0.25rem 0.4rem; justify-content: center; gap: 0; }
.p-cell-mini .p-cell-name { font-size: 0.92rem; }
.p-cell-mini .p-cell-time { font-size: 0.6rem; }
/* Badge « places » toujours visible en coin bas-droit, même sur les cartes courtes */
.p-cell-badge {
  position: absolute;
  bottom: 3px; right: 4px;
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 1px 5px;
  border-radius: 2px;
  background: rgba(10,10,8,.32);
  color: rgba(10,10,8,.95);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
}
.p-cell-complet .p-cell-badge { background: rgba(180,20,20,.9); color: #fff; }

/* Séance annulée automatiquement (sous le seuil d'inscrits) */
.p-cell-annulee {
  filter: grayscale(0.7);
  opacity: 0.6;
  cursor: not-allowed;
}
.p-cell-annulee .p-cell-name { text-decoration: line-through; }
.p-cell-annulee .p-cell-badge { background: rgba(180,20,20,.92); color: #fff; }
.planning-day-card.pdc-annulee { opacity: 0.6; filter: grayscale(0.7); border-left-color: rgba(180,20,20,.7); }
.planning-day-card.pdc-annulee .pdc-name { text-decoration: line-through; }
.planning-day-card.pdc-annulee .pdc-badge { background: rgba(180,20,20,.92); color: #fff; }
.p-cell-anim {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0.9;
  text-transform: none;
  letter-spacing: 0;
  overflow: hidden;
}
.p-cell-anim span {
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: none;
  letter-spacing: 0;
}
.p-cell-anim-photo {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid rgba(255,255,255,.45);
  flex-shrink: 0;
  display: block;
  box-shadow: 0 1px 4px rgba(0,0,0,.3);
}
.p-cell-footer {
  font-size: 0.64rem;
  font-weight: 700;
  opacity: 0.62;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-right: 42px;   /* évite le chevauchement avec le badge en bas-droite */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* Backgrounds par discipline avec gradient de profondeur */
.p-cell.cat-bodypump     { background-color: #c84870; color: #fff; }
.p-cell.cat-bodyattack   { background-color: #e02060; color: #fff; }
.p-cell.cat-bodycombat   { background-color: #b89200; color: rgba(10,10,8,.9); }
.p-cell.cat-bodybalance  { background-color: #6b60b8; color: #fff; }
.p-cell.cat-core         { background-color: #b85a38; color: #fff; }
.p-cell.cat-shapes       { background-color: #3a9a3a; color: rgba(10,10,8,.9); }
.p-cell.cat-gymdouce     { background-color: #1a9858; color: rgba(10,10,8,.9); }
.p-cell.cat-step         { background-color: #6e38c0; color: #fff; }
.p-cell.cat-zumba        { background-color: #c84870; color: #fff; }
.p-cell.cat-reejam       { background-color: #b85a00; color: #fff; }
.p-cell.cat-pilates      { background-color: #2880b8; color: #fff; }
.p-cell.cat-rpm          { background-color: #007888; color: #fff; }
.p-cell.cat-spinning     { background-color: #007888; color: #fff; }
.p-cell.cat-crosstraining{ background-color: #a84010; color: #fff; }
.p-cell.cat-hyrox        { background-color: #00887d; color: rgba(10,10,8,.9); }
.p-cell.cat-cardioboxe   { background-color: #aa1818; color: #fff; }
.p-cell-empty {
  background: rgba(255,255,255,.04) !important;
  color: rgba(240,237,230,.3) !important;
  border: 1px dashed rgba(240,237,230,.1) !important;
  font-weight: 400;
  text-transform: none;
  font-size: 0.72rem;
}

/* ─── MODAL COURS ────────────────────────────────── */
.cours-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.82);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s cubic-bezier(.16,1,.3,1);
  backdrop-filter: blur(6px);
}
.cours-modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.cours-modal {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 6px;
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  transform: translateY(24px) scale(.97);
  transition: transform 0.32s cubic-bezier(.16,1,.3,1);
  box-shadow: 0 32px 80px rgba(0,0,0,.6), 0 0 0 1px rgba(232,168,32,.08);
}
.cours-modal-overlay.open .cours-modal {
  transform: translateY(0) scale(1);
}
.cours-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
  background: rgba(10,10,8,.6);
  border: 1px solid var(--border);
  color: rgba(240,237,230,.7);
  border-radius: 50%;
  width: 2.2rem; height: 2.2rem;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.cours-modal-close:hover { background: var(--gold); color: var(--bg); border-color: var(--gold); }
.cours-modal-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 6px 0 0 6px;
  min-height: 380px;
  background: var(--s2);
}
.cours-modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cours-modal-img-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 50%, var(--s1) 100%),
              linear-gradient(to top, rgba(0,0,0,.4) 0%, transparent 50%);
}
.cours-modal-body {
  padding: 2.5rem 2.25rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  justify-content: center;
}
.cours-modal-cat {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
  display: inline-block;
  align-self: flex-start;
}
.cours-modal-title {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 0.95;
  color: var(--white);
  letter-spacing: 0.02em;
}
.cours-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cours-modal-meta .cours-badge {
  font-size: 0.78rem;
}
.cours-modal-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(240,237,230,.7);
  margin: 0;
}
.cours-modal-benefits {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cours-modal-benefit {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.88rem;
  color: rgba(240,237,230,.65);
}
.cours-modal-benefit::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.cours-modal-cta { align-self: flex-start; margin-top: 0.5rem; text-decoration: none; }

/* Placeholder dans le modal */
.cours-modal-img-wrap.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cours-modal-img-wrap.placeholder .cours-modal-img { display: none; }

@media (max-width: 680px) {
  .cours-modal { grid-template-columns: 1fr; max-height: 95vh; }
  .cours-modal-img-wrap { min-height: 220px; border-radius: 6px 6px 0 0; }
  .cours-modal-img-veil { background: linear-gradient(to top, var(--s1) 0%, transparent 60%); }
  .cours-modal-body { padding: 1.75rem 1.5rem; }
}

/* ─── CONTACT FORM ───────────────────────────────── */
#contact-form {
  background:
    linear-gradient(160deg, rgba(10,10,8,.88) 0%, rgba(10,10,8,.80) 50%, rgba(10,10,8,.92) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_20.webp') center/cover no-repeat,
    var(--bg);
  padding: 8rem 5rem;
  border-top: 1px solid var(--border);
}
.contact-form-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.cf-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,237,230,.55);
}
.cf-input {
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 0.85rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.cf-input::placeholder { color: rgba(240,237,230,.28); }
.cf-input:focus { border-color: var(--gold); }
.cf-select { cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23E8A820' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.cf-select option { background: var(--s2); color: var(--white); }
.cf-textarea { resize: vertical; min-height: 130px; }
.cf-submit { border: none; cursor: pointer; font-size: 1rem; width: fit-content; }
.cf-submit:hover { opacity: 0.9; }
.cf-success {
  display: none;
  background: rgba(232,168,32,.12);
  border: 1px solid rgba(232,168,32,.35);
  border-radius: 3px;
  padding: 0.85rem 1.1rem;
  font-size: 0.9rem;
  color: var(--gold);
}
.cf-success.visible { display: block; }

/* ─── CONTACT ────────────────────────────────────── */
#contact {
  background:
    linear-gradient(160deg, rgba(10,10,8,.84) 0%, rgba(10,10,8,.74) 50%, rgba(10,10,8,.90) 100%),
    url('../../Brand_Assets/Backgrounds/La_Salle_Ghlin_Background_14.webp') center/cover no-repeat,
    var(--s1);
  padding: 8rem 5rem;
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,168,32,.05) 0%, transparent 65%);
  pointer-events: none;
}

.contact-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 6rem;
  align-items: start;
}

.contact-items {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.c-item { display: flex; gap: 1.1rem; align-items: flex-start; }

.c-icon {
  width: 44px;
  height: 44px;
  background: var(--s3);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: border-color 0.2s;
}

.c-item:hover .c-icon { border-color: var(--border-h); }

.c-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.90rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.c-val { font-size: 0.92rem; color: var(--white); text-decoration: none; transition: color 0.2s; }
a.c-val:hover { color: var(--gold); }

.socials { display: flex; gap: 0.7rem; margin-top: 2rem; }

.soc-btn {
  width: 44px;
  height: 44px;
  background: var(--s3);
  border: 1px solid var(--border);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(240,237,230,.6);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s, transform 0.18s cubic-bezier(.16,1,.3,1);
}

.soc-btn:hover  { border-color: var(--gold); color: var(--gold); background: rgba(232,168,32,.06); transform: translateY(-2px); }
.soc-btn:active { transform: translateY(0); }
.soc-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.map-wrap {
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 440px;
  position: relative;
}

/* ─── FOOTER ─────────────────────────────────────── */
footer {
  background: #060604;
  border-top: 1px solid var(--border);
}

.footer-cols {
  max-width: 1440px;
  margin: 0 auto;
  padding: 4.5rem 5rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-brand img {
  height: 30px;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.footer-brand span {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: rgba(240,237,230,.7);
}

.footer-tagline {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(240,237,230,.35);
  max-width: 260px;
  margin-bottom: 1.5rem;
}

.footer-col-title {
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-nav-list a {
  font-size: 0.97rem;
  color: rgba(240,237,230,.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav-list a:hover { color: rgba(240,237,230,.8); }

.footer-info-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-info-list > * {
  font-size: 0.97rem;
  color: rgba(240,237,230,.4);
  line-height: 1.5;
}

.footer-info-list a { color: rgba(240,237,230,.4); text-decoration: none; transition: color 0.2s; }
.footer-info-list a:hover { color: rgba(240,237,230,.75); }

.footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.75rem 5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.90rem;
  color: rgba(240,237,230,.25);
}

.footer-legal {
  font-size: 0.95rem;
  color: rgba(240,237,230,.2);
  text-align: right;
  line-height: 1.7;
}

.footer-legal a { color: inherit; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: rgba(240,237,230,.5); }

.footer-credit {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 5rem 1.75rem;
  font-size: 0.85rem;
  color: rgba(240,237,230,.25);
  text-align: center;
}
.footer-credit .footer-heart {
  color: var(--gold);
  font-style: normal;
}
.footer-credit a {
  color: rgba(240,237,230,.45);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-credit a:hover { color: var(--gold); }
.footer-credit a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* ─── LIGHTBOX (carrousel plein écran) ───────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vmin;
  background: rgba(10,10,8,.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s cubic-bezier(.16,1,.3,1), visibility 0s linear .35s;
}
.lightbox.open {
  opacity: 1;
  visibility: visible;
  transition: opacity .35s cubic-bezier(.16,1,.3,1);
}

.lightbox-figure {
  position: relative;
  display: inline-block;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 4px;
  box-shadow: 0 40px 120px rgba(0,0,0,.6);
  transform: scale(.96);
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.lightbox.open .lightbox-figure { transform: scale(1); }

.lightbox-img {
  display: block;
  max-width: 92vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  border-radius: 4px;
}

/* Légende bas-gauche, proportionnelle à l'image */
.lightbox-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 14% 6% 5%;
  background: linear-gradient(to top, rgba(10,10,8,.9) 0%, rgba(10,10,8,.45) 45%, transparent 100%);
  font-family: 'Barlow', sans-serif;
  font-size: clamp(0.8rem, 1.5vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  border-radius: 0 0 4px 4px;
  pointer-events: none;
}
.lightbox-caption::before {
  content: '';
  flex-shrink: 0;
  width: clamp(24px, 3vw, 40px);
  height: 2px;
  background: var(--gold);
}
.lightbox-caption:empty { display: none; }

.lightbox-close {
  position: absolute;
  top: 3vmin;
  right: 3vmin;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240,237,230,.08);
  border: 1px solid rgba(240,237,230,.18);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}
.lightbox-close:hover {
  background: rgba(232,168,32,.16);
  border-color: var(--border-h);
  color: var(--gold);
  transform: scale(1.06);
}
.lightbox-close:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Flèches de navigation précédent / suivant */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(240,237,230,.08);
  border: 1px solid rgba(240,237,230,.18);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  z-index: 2;
  transition: background .25s, border-color .25s, transform .25s;
}
.lightbox-prev { left: 3vmin; }
.lightbox-next { right: 3vmin; }
.lightbox-nav:hover {
  background: rgba(232,168,32,.16);
  border-color: var(--border-h);
  color: var(--gold);
  transform: translateY(-50%) scale(1.06);
}
.lightbox-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Fondu à chaque changement d'image */
.lightbox-img.is-swapping { animation: lbFade .28s ease; }
@keyframes lbFade { from { opacity: .35; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .lightbox, .lightbox-figure, .lightbox-close, .lightbox-nav { transition: none; }
  .lightbox-figure { transform: none; }
  .lightbox-img.is-swapping { animation: none; }
}

@media (max-width: 480px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 2vmin; }
  .lightbox-next { right: 2vmin; }
}

/* ─── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  #nav, #nav.scrolled { padding-left: 2.5rem; padding-right: 2.5rem; }

  /* Mobile : pas de backdrop-filter sur la nav scrollée. Sinon #nav devient le
     bloc conteneur de ses enfants position:fixed et l'overlay du menu burger
     (.nav-links.open) se retrouve confiné à la barre de nav au lieu de couvrir
     tout l'écran quand on a scrollé. */
  #nav.scrolled {
    background: rgba(10,10,8,0.97);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-links {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10,10,8,.98);
    backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 600;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; }
  .nav-burger { display: flex; }

  .hero-content  { padding: 0 2.5rem 5.5rem; }
  .hero-stats    { display: none; }

  #about         { padding: 7rem 2.5rem; }
  /* Mobile : titre au-dessus du carrousel, corps + highlights en dessous */
  .about-inner   { display: flex; flex-direction: column; gap: 3.5rem; }
  .about-copy    { display: contents; }
  .about-head    { order: -1; }
  .about-carousel { height: 520px; }
  .ac-slide { width: 320px; height: 480px; }

  #services      { padding: 5.5rem 2.5rem; }
  .services-grid { grid-template-columns: 1fr; }

  #tarifs        { padding: 5.5rem 2.5rem; }
  .tarifs-layout { grid-template-columns: 1fr; gap: 3rem; }

  #horaires      { padding: 5.5rem 2.5rem; }
  .horaires-inner { grid-template-columns: 1fr; gap: 3.5rem; }

  #espaces       { padding: 5rem 2.5rem; }
  .espaces-grid  { grid-template-columns: 1fr; }
  .espace-card.featured { grid-column: span 1; }

  #cours         { padding: 5.5rem 2.5rem; }
  .cours-grid    { grid-template-columns: repeat(3, 1fr); }

  #contact       { padding: 5.5rem 2.5rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 3.5rem; }

  .cta-band      { padding: 5rem 2.5rem; }

  .page-hero-content { padding: 0 2.5rem 3.5rem; }
  .breadcrumb        { left: 2.5rem; }

  .stats-bar-inner { padding: 0 2.5rem; }
  .stats-bar-item  { padding-left: 1rem; padding-right: 1rem; }

  footer         { padding: 0; }
  .footer-cols   { padding: 3.5rem 2.5rem; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-bottom { padding: 1.5rem 2.5rem; flex-direction: column; text-align: center; }
  .footer-legal  { text-align: center; }
  .footer-credit { padding: 0 2.5rem 1.5rem; }
}

@media (max-width: 760px) {
  .cours-grid   { grid-template-columns: repeat(2, 1fr); }
  .formules-wrap { grid-template-columns: 1fr; }
  .formule-card { padding: 1.5rem 1.75rem; }
  /* Carte adresse (contact) : hauteur auto pour ne rien couper + contenu centré */
  .map-wrap { height: auto; }
  .map-card-content {
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.75rem !important;
  }
  .map-card-content .btn-gold { align-self: center !important; }

  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item  { border-right: none; border-bottom: 1px solid var(--border); }
  .stats-bar-item:nth-child(odd)  { border-right: 1px solid var(--border); }
  .stats-bar-item:last-child,
  .stats-bar-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  /* En grille 2 colonnes, la 1re cellule doit s'aligner avec celle du dessous */
  .stats-bar-item:first-child { padding-left: 1rem; }
  /* Masque le repère de défilement doré en bas du hero sur mobile */
  .scroll-cue { display: none; }
  .footer-cols  { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  /* Footer centré en version mobile (colonne unique) */
  .footer-brand     { justify-content: center; }
  .socials          { justify-content: center; }
  .footer-info-list { align-items: center; }
  .footer-tagline   { margin-left: auto; margin-right: auto; }   /* centre la boîte max-width */
  .contact-form-inner { grid-template-columns: 1fr; gap: 3rem; }
  #contact-form { padding: 5rem 2.5rem; }
  .cf-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero-ctas     { flex-direction: column; }
  .highlights    { grid-template-columns: 1fr; }
  .cours-grid    { grid-template-columns: 1fr; }
  .cta-band-btns { flex-direction: column; align-items: center; }
  .stats-bar-inner { grid-template-columns: 1fr 1fr; }
}

/* ─── SMALL MOBILE (< 480px) ─────────────────────── */
@media (max-width: 480px) {

  /* Nav */
  #nav, #nav.scrolled { padding-left: 1.1rem; padding-right: 1.1rem; }
  .nav-brand-text { font-size: 1.4rem; }

  /* Hero mobile — accroche + titre en haut (sous le logo),
     sous-texte + boutons conservés en bas comme avant */
  #hero { align-items: stretch; }
  .hero-content {
    display: flex;
    flex-direction: column;
    padding: 6.5rem 1.1rem 3.5rem;
  }
  .hero-h1 { font-size: clamp(3.6rem, 18vw, 5.5rem); }
  .hero-sub { font-size: 0.92rem; margin-top: auto; }

  /* Page heroes */
  .page-hero-content { padding: 0 1.1rem 2rem; }
  .page-hero-title { font-size: clamp(2.4rem, 13vw, 3.5rem); }
  .page-hero-sub { font-size: 0.88rem; }
  .breadcrumb { left: 1.1rem; }

  /* Stats bar */
  .stats-bar-inner { padding: 0 1.1rem; }
  .stats-bar-n { font-size: 1.9rem; }
  .stats-bar-l { font-size: 0.78rem; letter-spacing: 0.06em; }

  /* About */
  #about { padding: 5rem 1.1rem; }
  .about-inner { gap: 2.5rem; }
  .about-carousel { height: 300px; }
  .about-badge { display: none; }
  .ac-slide { width: 240px; height: 280px; }
  .section-title { font-size: clamp(2.2rem, 10vw, 3rem); }

  /* Formules — cartes légèrement réduites sur mobile */
  .formule-card { padding: 1.25rem 1.5rem 1.6rem; }
  .formule-amt  { font-size: 4.8rem; }
  .formule-name { font-size: 1.4rem; }

  /* Cours preview (index) */
  #cours-preview { padding: 3.5rem 1.1rem 0; }
  .cp-header { margin-bottom: 2rem; }
  .cp-row-name { font-size: 1.6rem; }
  .cp-lm-badge { font-size: 0.72rem; padding: 0.4rem 0.8rem; }

  /* Horaires */
  #horaires { padding: 3.5rem 1.1rem; }
  .h-day { font-size: 0.82rem; letter-spacing: 0.06em; }
  .h-time { font-size: 1rem; }

  /* Espaces */
  #espaces { padding: 3.5rem 1.1rem; }
  .espace-img-wrap { height: 200px; }
  .espace-card.featured .espace-img-wrap { height: 220px; }
  .espace-name { font-size: 1.5rem; }

  /* Cours grid */
  #cours { padding: 3.5rem 1.1rem; }
  .cours-grid { gap: 1rem; }
  .cours-name { font-size: 1.4rem; }
  .cours-img { aspect-ratio: 4/3; }

  /* Tarifs */
  #tarifs { padding: 3.5rem 1.1rem; }
  .tp-num { font-size: 3rem; }

  /* CTA band */
  .cta-band { padding: 3.5rem 1.1rem; }
  .cta-band h2 { font-size: clamp(2rem, 10vw, 3rem); }

  /* Contact */
  #contact { padding: 3.5rem 1.1rem; }
  #contact-form { padding: 3.5rem 1.1rem; }

  /* Footer */
  .footer-cols { padding: 2.5rem 1.1rem; gap: 1.5rem; grid-template-columns: 1fr; }
  .footer-bottom { padding: 1.25rem 1.1rem; }
  .footer-credit { padding: 0 1.1rem 1.25rem; }

  /* Ticker fades */
  .cours-ticker-wrap::before,
  .cours-ticker-wrap::after { width: 60px; }

  /* Map : hauteur auto (déjà définie plus haut) pour ne rien tronquer */
}

/* ═══════════════════════════════════════════════════
   BOOKING SYSTEM — Réservation en ligne
   ═══════════════════════════════════════════════════ */

/* ── Planning dynamique ── */
.planning-loading {
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  color: rgba(240,237,230,.25);
  letter-spacing: 0.05em;
}

.planning-th-today {
  color: var(--gold) !important;
  position: relative;
}
.planning-th-today::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.planning-th-date {
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.4;
  display: block;
  margin-top: 4px;
  letter-spacing: 0.05em;
  text-transform: none;
}

.p-cell-bookable {
  cursor: pointer;
  transition: filter 0.18s, transform 0.18s !important;
}

.p-cell-view {
  cursor: pointer;
}

.p-cell-bookable:hover {
  filter: brightness(1.15) !important;
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 6px 18px rgba(0,0,0,.4) !important;
}

/* ── Aperçu au survol ─────────────────────────────────
   Tout le contenu est dans le DOM mais masqué selon la place disponible.
   Au survol, la carte se déploie sur toute la largeur de sa colonne (elle
   recouvre ses voisines en parallèle, sans jamais déborder de la colonne) et
   révèle des infos supplémentaires avant le clic. */
.p-cell-badge, .p-cell-anim, .p-cell-footer, .p-cell-cta { display: none; }
.p-cell-time { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Contenu de base visible selon la hauteur (cartes seules) */
.p-cell-sm  > .p-cell-badge,
.p-cell-lg  > .p-cell-badge,
.p-cell-sm  > .p-cell-footer,
.p-cell-lg  > .p-cell-footer { display: block; }
.p-cell-lg  > .p-cell-anim  { display: flex; }

/* Cartes en parallèle : on masque animateur + salle (et badge si 3+) pour
   rester lisibles malgré la largeur réduite. Placé APRÈS les règles de taille
   pour l'emporter sur une carte haute mais étroite. */
.p-cell-multi  > .p-cell-anim,
.p-cell-multi  > .p-cell-footer { display: none; }
.p-cell-multi3 > .p-cell-badge  { display: none; }

.p-cell-bookable:hover,
.p-cell-view:not(.p-cell-complet):hover {
  left: 2px !important;
  right: 2px !important;
  width: auto !important;
  height: auto !important;
  min-height: var(--card-h, 34px);
  overflow: visible;
  z-index: 60;
  gap: 3px;
  padding: 0.4rem 0.55rem;
  justify-content: flex-start;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 14px 34px rgba(0,0,0,.6) !important;
  transition-delay: 80ms;
}
/* Au survol, on montre TOUT quelle que soit la taille/le parallélisme */
.p-cell-bookable:hover > .p-cell-badge,
.p-cell-view:not(.p-cell-complet):hover > .p-cell-badge,
.p-cell-bookable:hover > .p-cell-footer,
.p-cell-view:not(.p-cell-complet):hover > .p-cell-footer,
.p-cell-bookable:hover > .p-cell-cta,
.p-cell-view:not(.p-cell-complet):hover > .p-cell-cta { display: block; }
.p-cell-bookable:hover > .p-cell-anim,
.p-cell-view:not(.p-cell-complet):hover > .p-cell-anim { display: flex; }
.p-cell-bookable:hover > .p-cell-footer,
.p-cell-view:not(.p-cell-complet):hover > .p-cell-footer { margin-top: 2px; }

/* Nom du cours + nom de l'animateur en entier (retour à la ligne) au survol */
.p-cell-bookable:hover > .p-cell-name,
.p-cell-view:not(.p-cell-complet):hover > .p-cell-name,
.p-cell-bookable:hover .p-cell-anim span,
.p-cell-view:not(.p-cell-complet):hover .p-cell-anim span {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

/* Ligne d'appel à l'action, visible uniquement au survol */
.p-cell-cta {
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid rgba(255,255,255,.28);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Fondu/glisse du contenu révélé (transform + opacity uniquement) */
.p-cell-bookable:hover > .p-cell-anim,
.p-cell-bookable:hover > .p-cell-footer,
.p-cell-bookable:hover > .p-cell-cta,
.p-cell-view:not(.p-cell-complet):hover > .p-cell-anim,
.p-cell-view:not(.p-cell-complet):hover > .p-cell-footer,
.p-cell-view:not(.p-cell-complet):hover > .p-cell-cta {
  animation: pCellReveal 0.2s ease 80ms both;
}
@keyframes pCellReveal {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.p-cell-complet {
  opacity: 0.42 !important;
  cursor: default;
}

.p-cell-td-span {
  position: relative;
  padding: 3px !important;
  vertical-align: top;
}

.p-cell-td-span .p-cell {
  position: absolute;
  inset: 3px;
  height: auto;
  margin: 0;
}

/* Placement proportionnel à la minute : la case ancre les séances en absolu */
.p-cell-td-abs {
  position: relative;
  padding: 0 !important;
  vertical-align: top;
}
.p-cell-td-abs .p-cell {
  margin: 0;
}

/* Sprint & Pilates Reformer (classes manquantes) */
.p-cell.cat-sprint          { background-color: #a83800; color: #fff; }
.p-cell.cat-pilatesreformer { background-color: #5e3e88; color: #fff; }

/* ── Vue planning mobile (jour par jour) ── */
.planning-day-tabs {
  display: flex; gap: 4px; margin-bottom: 1rem;
  overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: 4px;
}
.pday-tab {
  flex: 1 0 auto; min-width: 44px;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(240,237,230,.08);
  border-radius: 6px; padding: 0.5rem 0.35rem; cursor: pointer;
  font-family: 'Barlow', sans-serif; color: rgba(240,237,230,.5);
  transition: background .18s, border-color .18s, color .18s;
}
.pday-tab .pday-name { font-size: 0.62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.pday-tab .pday-num  { font-family: 'Bebas Neue', cursive; font-size: 1.15rem; line-height: 1; }
.pday-tab.today  { border-color: rgba(232,168,32,.35); }
.pday-tab.active { background: rgba(232,168,32,.14); border-color: rgba(232,168,32,.5); color: #e8a820; }

.planning-day-list  { display: flex; flex-direction: column; gap: 0.6rem; }
.planning-day-empty { text-align: center; color: rgba(240,237,230,.3); font-family: 'Barlow', sans-serif; font-size: 0.9rem; padding: 2.5rem 0; }
.planning-day-card {
  display: flex; align-items: stretch; gap: 0.85rem;
  background: linear-gradient(155deg, rgba(255,255,255,.05), rgba(0,0,0,.15));
  border: 1px solid rgba(240,237,230,.08); border-left: 3px solid #e8a820;
  border-radius: 6px; padding: 0.75rem 0.85rem; cursor: pointer;
  transition: transform .15s ease;
}
.planning-day-card:active { transform: scale(.99); }
.planning-day-card.is-full { opacity: .55; border-left-color: rgba(240,237,230,.2); }
.pdc-time {
  font-family: 'Bebas Neue', cursive; font-size: 1.1rem; color: #e8a820;
  line-height: 1.05; min-width: 46px; display: flex; flex-direction: column; justify-content: center;
}
.pdc-time span { color: rgba(240,237,230,.4); font-size: 0.85rem; }
.pdc-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.pdc-name { font-family: 'Bebas Neue', cursive; font-size: 1.15rem; letter-spacing: .04em; color: #f0ede6; }
.pdc-meta { font-family: 'Barlow', sans-serif; font-size: 0.75rem; color: rgba(240,237,230,.45); margin-top: 2px; display: flex; align-items: center; gap: 4px; }
.pdc-anim { display: inline-flex; align-items: center; gap: 4px; }
.pdc-anim img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.pdc-badge {
  align-self: center; font-family: 'Barlow', sans-serif; font-size: 0.68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em; color: rgba(232,168,32,.9);
  background: rgba(232,168,32,.1); border: 1px solid rgba(232,168,32,.2);
  padding: 3px 8px; border-radius: 3px; white-space: nowrap; flex-shrink: 0;
}
.planning-day-card.is-full .pdc-badge { color: #e05252; background: rgba(224,82,82,.08); border-color: rgba(224,82,82,.2); }

/* ── Section container ── */
.booking-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}

.booking-section-head {
  margin-bottom: 2rem;
}

.booking-section-head h3 {
  font-family: 'Bebas Neue', cursive;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--white);
  margin-top: 0.4rem;
}

/* ── Week navigation ── */
.booking-week-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.booking-nav-btn {
  background: transparent;
  border: 1px solid rgba(232,168,32,.25);
  color: rgba(240,237,230,.5);
  width: 32px;
  height: 32px;
  border-radius: 2px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.booking-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(232,168,32,.06);
}

.booking-week-label {
  font-family: 'Bebas Neue', cursive;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.5);
}

/* ── Day grid ── */
.booking-grid {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(232,168,32,0.2) transparent;
}

.booking-grid::-webkit-scrollbar { height: 4px; }
.booking-grid::-webkit-scrollbar-track { background: transparent; }
.booking-grid::-webkit-scrollbar-thumb { background: rgba(232,168,32,0.25); border-radius: 2px; }

.booking-day {
  min-width: 155px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.booking-day.day-past { opacity: 0.38; pointer-events: none; }

.booking-day-header {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.2rem;
}

.booking-day-header.day-today { border-color: var(--gold); }

.booking-day-name {
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.35);
}

.booking-day-num {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--white);
}

.day-today .booking-day-num { color: var(--gold); }

/* ── Session card ── */
.booking-card {
  background: var(--s2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  padding: 0.7rem 0.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.booking-card:hover { border-color: rgba(232,168,32,0.5); transform: translateY(-1px); }
.booking-card.is-full { opacity: 0.5; }

/* left-border color per category */
.booking-card.cat-bodypump      { border-left-color: #e8608a; }
.booking-card.cat-bodyattack    { border-left-color: #ff2d78; }
.booking-card.cat-bodycombat    { border-left-color: #d4aa00; }
.booking-card.cat-bodybalance   { border-left-color: #8b7fd4; }
.booking-card.cat-core          { border-left-color: #d4714a; }
.booking-card.cat-shapes        { border-left-color: #5ab85a; }
.booking-card.cat-gymdouce      { border-left-color: #2db870; }
.booking-card.cat-step          { border-left-color: #8b52e0; }
.booking-card.cat-zumba         { border-left-color: #e8608a; }
.booking-card.cat-reejam        { border-left-color: #d4720a; }
.booking-card.cat-pilates       { border-left-color: #4a9fd4; }
.booking-card.cat-rpm           { border-left-color: #0098aa; }
.booking-card.cat-spinning      { border-left-color: #0098aa; }
.booking-card.cat-crosstraining { border-left-color: #c85a20; }
.booking-card.cat-cardioboxe    { border-left-color: #cc2222; }
.booking-card.cat-sprint        { border-left-color: #c84800; }
.booking-card.cat-pilatesreformer { border-left-color: #7b5ea7; }

.booking-card-time {
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(240,237,230,0.38);
  margin-bottom: 0.2rem;
}

.booking-card-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--white);
  line-height: 1.1;
}

.booking-card-salle {
  font-family: 'Barlow', sans-serif;
  font-size: 0.66rem;
  color: rgba(240,237,230,0.3);
  margin-top: 0.1rem;
}

.booking-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  margin-top: 0.55rem;
}

.booking-badge {
  font-family: 'Barlow', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.18rem 0.4rem;
  border-radius: 2px;
  white-space: nowrap;
}

.badge-places-ok   { background: rgba(85,239,196,0.1); color: #55efc4; }
.badge-places-low  { background: rgba(255,170,0,0.12); color: #ffaa00; }
.badge-places-full { background: rgba(255,68,68,0.1); color: #ff5252; }

.booking-btn {
  font-family: 'Barlow', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  background: var(--gold);
  color: #000;
  border: none;
  padding: 0.28rem 0.55rem;
  border-radius: 2px;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s;
  white-space: nowrap;
}

.booking-btn:hover  { opacity: 0.82; transform: translateY(-1px); }
.booking-btn:active { transform: translateY(0); }

/* ── Empty state ── */
.booking-empty {
  text-align: center;
  padding: 3rem 1rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: rgba(240,237,230,0.25);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════
   COURSE CARD MODAL
   ═══════════════════════════════════════════════ */

#modal-card {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  backdrop-filter: blur(8px);
}

#modal-card.open { opacity: 1; pointer-events: all; }

.cc-box {
  background: #141412;
  border-radius: 14px;
  width: 100%;
  max-width: 480px;
  max-height: 92vh;
  overflow: hidden;
  overflow-y: auto;
  transform: translateY(26px) scale(0.97);
  transition: transform 0.3s cubic-bezier(.16,1,.3,1);
  border: 1px solid rgba(240,237,230,.08);
  box-shadow: 0 40px 100px rgba(0,0,0,.55);
  scrollbar-width: none;
}
.cc-box::-webkit-scrollbar { display: none; }
#modal-card.open .cc-box { transform: translateY(0) scale(1); }

/* Image */
.cc-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}
.cc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.18) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1.5rem;
}
.cc-close-btn {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  background: rgba(0,0,0,.52);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.88);
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.28rem 0.9rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s;
}
.cc-close-btn:hover { background: rgba(0,0,0,.8); }

.cc-img-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 2.3rem;
  letter-spacing: 0.05em;
  color: #fff;
  line-height: 1;
}
.cc-img-date {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,.65);
  margin-top: 0.25rem;
}

/* Body */
.cc-body { padding: 1.4rem 1.6rem 1.7rem; }

.cc-animator {
  display: flex;
  align-items: flex-start;
  gap: 1.3rem;
  padding: 1.3rem 1.4rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, rgba(232,168,32,.10), rgba(232,168,32,.02));
  border: 1px solid rgba(232,168,32,.18);
  border-radius: 16px;
}
.cc-anim-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--gold);
  box-shadow: 0 12px 32px rgba(0,0,0,.42), 0 0 0 6px rgba(232,168,32,.09);
  flex-shrink: 0;
}
.cc-anim-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(232,168,32,.1);
  border: 4px solid rgba(232,168,32,.25);
  box-shadow: 0 12px 32px rgba(0,0,0,.42), 0 0 0 6px rgba(232,168,32,.09);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.9rem;
  flex-shrink: 0;
}
.cc-anim-label {
  font-family: 'Barlow', sans-serif;
  font-size: 0.85rem;
  color: rgba(240,237,230,.5);
}
.cc-anim-info { display: flex; flex-direction: column; gap: 0.2rem; min-width: 0; }
.cc-anim-eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(232,168,32,.75);
}
.cc-anim-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.85rem;
  letter-spacing: 0.03em;
  line-height: 1.08;
  color: #f0ede6;
}
.cc-anim-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(240,237,230,.55);
  margin-top: 0.3rem;
}

/* Sous la bascule split-screen : carte coach empilée et centrée
   (une grande photo au-dessus d'un texte étroit se lit mal en colonne). */
@media (max-width: 859px) {
  .cc-animator { flex-direction: column; align-items: center; text-align: center; }
  .cc-anim-info { align-items: center; }
}

.cc-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.85rem 0;
}
.cc-stats {
  display: flex;
  gap: 1.5rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  color: rgba(240,237,230,.5);
  margin-bottom: 1.1rem;
}
.cc-stat-val { font-weight: 700; color: var(--white); }

.cc-cta-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.83rem;
  color: rgba(240,237,230,.38);
  font-style: italic;
  margin-bottom: 0.7rem;
}

/* Form inside card */
.cc-back-link {
  font-family: 'Barlow', sans-serif;
  font-size: 0.77rem;
  color: rgba(240,237,230,.35);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}
.cc-back-link:hover { color: rgba(240,237,230,.7); }

.cc-form-group { margin-bottom: 0.88rem; }

/* Success */
.cc-success { text-align: center; padding: 2rem 0 0.5rem; }
.cc-success-icon { font-size: 2.5rem; margin-bottom: 0.7rem; }
.cc-success-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  color: #55efc4;
  letter-spacing: 0.05em;
  margin-bottom: 0.45rem;
}
.cc-success-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  color: rgba(240,237,230,.5);
  line-height: 1.65;
}

/* ── Fiche cours : mise en page « split-screen » sur grand écran ──
   Le modal passait à peine 460px de large, minuscule sur un moniteur
   large. À partir de 860px de viewport : grande image plein cadre à
   gauche, contenu spacieux à droite (coach mis en valeur). */
@media (min-width: 860px) {
  .cc-box {
    max-width: 1080px;
    max-height: 86vh;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
  }
  .cc-img-wrap {
    width: 42%;
    height: auto;
    flex-shrink: 0;
  }
  .cc-img-overlay { padding: 2rem 2.1rem; }
  .cc-img-title { font-size: 3rem; }
  .cc-img-date { font-size: 0.95rem; }
  .cc-close-btn { top: 1.15rem; right: 1.15rem; font-size: 0.76rem; padding: 0.4rem 1.05rem; }

  .cc-body {
    width: 58%;
    padding: 2.6rem 2.9rem 2.5rem;
    overflow-y: auto;
    scrollbar-width: none;
  }
  .cc-body::-webkit-scrollbar { display: none; }

  .cc-animator { padding: 1.7rem 1.8rem; gap: 1.8rem; margin-bottom: 1.5rem; }
  .cc-anim-photo, .cc-anim-placeholder { width: 190px; height: 190px; border-width: 4px; }
  .cc-anim-placeholder { font-size: 3.6rem; }
  .cc-anim-eyebrow { font-size: 0.74rem; }
  .cc-anim-name { font-size: 2.5rem; }
  .cc-anim-desc { font-size: 0.96rem; line-height: 1.62; margin-top: 0.5rem; }

  .cc-divider { margin: 1.1rem 0; }
  .cc-stats { gap: 2rem; font-size: 0.98rem; margin-bottom: 1.5rem; }
  .cc-cta-text { font-size: 0.9rem; margin-bottom: 1rem; }
  #cc-btn-reserve, #cc-btn-waitlist { padding: 0.95rem !important; font-size: 0.98rem !important; }
}

/* ── Booking modal (keep for bm-* classes used in form) ── */
#modal-booking {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.82);
  z-index: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
  backdrop-filter: blur(6px);
}

#modal-booking.open {
  opacity: 1;
  pointer-events: all;
}

.bm-box {
  background: var(--s1);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  width: 100%;
  max-width: 420px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(22px);
  transition: transform 0.25s cubic-bezier(.16,1,.3,1);
}

#modal-booking.open .bm-box { transform: translateY(0); }

.bm-close {
  background: none;
  border: none;
  color: rgba(240,237,230,0.35);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  transition: color 0.2s;
}

.bm-close:hover { color: var(--white); }

.bm-cours-name {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.9rem;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1;
}

.bm-meta {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  color: rgba(240,237,230,0.4);
  margin: 0.35rem 0 0.2rem;
}

.bm-spots {
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #55efc4;
  margin-bottom: 1.4rem;
}

.bm-group {
  margin-bottom: 0.95rem;
}

.bm-label {
  display: block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(240,237,230,0.4);
  margin-bottom: 0.35rem;
}

.bm-input {
  width: 100%;
  background: var(--s2);
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  padding: 0.58rem 0.8rem;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.bm-input:focus { border-color: var(--gold); }

.bm-error {
  font-family: 'Barlow', sans-serif;
  font-size: 0.82rem;
  color: #ff5252;
  margin-bottom: 0.8rem;
  display: none;
}

/* ── Success state ── */
.bm-success {
  text-align: center;
  padding: 1.5rem 0 0.5rem;
  display: none;
}

.bm-success-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.bm-success-title {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.8rem;
  color: #55efc4;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.bm-success-text {
  font-family: 'Barlow', sans-serif;
  font-size: 0.88rem;
  color: rgba(240,237,230,0.55);
  line-height: 1.6;
}
