/* Liberty Country Club — v3 « premium »
   Brand guidelines (docs/charte): Futura LT · Black #000000, Dark Blue #00003B, White (principales)
   Beige Gold #CEB19E (secondaire, en touches ; le Blue #36A9E1 de la charte n'est pas utilisé) · navy monochrome / fade on visuals. */

@font-face { font-family: "Futura LT"; src: url("/assets/fonts/FuturaLT-Light.woff2") format("woff2"), url("/assets/fonts/FuturaLT-Light.woff") format("woff"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura LT"; src: url("/assets/fonts/FuturaLT-LightOblique.woff2") format("woff2"), url("/assets/fonts/FuturaLT-LightOblique.woff") format("woff"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Futura LT"; src: url("/assets/fonts/FuturaLT-Book.woff2") format("woff2"), url("/assets/fonts/FuturaLT-Book.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura LT"; src: url("/assets/fonts/FuturaLT.woff2") format("woff2"), url("/assets/fonts/FuturaLT.woff") format("woff"); font-weight: 500 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Futura LT"; src: url("/assets/fonts/FuturaLT-Bold.woff2") format("woff2"), url("/assets/fonts/FuturaLT-Bold.woff") format("woff"); font-weight: 700 800; font-style: normal; font-display: swap; }

:root {
  --navy: #00003b;
  --navy-2: #0b0b55;
  --navy-3: #14146a;
  /* no light blue: accents on dark bands are beige gold, on light ones navy */
  --accent: var(--beige);
  --beige: #ceb19e;
  --black: #000000;
  --accent-d: var(--navy);
  --ink: #000000;
  --muted: #000000;
  --soft: #f6f6f8;
  --soft-2: #ececf1;
  --line: rgba(0, 0, 59, .1);
  --line-w: rgba(255, 255, 255, .16);
  --white: #fff;
  --error: #d64545;
  --font: "Futura LT", "Futura", "Century Gothic", system-ui, sans-serif;
  --wrap: 1320px;
  --pad: clamp(20px, 4vw, 48px);
  --sec: clamp(88px, 10vw, 152px);
  --r: 2px;
  --r-s: 2px;
  --hdr: 92px;
  --bar: 38px;
  --top: calc(var(--hdr) + var(--bar));
  --track: .24em;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 30px 70px -40px rgba(0, 0, 59, .35);
  
  /* flat navy veil for videos / photos behind text */
  --veil: rgba(0, 0, 59, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 15px/1.7 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--navy); color: var(--white); }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 300; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }
.i { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* « go » icon = brand gimmick turned to point right (»), replaces the ↗ arrow */
.i--g { display: inline-block; width: .8em; height: .8em; background: currentColor; -webkit-mask: url("/assets/img/brand/gimmick-blue.png") center / contain no-repeat; mask: url("/assets/img/brand/gimmick-blue.png") center / contain no-repeat; transform: rotate(-90deg); }
.sec { padding-block: var(--sec); }
.sec--soft { background: var(--soft); }
.sec--intro { padding-top: calc(var(--hdr) + clamp(40px, 6vw, 80px)); }
.sec--tail { padding-top: 0; }
.sec--tail > .wrap { display: flow-root; }
.sec--navy { background: var(--navy); color: var(--white); }

/* ---------- type ---------- */

.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; font-size: 11.5px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--navy); }
.eyebrow::before { content: ""; width: 13px; height: 13px; flex: none; background: currentColor;
  -webkit-mask: url("/assets/img/brand/gimmick-blue.png") center / contain no-repeat; mask: url("/assets/img/brand/gimmick-blue.png") center / contain no-repeat; }
.eyebrow--light { color: rgba(255, 255, 255, .86); }
/* headings follow the charte: uppercase, light first line + bold accent line, short rule underneath */
.h1 { font-size: clamp(34px, 4.6vw, 68px); font-weight: 300; line-height: 1; letter-spacing: .01em; text-transform: uppercase; }
.h2 { font-size: clamp(26px, 2.6vw, 38px); font-weight: 300; line-height: 1.08; letter-spacing: .01em; text-transform: uppercase; color: var(--navy); }
.h3 { font-size: clamp(18px, 1.4vw, 20px); font-weight: 400; line-height: 1.25; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.sec--navy .h2, .sec--navy .h3 { color: var(--white); }
/* accent line of a heading: same colour, bold weight (charte « LOGO / USAGE SUR FONDS ») */
.accent { color: inherit; font-weight: 700; }
.lead { font-size: clamp(16px, 1.2vw, 17px); font-weight: 400; line-height: 1.75; color: var(--muted); max-width: 58ch; }
.sec--navy .lead { color: rgba(255, 255, 255, .72); }

.arrow-link { position: relative; display: inline-flex; align-items: center; gap: 12px; padding-bottom: 6px; font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
.arrow-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; opacity: .25; transform-origin: left; transition: opacity .3s; }
.arrow-link:hover::after { opacity: 1; }
.arrow-link .i { transition: translate .3s var(--ease); }
.arrow-link:hover .i { translate: 4px 0; }
.arrow-link--light { color: var(--white); }

/* ---------- buttons ---------- */

.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 0 30px; border-radius: var(--r); font-size: 12px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; border: 1px solid transparent; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); white-space: nowrap; }
/* buttons: text only, no chevron (arrow links keep theirs) */
.btn .i { display: none; }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 11px; }
/* primary CTA: white on visuals, navy on white — the light blue stays a detail */
.btn--blue { background: var(--white); color: var(--navy); }
.btn--blue:hover { background: var(--navy); color: var(--white); border-color: rgba(255, 255, 255, .6); }
.hdr.is-solid .btn--blue, .hdr--solid .btn--blue, main .sec:not(.sec--navy) .btn--blue, .formcard .btn--blue { background: var(--navy); color: var(--white); }
.hdr.is-solid .btn--blue .i, .hdr--solid .btn--blue .i, main .sec:not(.sec--navy) .btn--blue .i, .formcard .btn--blue .i { color: inherit; }
.hdr.is-solid .btn--blue:hover, .hdr--solid .btn--blue:hover, main .sec:not(.sec--navy) .btn--blue:hover, .formcard .btn--blue:hover { background: var(--navy-3); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--navy-3); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--line { border-color: rgba(0, 0, 59, .3); color: var(--navy); background: transparent; }
.btn--line:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }
.btn--white:hover { background: var(--soft-2); }

.btn--ghost-w { border-color: rgba(255, 255, 255, .45); color: var(--white); }
.btn--ghost-w:hover { background: var(--white); color: var(--navy); border-color: var(--white); }

/* ---------- header ---------- */

