/* =========================================================
   Babylon Discus, système « Ligne de vol »
   MOBILE FIRST : la base vise le téléphone (360 px),
   les @media (min-width) enrichissent pour tablette et desktop.
   Une seule famille (Archivo, largeur variable), accent par la graisse.
   ========================================================= */

:root {
  --ink: #0c110d;
  --forest: #111a14;
  --moss: #1c2c21;
  --moss-2: #26392b;
  --paper: #f2eee3;
  --paper-2: #e6e0cf;
  --gold: #ffd21f;
  --gold-2: #f2bd00;
  --gold-3: #a87f00;
  --text: #f4f1e8;
  --text-dim: rgba(244, 241, 232, 0.68);
  --ink-dim: rgba(12, 17, 13, 0.66);
  --line: rgba(244, 241, 232, 0.14);
  --line-ink: rgba(12, 17, 13, 0.14);

  --font: "Archivo", ui-sans-serif, system-ui, sans-serif;
  /* Tailles pensées pour qu'un mot de 12 lettres tienne à 360 px */
  --fs-hero: clamp(2.5rem, 12.4vw, 10rem);
  --fs-h1: clamp(2.2rem, 10vw, 6.4rem);
  --fs-h2: clamp(1.9rem, 8.2vw, 4.4rem);
  --fs-h3: clamp(1.25rem, 5vw, 1.7rem);
  --fs-lead: clamp(1.05rem, 1.4vw + 0.6rem, 1.3rem);
  --fs-body: 1rem;
  --fs-small: 0.86rem;

  --gutter: clamp(16px, 4.5vw, 80px);
  --max: 1680px;
  --radius: 18px;
  --radius-lg: 26px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --nav-h: 82px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
p, li, small, label { overflow-wrap: break-word; }
/* Jamais de mot coupé dans les titres : on dimensionne pour que les mots tiennent */
h1, h2, h3, h4, .display { overflow-wrap: normal; word-break: normal; hyphens: manual; }
p, li { text-wrap: pretty; }
em, i, cite { font-style: normal; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top 0.2s var(--ease-out); }
.skip:focus { top: 16px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.only-d { display: none; }
@media (min-width: 721px) { .only-m { display: none; } .only-d { display: inline; } }

/* grain */
body::after {
  content: ""; position: fixed; inset: -50%; pointer-events: none; z-index: 150; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Typographie ---------- */
.display {
  font-weight: 850;
  font-variation-settings: "wdth" 104;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
@media (min-width: 861px) { .display { font-variation-settings: "wdth" 114; line-height: 0.9; } }
.h1 { font-size: var(--fs-h1); }
.h2 { font-size: var(--fs-h2); }
.h3 { font-size: var(--fs-h3); font-weight: 750; font-variation-settings: "wdth" 104; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--text-dim); max-width: 40ch; }
.s--paper .lead, .s--gold .lead { color: var(--ink-dim); }
.gold { color: var(--gold); }
.num { font-weight: 900; font-variation-settings: "wdth" 118; font-variant-numeric: tabular-nums; line-height: 0.85; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: var(--fs-small); font-weight: 650; color: var(--gold); letter-spacing: 0.02em; }
.kicker::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.s--paper .kicker { color: var(--gold-3); }

/* ---------- Boutons ---------- */
.btn {
  --bg: transparent; --fg: var(--text); --bd: var(--line);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 50px; max-width: 100%;
  padding: 0.85em 1.4em;
  border-radius: 999px;
  background: var(--bg); color: var(--fg);
  border: 1.5px solid var(--bd);
  font-weight: 680; font-size: 0.98rem; font-variation-settings: "wdth" 102;
  line-height: 1.15; text-align: center;
  transition: transform 0.16s var(--ease-out), background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s var(--ease-out); }
.btn:active { transform: scale(0.97); }
.btn--gold { --bg: var(--gold); --fg: var(--ink); --bd: var(--gold); }
.btn--ink { --bg: var(--ink); --fg: var(--text); --bd: var(--ink); }
.s--paper .btn--ghost { --fg: var(--ink); --bd: var(--line-ink); }
.btn--lg { min-height: 56px; font-size: 1.02rem; }
.btns { display: flex; flex-direction: column; gap: 10px; }
.btns .btn { width: 100%; }
@media (min-width: 600px) {
  .btns { flex-direction: row; flex-wrap: wrap; gap: 12px; }
  .btns .btn { width: auto; }
  .btn--lg { padding: 1em 1.8em; }
}
@media (hover: hover) {
  .btn:hover svg { transform: translateX(3px); }
  .btn--gold:hover { --bg: #ffe066; --bd: #ffe066; }
  .btn--ghost:hover { --bd: var(--text); }
  .btn--ink:hover { --bg: var(--moss); --bd: var(--moss); }
  .s--paper .btn--ghost:hover { --bd: var(--ink); }
}

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; padding: 10px 12px; pointer-events: none; }
.nav__bar {
  pointer-events: auto; max-width: var(--max); margin-inline: auto;
  display: flex; align-items: center; gap: 24px;
  height: 66px; padding: 0 9px 0 14px;
  border-radius: 999px; border: 1px solid transparent;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.35s var(--ease-out);
}
.nav.is-scrolled .nav__bar, .menu-open .nav__bar {
  background: rgba(12, 17, 13, 0.78); border-color: var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.nav.is-hidden .nav__bar { transform: translateY(-130%); }
.nav__logo { display: block; flex: 0 0 auto; transition: transform 0.2s var(--ease-out); }
.nav__logo img { height: 48px; width: auto; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.35)); }
.nav__logo:active { transform: scale(0.97); }
.nav__links, .nav__cta { display: none; }
.nav__burger { width: 48px; height: 48px; border-radius: 50%; position: relative; margin-left: auto; background: rgba(244, 241, 232, 0.1); }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.25s var(--ease-out); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:nth-child(2) { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90; background: var(--ink);
  padding: calc(var(--nav-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 30px; overflow-y: auto;
  opacity: 0; visibility: hidden;
  transition: opacity 0.22s var(--ease-out), visibility 0s linear 0.22s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.25s var(--ease-out); }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line);
  font-size: clamp(1.8rem, 8.6vw, 3rem); font-weight: 850; font-variation-settings: "wdth" 108;
  text-transform: uppercase; line-height: 1;
  opacity: 0; transform: translateY(14px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), color 0.15s;
}
.menu__links a small { font-size: 0.8rem; font-weight: 600; color: var(--gold); font-variation-settings: "wdth" 100; }
.menu__links a[aria-current] { color: var(--gold); }
.menu.is-open .menu__links a { opacity: 1; transform: none; }
.menu.is-open .menu__links a:nth-child(2) { transition-delay: 30ms; }
.menu.is-open .menu__links a:nth-child(3) { transition-delay: 60ms; }
.menu.is-open .menu__links a:nth-child(4) { transition-delay: 90ms; }
.menu.is-open .menu__links a:nth-child(5) { transition-delay: 120ms; }
.menu__foot { display: grid; gap: 20px; }
.menu__foot p { color: var(--text-dim); line-height: 1.9; }

@media (min-width: 961px) {
  :root { --nav-h: 96px; }
  .nav { padding: 14px var(--gutter); }
  .nav__bar { height: 78px; padding: 0 12px 0 20px; gap: 28px; }
  .nav__logo img { height: 58px; }
  .nav.is-scrolled .nav__logo img { height: 50px; }
  .nav__logo img { transition: height 0.3s var(--ease-out); }
  .nav__burger, .menu { display: none; }
  .nav__links { display: flex; gap: 4px; margin-left: auto; }
  .nav__cta { display: inline-flex; min-height: 44px; padding: 0.7em 1.2em; font-size: 0.92rem; }
  .nav__links a { position: relative; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 0.96rem; color: var(--text-dim); transition: color 0.18s var(--ease-out), background-color 0.18s var(--ease-out); }
  .nav__links a:hover { color: var(--text); background: rgba(244, 241, 232, 0.07); }
  .nav__links a[aria-current] { color: var(--text); }
  .nav__links a[aria-current]::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--gold); }
}

/* ---------- Sections ---------- */
.s { position: relative; padding-block: clamp(72px, 11vw, 160px); }
.s--paper { background: var(--paper); color: var(--ink); }
.s--moss { background: var(--forest); }
.s--gold { background: var(--gold); color: var(--ink); }
.s__head { display: grid; gap: 18px; margin-bottom: clamp(36px, 6vw, 80px); }
@media (min-width: 861px) { .s__head--split { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); align-items: end; gap: 40px; } }

/* Révélations */
.js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.6s var(--ease), transform 0.7s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; }
.js [data-reveal="scale"] { transform: scale(0.96); }
/* marge haute pour ne jamais rogner les accents des capitales (É, Î) */
.mask { display: block; overflow: hidden; padding: 0.2em 0.04em 0.1em; margin: -0.2em -0.04em -0.1em; }
.mask > span { display: block; }
.js [data-lines] .mask > span { transform: translateY(108%); transition: transform 0.85s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + var(--d, 0ms)); }
.js [data-lines].is-in .mask > span { transform: none; }

