/* ================================================================
   MacaSport Village — Global Stylesheet
   ================================================================ */

/* ── 0. Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

/* ── 1. Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto; /* Lenis gère le smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
  scrollbar-gutter: stable; /* empêche le décalage quand overflow:hidden sur body */
}

body {
  font-family: var(--f-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--c-text);
  background-color: var(--c-bg);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}

img, video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: var(--f-body);
  border: none;
  background: none;
}

/* ── 2. Container ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── 3. Typographie globale ──────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--c-green-dark);
}

h1 { font-size: clamp(3.5rem, 9vw, 9rem); }
h2 { font-size: clamp(2.2rem, 5vw, 5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  line-height: 1.7;
  color: var(--c-muted);
}

/* Label de section (ex: "BRUXELLES · COMPLEXE MULTI-SPORTS") */
.label {
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
}

/* ── 4. Boutons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius-buttons);
  padding: 14px 32px;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
}

/* Primaire — vert accent */
.btn-primary {
  background: var(--c-accent);
  color: #ffffff;
  border: 2px solid var(--c-accent);
}
.btn-primary:hover {
  background: var(--c-accent-dark);
  border-color: var(--c-accent-dark);
}

/* Secondaire — outline vert foncé */
.btn-secondary {
  background: transparent;
  color: var(--c-green-dark);
  border: 1.5px solid var(--c-green-dark);
}
.btn-secondary:hover {
  background: var(--c-green-dark);
  color: #ffffff;
}

/* Ghost — outline blanc (pour fonds sombres) */
.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.12);
  border-color: #ffffff;
}

/* Padel blue — CTA section padel */
.btn-blue {
  background: var(--c-blue-accent);
  color: #ffffff;
  border: 2px solid var(--c-blue-accent);
}
.btn-blue:hover {
  background: var(--c-blue-mid);
  border-color: var(--c-blue-mid);
}

/* ── 5. Navbar ───────────────────────────────────────────────── */
.navbar,
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
  transition: background var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

/* État scrollé — fond blanc avec ombre */
.navbar.scrolled,
.site-nav.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.nav-container,
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
  filter: invert(1) contrast(15);
  mix-blend-mode: multiply;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  font-family: var(--f-body);
  font-size: 14px;
  letter-spacing: 0.005em;
  text-transform: none;
  white-space: nowrap;
  color: #0A0A0A;
  background: none;
  border-radius: 0;
  padding: 8px 14px;
  position: relative;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s var(--ease-out);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.28s cubic-bezier(0.65, 0, 0.35, 1);
}

.nav-links a:hover,
.nav-links a.active {
  background: none;
  color: var(--c-green-dark);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Navbar sur fond sombre (hero) */
.navbar:not(.scrolled) .nav-links a {
  color: #0A0A0A;
}
.navbar:not(.scrolled) .nav-links a:hover {
  background: none;
  color: var(--c-green-dark);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 1rem;
}

.nav-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 6px 6px 18px;
  background: var(--c-green-dark);
  color: #ffffff;
  border-radius: 999px;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.35s cubic-bezier(0.32,0.72,0,1),
              transform 0.25s cubic-bezier(0.32,0.72,0,1),
              box-shadow 0.35s cubic-bezier(0.32,0.72,0,1);
  box-shadow: 0 1px 0 rgba(255,255,255,0.04) inset,
              0 6px 18px -8px rgba(10,46,26,0.45);
}

.nav-cta-primary:hover {
  background: var(--c-accent);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset,
              0 10px 26px -8px rgba(29,185,84,0.55);
}

.nav-cta-primary:active { transform: translateY(0) scale(0.98); }
.nav-cta-label { line-height: 1; }
.nav-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  transition: transform 0.35s cubic-bezier(0.32,0.72,0,1),
              background 0.35s cubic-bezier(0.32,0.72,0,1);
}
.nav-cta-icon svg { width: 14px; height: 14px; }
.nav-cta-primary:hover .nav-cta-icon {
  transform: translateX(3px);
  background: rgba(255,255,255,0.22);
}

/* Burger mobile */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--c-green-dark);
  border-radius: 2px;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}

/* ── 6. Sections — structure commune ────────────────────────── */
.section {
  padding: var(--section-py) 0;
}

.section-alt {
  background: var(--c-surface);
}

.section-dark {
  background: var(--c-green-dark);
  color: #ffffff;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: rgba(255,255,255,0.7);
}

.section-padel {
  background: var(--c-blue-dark);
  color: #ffffff;
}