.hdr { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--top); color: var(--white); border-bottom: 1px solid transparent; transition: background .45s var(--ease), color .45s, border-color .45s, height .45s var(--ease); }
.hdr.is-solid, .hdr--solid { background: rgba(255, 255, 255, .97); color: var(--navy); border-bottom-color: var(--line); backdrop-filter: saturate(1.2) blur(16px); -webkit-backdrop-filter: saturate(1.2) blur(16px); }
.ann { display: flex; align-items: center; justify-content: center; gap: 10px; height: var(--bar); padding-inline: 16px; background: var(--beige); color: var(--navy); font-size: 11px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; }
.ann b { font-weight: 700; }
.ann .i { flex: none; transition: translate .3s var(--ease); }
.ann:hover .i { translate: 4px 0; }
.hdr__in { height: var(--hdr); display: flex; align-items: center; gap: 28px; }
.hdr__logo { position: relative; width: 124px; flex: none; transition: width .45s var(--ease); }
.hdr__logo img { width: 100%; height: auto; transition: opacity .3s; }
.hdr__logo .logo-b { position: absolute; inset: 0; opacity: 0; }
.hdr.is-solid .logo-w, .hdr--solid .logo-w { opacity: 0; }
.hdr.is-solid .logo-b, .hdr--solid .logo-b { opacity: 1; }
.nav { margin-inline: auto; }
.nav > ul { display: flex; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.nav__link { position: relative; display: flex; align-items: center; gap: 6px; height: calc(var(--hdr) - 16px); font-size: 11px; font-weight: 500; letter-spacing: .14em; white-space: nowrap; text-transform: uppercase; transition: color .2s; }
.nav__link:hover { opacity: .7; }
.nav__link .i { width: .9em; height: .9em; opacity: .6; stroke-width: 1.4; }
.nav-flag { display: inline-block; margin-left: 8px; padding: 3px 7px; vertical-align: 2px; font-size: 9px; font-weight: 500; line-height: 1.2; letter-spacing: .14em; text-transform: uppercase; white-space: nowrap; color: var(--navy); background: var(--beige); }
/* mega menu: one panel across the header width, under the whole menu bar (the items are not positioned) */
.hdr__in { position: relative; }
.mm { position: absolute; top: calc(100% - 8px); left: var(--pad); right: var(--pad); display: grid; grid-template-columns: minmax(220px, 280px) 1fr; gap: clamp(32px, 3vw, 56px); padding: clamp(28px, 2.4vw, 40px); border-radius: var(--r-s); background: var(--white); color: var(--navy); box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
.nav__item:hover .mm, .nav__item:focus-within .mm { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mm__intro { display: flex; flex-direction: column; align-items: flex-start; padding-right: clamp(24px, 2.4vw, 40px); border-right: 1px solid var(--line); }
.mm__intro .eyebrow { margin-bottom: 18px; }
.mm__t { font-size: clamp(22px, 1.7vw, 27px); font-weight: 300; line-height: 1.15; letter-spacing: .02em; text-transform: uppercase; }
.mm__t .accent { display: block; }
.mm__intro .arrow-link { margin-top: auto; padding-top: 32px; white-space: nowrap; letter-spacing: .16em; }
.mm__cols { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: clamp(20px, 2vw, 36px); }
.mm__link { display: flex; flex-direction: column; gap: 3px; }
.mm__link b { font-size: 14px; font-weight: 500; letter-spacing: .02em; }
.mm__link:hover b { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.mm__sub { font-size: 12.5px; font-weight: 300; color: rgba(0, 0, 59, .62); }
.mm__h { margin-bottom: 6px; padding-bottom: 10px; white-space: nowrap; border-bottom: 1px solid var(--line); font-size: 10.5px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: rgba(0, 0, 59, .55); }
.mm__link { padding: 9px 0; }
.mm__sub .nav-flag { margin: 2px 0 0; vertical-align: 0; }
/* photo filling the free columns of a short menu (Raquettes, Bien-être) */
.mm__photo { position: relative; min-height: 220px; overflow: hidden; background: var(--soft); }
.mm__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hdr__actions { display: flex; align-items: center; gap: 22px; }
.hdr__member { font-size: 11px; font-weight: 500; letter-spacing: .14em; white-space: nowrap; text-transform: uppercase; opacity: .85; transition: opacity .2s; }
.hdr__member:hover { opacity: 1; }
.burger { display: none; width: 46px; height: 46px; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 1.6px; background: currentColor; transition: transform .3s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mnav { position: fixed; inset: var(--top) 0 0; z-index: 99; background: var(--navy); color: var(--white); padding: 8px var(--pad) calc(96px + env(safe-area-inset-bottom)); overflow-y: auto; display: flex; flex-direction: column; gap: 28px; }
.mnav[hidden] { display: none; }
.mnav__list > li { border-bottom: 1px solid var(--line-w); }
.mnav summary, .mnav__top { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-size: 18px; font-weight: 300; letter-spacing: .08em; text-transform: uppercase; list-style: none; cursor: pointer; }
.mnav summary::-webkit-details-marker { display: none; }
.mnav summary .i { transition: transform .3s; }
.mnav details[open] summary .i { transform: rotate(180deg); }
.mnav details ul { padding: 0 0 16px; display: grid; gap: 2px; }
.mnav details a { display: block; padding: 7px 0; color: rgba(255, 255, 255, .75); }
.mnav__all { margin-top: 4px; }
.mnav details .mnav__all a { display: inline-flex; align-items: center; gap: 10px; color: var(--beige); }
.mnav__all .i { width: 14px; height: 14px; }
.mnav__foot { display: grid; gap: 12px; }
.mnav__foot .btn { width: 100%; justify-content: center; }
.mnav__icons { display: flex; justify-content: center; gap: 16px; padding-top: 6px; }
.mnav__ico { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line-w); border-radius: 50%; color: var(--white); transition: background .3s, border-color .3s; }
.mnav__ico:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
.mnav__ico .i { width: 20px; height: 20px; }
.menu-open { overflow: hidden; }
.menu-open .hdr { background: var(--navy); border-bottom-color: var(--line-w); box-shadow: none; color: var(--white); backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .hdr .logo-w { opacity: 1; }
.menu-open .hdr .logo-b { opacity: 0; }

/* ---------- hero (home) ---------- */

.hhero { position: relative; height: 100vh; height: 100svh; min-height: 560px; display: flex; align-items: center; text-align: center; color: var(--white); background: var(--navy); overflow: hidden; }
/* videos / photos under text: flat navy veil */
.hhero video, .hhero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hhero__shade { position: absolute; inset: 0; background: var(--veil); }
.hhero__in { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: var(--top); }
.hhero__in > * { animation: rise 1s var(--ease) both; }
.hhero__in > .hhero__cta { animation: none; }
.hhero__in > :nth-child(2) { animation-delay: .12s; }
.hhero__in > :nth-child(3) { animation-delay: .24s; }
.hhero__in > :nth-child(4) { animation-delay: .36s; }
.hhero__mark { width: clamp(180px, 20vw, 280px); height: auto; margin-bottom: clamp(56px, 9vh, 96px); }
.hhero__tag { font-size: clamp(22px, 2.4vw, 34px); font-weight: 300; line-height: 1.15; letter-spacing: .08em; text-transform: uppercase; }
.hhero__tag b { font-weight: 700; }
.hhero__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: clamp(52px, 8vh, 80px); }

/* home intro: H1 + reassurance figures, right under the hero */
.intro { padding-block: clamp(72px, 9vw, 120px); background: var(--soft); }
.intro--white { background: var(--white); }
.intro__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.intro__h1 { font-size: clamp(28px, 2.8vw, 42px); line-height: 1.08; color: var(--navy); }
.intro__h1 > span { display: block; }
.intro__geo { margin-top: .9em; font-size: clamp(11px, .9vw, 13px); font-weight: 500; letter-spacing: .2em; line-height: 1.4; opacity: .7; }

.sec-more { margin-top: clamp(32px, 4vw, 48px); text-align: center; }
.intro__lead { max-width: 52ch; margin-top: 22px; font-size: clamp(15px, 1.15vw, 16.5px); font-weight: 400; color: var(--muted); }
/* key figures: 2 x 2 grid beside the title */
.trust { display: grid; grid-template-columns: 1fr 1fr; }
.trust li { padding: clamp(26px, 3vw, 40px) clamp(16px, 2vw, 28px); border-bottom: 1px solid var(--line); }
.trust li:nth-child(even) { border-left: 1px solid var(--line); }
.trust li:last-child:nth-child(odd) { grid-column: 1 / -1; }
/* no line above or below the block, only between the figures */
.trust li:last-child, .trust li:nth-last-child(2):nth-child(odd) { border-bottom: 0; }
.trust b { display: block; font-size: clamp(36px, 3.4vw, 52px); font-weight: 300; line-height: 1; letter-spacing: .02em; color: var(--navy); }
.trust span { display: block; margin-top: 12px; font-size: 11px; font-weight: 500; letter-spacing: .16em; line-height: 1.6; text-transform: uppercase; color: var(--muted); }

/* ---------- section heading ---------- */

.shead { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: clamp(20px, 2vw, 28px); }
.shead__txt { max-width: 720px; }
.shead:not(:has(.shead__txt)) { display: block; }
.shead:not(:has(.shead__txt)) .eyebrow { display: flex; width: fit-content; }
.shead .lead { margin-top: 18px; }

/* ---------- bento (home univers) ---------- */

.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(180px, 24vh, 220px); gap: 12px; }
.bento__card { position: relative; grid-column: span 5; overflow: hidden; color: var(--white); background: var(--navy); isolation: isolate; }
.bento__card--lg { grid-column: span 7; grid-row: span 2; }
.bento__card--half { grid-column: span 6; }

.bento__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.bento__card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(0, 0, 59, .45); }
.bento__card:hover img { transform: scale(1.03); }
.bento__body { position: absolute; left: 32px; right: 100px; bottom: 30px; }
.bento__body small { display: block; font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: rgba(255, 255, 255, .78); margin-bottom: 10px; }
.bento__body h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.bento__go { position: absolute; right: 26px; bottom: 26px; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .45); transition: background .35s, border-color .35s, color .35s; }
.bento__go .i { stroke-width: 1.4; }
.bento__card:hover .bento__go { background: var(--white); border-color: var(--white); color: var(--navy); }
/* disciplines by family (Fitness): a labelled row per family, same-size cards on a 4-column grid */
.dgroup + .dgroup { margin-top: clamp(40px, 5vw, 64px); }
.dgroup__head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 20px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.dgroup__head h3 { font-size: 13px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); }
.dgroup__head span { font-size: 12px; color: var(--muted); }
.dgroup__all { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); transition: opacity .2s; }
.dgroup__all:hover { opacity: .6; }
.dgrid { display: grid; grid-template-columns: repeat(var(--cols, 4), 1fr); gap: 12px; }
.dgrid .bento__card { grid-column: auto; aspect-ratio: 4 / 5; }
/* same veil as the home activity cards: clear photo, dark only under the text */
.dgrid .bento__card::after { background: linear-gradient(180deg, rgba(0, 0, 59, .05) 35%, rgba(0, 0, 59, .85) 100%); }
.dgrid .bento__body { left: 24px; right: 24px; bottom: 24px; }
.dgrid .bento__body h3 { font-size: clamp(18px, 1.5vw, 22px); }
.dgrid .bento__go { top: 20px; right: 20px; bottom: auto; width: 40px; height: 40px; }
.dgrid__flag { position: absolute; top: 20px; left: 20px; margin: 0; }
/* attraction cards (You Kids): no link, a short line under the name */
.bento__card--still { margin: 0; }
.bento__card--still:hover img { transform: none; }
.dgrid .bento__body p { margin-top: 10px; font-size: 14px; font-weight: 300; line-height: 1.45; color: rgba(255, 255, 255, .86); }
.dlink { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(32px, 4vw, 48px); padding: 20px 4px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--navy); transition: padding .3s var(--ease); }
.dlink:hover { padding-inline: 14px; }
.dlink small { display: block; margin-bottom: 4px; font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--muted); }
.dlink b { font-size: clamp(15px, 1.2vw, 17px); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) { .dgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dgrid { gap: 8px; } .dgrid .bento__body { left: 14px; right: 14px; bottom: 14px; } .dgrid .bento__body small { font-size: 9.5px; letter-spacing: .1em; margin-bottom: 6px; } .dgrid .bento__body h3 { font-size: 14px; letter-spacing: .02em; hyphens: auto; overflow-wrap: anywhere; } .dgrid .bento__go { display: none; } .dgrid__flag { top: 12px; left: 12px; } .dgrid .bento__body p { font-size: 12px; margin-top: 6px; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.chips button { padding: 12px 22px; border: 1px solid var(--line); background: var(--white); font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); transition: background .25s, color .25s, border-color .25s; }
.chips button:hover { border-color: var(--navy); }
.chips button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }

/* ---------- story split ---------- */