/* ---------- Disque 3D ---------- */
.disc3d {
  --d: 120px; --tx: 0px; --ty: 0px; --rx: 64deg; --ry: -10deg; --s: 1;
  position: absolute; width: var(--d); height: var(--d);
  pointer-events: none; transform-style: preserve-3d;
  transform: translate3d(var(--tx), var(--ty), 0) scale(var(--s));
  will-change: transform;
}
.disc3d__tilt { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.disc3d__spin { position: absolute; inset: 0; transform-style: preserve-3d; animation: spin 0.9s linear infinite; }
.disc3d__layer { position: absolute; inset: calc(var(--k, 0) * 1%); border-radius: 50%; background: var(--gold-3); transform: translateZ(calc(var(--i) * 1.5px)); }
.disc3d__layer:nth-child(n + 6) { background: var(--gold-2); }
.disc3d__top {
  position: absolute; inset: 4%; border-radius: 50%; transform: translateZ(15px);
  background: radial-gradient(circle at 34% 30%, rgba(255, 255, 255, 0.55), transparent 42%), radial-gradient(circle at 50% 50%, #ffdc42 0 56%, #f7c600 57% 64%, #ffd21f 65%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25), inset 0 -10px 30px rgba(185, 141, 0, 0.45);
  display: grid; place-items: center;
}
.disc3d__top img { width: 52%; filter: brightness(0) opacity(0.78); mix-blend-mode: multiply; }
.disc3d__shadow {
  position: absolute; left: 10%; right: 10%; top: 100%; height: 22%;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.45), transparent); filter: blur(6px);
  transform: translateY(var(--sh, 60px)) scale(var(--shs, 1)); opacity: var(--sho, 0.6);
}
@keyframes spin { to { transform: rotateZ(360deg); } }

/* ---------- HERO accueil : photo, titre, joueur détouré devant ---------- */
.hero { position: relative; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate; background: var(--ink); --hp: 24% 50%; }
.hero__bg, .hero__cut { position: absolute; inset: -3% 0 -9%; will-change: transform; transform-origin: 50% 40%; }
.hero__bg { z-index: 0; }
.hero__cut { z-index: 3; pointer-events: none; }
.hero__bg img, .hero__cut img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hp); }
.hero__shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(12, 17, 13, 0.6) 0%, rgba(12, 17, 13, 0.08) 28%, rgba(12, 17, 13, 0.04) 60%, rgba(12, 17, 13, 0.25) 100%); }
.hero__titlewrap { position: absolute; inset: 0; z-index: 2; padding-top: calc(var(--nav-h) + 16svh); pointer-events: none; }
.hero__title { font-size: min(13.6cqi, 15rem); font-variation-settings: "wdth" 100; line-height: 0.86; color: var(--text); will-change: transform; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.18); }
.hero__title .row { display: block; }
.hero__title .row--3 { color: var(--gold); }
.hero__fade { position: absolute; inset: auto 0 0 0; z-index: 4; height: 52%; pointer-events: none; background: linear-gradient(0deg, rgba(12, 17, 13, 0.96) 0%, rgba(12, 17, 13, 0.7) 40%, rgba(12, 17, 13, 0) 100%); }
.hero__foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding-bottom: calc(26px + env(safe-area-inset-bottom)); }
.hero__copy { display: grid; gap: 20px; }
.hero__copy .lead { color: rgba(244, 241, 232, 0.9); max-width: 38ch; }
.hero__copy .lead b { color: var(--text); font-weight: 700; }
@media (min-width: 600px) and (max-width: 860px) { .hero { --hp: 26% 50%; } .hero__titlewrap { padding-top: calc(var(--nav-h) + 9svh); } }
@media (min-width: 861px) {
  .hero { min-height: 700px; --hp: 40% 42%; }
  .hero__titlewrap { padding-top: calc(var(--nav-h) + 8vh); }
  .hero__title { margin-left: 26%; font-size: min(9.4cqi, 15rem); font-variation-settings: "wdth" 108; }
  .hero__fade { height: 42%; background: linear-gradient(0deg, rgba(12, 17, 13, 0.92) 0%, rgba(12, 17, 13, 0.45) 45%, rgba(12, 17, 13, 0) 100%); }
  .hero__foot { padding-bottom: clamp(36px, 5vh, 64px); }
  .hero__copy { margin-left: 52%; gap: 24px; }
}

/* ---------- Bande chiffres ---------- */
.stats { border-block: 1px solid var(--line); background: var(--ink); }
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; }
.stat { padding: 26px 14px 26px 0; min-width: 0; }
.stat:nth-child(even) { padding-left: 16px; border-left: 1px solid var(--line); }
.stat:nth-child(n + 3) { border-top: 1px solid var(--line); }
.stat .num { font-size: clamp(2.4rem, 11vw, 6rem); color: var(--gold); display: flex; align-items: baseline; }
.stat .num small { font-size: 0.42em; margin-left: 0.08em; }
.stat p { margin-top: 10px; color: var(--text-dim); font-size: 0.92rem; line-height: 1.4; }
@media (min-width: 861px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
  .stat, .stat:nth-child(even) { padding: clamp(28px, 4vw, 52px) clamp(16px, 2vw, 28px); border-left: 1px solid var(--line); border-top: 0; }
  .stat:first-child { border-left: 0; padding-left: 0; }
  .stat .num { font-size: clamp(3rem, 5.6vw, 5.6rem); }
  .stat p { font-size: 1rem; max-width: 24ch; }
}

/* ---------- Parcours / carte ---------- */
.courses { display: grid; gap: 28px; }
.course-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-ink); }
.course { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 16px 4px 16px 0; border-bottom: 1px solid var(--line-ink); transition: background-color 0.2s var(--ease-out), padding 0.25s var(--ease-out); }
.course__dep { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 0.9rem; font-variation-settings: "wdth" 115; background: var(--paper-2); transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
.course h3 { font-size: 1.02rem; font-weight: 720; line-height: 1.25; }
.course p { font-size: 0.88rem; color: var(--ink-dim); }
.course__holes { text-align: right; }
.course__holes b { display: block; font-size: 1.6rem; font-weight: 900; font-variation-settings: "wdth" 118; line-height: 1; }
.course__holes span { font-size: 0.76rem; color: var(--ink-dim); }
.course__tag { display: inline-block; margin-left: 4px; padding: 2px 8px; border-radius: 99px; background: var(--ink); color: var(--gold); font-size: 0.68rem; font-weight: 700; vertical-align: 2px; }
.course.is-on { padding-left: 10px; background: rgba(255, 210, 31, 0.18); }
.course.is-on .course__dep { background: var(--ink); color: var(--gold); }
.course-links { display: flex; flex-direction: column; gap: 10px; margin-top: 26px; }
.course-links .btn { width: 100%; }
.map { position: relative; background: var(--ink); color: var(--text); border-radius: var(--radius-lg); padding: 16px; overflow: hidden; order: -1; }
.map__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: var(--fs-small); color: var(--text-dim); }
.map__head b { color: var(--text); font-size: 1rem; }
.map svg { width: 100%; height: auto; max-height: 60vh; margin-inline: auto; }
.map .ring { fill: none; stroke: rgba(244, 241, 232, 0.08); stroke-dasharray: 3 6; }
.map .river { fill: none; stroke: #2f5b74; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0.85; }
.map .paris { fill: rgba(244, 241, 232, 0.08); stroke: rgba(244, 241, 232, 0.35); stroke-width: 1.2; }
.map .lbl { fill: rgba(244, 241, 232, 0.5); font: 600 12px var(--font); }
.map .lbl--big { fill: rgba(244, 241, 232, 0.85); font-size: 14px; font-weight: 800; letter-spacing: 0.04em; }
.map .dep { fill: rgba(244, 241, 232, 0.14); font: 900 46px var(--font); }
.pin { cursor: pointer; }
.pin circle.p { fill: var(--gold); transition: r 0.2s var(--ease-out); }
.pin circle.halo { fill: var(--gold); opacity: 0.18; transform-box: fill-box; transform-origin: center; animation: halo 2.6s var(--ease-out) infinite; }
.pin text { fill: var(--text); font: 700 13px var(--font); opacity: 0; transition: opacity 0.2s var(--ease-out); paint-order: stroke; stroke: var(--ink); stroke-width: 4px; }
.pin.is-on circle.p { r: 9; }
.pin.is-on text { opacity: 1; }
@keyframes halo { 0% { transform: scale(0.6); opacity: 0.35; } 100% { transform: scale(2.6); opacity: 0; } }
@media (min-width: 600px) {
  .course { grid-template-columns: 50px minmax(0, 1fr) auto; gap: 16px; padding: 18px 8px 18px 0; }
  .course__dep { width: 46px; height: 46px; border-radius: 14px; font-size: 1rem; }
  .course h3 { font-size: 1.1rem; }
  .course__holes b { font-size: 1.9rem; }
  .course-links { flex-direction: row; flex-wrap: wrap; }
  .course-links .btn { width: auto; }
}
@media (min-width: 961px) {
  .courses { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
  .map { position: sticky; top: calc(var(--nav-h) + 30px); padding: clamp(18px, 2.4vw, 30px); order: 2; }
  .map svg { max-height: 72vh; }
}

/* ---------- Compétitions (cartes empilées) ---------- */
.tier {
  --top: calc(var(--nav-h) + 8px + var(--n) * 12px);
  position: sticky; top: var(--top); margin-bottom: 18px;
  display: grid; gap: 6px; padding: 24px;
  border-radius: var(--radius-lg); background: var(--moss); border: 1px solid var(--line);
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.35); transform-origin: 50% 0; overflow: hidden;
}
.tier:nth-child(2) { background: var(--moss-2); }
.tier:nth-child(3) { background: var(--gold); color: var(--ink); border-color: transparent; }
.tier__big { font-size: clamp(4rem, 22vw, 12rem); display: flex; align-items: baseline; }
.tier__big .x { font-size: 0.45em; font-weight: 300; opacity: 0.55; margin: 0 0.06em; }
.tier__tag { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.tier__tag span { padding: 5px 11px; border-radius: 99px; border: 1px solid currentColor; font-size: 0.76rem; font-weight: 650; opacity: 0.85; }
.tier h3 { font-size: clamp(1.5rem, 7vw, 3rem); margin-bottom: 12px; }
.tier p { color: var(--text-dim); max-width: 44ch; font-size: 0.97rem; }
.tier:nth-child(3) p { color: var(--ink-dim); }
.tier .btns { margin-top: 22px; }
@media (min-width: 861px) {
  .tier { --top: calc(var(--nav-h) + 30px + var(--n) * 22px); grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(20px, 4vw, 60px); align-items: center; padding: clamp(32px, 4vw, 56px); min-height: min(60vh, 500px); margin-bottom: 26px; }
  .tier__big { font-size: clamp(5.4rem, 10.6vw, 11rem); }
  .tier p { font-size: 1rem; }
}

/* ---------- Bloc BDO (teaser) ---------- */
.bdo-teaser { position: relative; padding-block: 96px; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.bdo-teaser__bg { position: absolute; inset: -12% 0; z-index: -2; }
.bdo-teaser__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.bdo-teaser::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--forest), rgba(12, 17, 13, 0.7) 25%, rgba(12, 17, 13, 0.88) 70%, var(--ink)); }
.bdo-teaser__grid { display: grid; gap: 30px; }
.bdo-teaser__logo { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.6)); }
.bdo-teaser__logo img { width: min(70%, 320px); margin-inline: auto; }
.bdo-teaser__txt h2 { font-size: var(--fs-h2); margin: 16px 0 18px; }
.bdo-teaser__txt .lead { color: rgba(244, 241, 232, 0.82); margin-bottom: 28px; }
@media (min-width: 861px) {
  .bdo-teaser { min-height: 110vh; padding-block: 0; }
  .bdo-teaser::before { background: linear-gradient(90deg, rgba(12, 17, 13, 0.25), rgba(12, 17, 13, 0.85) 62%), linear-gradient(0deg, var(--ink), transparent 30%, transparent 75%, var(--forest)); }
  .bdo-teaser__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .bdo-teaser__logo { transform-style: preserve-3d; }
  .bdo-teaser__logo img { width: min(100%, 520px); }
}