/* En-tête de section standard */
.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-header .label {
  display: block;
  margin-bottom: 0.75rem;
}

.section-header p {
  margin-top: 1rem;
  max-width: 560px;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered p {
  margin: 1rem auto 0;
}

/* ── 7. Cards activités ──────────────────────────────────────── */
.activity-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-cards);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 46, 26, 0.10);
}

.activity-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.activity-card__body {
  padding: 1.5rem;
}

.activity-card__title {
  font-family: var(--f-display);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  color: var(--c-green-dark);
  margin-bottom: 0.5rem;
}

.activity-card__desc {
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

section[id],
.booking-card[id] {
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

/* ── 8. Footer ───────────────────────────────────────────────── */
.footer {
  background: #0A0A0A;
  color: rgba(255,255,255,0.75);
  padding: 4rem 0 2rem;
}

.footer-logo img {
  height: 40px;
  margin-bottom: 1rem;
  filter: brightness(0) invert(1);
}

.footer h4 {
  color: #ffffff;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--dur-fast);
  display: block;
  margin-bottom: 0.5rem;
}

.footer a:hover {
  color: var(--c-accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── 9. Barre mobile fixe (bottom bar) ───────────────────────── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--bot-bar-h);
  background: #ffffff;
  border-top: 1px solid rgba(10,46,26,0.1);
  z-index: 998;
  align-items: center;
  justify-content: stretch;
}

.mobile-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-green-dark);
  border-right: 1px solid rgba(10,46,26,0.08);
  height: 100%;
  transition: background var(--dur-fast), color var(--dur-fast);
}

.mobile-bar a:last-child { border-right: none; }

.mobile-bar a.mobile-bar-logo {
  display: none;
}

.mobile-bar a.mobile-bar-primary {
  background: var(--c-accent);
  color: #ffffff;
}

.mobile-bar a:not(.mobile-bar-primary):hover {
  background: rgba(10,46,26,0.05);
}

.mobile-bar a.mobile-bar-primary:hover {
  background: var(--c-green-mid);
}

/* ── 10. Utilitaires ─────────────────────────────────────────── */
.text-accent  { color: var(--c-accent); }
.text-muted   { color: var(--c-muted); }
.text-white   { color: #ffffff; }
.text-dark    { color: var(--c-green-dark); }

.bg-light     { background: var(--c-surface); }
.bg-white     { background: var(--c-bg); }
.bg-dark      { background: var(--c-green-dark); }
.bg-accent    { background: var(--c-accent); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ── 11. Responsive (index.html) ─────────────────────────────── */
@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-burger {
    display: flex;
  }

  .mobile-bar {
    display: flex;
  }

  body {
    padding-bottom: var(--bot-bar-h);
  }

  /* Logo centré sur mobile */
  .nav-container,
  .nav-inner {
    justify-content: center;
    position: relative;
  }

  .nav-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .nav-burger {
    margin-left: auto;
  }
}

/* ================================================================
   Pages secondaires — Navbar, Layout, Composants, Footer
   (styles spécifiques aux pages autres qu'index.html)
   ================================================================ */

/* ── Nav burger open state (toutes pages) ────────────────────── */
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Site Nav ────────────────────────────────────────────────── */
/* Liens nav (pages secondaires utilisent .nav-link, index utilise .nav-links a) */
.nav-link {
  display: inline-block;
}

.nav-link:hover,
.nav-link.active {
  background: var(--c-accent-dim);
  color: var(--c-accent-dark);
}

/* Container liens + CTAs dans site-nav */
.site-nav .nav-links {
  display: flex;
  align-items: center;
  margin-left: auto;
  overflow: hidden;
}

.nav-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

/* ── Nav Overlay (mobile — toutes pages) ────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #0A2E1A;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  padding: calc(var(--nav-h) + 2rem) clamp(1.75rem, 8vw, 2.75rem) 3rem;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.nav-overlay.open {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Liens principaux */
.nav-overlay > a {
  font-family: 'Bebas Neue', 'Arial Narrow', sans-serif;
  font-size: clamp(2.4rem, 10vw, 3.6rem);
  letter-spacing: 0.06em;
  color: #ffffff;
  background: none;
  text-transform: uppercase;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  line-height: 1;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.nav-overlay > a:first-of-type {
  border-top: 1px solid rgba(255,255,255,0.15);
}

.nav-overlay > a::after {
  content: '↗';
  font-size: 0.4em;
  color: #1DB954;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.nav-overlay > a:hover {
  color: #1DB954;
  padding-left: 0.4rem;
  background: none;
}

.nav-overlay > a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

/* CTA en bas */
.nav-overlay-ctas {
  margin-top: 2.5rem;
  width: 100%;
}

.nav-overlay-ctas a {
  display: inline-flex;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0A2E1A;
  background: #1DB954;
  padding: 12px 26px;
  border-radius: 999px;
  border: none;
  transition: background 0.2s ease;
}

.nav-overlay-ctas a:hover {
  background: #ffffff;
  color: #0A2E1A;
}

/* ── Page hero ───────────────────────────────────────────────── */
.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-green-dark);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,46,26,0.88) 25%, rgba(10,46,26,0.3) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-h);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-eyebrow {
  display: block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 0.75rem;
}

