html { scroll-behavior: smooth; }

/* =====================================================================
   DESIGN SYSTEM — Tokens & composants partagés (front + admin)
   ---------------------------------------------------------------------
   Source unique de vérité pour les couleurs, espacements, typo, etc.
   Tous les tokens sont préfixés `--ds-*` pour éviter les collisions.
   ===================================================================== */

:root {
  /* === Couleurs === */
  --ds-ink:           #0a0a0a;   /* Noir/sombre principal */
  --ds-ink-soft:      #2d2d2d;
  --ds-cream:         #f5f3f0;   /* Crème/clair principal */
  --ds-cream-dim:     #ebe8e2;
  --ds-paper:         #ffffff;
  --ds-blue:          #2563eb;   /* Bleu marque (override par settings via layout) */
  --ds-blue-dark:     #1e40af;
  --ds-blue-text:     #ffffff;
  --ds-success:       #16a34a;
  --ds-error:         #dc2626;
  --ds-warn:          #d97706;
  --ds-info:          #3b82f6;
  --ds-muted:         #8b8b8b;
  --ds-border:        #e0ddd6;
  --ds-border-soft:   #ebe8e2;

  /* === Spacing (échelle 4/8/...) === */
  --ds-space-1:  4px;
  --ds-space-2:  8px;
  --ds-space-3:  12px;
  --ds-space-4:  16px;
  --ds-space-5:  20px;
  --ds-space-6:  24px;
  --ds-space-7:  32px;
  --ds-space-8:  40px;
  --ds-space-9:  48px;
  --ds-space-10: 64px;
  --ds-space-11: 80px;
  --ds-space-12: 96px;

  /* === Layout === */
  --ds-container:        1300px;
  --ds-container-narrow:  900px;
  --ds-gutter:             48px;

  /* === Radius === */
  --ds-radius-sm:    4px;
  --ds-radius:       8px;
  --ds-radius-lg:   12px;
  --ds-radius-xl:   16px;
  --ds-radius-full: 999px;

  /* === Shadows === */
  --ds-shadow-sm:  0 1px 2px rgba(0,0,0,0.05);
  --ds-shadow:     0 2px 8px rgba(0,0,0,0.08);
  --ds-shadow-md:  0 4px 14px rgba(0,0,0,0.10);
  --ds-shadow-lg:  0 10px 30px rgba(0,0,0,0.12);
  --ds-shadow-xl:  0 20px 50px rgba(0,0,0,0.18);

  /* === Typo === */
  --ds-font-serif: 'DM Serif Display', 'Playfair Display', Georgia, serif;
  --ds-font-sans:  'Inter Tight', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --ds-font-mono:  'JetBrains Mono', 'SF Mono', Menlo, monospace;

  /* Tailles fluides (mobile-first via clamp) */
  --ds-text-xs:    11px;
  --ds-text-sm:    13px;
  --ds-text-base:  15px;
  --ds-text-lg:    18px;
  --ds-text-xl:    22px;
  --ds-h6: clamp(16px, 1.5vw, 20px);
  --ds-h5: clamp(18px, 2vw,   24px);
  --ds-h4: clamp(22px, 2.6vw, 32px);
  --ds-h3: clamp(28px, 3.5vw, 44px);
  --ds-h2: clamp(34px, 4.5vw, 56px);
  --ds-h1: clamp(30px, 6vw,   72px);

  /* === Transitions === */
  --ds-trans-fast:  150ms ease;
  --ds-trans:       250ms ease;
  --ds-trans-slow:  400ms ease;

  /* === Z-index === */
  --ds-z-base:       1;
  --ds-z-dropdown:   100;
  --ds-z-sticky:     200;
  --ds-z-modal:      1000;
  --ds-z-toast:      9999;
}

/* =====================================================================
   Composants front partagés
   ===================================================================== */

/* --- Container utility --- */
.ds-container,
.container-page {
  max-width: var(--ds-container);
  margin: 0 auto;
  padding: 0 var(--ds-gutter);
}
.ds-container--narrow { max-width: var(--ds-container-narrow); }

/* --- Section padding standard --- */
.ds-section {
  padding: clamp(60px, 8vw, 120px) var(--ds-gutter);
}
.ds-section--sm { padding: clamp(40px, 5vw, 70px) var(--ds-gutter); }
.ds-section--lg { padding: clamp(80px, 12vw, 160px) var(--ds-gutter); }

/* --- Cards --- */
.ds-card {
  background: var(--ds-paper);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  padding: var(--ds-space-7);
  transition: box-shadow var(--ds-trans), transform var(--ds-trans);
}
.ds-card--hover:hover {
  box-shadow: var(--ds-shadow-lg);
  transform: translateY(-4px);
}

/* --- Badges (utilisables aussi côté admin) --- */
.ds-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  font-size: var(--ds-text-xs);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--ds-radius-full);
  border: 1px solid currentColor;
  background: transparent;
  white-space: nowrap;
}
.ds-badge--success { color: var(--ds-success); }
.ds-badge--error   { color: var(--ds-error); }
.ds-badge--warn    { color: var(--ds-warn); }
.ds-badge--info    { color: var(--ds-info); }
.ds-badge--muted   { color: var(--ds-muted); }

/* --- Pastille (petit indicateur rond, type "•") --- */
.ds-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--ds-radius-full);
  background: var(--ds-muted);
  flex-shrink: 0;
}
.ds-dot--success { background: var(--ds-success); }
.ds-dot--error   { background: var(--ds-error); }
.ds-dot--warn    { background: var(--ds-warn); }
.ds-dot--info    { background: var(--ds-info); }
.ds-dot--pulse {
  animation: ds-pulse 2s ease-in-out infinite;
}
@keyframes ds-pulse {
  0%, 100% { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
  50%      { box-shadow: 0 0 0 6px transparent; opacity: 0.7; }
}

/* --- Tabs / Onglets --- */
.ds-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--ds-border);
  flex-wrap: wrap;
}
.ds-tab {
  background: transparent;
  border: 0;
  color: var(--ds-ink);
  opacity: 0.55;
  padding: 14px 20px;
  font-family: inherit;
  font-size: var(--ds-text-sm);
  font-weight: 500;
  cursor: pointer;
  position: relative;
  transition: opacity var(--ds-trans-fast);
  letter-spacing: 0.02em;
}
.ds-tab:hover { opacity: 0.85; }
.ds-tab.is-active { opacity: 1; }
.ds-tab.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 2px;
  background: var(--ds-blue);
}