/* ---------- Galerie horizontale ---------- */
.hs { position: relative; background: var(--paper); color: var(--ink); }
.hs__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding-top: calc(var(--nav-h) - 10px); }
.hs__head { display: flex; flex-direction: column; align-items: start; gap: 14px; }
.hs__head h2 { font-size: var(--fs-h2); }
.hs__track { display: flex; gap: 12px; padding-inline: var(--gutter); will-change: transform; }
.hs__card { flex: 0 0 auto; width: 72vw; min-width: 0; }
.hs__card figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 4.6; background: var(--paper-2); }
.hs__card img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; }
.hs__card > p { margin-top: 10px; font-weight: 650; font-size: 0.92rem; display: flex; flex-wrap: wrap; gap: 4px 10px; }
.hs__card > p span { color: var(--ink-dim); font-weight: 500; }
.hs__card--txt { width: 78vw; align-self: center; }
.hs__card--txt h3 { font-size: clamp(1.5rem, 7vw, 2.4rem); margin-bottom: 12px; }
.hs__card--txt p { color: var(--ink-dim); margin-bottom: 22px; }
.hs__progress { height: 2px; background: var(--line-ink); border-radius: 2px; overflow: hidden; }
.hs__progress b { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (min-width: 761px) {
  .hs__head { flex-direction: row; justify-content: space-between; align-items: end; }
  .hs__sticky { gap: clamp(24px, 4vh, 48px); padding-top: 0; }
  .hs__track { gap: clamp(14px, 2vw, 26px); }
  .hs__card { width: clamp(280px, 34vw, 520px); }
  .hs__card figure { aspect-ratio: 4 / 5; }
  .hs__card:nth-child(even) figure { aspect-ratio: 4 / 4.2; margin-top: 8vh; }
  .hs__card--txt { width: clamp(280px, 30vw, 420px); }
}
.hs--native { height: auto !important; }
.hs--native .hs__sticky { position: relative; height: auto; padding-block: 90px; }
.hs--native .hs__track { overflow-x: auto; scroll-snap-type: x mandatory; }
.hs--native .hs__card { scroll-snap-align: start; }

/* ---------- Boutique ---------- */
.shop { display: grid; gap: 10px; padding: 26px 22px 30px; border-radius: var(--radius-lg); background: var(--ink); color: var(--text); position: relative; overflow: hidden; }
.shop h2 { font-size: clamp(1.9rem, 8.4vw, 3.8rem); margin: 14px 0 16px; }
.shop p { color: var(--text-dim); max-width: 42ch; margin-bottom: 24px; }
.shop__photo { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; order: -1; }
.shop__photo img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 861px) {
  .shop { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 50px; align-items: center; padding: clamp(28px, 3vw, 44px); }
  .shop__photo { order: 0; aspect-ratio: 5 / 4; }
}

/* ---------- CTA final : bloc éditorial, photo pleine hauteur ---------- */
.cta { padding-block: clamp(64px, 9vw, 130px); }
.cta__grid { display: grid; gap: 32px; }
.cta__text { container-type: inline-size; }
.cta h2 { font-size: min(clamp(2.6rem, 14vw, 9.5rem), 13.4cqi); margin-bottom: 22px; }
.cta p { font-size: var(--fs-lead); max-width: 34ch; margin-bottom: 26px; line-height: 1.45; }
.cta__photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.cta__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
@media (min-width: 861px) {
  .cta__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 5vw, 90px); align-items: stretch; }
  .cta__text { display: flex; flex-direction: column; justify-content: center; }
  .cta h2 { font-size: min(9.5rem, 13.4cqi); margin-bottom: 30px; }
  .cta__photo { aspect-ratio: auto; min-height: min(72vh, 680px); }
}

/* ---------- Marquee + footer ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 14px 0; }
.marquee__track { display: flex; align-items: center; gap: 28px; width: max-content; animation: marq 32s linear infinite; }
.marquee__track span { font-size: clamp(2rem, 6vw, 5rem); font-weight: 900; font-variation-settings: "wdth" 118; text-transform: uppercase; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 241, 232, 0.4); }
.marquee__track span:nth-of-type(3n + 2) { color: var(--gold); -webkit-text-stroke: 0; }
.marquee__track i { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
@keyframes marq { to { transform: translateX(-33.333%); } }

.foot { background: var(--ink); padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
.foot__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-block: 56px; }
.foot__brand, .foot__col:nth-child(3) { grid-column: 1 / -1; }
.foot__lion { width: 72px; margin-bottom: 18px; }
.foot__claim { color: var(--text-dim); max-width: 34ch; margin-bottom: 20px; }
.foot__social { display: flex; gap: 10px; }
.foot__social a { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), transform 0.16s var(--ease-out); }
.foot__social a:active { transform: scale(0.95); }
.foot__social svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.foot__social svg .fill { fill: currentColor; stroke: none; }
.foot__col { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.foot__col h2 { font-size: var(--fs-small); color: var(--gold); font-weight: 700; margin-bottom: 6px; }
.foot__col a, .foot__col p { color: var(--text-dim); transition: color 0.18s var(--ease-out); line-height: 1.5; padding-block: 5px; overflow-wrap: anywhere; }
.foot__base { display: flex; flex-direction: column; gap: 12px; border-top: 1px solid var(--line); padding-top: 20px; font-size: var(--fs-small); color: var(--text-dim); }
.foot__top { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; color: var(--text); }
.foot__top svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (hover: hover) {
  .foot__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }
  .foot__col a:hover { color: var(--text); }
}
@media (min-width: 761px) { .foot__grid { grid-template-columns: repeat(3, 1fr); } .foot__col:nth-child(3) { grid-column: auto; } }
@media (min-width: 600px) {
  .foot__base { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 961px) { .foot__grid { gap: 40px; padding-block: clamp(64px, 7vw, 96px); } .foot__lion { width: 84px; } }
@media (min-width: 1200px) { .foot__grid { grid-template-columns: 1.3fr 1fr 1.25fr 1fr; } .foot__brand { grid-column: auto; } }

/* =========================================================
   Pages intérieures
   ========================================================= */
.phero { position: relative; min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 20px) 0 32px; }
.phero__media { position: absolute; inset: -8% 0 -16%; z-index: -2; will-change: transform; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 17, 13, 0.6), rgba(12, 17, 13, 0.15) 30%, rgba(12, 17, 13, 0.94) 100%); }
.phero h1 { font-size: var(--fs-h1); margin: 14px 0 20px; }
.phero .lead { color: rgba(244, 241, 232, 0.88); }
.phero__row { display: grid; gap: 22px; }
.phero__row .btn { width: 100%; }
.crumb { display: flex; gap: 10px; font-size: var(--fs-small); color: var(--text-dim); }
.crumb span::before { content: "/"; margin-right: 10px; opacity: 0.5; }
@media (min-width: 600px) { .phero__row { display: flex; justify-content: space-between; align-items: end; gap: 32px; } .phero__row .btn { width: auto; } }
@media (min-width: 861px) { .phero { min-height: 92svh; padding-bottom: clamp(40px, 5vw, 64px); } .phero h1 { margin: 18px 0 26px; } }
@media (hover: hover) { .crumb a:hover { color: var(--text); } }