.page-hero-title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  margin: 0 0 1rem;
}

.hero-sub {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  max-width: 560px;
  line-height: 1.65;
}

/* Placeholders images (sections sans photos) */
.ph { background: var(--c-surface-2); }
.ph-padel  { background: linear-gradient(135deg, #0a1f3a 0%, #0d3b1a 100%); }
.ph-basket { background: linear-gradient(135deg, #111 0%, #1a1a0a 100%); }
.ph-beach  { background: linear-gradient(135deg, #c8a96e 0%, #8b6914 100%); }
.ph-resto  { background: linear-gradient(135deg, #1a0a0a 0%, #3a1a0a 100%); }
.ph-athle  { background: linear-gradient(135deg, #0a1a2a 0%, #1a0a2a 100%); }

.image-panel {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* ── Sections ────────────────────────────────────────────────── */
.section {
  padding: var(--section-py) 0;
}

.section-first {
  padding-top: calc(var(--section-py) + var(--nav-h));
}

.section--dark {
  background: var(--c-green-dark);
  color: #ffffff;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: #ffffff; }

.section--dark p { color: rgba(255,255,255,0.7); }

.section--dark .label { color: var(--c-accent); }

.section--darker { background: var(--c-surface); }

/* Main padding sous la nav fixe (pages secondaires) */
.site-nav + * { padding-top: 0; }

/* ── Layout ──────────────────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.split--40-60 { grid-template-columns: 2fr 3fr; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 2vw, 1.5rem); }

/* ── Typo helpers ────────────────────────────────────────────── */
.body-lg {
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  color: var(--c-muted);
  line-height: 1.72;
}

.btn-lg {
  padding: 15px 34px !important;
  font-size: 0.88rem !important;
}

/* ── Tag ─────────────────────────────────────────────────────── */
.tag {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  background: var(--c-accent-dim);
  border: 1px solid rgba(29,185,84,0.25);
  border-radius: var(--radius-pill);
  padding: 3px 10px;
  white-space: nowrap;
  display: inline-block;
}

/* ── Divider ─────────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--c-border);
  margin: 1rem 0;
}

/* ── Info grid ───────────────────────────────────────────────── */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 1rem 1.5rem;
  border-top: 1px solid var(--c-border);
  padding-top: 1.5rem;
}

.info-block-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-dim);
  margin-bottom: 0.25rem;
}

.info-block-value {
  font-family: var(--f-display);
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  color: var(--c-green-dark);
  line-height: 1.1;
}

/* ── Terrain cards ───────────────────────────────────────────── */
.terrain-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-cards);
  overflow: hidden;
  transition: transform var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.terrain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(10,46,26,0.10);
}

.terrain-card-img { height: 180px; width: 100%; }

.terrain-card-body { padding: 1.25rem; }

.terrain-card-title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  letter-spacing: 0.02em;
  color: var(--c-green-dark);
}

.terrain-card-desc {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.6;
  margin-top: 0.4rem;
}

/* ── Price cards ─────────────────────────────────────────────── */
.price-card {
  background: var(--c-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-cards);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.price-card.featured {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px var(--c-accent-dim);
}

.price-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.price-amount {
  font-family: var(--f-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  line-height: 1;
  color: var(--c-green-dark);
  letter-spacing: 0.02em;
}

.price-period {
  font-size: 0.78rem;
  color: var(--c-dim);
  margin-bottom: 0.25rem;
}

.price-desc {
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.6;
  flex: 1;
}

/* ── Feature list ────────────────────────────────────────────── */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-text h4 {
  font-family: var(--f-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--c-text);
  margin-bottom: 0.2rem;
}

.feature-text p {
  font-size: 0.875rem;
  color: var(--c-muted);
  line-height: 1.55;
}

/* ── CTA Banner ──────────────────────────────────────────────── */
.cta-banner { padding: clamp(3rem, 6vw, 5rem) 0; }

.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-banner h2 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  letter-spacing: 0.02em;
  line-height: 0.95;
}

.cta-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── Forms ───────────────────────────────────────────────────── */
.form-section {
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.form-title {
  font-family: var(--f-display);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  color: var(--c-green-dark);
  margin-bottom: 1.5rem;
}

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

.form-row { margin-bottom: 1rem; }

.form-group { display: flex; flex-direction: column; gap: 0.35rem; }

.form-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--c-muted);
}

.form-input,
.form-select,
.form-textarea {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--c-text);
  background: var(--c-bg);
  border: 1.5px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  width: 100%;
  outline: none;
  transition: border-color var(--dur-fast);
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus { border-color: var(--c-accent); }

.form-textarea { min-height: 110px; resize: vertical; }

/* ── Contact list ────────────────────────────────────────────── */
.contact-list { display: flex; flex-direction: column; gap: 1rem; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.9rem 1rem;
  background: var(--c-surface);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
}

.contact-icon { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }

.contact-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 0.2rem;
}

.contact-text a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-green-dark);
  text-decoration: none;
  display: block;
}

.contact-text a:hover { color: var(--c-accent); }

/* ── Accordion ───────────────────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--c-border); }

.accordion-trigger {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0;
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--c-text);
  cursor: pointer;
  background: none;
  border: none;
  gap: 1rem;
}

.accordion-trigger::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--c-accent);
  flex-shrink: 0;
  transition: transform var(--dur-fast);
}

.accordion-item.open .accordion-trigger::after { transform: rotate(45deg); }

.accordion-body {
  display: none;
  padding: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--c-muted);
  line-height: 1.7;
}

.accordion-item.open .accordion-body { display: block; }

/* ── Site Footer ─────────────────────────────────────────────── */
.site-footer {
  background: #0A0A0A;
  color: rgba(255,255,255,0.7);
  padding: clamp(3rem, 6vw, 5rem) 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  color: #ffffff;
  font-size: 1.45rem;
  text-decoration: none;
  display: inline-block;
}

.footer-brand .nav-logo span { color: var(--c-accent); }

.footer-desc {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.7;
  margin-top: 0.5rem;
}

.footer-heading {
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--dur-fast);
  text-decoration: none;
}

.footer-links a:hover { color: var(--c-accent); }

/* Barre basse — deux variantes (footer-bottom / site-footer-bottom) */
.footer-bottom,
.site-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding: 1.5rem 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.35); flex: 1; }

