/* Layout: dark box-floor page, stencil headlines like the logo, one whiteboard module as the signature moment */
:root {
  color-scheme: dark;
  --ink: #030203;          /* floor black, from the brand */
  --panel: #0e0b10;        /* rubber-mat panel, a hair warmer */
  --panel-2: #17121a;
  --line: #2a2230;
  --chalk: #f0f0f0;        /* text */
  --chalk-dim: #b4adb8;
  --pink: #da386f;         /* CTA, level Performance */
  --blue: #69abf1;         /* level Santé */
  --purple: #ba4e9c;       /* level Sport */
  --font-display: "Big Shoulders Stencil Display", "Impact", "Arial Narrow", sans-serif;
  --font-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--ink); color: var(--chalk);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--ink); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
section { padding-block: clamp(64px, 9vw, 112px); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: 0.95; letter-spacing: 0.01em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(40px, 6.2vw, 72px); }
h3 { font-size: clamp(26px, 3vw, 32px); font-weight: 800; }
p { margin: 0; }
.eyebrow { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--chalk-dim); }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--chalk-dim); max-width: 62ch; }
.stack { display: flex; flex-direction: column; gap: 20px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 17px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn-primary { background: var(--pink); color: #000; }
.btn-primary:hover { background: #e8578a; transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--chalk); }
.btn-ghost:hover { border-color: var(--chalk-dim); }
.btn svg { width: 18px; height: 18px; }
.reassure { font-size: 14px; color: var(--chalk-dim); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.reassure span::before { content: "✓"; color: var(--blue); margin-right: 6px; font-weight: 700; }

/* (draft ribbon removed) */

/* header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(3,2,3,.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 52px; width: auto; }
.brand span { font-family: var(--font-display); font-weight: 900; font-size: 22px; line-height: .9; text-transform: uppercase; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: var(--chalk-dim); }
.nav a:hover { color: var(--chalk); }
.site-head .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
@media (max-width: 1100px) { .nav { display: none; } .site-head .btn-primary { margin-left: auto; } .btn-member { display: none !important; } }
.wordmark { font-family: var(--font-display); font-weight: 900; font-size: 34px; line-height: 1; text-transform: uppercase; letter-spacing: .04em; color: var(--chalk); }
.wordmark-lg { font-size: 56px; }
.site-head .btn-member { min-height: 44px; padding: 0 16px; }

/* hero */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(56px, 9vw, 132px); line-height: .86; }
.hero h1 em { font-style: normal; display: block; background: linear-gradient(90deg, var(--pink), var(--purple) 55%, var(--blue)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: var(--chalk); opacity: .9; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-photo { position: relative; border-radius: 6px; overflow: hidden; aspect-ratio: 4 / 5; max-width: 100%; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; background: rgba(3,2,3,.82); padding: 10px 12px; border-left: 3px solid var(--pink); }
.proof { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.proof div { padding: 22px 18px 0 0; }
.proof b { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 4.6vw, 52px); line-height: 1; }
.proof span { font-size: 14px; color: var(--chalk-dim); }
@media (max-width: 480px) { .hero h1 { overflow-wrap: anywhere; } }
@media (max-width: 820px) { .hero-grid { grid-template-columns: 1fr; } .hero-photo { aspect-ratio: 4 / 3; } .proof { grid-template-columns: repeat(2, 1fr); } }

/* problem */
.problem { background: var(--panel); }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.quotes blockquote { margin: 0; padding: 26px 24px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; font-size: 19px; font-weight: 500; line-height: 1.45; }
.answer { margin-top: 36px; font-size: clamp(19px, 2.2vw, 24px); font-weight: 600; max-width: 52ch; }
.answer mark { background: none; color: var(--blue); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* levels: the whiteboard */
.levels-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.board { background: #f4f3ef; color: #121014; border-radius: 6px; padding: clamp(20px, 3vw, 32px); box-shadow: 0 0 0 2px var(--pink); position: relative; min-width: 0; }
.board-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; border-bottom: 2px solid #121014; padding-bottom: 12px; }
.board-head h3 { font-size: clamp(30px, 4vw, 42px); }
.board-head span { font-family: var(--font-mono); font-size: 13px; font-weight: 600; }
.toggle { display: flex; gap: 6px; margin: 18px 0 8px; flex-wrap: wrap; }
.toggle button { font: 700 15px var(--font-body); border: 2px solid #121014; background: transparent; color: #121014; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.toggle button[aria-pressed="true"][data-level="sante"] { background: var(--blue); }
.toggle button[aria-pressed="true"][data-level="sport"] { background: var(--purple); color: #fff; }
.toggle button[aria-pressed="true"][data-level="perf"] { background: var(--pink); }
.wod { list-style: none; margin: 0; padding: 0; }
.wod li { display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px dashed #b9b4ae; }
.wod li:last-child { border-bottom: 0; }
.reps { font-family: var(--font-mono); font-weight: 600; font-size: 22px; }
.move { font-weight: 700; font-size: 18px; }
.version { display: block; font-size: 16px; color: #3a3540; min-height: 1.5em; }
.version::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; background: var(--dot, var(--blue)); vertical-align: 0; }
.board-foot { margin-top: 10px; font-size: 14px; color: #4a4450; }
.level-legend { display: grid; gap: 14px; margin-top: 8px; }
.level-legend div { display: grid; grid-template-columns: 14px 1fr; gap: 12px; align-items: start; }
.level-legend i { width: 14px; height: 14px; border-radius: 50%; margin-top: 6px; }
.level-legend b { font-weight: 700; }
@media (max-width: 900px) { .levels-grid { grid-template-columns: 1fr; } }

/* guide + coaches */
.guide { background: var(--panel); }
.guide-top { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: end; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { padding-left: 28px; position: relative; font-weight: 600; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 14px; border: 3px solid var(--pink); border-radius: 50%; }
.coaches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.coach { display: flex; flex-direction: column; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.coach img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; }
.coach div { padding: 18px 18px 22px; display: flex; flex-direction: column; gap: 6px; }
.coach h3 { font-size: 30px; }
.coach .role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.coach p { font-size: 15px; color: var(--chalk-dim); line-height: 1.5; }
@media (max-width: 960px) { .coaches { grid-template-columns: repeat(2, 1fr); } .guide-top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .checks { grid-template-columns: 1fr; } }

/* plan */
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.steps li { counter-increment: s; padding: 28px 24px; border-top: 4px solid var(--pink); background: var(--panel); display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(s); font-family: var(--font-display); font-weight: 900; font-size: 56px; line-height: .9; color: var(--pink); }
.steps li:nth-child(2) { border-color: var(--purple); } .steps li:nth-child(2)::before { color: var(--purple); }
.steps li:nth-child(3) { border-color: var(--blue); } .steps li:nth-child(3)::before { color: var(--blue); }
.steps b { font-size: 19px; }
.steps p { color: var(--chalk-dim); font-size: 16px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* tracks */
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.track { padding: 28px 24px 30px; border-radius: 6px; border: 1px solid var(--line); background: var(--panel); display: flex; flex-direction: column; gap: 12px; }
.track h3 { font-size: 40px; color: var(--c); }
.track p { color: var(--chalk-dim); }
@media (max-width: 820px) { .tracks { grid-template-columns: 1fr; } }

/* success */
.success { background: var(--panel); }
.wins { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.wins li { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-weight: 600; font-size: 15px; }
.testis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 36px; }
.testi { margin: 0; padding: 24px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; display: flex; flex-direction: column; gap: 14px; }
.testi .tag { align-self: flex-start; font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .1em; background: #3a2a14; color: #f2c46d; padding: 4px 8px; border-radius: 3px; }
.testi blockquote { margin: 0; font-size: 17px; }
.testi figcaption { font-size: 14px; color: var(--chalk-dim); margin-top: auto; display: flex; align-items: center; gap: 12px; }
.testi .avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--line); }
.testi .avatar-ini { display: grid; place-items: center; background: var(--panel); font-family: var(--font-mono); font-weight: 600; color: var(--chalk); }
.testi .who { display: flex; flex-direction: column; line-height: 1.3; }
.testi .who b { color: var(--chalk); font-size: 15px; }
@media (max-width: 900px) { .testis { grid-template-columns: 1fr; } }

/* method section */
.cf-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); }
.pillars { display: grid; gap: 12px; margin-top: 8px; }
.pillars div { padding: 18px 20px; background: var(--panel); border-left: 4px solid var(--purple); }
.pillars b { display: block; font-size: 18px; }
.pillars span { color: var(--chalk-dim); font-size: 15px; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 8px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.flow div { padding: 18px 16px; border-right: 1px solid var(--line); }
.flow div:last-child { border-right: 0; }
.flow b { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: var(--blue); display: block; margin-bottom: 4px; }
.flow span { font-size: 15px; color: var(--chalk-dim); }
.history { font-size: 15px; color: var(--chalk-dim); border-top: 1px solid var(--line); padding-top: 18px; }
@media (max-width: 900px) { .cf-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .flow { grid-template-columns: 1fr; } .flow div { border-right: 0; border-bottom: 1px solid var(--line); } .flow div:last-child { border-bottom: 0; } }

/* schedule */
.sched-wrap { overflow-x: auto; margin-top: 36px; border: 1px solid var(--line); border-radius: 6px; }
.sched { display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); min-width: 840px; }
.day { border-right: 1px solid var(--line); }
.day:last-child { border-right: 0; }
.day h3 { font-size: 22px; padding: 14px 14px 12px; border-bottom: 1px solid var(--line); background: var(--panel); }
.day ul { list-style: none; margin: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.slot { padding: 10px 12px; border-radius: 4px; background: var(--panel-2); border-left: 4px solid var(--k, var(--chalk-dim)); }
.slot time { font-family: var(--font-mono); font-weight: 600; font-size: 15px; display: block; font-variant-numeric: tabular-nums; }
.slot span { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--chalk-dim); }
.k-wod { --k: var(--chalk); } .k-cardio { --k: var(--blue); } .k-halt { --k: #8f8796; } .k-vyrox { --k: var(--purple); } .k-team { --k: var(--pink); }
.sched-note { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--chalk-dim); }
.legend-dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; background: var(--k); margin-right: 6px; }
.types { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.types div { padding: 18px 20px; background: var(--panel); border-radius: 6px; border-top: 3px solid var(--k); }
.types b { display: block; }
.types span { font-size: 15px; color: var(--chalk-dim); }
@media (max-width: 1100px) { .types { grid-template-columns: repeat(2, minmax(0, 1fr)); } .types div:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 560px) { .types { grid-template-columns: 1fr; } }

/* pricing */
.pricing { background: var(--panel); }
.price-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.pgroup { background: var(--panel-2); border: 1px solid var(--line); border-radius: 6px; padding: 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pgroup h3 { font-size: 26px; }
.pgroup .perks { font-size: 14px; color: var(--chalk-dim); }
.plan { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); align-items: baseline; }
.plan b { font-size: 18px; }
.plan .amt { font-family: var(--font-mono); font-weight: 600; font-size: 18px; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan small { grid-column: 1 / -1; color: var(--chalk-dim); font-size: 14px; }
.plan.featured { background: rgba(218,56,111,.1); border: 1px solid var(--pink); border-radius: 6px; padding: 16px; margin-bottom: 4px; }
.plan.featured-blue { background: rgba(105,171,241,.1); border-color: var(--blue); }
.plan.featured-blue .badge { background: var(--blue); }
.plan .badge { white-space: nowrap; display: inline-block; }
@media (max-width: 560px) { .plan b { min-width: 0; } .plan b .badge { display: table; white-space: normal; margin: 6px 0 0; line-height: 1.5; } }
.badge { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; background: var(--pink); color: #000; padding: 3px 8px; border-radius: 3px; margin-left: 8px; vertical-align: 2px; font-weight: 600; }
.price-side { display: flex; flex-direction: column; gap: 16px; }
.price-extra { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.price-extra div { padding: 18px 20px; border: 1px solid var(--line); border-radius: 6px; font-size: 15px; color: var(--chalk-dim); }
.price-extra b { color: var(--chalk); display: block; font-size: 16px; margin-bottom: 4px; }
@media (max-width: 900px) { .price-groups, .price-extra { grid-template-columns: 1fr; } }

/* faq */
.faq-list { margin-top: 32px; display: grid; gap: 10px; max-width: 820px; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; }
.faq-list summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; font-size: 18px; list-style: none; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 22px; color: var(--pink); }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 20px 20px; color: var(--chalk-dim); max-width: 65ch; }

/* essai */
.essai { background: var(--ink); }
.essai-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.book { background: var(--panel); border: 2px solid var(--pink); border-radius: 8px; padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; gap: 18px; }
.book h3 { font-size: 34px; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.timeline li { display: grid; grid-template-columns: 92px 1fr; gap: 12px; }
.timeline b { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); padding-top: 3px; }
.timeline span { color: var(--chalk-dim); }
.tip { font-size: 14px; color: var(--chalk-dim); border-top: 1px solid var(--line); padding-top: 14px; }
.info-list { display: grid; gap: 18px; }
.info-list div { display: grid; gap: 4px; }
.info-list b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
@media (max-width: 900px) { .essai-grid { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .timeline li { grid-template-columns: 1fr; gap: 2px; } }

/* final cta */
.final { text-align: left; }
.final h2 { font-size: clamp(48px, 9vw, 112px); }
.final .lead { margin-top: 20px; }
.final .hero-ctas { margin-top: 28px; }

/* footer */
footer { border-top: 1px solid var(--line); padding-block: 48px calc(48px + 76px); font-size: 15px; color: var(--chalk-dim); }
footer .wrap { display: grid; grid-template-columns: auto 1fr 1fr 1fr; gap: 32px; }
footer img { height: 96px; width: auto; }
footer b { color: var(--chalk); display: block; margin-bottom: 6px; }
footer a { color: var(--chalk-dim); }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
@media (max-width: 820px) { footer .wrap { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1101px) { footer { padding-bottom: 48px; } }

/* mobile sticky CTA */
.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: rgba(3,2,3,.94); border-top: 1px solid var(--line); display: none; }
.mobile-cta { grid-template-columns: auto 1fr; gap: 10px; }
.mobile-cta .btn { width: 100%; padding: 0 14px; font-size: 16px; white-space: nowrap; }
.menu-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--line); background: var(--panel-2); color: var(--chalk); font: 700 16px var(--font-body); cursor: pointer; }
.menu-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.menu-btn path { transition: transform .2s ease, opacity .2s ease; transform-origin: 10px 10px; }
.menu-btn[aria-expanded="true"] { border-color: var(--chalk-dim); }
.menu-btn[aria-expanded="true"] .l1 { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .l2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .l3 { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 1100px) { .mobile-cta { display: grid; } }
@media (max-width: 360px) { .menu-btn span { display: none; } }


/* today's WOD popup (styles also target the live BTWB widget classes) */
.wod-dialog { width: min(720px, calc(100% - 32px)); max-height: calc(100% - 48px); padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--chalk); overflow: auto; overscroll-behavior: contain; }
.wod-dialog::backdrop { background: rgba(0,0,0,.72); }
.wod-dialog-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 22px 24px 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.wod-dialog-head h2 { font-size: clamp(40px, 7vw, 60px); margin-top: 6px; }
.wod-close { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--line); background: var(--panel-2); color: var(--chalk); cursor: pointer; display: grid; place-items: center; }
.wod-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.btwb_webwidget { padding: 8px 24px 0; }
.btwb-wod-list { list-style: none; margin: 0; padding: 0; counter-reset: part; }
.btwb-wod-list > li { display: grid; grid-template-columns: 96px 1fr; gap: 6px 18px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.btwb-wod-list > li:last-child { border-bottom: 0; }
.btwb-wod-list h5 { margin: 3px 0 0; font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.btwb-wod-list small, .btwb-wod-list hr, .btwb-wod-list .btwb-leaderboard, .btwb-wod-list li > p:empty, .btwb-wod-list li > p > i:only-child { display: none; }
.btwb-wod-list h6 { margin: 0 0 6px; font-family: var(--font-body); font-size: 18px; font-weight: 700; line-height: 1.35; text-transform: none; }
.btwb-workout-description { margin: 0; white-space: pre-line; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; color: var(--chalk-dim); background: var(--panel-2); border-left: 3px solid var(--blue); padding: 10px 12px; border-radius: 0 4px 4px 0; }
.wod-foot { margin: 8px 24px 24px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; color: var(--chalk-dim); }
.wod-foot p { max-width: 38ch; }
.faq-list details p a { color: var(--blue); text-underline-offset: 3px; }
html.wod-open { overflow: hidden; }
@media (max-width: 560px) { .btwb-wod-list > li { grid-template-columns: 1fr; } .wod-dialog { width: 100%; max-width: 100%; max-height: 100%; height: 100%; border-radius: 0; margin: 0; } .wod-dialog-head, .btwb_webwidget { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } .wod-dialog-head { padding-top: calc(16px + env(safe-area-inset-top, 0px)); } .wod-foot { margin-left: 16px; margin-right: 16px; margin-bottom: calc(24px + env(safe-area-inset-bottom, 0px)); } .wod-fallback { margin-inline: 16px; } }
/* mobile menu sheet */
.menu-backdrop { position: fixed; inset: 0; z-index: 53; background: rgba(0,0,0,.62); opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s; }
.sheet { position: fixed; left: 0; right: 0; bottom: calc(73px + env(safe-area-inset-bottom, 0px)); z-index: 54; max-height: calc(100% - 73px - env(safe-area-inset-bottom, 0px) - 64px); overflow-y: auto; overscroll-behavior: contain; background: var(--panel); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; padding: 10px max(16px, env(safe-area-inset-right, 0px)) 20px max(16px, env(safe-area-inset-left, 0px)); opacity: 0; visibility: hidden; transform: translateY(24px); transition: transform .24s ease, opacity .2s ease, visibility .24s; }
.menu-backdrop.open, .sheet.open { opacity: 1; visibility: visible; }
.sheet.open { transform: none; }
.sheet-head { display: flex; flex-direction: column-reverse; align-items: center; gap: 10px; padding-bottom: 6px; }
.sheet-head .eyebrow { align-self: flex-start; }
.sheet-grip { width: 40px; height: 4px; border-radius: 4px; background: var(--line); }
.sheet-links { list-style: none; margin: 0; padding: 0; }
.sheet-links a { display: flex; align-items: center; justify-content: space-between; min-height: 54px; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; text-transform: uppercase; letter-spacing: .01em; }
.sheet-links a::after { content: "→"; font-family: var(--font-body); font-size: 18px; color: var(--chalk-dim); }
.sheet-links a[aria-current="true"] { color: var(--pink); }
.sheet-links a[aria-current="true"]::after { content: "Tu es ici"; font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }
.sheet-links li:last-child a { color: var(--pink); border-bottom: 0; }
.sheet-info { display: grid; gap: 14px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.sheet-info div { display: grid; gap: 2px; }
.sheet-info b { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.sheet-info .dim { color: var(--chalk-dim); font-size: 14px; }
.nav a[aria-current="true"] { color: var(--chalk); box-shadow: inset 0 -2px 0 var(--pink); }
html.menu-open { overflow: hidden; }
@media (min-width: 1101px) { .sheet, .menu-backdrop { display: none; } }

/* base resets (provided by the artifact viewer in the draft) */
[hidden] { display: none !important; }
:root { padding-top: env(safe-area-inset-top, 0px); }

/* booking calendar */
.calendar { margin-top: 40px; background: var(--panel); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; scroll-margin-top: 96px; }
.calendar:has(.calendly-inline-widget) { background: transparent; border-color: transparent; }
.calendly-inline-widget { max-width: 460px; margin: 0 auto; overflow: hidden; background: var(--ink); transition: height .2s ease; }
.calendar-fallback { padding: 14px 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--chalk-dim); }
.calendar-fallback a, .info-list a { color: var(--blue); }
.wod-fallback { margin: 16px 24px 0; color: var(--chalk-dim); }
@media (max-width: 560px) { .wod-fallback { margin-inline: 16px; } }

/* simple inner pages */
.page { padding-block: clamp(48px, 7vw, 88px); }
.page h1 { font-size: clamp(38px, 8vw, 88px); overflow-wrap: anywhere; hyphens: auto; }
.prose { max-width: 70ch; display: grid; gap: 16px; margin-top: 28px; color: var(--chalk-dim); }
.prose h2 { font-size: clamp(26px, 3.4vw, 34px); color: var(--chalk); margin-top: 18px; }
.prose a { color: var(--blue); }
.prose ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.booked { max-width: 720px; margin: 0 auto; padding: clamp(24px, 4vw, 40px) clamp(16px, 3vw, 24px); display: grid; gap: 14px; color: var(--chalk-dim); scroll-margin-top: 96px; outline: none; }
.booked h3 { font-size: clamp(34px, 5vw, 52px); color: var(--chalk); }
.booked h4 { font-size: 22px; color: var(--chalk); margin: 8px 0 0; }
.booked { border-top: 1px solid var(--line); }
.booked-sms { padding: 12px 14px; border-left: 4px solid var(--blue); background: rgba(105,171,241,.08); color: var(--chalk); font-size: 15px; }
.booked-lead { font-size: 19px; color: var(--chalk); }
.booked ol, .booked ul { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.booked b { color: var(--chalk); }
.booked a { color: var(--blue); }
.merci-lead { font-size: 20px; color: var(--chalk); }
.merci-lead b { color: var(--pink); }
.prose ol.merci-mails { margin: 0; padding-left: 22px; display: grid; gap: 10px; }
.merci-mails b { color: var(--chalk); }
.prose .signature { margin-top: 24px; font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: .02em; text-transform: uppercase; color: var(--pink); }
.todo { background: #3a2a14; color: #f2c46d; padding: 1px 6px; border-radius: 3px; font-family: var(--font-mono); font-size: 13px; }

/* coach credential + movement hint */
.coach .cred { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--chalk-dim); }
.move-hint { display: block; font-weight: 500; font-size: 13px; color: #6a6470; }
@media (max-width: 820px) { footer .wordmark-lg { grid-column: 1 / -1; } }
@media (max-width: 520px) { footer .wrap { grid-template-columns: 1fr; } footer a { overflow-wrap: anywhere; } }
.track { min-width: 0; } .track h3 { font-size: clamp(30px, 9vw, 40px); overflow-wrap: anywhere; }
.palmares { list-style: none; margin: 4px 0 0; padding: 10px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.palmares li { font-size: 13px; line-height: 1.4; color: var(--chalk); padding-left: 18px; position: relative; }
.palmares li::before { content: ""; position: absolute; left: 0; top: .45em; width: 8px; height: 8px; border-radius: 50%; background: var(--pink); }

/* video buttons + popup */
.wod li { grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; }
.play { display: inline-flex; align-items: center; gap: 6px; font: 700 13px var(--font-body); color: #121014; background: transparent; border: 2px solid #121014; border-radius: 999px; padding: 6px 12px; cursor: pointer; white-space: nowrap; }
.play svg { width: 12px; height: 12px; fill: currentColor; }
.play:hover { background: #121014; color: #f4f3ef; }
.play-card { width: 100%; justify-content: flex-start; gap: 16px; padding: 16px 20px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); color: var(--chalk); text-align: left; white-space: normal; }
.play-card:hover { background: var(--panel-2); color: var(--chalk); border-color: var(--pink); }
.play-card svg { width: 44px; height: 44px; flex: none; padding: 13px; border-radius: 50%; background: var(--pink); fill: #000; }
.play-card span { display: grid; gap: 2px; }
.play-card b { font-size: 17px; }
.play-card small { font-weight: 500; font-size: 14px; color: var(--chalk-dim); }
.video-dialog { width: min(1600px, calc(100% - 32px), calc((100vh - 120px) * 16 / 9)); max-width: none; padding: 0; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); color: var(--chalk); }
.video-dialog::backdrop { background: rgba(0,0,0,.8); }
.video-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px 14px 20px; }
.video-head h2 { font-size: clamp(24px, 4vw, 34px); }
.video-frame { aspect-ratio: 16 / 9; max-width: 100%; background: #000; }
.video-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 420px) { .wod li { grid-template-columns: 40px minmax(0, 1fr); } .wod li .play { grid-column: 2; justify-self: start; margin-top: 6px; } }

/* mobile: trial buttons appear once the hero button scrolls away */
@media (max-width: 1100px) {
  .site-head .btn-primary, .mobile-cta .btn-primary { transition: opacity .25s ease, visibility .25s; }
  .hero-cta-visible .site-head .btn-primary, .hero-cta-visible .mobile-cta .btn-primary { opacity: 0; visibility: hidden; pointer-events: none; }
}