.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.story + .story { margin-top: clamp(64px, 8vw, 112px); }
.story--rev .story__img { order: 2; }
.story--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.story--text { display: flex; flex-direction: column; align-items: center; max-width: 980px; margin-inline: auto; padding: 0; gap: 0; text-align: center; background: none; border-radius: 0; }
.story--text .eyebrow { justify-content: center; }
.story--text .h2 { font-size: clamp(30px, 3.4vw, 52px); max-width: 30ch; margin-inline: auto; text-wrap: balance; }
.story--text .story__copy { margin-top: 32px; }
.story--text .story__copy .prose, .story--text .prose { max-width: 62ch; margin-inline: auto; font-size: clamp(18px, 1.5vw, 21px); line-height: 1.8; color: var(--navy); }
.story--text .story__copy .prose strong { color: var(--navy); }
.sec--navy .story--text .story__copy .prose strong { color: var(--white); }
.story--text .prose ul, .story--text .prose ol { display: block; text-align: center; }
.story--text .prose ul li, .story--text .prose ol li { padding-left: 0; }
.story--text .prose ul li::before, .story--text .prose ol li::before { display: none; }
/* Photo + text blocks: the photo follows the height of its text (+ a little air), never below a minimum */
.story:not(.story--text), .detail { align-items: stretch; }
.story__img, .detail__visual { position: relative; align-self: stretch; min-height: 0; border-radius: var(--r); overflow: hidden; background: var(--soft); }
.story__img img, .detail__visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* never flatter than 3:2, even next to a short text (taller only when the text is longer) */
.story__img:not(.story__img--video)::before, .detail__visual::before { content: ""; display: block; padding-top: 66%; }
.story--tall .story__img::before { padding-top: 92%; }
.story:not(.story--text) .story__copy, .detail__copy { align-self: center; padding-block: 0; }
.story__img--video { align-self: center; min-height: 0; aspect-ratio: 16 / 9; background: var(--navy); }
.story__img--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.story__copy .h2 { font-size: clamp(24px, 2.4vw, 34px); margin-bottom: 26px; }
.story__copy .prose { color: var(--muted); font-weight: 400; }
.story__copy > .arrow-link { margin-top: 28px; }

/* ---------- reviews ---------- */

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { display: flex; flex-direction: column; gap: 22px; padding: 36px 32px; background: var(--white); border-top: 1px solid var(--navy); }
.review__q { font-size: 60px; line-height: 1; height: 26px; color: var(--accent); font-weight: 300; }
.review p { font-size: 15px; font-weight: 400; font-style: italic; line-height: 1.75; color: var(--ink); flex: 1; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__who b { display: block; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.review__who small { font-size: 13px; color: var(--muted); }

/* ---------- practical ---------- */

.practical { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; column-gap: clamp(28px, 4vw, 56px); margin-top: clamp(48px, 6vw, 72px); padding: clamp(32px, 4.5vw, 56px); background: var(--navy); color: var(--white); }
/* full-width band on a grey background (home) */
.pband .practical { --line-w: rgba(0, 0, 59, .14); margin-top: 0; padding: 0; background: none; color: var(--navy); }
.pband .practical .eyebrow--light { color: var(--navy); }
.pband .practical .pcard > span { color: var(--accent-d); }
.pband .practical .pcard small, .pband .practical .hours dt { color: var(--muted); }
.pband .practical .hours dd b { color: var(--navy); }
.pband .practical .practical__map { background: var(--white); }
.practical__head { margin-bottom: 26px; }
.practical__head h3 { font-size: clamp(20px, 1.8vw, 26px); font-weight: 300; letter-spacing: .06em; text-transform: uppercase; }
/* address and phone side by side, hours across the full width */
.practical__info { display: grid; grid-template-columns: 1fr 1fr; align-content: start; border-top: 1px solid var(--line-w); }
.practical__info .pcard { gap: 6px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line-w); }
.practical__info .pcard:last-child { grid-column: 1 / -1; }
a.practical__info .pcard:hover, .practical__info a.pcard:hover { background: none; }
.practical__info a.pcard:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.practical__map { grid-column: 2; grid-row: 1 / span 2; min-height: 380px; background: rgba(255, 255, 255, .06); }
.practical__map iframe { display: block; width: 100%; height: 100%; min-height: 380px; border: 0; }
.pcard { display: flex; flex-direction: column; gap: 10px; padding: 26px; border: 1px solid var(--line-w); transition: background .3s, border-color .3s; }
a.pcard:hover { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .4); }
.pcard > span { font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--accent); }
.pcard strong { font-size: 16px; font-weight: 400; line-height: 1.4; }
.pcard small { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 6px; font-size: 13px; color: rgba(255, 255, 255, .7); }
.hours { display: grid; gap: 12px; }
.hours dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 4px; }
.hours dd { margin: 0; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.hours dd b { font-weight: 500; color: var(--white); white-space: nowrap; }

/* ---------- visit band ---------- */

.vband { position: relative; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.vband > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
/* lighter veil than the heroes: darker on the text side only */
.vband::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 59, .5) 0%, rgba(0, 0, 59, .3) 55%, rgba(0, 0, 59, .18) 100%); }
.vband__in { padding-block: clamp(96px, 12vw, 160px); }
.vband .h2 { color: var(--white); margin-bottom: 18px; }
.vband p { max-width: 46ch; font-size: clamp(16px, 1.2vw, 17.5px); font-weight: 300; color: rgba(255, 255, 255, .82); margin-bottom: 36px; }
.vband__cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- page hero ---------- */

.phero { position: relative; min-height: clamp(440px, 60svh, 600px); display: flex; align-items: flex-end; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.phero > img, .phero > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0, 0, 59, .62) 0%, rgba(0, 0, 59, .42) 55%, rgba(0, 0, 59, .3) 100%), linear-gradient(0deg, rgba(0, 0, 59, .3) 0%, rgba(0, 0, 59, 0) 50%); }
.phero__in { padding-top: calc(var(--top) + 60px); padding-bottom: clamp(48px, 6vw, 72px); }
.phero__logo { display: block; width: clamp(150px, 16vw, 220px); height: auto; margin-bottom: 22px; }
.phero h1 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 700; line-height: 1.04; letter-spacing: .02em; text-transform: uppercase; max-width: 26ch; text-wrap: balance; }
.phero h1 .h1-loc { display: block; margin-top: .2em; font-size: .62em; font-weight: 300; letter-spacing: .02em; color: rgba(255, 255, 255, .86); }
.phero p { max-width: 54ch; margin-top: 22px; font-size: clamp(15px, 1.1vw, 16.5px); font-weight: 300; color: rgba(255, 255, 255, .86); }
.phero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 28px; }
/* universe pages (Fitness, Raquettes…): taller hero, then a bar of shortcuts to the disciplines, sticky under the header */
.phero--hub { min-height: clamp(600px, 88svh, 860px); align-items: center; text-align: center; }
.phero--hub .phero__in { display: flex; flex-direction: column; align-items: center; width: 100%; padding-bottom: clamp(56px, 7vw, 88px); }
.phero__mark { width: clamp(64px, 7vw, 104px); height: auto; margin-bottom: 30px; }
.phero--hub p { margin-inline: auto; }
.phero--hub .phero__cta { justify-content: center; }
.phero--hub h1 { font-size: clamp(32px, 4.2vw, 60px); }
.phero--plain { min-height: 0; }
.phero--plain::after { background: var(--navy); }
.phero--plain .phero__in { padding-bottom: 56px; }
.phero__in > * { animation: rise .9s var(--ease) both; }
.phero__in > :nth-child(2) { animation-delay: .1s; }
.phero__in > :nth-child(3) { animation-delay: .2s; }
.phero__in > :nth-child(4) { animation-delay: .3s; }
.phero__in > :nth-child(5) { animation-delay: .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Breadcrumb always on one line: the links keep their width, the current page is cut with « … » if too long */
.crumbs { display: flex; flex-wrap: nowrap; align-items: baseline; gap: 10px; min-width: 0; max-width: 100%; white-space: nowrap; }
.crumbs > * { flex-shrink: 0; }
.crumbs > [aria-current] { flex-shrink: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 600px) { .crumbs { gap: 6px; font-size: 10.5px; letter-spacing: .1em; } .crumbs::before { margin-right: 2px; } }
.crumbs::before { margin-right: 4px; }
.crumbs a:hover { color: var(--white); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- editorial intro (category) ---------- */

.editorial { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 24px clamp(32px, 6vw, 96px); align-items: start; }
.editorial .h2 { font-size: clamp(26px, 2.6vw, 38px); }
.editorial .lead { margin-top: 20px; }

/* ---------- activity detail ---------- */

.detail { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 96px); align-items: center; }
.detail__copy .h2 { font-size: clamp(26px, 2.5vw, 36px); margin-bottom: 22px; }
.detail__copy .prose { color: var(--muted); }
.points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 30px; }
.points div { padding: 18px 0; border-top: 1px solid var(--line); }
.points b { display: block; font-size: 22px; font-weight: 300; color: var(--navy); line-height: 1.1; }
.points span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }

/* ---------- prose ---------- */

.prose { max-width: 66ch; font-size: 15px; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(20px, 1.7vw, 24px); font-weight: 400; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); line-height: 1.2; margin-top: 1.8em; }
.prose h3 { font-size: 17px; font-weight: 500; color: var(--navy); margin-top: 1.5em; }
.prose h4 { font-size: 15.5px; font-weight: 700; margin-top: 1.3em; }
/* links in text: same colour as the text, discreet underline that firms up on hover (no accent blue) */
.prose a:not(.arrow-link):not(.btn) { color: inherit; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(0, 0, 59, .3); transition: text-decoration-color .2s; }
.prose a:not(.arrow-link):not(.btn):hover { text-decoration-color: currentColor; }
.prose strong { font-weight: 500; color: var(--navy); }
.prose ul li { position: relative; padding-left: 16px; }
.prose ul li + li { margin-top: .45em; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .75em; width: 4px; height: 4px; border-radius: 50%; background: currentColor; }
.prose ol:not(.steps) { counter-reset: n; }
.prose ol:not(.steps) li { counter-increment: n; position: relative; padding-left: 30px; }
.prose ol:not(.steps) li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--accent-d); font-weight: 700; }
.prose table { width: 100%; border-collapse: collapse; font-size: 14px; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; vertical-align: top; }
.prose--wide { max-width: 74ch; }

