/* ============================================================
   PERF'FORME — Design System v2
   perfforme.fr
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@0,300;0,400;0,600;0,700;0,800;0,900;1,700;1,800;1,900&family=Inter:wght@300;400;500;600&display=swap');

/* ── Tokens ─────────────────────────────── */
:root {
  --navy:       #0A2540;
  --navy-deep:  #060f1a;
  --navy-mid:   #0d2e50;
  --sky:        #52C5F5;
  --sky-dim:    rgba(82,197,245,0.12);
  --sky-glow:   rgba(82,197,245,0.25);
  --white:      #FFFFFF;
  --pearl:      #F0F4F8;
  --text-muted: rgba(255,255,255,0.5);
  --text-dim:   rgba(255,255,255,0.75);
  --border:     rgba(82,197,245,0.18);
  --border-dim: rgba(255,255,255,0.08);
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;
  --nav-h: 80px;
  --radius: 12px;
  --radius-sm: 6px;
  --ease: cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font-body); background: var(--navy); color: var(--white); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: var(--font-body); outline: none; }
::selection { background: var(--sky); color: var(--navy); }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--navy-deep); }
::-webkit-scrollbar-thumb { background: var(--sky-glow); border-radius: 3px; }

/* ── Loader ──────────────────────────────── */
#loader { position: fixed; inset: 0; background: var(--navy-deep); display: flex; align-items: center; justify-content: center; z-index: 9999; transition: opacity 0.5s, visibility 0.5s; }
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-family: var(--font-display); font-size: 44px; font-weight: 900; font-style: italic; color: var(--sky); }
.loader-logo span { color: var(--white); }
.loader-bar { width: 160px; height: 2px; background: var(--border); border-radius: 2px; overflow: hidden; margin-top: 20px; }
.loader-bar-fill { height: 100%; background: var(--sky); width: 0; animation: loaderFill 0.9s ease forwards; }
@keyframes loaderFill { to { width: 100%; } }

/* ── Navigation ──────────────────────────── */
#nav { position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 200; transition: background 0.25s var(--ease), border-color 0.25s var(--ease); border-bottom: 1px solid transparent; }
#nav.scrolled { background: rgba(6,15,26,0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-color: var(--border); }
.nav-inner { max-width: 1320px; margin: 0 auto; height: 100%; padding: 0 36px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* Logo */
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 60px; width: auto; object-fit: contain; }

/* Links */
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > a, .nav-dropdown > .nav-drop-trigger {
  padding: 7px 13px;
  font-size: 13px; font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  cursor: pointer;
  display: flex; align-items: center; gap: 5px;
}
.nav-links > a:hover, .nav-dropdown:hover > .nav-drop-trigger { color: var(--white); background: var(--sky-dim); }
.nav-links > a.active, .nav-dropdown.active > .nav-drop-trigger { color: var(--sky); }
.nav-drop-caret { font-size: 9px; color: var(--text-muted); transition: transform 0.2s; }
.nav-dropdown:hover .nav-drop-caret { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-drop-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 200px;
  background: rgba(6,15,26,0.97);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
  opacity: 0; pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s var(--ease), transform 0.18s var(--ease);
  backdrop-filter: blur(20px);
  /* Invisible bridge so mouse can travel from trigger to menu */
}
/* Invisible padding-top acts as a hover bridge */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: -10px; right: -10px;
  height: 12px;
  background: transparent;
}
.nav-dropdown:hover .nav-drop-menu {
  opacity: 1; pointer-events: auto; transform: translateY(0);
  /* Small delay on hide so mouse can travel to menu */
  transition-delay: 0s;
}
/* Keep menu open briefly when mouse leaves trigger heading toward menu */
.nav-drop-menu { transition-delay: 0.08s; }
.nav-dropdown:hover .nav-drop-menu { transition-delay: 0s; }
.nav-drop-menu a {
  display: block; padding: 9px 12px;
  font-size: 13px; color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.nav-drop-menu a:hover { color: var(--white); background: var(--sky-dim); }
.nav-drop-menu a.active { color: var(--sky); }
.nav-drop-divider { height: 1px; background: var(--border-dim); margin: 6px 0; }

/* CTA */
.nav-cta { flex-shrink: 0; }
.btn-primary {
  background: var(--sky); color: var(--navy);
  padding: 10px 22px; border-radius: 100px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.3px;
  transition: all 0.2s var(--ease); white-space: nowrap; display: inline-block;
}
.btn-primary:hover { background: var(--white); box-shadow: 0 0 28px var(--sky-glow); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid var(--border); color: var(--white);
  padding: 9px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  transition: all 0.2s var(--ease); white-space: nowrap; display: inline-block;
}
.btn-outline:hover { border-color: var(--sky); color: var(--sky); }

/* Burger */
.nav-burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all 0.2s var(--ease); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.nav-mobile {
  display: none; position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: rgba(6,15,26,0.98); backdrop-filter: blur(24px);
  z-index: 199; flex-direction: column; padding: 32px 28px; gap: 4px;
  overflow-y: auto;
}
.nav-mobile.open { display: flex; }
.nav-mobile-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--sky);
  padding: 16px 8px 8px;
}
.nav-mobile a {
  font-family: var(--font-display); font-size: 28px; font-weight: 800; font-style: italic;
  color: var(--text-muted); padding: 10px 8px;
  border-bottom: 1px solid var(--border-dim);
  transition: color 0.15s;
}
.nav-mobile a:last-of-type { border-bottom: none; }
.nav-mobile a:hover { color: var(--sky); }
.nav-mobile .mobile-cta { margin-top: 28px; }
.nav-mobile .mobile-cta .btn-primary { display: block; text-align: center; padding: 15px; font-size: 15px; }