/* --- Liens --- */
.ds-link {
  color: var(--ds-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--ds-trans-fast);
}
.ds-link:hover { color: var(--ds-blue-dark); }
.ds-link--quiet {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
.ds-link--quiet:hover { color: var(--ds-blue); border-color: var(--ds-blue); }

/* --- Forms --- */
.ds-label {
  display: block;
  font-size: var(--ds-text-sm);
  font-weight: 500;
  color: var(--ds-ink);
  margin-bottom: 6px;
}
.ds-input,
.ds-textarea,
.ds-select {
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: var(--ds-text-base);
  color: var(--ds-ink);
  background: var(--ds-paper);
  border: 1px solid var(--ds-border);
  border-radius: var(--ds-radius);
  transition: border-color var(--ds-trans-fast), box-shadow var(--ds-trans-fast);
}
.ds-input:focus,
.ds-textarea:focus,
.ds-select:focus {
  outline: none;
  border-color: var(--ds-blue);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 15%, transparent);
}
.ds-textarea { min-height: 100px; resize: vertical; }
.ds-form-help { display: block; font-size: var(--ds-text-xs); color: var(--ds-muted); margin-top: 4px; }
.ds-form-error { color: var(--ds-error); font-size: var(--ds-text-xs); margin-top: 4px; }

/* --- Alerts --- */
.ds-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: var(--ds-radius);
  border: 1px solid;
  border-left-width: 4px;
  font-size: var(--ds-text-sm);
}
.ds-alert--success { background: rgba(22, 163, 74, 0.05);  color: var(--ds-success); border-color: rgba(22, 163, 74, 0.25); }
.ds-alert--error   { background: rgba(220, 38, 38, 0.05);  color: var(--ds-error);   border-color: rgba(220, 38, 38, 0.25); }
.ds-alert--warn    { background: rgba(217, 119, 6, 0.05);  color: var(--ds-warn);    border-color: rgba(217, 119, 6, 0.25); }
.ds-alert--info    { background: rgba(59, 130, 246, 0.05); color: var(--ds-info);    border-color: rgba(59, 130, 246, 0.25); }

/* =====================================================================
   Pole & Sport Montreuil — feuille de style principale
   ---------------------------------------------------------------------
   Identité visuelle reprise du site WordPress actuel :
   - Accent bleu électrique #2563eb (couleur de marque)
   - Fond blanc cassé (#ffffff / #faf8f5)
   - Typographie : Montserrat (sans-serif) + Playfair Display (titres décoratifs)
   - Hiérarchie des titres avec underline rouge court sur h2/h3
   - Cartes à coins légèrement arrondis, image carrée (ratio 1:1)
   ===================================================================== */

/* ---------- Reset léger ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ---------- Variables ---------- */
:root {
  --c-ink: #2d2d2d;
  --c-ink-soft: #6b6b6b;
  --c-ink-mute: #9a9a9a;
  --c-line: #e8e4de;
  --c-surface: #ffffff;
  --c-bg: #ffffff;
  --c-bg-soft: #faf8f5;
  --c-accent: #2563eb;
  --c-accent-hover: #1d4ed8;

  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius: 3px;
  --container-max: 1200px;
  --container-pad: 24px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow: 0 8px 24px rgba(0,0,0,.06);
}

/* ---------- Base ---------- */
body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* ---------- Typo ---------- */
h1, h2, h3, h4, h5 {
  margin: 0 0 0.5em;
  font-weight: 600;
  line-height: 1.25;
  color: var(--c-ink);
}
h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 700; }
h2 { font-size: clamp(22px, 3vw, 32px); }
h3 { font-size: 20px; }
h4 { font-size: 16px; font-weight: 600; }

h2.section-title,
h3.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 14px;
  position: relative;
}
h2.section-title::after,
h3.section-title::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--c-accent);
  margin: 14px auto 0;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { text-decoration: none; color: var(--c-accent); transition: color .2s; }
a:hover { color: var(--c-accent-hover); }

strong { font-weight: 600; }
small { font-size: .85em; }

/* ---------- Top banner (promo) ---------- */
.top-banner {
  background: var(--c-ink);
  color: #fff;
  font-size: 13.5px;
  padding: 10px 0;
  text-align: center;
}
.top-banner a {
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
}
.top-banner a:hover { color: #fff; text-decoration: none; }

/* ---------- Sale promo section ---------- */
.sale-promo-section {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 72px 0;
  text-align: center;
}
.sale-promo-section__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 28px;
}
.sale-promo-section__phrase {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,.55);
  margin-bottom: 28px;
  font-family: var(--f-heading);
  line-height: 1.3;
}
@media (max-width: 768px) {
  .sale-promo-section { padding: 56px 0; }
  .sale-promo-section__inner { padding: 0 20px; }
  .sale-promo-section__phrase { font-size: 1.25rem; margin-bottom: 20px; }
  .sale-promo-section__cta { width: 100%; text-align: center; }
}
.sale-promo-section__cta {
  display: inline-block;
  background: #fff;
  padding: 12px 28px;
  border-radius: 0;
  border: 2px solid #fff;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity .2s;
}
.sale-promo-section__cta:hover {
  opacity: .88;
  text-decoration: none;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--c-ink);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
  gap: 32px;
}
.site-logo {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo__image {
  width: 45px !important;
  height: 45px !important;
  max-width: 45px !important;
  max-height: 45px !important;
  object-fit: contain !important;
  display: block !important;
}
.site-logo__mark {
  width: 44px; height: 44px;
  background: var(--c-accent);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.site-logo__text {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.5px;
}
.site-logo__text small {
  font-weight: 400;
  opacity: 0.7;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.site-nav a {
  color: #fff;
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  text-decoration: none;
  position: relative;
}
.site-nav a:hover { background: rgba(255,255,255,.1); color: #fff; }

/* Active menu item : underline bleu électrique + texte légèrement plus lumineux */
.site-nav a.is-active {
  color: #fff;
  background: color-mix(in srgb, var(--c-accent) 15%, transparent);
}
.site-nav a.is-active::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 2px;
  height: 2px;
  background: var(--c-accent);
  border-radius: 2px;
  box-shadow: 0 0 8px color-mix(in srgb, var(--c-accent) 50%, transparent);
}

.site-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: #fff;
  padding: 8px;
  border-radius: 0;
  cursor: pointer;
  line-height: 0;
}
@media (max-width: 900px) {
  .site-nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--c-ink);
    flex-direction: column;
    padding: 12px 24px 20px;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 10px 12px; }
}

