
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Boxing Center brand (official) ── */
  --bc-navy: #20254B;
  --bc-navy-light: #2c3360;
  --bc-navy-deep: #0C1829;
  --bc-black: #080808;
  --bc-bronze: #6D3111;
  --bc-gold: #C8902F;
  --bc-gold-soft: rgba(200, 144, 47, 0.14);
  --bc-red: #E8001C;
  --bc-red-hover: #c5001a;

  --bc-bg: #F4F5F7;
  --bc-card: #FFFFFF;
  --bc-border: #E4E7ED;
  --bc-text: #161A2E;
  --bc-muted: #5C6370;

  /* semantic */
  --bc-cta: var(--bc-red);
  --bc-cta-hover: var(--bc-red-hover);
  --bc-accent: var(--bc-red);
  --bc-success: #16a34a;
  --bc-error: #dc2626;
  --bc-warning: #b45309;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 0.25s;
  --t-med: 0.5s;
  --t-slow: 0.9s;

  /* type */
  --font-display: 'Barlow Condensed', 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* layout */
  --max: 1180px;
  --wide: 1320px;
  --radius: 12px;
  --radius-lg: 18px;
  --section-pad: clamp(64px, 9vw, 124px);
  --shadow: 0 4px 24px rgba(22, 26, 46, 0.08);
  --shadow-lg: 0 18px 50px -12px rgba(22, 26, 46, 0.22);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bc-bg);
  color: var(--bc-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, .display {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
}

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }

main { flex: 1; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bc-card);
  border-bottom: 1px solid var(--bc-border);
  box-shadow: var(--shadow);
  transition: transform 0.35s var(--ease-out);
}

.topbar.nav-hidden { transform: translateY(-100%); }

.topbar-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  height: 48px;
  width: auto;
  max-width: min(200px, 42vw);
  display: block;
  object-fit: contain;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--bc-navy);
  border-radius: 2px;
  transition: transform 0.2s;
}

.main-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bc-card);
  padding: 16px 20px 24px;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--bc-border);
  box-shadow: var(--shadow);
}

.main-nav.open { display: flex; }

.main-nav a {
  color: var(--bc-navy);
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  transition: background 0.15s, color 0.15s;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--bc-bg);
  color: var(--bc-navy);
}

.nav-cta {
  margin-top: 8px;
  background: var(--bc-cta) !important;
  color: #fff !important;
  text-align: center;
  white-space: nowrap;
}

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .topbar-inner { position: relative; }
  .main-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    padding: 0;
    border: none;
    gap: 6px;
  }
  .main-nav a { padding: 10px 15px; font-size: 14px; }
  .nav-cta { margin-top: 0; margin-left: 12px; }
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(52px, 7vw, 88px) 20px;
}

.section-head {
  text-align: center;
  margin-bottom: 42px;
}

.section-head .kicker {
  display: inline-block;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--bc-red); margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  text-transform: uppercase;
  color: var(--bc-navy);
  letter-spacing: -0.01em;
  line-height: 0.98;
  margin-bottom: 12px;
}

.section-head p {
  color: var(--bc-muted);
  max-width: 580px;
  margin: 0 auto;
  font-size: 15px;
}

.section-head.left { text-align: left; }
.section-head.left p { margin: 0; }

.section-alt { background: var(--bc-card); }

footer.site-footer {
  background: var(--bc-navy);
  color: rgba(255, 255, 255, 0.75);
  padding: 40px 20px;
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 24px;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer-brand p { font-size: 14px; margin-top: 12px; line-height: 1.6; }

.footer-links h4 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 4px 0;
}

.footer-links a:hover { color: var(--bc-cta); }

.footer-bottom {
  max-width: var(--max);
  margin: 24px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  background: var(--bc-cta);
  color: #fff;
  font-weight: 700;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: background var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out);
  text-decoration: none;
}