/* ── Layout helpers ─────────────────────── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 36px; }
.section-pad { padding: 100px 0; }
.section-pad-sm { padding: 72px 0; }

/* Reveal — visible by default, animate in when JS loads */
.reveal { opacity: 1; transform: none; }
.reveal.js-loaded { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.js-loaded.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ── Text styles ────────────────────────── */
.eyebrow { font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--sky); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.eyebrow::before { content: ''; display: block; width: 26px; height: 2px; background: var(--sky); flex-shrink: 0; }
.display-xl { font-family: var(--font-display); font-size: clamp(52px, 7.5vw, 104px); font-weight: 900; font-style: italic; line-height: 0.9; letter-spacing: -2px; }
.display-lg { font-family: var(--font-display); font-size: clamp(34px, 5vw, 60px); font-weight: 800; font-style: italic; line-height: 1; }
.display-md { font-family: var(--font-display); font-size: clamp(26px, 3.5vw, 42px); font-weight: 800; font-style: italic; line-height: 1.05; }
.text-sky { color: var(--sky); }
.body-lg { font-size: 17px; line-height: 1.7; color: var(--text-dim); }
.body-md { font-size: 14px; line-height: 1.65; color: var(--text-muted); }

/* ── Page hero ──────────────────────────── */
.page-hero {
  padding-top: calc(var(--nav-h) + 72px);
  padding-bottom: 80px;
  position: relative; overflow: hidden;
  background: var(--navy-deep);
}
.page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: brightness(0.32) contrast(1.1);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(6,15,26,0.92) 0%, rgba(6,15,26,0.6) 60%, transparent 100%);
}
.page-hero-content { position: relative; z-index: 2; }

/* ── Breadcrumb ─────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--sky); }
.breadcrumb-sep { color: rgba(255,255,255,0.2); }

/* ── Stats ──────────────────────────────── */
.stats-row { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--border-dim); border: 1px solid var(--border-dim); border-radius: var(--radius); overflow: hidden; gap: 1px; }
.stat-item { background: var(--navy-deep); padding: 36px 24px; text-align: center; transition: background 0.2s; }
.stat-item:hover { background: var(--sky-dim); }
.stat-num { font-family: var(--font-display); font-size: 48px; font-weight: 900; font-style: italic; color: var(--sky); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 11px; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1.5px; }

/* ── Discipline cards ───────────────────── */
.disciplines-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.discipline-card { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); transition: all 0.25s var(--ease); cursor: pointer; display: block; background: var(--navy-mid); }
.discipline-card:hover { border-color: var(--sky); transform: translateY(-4px); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(82,197,245,0.1); }
.discipline-card-media { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top; transition: transform 0.5s ease; display: block; }
.discipline-card:hover .discipline-card-media { transform: scale(1.04); }
.discipline-card.featured .discipline-card-media { aspect-ratio: 16/7; }
.discipline-card-body { padding: 18px 20px; }
.discipline-card-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.discipline-card-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; font-style: italic; color: var(--white); margin-bottom: 4px; }
.discipline-card-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.discipline-card-arrow { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; background: rgba(82,197,245,0.15); border: 1px solid var(--border); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--sky); transition: all 0.2s; }
.discipline-card:hover .discipline-card-arrow { background: var(--sky); color: var(--navy); }
.discipline-card.featured { grid-column: span 2; }
.discipline-card.featured .discipline-card-title { font-size: 28px; }

/* ── Video wrapper ──────────────────────── */
.video-wrapper {
  position: relative; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--border);
  cursor: pointer; background: var(--navy-deep);
  /* Fixed ratio — no blue void */
  aspect-ratio: 16/9;
}
.video-wrapper video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  background: var(--navy-deep);
}
.video-overlay { position: absolute; inset: 0; background: rgba(6,15,26,0.45); display: flex; align-items: center; justify-content: center; transition: background 0.2s; }
.video-wrapper:hover .video-overlay { background: rgba(6,15,26,0.2); }
.video-play-btn { width: 68px; height: 68px; background: var(--sky); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: all 0.2s; box-shadow: 0 0 36px rgba(82,197,245,0.4); }
.video-wrapper:hover .video-play-btn { transform: scale(1.1); box-shadow: 0 0 56px rgba(82,197,245,0.6); }
.video-play-btn svg { width: 26px; height: 26px; fill: var(--navy); margin-left: 3px; }
.video-overlay.hidden { display: none; }

/* Video grid */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-grid .video-wrapper:first-child { grid-column: span 2; }

/* ── Media stack ────────────────────────── */
.media-stack { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.media-stack > *:first-child { grid-column: span 2; }
.img-full { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.img-full img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* ── Two col ────────────────────────────── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col--wide { gap: 80px; align-items: start; }
.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

/* ── Feature list ───────────────────────── */
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; color: var(--text-dim); line-height: 1.5; }
.feature-list li::before { content: ''; width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; background: var(--sky-dim); border: 1px solid var(--sky); border-radius: 50%; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%2352C5F5'%3E%3Cpath d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E"); background-size: 11px; background-repeat: no-repeat; background-position: center; }

/* ── Glow card ──────────────────────────── */
.glow-card { background: var(--navy-mid); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: all 0.22s var(--ease); }
.glow-card:hover { border-color: var(--sky); box-shadow: 0 0 36px rgba(82,197,245,0.07); }
.glow-card h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; font-style: italic; color: var(--white); margin-bottom: 8px; }

/* ── Coach photo ────────────────────────── */
.coach-photo { border-radius: var(--radius); overflow: hidden; position: relative; border: 1px solid var(--border); }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.coach-photo-accent { position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, rgba(10,37,64,0.9), transparent); }