.steps { counter-reset: s; display: grid; gap: 12px; margin-top: 8px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 2px 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-size: 26px; font-weight: 300; color: var(--accent-d); }
.steps h3 { font-size: 14px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin: 0; }
.steps p { font-size: 14px; color: var(--muted); }
/* "Bonnes raisons" dans un bloc texte centré : lignes aérées, alignées à gauche */
.story--text .steps { width: min(100%, 900px); margin: 8px auto 0; gap: 0; text-align: left; border-bottom: 1px solid var(--line); }
.story--text .steps li { grid-template-columns: 64px minmax(0, 5fr) minmax(0, 7fr); align-items: baseline; gap: 6px 32px; padding: 30px 0 !important; }
.story--text .steps li::before { display: block !important; grid-row: auto; position: static; font-size: 14px; letter-spacing: .12em; color: var(--navy); }
.story--text .steps h3 { font-size: 16px; letter-spacing: .14em; line-height: 1.4; }
.story--text .steps p { margin: 0; font-size: 16.5px; line-height: 1.65; color: var(--muted); }
.story--text .story__copy .prose:has(.steps), .story--text .story__copy:has(.steps) { width: 100%; max-width: 980px; }.story--text .steps li, .story--text .steps h3, .story--text .steps p { text-align: left; }.story--text .steps h3 { white-space: normal; text-wrap: balance; }
@media (max-width: 700px) { .story--text .steps li { grid-template-columns: 40px 1fr; gap: 8px 14px; padding: 24px 0 !important; } .story--text .steps p { grid-column: 2; } }

/* ---------- quote ---------- */

.sec--story { padding-block: clamp(64px, 8vw, 112px); }
.sec--soft .story--text { background: none; }
.story__cta { margin-top: 28px; }
.story__cta .arrow-link, .story__cta .arrow-link .i { color: var(--navy); }
.quote__in { padding-block: clamp(64px, 8vw, 104px); text-align: center; }
.quote blockquote { margin-inline: auto; max-width: 30ch; font-size: clamp(22px, 2.3vw, 32px); font-weight: 300; font-style: italic; line-height: 1.3; color: var(--navy); }
.quote blockquote::before { content: ""; display: block; width: 26px; height: 26px; margin: 0 auto 28px; background: var(--navy); -webkit-mask: url("/assets/img/brand/gimmick-blue.png") center / contain no-repeat; mask: url("/assets/img/brand/gimmick-blue.png") center / contain no-repeat; }

/* ---------- FAQ ---------- */

.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.faq__head { position: sticky; top: calc(var(--top) + 24px); }
.faq__head p { margin-top: 18px; color: var(--muted); }
.faq__head a { color: var(--navy); font-weight: 600; }
.faq__list { display: grid; gap: 10px; }
.faq__list { gap: 0; border-top: 1px solid var(--line); }
.faq__item { background: transparent; border-bottom: 1px solid var(--line); transition: border-color .4s var(--ease); }
.faq__item[open]:not(.is-closing) { border-bottom-color: var(--navy); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 2px; cursor: pointer; list-style: none; font-size: 15.5px; font-weight: 400; color: var(--navy); transition: color .3s var(--ease), padding-left .4s var(--ease); }
.faq__item summary:hover { color: var(--navy); padding-left: 8px; }
.faq__item[open] summary { color: var(--navy); padding-left: 2px; font-weight: 500; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { width: 20px; height: 20px; color: var(--accent); transition: transform .3s var(--ease); }
.faq__item[open]:not(.is-closing) summary .i { transform: rotate(45deg); }
.faq__item summary .i { transition: transform .4s var(--ease); }
.faq__item .prose { padding: 0 2px 26px; font-size: 14.5px; font-weight: 400; color: var(--muted); }

/* ---------- extras ---------- */

/* Cours & planning: PDF plannings as cards + members strip */
.pdls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pdl { position: relative; display: flex; align-items: flex-end; aspect-ratio: 4 / 3; overflow: hidden; color: var(--white); background: var(--navy); isolation: isolate; }
.pdl > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.6s var(--ease); }
.pdl::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 59, .8), rgba(0, 0, 59, .3)); }
.pdl:hover > img { transform: scale(1.03); }
.pdl__body { width: 100%; display: flex; flex-direction: column; gap: 20px; padding: 26px; }
.pdl__body h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; line-height: 1.1; letter-spacing: .08em; text-transform: uppercase; }
.pdl__go { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 18px; background: var(--white); color: var(--navy); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; transition: background .3s, color .3s; }
.pdl__go .i { width: 1.1em; height: 1.1em; stroke-width: 1.6; }
.pdl:hover .pdl__go { background: var(--navy); color: var(--white); }
@media (max-width: 900px) { .pdls { grid-template-columns: 1fr; gap: 8px; } .pdl { aspect-ratio: 16 / 9; } .pdl__body { gap: 14px; padding: 18px; } .pdl__body h3 { font-size: 18px; } .pdl__go { height: 42px; } }
/* La carte (institut) : bande navy, onglets par catégorie, une liste centrée */
.carte { text-align: center; }
.carte .shead { margin-bottom: clamp(32px, 4vw, 48px); }
.carte .shead .eyebrow { margin-inline: auto; justify-content: center; }
.carte__tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px clamp(20px, 3vw, 44px); padding-bottom: 18px; border-bottom: 1px solid rgba(255, 255, 255, .14); max-width: 820px; margin-inline: auto; }
.carte__tabs button { position: relative; padding: 6px 0; font: inherit; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .5); background: none; border: 0; cursor: pointer; transition: color .3s var(--ease); }
.carte__tabs button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -19px; height: 1px; background: var(--white); transform: scaleX(0); transition: transform .4s var(--ease); }
.carte__tabs button:hover, .carte__tabs button[aria-selected="true"] { color: var(--white); }
.carte__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.carte__panels { max-width: 620px; min-height: 290px; margin: clamp(28px, 3vw, 40px) auto 0; }
.carte__panel h3 { margin-bottom: 14px; font-size: 13px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.js .carte__panel h3 { display: none; }
.js .carte__panel:not(.is-active) { display: none; }
.carte__panel.is-active { animation: rise .6s var(--ease) both; }
.carte__panel li { display: flex; justify-content: center; align-items: baseline; gap: 14px; padding: 9px 0; font-size: clamp(17px, 1.4vw, 20px); font-weight: 300; color: var(--white); }
.carte__panel li + li { border-top: 1px solid rgba(255, 255, 255, .08); }
.carte__panel li span { font-size: 13px; letter-spacing: .06em; color: rgba(255, 255, 255, .55); }
.carte__cta { margin-top: clamp(28px, 3vw, 40px); }
/* mobile: all the tabs on two centred lines (no scrolling), the underline under each tab, each detail under its treatment */
@media (max-width: 700px) {
  .carte__tabs { gap: 4px 20px; padding-bottom: 12px; }
  .carte__tabs button { padding: 8px 0; font-size: 12px; letter-spacing: .16em; }
  .carte__tabs button::after { bottom: 0; }
  .carte__panel li { flex-direction: column; align-items: center; gap: 2px; padding: 11px 0; font-size: 17px; }
}

.carte__panel + .carte__panel { margin-top: 28px; }
.js .carte__panel + .carte__panel { margin-top: 0; }
/* Les attractions (YouKids) : chiffres clés + grille claire, sans encadrés */
.sec:has(.attr) { padding-block: clamp(56px, 6vw, 88px); background: var(--navy); color: var(--white); }
.sec:has(.attr) .shead { margin-bottom: clamp(24px, 2.6vw, 36px); }
.sec:has(.attr) .h2 { color: var(--white); }
.sec:has(.attr) .eyebrow { color: rgba(255, 255, 255, .86); }
.sec:has(.attr) .attr li { padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); }
.attr { counter-reset: attr; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px clamp(32px, 4vw, 64px); }
.attr li { counter-increment: attr; display: grid; grid-template-columns: 34px 1fr; align-items: baseline; }
.attr li > * { grid-column: 2; }
.attr li::before { content: counter(attr, decimal-leading-zero); grid-column: 1; grid-row: 1; font-size: 12px; letter-spacing: .12em; color: var(--beige); }
.attr h3 { grid-row: 1; font-size: 18px; font-weight: 500; line-height: 1.25; color: var(--white); }
.attr p { margin-top: 4px; max-width: 34ch; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
/* Repères (historique) : frise horizontale, ligne fine et points, sans encadrés */
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(28px, 3.5vw, 56px); padding-top: 34px; }
.timeline::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 1px; background: var(--line); }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; top: -34px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 6px var(--white); }
.timeline span { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1; letter-spacing: .01em; color: var(--navy); }
.timeline h3 { margin: 22px 0 10px; font-size: 13px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.timeline p { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
/* timeline on a navy band (Notre histoire): light text, white dots, more room under the heading */
.sec:has(.timeline) .shead { margin-bottom: clamp(40px, 4.4vw, 64px); }
.sec--navy .timeline::before { background: rgba(255, 255, 255, .22); }
.sec--navy .timeline li::before { background: var(--white); box-shadow: 0 0 0 6px var(--navy); }
.sec--navy .timeline span, .sec--navy .timeline h3 { color: var(--white); }
.sec--navy .timeline p { color: rgba(255, 255, 255, .74); }

/* ---------- forms ---------- */

.booking { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.booking__copy { padding-top: 10px; }
.booking__copy .h1 { font-size: clamp(30px, 3.2vw, 46px); color: var(--navy); margin-bottom: 20px; }
.highlights { display: grid; gap: 10px; margin-top: 32px; }
.highlights { gap: 0; border-top: 1px solid var(--line); }
.highlights li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.highlights li > span { flex: none; width: 32px; font-size: 18px; font-weight: 300; color: var(--accent-d); }
.highlights b { display: block; font-weight: 500; color: var(--navy); }
.highlights small { font-size: 13px; color: var(--muted); }
.formcard { padding: clamp(28px, 4vw, 52px); background: var(--white); box-shadow: var(--shadow); border-top: 2px solid var(--navy); }
.formcard h2 { font-size: 18px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; }
.formcard > p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.form { display: grid; gap: 16px; }
.form[hidden] { display: none; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field span { font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.field input, .field textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--soft); border: 1px solid transparent; border-bottom-color: rgba(0, 0, 59, .2); border-radius: 0; padding: 14px 16px; resize: vertical; transition: border-color .2s, background .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--navy); background: var(--white); }
.field.is-invalid input { border-color: var(--error); }
.form__legal { font-size: 13px; color: var(--muted); }
.form__legal a { text-decoration: underline; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__status { font-size: 14px; color: var(--muted); }
.form__status a { text-decoration: underline; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__thanks { padding: 28px; background: var(--soft); border-left: 2px solid var(--navy); outline: 0; }
.form__thanks b { display: block; font-size: 15px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.form__thanks p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.form__thanks a { text-decoration: underline; }

/* ---------- gallery ---------- */

.gal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.gal__col > ul { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.gal__col > ul > li { flex: 1 1 var(--h, 300px); min-height: 200px; display: flex; }
.gal__col button { flex: 1; height: auto; }
.gal__col img { position: absolute; inset: 0; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .gal { grid-template-columns: 1fr; } .gal__col > ul > li { flex-basis: auto; aspect-ratio: 4 / 3; } }
.gal button { position: relative; display: block; width: 100%; border-radius: var(--r-s); overflow: hidden; }
.gal img { width: 100%; transition: transform .9s var(--ease); }
.gal button:hover img { transform: scale(1.04); }
.gal button span { position: absolute; left: 14px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 40, .7); color: var(--white); font-size: 13px; font-weight: 600; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gal button:hover span, .gal button:focus-visible span { opacity: 1; transform: none; }
/* home gallery: two endless rows drifting in opposite directions (moved by main.js), each paused on hover and draggable by hand */
.mq { --mqh: clamp(170px, 19vw, 280px); --mqgap: 16px; display: grid; gap: var(--mqgap); margin-top: clamp(36px, 5vw, 56px); }
.mq__row { display: flex; overflow: hidden; touch-action: pan-y; cursor: grab; }
.mq__row.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.mq__row.is-dragging img { transform: none; pointer-events: none; }
.mq__track { flex: none; display: flex; gap: var(--mqgap); padding-right: var(--mqgap); will-change: transform; }
.mq__item { flex: none; height: var(--mqh); aspect-ratio: 4 / 3; }
.mq__item--1 { aspect-ratio: 3 / 4; }
.mq__item--2 { aspect-ratio: 16 / 10; }
.mq__item--3 { aspect-ratio: 1; }
.mq button { position: relative; display: block; width: 100%; height: 100%; border-radius: var(--r-s); overflow: hidden; }
.mq img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: transform .9s var(--ease); -webkit-user-drag: none; }
.mq button:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .mq { --mqh: 150px; --mqgap: 10px; } }
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 20, .94); display: grid; grid-template-columns: 72px 1fr 72px; align-items: center; color: var(--white); }
.lightbox[hidden] { display: none; }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--r-s); }
.lightbox button { height: 72px; display: grid; place-items: center; }
.lightbox .i { width: 28px; height: 28px; }
.lightbox__close { position: absolute; top: 14px; right: 18px; font-size: 36px; width: 56px; }

