/* ============================================
   Académie d'Arts Martiaux Adrar : Design System v4
   Clair · épuré · classe et professionnel
   ============================================ */

:root {
  --white: #ffffff;
  --bg-alt: #f6f5f2;
  --ink: #16181c;
  --ink-soft: #4a4d53;
  --muted: #82858c;
  --line: #e7e5e0;
  --line-strong: #d4d1ca;
  --dark: #17181c;
  --dark-2: #101114;
  --red: #cc1f2d;
  --red-dim: #a91824;
  --red-tint: #fbe9ea;
  --line-on-dark: rgba(255, 255, 255, 0.12);
  --muted-on-dark: rgba(255, 255, 255, 0.58);

  --font-display: "Space Grotesk", "Inter", sans-serif;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
  --font-heading-accent: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(20, 20, 24, 0.06);
  --shadow-md: 0 16px 36px -16px rgba(20, 20, 24, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

.accent { color: var(--red); font-family: var(--font-heading-accent); font-style: italic; font-weight: 400; }
.font-accent { font-family: var(--font-heading-accent); font-style: italic; font-weight: 400; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dim); }

.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; }

.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); background: var(--bg-alt); }

.btn-outline-light { background: transparent; color: #fff; border-color: var(--line-on-dark); }
.btn-outline-light:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); }

/* ---------- Header (flottant) ---------- */
body { padding-top: clamp(5rem, 11vw, 6.25rem); }
.site-header {
  position: fixed;
  top: clamp(0.9rem, 2.4vw, 1.35rem);
  left: 50%;
  transform: translateX(-50%);
  width: min(calc(100% - 2rem), calc(var(--container) + 1rem));
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  padding: 0.75rem 0.5rem;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: none;
  padding: 0 0.75rem;
}
.site-header__logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.005em;
  font-size: 1.05rem;
}
.site-header__logo .mark {
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-header__logo .mark img { width: 100%; height: 100%; object-fit: contain; display: block; }
.site-header__nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.site-header__links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: 0.86rem;
  font-weight: 600;
}
.site-header__links a { color: var(--ink-soft); }
.site-header__links a:hover { color: var(--red); }

/* Programmes dropdown */
.nav-dropdown { position: relative; padding-bottom: 14px; margin-bottom: -14px; }
.nav-dropdown > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-dropdown > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
  opacity: 0.6;
}
.nav-dropdown:hover > a::after,
.nav-dropdown:focus-within > a::after {
  transform: rotate(225deg) translateY(-1px);
}
.nav-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 50%;
  min-width: 250px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 50;
}
.nav-dropdown:hover .nav-dropdown__panel,
.nav-dropdown:focus-within .nav-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown__panel a {
  display: block;
  padding: 0.5rem 0.7rem;
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
}
.nav-dropdown__panel a:hover { background: var(--bg-alt); color: var(--red); }

.nav-overlay__sublinks {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin: 0.4rem 0 0.9rem 0.25rem;
}
.nav-overlay__links .nav-overlay__sublinks a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--muted-on-dark);
  padding: 0;
}
.nav-overlay__links .nav-overlay__sublinks a:hover { color: #fff; }
.site-header__phone {
  font-size: 0.86rem;
  font-weight: 600;
}
.site-header__menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
}

@media (max-width: 880px) {
  .site-header__links, .site-header__phone-desktop { display: none; }
  .site-header__menu-btn { display: flex; }
}