/* ── Tags ───────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.tag { background: var(--sky-dim); border: 1px solid var(--border); color: var(--sky); padding: 6px 14px; border-radius: 100px; font-size: 12px; font-weight: 600; transition: all 0.2s; }
.tag:hover { background: var(--sky); color: var(--navy); }
.tag.neutral { color: var(--text-dim); border-color: var(--border-dim); background: transparent; }

/* ── Timeline ───────────────────────────── */
.timeline { position: relative; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--border); }
.timeline-item { position: relative; margin-bottom: 24px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 5px; width: 8px; height: 8px; background: var(--sky); border-radius: 50%; box-shadow: 0 0 10px var(--sky-glow); }
.timeline-year { font-size: 11px; font-weight: 700; color: var(--sky); letter-spacing: 1.5px; margin-bottom: 2px; }
.timeline-text { font-size: 13px; color: var(--text-dim); line-height: 1.5; }

/* ── Pricing ────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pricing-card { background: var(--navy-mid); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: all 0.22s var(--ease); position: relative; overflow: hidden; }
.pricing-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--border); transition: background 0.2s; }
.pricing-card:hover { border-color: var(--sky); transform: translateY(-3px); }
.pricing-card:hover::before { background: var(--sky); }
.pricing-card.featured { border-color: var(--sky); background: linear-gradient(160deg, rgba(82,197,245,0.09) 0%, var(--navy-mid) 60%); }
.pricing-card.featured::before { background: var(--sky); }
.pricing-badge { display: inline-block; background: var(--sky); color: var(--navy); font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 16px; }
.pricing-title { font-family: var(--font-display); font-size: 20px; font-weight: 800; font-style: italic; color: var(--white); margin-bottom: 4px; }
.pricing-subtitle { font-size: 12px; color: var(--text-muted); margin-bottom: 20px; }
.pricing-price { font-family: var(--font-display); font-size: 44px; font-weight: 900; font-style: italic; color: var(--sky); line-height: 1; }
.pricing-price sup { font-size: 22px; font-weight: 700; vertical-align: super; }
.pricing-price-unit { font-size: 16px; font-weight: 400; color: var(--text-muted); }
.pricing-divider { height: 1px; background: var(--border-dim); margin: 18px 0; }
.pricing-feature { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-dim); margin-bottom: 8px; line-height: 1.4; }
.pricing-feature::before { content: '✓'; color: var(--sky); font-weight: 700; flex-shrink: 0; margin-top: 1px; font-size: 12px; }
.pricing-cta { margin-top: 24px; display: block; width: 100%; padding: 13px; border-radius: 100px; font-size: 14px; font-weight: 700; text-align: center; transition: all 0.2s var(--ease); }
.pricing-cta.primary { background: var(--sky); color: var(--navy); }
.pricing-cta.primary:hover { background: var(--white); box-shadow: 0 0 24px var(--sky-glow); }
.pricing-cta.outline { border: 1.5px solid var(--border); color: var(--white); }
.pricing-cta.outline:hover { border-color: var(--sky); color: var(--sky); }

/* ── Tarif table ────────────────────────── */
.tarif-table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
.tarif-table { width: 100%; border-collapse: collapse; min-width: 580px; }
.tarif-table th { background: rgba(82,197,245,0.1); padding: 11px 14px; font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sky); text-align: center; border-bottom: 1px solid var(--border); }
.tarif-table th.left { text-align: left; }
.tarif-table td { padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,0.04); text-align: center; font-size: 14px; }
.tarif-table td.format-col { text-align: left; font-weight: 600; color: var(--text-dim); font-size: 13px; }
.tarif-table tr:last-child td { border-bottom: none; }
.tarif-table tr:hover td { background: rgba(82,197,245,0.04); }
.tarif-val { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--sky); }
.tarif-unit { font-size: 12px; color: var(--text-muted); }
.tarif-na { color: rgba(255,255,255,0.18); font-size: 18px; }
.tarif-best { display: inline-block; background: rgba(82,197,245,0.15); color: var(--sky); border: 1px solid var(--border); border-radius: 100px; padding: 2px 8px; font-size: 9px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-left: 6px; vertical-align: middle; }