/* ---------- blog ---------- */

.news { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news > [hidden] { display: none; }
.post { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--white); border-bottom: 1px solid var(--line); }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--soft); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.post:hover .post__img img { transform: scale(1.05); }
.post__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 28px 30px; flex: 1; }
.post__cat { font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--accent-d); }
.post__t { font-size: 17px; font-weight: 400; line-height: 1.3; color: var(--navy); }
.post__more { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--navy); }
/* ---------- article (blog) ---------- */
.post-sec { padding-top: clamp(56px, 7vw, 104px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(40px, 6vw, 112px); align-items: start; }
.post-side__in { position: sticky; top: calc(var(--top) + 32px); max-height: calc(100vh - var(--top) - 64px); overflow-y: auto; scrollbar-width: none; padding-top: 22px; border-top: 1px solid var(--navy); }
.post-side { align-self: stretch; }
.post-side .eyebrow { margin-bottom: 14px; }
.post-side__lead { font-size: 15px; font-weight: 300; line-height: 1.65; color: var(--navy); }
.post-side__toc { margin-top: 40px; }
.post-side__toc ol { counter-reset: toc; }
.post-side__toc li { counter-increment: toc; }
.post-side__toc a { display: flex; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.45; color: var(--navy); transition: color .3s; }
.post-side__toc a::before { content: counter(toc, decimal-leading-zero); flex: none; padding-top: 2px; font-size: 11px; font-weight: 500; letter-spacing: .14em; color: var(--accent-d); }
.post-side__toc a:hover, .post-side__toc a.is-active { color: var(--accent-d); }
.post-side__toc a.is-active { font-weight: 500; }
.post-body { max-width: none; font-size: 15px; line-height: 1.8; counter-reset: part; }
.post-body > h2 { counter-increment: part; margin-top: 2.8em; padding-top: 30px; border-top: 1px solid var(--line); font-size: clamp(20px, 1.7vw, 24px); font-weight: 300; letter-spacing: .02em; line-height: 1.15; }
.post-body > h2::before { content: counter(part, decimal-leading-zero); display: block; margin-bottom: 14px; font-size: 11.5px; font-weight: 500; letter-spacing: var(--track); color: var(--accent-d); }
.post-body > h3 { margin-top: 1.8em; font-size: 17px; }
.post-body > .post-fig { margin: 2.6em 0; }
.post-body > .post-fig:first-child { margin-top: 0; }
.post-fig img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post-body blockquote { padding: 6px 0 6px 28px; border-left: 2px solid var(--beige); font-size: 18px; font-weight: 300; font-style: italic; color: var(--navy); }
.post-main { min-width: 0; max-width: 640px; }
.post-faq { margin-top: 2.8em; padding-top: 30px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--top) + 24px); }
.post-faq .eyebrow { margin-bottom: 14px; }
.post-faq__t { margin-bottom: 26px; font-size: clamp(20px, 1.7vw, 24px); font-weight: 300; letter-spacing: .02em; line-height: 1.15; text-transform: uppercase; color: var(--navy); }
.practice { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); margin-top: clamp(56px, 6vw, 80px); background: var(--soft); color: var(--navy); overflow: hidden; }
.practice__img { overflow: hidden; }
.practice__img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; transition: transform .8s var(--ease); }
.practice:hover .practice__img img { transform: scale(1.04); }
.practice__body { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: clamp(24px, 3vw, 36px); }
.practice .eyebrow { margin-bottom: 4px; }
.practice__t { font-size: clamp(17px, 1.5vw, 20px); font-weight: 400; letter-spacing: .04em; line-height: 1.2; text-transform: uppercase; }
.practice__t .h1-loc { display: block; margin-top: 6px; font-size: .6em; letter-spacing: var(--track); color: var(--accent-d); }
.practice__lead { font-size: 14px; font-weight: 300; line-height: 1.6; }
.practice .arrow-link { margin-top: 6px; }
.prose h2[id] { scroll-margin-top: calc(var(--top) + 24px); }

/* ---------- legal / 404 ---------- */

.notfound { padding-block: calc(var(--top) + 80px) var(--sec); text-align: center; }
.notfound .h1 { color: var(--navy); }
.notfound p { margin: 18px auto 32px; color: var(--muted); }

/* ---------- footer ---------- */

.ftr { background: var(--white); border-top: 1px solid var(--line); }
.ftr__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 32px; padding-block: clamp(48px, 6vw, 72px); }
.ftr__top img { width: 150px; height: auto; }
.ftr__tag { text-align: right; }
.ftr__tag p { font-size: clamp(22px, 2.2vw, 32px); font-weight: 300; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.ftr__tag p span { color: var(--navy); font-weight: 700; }
.ftr__tag small { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.ftr__links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; padding-block: 40px 56px; border-top: 1px solid var(--line); }
.ftr__links strong { display: block; margin-bottom: 18px; font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--navy); }
.ftr__links ul { display: grid; gap: 10px; font-size: 14px; font-weight: 400; color: var(--muted); }
.ftr__links a:hover { color: var(--navy); }
.ftr__bottom { background: var(--navy); color: rgba(255, 255, 255, .72); font-size: 13px; }
.ftr__bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding-block: 20px; }
.ftr__bottom ul { display: flex; flex-wrap: wrap; gap: 22px; }
.ftr__bottom a:hover { color: var(--white); }
.ftr__social { display: flex; gap: 8px; margin-left: auto; }
.ftr__social a, .backtop { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-w); color: var(--white); transition: background .2s; }
.ftr__social a:hover, .backtop:hover { background: rgba(255, 255, 255, .12); }

/* ---------- mobile sticky CTA ---------- */

.mcta { display: none; }

/* ---------- home: all activities (tabs + slider) ---------- */