/* ---------- Hero sections ---------- */
.hero {
  background: var(--c-bg-soft);
  padding: 64px 0;
  text-align: center;
  border-bottom: 1px solid var(--c-line);
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 { margin-bottom: 16px; }
.hero .hero-subtitle {
  font-size: 15px;
  color: var(--c-ink-soft);
  max-width: 680px;
  margin: 0 auto 24px;
  line-height: 1.7;
}
.hero-kpis {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 14px;
  color: var(--c-ink-soft);
}
.hero-kpis > span strong {
  display: block;
  font-size: 22px;
  color: var(--c-ink);
  margin-bottom: 4px;
  font-weight: 700;
}

/* Hero with background image (fiche cours/coach) */
.hero-image {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 340px;
  padding: 0;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: left;
}
.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.6) 100%);
}
.hero-image .container {
  position: relative;
  padding-top: var(--sp-xl);
  padding-bottom: var(--sp-xl);
  width: 100%;
}
.hero-image h1,
.hero-image .hero-subtitle { color: #fff; text-align: left; }
.hero-image h1 { font-weight: 700; }
.hero-image .hero-subtitle {
  margin-left: 0; margin-right: 0;
  max-width: 600px;
  font-size: 16px;
  opacity: .95;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--c-accent);
  border: 2px solid var(--c-accent);
  border-radius: 0;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s;
}
.btn:hover {
  background: var(--c-accent-hover);
  border-color: var(--c-accent-hover);
  color: #fff;
}
.btn--outline {
  background: transparent;
  color: var(--c-accent);
}
.btn--outline:hover { background: var(--c-accent); color: #fff; }
.btn--dark { background: var(--c-ink); border-color: var(--c-ink); }
.btn--dark:hover { background: #000; border-color: #000; }
/* .btn--light : alias legacy → comportement btn-outline (pastille crème pour fonds sombres) */
.btn--light {
  background: var(--ds-cream);
  color: var(--ds-ink);
  border-color: var(--ds-cream);
  padding: 16px 32px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--hero-radius);
  font-weight: 500;
  display: inline-block;
  text-decoration: none;
  transition: transform .25s, background .25s, color .25s;
}
.btn--light:hover {
  background: #ffffff;
  color: var(--ds-ink);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* ---------- Section ---------- */
.section { padding: var(--sp-2xl) 0; }
.section--soft { background: var(--c-bg-soft); }
.section--dark { background: var(--c-ink); color: #fff; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--dark h2.section-title::after { background: #fff; }

.section-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
  font-size: 15.5px;
  color: var(--c-ink-soft);
}

/* ---------- Card grid (cours & coachs) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

.card {
  background: var(--c-surface);
  border-radius: 0;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: var(--c-ink);
  transition: transform .25s, box-shadow .25s;
  display: block;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  color: var(--c-ink);
}
.card__image {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-color: var(--c-bg-soft);
  position: relative;
  overflow: hidden;
}
.card__image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c-accent);
  opacity: 0;
  transition: opacity .25s;
  mix-blend-mode: multiply;
}
.card:hover .card__image::after { opacity: 0.15; }

.card__title {
  padding: 18px 12px 20px;
  font-size: 16px;
  font-weight: 600;
  color: var(--c-ink);
  margin: 0;
  letter-spacing: 0.3px;
}
.card__subtitle {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--c-ink-soft);
  margin-top: 4px;
  padding: 0 12px 20px;
  display: block;
}
.card.card--coach .card__image {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 24px auto 0;
  width: 70%;
}

/* ---------- Content prose ---------- */
.prose {
  max-width: 760px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--c-ink);
}
.prose p { margin-bottom: 1.2em; }
.prose ul, .prose ol { padding-left: 1.6em; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--c-ink); font-weight: 600; }
.prose h2, .prose h3 { margin-top: 1.8em; }

/* ---------- Niveaux de cours ---------- */
.niveaux-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.niveau {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-surface);
}
.niveau__header {
  padding: 16px 24px;
  background: var(--c-bg-soft);
  border-bottom: 1px solid var(--c-line);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--c-ink);
  font-size: 15px;
}
.niveau__header::after {
  content: '+';
  font-size: 22px;
  font-weight: 300;
  color: var(--c-accent);
  transition: transform .2s;
}
.niveau.is-open .niveau__header::after {
  content: '×';
  transform: rotate(0deg);
}
.niveau__body {
  padding: 20px 24px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  display: none;
}
.niveau.is-open .niveau__body { display: block; }
.niveau__body ol, .niveau__body ul { padding-left: 1.4em; }
.niveau__body li { margin-bottom: 0.3em; }
.niveau__body em { font-style: italic; color: var(--c-ink-mute); }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
.gallery-item {
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .2s;
}
.gallery-item:hover { transform: scale(1.02); }