/* ── Tabs ───────────────────────────────── */
.tabs { display: flex; gap: 4px; background: rgba(255,255,255,0.04); border: 1px solid var(--border-dim); border-radius: 100px; padding: 4px; width: fit-content; margin-bottom: 28px; }
.tab-btn { padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--text-muted); transition: all 0.2s; cursor: pointer; background: none; border: none; }
.tab-btn.active { background: var(--sky); color: var(--navy); }
.tab-btn:not(.active):hover { color: var(--white); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── Info box ───────────────────────────── */
.info-box { background: var(--sky-dim); border-left: 3px solid var(--sky); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; padding: 16px 20px; font-size: 13px; color: var(--text-dim); line-height: 1.7; }
.info-box strong { color: var(--white); }
.info-box.warning { border-left-color: #f59e0b; background: rgba(245,158,11,0.07); }

/* ── Contact ────────────────────────────── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); margin-bottom: 7px; }
.form-input, .form-textarea, .form-select { width: 100%; background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 13px 15px; font-size: 14px; color: var(--white); transition: border-color 0.2s, background 0.2s; }
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--sky); background: rgba(82,197,245,0.05); }
.form-input::placeholder, .form-textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-textarea { min-height: 130px; resize: vertical; }
.form-select { cursor: pointer; }
.form-select option { background: var(--navy-deep); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; background: var(--sky); color: var(--navy); padding: 15px; border-radius: 100px; font-size: 15px; font-weight: 700; letter-spacing: 0.5px; transition: all 0.2s var(--ease); margin-top: 6px; }
.form-submit:hover { background: var(--white); box-shadow: 0 0 32px var(--sky-glow); transform: translateY(-2px); }
.contact-card { background: var(--sky-dim); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; align-items: center; gap: 14px; transition: all 0.2s; text-decoration: none; }
.contact-card:hover { border-color: var(--sky); background: rgba(82,197,245,0.16); }
.contact-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--sky); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.contact-card-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.contact-card-value { font-size: 14px; font-weight: 600; color: var(--white); }

/* ── CTA band ───────────────────────────── */
.cta-band { background: linear-gradient(135deg, rgba(82,197,245,0.1), rgba(10,37,64,0.8), var(--navy-deep)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0; position: relative; overflow: hidden; }
.cta-band::before { content: 'PERF'; position: absolute; right: -40px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 220px; font-weight: 900; font-style: italic; color: rgba(82,197,245,0.03); pointer-events: none; user-select: none; line-height: 1; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; position: relative; z-index: 1; }
.cta-btns { display: flex; gap: 12px; flex-shrink: 0; }

/* ── Footer ─────────────────────────────── */
footer { background: var(--navy-deep); border-top: 1px solid var(--border-dim); padding: 64px 0 40px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand-logo { height: 56px; width: auto; object-fit: contain; display: block; margin-bottom: 16px; }
.footer-tagline { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.footer-col-title { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color 0.15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { padding-top: 24px; border-top: 1px solid var(--border-dim); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.footer-legal { font-size: 12px; color: rgba(255,255,255,0.22); }
.footer-social { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border: 1px solid var(--border-dim); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 16px; color: var(--text-muted); transition: all 0.2s; }
.social-btn:hover { border-color: var(--sky); color: var(--sky); background: var(--sky-dim); }

/* ── Back top ───────────────────────────── */
#back-top { position: fixed; bottom: 24px; right: 24px; width: 44px; height: 44px; background: var(--sky); color: var(--navy); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; opacity: 0; pointer-events: none; transition: all 0.22s var(--ease); z-index: 50; box-shadow: 0 4px 20px rgba(82,197,245,0.3); }
#back-top.visible { opacity: 1; pointer-events: auto; }
#back-top:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(82,197,245,0.5); }

/* ── Toast ──────────────────────────────── */
.toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(16px); background: var(--navy-mid); border: 1px solid var(--sky); border-radius: var(--radius); padding: 13px 22px; font-size: 14px; font-weight: 500; color: var(--white); opacity: 0; pointer-events: none; transition: all 0.25s var(--ease); z-index: 200; white-space: nowrap; box-shadow: 0 8px 32px rgba(0,0,0,0.4); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ── Responsive ─────────────────────────── */
@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .container { padding: 0 20px; }
  .section-pad { padding: 72px 0; }
  .section-pad-sm { padding: 52px 0; }
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-logo img { height: 44px; }
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .two-col.reverse { direction: ltr; }
  .disciplines-grid { grid-template-columns: 1fr; }
  .discipline-card.featured { grid-column: span 1; }
  .discipline-card.featured .discipline-card-media { aspect-ratio: 4/3; }
  .form-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .video-grid .video-wrapper:first-child { grid-column: span 1; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .media-stack { grid-template-columns: 1fr; }
  .media-stack > *:first-child { grid-column: span 1; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  .cta-btns { flex-direction: column; width: 100%; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .tarif-best { display: block; margin: 4px 0 0; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stat-num { font-size: 36px; }
  .display-xl { letter-spacing: -1px; }
  .nav-logo img { height: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal.js-loaded { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   INDEX PAGE — Specific styles
   ============================================================ */

/* ── Loader inner ─────────────────────────────────────────── */
.loader-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 72px) 64px 80px 80px;
  background: var(--navy-deep);
}
.hero-photo-panel { position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  filter: brightness(0.75) contrast(1.08);
}
.hero-photo-panel::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    var(--navy-deep) 0%,
    rgba(6,15,26,0.55) 25%,
    rgba(6,15,26,0.1) 60%,
    transparent 100%
  );
  pointer-events: none;
}
.hero-overlay { display: none; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(82,197,245,0.12);
  border: 1px solid rgba(82,197,245,0.3);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 12px; font-weight: 600; letter-spacing: .5px;
  color: var(--sky); margin-bottom: 24px; width: fit-content;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: var(--sky); border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .5; transform: scale(.7); }
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 116px);
  font-weight: 900; font-style: italic;
  line-height: .88; letter-spacing: -3px;
  margin-bottom: 24px;
}
.hero-title .l1 { color: var(--white); display: block; }
.hero-title .l2 { color: var(--sky); display: block; }
.hero-sub {
  font-size: 16px; color: var(--text-dim);
  line-height: 1.7; max-width: 460px; margin-bottom: 36px;
}
.hero-sub strong { color: var(--white); font-weight: 600; }
.hero-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-scroll {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}
.hero-scroll-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--sky); animation: scrollDot 2.4s ease infinite; }
.hero-scroll-line { width: 32px; height: 1px; background: rgba(255,255,255,0.18); }
@keyframes scrollDot {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50%       { transform: translateX(18px); opacity: 0; }
}
.hero-fstat {
  position: absolute; bottom: 36px; right: 36px;
  background: rgba(6,15,26,0.88);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 20px; z-index: 3;
}
.hero-fstat-num {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 900; font-style: italic;
  color: var(--sky); line-height: 1;
}
.hero-fstat-label { font-size: 10px; color: var(--text-muted); margin-top: 2px; }

/* ── Btn size modifier ────────────────────────────────────── */
.btn-lg { font-size: 15px; padding: 14px 32px; }
.btn-outline.btn-lg { padding: 13px 32px; }
.btn-md { padding: 13px 28px; }

/* ── Stats section ────────────────────────────────────────── */
.stats-section { background: var(--navy-deep); padding: 0; }
.stat-price { font-size: 40px; }

/* ── Disciplines section ──────────────────────────────────── */
.section-disciplines { background: var(--navy); }
.disciplines-intro { max-width: 500px; margin-bottom: 40px; margin-top: 10px; }
.disc-section-label {
  font-size: 10px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--sky);
  margin-bottom: 14px; margin-top: 40px;
  display: flex; align-items: center; gap: 10px;
}
.disc-section-label::after { content: ''; flex: 1; height: 1px; background: rgba(82,197,245,0.15); }
.disc-section-label:first-of-type { margin-top: 0; }
.disc-row-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.disc-row-2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.discipline-card-media {
  width: 100%;
  aspect-ratio: 16/9;
  height: auto;
  object-fit: cover;
  object-position: center;
  display: block;
}
/* Scoped override — coach8.webp needs top-anchored crop (was inline style, moved here) */
.discipline-card--top .discipline-card-media {
  object-position: center top;
}

/* ── Videos section ───────────────────────────────────────── */
.section-videos { background: var(--navy-deep); }
.section-videos h2 { margin-bottom: 36px; }
.video-stack { display: flex; flex-direction: column; gap: 14px; }
.video-row-main .video-wrapper { aspect-ratio: 16/6; }
.video-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* ── CTA section ──────────────────────────────────────────── */
.section-cta {
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.cta-inner {
  display: flex; align-items: center;
  justify-content: space-between; gap: 40px;
}
.cta-buttons { display: flex; gap: 12px; flex-shrink: 0; flex-wrap: wrap; }

/* ── Coach section ────────────────────────────────────────── */
.section-coach { background: var(--navy-deep); }
.coach-intro { margin-bottom: 18px; margin-top: 18px; }
.coach-sub { margin-bottom: 28px; }
.coach-photo-home { height: 500px; }
.text-white { color: var(--white); }

/* ── Responsive — index ───────────────────────────────────── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { padding: calc(var(--nav-h) + 28px) 20px 28px; }
  .hero-badge { margin-bottom: 14px; }
  .hero-title { font-size: clamp(38px, 11vw, 60px); letter-spacing: -1.5px; margin-bottom: 14px; }
  .hero-sub { margin-bottom: 22px; }
  .hero-actions { margin-bottom: 0; }
  .hero-scroll { display: none; }
  .hero-photo-panel { height: 80vw; }
  .hero-bg { object-position: center 30%; }
  .hero-photo-panel::after {
    background: linear-gradient(
      180deg,
      rgba(6,15,26,0.05) 0%,
      rgba(6,15,26,0.1) 55%,
      rgba(6,15,26,0.65) 100%
    );
  }
  .hero-fstat { bottom: 12px; right: 12px; padding: 10px 14px; }
  .hero-fstat-num { font-size: 22px; }
  .hero-fstat-label { font-size: 9px; }
  .disc-row-1 { grid-template-columns: 1fr; }
  .disc-row-2 { grid-template-columns: 1fr; }
  .video-row-main .video-wrapper { aspect-ratio: 16/9; }
  .video-row-2 { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-buttons { flex-direction: column; width: 100%; }
  .cta-buttons .btn-primary,
  .cta-buttons .btn-outline { text-align: center; }
}

/* ── Footer utility classes (replaces last inline styles) ─── */
.footer-social { margin-top: 18px; }
.footer-col-title--mt { margin-top: 20px; }
.footer-address { color: var(--text-muted); font-size: 13px; line-height: 1.6; margin-top: 4px; }
.footer-sitemap { color: rgba(255,255,255,0.22); }

/* ── coach.html utility classes (replaces inline styles) ──── */
.coach-loader-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.coach-hero-title { margin-bottom: 16px; }
.coach-hero-desc { max-width: 420px; margin-bottom: 24px; }
.coach-bio-title { margin-bottom: 18px; }
.coach-bio-p { margin-bottom: 14px; }
.coach-bio-p-last { margin-bottom: 28px; }
.coach-bio-title2 { margin-bottom: 28px; }
.photo-grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.img-full--portrait { aspect-ratio: 3/4; }
.coach-cta-section { text-align: center; }
.coach-cta-title { margin-bottom: 10px; }
.coach-cta-desc { max-width: 440px; margin: 0 auto 28px; }
.coach-cta-buttons { justify-content: center; }
.footer-tagline--mt { margin-top: 14px; }

/* ── Generic spacing utilities (replaces inline margin styles) ── */
.mb-8  { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-28 { margin-bottom: 28px; }
.mb-32 { margin-bottom: 32px; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-20 { margin-top: 20px; }

/* ── contact.html utility classes (replaces inline styles) ──── */
.contact-hero-desc { max-width: 520px; }
.rgpd-check-row { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.rgpd-checkbox { margin-top: 3px; accent-color: var(--sky); width: 16px; height: 16px; flex-shrink: 0; }
.rgpd-label { font-size: 12px; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.form-success-icon { font-size: 40px; margin-bottom: 12px; }
.form-success-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; font-style: italic; color: var(--white); margin-bottom: 8px; }
.contact-whatsapp-note { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 8px; }
.flex-gap-12 { display: flex; gap: 12px; }
.contact-card--flex { flex: 1; text-decoration: none; }
.contact-icon--instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.contact-icon--tiktok { background: #010101; }
.contact-card-value--sm { font-size: 13px; }
.footer-address--compact { color: var(--text-muted); font-size: 13px; }

/* ============================================================
   DISCIPLINE PAGES — Shared styles
   ============================================================ */

/* ── Breadcrumb current ───────────────────────────────────── */
.breadcrumb-current { color: var(--sky); }

/* ── Hero desc & CTA row ──────────────────────────────────── */
.hero-desc { max-width: 540px; margin-bottom: 32px; }
.hero-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Section backgrounds ──────────────────────────────────── */
.section-light { background: var(--navy); }
.section-dark  { background: var(--navy-deep); }

/* ── Method section spacing ───────────────────────────────── */
.method-p1 { margin-bottom: 14px; margin-top: 18px; }
.method-p2 { margin-bottom: 24px; }
.method-cta { margin-top: 28px; }

/* ── Media stack image ratio ──────────────────────────────── */
.media-img-ratio { aspect-ratio: 4/3; }
.media-img-ratio img { height: 100%; object-fit: cover; object-position: top; }

/* ── Objectives grid ──────────────────────────────────────── */
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}
.card-icon {
  color: var(--sky);
  margin-bottom: 12px;
  display: flex;
}

/* ── Tarif CTA section ────────────────────────────────────── */
.section-cta-discipline { background: var(--navy-deep); }
.two-col-pricing {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.pricing-desc { margin-bottom: 24px; margin-top: 10px; }
.pricing-cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.whatsapp-link { color: var(--sky); }

/* ── Display-md heading spacing on discipline pages ────────── */
.display-md { margin-bottom: 0; }

@media (max-width: 768px) {
  .objectives-grid { grid-template-columns: 1fr 1fr; }
  .two-col-pricing { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .objectives-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   DISCIPLINE HERO — split layout (same as index)
   ============================================================ */
.disc-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  background: var(--navy-deep);
}
.disc-hero-content {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--nav-h) + 72px) 64px 80px 80px;
  background: var(--navy-deep);
}
.disc-hero-photo {
  position: relative;
  overflow: hidden;
}
.disc-hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: brightness(0.75) contrast(1.08);
  display: block;
}
/* Soft left-edge blend into navy */
.disc-hero-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    90deg,
    var(--navy-deep) 0%,
    rgba(6,15,26,0.55) 25%,
    rgba(6,15,26,0.1) 60%,
    transparent 100%
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .disc-hero { grid-template-columns: 1fr; min-height: auto; }
  .disc-hero-content { padding: calc(var(--nav-h) + 48px) 20px 52px; }
  .disc-hero-photo { height: 55vw; }
}

/* ============================================================
   FAQ
   ============================================================ */
.section-faq { }
.faq-list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--navy-mid);
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
}
.faq-question:hover { background: rgba(82,197,245,0.08); }
.faq-question[aria-expanded="true"] {
  background: rgba(82,197,245,0.08);
  color: var(--sky);
}

/* + / — icon */
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  position: relative;
  transition: all 0.2s;
}
.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: var(--sky);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 10px; height: 1.5px; }
.faq-icon::after  { width: 1.5px; height: 10px; transition: transform 0.2s, opacity 0.2s; }

.faq-question[aria-expanded="true"] .faq-icon {
  border-color: var(--sky);
  background: rgba(82,197,245,0.15);
}
.faq-question[aria-expanded="true"] .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}

.faq-answer {
  display: none;
  padding: 0 24px 20px;
  background: rgba(82,197,245,0.03);
}
.faq-answer.open { display: block; }
.faq-answer p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.7;
  padding-top: 16px;
  border-top: 1px solid var(--border-dim);
}
.faq-answer strong { color: var(--white); }
.faq-link { color: var(--sky); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   SIMULATEUR DE PRIX
   ============================================================ */
.simulator {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

/* ── Step row ─────────────────────────────────────────────── */
.sim-step {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
  background: var(--navy-mid);
  transition: background 0.2s;
}
.sim-step:hover { background: rgba(82,197,245,0.04); }

.sim-step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(82,197,245,0.12);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800; font-style: italic;
  color: var(--sky);
  margin-top: 2px;
}

.sim-step-content { flex: 1; }

.sim-step-label {
  font-size: 14px; font-weight: 600;
  color: var(--white);
  margin-bottom: 14px;
}
.sim-step-hint {
  font-size: 12px; color: var(--text-muted);
  margin-top: 10px;
}

/* ── Options ──────────────────────────────────────────────── */
.sim-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sim-opt {
  padding: 10px 24px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-muted);
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  display: flex; align-items: center; gap: 6px;
  flex-direction: column;
  line-height: 1.2;
}
.sim-opt:hover {
  border-color: var(--sky);
  color: var(--white);
  background: rgba(82,197,245,0.06);
}
.sim-opt.selected {
  border-color: var(--sky);
  background: rgba(82,197,245,0.15);
  color: var(--sky);
}
.sim-opt.disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.sim-opt-sub {
  font-size: 10px; font-weight: 400;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
}
.sim-opt.selected .sim-opt-sub { color: rgba(82,197,245,0.7); }

