/* =========================================================
   Home Fitness — salle de sport, Dakar
   Palette: official logo colours — indigo #312783, navy #29235C, red #E7332A
   ========================================================= */
:root {
  /* Brand colours sampled from the official logo (hf-logo.pdf) */
  --primary: #312783;        /* logo indigo */
  --primary-deep: #29235C;   /* logo navy (dumbbell plates) */
  --primary-bright: #4B3FC4; /* hover / gradients */
  --primary-light: #A9A2FF;  /* highlights on dark backgrounds */
  --primary-tint: #ECEAF8;
  --red: #E7332A;            /* logo red (the "O") */
  --red-deep: #B8221B;
  --red-light: #FF7A72;
  --brand-bar: linear-gradient(90deg, var(--primary-bright) 0 75%, var(--red) 75% 100%);
  --ink: #12102A;
  --ink-2: #1A1740;
  --ink-3: #242050;
  --text: #1B1A2E;
  --muted: #62607A;
  --bg: #F5F5F8;
  --card: #ffffff;
  --line: #E3E2EC;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 10px 30px -12px rgba(18, 16, 42, .18);
  --shadow-lg: 0 30px 60px -20px rgba(18, 16, 42, .35);
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0; }
p { margin: 0; }
svg use { pointer-events: none; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 200;
  background: var(--primary-light); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 3px solid var(--primary-light); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 700; font-size: .98rem; letter-spacing: .01em;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-icon { width: 20px; height: 20px; flex: none; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary-bright) 0%, var(--primary) 100%);
  color: #fff; box-shadow: 0 12px 28px -10px rgba(75, 63, 196, .65);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(75, 63, 196, .8); }