.acts__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; margin-bottom: 28px; }
.acts__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.acts__tabs button { padding: 11px 20px; border: 1px solid rgba(0, 0, 59, .2); font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); transition: background .3s, color .3s, border-color .3s; }
.acts__tabs button:hover { border-color: var(--navy); }
.acts__tabs button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.acts__nav { display: flex; gap: 8px; margin-left: auto; }
.acts__arrow { display: grid; place-items: center; width: 46px; height: 46px; border: 1px solid rgba(0, 0, 59, .2); color: var(--navy); transition: background .3s, color .3s, opacity .3s; }
.acts__arrow:hover { background: var(--navy); color: var(--white); }
.acts__arrow[disabled] { opacity: .3; pointer-events: none; }
.acts__track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; cursor: grab; user-select: none; -webkit-user-select: none; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.acts__track::-webkit-scrollbar { display: none; }
.acts__track.is-gliding { scroll-snap-type: none; scroll-behavior: auto; }
.acts__track.is-dragging { cursor: grabbing; }
.acts__track.is-dragging .act img { transform: none; }
.acts__track img { -webkit-user-drag: none; pointer-events: none; }
.acts__progress { position: relative; height: 2px; margin-top: 24px; background: var(--line); }
.acts__progress span { position: absolute; top: -1px; left: 0; height: 4px; background: var(--navy); transition: width .3s var(--ease); }
.act { position: relative; flex: 0 0 calc((100% - 48px) / 4.35); aspect-ratio: 4 / 5; overflow: hidden; scroll-snap-align: start; color: var(--white); background: var(--navy); }
.act img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.act::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 59, .05) 35%, rgba(0, 0, 59, .85) 100%); }
.act:hover img { transform: scale(1.05); }
.act--all { display: flex; align-items: flex-end; border: 1px solid var(--navy); }
.act--all::after { content: none; }
/* photo slider of a club event (Notre histoire): landscape cards, wider than the activity ones */
.act--photo { margin: 0; }
.acts--photos .act { flex-basis: calc((100% - 24px) / 2.6); aspect-ratio: 3 / 2; }
@media (max-width: 1000px) { .acts--photos .act { flex-basis: calc((100% - 12px) / 1.6); } }
@media (max-width: 560px) { .acts--photos .act { flex-basis: 86%; } }
.act--all .act__body b { margin-top: 8px; font-weight: 300; font-size: clamp(20px, 1.7vw, 26px); line-height: 1.15; }
.act--all .act__body small { color: var(--beige); }
.act__go { display: grid; place-items: center; width: 46px; height: 46px; margin-top: 22px; border: 1px solid rgba(255, 255, 255, .4); transition: background .3s, color .3s; }
.act--all:hover .act__go { background: var(--white); color: var(--navy); }
.act__body { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 1; }
.act__body b { display: block; font-size: clamp(17px, 1.4vw, 21px); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.act__body small { display: block; margin-top: 6px; font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }

/* ---------- home: golf & restaurant ---------- */

.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.duo__card { display: flex; flex-direction: column; background: var(--white); }
.duo__img { overflow: hidden; aspect-ratio: 2 / 1; }
.duo__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.duo__img .pos-62 { object-position: center 62%; }
.duo__card:hover .duo__img img { transform: scale(1.04); }
.duo__body { display: flex; flex-direction: column; flex: 1; padding: clamp(20px, 2vw, 28px); }
.duo__body small { font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--accent-d); }
.duo__body h3 { margin-top: 10px; font-size: clamp(19px, 1.6vw, 23px); font-weight: 300; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.duo__body p { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.duo__body .arrow-link { align-self: flex-start; margin-top: auto; padding-top: 18px; }

@media (max-width: 1000px) {
  .act { flex-basis: calc((100% - 24px) / 2.6); }
}
@media (max-width: 900px) {
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .act { flex-basis: 72%; }
  .acts__nav { display: none; }
  .acts__bar:not(:has(.acts__tabs)) { display: none; }
  .acts__tabs button { padding: 10px 14px; letter-spacing: .12em; }
}

/* ---------- philosophy (home): full-bleed photo + navy panel ---------- */

.philo { display: grid; grid-template-columns: 1fr 1fr; background: var(--navy); color: var(--white); }
.philo__img { position: relative; min-height: clamp(300px, 28vw, 400px); overflow: hidden; }
.philo__img img { position: absolute; top: 0; left: 0; width: 100%; height: 132%; object-fit: cover; object-position: center 20%; }
.philo__copy { align-self: center; max-width: 620px; padding: clamp(40px, 4.5vw, 64px) var(--pad) clamp(40px, 4.5vw, 64px) clamp(32px, 6vw, 96px); }
.philo .h2 { color: var(--white); font-size: clamp(24px, 2.2vw, 32px); }
.philo__copy > p { margin-top: 20px; font-size: clamp(15px, 1.1vw, 16px); line-height: 1.7; color: rgba(255, 255, 255, .8); }
.philo__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
@media (max-width: 900px) {
  .philo { grid-template-columns: 1fr; }
  .philo__img { min-height: 0; aspect-ratio: 3 / 2; }
  .philo__copy { max-width: none; padding: 56px var(--pad); }
}
@media (max-width: 560px) {
  .philo__cta .btn { width: 100%; }
}
/* ---------- reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .stagger > * { opacity: 0; transform: translateY(12px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .stagger.is-in > * { opacity: 1; transform: none; }
.js .stagger.is-in > :nth-child(2) { transition-delay: .07s; }
.js .stagger.is-in > :nth-child(3) { transition-delay: .14s; }
.js .stagger.is-in > :nth-child(4) { transition-delay: .21s; }
.js .stagger.is-in > :nth-child(5) { transition-delay: .28s; }
.js .stagger.is-in > :nth-child(6) { transition-delay: .35s; }
.js .stagger.is-in > :nth-child(7) { transition-delay: .42s; }
.js .stagger.is-in > :nth-child(8) { transition-delay: .49s; }
.js .stagger.is-in > :nth-child(n+9) { transition-delay: .56s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .stagger > * { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */

@media (max-width: 1320px) {
  .nav, .hdr__member { display: none; }
  .hdr__actions { margin-left: auto; }
  .burger { display: block; }
  
  .ftr__links { grid-template-columns: repeat(3, 1fr); }
  .bento { grid-auto-rows: clamp(180px, 23vh, 210px); }
}

@media (max-width: 900px) {
  .post-layout { grid-template-columns: 1fr; }
  .practice { grid-template-columns: 1fr; }
  .practice__img img { min-height: 0; aspect-ratio: 16 / 9; }
  .post-side__in { position: static; max-height: none; }
  .post-side__toc { margin-top: 28px; }
  :root { --hdr: 72px; }
  body { font-size: 15px; }
  .hdr__logo { width: 96px; }
  .hdr__actions .btn { display: none; }
  .intro__in { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .bento__card { grid-column: span 1; grid-row: span 1; }
  .bento__card--lg { grid-column: span 2; }
  
  /* mobile order of the home univers: fitness, raquettes, bien-être, then golf and club enfant */
  .bento__card--m4 { order: 1; }
  .bento__card--m5 { order: 2; }
  
  .story, .detail, .editorial, .faq, .booking { grid-template-columns: 1fr; }
  .story .story__img { order: 2; }
  .story--rev { grid-template-columns: 1fr; }
  .story__img, .detail__visual { min-height: 0; aspect-ratio: 4 / 3; }
  .story__img::before, .detail__visual::before { display: none; }
  .story:not(.story--text) .story__copy, .detail__copy { padding-block: 0; }
  .faq__head { position: static; }
  .reviews, .news { grid-template-columns: 1fr; }
  .attr { grid-template-columns: 1fr; gap: 28px; }
  .practical { grid-template-columns: 1fr; }
  .practical__map { grid-column: auto; grid-row: auto; min-height: 300px; margin-top: 24px; }
  .practical__map iframe { min-height: 300px; }
  .timeline { grid-template-columns: 1fr; gap: 40px; padding: 0 0 0 28px; }
  .timeline::before { top: 6px; bottom: 0; left: 4px; right: auto; width: 1px; height: auto; }
  .timeline li::before { top: 6px; left: -28px; }
  .ftr__tag { text-align: left; }
  .ftr__tag p { font-size: min(22px, 4.3vw); white-space: nowrap; }
  .ftr__links { grid-template-columns: 1fr 1fr; }
  .lightbox { grid-template-columns: 48px 1fr 48px; }
}

@media (max-width: 560px) {
  .mcta { display: block; position: fixed; inset: auto 0 0; z-index: 90; transform: translateY(110%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--white); border-top: 1px solid var(--line); }
  .mcta .btn { width: 100%; }
  .phero__cta .is-sticky-dup { display: none; }
  .mcta.is-on { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
  body:has(.mcta) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .menu-open .mcta { display: none; }
  
  .trust li { padding: 22px 14px; }
  .ann { font-size: 9.5px; letter-spacing: .1em; line-height: 1.35; white-space: normal; }
  .ann .i { display: none; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .bento__card--lg { grid-column: span 1; }
  .form__row, .points { grid-template-columns: 1fr; }
  .hhero__cta .btn, .phero__cta .btn { width: 100%; }
  .ftr__social { margin-left: 0; }
}

/* ---------- navy band (one per page: a text + image block, or the quote) ---------- */

.sec--navy .eyebrow { color: rgba(255, 255, 255, .86); }
.sec--navy .story__copy .prose, .sec--navy .detail__copy .prose { color: rgba(255, 255, 255, .78); }
.sec--navy .prose strong, .sec--navy .prose h2, .sec--navy .prose h3 { color: var(--white); }
.sec--navy .prose ul li::before { background: var(--white); }
.sec--navy .prose ol:not(.steps) li::before { color: var(--beige); }
.sec--navy .prose a:not(.arrow-link):not(.btn) { text-decoration-color: rgba(255, 255, 255, .35); }
.sec--navy .prose a:not(.arrow-link):not(.btn):hover { text-decoration-color: currentColor; }
.sec--navy .arrow-link, .sec--navy .story__cta .arrow-link .i { color: var(--white); }
.sec--navy .story__img { background: var(--navy-2); }

.sec--navy .story--text { background: transparent; }
.quote.sec--navy blockquote { color: var(--white); }
.quote.sec--navy blockquote::before { background: var(--beige); }

/* ---------- anchor bar (activity pages): sticky under the header, the section being read is marked ---------- */

:root { --abar: 56px; }
html:has(.anchors) { scroll-padding-top: calc(var(--top) + var(--abar)); }
.anchors { position: sticky; top: var(--top); z-index: 97; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); backdrop-filter: saturate(1.2) blur(16px); -webkit-backdrop-filter: saturate(1.2) blur(16px); transition: transform .38s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
/* scrolling down with the bar stuck: banner + header slide away and the bar rises with them, as one block
   (transform only, same timing on both: no layout work while it moves; main.js, « hdr-away ») */
html:has(.anchors) .hdr { transition: background .45s var(--ease), color .45s, border-color .45s, height .45s var(--ease), transform .38s cubic-bezier(.4, 0, .2, 1); will-change: transform; }
.hdr-away .hdr { transform: translateY(-100%); }
.hdr-away .anchors { transform: translateY(calc(-1 * var(--top))); }
html.hdr-away:has(.anchors) { scroll-padding-top: var(--abar); }
.anchors__in { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 3vw, 44px); height: var(--abar); padding-inline: var(--pad); }
.anchors a { position: relative; padding: 6px 0; font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; color: var(--navy); opacity: .6; transition: opacity .25s; }
.anchors a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .3s var(--ease); }
.anchors a:hover, .anchors a[aria-current] { opacity: 1; }
.anchors a[aria-current]::after { transform: scaleX(1); }
/* last link: the visit band, the call to action of the bar */
.anchors a.anchors__cta { opacity: 1; font-weight: 600; }
@media (max-width: 900px) {
  :root { --abar: 52px; }
  .anchors__in { justify-content: flex-start; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--pad); scrollbar-width: none;
    -webkit-mask: linear-gradient(90deg, #000 85%, transparent); mask: linear-gradient(90deg, #000 85%, transparent); }
  .anchors__in::-webkit-scrollbar { display: none; }
  .anchors__in::after { content: ""; flex: none; width: 24px; }
  .anchors a { flex: none; scroll-snap-align: start; padding: 8px 14px; border: 1px solid rgba(0, 0, 59, .2); font-size: 10.5px; letter-spacing: .14em; opacity: 1; transition: background .3s, color .3s, border-color .3s; }
  .anchors a::after { display: none; }
  .anchors a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--white); }
  .anchors a.anchors__cta { border-color: var(--navy); }
}
.anchors ~ .sec .faq__head { top: calc(var(--top) + var(--abar) + 24px); }

/* Bloc photo "wide" : moitié/moitié, la photo prend exactement la hauteur du texte */
.story--wide { align-items: stretch; }
.story--wide .story__img { align-self: stretch; min-height: clamp(340px, 30vw, 460px); }
.story--wide .story__img::before { display: none; }
.detail--wide { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.detail--wide .detail__visual { align-self: stretch; min-height: clamp(340px, 30vw, 460px); }
.detail--wide .detail__visual::before { display: none; }
@media (max-width: 900px) { .detail--wide { grid-template-columns: 1fr; } .story--wide .story__img, .detail--wide .detail__visual { min-height: 0; aspect-ratio: 3 / 2; } }

/* Compact header links */
.hdr__icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 36px; }
.hdr__icon .i { width: 22px; height: 22px; }
.hdr__icon:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (max-width: 1100px) { .hdr__icon { display: none; } }
/* member login: kept in the header next to the burger once the menu collapses */
@media (max-width: 1320px) { .hdr .hdr__login { display: inline-flex; } }

/* Padel lesson formats */
.story--text .story__copy:has(.course-options), .story--text .prose:has(.course-options) { width: 100%; max-width: 980px; }
.course-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 36px; text-align: center; }
.course-option { padding: 24px 40px; background: none; border: 0; border-radius: 0; }
.course-option + .course-option { border-left: 2px solid var(--navy); }
.course-options .course-option h3 { font-size: 27px; line-height: 1.25; color: #00003b; margin: 0 0 16px; }
.course-options .course-option p { font-size: 17px; line-height: 1.7; color: #333; margin: 0; }
@media (max-width: 700px) { .course-options { grid-template-columns: 1fr; } .course-option { padding: 26px 20px; } .course-option + .course-option { border-left: 0; border-top: 2px solid var(--navy); } }
/* on a navy band: light text and divider */
.sec--navy .course-options .course-option h3 { color: var(--white); }
.sec--navy .course-options .course-option p { color: rgba(255, 255, 255, .82); }
.sec--navy .course-option + .course-option { border-color: rgba(255, 255, 255, .3); }
/* next to a photo: the options stacked, left-aligned */
.story:not(.story--text) .course-options { grid-template-columns: 1fr; margin-top: 26px; text-align: left; }
.story:not(.story--text) .course-option { padding: 18px 0; }
.story:not(.story--text) .course-option + .course-option { border-left: 0; border-top: 1px solid var(--line); }
.sec--navy .story:not(.story--text) .course-option + .course-option { border-top-color: rgba(255, 255, 255, .25); }
.story:not(.story--text) .course-options .course-option h3 { font-size: 22px; margin-bottom: 8px; }
.story:not(.story--text) .course-options .course-option p { font-size: 15.5px; }

/* Readable treatment tab labels, original underline layout */
.carte__tabs button { color: rgba(255,255,255,.9); font-weight: 500; }
.carte__tabs button:hover, .carte__tabs button[aria-selected="true"] { color: #fff; font-weight: 600; }
.carte__tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 6px; }
.carte__panel h3 { color: #fff; }
/* Show the treatment heading inside the selected category */
.carte__panel h3, .js .carte__panel h3 { display: block; color: #fff; font-size: clamp(20px, 2vw, 26px); line-height: 1.4; letter-spacing: .02em; text-transform: none; margin-bottom: 24px; }
/* Give the lounge photograph more space */
.detail:has(img[src="/assets/img/bar-lounge-interieur-plaisir.jpg"]) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 80px); }
.detail__visual:has(img[src="/assets/img/bar-lounge-interieur-plaisir.jpg"])::before { padding-top: 66%; }
@media (max-width: 900px) { .detail:has(img[src="/assets/img/bar-lounge-interieur-plaisir.jpg"]) { grid-template-columns: 1fr; } }
.review-nav { display: none; }
@media (max-width: 700px) {
  .acts { display: flex; flex-direction: column; }
  .acts__bar { display: contents; }
  .acts__tabs { order: 0; margin-bottom: 24px; }
  .acts__panel { order: 1; min-width: 0; }
  .acts__nav { display: flex; order: 2; justify-content: flex-start; margin: 20px 0 0; }
  .acts__progress { order: 3; }
  .reviews { display: flex; overflow-x: auto; gap: 16px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .reviews::-webkit-scrollbar { display: none; }
  .reviews .review { flex: 0 0 90%; min-width: 0; scroll-snap-align: start; }
  .review-nav { display: flex; justify-content: flex-start; gap: 8px; margin-top: 20px; }
}
.prose .activity-list li::before { display: none; }
.prose .activity-list li { padding-left: 0; }

.prose .activity-list { margin-top: 24px; }
.prose .activity-list li { padding: 9px 0; }
.prose .activity-list li strong { color: var(--navy); font-weight: 600; font-size: 17px; }

/* Mobile : les photos des blocs texte + image et des articles prennent toute la largeur de l'écran */
@media (max-width: 900px) {
  .story__img, .detail__visual, .post-body > .post-fig { width: 100vw; max-width: none; margin-inline: calc(50% - 50vw); border-radius: 0; }
}

/* Video block: photo poster + play button, YouTube player on click */
.story__play { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0, 0, 59, .25); cursor: pointer; transition: background .3s var(--ease); }
.story__play::before { content: ""; position: absolute; top: 50%; left: 50%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border: 1px solid var(--white); border-radius: 50%; }
.story__play::after { content: ""; position: absolute; top: 50%; left: 50%; margin: -11px 0 0 -6px; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--white); }
.story__play:hover { background: rgba(0, 0, 59, .4); }
.story__img--video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Pilates Reformer page (content of the pre-registration landing page) */
.rf-planning__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px clamp(48px, 8vw, 120px); align-items: center; }
.rf-planning .lead { margin-top: 24px; color: rgba(255, 255, 255, .78); }
.rf-planning__note { margin-top: 22px; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .7); }
.rf-week { border-top: 1px solid var(--line-w); }
.rf-week li { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line-w); }
.rf-week b { font-size: 12px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.rf-week span { font-size: clamp(21px, 2vw, 29px); font-weight: 300; line-height: 1; letter-spacing: .02em; }
.rf-week i { font-style: normal; padding: 0 .2em; color: var(--beige); }
.rf-offers__head { max-width: 660px; margin-bottom: clamp(48px, 6vw, 80px); }
.rf-offer-list { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-auto-flow: dense; gap: 18px; align-items: stretch; }
.rf-offer { display: flex; flex-direction: column; min-width: 0; grid-column: 2; padding: clamp(20px, 2vw, 28px); background: rgba(255, 255, 255, .5); border: 1px solid var(--line); border-top: 2px solid var(--line); color: var(--navy); }
.rf-offer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 12px; }
.rf-offer__step { white-space: nowrap; font-size: 11px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; opacity: .6; }
.rf-offer__badge { padding: 5px 10px; border: 1px solid rgba(0, 0, 59, .2); font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; opacity: .8; }
.rf-offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 16px; }
.rf-offer__price b { font-size: clamp(34px, 3vw, 44px); font-weight: 300; line-height: 1; opacity: .55; }
.rf-offer__price span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.rf-offer__was { margin-top: 6px; font-size: 13px; }
.rf-offer__was s { opacity: .55; }
.rf-offer__list { display: grid; gap: 4px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; }
.rf-offer__list b { font-weight: 700; }
.rf-offer.is-past { opacity: .45; }
.rf-offer.is-past .rf-offer__price b { text-decoration: line-through; text-decoration-thickness: 1px; }
.rf-offer.is-current { grid-column: 1; grid-row: span 2; padding: clamp(28px, 3vw, 40px); background: var(--white); border-color: var(--white); border-top: 3px solid var(--beige); box-shadow: var(--shadow); }
.rf-offer.is-current .rf-offer__badge { background: var(--beige); border-color: var(--beige); opacity: 1; }
.rf-offer.is-current .rf-offer__price { margin-top: 34px; }
.rf-offer.is-current .rf-offer__price b { font-size: clamp(64px, 6.4vw, 96px); opacity: 1; }
.rf-offer.is-current .rf-offer__was { margin-top: 14px; font-size: 14px; }
.rf-offer.is-current .rf-offer__list { gap: 10px; margin: 24px 0 32px; padding-top: 22px; font-size: 14.5px; }
.rf-offer__btn { margin-top: auto; align-self: stretch; justify-content: center; }
.rf-offers__foot { display: grid; grid-template-columns: 1fr 1.6fr; gap: 18px 48px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--navy); }
.rf-offers__foot b { font-weight: 700; }
.rf-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin-top: 34px; border-top: 1px solid var(--line); }
.rf-points li { padding: 18px 0; border-bottom: 1px solid var(--line); }
.rf-points b { display: block; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.rf-points small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--muted); }
.rf-formcard__offer { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: calc(-1 * clamp(28px, 4vw, 52px)) calc(-1 * clamp(28px, 4vw, 52px)) 28px; padding: 16px clamp(28px, 4vw, 52px); background: var(--navy); color: var(--white); }
.rf-formcard__offer > span { font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--beige); }
.rf-formcard__offer b { font-size: 22px; font-weight: 700; white-space: nowrap; }
.rf-formcard__offer small { font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.rf-choice { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.rf-choice legend { float: left; width: 100%; margin-bottom: 4px; padding: 0; font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.rf-choice label { position: relative; cursor: pointer; }
.rf-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rf-choice span { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; min-height: 46px; padding: 0 22px; background: var(--soft); border: 1px solid transparent; border-bottom-color: rgba(0, 0, 59, .2); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.rf-choice label:hover span { border-color: var(--navy); }
.rf-choice input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.rf-choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.rf-choice.is-invalid span { border-color: #d64545; }
.rf-check { display: flex; gap: 12px; align-items: flex-start; margin: 18px 0; font-size: 13.5px; line-height: 1.55; color: var(--ink); cursor: pointer; }
.rf-check input { flex: none; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--navy); }
.rf-facts { display: grid; grid-template-columns: repeat(6, 1fr); gap: 24px; margin-top: clamp(48px, 6vw, 80px); padding-top: 32px; border-top: 1px solid var(--line); }
.rf-facts strong { display: block; font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; line-height: 1; color: var(--navy); }
.rf-facts span { display: block; margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }
@media (max-width: 1000px) {
  .rf-planning__in { grid-template-columns: 1fr; }
  .rf-offer-list { grid-template-columns: 1fr 1fr; }
  .rf-offer, .rf-offer.is-current { grid-column: auto; }
  .rf-offer.is-current { grid-column: 1 / -1; grid-row: auto; order: -1; }
  .rf-offers__foot { grid-template-columns: 1fr; }
  .rf-facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .rf-points { grid-template-columns: 1fr; }
  .rf-facts { grid-template-columns: repeat(2, 1fr); }
}

/* HYROX Training Club (hx-): the 8 race stations, coaches, free-access days in the planning (rf-week), event page */
.hx-stations { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 28px; margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); counter-reset: none; }
.hx-stations li { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; align-items: baseline; padding: 22px 0; border-bottom: 1px solid var(--line); }
.hx-stations span { grid-row: span 2; font-size: clamp(26px, 2.4vw, 34px); font-weight: 300; line-height: 1; color: var(--beige); }
.hx-stations b { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.hx-stations small { font-size: 14px; color: var(--muted); }
.hx-stations__note { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.rf-week .is-free span { font-size: 13px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: rgba(255, 255, 255, .6); }

.hx-event { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.hx-event li { padding: clamp(22px, 2.4vw, 32px); background: var(--white); border-top: 3px solid var(--beige); box-shadow: var(--shadow); }
.hx-event b { display: block; font-size: 11.5px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--navy); opacity: .7; }
.hx-event strong { display: block; margin-top: 14px; font-size: clamp(24px, 2.2vw, 32px); font-weight: 300; line-height: 1.15; color: var(--navy); }
.hx-event small { display: block; margin-top: 10px; font-size: 14px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1000px) { .hx-stations { grid-template-columns: repeat(2, 1fr); } .hx-event { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hx-stations, .hx-event { grid-template-columns: 1fr; } }
.hx-prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 820px; margin-top: clamp(32px, 4vw, 48px); }
.hx-prices li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 22px 26px; background: var(--navy); color: var(--white); }
.hx-prices b { flex-basis: 100%; font-size: 11.5px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--beige); }
.hx-prices strong { margin-top: 6px; font-size: clamp(32px, 3vw, 42px); font-weight: 300; line-height: 1; }
.hx-prices small { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; opacity: .75; }
.hx-combos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; max-width: 820px; margin-top: 18px; border-top: 1px solid var(--line); }
.hx-combos li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--navy); }
.hx-combos b { font-size: 18px; font-weight: 300; }

