/* =====================================================================
 * Soirée EGYM Wellpass × AthletX Rebel — 8 décembre 2026
 * Charte EGYM Wellpass (kit du 22/09/2026, validée par le marketing).
 * Chaque cours a son ambiance, toujours dans la palette du kit :
 * TOTAL HYROX = Premium Black + Orange 1 · BOOTCAMP = Aqua 1 · REFORMER = Wellbeing White + Aqua 4.
 * ===================================================================== */
:root {
  --aqua: #00A7B5; --aqua1: #125A63; --aqua2: #166E7A; --aqua3: #06909C; --aqua4: #84D0D3;
  --white: #F7F5F2; --black: #2B2B2B; --or1: #FD763C; --or2: #FFB393;
  --bg: var(--white); --surface: #FFFFFF; --ink: var(--black); --ink-2: #55595C; --line: #E2DED7;
  --soft: #E3F2F3; --error: #B3261E; --warn-bg: #FFF4E0; --warn-ink: #6B4500;
  --font: "Helvetica Now Display", "Helvetica Now Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
p, li, dd, address { text-wrap: pretty; }
a { color: var(--aqua2); }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--aqua1); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--aqua3); outline-offset: 3px; }
.todo { background: #FFF1C2; color: #5C4300; border-radius: 4px; padding: 0 5px; font-size: .9em; font-weight: 500; }
.eyebrow { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: var(--aqua2); }

/* ---- Boutons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 30px; border-radius: 999px; border: 0; background: var(--aqua1); color: #fff; font: inherit; font-weight: 500; font-size: 17px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { background: var(--aqua2); }
.btn[disabled] { opacity: .65; cursor: progress; }
.btn--light { background: #fff; color: var(--aqua1); }
.btn--light:hover { background: var(--white); }
.btn--ghost { background: transparent; color: var(--aqua1); border: 1.5px solid var(--aqua1); }
.btn--ghost:hover { background: var(--soft); }
.btn--orange { background: var(--or1); color: var(--black); }
.btn--orange:hover { background: var(--or2); }
.swipe { display: inline-flex; align-items: center; gap: 18px; min-height: 64px; padding: 3px 32px 3px 3px; border-radius: 999px; background: #fff; color: var(--aqua1); font-weight: 600; font-size: 18px; text-decoration: none; }
.swipe .knob { width: 56px; height: 56px; border-radius: 50%; background: var(--aqua2); color: #fff; display: flex; align-items: center; justify-content: center; }
.swipe .knob svg { width: 22px; height: 22px; }

/* ---- Badges de places ---- */
.badge { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--soft); color: var(--aqua1); }
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--few { background: var(--or2); color: var(--black); }
.badge--last { background: var(--or1); color: var(--black); }
.badge--full, .badge--closed { background: #E6E3DE; color: var(--black); }

/* ---- Lockup des deux logos ---- */
.lockup { display: flex; align-items: center; gap: 18px; }
.lockup img { width: 136px; height: auto; }
.lockup .x { font-weight: 300; font-size: 24px; line-height: 1; }

/* =========================== LANDING =========================== */
/* Esprit « page produit » : grande typographie, choix du cours en bulles dès l'ouverture,
   un chapitre plein écran par cours, barre de réservation qui suit le défilement. */
.cover { position: relative; overflow: hidden; background: var(--black); }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Ouverture */
.hero { background: var(--aqua1); color: #fff; position: relative; overflow: hidden; text-align: center; }
.hero .line { position: absolute; left: -10%; bottom: -30px; width: 120%; max-width: none; opacity: .7; pointer-events: none; }
.hero > .wrap { position: relative; z-index: 1; padding-block: 24px 72px; }
.top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; text-align: left; }
.top .date { font-size: 14px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; color: rgba(255,255,255,.85); }
.hero__text { max-width: 980px; margin: 64px auto 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero h1 { font-weight: 300; font-size: clamp(46px, 7.4vw, 108px); line-height: .98; letter-spacing: -.035em; }
.hero h1 b { font-weight: 700; }
.hero .lead { font-size: clamp(18px, 1.6vw, 22px); max-width: 46ch; color: rgba(255,255,255,.9); }
.pick-title { margin-top: 56px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--aqua4); }

/* Les bulles de choix */
.bubbles { list-style: none; margin: 26px auto 0; padding: 0; display: flex; justify-content: center; gap: clamp(20px, 4vw, 56px); }
.bubble { display: flex; flex-direction: column; align-items: center; gap: 14px; width: clamp(180px, 22vw, 290px);
  transition: transform .45s cubic-bezier(.2,.8,.2,1), opacity .35s ease; }
.bubble__more { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; color: #fff; text-decoration: none; border-radius: 24px; }
.bubble__img { position: relative; display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--black);
  box-shadow: 0 0 0 4px rgba(255,255,255,.9), 0 30px 60px -28px rgba(0,0,0,.6); transition: box-shadow .35s ease; }
.bubble__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.bubble__mood { position: absolute; left: 50%; top: 14%; transform: translateX(-50%); background: #fff; color: var(--aqua1); border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.bubble__name { font-size: clamp(20px, 2vw, 26px); font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.bubble__time { font-size: 15px; color: rgba(255,255,255,.85); font-variant-numeric: tabular-nums; margin-top: -6px; }
.bubble__go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px; background: #fff; color: var(--aqua1); font-weight: 600; font-size: 15px; text-decoration: none; }
.bubble__go:hover { background: var(--aqua4); color: var(--black); }
.bubble__go svg { width: 18px; height: 18px; transition: transform .3s ease; }
.bubble .badge { margin-top: -6px; }
.bubble__more:focus-visible { outline: none; }
.bubble__more:focus-visible .bubble__img { box-shadow: 0 0 0 4px #fff, 0 0 0 9px var(--aqua4); }
@media (hover: hover) {
  .bubbles:hover .bubble { opacity: .55; transform: scale(.94); }
  .bubbles .bubble:hover, .bubbles .bubble:focus-within { opacity: 1; transform: scale(1.1); }
  .bubble:hover .bubble__img img { transform: scale(1.08); }
  .bubble:hover .bubble__go svg { transform: translateX(4px); }
  .bubble:hover .bubble__img { box-shadow: 0 0 0 4px #fff, 0 40px 70px -26px rgba(0,0,0,.7); }
}
@media (prefers-reduced-motion: no-preference) {
  .bubble__img { animation: float 6s ease-in-out infinite; }
  .bubbles li:nth-child(2) .bubble__img { animation-delay: -2s; }
  .bubbles li:nth-child(3) .bubble__img { animation-delay: -4s; }
}
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

/* L'essentiel */
.strip { background: var(--surface); border-bottom: 1px solid var(--line); }
.strip ul { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px 40px; padding-block: 22px; justify-content: space-between; font-size: 16px; }
.strip li { display: flex; align-items: center; gap: 10px; }
.strip svg { width: 22px; height: 22px; color: var(--aqua2); flex: none; }

/* Barre de réservation (apparaît après l'ouverture) */
.subnav { position: fixed; left: 0; right: 0; top: 0; z-index: 30; background: rgba(247,245,242,.86); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); transform: translateY(-110%); transition: transform .35s ease; }
.subnav.is-on { transform: none; }
.subnav .wrap { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.subnav__title { font-weight: 700; font-size: 16px; margin-right: auto; white-space: nowrap; }
.subnav__title span { font-weight: 400; color: var(--ink-2); }
.subnav nav { display: flex; gap: 22px; font-size: 14px; }
.subnav nav a { color: var(--ink); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.subnav nav a:hover { color: var(--aqua2); }
.subnav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }

/* Grande phrase d'introduction */
.statement { padding-block: 96px 24px; text-align: center; }
.statement h2 { font-weight: 300; font-size: clamp(40px, 6vw, 88px); line-height: 1.02; letter-spacing: -.03em; color: var(--black); }
.statement h2 span { display: block; }
.statement h2 .s1 { color: var(--or1); font-weight: 700; }
.statement h2 .s2 { color: var(--aqua3); }
.statement h2 .s3 { color: var(--aqua1); font-weight: 700; }
.statement p { font-size: clamp(18px, 1.6vw, 22px); color: var(--ink-2); max-width: 52ch; margin: 28px auto 0; }

/* Un bloc compact par cours : photos d'un côté, l'essentiel de l'autre */
.chapter { padding-block: 72px; scroll-margin-top: 60px; }
.chapter__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.chapter--rev .chapter__media { order: 2; }
.chapter__media { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 180px 180px; gap: 10px; }
.chapter__media .cover { border-radius: 22px; }
.chapter__media .m1 { grid-row: span 2; }
.chapter__text { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.chapter .mood { font-size: 13px; letter-spacing: .24em; text-transform: uppercase; font-weight: 700; }
.chapter__title { font-size: clamp(40px, 4.8vw, 68px); font-weight: 700; letter-spacing: -.01em; line-height: .95; }
.chapter__punch { font-size: 19px; font-weight: 300; line-height: 1.4; max-width: 34ch; }
.chapter__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; gap: 32px; }
.chapter__facts b { display: block; font-size: 40px; font-weight: 300; line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.chapter__facts span { display: block; margin-top: 6px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.chapter__bring { display: flex; gap: 10px; align-items: center; font-size: 16px; font-weight: 500; }
.chapter__bring svg { width: 22px; height: 22px; flex: none; }
.chapter__text .btn { margin-top: 4px; }
.c-hyrox { background: var(--black); color: #fff; }
.c-hyrox .mood, .c-hyrox .chapter__bring svg, .c-hyrox .chapter__facts b { color: var(--or1); }
.c-hyrox .chapter__punch, .c-hyrox .chapter__facts span { color: rgba(255,255,255,.75); }
.c-ref { background: radial-gradient(circle at 30% 40%, rgba(132,208,211,.45) 0%, rgba(132,208,211,.14) 40%, var(--white) 75%); }
.c-ref .mood, .c-ref .chapter__bring svg { color: var(--aqua2); }
.c-ref .chapter__title { font-weight: 300; letter-spacing: .04em; color: var(--aqua1); }
.c-ref .chapter__punch, .c-ref .chapter__facts span { color: var(--ink-2); }
.c-ref .chapter__facts b { color: var(--aqua1); }
.c-ref .chapter__media .cover { border-radius: 36px; }
.c-boot { background: var(--aqua1); color: #fff; }
.c-boot .mood, .c-boot .chapter__bring svg { color: var(--aqua4); }
.c-boot .chapter__punch, .c-boot .chapter__facts span { color: rgba(255,255,255,.8); }

.section { padding-block: 96px; }
.head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; margin-bottom: 44px; }
.head h2 { font-weight: 300; font-size: clamp(32px, 4.2vw, 56px); line-height: 1.05; letter-spacing: -.015em; color: var(--aqua1); }
.head p { font-size: 19px; color: var(--ink-2); }

/* AthletX */
.ax-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; align-items: center; }
.ax-logo { width: 200px; margin-bottom: 28px; }
.ax-grid h2 { font-weight: 300; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -.01em; color: var(--aqua1); }
.ax-grid p { color: var(--ink-2); margin-top: 18px; max-width: 46ch; }
.ax-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px; gap: 10px; }
.ax-photos .cover { border-radius: 18px; }
.ax-photos .a1 { grid-column: span 2; }

/* Programme */
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; position: relative; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--aqua4), var(--aqua), var(--aqua1)); }
.tl li { position: relative; padding-top: 40px; display: flex; flex-direction: column; gap: 6px; }
.tl li::before { content: ""; position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--white); border: 5px solid var(--aqua2); }
.tl time { font-size: 34px; font-weight: 300; line-height: 1; color: var(--aqua1); font-variant-numeric: tabular-nums; }
.tl b { font-size: 18px; }
/* La fin de soirée se place au bout de la ligne */
.tl li:last-child { align-items: flex-end; text-align: right; }
.tl li:last-child::before { left: auto; right: 0; }
.tl li:last-child p { max-width: 26ch; }
.tl p { font-size: 15px; color: var(--ink-2); }

/* Pourquoi + surprises */
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.box { border-radius: 28px; padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.box h2 { font-weight: 300; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; }
.box ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.box li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.box .ic { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.box .ic svg { width: 22px; height: 22px; }
.box li b { display: block; }
.box li span { font-size: 15px; }
.box--why { background: var(--surface); }
.box--why h2 { color: var(--aqua1); }
.box--why .ic { background: var(--soft); color: var(--aqua1); }
.box--why li span { color: var(--ink-2); }
.box--fun { background: var(--aqua1); color: #fff; }
.box--fun .eyebrow { color: var(--aqua4); }
.box--fun .ic { background: #fff; color: var(--aqua1); }
.box--fun li span { color: rgba(255,255,255,.88); }

/* Infos */
.info { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--surface); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card h3 { font-size: 19px; font-weight: 700; }
.card p, .card li { color: var(--ink-2); font-size: 16px; }
.card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.maps { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; min-height: 44px; }
.maps svg { width: 20px; height: 20px; }
.lb { display: inline-flex; align-items: center; justify-content: center; min-width: 26px; height: 26px; border-radius: 50%; font-size: 13px; font-weight: 700; color: #fff; background: var(--black); margin-right: 6px; }

/* Appel final */
.final { position: relative; color: #fff; overflow: hidden; background: var(--aqua1); }
.final > .wrap { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; padding-block: 96px; }
.final h2 { font-weight: 300; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.02em; }
.final p { color: rgba(255,255,255,.92); max-width: 50ch; }
.final .eyebrow { color: var(--aqua4); }
.final .line { position: absolute; right: -100px; top: -20px; width: min(760px, 100vw); opacity: .55; pointer-events: none; }
.notice { margin-top: 8px; padding: 12px 18px; border-radius: 14px; background: rgba(255,255,255,.14); font-weight: 600; }

/* Apparition douce au défilement (désactivée si l'utilisateur réduit les animations) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .cover img { transition: transform .8s ease; }
  .cover:hover img { transform: scale(1.04); }
}

/* =========================== PAGES INTÉRIEURES =========================== */
.pagehead { background: var(--aqua1); color: #fff; position: relative; overflow: hidden; }
.pagehead > .wrap { position: relative; z-index: 1; padding-block: 22px 40px; display: flex; flex-direction: column; gap: 28px; }
.pagehead .line { position: absolute; right: -120px; bottom: -60px; width: min(620px, 90vw); opacity: .6; pointer-events: none; }
.pagehead h1 { font-weight: 300; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.05; letter-spacing: -.02em; }
.pagehead p { color: rgba(255,255,255,.9); max-width: 60ch; }
.back { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 500; min-height: 44px; }
.back svg { width: 20px; height: 20px; }
.page { padding-block: 48px 72px; }
.layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 32px; align-items: start; }
.panel { background: var(--surface); border-radius: 24px; padding: 36px; min-width: 0; }
.panel:focus { outline: none; }
.panel h2 { font-weight: 300; font-size: clamp(28px, 3vw, 38px); line-height: 1.1; color: var(--aqua1); margin-bottom: 10px; }
.lead { color: var(--ink-2); font-size: 17px; overflow-wrap: anywhere; }
.summary span { overflow-wrap: anywhere; }

/* Rappel de la soirée */
.recap { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 16px; }
.recap__card { background: var(--surface); border-radius: 24px; overflow: hidden; }
.recap__photo { aspect-ratio: 16 / 10; }
.recap__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.recap__date { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--aqua2); font-weight: 600; }
.recap__title { font-size: 22px; font-weight: 700; line-height: 1.2; }
.program { list-style: none; margin: 0; padding: 0; }
.program li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 8px; padding-block: 8px; border-top: 1px solid var(--line); font-size: 15px; }
.program time { font-weight: 700; color: var(--aqua1); font-variant-numeric: tabular-nums; }
.venue { font-style: normal; font-size: 15px; color: var(--ink-2); display: flex; gap: 10px; }
.venue svg { width: 20px; height: 20px; color: var(--aqua2); flex: none; margin-top: 2px; }
.venue b { color: var(--ink); display: block; }

/* Formulaire */
.group { border: 0; padding: 0; margin: 0 0 30px; min-width: 0; }
.group__title { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--aqua2); margin-bottom: 14px; padding: 0; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.field { margin-bottom: 16px; border: 0; padding: 0; min-width: 0; }
.label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; padding: 0; }
.req { color: var(--error); margin-left: 3px; }
.opt { color: var(--ink-2); font-weight: 400; margin-left: 6px; font-size: 14px; }
.input { width: 100%; min-height: 50px; border: 1.5px solid #C9C4BB; border-radius: 12px; background: #fff; padding: 12px 14px; font: inherit; font-size: 16px; color: var(--ink); }
.input:focus { border-color: var(--aqua2); outline: 3px solid rgba(6,144,156,.25); outline-offset: 0; }
.input[aria-invalid="true"] { border-color: var(--error); }
select.input { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23125A63' stroke-width='2.4'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center/18px no-repeat; padding-right: 44px; }
textarea.input { min-height: 96px; resize: vertical; }
.hint { color: var(--ink-2); font-size: 14px; }
.error { display: none; color: var(--error); font-size: 14px; font-weight: 500; margin-top: 6px; }
.error.is-visible { display: block; }
.warn { display: none; color: var(--warn-ink); background: var(--warn-bg); border-radius: 8px; padding: 6px 10px; font-size: 14px; margin-top: 6px; }
.warn.is-visible { display: block; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px; border: 1.5px solid #C9C4BB; border-radius: 999px; cursor: pointer; font-size: 15px; font-weight: 500; }
.choice input { width: 18px; height: 18px; accent-color: var(--aqua1); margin: 0; }
.choice:has(input:checked) { border-color: var(--aqua1); background: var(--soft); }
.consent { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; font-size: 15px; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--aqua1); }
.photo-box { background: var(--white); border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.photo-box p { font-size: 15px; color: var(--ink-2); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 18px; border-radius: 14px; font-size: 15px; margin-bottom: 18px; }
.alert--error { background: #FBE9E7; color: var(--error); font-weight: 500; }
.alert--info { background: var(--soft); color: var(--aqua1); }
.submit { width: 100%; margin-top: 6px; }
.legal { font-size: 13px; color: var(--ink-2); margin-top: 16px; }

/* Choix du cours : trois bulles */
.course-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.course-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.course-pick label { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 16px 10px 14px; border: 2px solid transparent; border-radius: 22px; cursor: pointer; background: var(--white); height: 100%; transition: border-color .2s, background .2s, transform .3s; }
.course-pick .ph { position: relative; width: min(132px, 100%); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--black); box-shadow: 0 0 0 3px #fff, 0 14px 30px -18px rgba(0,0,0,.5); transition: transform .35s cubic-bezier(.2,.8,.2,1); }
.course-pick .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.course-pick .name { font-weight: 700; font-size: 16px; letter-spacing: .02em; }
.course-pick .time { font-size: 14px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.course-pick .check { position: absolute; right: 2px; top: 2px; width: 32px; height: 32px; border-radius: 50%; background: #fff; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; color: transparent; z-index: 1; }
.course-pick .check svg { width: 16px; height: 16px; }
.course-pick .bub { position: relative; display: block; width: min(132px, 100%); }
.course-pick .ph { display: block; width: 100%; }
.course-pick .name, .course-pick .time { display: block; }
.course-pick label:hover .ph { transform: scale(1.06); }
.course-pick input:checked + label { border-color: var(--aqua1); background: var(--soft); }
.course-pick input:checked + label .ph { transform: scale(1.06); box-shadow: 0 0 0 4px var(--aqua1), 0 14px 30px -18px rgba(0,0,0,.5); }
.course-pick input:checked + label .check { background: var(--aqua1); border-color: var(--aqua1); color: #fff; }
.course-pick input:focus-visible + label { outline: 3px solid var(--aqua3); outline-offset: 3px; }
.course-pick input[aria-invalid="true"] + label { border-color: var(--error); }

/* Confirmation */
.done__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--aqua1); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.done__icon svg { width: 30px; height: 30px; }
.done__icon--wait { background: var(--or2); color: var(--black); }
.summary { list-style: none; margin: 24px 0; padding: 0; }
.summary li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding-block: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.summary li > span:first-child { color: var(--ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

/* Texte long (confidentialité) */
.prose { max-width: 760px; }
.prose h2 { margin-top: 32px; }
.prose ul { padding-left: 20px; }
.prose li, .prose p { margin-bottom: 10px; color: var(--ink-2); }
.prose strong { color: var(--ink); }

/* Pied de page */
.footer { border-top: 1px solid var(--line); background: var(--bg); }
.footer > .wrap { padding-block: 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; font-size: 14px; color: var(--ink-2); }
.footer .lockup img { width: 96px; }
.footer .lockup .x { font-size: 18px; }
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---- Tablette ---- */
@media (max-width: 980px) {
  .ax-grid, .duo, .layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .tl::before { left: 11px; right: auto; top: 0; bottom: 0; width: 4px; height: auto; background: linear-gradient(180deg, var(--aqua4), var(--aqua), var(--aqua1)); }
  .tl li { padding: 0 0 28px 48px; }
  .tl li:last-child { align-items: flex-start; text-align: left; }
  .tl li:last-child::before { left: 0; right: auto; }
  .info { grid-template-columns: minmax(0, 1fr); }
  .section { padding-block: 64px; }
  .chapter { padding-block: 52px; }
  .chapter__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .chapter--rev .chapter__media { order: 0; }
  .subnav nav { display: none; }
  .recap { position: static; order: 2; }
}
/* ---- Téléphone ---- */
@media (max-width: 600px) {
  .top .date { display: none; }
  .lockup { gap: 12px; }
  .lockup img { width: 108px; }
  .lockup .x { font-size: 20px; }
  .hero__text { margin-top: 44px; }
  .hero h1 { font-size: 44px; }
  .pick-title { margin-top: 40px; }
  /* Les bulles défilent au doigt, avec un aperçu de la suivante */
  .bubbles { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 18px; margin-inline: calc(-1 * max(20px, env(safe-area-inset-left, 0px))); padding: 10px 18vw 18px; scrollbar-width: none; }
  .bubbles::-webkit-scrollbar { display: none; }
  .bubbles li { scroll-snap-align: center; flex: none; }
  .bubble { width: 64vw; }
  .statement { padding-block: 64px 8px; }
  .hero .swipe-hint { display: block; }
  .statement { padding-block: 80px 24px; }
  .chapter__media { grid-template-rows: 150px 100px; }
  .chapter__media .m1 { grid-column: span 2; grid-row: auto; }
  .c-ref .chapter__media .cover { border-radius: 26px; }
  .chapter__facts { gap: 24px; }
  .chapter__facts b { font-size: 32px; }
  .chapter__text .btn { width: 100%; }
  .subnav__title span { display: none; }
  .ax-photos { grid-template-rows: 180px 140px; }
  .box, .panel { padding: 24px 20px; }
  .strip ul { flex-direction: column; gap: 10px; }
  .grid2 { grid-template-columns: minmax(0, 1fr); }
  .course-pick { gap: 8px; }
  .course-pick label { padding: 12px 4px 10px; }
  .course-pick .name { font-size: 14px; }
  .course-pick .time { font-size: 12px; }
  .course-pick .check { width: 26px; height: 26px; }
  .summary li { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .actions .btn { width: 100%; }
  .footer .lockup img { width: 84px; }
}
.swipe-hint { display: none; margin-top: 4px; font-size: 14px; color: rgba(255,255,255,.75); }