/* Club : frise */
.story { display: grid; }
.story__year { display: none; }
.story__rail { position: relative; padding-left: 26px; }
.story__rail::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1.5px; background: var(--line); }
.story__fill { position: absolute; left: 5px; top: 8px; width: 1.5px; height: calc(var(--p, 0) * (100% - 16px)); background: var(--gold); }
.chap { position: relative; padding-bottom: 56px; }
.chap:last-child { padding-bottom: 0; }
.chap::before { content: ""; position: absolute; left: -26px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--ink); border: 2px solid var(--line); transition: border-color 0.3s, background-color 0.3s; }
.chap.is-active::before { border-color: var(--gold); background: var(--gold); }
.chap__when { font-size: var(--fs-small); font-weight: 700; color: var(--gold); }
.chap h3 { font-size: clamp(1.4rem, 6.4vw, 2.6rem); margin: 8px 0 14px; }
.chap p { color: var(--text-dim); margin-bottom: 12px; max-width: 58ch; }
.chap p b { color: var(--text); font-weight: 650; }
.chap__list { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.chap__list li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; border-radius: 14px; background: rgba(244, 241, 232, 0.05); border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }
.chap__list li span { color: var(--gold); font-weight: 800; }
.chap figure { margin: 22px 0 0; border-radius: var(--radius); overflow: hidden; }
@media (min-width: 861px) {
  .story { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: clamp(30px, 6vw, 100px); }
  .story__year { display: block; position: sticky; top: calc(var(--nav-h) + 40px); align-self: start; }
  .story__year { container-type: inline-size; }
  .story__year .num { font-size: min(clamp(4.5rem, 11vw, 11rem), 24cqi); color: var(--gold); display: block; overflow: hidden; height: 0.9em; padding-right: 0.04em; }
  .story__year .num span { display: block; transition: transform 0.45s var(--ease-out); }
  .story__year p { margin-top: 18px; color: var(--text-dim); font-weight: 600; }
  .story__rail { padding-left: 36px; }
  .story__rail::before, .story__fill { left: 6px; }
  .chap { padding-bottom: clamp(70px, 8vw, 110px); }
  .chap::before { left: -36px; width: 13px; height: 13px; top: 8px; }
}

.values { display: grid; grid-template-columns: 1fr; gap: 10px; }
.value { min-width: 0; padding: 20px 22px; border-radius: var(--radius); background: var(--paper-2); display: flex; align-items: baseline; gap: 16px; transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out); }
.value .n { font-weight: 800; font-size: var(--fs-small); color: var(--gold-3); }
.value h3 { font-size: clamp(1.25rem, 5.6vw, 2rem); hyphens: manual; }
@media (min-width: 600px) { .values { grid-template-columns: 1fr 1fr; } .value { flex-direction: column; justify-content: space-between; min-height: 150px; } }
@media (min-width: 961px) { .values { grid-template-columns: repeat(3, 1fr); gap: 14px; } .value { min-height: 200px; padding: clamp(24px, 3vw, 34px); } }
@media (hover: hover) { .value:hover { background: var(--ink); color: var(--text); } .value:hover .n { color: var(--gold); } }

.palmares { display: grid; gap: 34px; }
.palmares__photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45); }
.palmares__titles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 24px 0; }
.trophy { padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); }
.trophy b { display: block; font-size: 3rem; font-weight: 900; font-variation-settings: "wdth" 118; line-height: 0.9; color: var(--gold); }
.trophy span { color: var(--text-dim); font-size: 0.9rem; }
@media (min-width: 861px) { .palmares { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: center; } .palmares__photo { transform-style: preserve-3d; } .trophy b { font-size: 3.6rem; } }

/* BDO */
.bhero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; padding: calc(var(--nav-h) + 20px) 0 36px; }
.bhero__bg { position: absolute; inset: -10%; z-index: -2; }
.bhero__bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.bhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(12, 17, 13, 0.55), rgba(12, 17, 13, 0.75) 45%, var(--ink)); }
.bhero__grid { display: grid; gap: 18px; }
.bhero h1 { font-size: clamp(2rem, 9vw, 6rem); margin: 14px 0 18px; }
.bhero__logo { order: -1; }
.bhero__logo img { width: min(58%, 300px); margin-inline: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.6)); animation: float 7s ease-in-out infinite; }
.bhero .btns { margin-top: 26px; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1deg); } }
@media (min-width: 861px) {
  .bhero { align-items: center; padding: calc(var(--nav-h) + 30px) 0 50px; }
  .bhero::before { background: radial-gradient(60% 60% at 70% 45%, rgba(12, 17, 13, 0.2), rgba(12, 17, 13, 0.92) 80%), linear-gradient(0deg, var(--ink), transparent 40%); }
  .bhero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 30px; }
  .bhero__logo { order: 0; transform-style: preserve-3d; }
  .bhero__logo img { width: min(100%, 560px); }
  .bhero h1 { font-size: clamp(3rem, 5.4vw, 5.6rem); margin: 18px 0 24px; }
}

.duo { display: grid; gap: 12px; }
.duo__card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; isolation: isolate; }
.duo__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.8s var(--ease-out); }
.duo__card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 17, 13, 0.94), rgba(12, 17, 13, 0) 70%); }
.duo__card h3 { font-size: clamp(1.5rem, 6.6vw, 2.8rem); margin: 12px 0 10px; }
.duo__card p { color: rgba(244, 241, 232, 0.85); max-width: 40ch; }
@media (min-width: 861px) { .duo { grid-template-columns: 1fr 1fr; gap: 14px; } .duo__card { min-height: 540px; padding: clamp(28px, 3.4vw, 44px); } }
@media (hover: hover) { .duo__card:hover img { transform: scale(1.04); } }

.partners { display: grid; gap: 10px; }
.partner { padding: 22px; border-radius: var(--radius); border: 1px solid var(--line-ink); display: flex; justify-content: space-between; align-items: end; gap: 16px; min-height: 150px; background: var(--paper); transition: background-color 0.25s var(--ease-out); }
.partner b { display: block; font-size: clamp(1.6rem, 7.6vw, 3.2rem); font-weight: 900; font-variation-settings: "wdth" 112; text-transform: uppercase; line-height: 0.92; }
.partner span { font-size: var(--fs-small); color: var(--ink-dim); font-weight: 600; }
.partner__mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: 0 0 auto; }
.partner__mark svg { width: 28px; fill: none; stroke: var(--gold); stroke-width: 2; }
@media (min-width: 761px) { .partners { grid-template-columns: 1fr 1fr; gap: 14px; } .partner { min-height: 220px; padding: clamp(28px, 4vw, 48px); } }
@media (hover: hover) { .partner:hover { background: var(--paper-2); } }

.video { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.video button { position: absolute; inset: 0; display: grid; place-items: center; }
.video img { width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.3s var(--ease-out), transform 0.8s var(--ease-out); }
.video__play { position: absolute; top: 50%; left: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; transition: transform 0.2s var(--ease-out); }
.video button:active .video__play { transform: scale(0.95); }
.video__play svg { width: 34%; fill: var(--ink); margin-left: 6%; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (min-width: 861px) { .video__play { width: 110px; height: 110px; margin: -55px 0 0 -55px; } }
@media (hover: hover) { .video button:hover img { opacity: 0.9; transform: scale(1.02); } .video button:hover .video__play { transform: scale(1.06); } }

.mosaic { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; gap: 8px; }
.mosaic figure { margin: 0; border-radius: 14px; overflow: hidden; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease-out); }
.mosaic .a, .mosaic .d { grid-column: span 2; grid-row: span 2; }
@media (min-width: 761px) {
  .mosaic { grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(120px, 14vw, 210px); gap: 12px; }
  .mosaic figure { border-radius: var(--radius); }
  .mosaic .a { grid-column: span 7; grid-row: span 3; }
  .mosaic .b, .mosaic .c { grid-column: span 5; grid-row: span 2; }
  .mosaic .d { grid-column: span 7; grid-row: span 2; }
  .mosaic .e { grid-column: span 4; grid-row: span 2; }
  .mosaic .f { grid-column: span 8; grid-row: span 2; }
}
@media (hover: hover) { .mosaic figure:hover img { transform: scale(1.05); } }

.join { display: grid; gap: 10px; margin-top: 36px; }
.join__card { padding: 22px; border-radius: var(--radius); background: rgba(12, 17, 13, 0.08); }
.join__card h3 { font-size: 1.4rem; margin-bottom: 6px; }
.join__card p { color: var(--ink-dim); }
@media (min-width: 761px) { .join { grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; } }

/* Animations */
.benefits { display: grid; gap: 10px; }
.benefit { padding: 22px; border-radius: var(--radius); background: var(--moss); border: 1px solid var(--line); display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: start; }
.benefit svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.benefit h3 { font-size: 1.25rem; margin-bottom: 6px; }
.benefit p { color: var(--text-dim); font-size: 0.95rem; }
@media (min-width: 600px) { .benefits { grid-template-columns: 1fr 1fr; } .benefit { grid-template-columns: 1fr; min-height: 230px; align-content: space-between; } .benefit h3 { margin-top: 18px; } }
@media (min-width: 1081px) { .benefits { grid-template-columns: repeat(4, 1fr); gap: 14px; } .benefit { padding: 26px; } .benefit h3 { font-size: 1.35rem; } }

.audiences { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.audiences span { padding: 10px 16px; border-radius: 99px; border: 1.5px solid var(--line-ink); font-weight: 650; font-size: 0.94rem; transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out); }
@media (hover: hover) { .audiences span:hover { background: var(--ink); color: var(--gold); } }

.split { display: grid; gap: 64px; }
.split__media { position: relative; margin-right: 18%; }
.split__media .ph { border-radius: var(--radius-lg); overflow: hidden; }
.split__media .ph--float { position: absolute; width: 50%; right: -22%; bottom: -16%; border: 5px solid var(--paper); box-shadow: 0 24px 50px rgba(12, 17, 13, 0.25); }
.split__txt p { margin-bottom: 14px; color: var(--ink-dim); }
.split__txt h2 { font-size: var(--fs-h2); margin: 14px 0 20px; }
@media (min-width: 861px) { .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; } .split__media { margin-right: 10%; } .split__media .ph--float { width: 46%; right: -14%; bottom: -12%; border-width: 6px; } }