.btn:hover { background: var(--bc-cta-hover); transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(232, 0, 28, 0.55); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn.secondary {
  background: transparent;
  color: var(--bc-navy);
  border: 2px solid var(--bc-navy);
}

.btn.secondary:hover { background: rgba(11, 31, 58, 0.05); }

.btn.white {
  background: #fff;
  color: var(--bc-navy);
}

.btn.stripe { background: #635bff; color: #fff; }
.btn.stripe:hover { background: #5249e0; }

.btn.block { width: 100%; }

.btn.sm { padding: 10px 18px; font-size: 14px; }

[hidden] { display: none !important; }

/* keyboard focus — visible, on-brand, never on mouse clicks */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.filter-chip:focus-visible,
.subsection-tab:focus-visible,
.faq-question:focus-visible {
  outline: 3px solid rgba(32, 37, 75, 0.55);
  outline-offset: 2px;
  border-radius: 6px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--bc-text);
  margin: 12px 0 6px;
}

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--bc-border);
  background: #fff;
  color: var(--bc-text);
  font-size: 15px;
  font-family: inherit;
}

input:focus, select:focus, textarea:focus {
  outline: 2px solid rgba(32, 37, 75, 0.35);
  outline-offset: 1px;
  border-color: var(--bc-navy);
}

.form-grid {
  display: grid;
  gap: 0 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
}

.form-grid .full { grid-column: 1 / -1; }

.form-msg { margin-top: 12px; font-size: 14px; min-height: 1.2em; }
.form-msg.ok { color: var(--bc-success); }
.form-msg.err { color: var(--bc-error); }

.info-box {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13px;
  background: var(--bc-gold-soft);
  border: 1px solid rgba(200, 144, 47, 0.3);
  color: var(--bc-muted);
}

.notice-important {
  padding: 16px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  background: #fff8e6;
  border: 1px solid #f0d78c;
  color: #7a6520;
}

.notice-important p {
  margin: 0;
  line-height: 1.5;
}

.iban-fr-hint {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--bc-muted);
  line-height: 1.4;
}

/* Choix RIB / CB — étape paiement inscription */
.billing-plan-block .billing-plan-title {
  margin-top: 0;
  margin-bottom: 12px;
}

.billing-choice-row {
  display: flex;
  flex-direction: row;
  gap: 12px;
  align-items: stretch;
}

.billing-choice {
  display: flex;
  flex: 1;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 14px 16px;
  border: 2px solid var(--bc-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.billing-choice:has(input:checked) {
  border-color: var(--bc-navy);
  box-shadow: 0 0 0 1px var(--bc-navy);
  background: rgba(32, 37, 75, 0.04);
}

.billing-choice input[type="radio"] {
  width: auto;
  margin: 3px 0 0;
  flex-shrink: 0;
  padding: 0;
  accent-color: var(--bc-navy);
}

.billing-choice-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 500;
  line-height: 1.35;
}

.billing-choice-text strong {
  font-size: 14px;
  color: var(--bc-text);
}

.pay-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.pay-logos img {
  height: 22px;
  width: auto;
  object-fit: contain;
}

.billing-choice-text small {
  font-size: 12px;
  font-weight: 400;
  color: var(--bc-muted);
}

.fourx-schedule {
  margin: 14px 0 4px;
  padding: 16px 18px;
  background: rgba(32, 37, 75, 0.04);
  border: 1px solid rgba(32, 37, 75, 0.1);
  border-radius: 12px;
}
.fourx-schedule__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--bc-navy);
}
.fourx-schedule ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.fourx-schedule li {
  font-size: 14px;
  color: var(--bc-navy);
  line-height: 1.4;
}
.fourx-schedule__note {
  margin: 12px 0 0;
  font-size: 12px;
  color: var(--bc-muted);
}
.offer-card .fourx-schedule--card {
  margin: 10px 0 14px;
  padding: 12px 14px;
}
.offer-card .fourx-schedule--card .fourx-schedule__title {
  font-size: 11px;
}
.offer-card .fourx-schedule--card li {
  font-size: 13px;
}