.hx-form__note { margin-top: 6px; font-size: 13px; color: var(--muted); }
.rf-check.is-invalid span { color: var(--error); }
.hx-recap { max-width: 560px; margin: 32px 0; border-top: 1px solid var(--line); }
.hx-recap li { display: flex; justify-content: space-between; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--navy); }
.hx-recap b { font-size: 11.5px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; opacity: .7; }
@media (max-width: 1000px) { .hx-combos { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .hx-prices { grid-template-columns: 1fr; } }
.hx-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 30px; counter-reset: none; }
.hx-steps li { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 3px solid var(--line); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); opacity: .45; transition: opacity .25s, border-color .25s; }
.hx-steps span { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; font-size: 10.5px; letter-spacing: 0; }
.hx-steps .is-done { opacity: .8; border-top-color: var(--beige); }
.hx-steps .is-done span { background: var(--beige); border-color: var(--beige); color: var(--navy); }
.hx-steps .is-current { opacity: 1; border-top-color: var(--navy); }
.hx-steps .is-current span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.hx-step__title { font-size: clamp(22px, 2vw, 28px); font-weight: 300; line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.hx-step__sub { margin: 8px 0 24px; font-size: 14px; color: var(--muted); }
.hx-step__foot { display: flex; align-items: center; justify-content: flex-end; gap: 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.hx-step__foot .hx-back { margin-right: auto; }
.hx-back { padding: 0; background: none; border: 0; font: inherit; font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--navy); opacity: .7; cursor: pointer; }
.hx-back::before { content: "← "; }
.hx-back:hover { opacity: 1; }
@media (max-width: 480px) { .hx-steps li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 9.5px; letter-spacing: .1em; } .hx-step__foot .btn { flex: 1; justify-content: center; } }
.hx-planning__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 28px; }
.hx-team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 64px); }
.hx-team__lead { padding: clamp(28px, 3vw, 44px); background: var(--navy); color: var(--white); }
.hx-team__name { font-size: clamp(34px, 3.4vw, 48px); font-weight: 300; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.hx-team__role { margin: 12px 0 18px; font-size: 12px; font-weight: 500; letter-spacing: var(--track); text-transform: uppercase; color: var(--beige); }
.hx-team__lead > p:last-child { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .8); }
.hx-team__crew { padding: clamp(28px, 3vw, 44px); background: var(--soft); }
.hx-team__intro { font-size: 15px; line-height: 1.6; color: var(--navy); }
.hx-team__crew ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; margin-top: 20px; border-top: 1px solid var(--line); }
.hx-team__crew li { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; font-weight: 300; letter-spacing: .06em; text-transform: uppercase; color: var(--navy); }
@media (max-width: 800px) { .hx-team { grid-template-columns: 1fr; } }
/* pages without the announcement bar (« noBanner » in site.json: HYROX event) */
:root:has(.hdr--noann) { --bar: 0px; }