/* ── Result ───────────────────────────────────────────────── */
.sim-result {
  padding: 32px;
  background: rgba(82,197,245,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.sim-result-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.sim-result-price {
  font-family: var(--font-display);
  font-size: clamp(44px, 6vw, 72px);
  font-weight: 900; font-style: italic;
  color: var(--sky);
  line-height: 1;
}
.sim-result-price span {
  font-size: 22px; font-weight: 600;
  color: var(--text-muted);
  font-style: normal;
}
.sim-result-detail {
  font-size: 13px; color: var(--text-muted);
  margin-top: 8px; line-height: 1.6;
}
.sim-result-detail strong { color: var(--white); }

/* ── WhatsApp CTA ─────────────────────────────────────────── */
.sim-result-cta { flex-shrink: 0; }
.sim-wa-btn {
  display: inline-flex;
  align-items: center; gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14px; font-weight: 700;
  transition: all 0.2s;
  white-space: nowrap;
}
.sim-wa-btn:hover {
  background: #1ebe5c;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.35);
}
.sim-unavailable { opacity: 0.4; pointer-events: none; }
.sim-unavailable-msg {
  display: none;
  font-size: 13px; color: var(--text-muted);
  margin-top: 12px; line-height: 1.6;
  max-width: 260px;
}
.sim-unavailable-msg.show { display: block; }

/* ── Notes grid ───────────────────────────────────────────── */
.sim-notes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.sim-notes-pro {
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
.sim-pro-cta {
  display: inline-block;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .sim-step { padding: 20px; flex-direction: column; gap: 12px; }
  .sim-result { flex-direction: column; align-items: flex-start; gap: 24px; }
  .sim-wa-btn { width: 100%; justify-content: center; }
  .sim-notes-grid { grid-template-columns: 1fr; }
}

/* ── Simulator disabled state (visual only, JS handles logic) */
.sim-opt.disabled {
  opacity: 0.25;
  cursor: not-allowed;
  pointer-events: none;
  border-style: dashed;
}
.sim-no-result {
  font-size: 18px;
  font-style: normal;
  color: var(--text-muted);
}

/* hero-logo-overlay removed */

/* ── Global media containment fix ────────────────────────────
   Prevent images/videos from overflowing their containers
   on all discipline pages
   ──────────────────────────────────────────────────────────── */

/* disc-hero photo — force top crop so face is visible */
.disc-hero-photo img {
  object-position: top center;
}

/* media-stack items — fixed ratio, top-cropped */
.media-stack .img-full {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.media-stack .img-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* video-wrapper — strict 16/9, no overflow */
.video-wrapper {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* video-row-main keeps its wider ratio */
.video-row-main .video-wrapper {
  aspect-ratio: 16/6;
}

/* media-img-ratio override — keep 4/3 for static photos in stack */
.media-img-ratio {
  aspect-ratio: 4/3 !important;
}

/* ── MEDIA OVERFLOW FIX — force override ─────────────────────
   Applied with high specificity to fix all pages
   ──────────────────────────────────────────────────────────── */

/* All images inside media containers */
.media-stack img,
.img-full img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  background: var(--navy-deep);
}
.media-stack video,
.img-full video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  background: var(--navy-deep);
}

/* Video wrapper — adapts to content */
.video-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: var(--navy-deep);
  border-radius: var(--radius);
}
/* Default ratio for landscape videos */
.video-wrapper {
  aspect-ratio: 16/9;
}
.video-row-main .video-wrapper {
  aspect-ratio: 16/6;
}
/* Videos: contain so nothing is cropped */
.video-wrapper video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* disc-hero photo panel */
.disc-hero-photo {
  position: relative;
  overflow: hidden;
}
.disc-hero-photo img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: top center !important;
}

/* img-full strict sizing */
.img-full {
  overflow: hidden;
  width: 100%;
}
.media-stack .img-full {
  aspect-ratio: 4/3;
}

/* ============================================================
   MEDIA GRID — 3 colonnes 16/9, côte à côte
   ============================================================ */

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.media-grid-item {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--navy-deep);
}