.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 200;
  display: flex;
  flex-direction: column;
  padding: 1.5rem clamp(1.25rem, 6vw, 3rem);
  overflow-y: auto;
  transform: translateY(-100%);
  transition: transform 0.32s ease;
}
.nav-overlay.is-open { transform: translateY(0); }
.nav-overlay__top { display: flex; justify-content: space-between; align-items: center; }
.nav-overlay__top .site-header__logo { color: #fff; }
.nav-overlay__close {
  background: none;
  border: 1px solid var(--line-on-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  width: 42px;
  height: 42px;
  font-size: 1rem;
  cursor: pointer;
}
.nav-overlay__links { margin: auto 0; display: flex; flex-direction: column; gap: 0.4rem; }
.nav-overlay__links a {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 7vw, 3rem);
  letter-spacing: -0.01em;
  padding: 0.3rem 0;
}
.nav-overlay__links a:hover { color: var(--red); }
.nav-overlay__foot { color: var(--muted-on-dark); font-size: 0.85rem; }

/* ---------- Hero (clair) ---------- */
.hero {
  position: relative;
  background: var(--bg-alt);
  color: var(--ink);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 60% at 12% 0%, rgba(204, 31, 45, 0.08), transparent 65%);
}
.hero__content { position: relative; padding-top: clamp(3.25rem, 8vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.hero__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}
.hero__eyebrow::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='3' width='22' height='2.6' rx='1' fill='%23cc1f2d'/%3E%3Crect x='3.5' y='7.8' width='17' height='2' rx='1' fill='%23cc1f2d'/%3E%3Crect x='4.5' y='3' width='2.6' height='18' rx='1' fill='%23cc1f2d'/%3E%3Crect x='16.9' y='3' width='2.6' height='18' rx='1' fill='%23cc1f2d'/%3E%3C/svg%3E") no-repeat center / contain;
}
.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5.4vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0 0 1.5rem;
  max-width: 16ch;
}
.hero h1 .font-accent { font-weight: 400; }
.hero p { max-width: 46ch; color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.hero__media-block {
  position: relative;
  aspect-ratio: 16/11;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, #fdfcfa, #ece8df 75%);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.hero__media-block img, .hero__media-block video { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; display: block; }
.hero__media-block--video { position: relative; cursor: pointer; }
.hero__play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 68px;
  height: 68px;
  border: none;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}
.hero__play-btn svg { margin-left: 3px; }
.hero__media-block--video:hover .hero__play-btn { transform: scale(1.08); }
.hero__media-block--video.is-playing .hero__play-btn { display: none; }
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media-block { aspect-ratio: 16/10; order: 2; }
  .stat-bar .container { margin-left: clamp(1.25rem, 4vw, 2.5rem); margin-right: clamp(1.25rem, 4vw, 2.5rem); }
}

.stat-bar { position: relative; margin-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(2.5rem, 6vw, 4rem); }
.stat-bar .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.75rem clamp(1.5rem, 4vw, 2.5rem);
}
.stat-bar__item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
}
.stat-bar__item span {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: 0.9rem 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
}
.ticker__item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 0 1.4rem;
  white-space: nowrap;
}
.ticker__item .dot { color: var(--red); display: inline-flex; align-items: center; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-group > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.reveal-group.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.06s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.12s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.18s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.24s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.3s; }
.reveal-group.is-visible > *:nth-child(7) { transition-delay: 0.36s; }
.reveal-group.is-visible > *:nth-child(8) { transition-delay: 0.42s; }

/* ---------- Page hero (interior pages) ---------- */
.page-hero { background: var(--bg-alt); color: var(--ink); padding: clamp(3.25rem, 7vw, 4.5rem) 0; }
.page-hero .hero__eyebrow { color: var(--ink-soft); }
.page-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
.page-hero__grid .split__media { aspect-ratio: 4/3; }
@media (max-width: 860px) {
  .page-hero__grid { grid-template-columns: 1fr; }
}
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.2vw, 3rem);
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.15;
  max-width: 22ch;
  margin: 0 0 1.1rem;
}
.page-hero p { max-width: 58ch; color: var(--ink-soft); margin: 0 0 1.75rem; }