@media (max-width: 560px) {
  .billing-choice-row {
    flex-direction: column;
  }
}

.notice-important strong {
  display: block;
  margin-bottom: 6px;
  color: var(--bc-warning);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.checkout-layout {
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 20px 64px;
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .checkout-layout { grid-template-columns: 1fr 360px; align-items: start; }
}

.form-panel, .summary-panel {
  background: var(--bc-card);
  border: 1px solid var(--bc-border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.form-panel h1 { font-size: 1.5rem; color: var(--bc-navy); margin-bottom: 8px; }
.form-panel .sub { color: var(--bc-muted); font-size: 14px; margin-bottom: 24px; }

.round-clock {
  background: #0C1829;
  color: #fff;
  border-radius: 14px;
  padding: 16px 18px 14px;
  margin: 0 0 22px;
  border: 2px solid #C8902F;
  text-align: center;
}
.round-clock__kicker {
  display: block;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
  color: #C8902F;
}
.round-clock__time {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 3.4rem);
  line-height: 1;
  margin: 6px 0 8px;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.round-clock__copy {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.82);
  line-height: 1.45;
}
.round-clock.is-urgent {
  border-color: #E8001C;
  box-shadow: 0 0 0 1px rgba(232, 0, 28, 0.35);
}
.round-clock.is-urgent .round-clock__time,
.round-clock.is-over .round-clock__time {
  color: #E8001C;
}
.round-clock.is-over {
  border-color: #E8001C;
}

.summary-panel h2 { font-size: 1.1rem; color: var(--bc-navy); margin-bottom: 16px; }

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--bc-border);
}

.summary-line.muted { color: var(--bc-muted); }

.summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--bc-navy);
  padding-top: 16px;
}

.stack { display: grid; gap: 12px; margin-top: 20px; }

.success-page {
  max-width: 560px;
  margin: 80px auto;
  padding: 20px;
  text-align: center;
  position: relative;
}

.success-page h1 { color: var(--bc-navy); margin: 20px 0 12px; }
.success-page p { color: var(--bc-muted); margin-bottom: 24px; }

.success-page.payment-failed .success-icon { display: none; }
.success-page.payment-failed h1 { color: var(--bc-error); }

.success-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(22, 163, 74, 0.12);
  border: 2px solid var(--bc-success);
  display: grid;
  place-items: center;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.success-icon::after {
  content: '';
  width: 14px;
  height: 8px;
  border-left: 3px solid var(--bc-success);
  border-bottom: 3px solid var(--bc-success);
  transform: rotate(-45deg) translateY(-2px);
}

/* Celebration après achat / inscription confirmée */
.success-page--celebrate .success-icon-wrap {
  position: relative;
  width: 96px;
  height: 96px;
  margin: 0 auto 8px;
  display: grid;
  place-items: center;
}

.success-page--celebrate .success-icon {
  width: 88px;
  height: 88px;
  border-width: 3px;
  background: rgba(22, 163, 74, 0.14);
}

.success-page--celebrate .success-icon::after {
  width: 18px;
  height: 10px;
  border-left-width: 3.5px;
  border-bottom-width: 3.5px;
}

.success-page--celebrate .success-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(22, 163, 74, 0.45);
  pointer-events: none;
}

.success-page--celebrate .success-burst {
  position: absolute;
  inset: -12px;
  pointer-events: none;
  overflow: visible;
}

.success-page--celebrate .success-burst i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 7px;
  height: 7px;
  margin: -3px;
  border-radius: 2px;
  background: var(--bc-gold, #c9a227);
  opacity: 0;
}