/* ---------- Coach layout (fiche) ---------- */
.coach-profile {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
  align-items: flex-start;
}
.coach-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.coach-info h1 { margin-top: 0; }
.coach-info .subtitle {
  font-size: 16px;
  color: var(--c-accent);
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.coach-info .bio {
  line-height: 1.8;
  font-size: 15.5px;
}
.coach-social {
  margin-top: 20px;
  display: flex;
  gap: 12px;
}
.coach-social a {
  padding: 10px 16px;
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  font-size: 13px;
  color: var(--c-ink-soft);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.coach-social a:hover {
  border-color: var(--c-accent);
  color: var(--c-accent);
}

@media (max-width: 720px) {
  .coach-profile {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .coach-portrait {
    max-width: 240px;
    margin: 0 auto;
  }
  .coach-social { justify-content: center; }
}

/* ---------- Packs (Tarifs page) ---------- */
.packs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto 48px;
}
@media (max-width: 700px) {
  .packs-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .packs-grid { grid-template-columns: 1fr; }
}
.pack {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pack--promo {
  border-color: var(--c-accent);
  box-shadow: 0 0 0 2px rgba(164,0,0,.08);
  position: relative;
}
.pack--promo::before {
  content: attr(data-promo-label);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 4px 12px;
  text-transform: uppercase;
  border-radius: 20px;
}
.pack__title { font-size: 20px; margin: 0; }
.pack__subtitle { font-size: 14px; color: var(--c-ink-soft); }
.pack__description { font-size: 14px; color: var(--c-ink-soft); line-height: 1.6; }
.pack__price { margin: 14px 0; }
.pack__price-old {
  font-size: 16px;
  text-decoration: line-through;
  color: var(--c-ink-mute);
  margin-right: 8px;
}
.pack__price-current {
  font-size: 34px;
  font-weight: 700;
  color: var(--c-accent);
  font-family: var(--font-display);
}
.pack__discount {
  display: inline-block;
  margin-top: 4px;
  color: var(--c-accent);
  font-weight: 600;
  font-size: 13px;
}

/* ---------- Info blocks (tarifs page intro) ---------- */
.info-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto 48px;
}
.info-block {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 0;
  padding: 28px 24px;
  text-align: center;
}
.info-block__icon { font-size: 28px; margin-bottom: 12px; }
.info-block h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.info-block p { font-size: 13.5px; color: var(--c-ink-soft); line-height: 1.6; margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--c-ink);
  color: #bbb;
  padding-top: 56px;
  margin-top: 0;
  font-size: 13.5px;
}
.site-footer h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-accent);
  display: inline-block;
}
.site-footer a { color: #ddd; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
}
@media (max-width: 720px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
.footer-list {
  list-style: none;
  padding: 0; margin: 0;
  line-height: 2;
}
.footer-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: #888;
  line-height: 1.6;
}
.site-footer__bottom {
  border-top: 1px solid #333;
  padding: 20px 0;
  font-size: 12px;
  color: #999;
}
.site-footer__bottom .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.site-footer__bottom p { margin: 0; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  padding: 16px 0;
  font-size: 12.5px;
  color: var(--c-ink-mute);
  border-bottom: 1px solid var(--c-line);
}
.breadcrumb a { color: var(--c-ink-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-4 { margin-top: 32px; }
.mt-6 { margin-top: 48px; }
.mb-4 { margin-bottom: 32px; }

/* CTA section */
.cta-section {
  background: var(--c-accent);
  color: #fff;
  text-align: center;
  padding: 64px 0;
}
.cta-section h2 { color: #fff; }
.cta-section p { color: #ccc; max-width: 560px; margin: 0 auto 28px; }

.warning-note {
  background: #eff6ff;
  border-left: 3px solid var(--c-accent);
  padding: 10px 16px;
  margin: 12px 0;
  font-size: 13.5px;
  color: #1e3a8a;
}

/* =====================================================================
   Styles additionnels pour pages statiques (Studio, Events, Contact)
   ===================================================================== */

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.hero-image .hero-ctas { justify-content: flex-start; }

.btn--outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.6);
}
.btn--outline-light:hover {
  background: #fff;
  color: var(--c-accent);
  border-color: #fff;
}

/* Hero subtitle lisible sur image */
.hero-image .hero-subtitle {
  font-size: 16.5px;
  line-height: 1.6;
}
.hero-image h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin-bottom: 12px;
}
.hero-image .hero-subtitle strong {
  font-weight: 600;
}

/* Page content wrapper */
.page-content .content-block {
  padding: 72px 0;
}
.page-content .content-block--alt { background: var(--c-bg-soft); }
.page-content .content-block .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
/* Content blocks are inserted raw from DB, so we wrap with .container via CSS */
.page-content .content-block > * {
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}
.page-content .content-block .section-title,
.page-content .content-block .gallery-grid,
.page-content .content-block .card-grid,
.page-content .content-block > p,
.page-content .content-block .kpi-line,
.page-content .content-block form {
  max-width: var(--container-max);
}

/* KPI line (studio) */
.kpi-line {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-size: 15px;
  color: var(--c-ink-soft);
  padding: 32px 0;
  border-bottom: 1px solid var(--c-line);
  margin-bottom: 24px;
}
.kpi-line strong { color: var(--c-ink); }

/* Text leads */
.text-lead {
  font-size: 16.5px;
  line-height: 1.7;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--c-ink);
}

/* Gallery variations */
.gallery-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1000px;
}
.gallery-grid--single {
  grid-template-columns: 1fr;
  max-width: 720px;
}
@media (max-width: 720px) {
  .gallery-grid--3 { grid-template-columns: 1fr 1fr; }
}

/* Podium card (events page) */
.podium-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1000px;
  margin: var(--sp-lg) auto 0;
  align-items: stretch;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: 0;
  overflow: hidden;
}
.podium-card__image {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  background-color: var(--c-bg-soft);
}
.podium-card__content {
  padding: 32px;
}
.podium-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 6px;
}
.price-big {
  font-size: 40px;
  font-weight: 700;
  color: var(--c-accent);
  font-family: var(--font-display);
}
.price-label { font-size: 15px; color: var(--c-ink-soft); }
.podium-card__note {
  font-size: 13px;
  color: var(--c-ink-mute);
  margin-bottom: 14px;
}
.podium-card p { margin-bottom: 20px; line-height: 1.7; }

@media (max-width: 720px) {
  .podium-card {
    grid-template-columns: 1fr;
    max-width: 100%;
    margin-left: var(--container-pad);
    margin-right: var(--container-pad);
  }
  .podium-card__content {
    padding: var(--sp-lg) var(--sp-md);
    text-align: center;
  }
  .podium-card__price {
    justify-content: center;
  }
  .podium-card .btn {
    display: block;
    text-align: center;
  }
}

/* Social links (contact) */
.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--sp-md);
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid var(--c-line);
  border-radius: 0;
  color: var(--c-ink);
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: border-color .2s, color .2s;
}
.social-link:hover {
  border-color: var(--c-ink);
  color: var(--c-ink);
}

/* Contact form */
.contact-form {
  max-width: 560px;
  margin: var(--sp-lg) auto 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-row label {
  font-size: 13px;
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: .01em;
}
.form-row label small {
  color: var(--c-ink-mute);
  font-weight: 400;
}
.form-row input,
.form-row select,
.form-row textarea {
  padding: 12px 14px;
  border: 1px solid var(--c-line);
  border-radius: 0;
  font-size: 14.5px;
  font-family: inherit;
  background: var(--c-surface);
  color: var(--c-ink);
  transition: border-color .2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--c-ink);
}
.form-row textarea { resize: vertical; min-height: 130px; }
.form-row--submit {
  flex-direction: row;
  justify-content: center;
  margin-top: var(--sp-sm);
}

/* =====================================================================
   FAQ accordéon
   ===================================================================== */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item:hover { border-color: var(--c-line-strong, #d4cec4); }
.faq-item.is-open { border-color: var(--c-accent); }

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 56px 18px 24px;
  text-align: left;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  color: var(--c-ink);
  cursor: pointer;
  position: relative;
  line-height: 1.5;
}
.faq-question:hover { background: var(--c-bg-soft); }
.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 300;
  color: var(--c-accent);
  transition: transform .2s;
}
.faq-item.is-open .faq-question::after {
  content: '−';
}
.faq-item.is-open .faq-question {
  color: var(--c-accent);
  background: var(--c-bg-soft);
}