/* ---------- Section shells ---------- */
.section { padding: clamp(3.25rem, 7vw, 5.5rem) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .muted-text { color: rgba(255,255,255,0.6); }
.section--alt + .section--alt { border-top: 1px solid var(--line); }

.section-head { max-width: 640px; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; }
.section-head__row .section-lede { margin-top: 2.05rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.85rem;
}
.eyebrow::before {
  content: "";
  width: 15px;
  height: 15px;
  flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='3' width='22' height='2.6' rx='1' fill='%23cc1f2d'/%3E%3Crect x='3.5' y='7.8' width='17' height='2' rx='1' fill='%23cc1f2d'/%3E%3Crect x='4.5' y='3' width='2.6' height='18' rx='1' fill='%23cc1f2d'/%3E%3Crect x='16.9' y='3' width='2.6' height='18' rx='1' fill='%23cc1f2d'/%3E%3C/svg%3E") no-repeat center / contain;
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.8vw, 2.55rem);
  letter-spacing: -0.01em;
  font-weight: 700;
  line-height: 1.18;
  margin: 0;
}
.section-lede { color: var(--muted); max-width: 42ch; margin: 0; font-size: 0.97rem; }
.section--dark .section-lede { color: rgba(255,255,255,0.6); }

/* ---------- Program cards ---------- */
.program-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.1rem; }
.program-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.program-card__top { display: flex; justify-content: space-between; align-items: flex-start; }
.program-card__index { font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--muted); }
.program-card__arrow {
  width: 32px; height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.program-card:hover .program-card__arrow { background: var(--red); color: #fff; border-color: var(--red); }
.program-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 0;
}
.program-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }
.program-card a.card-link { position: absolute; inset: 0; border-radius: inherit; }

.programmes-collage {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 0.9rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
}
.programmes-collage > div {
  overflow: hidden;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.programmes-collage img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: zoom-in; transition: transform 0.3s ease; }