.success-page--celebrate .success-burst i:nth-child(odd) {
  background: var(--bc-navy, #0b1f3a);
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.success-page--celebrate .success-burst i:nth-child(3n) {
  background: var(--bc-success, #16a34a);
}

.has-motion .success-page--celebrate .success-icon-wrap {
  animation: successPop 0.55s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.has-motion .success-page--celebrate .success-icon::after {
  animation: successCheck 0.45s 0.2s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.has-motion .success-page--celebrate .success-ring {
  animation: successRing 0.9s 0.1s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.has-motion .success-page--celebrate h1 {
  animation: successFadeUp 0.5s 0.18s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.has-motion .success-page--celebrate .info-box,
.has-motion .success-page--celebrate .notice-important,
.has-motion .success-page--celebrate .success-actions,
.has-motion .success-page--celebrate .btn {
  animation: successFadeUp 0.5s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.has-motion .success-page--celebrate .info-box { animation-delay: 0.28s; }
.has-motion .success-page--celebrate .notice-important { animation-delay: 0.32s; }
.has-motion .success-page--celebrate .success-actions,
.has-motion .success-page--celebrate .btn { animation-delay: 0.4s; }
.has-motion .success-page--celebrate .btn + .btn { animation-delay: 0.48s; }

.has-motion .success-page--celebrate .success-burst i {
  animation: successParticle 0.85s var(--ease-out, cubic-bezier(0.22, 1, 0.36, 1)) both;
}

.has-motion .success-page--celebrate .success-burst i:nth-child(1) { --dx: 0px; --dy: -42px; animation-delay: 0.12s; }
.has-motion .success-page--celebrate .success-burst i:nth-child(2) { --dx: 34px; --dy: -28px; animation-delay: 0.16s; }
.has-motion .success-page--celebrate .success-burst i:nth-child(3) { --dx: 42px; --dy: 6px; animation-delay: 0.14s; }
.has-motion .success-page--celebrate .success-burst i:nth-child(4) { --dx: 28px; --dy: 34px; animation-delay: 0.2s; }
.has-motion .success-page--celebrate .success-burst i:nth-child(5) { --dx: -8px; --dy: 40px; animation-delay: 0.18s; }
.has-motion .success-page--celebrate .success-burst i:nth-child(6) { --dx: -36px; --dy: 22px; animation-delay: 0.22s; }
.has-motion .success-page--celebrate .success-burst i:nth-child(7) { --dx: -40px; --dy: -10px; animation-delay: 0.15s; }
.has-motion .success-page--celebrate .success-burst i:nth-child(8) { --dx: -24px; --dy: -36px; animation-delay: 0.19s; }

@keyframes successPop {
  0% { opacity: 0; transform: scale(0.4); }
  70% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes successCheck {
  0% { opacity: 0; transform: rotate(-45deg) translateY(-2px) scale(0.2); }
  100% { opacity: 1; transform: rotate(-45deg) translateY(-2px) scale(1); }
}

@keyframes successRing {
  0% { opacity: 0.7; transform: scale(0.7); }
  100% { opacity: 0; transform: scale(1.55); }
}

@keyframes successFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

@keyframes successParticle {
  0% { opacity: 0; transform: translate(0, 0) scale(0.4); }
  25% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .has-motion .success-page--celebrate .success-icon-wrap,
  .has-motion .success-page--celebrate .success-icon::after,
  .has-motion .success-page--celebrate .success-ring,
  .has-motion .success-page--celebrate h1,
  .has-motion .success-page--celebrate .info-box,
  .has-motion .success-page--celebrate .notice-important,
  .has-motion .success-page--celebrate .success-actions,
  .has-motion .success-page--celebrate .btn,
  .has-motion .success-page--celebrate .success-burst i {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  .has-motion .success-page--celebrate .success-icon::after {
    transform: rotate(-45deg) translateY(-2px) !important;
  }
}

.pill {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--bc-border);
  color: var(--bc-muted);
  background: #fff;
}

.pill.live { border-color: var(--bc-success); color: var(--bc-success); }

.page-hero {
  position: relative;
  background: linear-gradient(135deg, var(--bc-navy) 0%, var(--bc-navy-light) 100%);
  color: #fff;
  padding: clamp(48px, 8vw, 88px) 20px;
  overflow: hidden;
  isolation: isolate;
}

.page-hero--photo::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(8, 12, 20, 0.88) 0%, rgba(8, 12, 20, 0.55) 55%, rgba(8, 12, 20, 0.35) 100%),
    var(--page-hero-img) center / cover no-repeat;
}

.page-hero--essai { --page-hero-img: url('../img/bc/disc/lady.webp'); }
.page-hero--abo { --page-hero-img: url('../img/bc/disc/boxe-anglaise.webp'); }
.page-hero--coach { --page-hero-img: url('../img/bc/disc/mma.webp'); }
.page-hero--materiel { --page-hero-img: url('../img/bc/disc/cross.webp'); }
.page-hero--faq { --page-hero-img: url('../img/bc/gym/gym-06.jpg'); }
.page-hero--manage { --page-hero-img: url('../img/bc/gym/manage-hero.jpg'); }

.page-hero--essai::before {
  background-position: center 15%;
}

.page-hero--video {
  min-height: min(70vh, 620px);
  display: flex;
  align-items: flex-end;
}
.page-hero__video-wrap {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}
.page-hero__video-wrap iframe,
.page-hero__video-wrap img,
.page-hero__video-wrap video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw; /* 16:9 */
  min-height: 100%;
  min-width: 177.78vh; /* 16:9 */
  transform: translate(-50%, -50%);
  border: 0;
  object-fit: cover;
}
.page-hero__video-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, rgba(8, 12, 20, 0.88) 0%, rgba(8, 12, 20, 0.55) 55%, rgba(8, 12, 20, 0.35) 100%);
}

.page-hero-inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: clamp(2.1rem, 6vw, 3.4rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  max-width: 16ch;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.84);
  max-width: 560px;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Legal pages */
.legal-page { max-width: 720px; }
.legal-page h1 { color: var(--bc-navy); margin-bottom: 8px; font-size: clamp(1.6rem, 4vw, 2.2rem); }
.legal-page h2 { font-size: 1.1rem; margin: 28px 0 12px; color: var(--bc-navy); }
.legal-page p { color: var(--bc-muted); margin-bottom: 14px; line-height: 1.7; }
.legal-page ul { color: var(--bc-muted); padding-left: 24px; margin-bottom: 14px; line-height: 1.7; }
.legal-page ul li { margin-bottom: 6px; }
.legal-page a { color: var(--bc-cta); text-decoration: underline; }
.legal-update { color: var(--bc-muted); font-size: 13px; margin-bottom: 32px; font-style: italic; }
.legal-footer { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--bc-border); color: var(--bc-muted); font-size: 14px; }

.manage-block {
  max-width: 760px;
  margin: 0 auto 48px;
}

.manage-block h2 {
  color: var(--bc-navy);
  margin-bottom: 12px;
}

.manage-gyms {
  padding-left: 1.2em;
  margin: 16px 0;
}

.counselor-panel {
  margin-top: 20px;
  padding: 16px;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
  background: #fafbfd;
}

.counselor-bubble {
  background: #fff;
  border-left: 4px solid var(--bc-navy);
  padding: 12px 14px;
  line-height: 1.5;
}

.photo-capture-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.field-hint {
  font-size: 13px;
  color: #5c6370;
  margin: 4px 0 10px;
}

/* ——— Gérer mon abonnement ——— */
.manage-page {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.manage-card {
  background: #fff;
  border: 1px solid var(--bc-border);
  border-radius: 16px;
  padding: 28px 28px 32px;
  box-shadow: 0 10px 30px rgba(11, 31, 58, 0.04);
}

.manage-card-kicker {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-gold);
  font-weight: 700;
  margin-bottom: 6px;
}

.manage-card h2 {
  color: var(--bc-navy);
  margin: 0 0 12px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2rem);
}

.manage-lead {
  color: var(--bc-muted);
  line-height: 1.65;
  margin-bottom: 20px;
}

.manage-gym-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.manage-gym-item {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--bc-bg);
  border: 1px solid var(--bc-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.manage-gym-item strong { color: var(--bc-navy); }
.manage-gym-item span { font-size: 13px; color: var(--bc-muted); }

.manage-events h3 {
  font-size: 1rem;
  color: var(--bc-navy);
  margin: 0 0 6px;
}

.manage-form { margin-top: 8px; }

/* Coachings — réservation */
.coaching-book {
  max-width: 720px;
  margin: 0 auto 16px;
  padding: 28px 22px;
  border: 1px solid var(--bc-border);
  border-radius: var(--radius-lg, 16px);
  background: #fff;
  box-shadow: var(--shadow, 0 8px 24px rgba(11, 31, 58, 0.06));
}
.coaching-book__intro { margin-bottom: 22px; }
.coaching-book__intro h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--bc-navy);
  margin: 6px 0 10px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.coaching-book__intro p {
  color: var(--bc-muted);
  line-height: 1.65;
  margin: 0;
  max-width: 54ch;
}
.coaching-book__form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--bc-navy);
  margin: 10px 0 6px;
}
.coaching-book__form input,
.coaching-book__form select {
  width: 100%;
  min-height: 46px;
}
@media (max-width: 599px) {
  .coaching-book { padding: 20px 16px; margin-left: 0; margin-right: 0; }
  .coaching-book__form .btn.block { width: 100%; }
}
.coachings-page .section-head { text-align: left; }
@media (min-width: 760px) {
  .coachings-page .section-head { text-align: center; }
}