.faq-answer {
  display: none;
  padding: 4px 24px 24px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  border-top: 1px solid var(--c-line);
}
.faq-item.is-open .faq-answer { display: block; }
.faq-answer p { margin-bottom: 0.8em; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer ul { padding-left: 1.6em; margin: 0.6em 0; }
.faq-answer li { margin-bottom: 0.3em; }
.faq-answer a { color: var(--c-accent); text-decoration: underline; }

/* =====================================================================
   Pages légales (politique de confidentialité, mentions légales)
   ===================================================================== */
.content-block--legal {
  padding: 56px 0 72px;
}
.legal-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--c-ink-soft);
}
.legal-body h2 {
  color: var(--c-ink);
  font-size: 20px;
  margin-top: 2em;
  margin-bottom: 0.8em;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--c-accent);
  display: inline-block;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin-bottom: 1em; }
.legal-body a {
  color: var(--c-accent);
  text-decoration: underline;
}
.legal-body hr {
  border: none;
  border-top: 1px solid var(--c-line);
  margin: 2.5em 0;
}
.legal-body strong { color: var(--c-ink); }

/* Mindbody widget wrapper */
.mindbody-widget-wrapper {
  max-width: 1000px;
  margin: 32px auto 0;
  min-height: 200px;
}
.mindbody-widget {
  min-height: 200px;
}

/* =====================================================================
   Lightbox (sans dépendance — vanilla CSS/JS)
   ===================================================================== */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.lightbox-overlay.is-open {
  display: flex;
  opacity: 1;
}
.lightbox-content {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
  cursor: default;
}
.lightbox-image {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  display: block;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: -8px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  color: white;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, 0.25); }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }
.lightbox-counter {
  position: absolute;
  bottom: -32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { top: -48px; right: 0; }
}

/* Make lightbox triggers visually clickable */
.gallery-item--lightbox {
  cursor: zoom-in;
  display: block;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.gallery-item--lightbox:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* =====================================================================
   Carte interactive studio (Leaflet)
   ===================================================================== */
.content-block--map {
  padding-top: 0;
  padding-bottom: 0;
}
.studio-map {
  height: 360px;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--c-line);
  border-radius: 0;
  overflow: hidden;
  background: var(--c-bg-soft);
  position: relative;
  z-index: 1;
  isolation: isolate;
}
/* Leaflet internal panes : contraints dans le stacking context de .studio-map */
.studio-map .leaflet-pane,
.studio-map .leaflet-top,
.studio-map .leaflet-bottom,
.studio-map .leaflet-control {
  z-index: auto;
}
/* Leaflet popup styling to match site aesthetic */
.leaflet-popup-content {
  font-family: var(--font-body) !important;
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: var(--c-ink);
  margin: 10px 14px !important;
}
.leaflet-popup-content strong {
  color: var(--c-accent);
  font-size: 14px;
  display: block;
  margin-bottom: 4px;
}
.leaflet-popup-content-wrapper {
  border-radius: var(--radius) !important;
}
.leaflet-container a.leaflet-popup-close-button {
  color: var(--c-ink-mute);
  font-size: 18px;
  padding: 4px 6px 0 0;
}
.leaflet-marker-icon {
  filter: hue-rotate(210deg) saturate(1.5); /* teinte les markers bleus Leaflet */
}

/* ── Events row (côte à côte) ───────────────────────────────────────────── */
.events-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
  box-sizing: border-box;
}
.events-row > .events-col {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}
.events-col--alt { background: none; }

@media (max-width: 768px) {
  .events-row { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Slider events ──────────────────────────────────────────────────────── */
.events-slider {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  margin-bottom: var(--sp-md);
}
.events-slider__track {
  display: flex;
  transition: transform .4s ease;
}
.events-slider__slide {
  flex: 0 0 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 0;
}
.events-slider__slide--single {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: 0;
  margin-bottom: var(--sp-md);
}
.events-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.45);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s;
}
.events-slider__btn:hover { background: rgba(0,0,0,.7); }
.events-slider__btn--prev { left: 10px; }
.events-slider__btn--next { right: 10px; }
.events-slider__dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0 2px;
  background: transparent;
}
.events-slider__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-border);
  cursor: pointer;
  transition: background .2s;
}
.events-slider__dot.is-active { background: var(--c-accent); }

/* Boutons CTA Mindbody/Healcode — styles identiques aux .btn */
.pack__cta {
  margin-top: 16px !important;
  display: grid !important;
  grid-auto-rows: auto !important;
  gap: 12px !important;
  width: 100% !important;
}

.pack__cta > * {
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
  max-width: none !important;
}

.pack__cta > div {
  width: 100% !important;
  max-width: none !important;
}

/* Style identique aux boutons primaires */
.pack__cta a,
.pack__cta button,
.pack__cta [role="button"],
.pack__cta input[type="button"],
.pack__cta input[type="submit"],
.pack__cta span > a,
.pack__cta span > button {
  display: block !important;
  padding: 12px 24px !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: #fff !important;
  background: var(--c-accent) !important;
  border: 2px solid var(--c-accent) !important;
  border-radius: var(--radius) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.2s !important;
  width: 100% !important;
  text-align: center !important;
  line-height: 1.4 !important;
  box-shadow: none !important;
  max-width: none !important;
  min-width: 100% !important;
  box-sizing: border-box !important;
}

.pack__cta a:hover,
.pack__cta button:hover,
.pack__cta [role="button"]:hover,
.pack__cta input[type="button"]:hover,
.pack__cta input[type="submit"]:hover {
  background: var(--c-accent-hover) !important;
  border-color: var(--c-accent-hover) !important;
  color: #fff !important;
}

/* Couleur thème soldes — surcharge le bleu accent */
.pack__cta--sale a,
.pack__cta--sale button,
.pack__cta--sale [role="button"],
.pack__cta--sale input[type="button"],
.pack__cta--sale input[type="submit"],
.pack__cta--sale span > a,
.pack__cta--sale span > button {
  background: var(--sale-color) !important;
  border-color: var(--sale-color) !important;
  color: #fff !important;
}
.pack__cta--sale a:hover,
.pack__cta--sale button:hover,
.pack__cta--sale [role="button"]:hover,
.pack__cta--sale input[type="button"]:hover,
.pack__cta--sale input[type="submit"]:hover {
  background: var(--sale-color) !important;
  border-color: var(--sale-color) !important;
  opacity: .85;
}