.programmes-collage img:hover { transform: scale(1.035); }
.programmes-collage > div:nth-child(1) { grid-column: span 2; grid-row: span 2; }
@media (max-width: 700px) {
  .programmes-collage { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .programmes-collage > div { grid-column: span 1 !important; grid-row: span 1 !important; }
}

.coaching-media {
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  margin: 0.5rem 0 1.75rem;
}
.coaching-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.coaching-media--mobile { display: none; }
@media (max-width: 760px) {
  #coaching .split__media { display: none; }
  .coaching-media--mobile { display: block; max-width: 100%; aspect-ratio: 4/3; margin-left: auto; margin-right: auto; }
  .coaching-media--mobile img { object-position: center 48%; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(10, 10, 12, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 5vw, 4rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  border-radius: var(--radius-sm);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
}
.lightbox__close {
  position: absolute;
  top: clamp(1rem, 3vw, 1.75rem);
  right: clamp(1rem, 3vw, 1.75rem);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(255,255,255,0.08);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.lightbox__close:hover { background: rgba(255,255,255,0.18); }

/* ---------- Pricing table ---------- */
.pricing-table-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem;
  overflow-x: auto;
}
.pricing-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.pricing-table th, .pricing-table td {
  padding: 0.95rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  white-space: nowrap;
}
.pricing-table thead th {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
  vertical-align: top;
}
.pricing-table__tag {
  display: block;
  margin-top: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--red);
}
.pricing-table__tag--gold { color: #a3791f; }
.pricing-table__note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted);
  white-space: normal;
}
.pricing-table td:first-child { font-weight: 600; color: var(--ink); white-space: normal; }
.pricing-table tbody tr:last-child td { border-bottom: none; }
.pricing-table td.is-popular, .pricing-table th.is-popular { font-weight: 700; color: var(--ink); }
.pricing-table .is-popular { background: var(--red-tint); }
.pricing-table__highlight td {
  background: var(--dark);
  color: #fff;
  font-weight: 700;
  border-bottom-color: var(--dark);
}
.pricing-table__highlight td:first-child { color: #fff; }
.pricing-table__highlight td.is-popular { background: #2a2c31; color: #fff; }
.pricing-table tr.pricing-table__highlight { box-shadow: 0 10px 30px -12px rgba(20,20,24,0.35); }
.pricing-table__premium-badge {
  display: inline-block;
  margin-left: 0.6rem;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  vertical-align: middle;
}
.pricing-table__disclaimer { font-size: 0.76rem; color: var(--muted); text-align: right; margin: 0.6rem 0.9rem 0.3rem; }

.pricing-tabs { display: none; }

@media (max-width: 700px) {
  .pricing-tabs {
    display: flex;
    gap: 0.55rem;
    overflow-x: auto;
    margin-bottom: 1.1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pricing-tabs::-webkit-scrollbar { display: none; }
  .pricing-tabs__btn {
    flex: none;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.6rem 1.05rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--white);
    color: var(--ink-soft);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
    text-align: center;
  }
  .pricing-tabs__btn.is-active { background: var(--dark); color: #fff; border-color: var(--dark); }
  .pricing-tabs__badge {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--red);
    margin-top: 0.1rem;
  }
  .pricing-tabs__btn.is-active .pricing-tabs__badge { color: #ff9ba1; }

  .pricing-table-wrap { overflow: visible; padding: 0; border: none; box-shadow: none; background: transparent; }
  .pricing-table, .pricing-table tbody, .pricing-table tr, .pricing-table td { display: block; width: 100%; }
  .pricing-table thead { display: none; }
  .pricing-table { min-width: 0; }

  .pricing-table tbody tr {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-bottom: 1px solid var(--line);
    padding: 0.85rem 0.1rem;
  }
  .pricing-table tbody tr:last-child { border-bottom: none; }
  .pricing-table tbody tr.pricing-table__highlight {
    background: var(--bg-alt);
    border-radius: var(--radius-sm);
    border-bottom-color: transparent;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
    box-shadow: none;
  }
  .pricing-table tbody tr.pricing-table__highlight td,
  .pricing-table tbody tr.pricing-table__highlight td:first-child {
    background: none;
    color: var(--ink);
    font-weight: 600;
  }

  .pricing-table td:first-child {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0;
    border: none;
    white-space: normal;
  }
  .pricing-table td:not(:first-child) {
    display: none;
    padding: 0;
    border: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    background: none;
  }
  .pricing-table-wrap[data-period="mensuel"] td[data-label="Mensuel"],
  .pricing-table-wrap[data-period="3mois"] td[data-label="3 mois"],
  .pricing-table-wrap[data-period="6mois"] td[data-label="6 mois"],
  .pricing-table-wrap[data-period="annuel"] td[data-label="Annuel"] {
    display: block;
  }
  .pricing-table-wrap[data-period="3mois"] td[data-label="3 mois"] { color: var(--red); }

  .pricing-table__disclaimer { text-align: center; margin-top: 1.25rem; }
}

.pricing-perks {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(1.75rem, 4vw, 2.25rem);
  margin-top: 1.5rem;
}
.pricing-perks h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 0 0 1.1rem; }
.pricing-perks__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0.7rem 1.5rem; }
.pricing-perks__list li { color: rgba(255,255,255,0.85); }
.pricing-perks__list li::before { border-color: var(--red); }

/* ---------- Calendar embed ---------- */
.calendar-embed {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 0.6rem;
}
.calendar-embed__frame {
  overflow: hidden;
  border-radius: var(--radius-sm);
  height: 552px;
}
.calendar-embed iframe {
  display: block;
  width: 100%;
  height: 620px;
  border: 0;
}
.hours-cta { text-align: center; margin-top: 2.25rem; }
@media (max-width: 600px) {
  .calendar-embed__frame { height: 452px; }
  .calendar-embed iframe { height: 480px; }
}

/* ---------- Académie slider ---------- */
.academie-slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.academie-slider__track {
  display: flex;
  aspect-ratio: 4/3;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.academie-slider__slide { flex: none; width: 100%; height: 100%; }
.academie-slider__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.academie-slider__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.92);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
}
.academie-slider__arrow:hover { background: #fff; transform: translateY(-50%) scale(1.06); }
.academie-slider__arrow--prev { left: 14px; }
.academie-slider__arrow--next { right: 14px; }
.academie-slider__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}
.academie-slider__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.academie-slider__dot.is-active { background: #fff; transform: scale(1.35); }

/* ---------- Feature grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.1rem; }
.feature-card {
  padding: 1.9rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card__icon {
  width: 42px; height: 42px;
  background: var(--red-tint);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--red);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
}
.feature-card h3 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: 0 0 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* ---------- Instructor cards ---------- */
.instructor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 320px)); gap: 1.5rem; justify-content: center; }
.instructor-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.instructor-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.instructor-card__photo {
  aspect-ratio: 4/5;
  background: linear-gradient(160deg, var(--white), var(--bg-alt));
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  padding: 1rem;
  overflow: hidden;
}
.instructor-card__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.instructor-card__photo--contain img { object-fit: contain; object-position: bottom center; }
.instructor-card__body { padding: 1.4rem; }
.instructor-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin: 0 0 0.3rem; color: var(--ink); }
.instructor-card h3.is-pending { color: var(--muted); font-style: italic; font-weight: 700; }
.instructor-card__role { font-weight: 600; font-size: 0.95rem; margin: 0 0 0.6rem; }
.instructor-card__tag {
  display: inline-block;
  background: var(--red-tint);
  color: var(--red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse .split__media { order: 2; }
.split__media {
  aspect-ratio: 4/3;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  overflow: hidden;
}
.split__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.section--dark .split__media { background: #1d1e22; border-color: var(--line-on-dark); color: rgba(255,255,255,0.4); }
.split__body p { color: var(--muted); }
.section--dark .split__body p { color: rgba(255,255,255,0.62); }
@media (max-width: 760px) {
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse .split__media { order: 0; }
  .page-hero + .section .split__media { display: none; }
}

/* ---------- Legal content ---------- */
.legal-content h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  margin: 2.5rem 0 0.9rem;
  color: var(--ink);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--ink-soft); margin: 0 0 1rem; }
.legal-content ul { margin: 0 0 1rem; padding-left: 1.25rem; color: var(--ink-soft); display: flex; flex-direction: column; gap: 0.45rem; }
.legal-content ul li { list-style: disc; }
.legal-content a { color: var(--red); }
.legal-content .legal-meta { font-size: 0.85rem; color: var(--muted); margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }

/* ---------- Decorative watermarks ---------- */
#academie { position: relative; overflow: hidden; }
#academie::before {
  content: "";
  position: absolute;
  top: 130px;
  right: 20px;
  width: 280px;
  height: 280px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='3' width='22' height='2.6' rx='1' fill='%2316181c'/%3E%3Crect x='3.5' y='7.8' width='17' height='2' rx='1' fill='%2316181c'/%3E%3Crect x='4.5' y='3' width='2.6' height='18' rx='1' fill='%2316181c'/%3E%3Crect x='16.9' y='3' width='2.6' height='18' rx='1' fill='%2316181c'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}