/* HYROX: confirmation page (back from Stripe), solid header, no hero */
.hx-confirm { padding-top: calc(var(--top) + clamp(48px, 6vw, 88px)); }
.hx-confirm .reveal { max-width: 820px; }
.hx-thanks__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Pop-in (home: next event): small card at the top right under the header (bottom on mobile), the page stays usable (non-modal <dialog>) */
.pop { position: fixed; inset: calc(var(--top) + 32px) 32px auto auto; z-index: 98; margin: 0; width: 500px; max-width: calc(100vw - 24px); padding: 0; border: 0; background: var(--navy); color: var(--white); box-shadow: 0 18px 50px rgba(0, 0, 30, .35); overflow: hidden; display: none; grid-template-columns: 170px 1fr; }
.pop[open] { display: grid; animation: rise .5s var(--ease) both; }
.pop__img { position: relative; }
.pop__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pop__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 28px 44px 28px 28px; }
.pop .eyebrow { font-size: 11px; }
.pop__title { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: .02em; text-transform: uppercase; }
.pop__lead { font-size: 16px; font-weight: 300; line-height: 1.4; color: rgba(255, 255, 255, .9); }
.pop__date { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--beige); }
.pop .btn { margin-top: 10px; }
.pop__close { position: absolute; z-index: 1; top: 6px; right: 8px; width: 40px; height: 40px; font-size: 28px; line-height: 1; color: var(--white); opacity: .8; }
.pop__close:hover { opacity: 1; }
/* smaller laptops: bottom right, so the card never covers the hero title */
@media (max-width: 1400px) and (min-width: 761px) { .pop { inset: auto 24px 24px auto; } }
/* mobile: a big card in the middle of the screen on arrival, the page dimmed around it (shadow only: nothing blocked) */
@media (max-width: 760px) {
  .pop { inset: 0 16px; height: fit-content; max-height: calc(100dvh - 32px); margin: auto 0; width: auto; grid-template-columns: 1fr; overflow-y: auto; box-shadow: 0 0 0 100vmax rgba(0, 0, 20, .55), 0 18px 50px rgba(0, 0, 30, .35); }
  .pop__img { aspect-ratio: 16 / 10; }
  .pop__body { padding: 24px 24px 28px; gap: 8px; }
  .pop__title { font-size: 32px; }
  .pop__lead { font-size: 16px; }
  .pop .btn { margin-top: 12px; }
  .pop__close { top: 8px; right: 8px; }
}


/* HYROX: places left (« Plus que X places », filled by hyrox.js from the Make counter) */
.hx-left { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; padding: 9px 16px; background: var(--navy); color: var(--white); font-size: 11.5px; font-style: normal; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hx-left::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--beige); animation: hx-pulse 1.6s ease-in-out infinite; }
.hx-left.is-full { background: var(--beige); color: var(--navy); }
.hx-left.is-full::before { display: none; }
.hx-left[hidden] { display: none; }
.hx-event .hx-left { margin-top: 14px; }
@keyframes hx-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .hx-left::before { animation: none; } }
.rf-formcard__offer[hidden] { display: none; }