.pack__cta iframe,
.pack__cta script {
  display: none !important;
}

/* ===================================================================== */
/* ===================================================================== */

/* ===================================================================== */

/* ===================================================================== */
/* STUDIO PAGE - VERSION FINALE (SIMPLE & ÉPURÉ) */
/* ===================================================================== */

/* --- Spacing scale --- */
:root {
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 20px;
  --sp-lg: 30px;
  --sp-xl: 40px;
  --sp-2xl: 50px;
}

/* Présentation équipements */
.equip-intro {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.equip-intro .section-title {
  margin-bottom: var(--sp-md);
}

.equip-intro .text-lead {
  font-size: 16px;
  margin: var(--sp-md) 0 0 0;
}

/* Grid équipements */
.equip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin: var(--sp-2xl) 0;
  width: 100%;
}


/* ===================================================================== */
/* STUDIO PAGE - LAYOUT PROPRE ET SIMPLE */
/* ===================================================================== */

:root {
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 20px;
  --sp-lg: 30px;
  --sp-xl: 40px;
  --sp-2xl: 50px;
}

/* ÉQUIPEMENTS */
.equip-intro {
  text-align: center;
  margin-bottom: var(--sp-xl);
}

.equip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  margin: var(--sp-2xl) 0;
  width: 100%;
}

.equip-card {
  padding: var(--sp-lg) 0;
  border-bottom: 1px solid var(--c-line);
  border-radius: 0;
}

.equip-card:last-child {
  border-bottom: none;
}

.equip-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 var(--sp-md) 0;
  color: var(--c-ink);
}

.equip-card__feature {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--c-accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: var(--sp-md);
}

.equip-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--c-ink-soft);
  font-size: 14px;
}

/* GALERIE + TEXTE CÔTE À CÔTE */
.gallery-with-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
  align-items: start;
  margin: var(--sp-2xl) 0;
  width: 100%;
}

.gallery-section {
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.gallery-grid--2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-sm);
  width: 100%;
}

.gallery-grid--2 .gallery-item:nth-child(3) {
  grid-column: span 2;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 0;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.info-section {
  padding: var(--sp-md) 0 0 0;
}

.info-section h3 {
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 var(--sp-xl) 0;
  color: var(--c-ink);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-ink-soft);
}

.info-list li strong {
  color: var(--c-ink);
  font-weight: 600;
}

.info-list li:last-child {
  border-bottom: none;
}

/* 14 COURS */
.courses-title {
  font-size: 18px;
  font-weight: 600;
  margin: var(--sp-xl) 0 var(--sp-md) 0;
  color: var(--c-ink);
}

.courses-highlights-inline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--sp-md);
}

.courses-highlights-inline .courses-highlight-item {
  padding: var(--sp-md);
  background: #f0ede8;
  text-align: center;
  border-radius: 0;
}

.courses-highlights-inline .highlight-icon {
  font-size: 28px;
  margin-bottom: var(--sp-sm);
}

.courses-highlights-inline p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-ink-soft);
  margin: 0;
}

.courses-highlights-inline p strong {
  display: block;
  color: var(--c-ink);
  font-weight: 600;
  margin-bottom: var(--sp-xs);
  font-size: 14px;
}

/* RÉSERVATIONS */
#reservations-en-ligne {
  margin: var(--sp-2xl) 0;
}

#reservations-en-ligne > p {
  font-size: 15px;
  line-height: 1.7;
  margin-top: 0;
  margin-bottom: var(--sp-xl);
  color: var(--c-ink-soft);
  text-align: center;
}

.link-inline {
  color: var(--c-accent);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 2px solid var(--c-accent);
  transition: all 0.2s ease;
  display: inline;
}

.link-inline:hover {
  color: var(--c-accent-hover);
  border-bottom-color: var(--c-accent-hover);
}

/* COACHS */
.content-block--coachs {
  margin: var(--sp-2xl) 0 0 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .equip-grid,
  .gallery-with-text {
    grid-template-columns: 1fr;
    gap: var(--sp-lg);
  }

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

  .gallery-grid--2 .gallery-item:nth-child(3) {
    grid-column: span 1;
  }

  .courses-highlights-inline {
    grid-template-columns: 1fr;
  }
}

/* =====================================================================
   PAGE CONTACT — layout simple empilé
   ===================================================================== */
.page-content .content-block--social,
.page-content .content-block--access,
.page-content .content-block--map,
.page-content .content-block--form,
.page-content .content-block--faq-cta {
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}
.page-content .content-block--access { padding-bottom: var(--sp-md); }
.page-content .content-block--map { padding-top: 0; }
.content-block--access .text-lead,
.content-block--access p {
  margin: 0 auto;
  max-width: 640px;
}
.content-block--access p + p {
  margin-top: var(--sp-xs);
  color: var(--c-ink-soft);
}
.content-block--form .text-lead {
  color: var(--c-ink-soft);
  margin-bottom: 0;
}
.content-block--faq-cta {
  border-top: 1px solid var(--c-line);
  text-align: center;
}
.content-block--faq-cta .section-title {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 22px;
  margin-bottom: var(--sp-md);
}
.content-block--faq-cta p {
  color: var(--c-ink-soft);
}

/* =====================================================================
   PAGE EVENTS & PRIVATISATION — fonds alternés
   ===================================================================== */
.page-content .content-block.events-row {
  background: var(--c-surface);
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}
.page-content .content-block#location-podium {
  background: var(--c-bg-soft);
  padding-top: var(--sp-2xl);
  padding-bottom: var(--sp-2xl);
}
.podium-card__image {
  min-height: 320px;
}
.podium-card__content {
  padding: var(--sp-xl);
}

/* =====================================================================
   Harmonisation sections accueil / nos-cours
   ===================================================================== */
.section + .section { padding-top: var(--sp-2xl); }
.section-intro {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.info-blocks { margin-bottom: 0; }

/* Retirer arrondi sur images coach */
.card.card--coach .card__image { border-radius: 0; }

/* Lien overlay carte coach (pour permettre Instagram icon par-dessus) */
.card--coach {
  position: relative;
}
.card__overlay-link {
  position: absolute;
  inset: 0;
  z-index: 1;
}
/* Instagram icon sur la carte */
.coach-instagram-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 500;
  color: var(--c-ink-soft);
  text-decoration: none;
  padding: 8px 12px 14px;
  transition: color .2s;
}
.coach-instagram-icon:hover { color: var(--c-accent); }
.coach-instagram-icon svg { width: 15px; height: 15px; flex-shrink: 0; }