#academie .container { position: relative; z-index: 1; }

.site-footer { position: relative; overflow: hidden; }
.site-footer::before {
  content: "";
  position: absolute;
  bottom: -90px;
  right: -40px;
  width: 360px;
  height: 360px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='3' width='22' height='2.6' rx='1' fill='%23ffffff'/%3E%3Crect x='3.5' y='7.8' width='17' height='2' rx='1' fill='%23ffffff'/%3E%3Crect x='4.5' y='3' width='2.6' height='18' rx='1' fill='%23ffffff'/%3E%3Crect x='16.9' y='3' width='2.6' height='18' rx='1' fill='%23ffffff'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}
.site-footer .container { position: relative; z-index: 1; }

#programmes { position: relative; overflow: hidden; }
#programmes::before {
  content: "";
  position: absolute;
  bottom: 20px;
  right: 48px;
  width: 210px;
  height: 210px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='4,6.5 2,5 5,7' fill='%2316181c'/%3E%3Cpolygon points='20,6.5 22,5 19,7' fill='%2316181c'/%3E%3Cpolygon points='4,6.5 12,1.5 20,6.5' fill='%2316181c'/%3E%3Crect x='7' y='6.3' width='10' height='1' rx='0.4' fill='%2316181c'/%3E%3Cpolygon points='1,11.5 2.5,9.5 6,11.8' fill='%2316181c'/%3E%3Cpolygon points='23,11.5 21.5,9.5 18,11.8' fill='%2316181c'/%3E%3Cpolygon points='1,11.5 12,6 23,11.5' fill='%2316181c'/%3E%3Crect x='5' y='11.3' width='14' height='1' rx='0.4' fill='%2316181c'/%3E%3Crect x='5' y='12.3' width='14' height='8.7' rx='0.5' fill='%2316181c'/%3E%3Crect x='6' y='12.3' width='1.4' height='8.7' fill='%23ffffff'/%3E%3Crect x='16.6' y='12.3' width='1.4' height='8.7' fill='%23ffffff'/%3E%3Crect x='9.5' y='15' width='5' height='6' fill='%23ffffff'/%3E%3Crect x='2' y='21' width='20' height='1.3' rx='0.6' fill='%2316181c'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.045;
  pointer-events: none;
  z-index: 0;
}
#programmes .container { position: relative; z-index: 1; }