/* Revenir en haut */
.back-top {
  position: fixed;
  left: 18px;
  bottom: 22px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid var(--bc-border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--bc-navy);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.14);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, background 0.2s ease, border-color 0.2s ease;
}
.back-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-top:hover {
  background: var(--bc-navy);
  border-color: var(--bc-navy);
  color: #fff;
}
.back-top__label { letter-spacing: 0.02em; }
@media (max-width: 560px) {
  .back-top { left: 14px; bottom: 16px; padding: 12px; }
  .back-top__label { display: none; }
}

/* Chat flottant */
.chat-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: var(--bc-navy);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(11, 31, 58, 0.28);
  animation: chat-fab-in 0.45s ease-out, chat-fab-breathe 2.8s ease-in-out 0.5s infinite;
}

@keyframes chat-fab-in {
  from { opacity: 0; transform: translateY(12px) scale(0.92); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes chat-fab-breathe {
  0%, 100% { box-shadow: 0 12px 28px rgba(11, 31, 58, 0.28); }
  50% { box-shadow: 0 14px 34px rgba(11, 31, 58, 0.38), 0 0 0 6px rgba(201, 162, 39, 0.18); }
}

.chat-fab--chloe {
  bottom: 88px;
  background: #1a3a5c;
}

.chat-fab-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.chat-fab-photo,
.chat-avatar-photo {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 28%;
}

.chat-fab-photo {
  border: 2px solid var(--bc-gold);
}

.chat-fab-pulse {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bc-navy);
  border-radius: 50%;
  background: #3ddc97;
  animation: chat-online-pulse 1.6s ease-in-out infinite;
}

.chat-compose-col {
  flex-direction: column;
  align-items: stretch;
}

.chat-compose-col textarea {
  width: 100%;
  resize: vertical;
  min-height: 72px;
  margin: 0;
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--bc-border);
  border-radius: 10px;
}