/* Disciplines coach (cartes + profil) */
.coach-disciplines {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 0 12px 16px;
}
.coach-discipline-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--c-accent);
  border: 1px solid var(--c-accent);
  padding: 3px 9px;
  border-radius: 0;
}
/* Sur les pages profil : alignés à gauche, légèrement plus grands */
.coach-profile .coach-disciplines {
  justify-content: flex-start;
  padding: 0;
  margin-top: var(--sp-sm);
  margin-bottom: var(--sp-md);
}
.coach-profile .coach-discipline-tag {
  font-size: 12px;
}

/* =====================================================================
   Burger menu : ☰ → ✕ quand ouvert
   ===================================================================== */
/* SVG icons inside burger toggle handle open/close state via inline style */

/* =====================================================================
   Packs-grid : 3 colonnes fixes sur desktop (Training libre toujours ensemble)
   ===================================================================== */
@media (min-width: 768px) {
  .packs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =====================================================================
   Page détail cours : nouveau layout
   ===================================================================== */
.cours-detail-header {
  padding-bottom: 0;
}
.cours-detail-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: var(--sp-lg);
  text-align: center;
}
.cours-detail-cover {
  width: 100%;
  height: clamp(260px, 40vw, 480px);
  background-size: cover;
  background-position: center center;
}

/* 2 colonnes Descriptif / Tenue exigée */
.cours-detail-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-xl);
  margin-bottom: var(--sp-xl);
}
@media (min-width: 768px) {
  .cours-detail-cols {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-2xl);
  }
}

/* ─── CTA Band : section CTA standardisée (utilisé sur home, coach_detail, cours_detail, contact, events) ─── */
.cta-band {
  text-align: center;
  padding: clamp(70px, 12vw, 140px) clamp(20px, 5vw, 48px);
  position: relative;
  background: var(--ds-cream-dim);
  color: var(--ds-ink);
  border-top: 1px solid color-mix(in srgb, var(--ds-ink) 10%, transparent);
}
.cta-band--dark {
  background: var(--ds-ink);
  color: var(--ds-cream);
}
.cta-band--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--ds-ink) 75%, var(--ds-cream)) 0%, var(--ds-ink) 70%);
  pointer-events: none;
}
.cta-band-inner {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.cta-band-label {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 24px;
}
.cta-band h2 {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-size: clamp(32px, 6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0 0 32px 0;
  color: inherit;
}
.cta-band h2 em {
  font-style: italic;
  color: var(--c-accent);
}
.cta-band p {
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.6;
  opacity: 0.85;
  margin: 0 auto 40px auto;
  max-width: 600px;
}
.cta-band-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Watermark logo (filigrane décoratif sur sections clés) ─── */
.watermark {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  background-image: url('/assets/illustrations/pas-watermark-black.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.022;
}
.watermark--right  { top: -40px;  right: -80px; width: 720px; height: 620px; }
.watermark--left   { top: -40px;  left: -80px;  width: 640px; height: 540px; }
.watermark--center { top: 50%;    left: 50%;    width: 720px; height: 620px; transform: translate(-50%, -50%); opacity: 0.018; }
.watermark--bottom { bottom: -120px; right: -100px; width: 600px; height: 520px; }

/* Sur fond foncé : SVG cream */
.watermark--light {
  background-image: url('/assets/illustrations/pas-watermark-cream.svg');
  opacity: 0.04;
}

@media (max-width: 1024px) {
  .watermark--right, .watermark--left, .watermark--bottom { width: 480px; height: 410px; }
  .watermark--center { width: 480px; height: 410px; }
}
@media (max-width: 640px) {
  .watermark { display: none; } /* masqué sur mobile */
}

/* =====================================================================
   Design system — Heros & boutons CTA
   ---------------------------------------------------------------------
   Pattern unifié pour tous les heros de pages publiques.
   Utilisation :
     <section class="page-hero page-hero--dark">
       <img class="page-hero-img" src="..." />
       <div class="page-hero-overlay"></div>
       <div class="page-hero-labels">
         <span>— Label gauche</span>
         <span>Label droite</span>
       </div>
       <div class="page-hero-content">
         <h1>Titre principal <em>en italique bleu</em>.</h1>
         <div class="page-hero-meta">
           <p>Sous-titre / description.</p>
           <div class="page-hero-ctas">
             <a href="#x" class="btn btn-primary">Action principale</a>
             <a href="#y" class="btn btn-outline">Action secondaire</a>
           </div>
         </div>
       </div>
     </section>
   ===================================================================== */

:root {
  /* Alias hero — pointent désormais sur les tokens --ds-* */
  --hero-container: var(--ds-container);
  --hero-gutter: var(--ds-gutter);
  --hero-cream: var(--ds-cream);
  --hero-ink: var(--ds-ink);
  --hero-blue: var(--ds-blue);
  --hero-blue-text: var(--ds-blue-text);
  --hero-radius: var(--ds-radius);
}

/* --- Section hero --- */
.page-hero {
  position: relative;
  height: clamp(380px, 56vh, 520px);
  background: var(--hero-ink);
  color: var(--hero-cream);
  overflow: hidden;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.5) brightness(0.55) contrast(1.05);
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,13,14,0) 25%, rgba(13,13,14,0.7) 100%);
  z-index: 1;
}

/* --- Labels en haut du hero --- */
.page-hero-labels {
  position: absolute;
  top: clamp(72px, 12vh, 120px);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: calc(var(--hero-container) + 2 * var(--hero-gutter));
  padding: 0 var(--hero-gutter);
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.65;
  z-index: 2;
}

/* --- Contenu en bas du hero --- */
.page-hero-content {
  position: absolute;
  left: 50%;
  bottom: clamp(40px, 8vh, 72px);
  transform: translateX(-50%);
  width: 100%;
  max-width: calc(var(--hero-container) + 2 * var(--hero-gutter));
  padding: 0 var(--hero-gutter);
  box-sizing: border-box;
  z-index: 2;
}
.page-hero h1 {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-size: clamp(30px, 6vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin: 0;
  color: var(--hero-cream);
}
.page-hero h1 em {
  font-style: italic;
  color: var(--hero-blue);
}

/* --- Bloc paragraphe + CTAs --- */
.page-hero-meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-top: clamp(20px, 3vw, 32px);
  align-items: end;
}
.page-hero-meta p {
  margin: 0;
  font-size: clamp(14px, 1.4vw, 18px);
  line-height: 1.55;
  opacity: 0.85;
  max-width: 540px;
}