#prix { position: relative; overflow: hidden; }
#prix::before {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 40px;
  width: 170px;
  height: 170px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='2.5' y='2.2' width='19' height='3.2' rx='1.4' fill='%2316181c'/%3E%3Cellipse cx='12' cy='5.6' rx='2.6' ry='2.2' fill='%2316181c'/%3E%3Cpolygon points='10.8,7 8.6,7 4.8,19.5 7,19.8' fill='%2316181c'/%3E%3Cpolygon points='13.2,7 15.4,7 19.2,19.5 17,19.8' fill='%2316181c'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.055;
  pointer-events: none;
  z-index: 0;
}
#prix .container { position: relative; z-index: 1; }

#coaching { position: relative; overflow: hidden; }
#coaching::before {
  content: "";
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='none' stroke='%2316181c' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='5' fill='none' stroke='%2316181c' stroke-width='1.6'/%3E%3Ccircle cx='12' cy='12' r='1.6' fill='%2316181c'/%3E%3C/svg%3E") no-repeat center / contain;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
#coaching .container { position: relative; z-index: 1; }

/* ---------- Check list ---------- */
.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.85rem; }
.check-list li { display: flex; gap: 0.75rem; font-size: 0.95rem; }
.check-list li::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--red);
  margin-top: 0.55rem;
}

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 0.7rem; max-width: 800px; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.4rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--red);
  font-size: 1.3rem;
  flex: none;
  line-height: 1;
}
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); margin: 0.9rem 0 0.2rem; font-size: 0.92rem; }

/* ---------- Contact form ---------- */
.form-panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 2.25rem); }
.hp-field { position: absolute; left: -9999px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.74rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--muted); }
.form-field input, .form-field select {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.95rem;
}
.form-field input:focus, .form-field select:focus { outline: 2px solid var(--red); outline-offset: 1px; }
.form-panel .btn { margin-top: 1.4rem; width: 100%; justify-content: center; }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr !important; }
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1.5rem; align-items: start; }
.section--dark .form-panel { background: rgba(255,255,255,0.04); border-color: var(--line-on-dark); }
.section--dark .form-field input, .section--dark .form-field select { background: rgba(255,255,255,0.06); border-color: var(--line-on-dark); color: #fff; }
.section--dark .form-field select option { background: var(--dark); color: #fff; }
.section--dark .form-field label { color: var(--muted-on-dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #fff; padding: clamp(2.75rem, 6vw, 4rem) 0 2rem; }
.site-footer__brand { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.4rem); letter-spacing: -0.01em; line-height: 1.05; margin: 0 0 1.5rem; }
.site-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-on-dark); }
.site-footer__cols { display: flex; gap: 3.5rem; flex-wrap: wrap; }
.site-footer__col h4 { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-on-dark); margin: 0 0 1rem; }
.site-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.9rem; }
.site-footer__col a:hover { color: var(--red); }
.site-footer__bottom { padding-top: 1.5rem; color: var(--muted-on-dark); font-size: 0.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