.refs { border-top: 1px solid var(--line); }
.ref { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--line); transition: padding 0.25s var(--ease-out); }
.ref__when { color: var(--gold); font-weight: 750; font-size: 0.92rem; }
.ref h3 { font-size: clamp(1.15rem, 5vw, 1.8rem); font-weight: 750; font-variation-settings: "wdth" 104; line-height: 1.2; }
.ref p { color: var(--text-dim); margin-top: 4px; }
.ref__where { color: var(--text-dim); font-size: var(--fs-small); font-weight: 600; }
@media (min-width: 761px) { .ref { grid-template-columns: 170px minmax(0, 1fr) auto; gap: 24px; align-items: baseline; padding: 26px 0; } .ref__where { text-align: right; } }
@media (hover: hover) and (min-width: 761px) { .ref:hover { padding-left: 12px; } }

.services { display: grid; gap: 10px; margin-top: 30px; }
.service { padding: 20px 22px; border-radius: var(--radius); background: var(--gold); color: var(--ink); display: flex; gap: 16px; align-items: center; }
.service svg { width: 36px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font-size: 1.1rem; font-weight: 780; line-height: 1.25; }
@media (min-width: 761px) { .services { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 44px; } .service { padding: 28px; } .service h3 { font-size: 1.25rem; } }

/* Formulaire */
.form { display: grid; gap: 12px; }
.form__row { display: grid; gap: 12px; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--text);
  background: rgba(244, 241, 232, 0.05); border: 1.5px solid var(--line); border-radius: 14px;
  padding: 26px 16px 10px; min-height: 60px;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
  -webkit-appearance: none; appearance: none;
}
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd21f' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 18px; padding-right: 44px; }
.field select option { color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field label { position: absolute; left: 17px; right: 17px; top: 19px; color: var(--text-dim); pointer-events: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: transform 0.18s var(--ease-out), color 0.18s var(--ease-out); transform-origin: left top; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: rgba(244, 241, 232, 0.08); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { transform: translateY(-11px) scale(0.78); color: var(--gold); }
.form__foot { display: grid; gap: 14px; margin-top: 4px; }
.form__foot .btn { width: 100%; }
.form__foot small { color: var(--text-dim); }
.form__ok { display: none; padding: 14px 16px; border-radius: 14px; background: rgba(255, 210, 31, 0.12); color: var(--gold); font-weight: 600; }
.form.is-sent .form__ok { display: block; }
@media (min-width: 600px) { .form__row { grid-template-columns: 1fr 1fr; } .form__foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; } .form__foot .btn { width: auto; } .form__foot small { max-width: 40ch; } }

.quote-box { display: grid; gap: 34px; }
.quote-box h2 { font-size: var(--fs-h2); }
@media (min-width: 861px) { .quote-box { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; } }

/* Contact */
.contact { padding: calc(var(--nav-h) + 36px) 0 64px; }
.contact__grid { display: grid; gap: 40px; }
.contact h1 { font-size: clamp(2.1rem, 9.6vw, 6rem); margin: 14px 0 22px; }
.contact__lines { display: grid; margin-top: 28px; }
.cline { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; transition: padding 0.25s var(--ease-out), color 0.2s; }
.cline > div { min-width: 0; }
.cline small { display: block; color: var(--text-dim); font-size: var(--fs-small); font-weight: 600; margin-bottom: 4px; }
.cline b { display: block; font-size: clamp(1.05rem, 4.6vw, 1.6rem); font-weight: 750; font-variation-settings: "wdth" 102; line-height: 1.25; overflow-wrap: anywhere; }
.cline svg { width: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; }
.contact__card { padding: 22px; border-radius: var(--radius-lg); background: var(--forest); border: 1px solid var(--line); }
.contact__card h2 { margin-bottom: 18px; }
@media (min-width: 961px) { .contact { padding: calc(var(--nav-h) + clamp(50px, 7vw, 100px)) 0 clamp(70px, 8vw, 120px); min-height: 100svh; } .contact__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); } .contact__card { padding: clamp(28px, 3.4vw, 44px); } }
@media (hover: hover) { a.cline:hover { padding-left: 10px; color: var(--gold); } }

/* =========================================================
   Garde-fous anti-débordement : chaque titre se dimensionne
   sur la largeur réelle de sa colonne (container queries).
   Aucun mot ne peut être coupé ni dépasser.
   ========================================================= */
.wrap, .s__head > *, .cta__grid > *, .quote-box > *, .contact__grid > *, .bdo-teaser__grid > *, .bhero__grid > *,
.palmares > *, .split > *, .tier > *, .duo__card, .shop > *, .value, .join__card, .story__rail, .flight__text, .hs__card--txt {
  container-type: inline-size;
}
.h2, .s__head h2, .bdo-teaser__txt h2, .hs__head h2, .split__txt h2, .quote-box h2 { font-size: min(var(--fs-h2), 10.4cqi); }
.hero__title { font-size: min(var(--fs-hero), 12.2cqi); }
.phero h1 { font-size: min(var(--fs-h1), 11.6cqi); }
.bhero h1 { font-size: min(clamp(2rem, 9vw, 6rem), 11.2cqi); }
.contact h1 { font-size: min(clamp(2.1rem, 9.6vw, 6rem), 10.4cqi); }
.tier h3 { font-size: min(clamp(1.5rem, 7vw, 3rem), 9.2cqi); }
.value h3 { font-size: min(clamp(1.25rem, 5.6vw, 2rem), 8cqi); }
.duo__card h3 { font-size: min(clamp(1.5rem, 6.6vw, 2.8rem), 9.6cqi); }
.shop h2 { font-size: min(clamp(1.9rem, 8.4vw, 3.8rem), 10.4cqi); }
.chap h3 { font-size: min(clamp(1.4rem, 6.4vw, 2.6rem), 8.8cqi); }
.step h3 { font-size: min(clamp(1.45rem, 6.2vw, 2.6rem), 9cqi); }
.hs__card--txt h3 { font-size: min(clamp(1.5rem, 7vw, 2.4rem), 10cqi); }
.join__card h3 { font-size: min(1.4rem, 9cqi); }
.benefit h3 { font-size: min(1.35rem, 9cqi); }
.benefit > div { container-type: inline-size; }
@media (min-width: 861px) {
  .hero__title { font-size: min(clamp(3.6rem, 7.1vw, 8.6rem), 8.8cqi); }
  .bhero h1 { font-size: min(clamp(3rem, 5.4vw, 5.6rem), 11.2cqi); }
  .step h3 { font-size: min(clamp(2rem, 3.2vw, 3.2rem), 9cqi); }
}

/* Mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js [data-lines] .mask > span { opacity: 1; transform: none; }
}

/* =========================================================
   Passe « ultra » : tablette, transitions, mobile CTA, disques, FAQ
   ========================================================= */
/* Les libellés de bouton ne passent jamais sur deux lignes */
@media (min-width: 600px) { .btn { white-space: nowrap; flex-shrink: 0; } }

/* Transitions entre pages (navigateurs compatibles) */
@keyframes vt-out-unused { to { opacity: 0; transform: translateY(-12px); } }
@keyframes vt-in-unused { from { opacity: 0; transform: translateY(18px); } }

/* Progression de lecture */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress b { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* Barre d'action mobile */
.mcta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 95;
  display: flex; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(12, 17, 13, 0.82); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  transform: translateY(140%); transition: transform 0.3s var(--ease-out);
}
.mcta.is-on { transform: none; }
.mcta .btn { flex: 1; min-height: 50px; }
.mcta__call { width: 50px; height: 50px; flex: 0 0 auto; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); transition: transform 0.16s var(--ease-out); }
.mcta__call:active { transform: scale(0.95); }
.mcta__call svg { width: 20px; fill: none; stroke: var(--text); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.menu-open .mcta { transform: translateY(140%); }
@media (min-width: 961px) { .mcta { display: none; } }

/* Trois disques : panneaux photo */
.kinds { display: grid; gap: 12px; }
.kind { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: clamp(440px, 120vw, 620px); display: flex; align-items: flex-end; isolation: isolate; color: var(--text); container-type: inline-size; outline-offset: 4px; }
.kind img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 0.9s var(--ease-out); }
.kind::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(12, 17, 13, 0.92) 0%, rgba(12, 17, 13, 0.45) 42%, rgba(12, 17, 13, 0) 70%); }
.kind__body { width: 100%; padding: 24px; }
.kind__n { font-size: var(--fs-small); font-weight: 700; color: var(--gold); }
.kind h3 { font-size: min(clamp(2.2rem, 11vw, 4.6rem), 16cqi); margin: 6px 0 12px; }
.kind__tag { font-weight: 700; font-size: 1.05rem; }
.kind__desc { color: rgba(244, 241, 232, 0.82); max-width: 36ch; margin-top: 6px; }
.kind__specs { display: flex; gap: 28px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(244, 241, 232, 0.22); }
.kind__specs dt { font-size: var(--fs-small); color: rgba(244, 241, 232, 0.65); }
.kind__specs dd { margin: 2px 0 0; font-weight: 700; }
@media (min-width: 961px) {
  .kinds { display: flex; gap: 12px; height: min(80vh, 760px); }
  .kind { min-height: 0; flex: 1 1 0; transition: flex-grow 0.7s var(--ease-out); cursor: pointer; }
  .kind h3 { font-size: min(4.6rem, 11cqi); }
  .kind.is-open { flex-grow: 2.6; cursor: default; }
  .kind__body { padding: clamp(24px, 2.4vw, 40px); }
  .kind__more { max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.6s var(--ease-out), opacity 0.3s var(--ease-out); }
  .kind.is-open .kind__more { max-height: 280px; opacity: 1; transition: max-height 0.7s var(--ease-out), opacity 0.4s var(--ease-out) 0.2s; }
}
@media (hover: hover) { .kind:hover img { transform: scale(1.04); } }