.chat-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  top: auto;
  z-index: 70;
  width: min(400px, calc(100vw - 24px));
  height: min(620px, calc(100dvh - 100px));
  max-height: calc(100dvh - 96px);
}

.chat-widget-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--bc-border);
  box-shadow: 0 20px 50px rgba(11, 31, 58, 0.22);
}

.chat-widget-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #0B1F3A, #1a3a66);
  color: #fff;
}

.chat-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bc-gold);
  color: #0B1F3A;
  display: grid;
  place-items: center;
  font-weight: 800;
  flex-shrink: 0;
  z-index: 1;
  overflow: visible;
}

.chat-avatar-photo {
  position: relative;
  z-index: 2;
  animation: chat-avatar-bob 2.4s ease-in-out infinite;
  border: 2px solid var(--bc-gold);
}

.chat-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(201, 162, 39, 0.55);
  animation: chat-avatar-ring 2s ease-out infinite;
  pointer-events: none;
}

.chat-avatar-ring::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 39, 0.3);
  animation: chat-avatar-ring 2s ease-out 0.6s infinite;
}

@keyframes chat-avatar-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1px); }
}

@keyframes chat-avatar-ring {
  0% { transform: scale(0.92); opacity: 0.9; }
  100% { transform: scale(1.25); opacity: 0; }
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.8;
  font-weight: 400;
}