/* Vidéos et images en format vertical 9/16 */
.media-grid-item .video-wrapper {
  aspect-ratio: 9/16 !important;
  position: relative !important;
  border: none;
  border-radius: 0;
  width: 100%;
}
.media-grid-item .video-wrapper video {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}
.media-grid-item img {
  aspect-ratio: 9/16;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* Grande vidéo pleine largeur (optionnel) */
.media-grid-item.full-width {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .media-grid { grid-template-columns: 1fr; }
  .media-grid-item.full-width { grid-column: span 1; }
}

/* ── Media grid landscape variant (pour photos paysage) ──── */
.media-grid--landscape .media-grid-item img,
.media-grid--landscape .media-grid-item .video-wrapper {
  aspect-ratio: 4/3 !important;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 20px; right: 20px; bottom: 20px;
  max-width: 760px;
  margin: 0 auto;
  background: var(--navy-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  justify-content: space-between;
  box-shadow: 0 12px 40px rgba(0,0,0,0.45);
  z-index: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  pointer-events: none;
}
.cookie-banner.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner-text { font-size: 13px; line-height: 1.5; color: var(--text-dim); flex: 1 1 360px; }
.cookie-banner-link { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; margin-left: 4px; white-space: nowrap; }
.cookie-banner-actions { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-banner-actions .btn-outline,
.cookie-banner-actions .btn-primary { padding: 10px 18px; font-size: 13px; }

.footer-cookie-manage {
  background: none; border: none; padding: 0; font: inherit;
  color: rgba(255,255,255,0.45); text-decoration: underline;
  text-underline-offset: 2px; cursor: pointer;
}
.footer-cookie-manage:hover { color: var(--sky); }

@media (max-width: 600px) {
  .cookie-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px 18px; }
  .cookie-banner-actions { width: 100%; }
  .cookie-banner-actions .btn-outline,
  .cookie-banner-actions .btn-primary { flex: 1; text-align: center; }
}

/* ============================================================
   EVENT POP-UP (carrousel + image)
   ============================================================ */
.event-popup-overlay {
  position: fixed; inset: 0;
  background: rgba(6,15,26,0.82);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  z-index: 600;
  opacity: 0;
  transition: opacity 0.25s var(--ease);
  pointer-events: none;
}
.event-popup-overlay.show { opacity: 1; pointer-events: auto; }

.event-popup-card {
  position: relative;
  background: var(--navy);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 440px;
  width: 100%;
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.25s var(--ease);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
}
.event-popup-overlay.show .event-popup-card { transform: scale(1); }

.event-popup-close {
  position: absolute; top: 12px; right: 14px; z-index: 5;
  font-size: 24px; line-height: 1; color: var(--white);
  background: rgba(6,15,26,0.55); border-radius: 50%;
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer; padding: 0;
}
.event-popup-close:hover { background: rgba(6,15,26,0.8); }

.event-popup-track {
  display: flex;
  transition: transform 0.35s var(--ease);
}
.event-popup-slide {
  flex: 0 0 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
}

.event-popup-media {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--navy-deep);
}
.event-popup-media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.event-popup-body {
  padding: 28px 28px 26px;
  text-align: center;
}
.event-popup-body--noimg { padding-top: 40px; }

.event-popup-badge {
  display: inline-block; background: var(--sky-dim); color: var(--sky);
  border: 1px solid var(--border); border-radius: 20px;
  padding: 4px 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
}
.event-popup-title {
  font-family: var(--font-display); font-size: 26px; font-weight: 800;
  font-style: italic; color: var(--white); line-height: 1.05; margin-bottom: 12px;
}
.event-popup-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-bottom: 14px; }
.event-popup-meta-item { font-size: 13px; color: var(--text-dim); }
.event-popup-desc { font-size: 14px; line-height: 1.6; color: var(--text-dim); margin-bottom: 22px; }
.event-popup-cta { display: inline-block; width: 100%; text-align: center; }