/* FAQ */
.faq { display: grid; gap: 34px; }
.faq__list { border-top: 1px solid var(--line-ink); }
.faq details { border-bottom: 1px solid var(--line-ink); interpolate-size: allow-keywords; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 0; font-weight: 750; font-size: clamp(1.05rem, 2.2vw, 1.3rem); line-height: 1.3; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; flex: 0 0 auto; border-radius: 50%; background: var(--ink); position: relative; transition: transform 0.25s var(--ease-out), background-color 0.2s; }
.faq summary i::before, .faq summary i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 2px; background: var(--gold); border-radius: 2px; }
.faq summary i::after { transform: rotate(90deg); transition: transform 0.25s var(--ease-out); }
.faq details[open] summary i::after { transform: rotate(0); }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.3s var(--ease-out), content-visibility 0.3s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
.faq details p { padding: 0 52px 22px 0; color: var(--ink-dim); max-width: 62ch; }
@media (hover: hover) { .faq summary:hover i { background: var(--moss); } }
@media (min-width: 861px) { .faq { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 100px); align-items: start; } .faq__head { position: sticky; top: calc(var(--nav-h) + 30px); } }
.faq__head { container-type: inline-size; }
.hero__title .mask { padding: 0.24em 0.06em 0.24em; margin: -0.24em -0.06em -0.24em; }

/* ---------- Loader plein écran + transitions (logo qui se remplit, pourcentage réel) ---------- */
:root { --pt-a: #ffd21f; --pt-b: #0c110d; --pt-fg: #f4f1e8;; --pt-acc: #ffd21f; }
.ldr { position: fixed; inset: 0; z-index: 1000; pointer-events: none; visibility: hidden; --p: 0; }
.ldr__a, .ldr__b { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); will-change: clip-path; }
.ldr__a { background: var(--pt-a); }
.ldr__b { background: var(--pt-b); color: var(--pt-fg); display: grid; grid-template-rows: minmax(0, 1fr) auto; padding: calc(28px + env(safe-area-inset-top)) var(--gutter) calc(26px + env(safe-area-inset-bottom)); overflow: hidden; }
.ldr__center { display: grid; place-items: center; align-content: center; gap: clamp(16px, 3vh, 28px); min-height: 0; }
.ldr__logo { position: relative; width: clamp(130px, 40vw, 280px); }
.ldr__logo img { display: block; width: 100%; height: auto; }
.ldr__ghost { opacity: .14; }
.ldr__fill { position: absolute; inset: 0; clip-path: inset(calc((1 - var(--p)) * 100%) 0 0 0); }
.ldr__label { font-weight: 800; font-size: clamp(1.5rem, 7vw, 3.4rem); line-height: 1; letter-spacing: -.02em; text-align: center; max-width: 90vw; min-height: 1em; overflow-wrap: normal; text-wrap: balance; }
.ldr__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.ldr__pct { display: flex; align-items: flex-start; font-weight: 800; font-size: clamp(4.6rem, 27vw, 15rem); line-height: .78; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.ldr__pct i { font-style: normal; font-size: .32em; line-height: 1; margin: .08em 0 0 .08em; opacity: .55; }
.ldr__name { font-size: .82rem; font-weight: 600; line-height: 1.35; opacity: .6; text-align: right; max-width: 46%; padding-bottom: .4em; }
.ldr__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .1); }
.ldr__bar b { display: block; height: 100%; background: var(--pt-acc); transform-origin: 0 50%; transform: scaleX(var(--p)); }
@media (min-width: 961px) { .ldr__name { font-size: .95rem; } }
html.ld .ldr, html.ld-out .ldr { visibility: visible; pointer-events: auto; }
html.ld .ldr__a, html.ld .ldr__b { clip-path: inset(0); }
/* Le rideau se lève */
html.ld-done .ldr__b { animation: ld-lift .82s .04s cubic-bezier(.76, 0, .24, 1) forwards; }
html.ld-done .ldr__a { animation: ld-lift .82s .16s cubic-bezier(.76, 0, .24, 1) forwards; }
html.ld-done .ldr__center, html.ld-done .ldr__foot { animation: ld-up .45s cubic-bezier(.5, 0, .75, 0) forwards; }
/* Le rideau descend vers la page suivante */
html.ld-out .ldr__a { animation: ld-cover .62s cubic-bezier(.76, 0, .24, 1) forwards; }
html.ld-out .ldr__b { animation: ld-cover .62s .07s cubic-bezier(.76, 0, .24, 1) forwards; }
html.ld-out .ldr__center, html.ld-out .ldr__foot { opacity: 0; transform: translate3d(0, 30px, 0); animation: ld-in .5s .32s cubic-bezier(.22, 1, .36, 1) forwards; }
/* Les révélations du héro attendent la levée du rideau */
html.ld-wait [data-lines] .mask > span { transform: translate3d(0, 110%, 0) !important; }
html.ld-wait [data-reveal] { opacity: 0 !important; }
@keyframes ld-cover { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0); } }
@keyframes ld-lift { from { clip-path: inset(0); } to { clip-path: inset(0 0 100% 0); } }
@keyframes ld-up { to { opacity: 0; transform: translate3d(0, -40px, 0); } }
@keyframes ld-in { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .ldr { display: none; } }


/* ---------- Boutique : trois catégories de disques ---------- */
.gold-ink { color: var(--gold-3); }
.store { display: grid; gap: 14px; }
.prod { min-width: 0; }
.prod__link { display: grid; height: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--text); text-decoration: none; isolation: isolate; }
.prod__img { margin: 0; aspect-ratio: 4 / 4.2; overflow: hidden; background: #1d3a29; }
.prod__img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform .9s var(--ease-out); }
.prod__body { display: grid; gap: 10px; padding: 22px 22px 26px; align-content: start; container-type: inline-size; }
.prod__n { font-size: var(--fs-small); font-weight: 700; color: var(--gold); }
.prod h3 { font-size: min(clamp(2.2rem, 10vw, 3.6rem), 17cqi); line-height: .95; }
.prod__role { color: var(--text-dim); font-size: 1.05rem; }
.prod__tags { list-style: none; padding: 0; margin: 6px 0 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.prod__tags li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); font-size: .85rem; }
.prod__cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 4px; font-weight: 700; color: var(--gold); }
.prod__cta svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform .25s var(--ease-out); }
.prod__link:hover .prod__img img { transform: scale(1.08) rotate(-2deg); }
.prod__link:hover .prod__cta svg { transform: translateX(4px); }
.prod__link:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.store__foot { display: grid; gap: 18px; margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-ink); }
.store__foot p { font-size: var(--fs-lead); max-width: 46ch; }
@media (min-width: 721px) { .store { grid-template-columns: repeat(3, minmax(0, 1fr)); } .prod__img { aspect-ratio: 4 / 4.6; } }
@media (min-width: 961px) { .store__foot { grid-template-columns: minmax(0, 1fr) auto; align-items: center; } }

/* Animations : titre plus long, décollé de la section du dessus */
.hs { padding-top: clamp(36px, 6vw, 96px); }
@media (min-width: 761px) { .hs__sticky { padding-top: calc(var(--nav-h) + 2vh); } }

/* CTA « Venez vous initier gratuitement… » : 5 lignes, la plus longue tient dans la colonne */
.cta h2 { font-size: min(clamp(2rem, 9vw, 6.6rem), 8.6cqi) !important; }

/* Page 404 */
.nf { min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--nav-h) + 40px); }
.nf__in { display: grid; gap: 24px; }
.nf h1 { font-size: min(clamp(3.4rem, 20vw, 16rem), 20cqi); line-height: .9; }

/* =========================================================
   Contact : parcours guidé (mobile first)
   ========================================================= */
.ct-hero { position: relative; padding: calc(var(--nav-h) + 36px) 0 0; overflow: hidden; }
.ct-hero__in { display: grid; gap: 18px; container-type: inline-size; }
.ct-hero h1 { font-size: min(clamp(2.4rem, 11vw, 8.4rem), 11.6cqi); margin-top: 8px; }
.ct-hero__row { display: grid; gap: 20px; }
.ct-quick { display: flex; gap: 10px; }
.ct-quick__btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line); background: rgba(244,241,232,.06); font-weight: 700; transition: background-color .25s var(--ease-out), border-color .25s, transform .2s var(--ease-out); }
.ct-quick__btn svg { width: 20px; height: 20px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-quick__btn:active { transform: scale(.97); }
@media (hover: hover) { .ct-quick__btn:hover { background: rgba(255,210,31,.12); border-color: var(--gold); } }
.ct-hero__photo { margin: clamp(28px, 5vw, 56px) var(--gutter) 18px; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 9; }
.ct-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
@media (min-width: 761px) {
  .ct-hero__row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; }
  .ct-quick__btn { flex: 0 0 auto; }
  .ct-hero__photo { aspect-ratio: 21 / 7; max-width: var(--max); margin-inline: auto; }
}
@media (min-width: 761px) { .ct-hero__photo { width: calc(100% - 2 * var(--gutter)); } }