.footer-bottom-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  flex-shrink: 0;
  transition: color 0.22s ease;
}
.footer-bottom-logo:hover { color: rgba(255,255,255,0.85); }
.footer-bottom-logo img { display: none; }

.footer-legal { display: flex; gap: 1.5rem; flex-wrap: wrap; flex: 1; justify-content: flex-end; }

.footer-legal a {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--dur-fast);
  text-decoration: none;
}

.footer-legal a:hover { color: rgba(255,255,255,0.75); }

/* Éléments footer variante site-footer */
.site-footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
.site-footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  margin-bottom: 2rem;
}
.footer-brand-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.48);
  line-height: 1.65;
  margin-top: 0.75rem;
}
.footer-col-title {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 0.75rem;
}
.footer-info-item {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.48);
  margin-bottom: 0.5rem;
  line-height: 1.55;
}
.footer-logo img { display: none; }
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: #ffffff;
  text-decoration: none;
  display: block;
  margin-bottom: 0.75rem;
  transition: opacity 0.2s;
}
.footer-logo:hover { opacity: 0.75; }

/* ── Bottom bar (mobile fixe — pages secondaires) ────────────── */
.bottom-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--bot-bar-h);
  background: var(--c-green-dark);
  align-items: stretch;
}

.bottom-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.10);
  transition: background var(--dur-fast);
}

.bottom-bar a:last-child { border-right: none; }

.bottom-bar a:hover { background: rgba(255,255,255,0.07); }

/* ── GSAP initial states (pages secondaires) ─────────────────── */
.gsap-up {
  opacity: 0;
  transform: translateY(25px);
  /* Fallback CSS si JS bloqué : devient visible après 1.5s */
  animation: gsap-up-fallback 0.6s cubic-bezier(0.16,1,0.3,1) 1.5s both;
}
/* GSAP overrides inline styles → animation CSS ignorée quand JS tourne */
@keyframes gsap-up-fallback {
  to { opacity: 1; transform: translateY(0); }
}