/* Carrousel — flèches */
.event-popup-arrow {
  position: absolute; top: 0; bottom: 0; z-index: 5;
  width: 40px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; color: var(--white);
  font-size: 30px; line-height: 1; cursor: pointer;
  opacity: 0.75; transition: opacity 0.15s;
}
.event-popup-arrow:hover { opacity: 1; }
.event-popup-arrow--prev { left: 0; justify-content: flex-start; padding-left: 8px; }
.event-popup-arrow--next { right: 0; justify-content: flex-end; padding-right: 8px; }
.event-popup-card--multi .event-popup-arrow {
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}

/* Carrousel — dots */
.event-popup-dots {
  display: flex; justify-content: center; gap: 8px;
  padding: 0 0 20px;
}
.event-popup-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: none; padding: 0; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.event-popup-dot.active { background: var(--sky); transform: scale(1.3); }

@media (max-width: 480px) {
  .event-popup-card { max-width: 100%; }
  .event-popup-body { padding: 24px 20px 22px; }
  .event-popup-title { font-size: 22px; }
}

/* ============================================================
   PAGES LÉGALES (mentions légales / confidentialité)
   ============================================================ */
.legal-content { max-width: 820px; }
.legal-content h2 {
  font-family: var(--font-display); font-size: 26px; font-weight: 800; font-style: italic;
  color: var(--sky); margin: 44px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { font-size: 15px; line-height: 1.75; color: var(--text-dim); margin-bottom: 14px; }
.legal-content ul { margin: 0 0 14px 20px; }
.legal-content li { font-size: 15px; line-height: 1.75; color: var(--text-dim); margin-bottom: 6px; }
.legal-content strong { color: var(--white); }
.legal-content a { color: var(--sky); text-decoration: underline; text-underline-offset: 2px; }
.legal-todo {
  display: block; background: rgba(192,57,43,0.1); border: 1px solid rgba(192,57,43,0.35);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 13px; color: #e7a39b;
  margin: 6px 0 18px;
}
.legal-updated { font-size: 13px; color: var(--text-muted); margin-bottom: 36px; }

/* ============================================================
   MOBILE DISC-HERO PHOTOS — FIX (pages disciplines)
   coaching-domicile / step / fitness-dance / musculation /
   pilates / tarifs partagent .disc-hero. Meme cause que le hero
   accueil (bloc responsive plus haut) : .disc-hero-photo etait
   trop bas (55vw) et object-position:top affichait le fond plutot
   que le sujet. Regle placee en fin de fichier + !important pour
   prendre le dessus sur les 2 autres regles !important existantes
   sur .disc-hero-photo img (memes specificite -> l'ordre de
   source tranche).
   ============================================================ */
@media (max-width: 768px) {
  .disc-hero-content { padding: calc(var(--nav-h) + 28px) 20px 28px; }
  .disc-hero-photo { height: 80vw; }
  .disc-hero-photo img { object-position: center 22% !important; }
  .disc-hero-photo::after {
    background: linear-gradient(180deg, rgba(6,15,26,0.05) 0%, rgba(6,15,26,0.1) 55%, rgba(6,15,26,0.65) 100%);
  }
}