.chat-online-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #3ddc97;
  flex-shrink: 0;
  animation: chat-online-pulse 1.6s ease-in-out infinite;
}

@keyframes chat-online-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(61, 220, 151, 0.45); opacity: 1; }
  50% { box-shadow: 0 0 0 5px rgba(61, 220, 151, 0); opacity: 0.85; }
}

.chat-close {
  margin-left: auto;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.chat-messages {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background: #f4f6fa;
}

.chat-thread {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-row { display: flex; }
.chat-row.bot { justify-content: flex-start; }
.chat-row.user { justify-content: flex-end; }

.chat-bubble {
  max-width: 88%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.45;
}

.chat-row.bot .chat-bubble {
  background: #fff;
  color: #1a1a2e;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.chat-row.user .chat-bubble {
  background: var(--bc-navy);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-row.typing .chat-bubble {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 12px 16px;
  min-height: 20px;
}

.chat-typing-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a94a6;
  animation: chat-typing-bounce 1.2s ease-in-out infinite;
}

.chat-typing-dot:nth-child(2) { animation-delay: 0.15s; }
.chat-typing-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes chat-typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.chat-bubble-enter {
  animation: chat-bubble-in 0.28s ease-out;
}

@keyframes chat-bubble-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.chat-compose {
  display: flex;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--bc-border);
}

.chat-compose input {
  flex: 1;
  margin: 0;
}

.chat-quick {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--bc-border);
  max-height: 220px;
  overflow-y: auto;
}

.chat-chip {
  text-align: left;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--bc-border);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  color: var(--bc-navy);
}