.ct { position: relative; padding: 0 0 clamp(70px, 9vw, 130px); scroll-margin-top: calc(var(--nav-h) + 10px); }
.ct__grid { display: grid; gap: 18px; }
.ct-card { position: relative; background: var(--paper); color: var(--ink); border-radius: var(--radius-lg); padding: 26px 18px 28px; min-width: 0; }
.ct-form { gap: 0; }

/* Progression */
.ct-steps { margin-bottom: 28px; }
.ct-steps__bar { display: block; height: 4px; border-radius: 4px; background: rgba(12,17,13,.1); overflow: hidden; }
.ct-steps__bar b { display: block; height: 100%; width: 100%; background: var(--ink); transform-origin: 0 50%; transform: scaleX(var(--ct-p, .2)); transition: transform .6s var(--ease-out); }
.ct-steps ol { list-style: none; padding: 0; margin: 12px 0 0; display: flex; justify-content: space-between; gap: 8px; font-size: .78rem; font-weight: 700; color: rgba(12,17,13,.45); }
.ct-steps li { transition: color .3s; }
.ct-steps li.is-on { color: var(--ink); }

.ct-block { border: 0; margin: 0; padding: 0; min-width: 0; }
.ct-block + .ct-block { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line-ink); }
.ct-block legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 18px; font-weight: 800; font-size: clamp(1.25rem, 5.2vw, 1.75rem); letter-spacing: -.01em; line-height: 1.15; }
.ct-num { flex: 0 0 auto; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold); font-size: .95rem; }

/* Tuiles de demande */
.ct-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tile { position: relative; display: block; cursor: pointer; min-width: 0; }
.tile input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.tile__in { position: relative; display: grid; align-content: start; gap: 6px; height: 100%; padding: 14px 14px 16px; border-radius: 16px; background: #fff; border: 1.5px solid rgba(12,17,13,.1); transition: border-color .25s var(--ease-out), background-color .25s, transform .25s var(--ease-out), box-shadow .3s var(--ease-out); }
.tile__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--paper); transition: background-color .25s; margin-bottom: 4px; }
.tile__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tile b { font-size: .98rem; line-height: 1.2; }
.tile small { font-size: .8rem; color: var(--ink-dim); line-height: 1.3; }
.tile__badge { position: absolute; top: 12px; right: 12px; font-style: normal; font-size: .7rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; background: var(--gold); color: var(--ink); }
.tile input:checked + .tile__in { border-color: var(--ink); background: var(--ink); color: var(--text); transform: translateY(-2px); box-shadow: 0 16px 30px -18px rgba(12,17,13,.6); }
.tile input:checked + .tile__in small { color: var(--text-dim); }
.tile input:checked + .tile__in .tile__ico { background: var(--gold); }
.tile input:focus-visible + .tile__in { outline: 3px solid var(--gold-2); outline-offset: 3px; }
@media (hover: hover) { .tile:hover .tile__in { border-color: rgba(12,17,13,.35); transform: translateY(-2px); } }
.ct-hint { margin-top: 14px; min-height: 1.4em; font-size: .95rem; color: var(--ink-dim); }
.ct-hint b { color: var(--ink); }
@media (min-width: 761px) { .ct-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; } .tile__in { padding: 18px 18px 20px; } }

/* Champs sur fond clair */
.ct-card .form { gap: 0; }
.ct-card .form__row { gap: 10px; }
.ct-card .field { margin-top: 10px; }
.ct-card .form__row .field { margin-top: 0; }
.ct-card .form__row + .field, .ct-card .field + .form__row { margin-top: 10px; }
.ct-card .field input, .ct-card .field textarea { background: #fff; border-color: rgba(12,17,13,.12); color: var(--ink); transition: border-color .2s, box-shadow .25s var(--ease-out); }
.ct-card .field label { color: rgba(12,17,13,.5); }
.ct-card .field input:focus, .ct-card .field textarea:focus { background: #fff; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(255,210,31,.45); }
.ct-card .field input:focus + label, .ct-card .field input:not(:placeholder-shown) + label,
.ct-card .field textarea:focus + label, .ct-card .field textarea:not(:placeholder-shown) + label { color: var(--gold-3); }
.field__ok { position: absolute; right: 14px; top: 19px; width: 22px; height: 22px; border-radius: 50%; background: #2f8f4e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; transform: scale(0); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.field.is-valid .field__ok { transform: scale(1); }
.field__err { display: block; max-height: 0; overflow: hidden; font-size: .82rem; font-weight: 600; color: #b3261e; transition: max-height .3s var(--ease-out), margin .3s; }
.field.is-invalid input { border-color: #b3261e !important; }
.field.is-invalid .field__err { max-height: 2em; margin-top: 6px; }
.field.is-invalid { animation: ct-shake .4s; }
@keyframes ct-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.field--area textarea { min-height: 160px; padding-bottom: 34px; }
.field__count { position: absolute; right: 14px; bottom: 12px; font-size: .75rem; color: rgba(12,17,13,.45); font-variant-numeric: tabular-nums; }

/* Champs contextuels */
.ct-extra { margin-top: 10px; }
.ct-extra:not([hidden]) { animation: ct-in .5s var(--ease-out) both; }
@keyframes ct-in { from { opacity: 0; transform: translateY(10px); } }
.ct-chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ct-chips__t { width: 100%; font-size: .82rem; font-weight: 700; color: rgba(12,17,13,.55); }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(12,17,13,.14); background: #fff; font-size: .92rem; font-weight: 600; transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease-out); }
.chip input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--gold-2); outline-offset: 2px; }
.chip:active span { transform: scale(.96); }

/* Envoi */
.ct-send { display: grid; gap: 16px; margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--line-ink); }
.ct-send__note { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-dim); }
.ct-send__note svg { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: #2f8f4e; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ct-send__btn { width: 100%; position: relative; }
.ct-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(12,17,13,.25); border-top-color: var(--ink); animation: ct-rot .7s linear infinite; }
.form.is-busy .ct-spin { display: inline-block; }
.form.is-busy .ct-send__btn > svg { display: none; }
.form.is-busy .ct-send__btn { pointer-events: none; opacity: .85; }
@keyframes ct-rot { to { transform: rotate(360deg); } }
.ct-card .form__ok { margin-top: 14px; background: rgba(255,210,31,.25); color: var(--ink); }
@media (min-width: 600px) { .ct-send { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; } .ct-send__btn { width: auto; } }

/* Confirmation */
.ct-done { display: grid; gap: 20px; justify-items: start; padding: 8px 0; outline: none; container-type: inline-size; }
.ct-done:not([hidden]) { animation: ct-in .6s var(--ease-out) both; }
.ct-done h2 { font-size: min(clamp(2.6rem, 12vw, 6rem), 15cqi); color: var(--ink); }
.ct-done .gold { color: var(--gold-3); }
.ct-done .lead { color: var(--ink-dim); max-width: 40ch; overflow-wrap: anywhere; }
.ct-done .lead b { color: var(--ink); }
.ct-done__check { width: 76px; height: 76px; fill: none; stroke: #2f8f4e; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.ct-done__check circle { stroke-dasharray: 190; stroke-dashoffset: 190; animation: ct-draw .7s .1s var(--ease-out) forwards; }
.ct-done__check path { stroke-dasharray: 50; stroke-dashoffset: 50; animation: ct-draw .45s .6s var(--ease-out) forwards; }
@keyframes ct-draw { to { stroke-dashoffset: 0; } }
.ct-done__recap { display: grid; gap: 0; width: 100%; margin: 0; border-top: 1px solid var(--line-ink); }
.ct-done__recap div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-ink); font-size: .95rem; }
.ct-done__recap dt { color: var(--ink-dim); font-weight: 600; }
.ct-done__recap dd { margin: 0; overflow-wrap: anywhere; }
.ct-done .btn--ghost { --fg: var(--ink); --bd: var(--line-ink); color: var(--ink); border-color: var(--line-ink); }

/* Colonne contacts directs */
.ct-side__in { display: grid; gap: 10px; }
.ct-direct { display: flex; align-items: center; gap: 14px; min-width: 0; padding: 16px; border-radius: 18px; background: var(--forest); border: 1px solid var(--line); transition: border-color .25s var(--ease-out), background-color .25s, transform .25s var(--ease-out); }
.ct-direct > span:not(.ct-direct__ico), .ct-direct__main { min-width: 0; flex: 1 1 auto; }
.ct-direct small { display: block; font-size: .78rem; font-weight: 600; color: var(--text-dim); }
.ct-direct b { display: block; font-size: clamp(1rem, 4.2vw, 1.15rem); font-weight: 750; line-height: 1.3; overflow-wrap: anywhere; }
.ct-direct i { display: block; font-style: normal; font-size: .9rem; color: var(--text-dim); }
.ct-direct__ico { flex: 0 0 auto; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,210,31,.12); }
.ct-direct__ico svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ct-direct__go { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: var(--text-dim); stroke-width: 2; transition: transform .25s var(--ease-out), stroke .2s; }
@media (hover: hover) { a.ct-direct:hover { border-color: rgba(255,210,31,.5); transform: translateY(-2px); } a.ct-direct:hover .ct-direct__go { stroke: var(--gold); transform: translate(2px, -2px); } }
.ct-copy { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: .82rem; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.ct-copy svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
.ct-copy.is-done { background: var(--gold); color: var(--ink); border-color: var(--gold); }
@media (max-width: 599px) { .ct-copy span { display: none; } .ct-copy { padding: 0; width: 40px; justify-content: center; } }
.ct-sunday { position: relative; padding: 20px 20px 22px 44px; border-radius: 18px; background: var(--gold); color: var(--ink); }
.ct-sunday b { display: block; font-size: 1.05rem; }
.ct-sunday p { margin-top: 6px; font-size: .92rem; color: rgba(12,17,13,.75); }
.ct-sunday__dot { position: absolute; left: 20px; top: 26px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 0 rgba(12,17,13,.4); animation: ct-pulse 2s infinite; }
@keyframes ct-pulse { 70% { box-shadow: 0 0 0 10px rgba(12,17,13,0); } 100% { box-shadow: 0 0 0 0 rgba(12,17,13,0); } }
.ct-social { display: flex; gap: 8px; }
.ct-social a { flex: 1 1 0; display: grid; place-items: center; min-height: 50px; border-radius: 999px; border: 1px solid var(--line); font-weight: 700; font-size: .92rem; transition: border-color .2s, color .2s; }
@media (hover: hover) { .ct-social a:hover { border-color: var(--gold); color: var(--gold); } }

@media (min-width: 961px) {
  .ct__grid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; max-width: var(--max); }
  .ct-card { padding: clamp(32px, 3.6vw, 56px); }
  .ct-side__in { position: sticky; top: calc(var(--nav-h) + 24px); }
}
@media (prefers-reduced-motion: reduce) { .tile__in, .ct-extra, .ct-done, .field.is-invalid, .ct-sunday__dot { animation: none !important; transition: none !important; } }