.btn-ghost { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { border-color: var(--primary-light); color: var(--primary-light); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-whatsapp { background: #25d366; color: #06290f; box-shadow: 0 12px 28px -10px rgba(37,211,102,.6); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(18, 16, 42, .82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(18, 16, 42, .96); box-shadow: 0 8px 24px -12px rgba(0,0,0,.5); }
.nav-wrap { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.logo { display: inline-flex; align-items: center; gap: .65rem; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.01em; }
.logo-mark {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: #fff; box-shadow: inset 0 -3px 0 var(--red), 0 6px 16px -8px rgba(0,0,0,.5);
}
.logo-mark img { width: 30px; height: auto; }

.main-nav ul { display: flex; align-items: center; gap: .3rem; }
.main-nav a {
  display: block; padding: .5rem .8rem; border-radius: 999px;
  color: rgba(255,255,255,.78); font-weight: 500; font-size: .93rem; transition: color .2s, background .2s;
}
.main-nav a:hover, .main-nav a.active { color: #fff; background: rgba(255,255,255,.08); }
.main-nav a.nav-cta { background: var(--red); color: #fff; font-weight: 700; margin-left: .4rem; }
.main-nav a.nav-cta:hover { background: var(--red-deep); color: #fff; }

.nav-actions { display: flex; align-items: center; gap: .6rem; }
.lang-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); }
.lang-btn {
  border: 0; background: transparent; color: rgba(255,255,255,.7); cursor: pointer;
  font: 700 .78rem var(--font-head); letter-spacing: .06em; padding: .4rem .7rem; border-radius: 999px; transition: .2s;
}
.lang-btn.is-active { background: var(--primary); color: #fff; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.08); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% 10%, #221d55 0%, transparent 60%), var(--ink);
  padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4.5rem, 9vw, 7.5rem);
  margin-top: calc(var(--header-h) * -1); padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 6rem));
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-green { width: 520px; height: 520px; background: var(--primary-bright); top: -160px; right: -120px; opacity: .35; }
.blob-yellow { width: 300px; height: 300px; background: var(--primary-light); bottom: -120px; right: 22%; opacity: .18; }
.blob-red { width: 260px; height: 260px; background: var(--red); top: 35%; left: -120px; opacity: .22; }
.grid-lines {
  position: absolute; inset: 0; opacity: .07;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 3rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .45rem .95rem; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  font-size: .85rem; font-weight: 600; color: rgba(255,255,255,.9); letter-spacing: .02em;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 4px rgba(75,63,196,.25); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(75,63,196,0); } }

.hero-title {
  margin-top: 1.3rem;
  font-size: clamp(2.8rem, 7.2vw, 5.6rem); font-weight: 900; letter-spacing: -.035em; line-height: .98;
  text-transform: uppercase;
}
.hero-title .brand-name {
  background: linear-gradient(100deg, #fff 0%, #fff 40%, var(--primary-light) 70%, var(--primary-light) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-tagline { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: rgba(255,255,255,.78); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 2rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .45rem; font-size: .93rem; color: rgba(255,255,255,.82); font-weight: 500; }
.hero-points svg { width: 18px; height: 18px; color: var(--primary-light); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.ring { position: absolute; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.16); }
.ring-1 { inset: 0; animation: spin 60s linear infinite; }
.ring-2 { inset: 13%; border-style: solid; border-color: rgba(169,162,255,.22); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-orb {
  position: absolute; inset: 24%; border-radius: 50%; display: grid; place-items: center;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.35), transparent 45%),
    conic-gradient(from 210deg, var(--primary-bright) 0 45%, var(--primary-light) 45% 72%, var(--red) 72% 100%);
  box-shadow: 0 40px 80px -30px rgba(75,63,196,.7), inset 0 -20px 40px rgba(0,0,0,.25);
}
.hero-orb::before { content: ""; position: absolute; inset: 7%; border-radius: 50%; background: #EDEDED; box-shadow: inset 0 8px 24px rgba(18,16,42,.25); }
.orb-logo { position: relative; width: 58%; height: auto; transform: translateY(3%); }

.float-card {
  position: absolute; display: inline-flex; align-items: center; gap: .6rem;
  padding: .6rem 1rem .6rem .6rem; border-radius: 16px;
  background: rgba(255,255,255,.96); color: var(--ink); font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite;
}
.fc-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; }
.fc-icon svg { width: 18px; height: 18px; }
.fc-icon.green { background: rgba(75,63,196,.14); color: var(--primary-deep); }
.fc-icon.yellow { background: rgba(169,162,255,.25); color: var(--primary); }
.fc-icon.red { background: rgba(231,51,42,.12); color: var(--red); }
.fc-1 { top: 8%; left: -4%; }
.fc-2 { top: 44%; right: -6%; animation-delay: -2s; }
.fc-3 { bottom: 6%; left: 8%; animation-delay: -4s; }
@keyframes float { 50% { transform: translateY(-10px); } }

.flag-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 6px; display: flex; }
.flag-stripe span { flex: 1; }
.flag-stripe span:nth-child(1) { background: var(--primary-bright); }
.flag-stripe span:nth-child(2) { background: var(--primary-bright); }
.flag-stripe span:nth-child(3) { background: var(--red); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-head { text-align: center; max-width: 860px; margin: 0 auto clamp(2.5rem, 5vw, 3.5rem); }
.section-kicker {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 800 .8rem var(--font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--primary-deep);
}
.section-kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--red); }
.section-kicker.light { color: var(--primary-light); }
.section-title { margin-top: .8rem; font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; letter-spacing: -.025em; color: var(--ink); }
.section-title.light { color: #fff; }
.section-sub { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-photo { position: relative; }
.about-img { margin: 0; position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow-lg); }
.about-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.about-img::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--brand-bar); }
.about-img figcaption { position: absolute; left: 14px; bottom: 22px; display: grid; gap: .1rem; padding: .6rem .9rem; border-radius: 14px; background: rgba(18,16,42,.78); backdrop-filter: blur(6px); color: #fff; font-size: .8rem; }
.about-img figcaption strong { font: 800 .98rem var(--font-head); }
.about-img figcaption span { color: var(--primary-light); font-weight: 600; }
.about-badge {
  position: absolute; right: -14px; bottom: 28px; display: inline-flex; align-items: center; gap: .5rem;
  background: #fff; padding: .7rem 1.1rem; border-radius: 14px; box-shadow: var(--shadow);
  font: 700 .92rem var(--font-head); color: var(--ink);
}
.about-badge svg { width: 18px; height: 18px; color: var(--red); }
.lead { margin-top: 1.3rem; font-size: 1.15rem; color: var(--text); }
.lead strong { color: var(--primary-deep); }
.about-text { margin-top: .9rem; color: var(--text); font-size: 1rem; line-height: 1.65; }
.values { margin-top: 1.8rem; display: grid; gap: 1rem; }
.values li { display: flex; gap: 1rem; align-items: flex-start; }
.v-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--ink); color: var(--primary-light); }
.v-icon svg { width: 22px; height: 22px; }
.values strong { display: block; font-family: var(--font-head); color: var(--ink); }
.values span { color: var(--muted); font-size: .96rem; }