/* --- Boutons CTA (réutilisables aussi hors hero) --- */
.page-hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* On force la couleur sur a.btn pour ne pas hériter de la règle globale `a:hover` */
a.btn,
a.btn:hover,
a.btn:focus,
a.btn:active,
a.btn:visited {
  text-decoration: none;
}

.btn {
  display: inline-block;
  padding: 16px 32px;
  min-height: 44px; /* a11y: zone de toucher minimum WCAG 2.1 */
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--hero-radius);
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s, box-shadow .3s, background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }

/* Primary : bleu plein */
a.btn-primary,
a.btn-primary:visited {
  background: var(--hero-blue);
  color: var(--hero-blue-text);
  box-shadow: 0 8px 24px color-mix(in srgb, var(--c-accent) 35%, transparent);
}
a.btn-primary:hover,
a.btn-primary:focus {
  background: var(--hero-blue);
  color: var(--hero-blue-text);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--c-accent) 50%, transparent);
}

/* Outline : variante visuelle pour heros sombres (fond crème opaque + texte ink) */
a.btn-outline,
a.btn-outline:visited {
  background: var(--ds-cream);
  color: var(--ds-ink);
  border-color: var(--ds-cream);
}
a.btn-outline:hover,
a.btn-outline:focus {
  background: #ffffff;
  color: var(--ds-ink); /* a11y : texte toujours sombre, jamais blanc */
  border-color: #ffffff;
}

/* =====================================================================
   Hiérarchie boutons — règle UX
   ---------------------------------------------------------------------
   • Primary  : 1-2 par page MAX. L'action principale (bleu plein).
   • Secondary: actions importantes mais pas LE choix principal.
                Marche sur fond clair ET sombre (paper + bordure ink).
   • Ghost    : actions discrètes, texte sombre sans fond.
   • Danger   : suppression, action irréversible.
   • Outline  : variante visuelle Secondary spécifique aux heros sombres.
   ===================================================================== */

/* Secondary — universel (fond paper + bordure ink, marche sur clair et sombre) */
a.btn-secondary,
a.btn-secondary:visited,
.btn-secondary {
  background: var(--ds-paper);
  color: var(--ds-ink);
  border: 1px solid var(--ds-ink);
}
a.btn-secondary:hover,
a.btn-secondary:focus {
  background: var(--ds-ink);
  color: var(--ds-paper);
  border-color: var(--ds-ink);
}

/* Ghost — discret, transparent */
a.btn-ghost,
a.btn-ghost:visited,
.btn-ghost {
  background: transparent;
  color: var(--ds-ink);
  border: 1px solid transparent;
}
a.btn-ghost:hover,
a.btn-ghost:focus {
  background: rgba(10, 10, 10, 0.05);
  color: var(--ds-ink);
}

/* Danger — actions destructives */
a.btn-danger,
a.btn-danger:visited,
.btn-danger {
  background: var(--ds-error);
  color: var(--ds-paper);
  border: 1px solid var(--ds-error);
}
a.btn-danger:hover,
a.btn-danger:focus {
  background: #991b1b;
  color: var(--ds-paper);
  border-color: #991b1b;
}

/* Tailles */
.btn--sm { padding: 10px 18px; font-size: 11px; min-height: 36px; }
.btn--lg { padding: 20px 40px; font-size: 14px; min-height: 56px; }

/* =====================================================================
   Accessibilité — règles globales
   ---------------------------------------------------------------------
   - Focus clavier visible (anneau bleu)
   - Respect prefers-reduced-motion (désactive animations)
   - Skip link pour les lecteurs d'écran
   ===================================================================== */

/* Focus visible pour navigation clavier (Tab) — pas pour clic souris */
.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--hero-blue);
  outline-offset: 2px;
}

/* Respect du choix utilisateur "réduire les animations" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Classe utilitaire pour texte visuellement caché mais lu par les lecteurs d'écran */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .page-hero-labels {
    top: 90px;
    padding: 0 32px;
  }
  .page-hero-content {
    padding: 0 32px;
    bottom: 56px;
  }
}
@media (max-width: 768px) {
  .page-hero-meta {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
@media (max-width: 640px) {
  .page-hero-labels {
    top: 80px;
    padding: 0 20px;
    font-size: 9px;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
  }
  .page-hero-content {
    padding: 0 20px;
    bottom: 40px;
  }
  .page-hero-meta p {
    font-size: 14px;
  }
  .page-hero-ctas .btn {
    padding: 14px 22px;
    font-size: 11px;
  }
  /* Garder le titre sur une seule ligne en mobile (évite chevauchement avec eyebrow) */
  .page-hero h1 br { display: none; }
  .page-hero h1 br + em::before { content: ' '; }
}

/* ─── Mini-FAQ (composant partagé pour pages cours / tarifs / studio) ──────── */
.mini-faq {
  background: var(--ds-cream);
  padding: 80px 48px;
  border-top: 1px solid color-mix(in srgb, var(--ds-ink) 8%, transparent);
}
.mini-faq-inner { max-width: 900px; margin: 0 auto; }
.mini-faq-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ds-muted);
  margin-bottom: 16px;
}
.mini-faq-title {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 400;
  margin: 0 0 36px;
  color: var(--ds-ink);
}
.mini-faq-title em { font-style: italic; color: var(--c-accent); }
.mini-faq-list { border-top: 1px solid color-mix(in srgb, var(--ds-ink) 13%, transparent); }
.mini-faq-item { border-bottom: 1px solid color-mix(in srgb, var(--ds-ink) 13%, transparent); }
.mini-faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1fr 24px;
  gap: 16px;
  align-items: center;
}
.mini-faq-item summary::-webkit-details-marker { display: none; }
.mini-faq-q {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
  color: var(--ds-ink);
}
.mini-faq-toggle {
  font-family: 'DM Serif Display', 'Playfair Display', serif;
  font-style: italic;
  font-size: 24px;
  text-align: right;
  color: var(--c-accent);
  transition: transform 0.25s ease;
}
.mini-faq-item[open] .mini-faq-toggle { transform: rotate(45deg); }
.mini-faq-a {
  padding: 0 0 22px 0;
  font-size: 14px;
  line-height: 1.65;
  opacity: 0.85;
  max-width: 700px;
}
@media (max-width: 640px) {
  .mini-faq { padding: 60px 20px; }
  .mini-faq-q { font-size: 17px; }
  .mini-faq-toggle { font-size: 20px; }
}