/* =========================================================
   Fluidité partout
   ========================================================= */
:root { --ease-smooth: cubic-bezier(.16, 1, .3, 1); }
.js [data-reveal] { transition: opacity .9s var(--ease-smooth), transform 1.1s var(--ease-smooth); transition-delay: var(--d, 0ms); }
.js [data-lines] .mask > span { transition-duration: 1.15s; transition-timing-function: var(--ease-smooth); }
/* Photos : s'ouvrent depuis le centre, l'image se pose */
.js [data-clip] { clip-path: inset(9% 7% 9% 7% round 28px); transition: clip-path 1.25s var(--ease-smooth); }
.js [data-clip] img { transform: scale(1.14); transition: transform 1.7s var(--ease-smooth); }
.js [data-clip].is-open { clip-path: inset(0 0 0 0 round 0px); }
.js [data-clip].is-open img { transform: none; }
html.ld-wait [data-clip] { clip-path: inset(9% 7% 9% 7% round 28px) !important; }
/* Liens et boutons : transitions homogènes */
a, button, .btn { -webkit-tap-highlight-color: transparent; }
.btn { transition: transform .35s var(--ease-smooth), background-color .3s var(--ease-smooth), color .3s var(--ease-smooth), border-color .3s var(--ease-smooth), box-shadow .35s var(--ease-smooth); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } .btn:active { transform: translateY(0) scale(.98); } }
.nav__links a, .foot a, .crumb a { transition: color .3s var(--ease-smooth), opacity .3s var(--ease-smooth); }
details > *:not(summary) { animation: none; }
details[open] > *:not(summary) { animation: sm-open .5s var(--ease-smooth); }
@keyframes sm-open { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) {
  .js [data-clip], .js [data-clip] img { clip-path: none !important; transform: none !important; transition: none !important; }
  details[open] > *:not(summary) { animation: none; }
}
.ct [hidden], .ct-extra[hidden], .ct-done[hidden], form[hidden] { display: none !important; }

/* Partenaires avec logos */
.partner--logo { flex-direction: column; align-items: stretch; justify-content: space-between; gap: 24px; text-decoration: none; color: inherit; }
.partner__logo { display: grid; place-items: center; min-height: 120px; padding: 8px 4px; }
.partner__logo img { width: auto; max-width: min(100%, 320px); max-height: 120px; height: auto; mix-blend-mode: multiply; transition: transform .6s var(--ease-smooth); }
.partner__txt { display: grid; gap: 6px; padding-top: 18px; border-top: 1px solid var(--line-ink); }
.partner--logo b { font-size: clamp(1.4rem, 6vw, 2.4rem); }
@media (min-width: 761px) { .partner__logo { min-height: 170px; } .partner__logo img { max-height: 150px; } }
@media (hover: hover) { .partner--logo:hover .partner__logo img { transform: scale(1.05); } }

/* =========================================================
   Parcours : chiffres, filtres, fiche dépliante, trajet depuis le club
   ========================================================= */
.cstats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-bottom: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line-ink); }
.cstats > div { padding: 16px 10px 18px 0; border-bottom: 1px solid var(--line-ink); container-type: inline-size; }
.cstats b { display: block; font-weight: 900; font-variation-settings: "wdth" 118; font-size: min(clamp(2.2rem, 11vw, 4.4rem), 30cqi); line-height: .95; font-variant-numeric: tabular-nums; }
.cstats span { display: block; margin-top: 6px; font-size: .85rem; color: var(--ink-dim); line-height: 1.3; }
@media (min-width: 861px) { .cstats { grid-template-columns: repeat(4, minmax(0, 1fr)); } .cstats > div { border-bottom: 0; padding: 22px 20px 6px 0; } .cstats > div + div { padding-left: 20px; border-left: 1px solid var(--line-ink); } }

.cfilter { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--gutter)) 16px; padding: 2px var(--gutter) 4px; scroll-snap-type: x proximity; }
.cfilter::-webkit-scrollbar { display: none; }
.cfilter button { flex: 0 0 auto; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px 0 16px; border-radius: 999px; border: 1.5px solid var(--line-ink); background: transparent; color: var(--ink); font: 650 .9rem var(--font); cursor: pointer; transition: background-color .3s var(--ease-smooth), color .3s, border-color .3s; }
.cfilter button i { font-style: normal; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--paper-2); font-size: .75rem; font-weight: 800; transition: background-color .3s, color .3s; }
.cfilter button.is-on { background: var(--ink); border-color: var(--ink); color: var(--text); }
.cfilter button.is-on i { background: var(--gold); color: var(--ink); }
@media (hover: hover) { .cfilter button:not(.is-on):hover { border-color: var(--ink); } }
@media (min-width: 861px) { .cfilter { flex-wrap: wrap; overflow: visible; margin-inline: 0; padding-inline: 0; } }

.course { cursor: pointer; grid-template-rows: auto auto; transition: background-color .35s var(--ease-smooth), padding .45s var(--ease-smooth), opacity .4s var(--ease-smooth); }
.course.is-out { display: none; }
.course__more { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-smooth); }
.course__more-in { overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 0; }
.course.is-on .course__more { grid-template-rows: 1fr; }
.course.is-on .course__more-in { padding-top: 12px; }
.holes { display: flex; flex-wrap: wrap; gap: 4px; max-width: 220px; }
.holes i { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); opacity: .18; transform: scale(.4); transition: transform .4s var(--ease-smooth), opacity .4s; }
.course.is-on .holes i { opacity: 1; transform: none; }
.course.is-on .holes i:nth-child(n) { transition-delay: calc(var(--k, 0) * 18ms); }
.course__go { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--gold); font-weight: 700; font-size: .88rem; text-decoration: none; transition: transform .3s var(--ease-smooth); }
.course__go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }
@media (hover: hover) { .course__go:hover { transform: translateY(-2px); } }

.map .home circle:first-child { fill: rgba(255, 210, 31, .18); }
.map .home circle:last-child { fill: var(--gold); }
.map .route { fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 5 6; stroke-linecap: round; opacity: .85; animation: route-dash 1.2s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -22; } }
.map .pin { transition: opacity .4s var(--ease-smooth); }
.map .pin.is-dim { opacity: .2; }
.map__card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 16px; background: rgba(244, 241, 232, .07); border: 1px solid var(--line); }
.map__card b { display: block; font-size: 1rem; line-height: 1.2; }
.map__card small { display: block; font-size: .8rem; color: var(--text-dim); }
.map__dep { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--gold); color: var(--ink); font-weight: 900; }
.map__holes { text-align: right; }
.map__holes b { font-size: 1.6rem; font-weight: 900; font-variation-settings: "wdth" 118; line-height: 1; }
.map__card.is-swap > * { animation: mc-in .45s var(--ease-smooth); }
@keyframes mc-in { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .map .route { animation: none; } .course__more, .holes i { transition: none; } }

/* Mots en jaune des titres (hors héros, qui sont des h1) : texte noir sur surlignage jaune */
h2 .gold, h2 .gold-ink, .ct-done h2 .gold {
  color: var(--ink) !important; background: var(--gold);
  padding: .02em .14em 0; margin-left: -.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.mask > .gold, .mask > .gold-ink { width: fit-content; }
h2 .mask:has(> .gold), h2 .mask:has(> .gold-ink) { padding-inline: .18em; margin-inline: -.18em; }

/* E-mail de la colonne contact : tient sur une ligne, bouton copier en icône sur bureau */
.ct-direct__main b { overflow-wrap: normal; white-space: nowrap; font-size: clamp(.86rem, 3.7vw, 1.1rem); }
@media (min-width: 961px) { .ct-copy span { display: none; } .ct-copy { padding: 0; width: 40px; justify-content: center; } .ct-direct__main b { font-size: clamp(.9rem, 1.15vw, 1.1rem); } }
.courses > * { min-width: 0; }
.cfilter { max-width: none; width: calc(100% + 2 * var(--gutter)); }
@media (min-width: 861px) { .cfilter { width: auto; } }
@media (max-width: 380px) { .ct-direct { gap: 10px; padding: 14px 12px; } .ct-direct__ico { width: 40px; height: 40px; } .ct-direct__main b { font-size: .8rem; } }