.gsap-left,
.gsap-right {
  opacity: 0;
}

/* ── Responsive (pages secondaires) ──────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Site Nav mobile */
  .site-nav .nav-links,
  .site-nav .nav-ctas { display: none; }

  .site-nav .nav-burger { display: flex; }

  /* Bottom bar */
  .bottom-bar { display: flex; }

  body:has(.bottom-bar) { padding-bottom: var(--bot-bar-h); }

  /* Layouts */
  .split,
  .split--40-60 { grid-template-columns: 1fr; }

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

  .form-grid-2 { grid-template-columns: 1fr; }

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

  .cta-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .page-hero { min-height: 50vh; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
}

/* ================================================================
   Index — Sections post-galerie (Origine, CFS, Localisation)
   ================================================================ */

/* ── Shared helpers ──────────────────────────────────────────── */
.home-section-label {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1rem;
}

.home-section-label--white { color: rgba(255,255,255,0.55); }

.home-section-title {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--c-green-dark);
  margin-bottom: 1.5rem;
}

.home-section-title--white { color: #ffffff; }

.home-section-text {
  font-family: var(--f-body);
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--c-muted);
  line-height: 1.78;
  max-width: 640px;
}

.home-section-text--white { color: rgba(255,255,255,0.72); }

/* ── Section 1 : Origine — blanc, centré ─────────────────────── */
.home-about {
  background: var(--c-bg);
  padding: 80px 0;
  text-align: center;
}

.home-about .home-section-text { margin: 0 auto 3rem; }

/* Stats row */
.home-about-stats {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.home-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.home-stat-number {
  font-family: var(--f-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  line-height: 1;
  color: var(--c-green-dark);
  letter-spacing: 0.02em;
}

.home-stat-plus {
  color: var(--c-accent);
}

.home-stat-label {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-dim);
}

/* ── Section 2 : CFS — vert foncé, 2 colonnes ───────────────── */
.home-cfs {
  background: var(--c-green-dark);
  padding: 80px 0;
}

.home-cfs-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}

.home-cfs-logo-placeholder {
  width: 120px;
  height: 60px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.38);
  flex-shrink: 0;
}

.home-cfs-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.home-cfs-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-body);
  font-size: 0.92rem;
  color: rgba(255,255,255,0.80);
}

.home-cfs-feature-icon {
  width: 20px;
  height: 20px;
  background: var(--c-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  flex-shrink: 0;
}

.home-cfs-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-location-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Section 3 : Localisation — gris clair, centré ──────────── */
.home-location {
  background: #f5f5f5;
  padding: 80px 0;
  text-align: center;
}

.home-address {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.03em;
  color: var(--c-green-dark);
  font-style: normal;
  margin-bottom: 0.75rem;
  display: block;
}

.home-location .home-section-text { margin: 0 auto 2.5rem; }

.home-map {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 28px rgba(10, 46, 26, 0.10);
}

.home-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}

.home-maps-cta {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--c-accent);
  letter-spacing: 0.03em;
  text-decoration: none;
  transition: color var(--dur-fast);
}

.home-maps-cta:hover { color: var(--c-green-dark); }

/* ── Responsive sections post-galerie ────────────────────────── */
@media (max-width: 768px) {
  .home-about,
  .home-cfs,
  .home-location { padding: 60px 0; }

  .home-cfs-inner { grid-template-columns: 1fr; }

  .home-cfs-logo-placeholder { display: none; }

  .home-map iframe { height: 260px; }

  .home-about-stats { gap: 1.5rem; }

  .home-cfs-ctas,
  .home-location-ctas {
    flex-direction: column;
    align-items: center;
  }

  .home-cfs-ctas .btn,
  .home-location-ctas .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }
}

/* ── Scroll progress bar ─────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--c-accent) 0%, #0A8C3A 100%);
  z-index: 200;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
  will-change: width;
}

/* ── Info-card premium inner highlight ──────────────────────── */
.info-card {
  box-shadow:
    0 4px 28px rgba(10,46,26,0.055),
    inset 0 1px 0 rgba(255,255,255,0.8);
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto !important; }
}