/* ---------- Services ---------- */
.services { background: #fff; }
.services::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(600px 300px at 0% 0%, rgba(75,63,196,.08), transparent 70%), radial-gradient(600px 300px at 100% 100%, rgba(169,162,255,.14), transparent 70%);
}
.cards-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.3rem; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: .8rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem 1.5rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card h3 { font-size: 1.14rem; font-weight: 800; color: var(--ink); }
.service-card p { color: var(--muted); font-size: .95rem; }
.service-card .price { margin-top: auto; padding-top: 1rem; border-top: 1px dashed var(--line); display: flex; align-items: baseline; gap: .35rem; flex-wrap: wrap; }
.amount { font: 900 1.35rem var(--font-head); color: var(--ink); letter-spacing: -.02em; }
.per { color: var(--muted); font-size: .88rem; font-weight: 500; }
.s-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; }
.s-icon svg { width: 26px; height: 26px; }
.s-icon.green { background: rgba(75,63,196,.12); color: var(--primary-deep); }
.s-icon.yellow { background: rgba(169,162,255,.28); color: var(--primary); }
.s-icon.red { background: rgba(231,51,42,.1); color: var(--red); }
.service-card.featured { background: var(--ink); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-lg); }
.service-card.featured h3, .service-card.featured .amount { color: #fff; }
.service-card.featured p, .service-card.featured .per { color: rgba(255,255,255,.7); }
.service-card.featured .price { border-top-color: rgba(255,255,255,.15); }
.service-card.featured .s-icon.yellow { background: rgba(169,162,255,.15); color: var(--primary-light); }
.ribbon {
  position: absolute; top: 1.2rem; right: 1.2rem; padding: .3rem .7rem; border-radius: 999px;
  background: var(--red); color: #fff; font: 800 .7rem var(--font-head); text-transform: uppercase; letter-spacing: .08em;
}

/* ---------- How it works ---------- */
.how { background: var(--bg); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: s; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 58px; left: 16%; right: 16%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--primary) 0 10px, transparent 10px 20px); opacity: .5;
}
.step {
  position: relative; text-align: center; padding: 2rem 1.6rem; border-radius: var(--radius);
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.step-num { position: absolute; top: 1rem; left: 1.2rem; font: 900 .95rem var(--font-head); color: var(--line); letter-spacing: .05em; color: #cfcde0; }
.step-icon {
  position: relative; margin: 0 auto 1.2rem; width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff;
  box-shadow: 0 0 0 8px #fff, 0 14px 30px -10px rgba(75,63,196,.6);
}
.step:nth-child(2) .step-icon { background: linear-gradient(135deg, var(--primary-light), var(--primary-light)); color: var(--ink); box-shadow: 0 0 0 8px #fff, 0 14px 30px -10px rgba(169,162,255,.7); }
.step:nth-child(3) .step-icon { background: linear-gradient(135deg, #ff5a50, var(--red)); box-shadow: 0 0 0 8px #fff, 0 14px 30px -10px rgba(231,51,42,.55); }
.step-icon svg { width: 32px; height: 32px; }
.step h3 { font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.step p { margin-top: .6rem; color: var(--muted); }

/* ---------- Home Fitness en chiffres (stats band) ---------- */
.stats-band { background: var(--ink); color: #fff; overflow: hidden; }
.stats-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(500px 300px at 10% 10%, rgba(75,63,196,.22), transparent 70%), radial-gradient(500px 300px at 90% 90%, rgba(231,51,42,.16), transparent 70%);
}
.stats-band .section-title { color: #fff; }
.stats-band .section-kicker { color: var(--primary-light); }
.stats-grid { position: relative; list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.1rem; max-width: 1160px; }
.stat {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem;
  padding: 1.6rem 1.1rem 1.4rem; border-radius: var(--radius); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
}
.stat .s-icon { margin-bottom: .5rem; }
.stat-value { font: 800 clamp(1.6rem, 2.6vw, 2.1rem)/1.15 var(--font-head); color: var(--primary-light); white-space: nowrap; }
.stat-label { font-weight: 700; color: #fff; }
.stat-detail { color: rgba(255,255,255,.6); font-size: .86rem; line-height: 1.45; }
.stats-cta { position: relative; text-align: center; margin-top: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 1000px) {
  .stats-grid { grid-template-columns: repeat(6, 1fr); }
  .stat { grid-column: span 2; }
  .stat:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 600px) {
  /* one compact row per figure: icon on the left, text on the right */
  .stats-grid { grid-template-columns: 1fr; gap: .7rem; max-width: 460px; }
  .stat, .stat:nth-child(4) { grid-column: auto; display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .1rem; align-items: center; text-align: left; padding: 1rem 1.1rem; }
  .stat .s-icon { grid-row: 1 / span 3; margin: 0; align-self: center; }
  .stat-value { font-size: 1.5rem; }
}

/* ---------- Theme (Sport · Bien-être · Santé) ---------- */
.hero-theme {
  margin-top: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .9rem;
  font: 800 clamp(1.05rem, 2.1vw, 1.45rem) var(--font-head); text-transform: uppercase; letter-spacing: .14em;
}
.hero-theme i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); }
.hero-theme .t-green { color: #fff; }
.hero-theme .t-yellow { color: var(--primary-light); }
.hero-theme .t-red { color: var(--red-light); }

.theme-band { background: var(--primary-light); color: var(--ink); overflow: hidden; border-bottom: 1px solid rgba(0,0,0,.06); }
.band-track {
  display: flex; align-items: center; justify-content: center; gap: 1.4rem; white-space: nowrap;
  padding: .95rem 0; font: 900 clamp(1rem, 2vw, 1.35rem) var(--font-head); text-transform: uppercase; letter-spacing: .12em;
}
.band-track b { color: var(--red); font-size: 1.2em; line-height: 1; }
.band-track b:nth-of-type(3n+2) { color: var(--primary-deep); }

.about-p { margin-top: .9rem; color: var(--text); font-weight: 600; }

/* ---------- Goals strip + class cards ---------- */
.goals-strip {
  position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .7rem;
  margin: 0 auto clamp(2rem, 4vw, 2.8rem);
}
.gs-label { font: 800 .8rem var(--font-head); text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin-right: .2rem; }
.goal-chip {
  display: inline-flex; align-items: center; gap: .5rem; padding: .65rem 1.1rem; border-radius: 999px;
  font: 700 .95rem var(--font-head); border: 1.5px solid transparent;
}
.goal-chip svg { width: 18px; height: 18px; }
.goal-chip.g-fit { background: rgba(75,63,196,.1); color: var(--primary-deep); border-color: rgba(75,63,196,.25); }
.goal-chip.g-loss { background: rgba(169,162,255,.2); color: var(--primary); border-color: rgba(169,162,255,.4); }
.goal-chip.g-strength { background: rgba(231,51,42,.08); color: #B8221B; border-color: rgba(231,51,42,.22); }

.cards-grid.cards-6 { grid-template-columns: repeat(3, 1fr); }
.class-card { padding: 1.6rem 1.5rem 1.4rem; }
.class-card::before {
  content: ""; position: absolute; top: 0; left: 1.5rem; right: 1.5rem; height: 4px; border-radius: 0 0 4px 4px; background: var(--primary);
}
.class-card:nth-child(3n+2)::before { background: var(--primary-light); }
.class-card:nth-child(3n)::before { background: var(--red); }
.cc-head { display: flex; align-items: center; gap: .9rem; }
.cc-head .s-icon { flex: none; width: 50px; height: 50px; }
.cc-head h3 { font-size: 1.2rem; }
.goal-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.goal-tags li { padding: .28rem .65rem; border-radius: 999px; font-size: .76rem; font-weight: 700; }
.goal-tags .g-fit { background: rgba(75,63,196,.1); color: var(--primary-deep); }
.goal-tags .g-loss { background: rgba(169,162,255,.25); color: var(--primary); }
.goal-tags .g-strength { background: rgba(231,51,42,.08); color: #B8221B; }
.cc-included {
  margin-top: auto; padding-top: .9rem; border-top: 1px dashed var(--line);
  display: flex; align-items: center; gap: .45rem; font-size: .84rem !important; font-weight: 600; color: var(--ink) !important;
}
.cc-included svg { width: 16px; height: 16px; color: var(--primary-deep); }
.cc-times { display: flex; align-items: center; gap: .45rem; font-size: .86rem !important; font-weight: 700; }
.cc-times svg { width: 16px; height: 16px; color: #25d366; flex: none; }
.cc-times a { color: var(--primary-deep); text-decoration: underline; text-underline-offset: 3px; }
/* 7 cartes : la dernière (seule sur sa ligne) est centrée */
.cards-classes > .class-card:last-child:nth-child(3n+1) { grid-column: 2; }

/* ---------- Pricing ---------- */
.pricing { background: #fff; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 980px; margin-inline: auto; align-items: stretch; }
.price-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem);
  background: radial-gradient(400px 250px at 100% 0%, rgba(75,63,196,.35), transparent 70%), radial-gradient(300px 200px at 0% 100%, rgba(231,51,42,.2), transparent 70%), var(--ink);
  color: #fff; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 1.2rem;
}
.price-card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px;
  background: var(--brand-bar);
}
.price-label { font: 800 .85rem var(--font-head); text-transform: uppercase; letter-spacing: .16em; color: var(--primary-light); }
.price-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; }
.price-big .amount { font: 900 clamp(2.1rem, 3.2vw, 2.3rem) var(--font-head); color: #fff; letter-spacing: -.03em; line-height: 1; }
.price-big .per { font-size: 1.1rem; color: rgba(255,255,255,.7); font-weight: 600; }
.price-list { display: grid; gap: .75rem; }
.price-list li { display: flex; gap: .7rem; align-items: flex-start; color: rgba(255,255,255,.88); }
.price-list svg { flex: none; width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--primary); color: #fff; margin-top: 1px; }
.price-card .btn { align-self: flex-start; margin-top: .4rem; }

/* ---------- Wave payment ---------- */
:root { --wave: #1dc8f2; --wave-deep: #0a8fb3; }
.wave-badge {
  display: inline-flex; align-items: center; justify-content: center; padding: .35rem .85rem; border-radius: 999px;
  background: var(--wave); color: #062a35; font: 900 .95rem var(--font-head); letter-spacing: .02em; line-height: 1;
}
.wave-badge.sm { padding: .25rem .6rem; font-size: .75rem; }
.wave-card {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.2rem);
  background: linear-gradient(160deg, #e9f9fe 0%, #ffffff 55%); border: 1.5px solid rgba(29,200,242,.45);
  box-shadow: 0 24px 50px -24px rgba(10,143,179,.45); display: flex; flex-direction: column; gap: 1.1rem;
}
.wave-card::before { content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; border-radius: 50%; background: rgba(29,200,242,.14); }
.wave-head { position: relative; display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.wave-head h3 { font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.wave-number {
  position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem .8rem;
  padding: .85rem 1rem; border-radius: 14px; background: #fff; border: 1px dashed rgba(29,200,242,.7);
}
.wave-number small { grid-column: 1; font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--wave-deep); }
.wave-number strong { grid-column: 1; font: 900 1.35rem var(--font-head); color: var(--ink); letter-spacing: .01em; }
.wave-copy {
  grid-column: 2; grid-row: 1 / span 2; border: 0; cursor: pointer; padding: .55rem .9rem; border-radius: 10px;
  background: rgba(29,200,242,.15); color: #06617a; font: 700 .82rem var(--font-head); transition: background .2s;
}
.wave-copy:hover { background: rgba(29,200,242,.3); }
.wave-copy.done { background: var(--primary); color: #fff; }
.wave-steps { position: relative; display: grid; gap: .7rem; }
.wave-steps li { display: flex; gap: .75rem; align-items: flex-start; color: var(--text); font-size: .97rem; }
.ws-num {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wave); color: #062a35; font: 900 .85rem var(--font-head);
}
.wave-steps strong { color: var(--ink); }
.btn-wave { background: var(--wave); color: #062a35; box-shadow: 0 12px 28px -10px rgba(29,200,242,.7); align-self: flex-start; margin-top: auto; }
.btn-wave:hover { box-shadow: 0 16px 34px -10px rgba(29,200,242,.85); }
.wave-inline { color: var(--wave-deep); font-weight: 700; }
.c-icon.wave-icon { background: var(--wave); border-color: var(--wave); color: #062a35; font: 900 1.1rem var(--font-head); }
.footer-wave { display: inline-flex !important; align-items: center; gap: .55rem; margin-top: .6rem !important; font-size: .9rem; color: rgba(255,255,255,.75); }

/* ---------- Registration ---------- */
[hidden] { display: none !important; }
.register { background: linear-gradient(180deg, #F5F5F8 0%, #eaf6ee 100%); }
.register-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.reg-steps { margin-top: 1.8rem; display: grid; gap: .9rem; }
.reg-steps li { display: flex; gap: .8rem; align-items: flex-start; font-size: 1rem; }
.reg-steps .ws-num { background: var(--primary); color: #fff; }
.register-card {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.3rem); box-shadow: var(--shadow-lg);
}
.register-card::before {
  content: ""; position: absolute; top: 0; left: 2rem; right: 2rem; height: 5px; border-radius: 0 0 6px 6px;
  background: var(--brand-bar);
}
.register-form { display: grid; gap: 1rem; }
.register-form h3, .reg-success h3 { font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.chk-group { border: 0; margin: 0; padding: 0; min-width: 0; }
.chk-group legend { font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: .45rem; padding: 0; }
.chk-group.invalid .chk-wrap { outline: 2px solid rgba(231,51,42,.35); outline-offset: 4px; border-radius: 12px; }
.chk-wrap { display: flex; flex-wrap: wrap; gap: .5rem; }
.chk { position: relative; cursor: pointer; }
.chk input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chk span {
  display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 999px;
  background: var(--bg); border: 1.5px solid var(--line); font: 700 .88rem var(--font-head); color: var(--ink); transition: .15s;
}
.chk span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 2px solid #bdbbd0; background: #fff; flex: none; }
.chk input:checked + span { background: rgba(75,63,196,.1); border-color: var(--primary); color: var(--primary-deep); }
.chk input:checked + span::before { background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-color: var(--primary); }
.chk input:focus-visible + span { outline: 3px solid var(--primary-light); outline-offset: 2px; }
.chk-all span { background: var(--ink); color: #fff; border-color: var(--ink); }
.chk-all input:checked + span { background: var(--primary-deep); color: #fff; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reg-submit[disabled] { opacity: .6; cursor: wait; }
.reg-success { display: grid; gap: .9rem; outline: none; }
.reg-ok-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: #fff; box-shadow: 0 12px 26px -10px rgba(75,63,196,.7); }
.reg-ok-icon svg { width: 28px; height: 28px; }
.reg-pending { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.badge-pending { display: inline-block; padding: .25rem .7rem; border-radius: 999px; background: #fff4d6; color: #8a5a00; border: 1px solid #f1d58a; font-size: .8rem; font-weight: 700; }
.link-btn { justify-self: start; background: none; border: 0; padding: .2rem 0; color: var(--primary-deep); font: 600 .9rem var(--font-body); text-decoration: underline; cursor: pointer; }
.form-status a { color: var(--primary-deep); font-weight: 700; text-decoration: underline; margin-left: .25rem; }

/* ---------- Coaches ---------- */
.coaches { background: linear-gradient(180deg, #eef7f1 0%, #F5F5F8 100%); }
.coach-grid { --gap: 1.4rem; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--gap); max-width: 1040px; margin-inline: auto; }
.coach-grid > .coach-card { flex: 0 1 calc((100% - 2 * var(--gap)) / 3); }
@media (max-width: 1080px) { .coach-grid > .coach-card { flex-basis: calc((100% - var(--gap)) / 2); max-width: 300px; } }
@media (max-width: 600px) { .coach-grid > .coach-card { flex-basis: 100%; max-width: 360px; } }
.coach-card { background: var(--card); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; }
.coach-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.coach-photo { margin: 0; position: relative; aspect-ratio: 3 / 4; background: var(--ink-2); overflow: hidden; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 30%; display: block; }
.coach-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--brand-bar); }
.coach-body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; align-items: flex-start; gap: .55rem; }
.coach-body h3 { font: 800 1.25rem var(--font-head); color: var(--ink); margin: 0; }
.coach-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: 999px; background: rgba(231,51,42,.1); color: var(--red); font: 700 .82rem var(--font-head); }
.coach-tag svg { width: 16px; height: 16px; }
.coach-tag-founder { background: rgba(75,63,196,.12); color: var(--primary-deep); }
.coach-soon { background: transparent; box-shadow: none; border: 2px dashed #cfcde0; align-items: center; justify-content: center; text-align: center; padding: 2rem 1.6rem; min-height: 280px; gap: .6rem; }
.coach-soon:hover { transform: none; box-shadow: none; }
.coach-soon-icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgba(75,63,196,.1); color: var(--primary-deep); }
.coach-soon-icon svg { width: 28px; height: 28px; }
.coach-soon h3 { font: 800 1.1rem var(--font-head); color: var(--ink); margin: 0; }
.coach-soon p { color: var(--muted); font-size: .92rem; margin: 0; max-width: 240px; }

/* ---------- Video ---------- */
.video-sec { background: radial-gradient(600px 400px at 85% 10%, rgba(75,63,196,.25), transparent 70%), radial-gradient(500px 360px at 10% 95%, rgba(231,51,42,.18), transparent 70%), var(--ink); color: #fff; }
.video-sec .section-kicker { color: var(--primary-light); }
.video-sec .section-title { color: #fff; }
.video-sec .section-sub { color: rgba(255,255,255,.82); }
.video-grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); justify-content: center; margin-inline: auto; }
.video-grid--v { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1100px; }
@media (max-width: 1000px) { .video-grid--v { grid-template-columns: repeat(2, minmax(0, 300px)); } }
.video-grid--h { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 1000px; margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.video-card { margin: 0; min-width: 0; }
.video-player { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.video-player video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--ink); }
.video-card--h .video-player video { aspect-ratio: 16 / 9; }
.video-player::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--brand-bar); pointer-events: none; }
.video-card figcaption { margin-top: .7rem; text-align: center; font-weight: 600; color: rgba(255,255,255,.9); font-size: .98rem; }
.video-foot { text-align: center; margin-top: clamp(1.6rem, 3vw, 2.4rem); }
.video-hint { margin: 0 0 1.2rem; color: rgba(255,255,255,.6); font-size: .9rem; }
@media (max-width: 760px) {
  /* verticals: horizontal swipe row; horizontals: stacked full width */
  .video-grid--v { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start; gap: .9rem; padding: 0 .2rem .6rem; margin-inline: -.2rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
  .video-grid--v .video-card { flex: 0 0 min(72%, 300px); scroll-snap-align: center; }
  .video-grid--h { grid-template-columns: 1fr; }
}

/* ---------- Gallery (membres en action) ---------- */
.gallery { background: #fff; }
/* CSS grid, 4 columns (2 on mobile). Full-row group photos separate blocks of portraits; each block must fill
   a multiple of 4 cells to avoid gaps (8 portraits, or the 2×2 feature + 4 portraits). See README before adding photos. */
.gallery-grid { --gap: 1.1rem; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: row dense; gap: var(--gap); max-width: 1120px; margin-inline: auto; }
.gallery-item { margin: 0; position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink-2); box-shadow: var(--shadow); }
/* Landscape group photo: full row */
.gallery-item--wide { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
.gallery-item--wide img { object-position: center 35%; }
/* Feature photo: 2 columns × 2 rows */
.gallery-item--feature { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery-item a, .gallery-item picture { display: block; width: 100%; height: 100%; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item figcaption { position: absolute; left: 10px; bottom: 16px; padding: .4rem .75rem; border-radius: 12px; background: rgba(18,16,42,.78); backdrop-filter: blur(6px); color: #fff; font: 800 .85rem var(--font-head); pointer-events: none; }
.gallery-item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--brand-bar); pointer-events: none; }
/* "Voir plus de photos": JS adds .is-collapsed (without JS every photo stays visible) */
.gallery-grid.is-collapsed .gallery-more { display: none; }
.gallery-more-wrap { text-align: center; margin-top: clamp(1.4rem, 3vw, 2rem); }
@media (max-width: 760px) { .gallery-grid { --gap: .8rem; grid-template-columns: repeat(2, 1fr); } .gallery-item { border-radius: var(--radius); } .gallery-item--wide { aspect-ratio: 3 / 2; } }

/* ---------- Planning / timetable ---------- */
.planning { background: var(--bg); }
.timetable { display: grid; grid-template-columns: repeat(7, 1fr); gap: .8rem; }
.day-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem .8rem 1.1rem; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: .8rem;
}
.day-card h3 {
  font-size: .95rem; font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .06em;
  padding-bottom: .6rem; border-bottom: 2px solid var(--ink);
}
.day-card ul { display: grid; gap: .5rem; }
.slot {
  display: flex; flex-direction: column; gap: .1rem; padding: .55rem .65rem; border-radius: 10px; background: var(--bg);
  border-left: 4px solid var(--primary);
}
.slot time { font: 800 .82rem var(--font-head); color: var(--muted); }
.slot span { font: 700 .9rem var(--font-head); color: var(--ink); line-height: 1.2; }
.slot.c-combat { border-left-color: var(--red); }
.slot.c-pump { border-left-color: var(--primary); }
.slot.c-attack { border-left-color: var(--primary-light); }
.slot.c-step { border-left-color: var(--ink); }
.slot.c-renfo { border-left-color: var(--primary); }
.slot.c-zumba { border-left-color: var(--red-light); }
.slot.c-circuit { border-left-color: var(--red); }
.day-card.closed { background: repeating-linear-gradient(-45deg, #eeeef4 0 10px, #f7f7fa 10px 20px); box-shadow: none; }
.day-card.closed h3 { color: var(--muted); border-bottom-color: var(--line); }
.closed-label { margin: auto 0; display: flex; flex-direction: column; align-items: center; gap: .4rem; font: 800 .95rem var(--font-head); color: var(--red); text-transform: uppercase; letter-spacing: .08em; }
.closed-label svg { width: 26px; height: 26px; }
.planning-note {
  margin: 1.6rem auto 0; max-width: 760px; display: flex; align-items: center; justify-content: center; gap: .6rem; text-align: center;
  padding: .85rem 1.2rem; border-radius: 12px; background: rgba(75,63,196,.07); border: 1px solid rgba(75,63,196,.2);
  color: var(--ink); font-weight: 600; font-size: .95rem;
}
.planning-note svg { flex: none; width: 20px; height: 20px; color: var(--primary-deep); }

/* ---------- Location ---------- */
.location { background: #fff; }
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.same-banner { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.3rem; padding: .7rem 1.2rem; border-radius: 999px; background: rgba(75,63,196,.1); border: 1px solid rgba(75,63,196,.28); color: var(--primary-deep); font-family: var(--font-head); font-size: .95rem; text-align: left; }
.same-banner svg { width: 18px; height: 18px; flex: none; }
.one-gym-note { margin-top: .7rem; color: var(--muted); font-size: .92rem; font-weight: 600; }
.sites-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.site-card { display: flex; flex-direction: column; gap: 1rem; padding: 1.3rem; border-radius: var(--radius-lg); background: var(--card); box-shadow: var(--shadow); }
.site-head { display: flex; gap: .9rem; align-items: flex-start; }
.site-head h3 { font: 800 1.15rem var(--font-head); color: var(--ink); margin: 0 0 .25rem; }
.site-head p { margin: 0; color: var(--text); font-size: .93rem; }
.loc-strip { grid-template-columns: repeat(3, 1fr); margin-top: 1.8rem; }
.section-sub.left { max-width: 30rem; }
.loc-list { margin-top: 1.8rem; display: grid; gap: 1.1rem; }
.loc-list li { display: flex; gap: 1rem; align-items: center; }
.loc-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .95rem; }
.loc-list div > a, .loc-list div > span { color: var(--text); font-weight: 500; }
.loc-list a:hover { color: var(--primary-deep); }
.loc-list .hours { line-height: 1.55; }
.placeholder-text { display: inline-block; padding: .1rem .5rem; border-radius: 6px; background: #fffbe0; border: 1px dashed #e3c500; color: #6b5a00 !important; }
.map-card { display: flex; flex-direction: column; gap: 1rem; }
.map-frame {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(160deg, #e9f3ec 0%, #F5F5F8 60%, #fdf8dc 100%); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-btn { align-self: flex-start; }

/* ---------- Contact ---------- */
.contact {
  background:
    radial-gradient(700px 400px at 0% 100%, rgba(75,63,196,.3), transparent 70%),
    radial-gradient(500px 300px at 100% 0%, rgba(169,162,255,.1), transparent 70%),
    var(--ink);
  color: #fff;
}
.contact-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-lead { margin-top: 1rem; color: rgba(255,255,255,.75); font-size: 1.08rem; max-width: 28rem; }
.contact-info .btn-whatsapp { margin-top: 1.8rem; }
.contact-list { margin-top: 2rem; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; }
.c-icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: var(--primary-light); }
.c-icon svg { width: 20px; height: 20px; }
.contact-list small { display: block; color: rgba(255,255,255,.55); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.contact-list a, .contact-list span { font-weight: 600; font-size: 1.02rem; word-break: break-word; }
.contact-list a:hover { color: var(--primary-light); }

.contact-form {
  background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.3rem);
  box-shadow: var(--shadow-lg); display: grid; gap: 1rem; position: relative;
}
.contact-form::before {
  content: ""; position: absolute; top: 0; left: 2rem; right: 2rem; height: 5px; border-radius: 0 0 6px 6px;
  background: var(--brand-bar);
}
.contact-form h3 { font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--text);
  padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px rgba(75,63,196,.15); }
.field .invalid, .field input.invalid, .field textarea.invalid { border-color: var(--red); box-shadow: 0 0 0 4px rgba(231,51,42,.12); }
.form-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: .3rem; }
.form-actions .btn { flex: 1 1 200px; }
.form-status:empty { display: none; }
.form-status { font-size: .92rem; font-weight: 600; color: var(--red); }
.form-status.ok { color: var(--primary-deep); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: -.4rem; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: #0B0A1C; color: rgba(255,255,255,.7); padding: 3.2rem 0 2rem; }
.site-footer .flag-stripe { top: 0; bottom: auto; height: 4px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 112px; height: auto; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 1.5rem 2rem; align-items: center; }
.footer-brand p { margin-top: .7rem; font-size: .95rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.footer-nav a { font-size: .93rem; font-weight: 500; }
.footer-nav a:hover { color: var(--primary-light); }
.copyright { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .85rem; color: rgba(255,255,255,.5); }
.footer-credit { grid-column: 1 / -1; margin-top: -1.1rem; font-size: .75rem; letter-spacing: .02em; color: rgba(255,255,255,.35); }
.footer-credit a { color: rgba(255,255,255,.5); text-decoration: underline; text-decoration-color: rgba(255,255,255,.18); text-underline-offset: 2px; transition: color .2s; }
.footer-credit a:hover, .footer-credit a:focus-visible { color: var(--primary-light); text-decoration-color: currentColor; }
.footer-credit-tel { white-space: nowrap; opacity: .8; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff;
  box-shadow: 0 14px 30px -8px rgba(37,211,102,.7); transition: transform .2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .timetable { grid-template-columns: repeat(4, 1fr); }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav a { padding: .5rem .6rem; font-size: .88rem; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: #12102A; border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 40px -20px rgba(0,0,0,.6);
    padding: 1rem 1.25rem 1.5rem; transform: translateY(-110%); opacity: 0; visibility: hidden;
    transition: transform .3s ease, opacity .3s ease, visibility .3s;
    z-index: -1;
  }
  .main-nav.open { transform: none; opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: .2rem; }
  .main-nav a { padding: .9rem 1rem; font-size: 1.05rem; border-radius: 12px; }
  .main-nav a.nav-cta { margin: .5rem 0 0; text-align: center; }

  .hero-inner { grid-template-columns: 1fr; text-align: left; gap: 2.5rem; }
  .hero-visual { max-width: 340px; }
  .about-grid, .location-grid, .contact-grid, .pricing-grid, .register-grid { grid-template-columns: 1fr; }
  .register-card { max-width: 560px; width: 100%; margin-inline: auto; }
  .cards-grid.cards-6 { grid-template-columns: repeat(2, 1fr); }
  .cards-classes > .class-card:last-child:nth-child(3n+1) { grid-column: auto; }
  .cards-classes > .class-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-self: center; width: calc(50% - .65rem); }
  .timetable { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { max-width: 560px; }
  .about-photo { max-width: 380px; width: 100%; margin-inline: auto; }
  .about-img { aspect-ratio: 4 / 5; }
  .steps { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .steps::before { display: none; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .container { width: min(1180px, 100% - 2rem); }
  .logo { font-size: 1.02rem; }
  .logo-mark { width: 36px; height: 36px; border-radius: 10px; }
  .logo-mark img { width: 26px; }
  .cards-grid, .cards-grid.cards-6 { grid-template-columns: 1fr; }
  .cards-classes > .class-card:last-child:nth-child(odd) { width: auto; justify-self: stretch; }
  .timetable { grid-template-columns: 1fr; gap: .7rem; }
  .day-card { flex-direction: row; align-items: flex-start; gap: .9rem; padding: .9rem; }
  .day-card h3 { flex: none; width: 6.3rem; padding: .45rem 0 0; border-bottom: 0; font-size: .85rem; }
  .day-card ul { flex: 1; }
  .slot { flex-direction: row; align-items: baseline; gap: .7rem; padding: .5rem .7rem; }
  .slot time { min-width: 3.4rem; }
  .day-card.closed { align-items: center; }
  .day-card.closed h3 { padding-top: 0; }
  .closed-label { margin: 0; flex-direction: row; font-size: .88rem; }
  .closed-label svg { width: 20px; height: 20px; }
  .planning-note { text-align: left; justify-content: flex-start; align-items: flex-start; }
  .goals-strip { justify-content: flex-start; }
  .gs-label { width: 100%; }
  .goal-chip { font-size: .85rem; padding: .5rem .85rem; }
  .field-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .hero-visual { max-width: 270px; }
  .float-card { font-size: .82rem; padding: .45rem .8rem .45rem .45rem; }
  .fc-icon { width: 28px; height: 28px; }
  .fc-1 { left: 0; }
  .fc-2 { right: -2%; top: 24%; }
  .fc-1 { top: 2%; }
  .about-badge { right: 10px; }
  .footer-inner { grid-template-columns: 1fr; }
  .band-track { gap: 1rem; justify-content: flex-start; }
  .price-card .btn { align-self: stretch; }
  .btn-wave { align-self: stretch; white-space: normal; text-align: center; }
  .wave-number strong { font-size: 1.2rem; }
  .price-big .amount { font-size: 2.15rem; }
  .map-btn { align-self: stretch; }
  .sites-grid, .loc-strip { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 16px; bottom: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 640px) { .coach-soon { min-height: 0; padding: 1.8rem 1.4rem; } }

/* Inscription : choix de la salle */
.field-hint { display: block; margin-top: .35rem; color: var(--muted); font-size: .8rem; font-weight: 500; }
.reg-gym { margin: .2rem 0 .6rem; }
.reg-gym strong { color: var(--primary-deep); }

.addr-line { display: block; font-weight: 500; }
.addr-line + .addr-line { margin-top: .3rem; }
.addr-line strong { font-weight: 800; }
.nowrap { white-space: nowrap; }