.chat-chip:hover { border-color: var(--bc-navy); }
.chat-chip.danger { border-color: #c62828; color: #c62828; }

.chat-form input.field-error,
.chat-form select.field-error,
.chat-form input.field-error:-webkit-autofill,
.manage-form input.field-error,
.manage-form select.field-error,
.form-grid input.field-error,
.form-grid select.field-error {
  border-color: #d33 !important;
  background: #fff5f5 !important;
  box-shadow: 0 0 0 2px rgba(221, 51, 51, 0.15), 0 0 0 30px #fff5f5 inset !important;
  -webkit-text-fill-color: inherit;
  animation: field-error-shake 0.35s ease;
}

@keyframes field-error-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

.cancel-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(32, 37, 75, 0.25);
  border-top-color: var(--bc-navy, #20254b);
  border-radius: 50%;
  vertical-align: -2px;
  margin-right: 6px;
  animation: cancel-spin 0.8s linear infinite;
}

@keyframes cancel-spin {
  to { transform: rotate(360deg); }
}

.change-congrats {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(165deg, rgba(12, 24, 41, 0.88), rgba(8, 8, 8, 0.9));
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}
.change-congrats.is-open {
  opacity: 1;
  pointer-events: auto;
}
.change-congrats__panel {
  position: relative;
  width: min(100%, 420px);
  padding: 36px 28px 28px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.change-congrats.is-open .change-congrats__panel {
  transform: none;
}
.change-congrats__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.change-congrats__kicker {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bc-gold, #c8902f);
}
.change-congrats__title {
  margin: 0 0 10px;
  font-family: var(--font-display, 'Barlow Condensed', sans-serif);
  font-size: clamp(1.8rem, 5vw, 2.2rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bc-navy, #0b1f3a);
}
.change-congrats__lead {
  margin: 0 auto 22px;
  max-width: 32ch;
  font-size: 0.95rem;
  line-height: 1.45;
  color: #4b5563;
}
.change-congrats__cta {
  min-width: 180px;
}
.change-congrats__burst {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff 0 28%, transparent 29%),
    conic-gradient(from 20deg, #e8001c, #c8902f, #e8001c);
  box-shadow: 0 0 0 8px rgba(232, 0, 28, 0.08);
}
.change-congrats-lock { overflow: hidden; }
.change-pay-panel {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(32, 37, 75, 0.08);
}
.change-pay-panel .billing-choice-row {
  margin-top: 4px;
}

.chat-form {
  padding: 12px;
  background: #fff;
  border-top: 1px solid var(--bc-border);
  max-height: 280px;
  overflow-y: auto;
}

.chat-form-hint {
  margin: 0;
  padding: 12px 14px 0;
  background: #fff;
  color: var(--bc-navy);
  font-size: 12.5px;
  line-height: 1.45;
}
.chat-form-hint strong,
.chat-bubble strong {
  font-weight: 700;
  color: var(--bc-navy);
}
.form-hint--warn {
  color: #b42318;
  font-weight: 600;
}
.portet-pay-notice {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(232, 0, 28, 0.08);
  border: 1px solid rgba(232, 0, 28, 0.28);
  color: #8a1018;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}
.portet-pay-notice strong { color: #b42318; }
.rate-limit-note {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--bc-navy);
  font-weight: 600;
}

.stepper-step[hidden] { display: none !important; }

/* ── Page 404 ── */
.page-404 {
  background: #0d0d0d;
  color: #fff;
}
.page-404__main {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: clamp(110px, 16vh, 160px) 20px clamp(48px, 8vw, 96px);
}
.page-404__bg {
  position: absolute;
  inset: 0;
}
.page-404__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.12) brightness(0.38);
  transform: scale(1.06);
}
.page-404__veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 42%, transparent 0%, rgba(8, 8, 8, 0.55) 68%, rgba(8, 8, 8, 0.92) 100%),
    linear-gradient(180deg, rgba(8, 8, 8, 0.35), rgba(8, 8, 8, 0.82));
}
.page-404__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}
.page-404__kicker {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bc-gold);
  text-shadow: 0 0 12px rgba(200, 144, 47, 0.35);
  margin-bottom: 8px;
}
.page-404__code {
  font-family: var(--font-display);
  font-size: clamp(6.5rem, 22vw, 11rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: 0.04em;
  color: #fff;
  text-shadow: 0 0 40px rgba(232, 0, 28, 0.28);
  margin: 0 0 8px;
}
.page-404__inner h1 {
  font-size: clamp(1.8rem, 4.2vw, 3rem);
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 16px;
}
.page-404__inner h1 span {
  color: var(--bc-gold);
}
.page-404__lead {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 34em;
  margin: 0 auto 28px;
}
.page-404__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 28px;
}
.page-404__btn-gold {
  background: var(--bc-gold);
  color: #111;
  border-color: var(--bc-gold);
}
.page-404__btn-gold:hover {
  filter: brightness(1.08);
}
.page-404__btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.page-404__btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.page-404__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.page-404__links a {
  color: rgba(255, 255, 255, 0.62);
  border-bottom: 1px solid transparent;
}
.page-404__links a:hover {
  color: var(--bc-gold);
  border-bottom-color: var(--bc-gold);
}
.page-404 .site-footer {
  background: #080808;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 640px) {
  .chat-widget {
    right: 0;
    left: 0;
    bottom: 0;
    top: auto;
    width: 100vw;
    /* Laisse le header sticky visible — ne pas passer en plein écran sous la topbar */
    height: calc(100dvh - 64px);
    max-height: calc(100dvh - 64px);
    border-radius: 16px 16px 0 0;
  }
  .chat-widget-panel {
    border-radius: 16px 16px 0 0;
  }
}