/* ══════════════════════════════════════════════════════════════
   HORAIRES STRIP — affiché dans les sections Horaires & Tarifs
══════════════════════════════════════════════════════════════ */
.horaires-strip {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  background: var(--color-green-light);
  border: 1px solid rgba(29,185,84,0.18);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  margin-bottom: 2.5rem;
  align-items: center;
}
.horaires-strip__icon {
  width: 36px; height: 36px;
  background: var(--color-green-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.horaires-strip__icon svg { width: 17px; height: 17px; stroke: #fff; }
.horaires-strip__slots {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
.horaires-slot {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.horaires-slot__day {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.horaires-slot__time {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-green-dark);
}
.horaires-strip__access {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-green-mid);
  padding: 5px 14px;
  background: rgba(29,185,84,0.1);
  border-radius: 999px;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .horaires-strip { flex-direction: column; align-items: flex-start; }
  .horaires-strip__access { margin-left: 0; }
}

/* ══════════════════════════════════════════════════════════════
   CROSSLINKS SECTION — Academy / Privatisation / Agenda
══════════════════════════════════════════════════════════════ */
.section-crosslinks {
  padding: 4rem 0 5rem;
  background: var(--color-bg-alt);
}
.crosslinks-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.crosslinks-header__eyebrow {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-green-accent);
  display: block;
  margin-bottom: 0.45rem;
}
.crosslinks-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-green-dark);
  line-height: 0.95;
}
.crosslinks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.crosslink-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  text-decoration: none;
  padding: 2rem 1.75rem;
  transition: transform 0.3s cubic-bezier(0.25,0.46,0.45,0.94),
              box-shadow 0.3s cubic-bezier(0.25,0.46,0.45,0.94);
}
.crosslink-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}
.crosslink-card--academy {
  background: linear-gradient(140deg, #0A1F3A 0%, #0d2a50 100%);
}
.crosslink-card--events {
  background: linear-gradient(140deg, var(--color-green-dark) 0%, #0d3d22 100%);
}
.crosslink-card--agenda {
  background: #fff;
  border: 1.5px solid var(--color-border-strong);
}
.crosslink-card__tag {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.crosslink-card--academy .crosslink-card__tag {
  background: rgba(26,111,212,0.2);
  color: #7db8f7;
}
.crosslink-card--events .crosslink-card__tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.6);
}
.crosslink-card--agenda .crosslink-card__tag {
  background: var(--color-green-light);
  color: var(--color-green-mid);
}
.crosslink-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
  margin-bottom: 0.75rem;
}
.crosslink-card--academy .crosslink-card__title,
.crosslink-card--events .crosslink-card__title {
  color: #fff;
}
.crosslink-card--agenda .crosslink-card__title {
  color: var(--color-green-dark);
}
.crosslink-card__desc {
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 1.5rem;
}
.crosslink-card--academy .crosslink-card__desc,
.crosslink-card--events .crosslink-card__desc {
  color: rgba(255,255,255,0.6);
}
.crosslink-card--agenda .crosslink-card__desc {
  color: var(--color-text-secondary);
}
.crosslink-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 9px 20px;
  transition: all 0.2s;
}
.crosslink-card--academy .crosslink-card__cta {
  background: rgba(26,111,212,0.2);
  color: #7db8f7;
  border: 1px solid rgba(26,111,212,0.3);
}
.crosslink-card--academy:hover .crosslink-card__cta {
  background: #1A6FD4;
  color: #fff;
  border-color: #1A6FD4;
}
.crosslink-card--events .crosslink-card__cta {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.15);
}
.crosslink-card--events:hover .crosslink-card__cta {
  background: var(--color-green-accent);
  color: #fff;
  border-color: var(--color-green-accent);
}
.crosslink-card--agenda .crosslink-card__cta {
  background: var(--color-green-dark);
  color: #fff;
  border: 1px solid var(--color-green-dark);
}
.crosslink-card--agenda:hover .crosslink-card__cta {
  background: var(--color-green-accent);
  border-color: var(--color-green-accent);
}
.crosslink-card__cta svg {
  width: 13px; height: 13px;
  stroke: currentColor;
  stroke-width: 2.2;
  transition: transform 0.2s;
}
.crosslink-card:hover .crosslink-card__cta svg {
  transform: translate(2px, -2px);
}
@media (max-width: 900px) {
  .crosslinks-grid { grid-template-columns: 1fr 1fr; }
  .crosslink-card:last-child { grid-column: span 2; }
}
@media (max-width: 600px) {
  .crosslinks-grid { grid-template-columns: 1fr; }
  .crosslink-card:last-child { grid-column: span 1; }
  .section-crosslinks { padding: 3rem 0 4rem; }
}
