/* =========================================================
   Au Sport Citoyennes — atidel.fr
   Palette rose / violet, typographie Archivo (axe de largeur)
   ========================================================= */

@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("/assets/fonts/archivo-latin-ext.woff2") format("woff2-variations"),
       url("/assets/fonts/archivo-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --nuit: #0B0614;
  --nuit-2: #130A22;
  --nuit-3: #1D1033;
  --violet: #8A4DFF;
  --violet-2: #B996FF;
  --magenta: #C24BFF;
  --rose: #FF3EA5;
  --rose-2: #FF9BD2;
  --perle: #FFF0F8;
  --texte: #E8DEF4;
  --muted: #A897C0;
  --line: rgba(232, 222, 244, 0.12);
  --line-2: rgba(232, 222, 244, 0.24);
  --grad: linear-gradient(100deg, var(--violet) 0%, var(--magenta) 48%, var(--rose) 100%);
  --grad-soft: linear-gradient(100deg, rgba(138, 77, 255, 0.22), rgba(255, 62, 165, 0.22));
  --gutter: clamp(16px, 4.4vw, 64px);
  --maxw: 1320px;
  --px: max(var(--gutter), calc((100% - var(--maxw)) / 2));
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}

@media (max-width: 760px) {
  :root { --header-h: 64px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  background: var(--nuit);
  color: var(--texte);
  font-family: var(--font);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
html.is-gated { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--nuit);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; color: var(--perle); }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
::selection { background: var(--rose); color: var(--nuit); }

:focus-visible {
  outline: 2px solid var(--rose-2);
  outline-offset: 3px;
  border-radius: 6px;
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 300;
  background: var(--perle); color: var(--nuit);
  padding: 10px 16px; border-radius: 999px; font-weight: 650;
  transform: translateY(-160%); transition: transform 0.3s var(--ease);
}
.skip-link:focus { transform: none; }

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

/* ---------- Typography helpers ---------- */
.section-title {
  font-size: clamp(34px, 5.2vw, 80px);
  line-height: 0.98;
  font-weight: 760;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  color: var(--perle);
  max-width: 17ch;
  text-wrap: balance;
}
.section-lead {
  font-size: clamp(17px, 1.35vw, 20px);
  color: var(--texte);
  max-width: 52ch;
  margin-top: 18px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 650;
  font-stretch: 108%;
  letter-spacing: 0.005em;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.3s, color 0.3s, border-color 0.3s;
  -webkit-tap-highlight-color: transparent;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--primary {
  color: #fff;
  background: var(--grad);
  box-shadow: 0 10px 30px -12px rgba(255, 62, 165, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(255, 62, 165, 0.8), 0 0 0 4px rgba(194, 75, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--primary:active { transform: translateY(0); }
.btn--ghost {
  color: var(--perle);
  background: rgba(255, 240, 248, 0.04);
  border-color: var(--line-2);
}
.btn--ghost:hover { border-color: var(--rose-2); background: rgba(255, 62, 165, 0.1); }
.btn--sm { --h: 44px; padding: 0 18px; font-size: 15px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.5; pointer-events: none; }

/* =========================================================
   Gate (écran d'accueil)
   ========================================================= */
.gate {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center;
  background:
    radial-gradient(42% 38% at 50% 44%, rgba(138, 77, 255, 0.28) 0%, transparent 70%),
    radial-gradient(60% 50% at 70% 80%, rgba(255, 62, 165, 0.16) 0%, transparent 70%),
    var(--nuit);
  transition: opacity 0.9s var(--ease), visibility 0s linear 0.9s;
}
.gate__inner { display: grid; justify-items: center; text-align: center; padding: 24px; }
.gate__seal {
  position: relative;
  width: min(56vw, 46vh, 340px);
  aspect-ratio: 1;
  border: 0; padding: 0; margin: 0;
  background: none;
  border-radius: 50%;
  -webkit-tap-highlight-color: transparent;
}
.gate__seal:focus-visible { outline-offset: 18px; border-radius: 50%; }
.gate__logo {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(255, 240, 248, 0.25), 0 0 60px rgba(194, 75, 255, 0.45), 0 0 140px rgba(255, 62, 165, 0.25);
  transition: transform 0.6s var(--ease), opacity 0.5s var(--ease);
}
.gate.is-ready .gate__seal:hover .gate__logo { transform: scale(1.03); }
.gate__ring {
  position: absolute; inset: -11%; z-index: 0;
  width: 122%; height: 122%;
  max-width: none;
  overflow: visible;
  transform: rotate(-90deg);
}
.gate__track { fill: none; stroke: rgba(232, 222, 244, 0.1); stroke-width: 1; }
.gate__progress {
  fill: none; stroke: url(#g-grad); stroke-width: 2.2; stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.25s linear;
}
.gate__pulse {
  position: absolute; inset: -11%; border-radius: 50%;
  border: 1px solid rgba(255, 155, 210, 0.5);
  opacity: 0;
}
.gate.is-ready .gate__pulse { animation: gatePulse 2.6s var(--ease) infinite; }
@keyframes gatePulse {
  0% { transform: scale(0.92); opacity: 0.0; }
  25% { opacity: 0.7; }
  100% { transform: scale(1.25); opacity: 0; }
}
.gate__season {
  margin: clamp(56px, 8vh, 80px) 0 6px;
  font-size: 15px; font-weight: 650; font-stretch: 118%;
  letter-spacing: 0.04em;
  color: var(--perle);
}
.gate__hint { margin: 0; min-height: 1.6em; font-size: 15px; color: var(--muted); }
.gate__hint-ready { display: none; }
.gate.is-ready .gate__hint-load { display: none; }
.gate.is-ready .gate__hint-ready { display: inline; }
.gate__flash {
  position: absolute; left: 50%; top: 46%;
  width: 40vmax; height: 40vmax; margin: -20vmax 0 0 -20vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 240, 248, 0.95) 0%, rgba(255, 62, 165, 0.55) 22%, rgba(138, 77, 255, 0.25) 45%, transparent 68%);
  opacity: 0; transform: scale(0.2);
  pointer-events: none;
}
.gate.is-opening .gate__flash { animation: gateFlash 1.2s var(--ease) forwards; }
.gate.is-opening .gate__ring { transition: transform 1s var(--ease), opacity 0.8s; transform: rotate(-90deg) scale(1.7); opacity: 0; }
.gate.is-opening .gate__season, .gate.is-opening .gate__hint { opacity: 0; transition: opacity 0.4s; }
.gate.is-opening .gate__pulse { animation: none; opacity: 0; }
@keyframes gateFlash {
  0% { opacity: 0; transform: scale(0.2); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: scale(2.4); }
}
.gate.is-gone { opacity: 0; visibility: hidden; pointer-events: none; }
.gate.is-gone.is-removed { display: none; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 0 var(--px);
  transition: background-color 0.4s, border-color 0.4s, backdrop-filter 0.4s, transform 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 6, 20, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--line);
}
html.is-gated .site-header { transform: translateY(-110%); }
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--perle);
  font-weight: 720; font-stretch: 112%; font-size: 17px; letter-spacing: -0.005em;
}
.brand img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 240, 248, 0.2), 0 0 24px rgba(194, 75, 255, 0.35); }
.nav ul { display: flex; gap: clamp(18px, 2.2vw, 34px); list-style: none; }
.nav a {
  position: relative;
  text-decoration: none; color: var(--texte);
  font-size: 15px; font-weight: 560; font-stretch: 104%;
  padding: 8px 0;
  transition: color 0.25s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--grad); transform: scaleX(0); transform-origin: left;
  transition: transform 0.45s var(--ease);
}
.nav a:hover { color: var(--perle); }
.nav a:hover::after, .nav a[aria-current="true"]::after { transform: scaleX(1); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line-2); background: rgba(255, 240, 248, 0.04);
  position: relative;
}
.menu-btn__lines, .menu-btn__lines::before {
  position: absolute; left: 50%; top: 50%;
  width: 18px; height: 1.6px; margin-left: -9px;
  background: var(--perle); border-radius: 2px;
  transition: transform 0.4s var(--ease);
}
.menu-btn__lines { margin-top: -4px; }
.menu-btn__lines::before { content: ""; top: 7px; left: 0; margin-left: 0; }
.menu-btn[aria-expanded="true"] .menu-btn__lines { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__lines::before { transform: translateY(-7px) rotate(-90deg); }

.menu {
  position: fixed; inset: 0; z-index: 55;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 28px) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background:
    radial-gradient(70% 50% at 100% 0%, rgba(255, 62, 165, 0.22), transparent 70%),
    radial-gradient(70% 50% at 0% 100%, rgba(138, 77, 255, 0.25), transparent 70%),
    var(--nuit);
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
.menu__links { list-style: none; display: grid; gap: 6px; }
.menu__links a {
  display: block; text-decoration: none; color: var(--perle);
  font-size: clamp(36px, 10vw, 56px); line-height: 1.08;
  font-weight: 780; font-stretch: 118%; letter-spacing: -0.02em;
  transform: translateY(20px); opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.menu.is-open .menu__links a { transform: none; opacity: 1; }
.menu.is-open .menu__links li:nth-child(2) a { transition-delay: 0.04s; }
.menu.is-open .menu__links li:nth-child(3) a { transition-delay: 0.08s; }
.menu.is-open .menu__links li:nth-child(4) a { transition-delay: 0.12s; }
.menu.is-open .menu__links li:nth-child(5) a { transition-delay: 0.16s; }
.menu.is-open .menu__links li:nth-child(6) a { transition-delay: 0.2s; }
.menu__contact { display: grid; gap: 14px; }
.menu__contact p { margin: 0; color: var(--muted); }

@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-block; }
}
@media (max-width: 560px) {
  .site-header__actions .btn--sm { display: none; }
  .brand__name { font-size: 16px; white-space: nowrap; }
}
@media (max-width: 340px) {
  .brand__name { font-size: 14px; }
}

/* =========================================================
   Stage (arrière-plan fixe) + particules
   ========================================================= */
.stage {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; overflow: hidden;
}
.stage__glow {
  position: absolute; border-radius: 50%;
}
.stage__glow--v {
  width: 70vmax; height: 70vmax; left: -22vmax; top: -18vmax;
  background: radial-gradient(circle, rgba(138, 77, 255, 0.42) 0%, rgba(138, 77, 255, 0.12) 38%, rgba(138, 77, 255, 0) 68%);
}
.stage__glow--r {
  width: 62vmax; height: 62vmax; right: -24vmax; bottom: -26vmax;
  background: radial-gradient(circle, rgba(255, 62, 165, 0.36) 0%, rgba(255, 62, 165, 0.1) 38%, rgba(255, 62, 165, 0) 68%);
}
.stage__floor {
  position: absolute; left: -10%; right: -10%; bottom: -8vh; height: 46vh;
  background:
    repeating-linear-gradient(90deg, rgba(232, 222, 244, 0.06) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(0deg, rgba(232, 222, 244, 0.06) 0 1px, transparent 1px 80px);
  transform: perspective(500px) rotateX(62deg);
  transform-origin: 50% 0%;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 30%, #000 60%, transparent 100%);
  mask-image: linear-gradient(to top, transparent 0%, #000 30%, #000 60%, transparent 100%);
  opacity: 0.7;
}
.stage__words { position: absolute; inset: 0; display: grid; place-items: center; }
.stage__word {
  grid-area: 1 / 1;
  margin: 0;
  display: grid; justify-items: center;
  font-size: clamp(64px, 13.5vw, 250px);
  line-height: 0.82;
  font-weight: 850;
  font-variation-settings: "wdth" var(--w, 125);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(255, 155, 210, 0.2);
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}
.stage__word.is-on { opacity: 1; }
@media (min-width: 900px) {
  .stage__word { transform: translateX(19vw); -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 46%); mask-image: linear-gradient(90deg, transparent 4%, #000 46%); }
  .stage__word--hero { transform: translateX(16vw) translateY(-5vh); }
}
@media (max-width: 899px) {
  .stage__word { transform: translateY(-20vh); }
}
.stage__word--hero { font-size: clamp(40px, 10.4vw, 196px); -webkit-text-stroke-color: rgba(185, 150, 255, 0.26); }
.stage__word--1 { -webkit-text-stroke-color: rgba(185, 150, 255, 0.3); }
.stage__word--2 { -webkit-text-stroke-color: rgba(255, 240, 248, 0.24); }
.stage__word--3 { -webkit-text-stroke-color: rgba(255, 155, 210, 0.3); font-size: clamp(44px, 10.6vw, 200px); }

#particles {
  position: fixed; inset: 0; z-index: 1;
  width: 100%; height: 100%;
  pointer-events: none;
  opacity: 1;
}

/* Fallback figures (sans WebGL / mouvement réduit) */
.fig-fallback { display: none; }
html.no-webgl .fig-fallback { display: block; }
html.no-webgl #particles { display: none; }
.f-r { fill: var(--fr, var(--violet-2)); }
.f-l { fill: var(--fl, var(--perle)); }
.f-y { fill: var(--fy, var(--rose)); }
.fig-svg { filter: drop-shadow(0 0 18px rgba(194, 75, 255, 0.55)) drop-shadow(0 0 50px rgba(255, 62, 165, 0.25)); }

/* =========================================================
   Hero
   ========================================================= */
main { position: relative; }
.hero {
  position: relative; z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px;
  padding: calc(var(--header-h) + 24px) var(--px) clamp(28px, 6vh, 64px);
}
.hero__content { max-width: 720px; }
.hero__title {
  font-size: clamp(44px, 6.4vw, 108px);
  line-height: 0.93;
  font-weight: 780;
  font-stretch: 112%;
  letter-spacing: -0.03em;
  color: var(--perle);
  margin: 0 0 22px;
  text-wrap: balance;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.hero__title .line > span { display: inline-block; }
.hero__lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.55;
  max-width: 44ch;
  color: var(--texte);
  margin: 0;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts {
  list-style: none;
  display: grid; gap: 14px;
  text-align: right;
  padding-bottom: 6px;
}
.hero__facts li { display: grid; gap: 2px; }
.hero__facts strong { font-size: 13px; font-weight: 600; color: var(--muted); font-stretch: 105%; }
.hero__facts span { font-size: 19px; font-weight: 650; font-stretch: 110%; color: var(--perle); font-variant-numeric: tabular-nums; }
.hero__fallback {
  position: absolute; z-index: -1;
  right: 6vw; top: calc(var(--header-h) + 4vh);
  width: min(52vw, 760px);
}
.reveal-hero { opacity: 0; transform: translateY(18px); }
html.no-js .reveal-hero, html.is-entered .reveal-hero { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
html.is-entered .reveal-hero.d1 { transition-delay: 0.15s; }
html.is-entered .reveal-hero.d2 { transition-delay: 0.3s; }
html.is-entered .reveal-hero.d3 { transition-delay: 0.45s; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: end;
    padding-top: 50svh;
  }
  .hero__facts { display: none; }
  .hero__fallback { left: 6vw; right: 6vw; top: calc(var(--header-h) + 3vh); width: auto; }
}

/* =========================================================
   Showcase « Ce qu'on travaille ensemble »
   ========================================================= */
.show { position: relative; z-index: 2; height: 420vh; }
.show__sticky {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr auto;
  padding: calc(var(--header-h) + 18px) var(--px) clamp(24px, 5vh, 48px);
}
.show__title {
  grid-column: 1 / -1;
  font-size: 15px; font-weight: 600; font-stretch: 108%;
  color: var(--muted);
  display: flex; align-items: center; gap: 12px;
}
.show__title::before { content: ""; width: 28px; height: 1px; background: var(--grad); }
.show__panels { position: relative; grid-column: 1; align-self: center; min-height: 360px; }
.show__panel {
  position: absolute; left: 0; right: 0; top: 50%;
  transform: translateY(calc(-50% + 30px));
  opacity: 0; visibility: hidden;
  transition: opacity 0.6s var(--ease), transform 0.9s var(--ease), visibility 0s linear 0.6s;
}
.show__panel.is-active {
  opacity: 1; visibility: visible;
  transform: translateY(-50%);
  transition: opacity 0.7s var(--ease) 0.1s, transform 0.9s var(--ease) 0.1s;
}
.show__count { font-size: 15px; font-weight: 650; color: var(--muted); margin: 0 0 14px; font-variant-numeric: tabular-nums; }
.show__name {
  font-size: clamp(50px, 7vw, 116px);
  line-height: 0.9;
  font-weight: 820;
  font-stretch: 116%;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
}
.show__panel--1 .show__name { color: var(--violet-2); }
.show__panel--2 .show__name { color: var(--perle); }
.show__panel--3 .show__name { color: var(--rose-2); }
.show__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.show__tags li {
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(255, 240, 248, 0.04);
  font-size: 15px; font-weight: 560; color: var(--perle);
}
.show__panel--1 .show__tags li { border-color: rgba(185, 150, 255, 0.45); }
.show__panel--3 .show__tags li { border-color: rgba(255, 155, 210, 0.45); }
.show__text { max-width: 40ch; font-size: clamp(16px, 1.25vw, 19px); color: var(--texte); margin: 0; }
.show__nav {
  grid-column: 1 / -1;
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.show__btns { display: flex; gap: 8px; }
.show__btn {
  min-height: 42px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(11, 6, 20, 0.4);
  color: var(--texte); font-size: 14px; font-weight: 600;
  transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}
.show__btn[aria-pressed="true"] { color: #fff; border-color: transparent; background: var(--grad); }
.show__bar { flex: 1; min-width: 120px; max-width: 360px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.show__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: left; transform: scaleX(0); }
.show__fallback {
  position: absolute; z-index: -1;
  right: 6vw; top: 50%;
  height: 70vh; width: 46vw;
  transform: translateY(-46%);
  display: none;
}
html.no-webgl .show__fallback { display: grid; place-items: center; }
.show__fallback svg { grid-area: 1 / 1; height: 100%; width: auto; max-width: 100%; opacity: 0; transition: opacity 0.6s; }
.show__fallback svg.is-on { opacity: 1; }

@media (max-width: 900px) {
  .show__sticky {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto auto;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
  }
  .show__panels { grid-row: 3; align-self: end; min-height: 270px; }
  .show__panel { top: auto; bottom: 0; transform: translateY(30px); }
  .show__panel.is-active { transform: none; }
  .show__name { font-size: clamp(44px, 13vw, 72px); margin-bottom: 16px; }
  .show__tags { margin-bottom: 14px; }
  .show__tags li { font-size: 14px; padding: 6px 12px; }
  .show__text { font-size: 16px; }
  .show__nav { grid-row: 4; margin-top: 18px; }
  .show__bar { display: none; }
  .show__btns { width: 100%; }
  .show__btn { flex: 1; }
  .show__fallback { left: 8vw; right: 8vw; width: auto; top: calc(var(--header-h) + 40px); height: 40vh; transform: none; }
  .show__fallback svg { margin: 0 auto; }
}
@media (max-width: 900px) and (max-height: 700px) {
  .show__text { display: none; }
  .show__panels { min-height: 190px; }
}

/* =========================================================
   Manifeste + « Bien plus qu'un cours »
   ========================================================= */
.manifesto {
  position: relative; z-index: 2;
  padding: clamp(120px, 26vh, 260px) var(--px) clamp(80px, 14vh, 160px);
}
.manifesto__text {
  font-size: clamp(27px, 3.7vw, 60px);
  line-height: 1.14;
  font-weight: 600;
  font-stretch: 106%;
  letter-spacing: -0.02em;
  color: var(--perle);
  max-width: 24em;
  margin: 0 0 clamp(40px, 7vh, 80px);
  text-wrap: pretty;
}
.manifesto__text .w { opacity: 0.16; transition: opacity 0.25s linear; }
.manifesto__text .w.is-lit { opacity: 1; }
html.no-js .manifesto__text .w, html.reduced .manifesto__text .w { opacity: 1; }
.manifesto__more {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 56px;
  max-width: 980px;
  margin-left: auto;
  font-size: clamp(16px, 1.25vw, 19px);
  color: var(--texte);
}
.manifesto__more p { margin: 0; }
.manifesto__sign {
  display: flex; align-items: center; gap: 16px;
  max-width: 980px; margin: 48px 0 0 auto;
}
.manifesto__sign img { width: 56px; height: 56px; border-radius: 50%; }
.manifesto__sign strong { display: block; color: var(--perle); font-weight: 700; font-stretch: 110%; font-size: 18px; }
.manifesto__sign span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) {
  .manifesto__more { grid-template-columns: minmax(0, 1fr); }
}

.plus {
  position: relative; z-index: 2;
  padding: clamp(40px, 8vh, 100px) var(--px) clamp(80px, 14vh, 160px);
}
.plus__list { list-style: none; margin-top: clamp(32px, 6vh, 64px); border-top: 1px solid var(--line); }
.plus__item {
  display: grid;
  grid-template-columns: 60px minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 20px 32px; align-items: center;
  padding: clamp(22px, 3.6vh, 34px) 0;
  border-bottom: 1px solid var(--line);
}
.plus__icon {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 155, 210, 0.22);
  color: var(--rose-2);
}
.plus__icon svg { width: 26px; height: 26px; }
.plus__item h3 {
  font-size: clamp(24px, 2.8vw, 42px);
  line-height: 1.02;
  font-weight: 740; font-stretch: 112%; letter-spacing: -0.02em;
}
.plus__item p { margin: 0; color: var(--texte); max-width: 46ch; }
@media (max-width: 760px) {
  .plus__item { grid-template-columns: 52px minmax(0, 1fr); }
  .plus__item p { grid-column: 2; }
}

/* =========================================================
   Horaires
   ========================================================= */
.horaires, .tarifs, .infos, .adhesion, .contact {
  position: relative; z-index: 2;
  padding: clamp(80px, 13vh, 150px) var(--px);
}
.horaires__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.horaires__head > div:first-child { flex: 1 1 520px; }
.countdown {
  position: relative;
  min-width: min(100%, 420px);
  padding: 22px 26px 24px;
  border-radius: 26px;
  background: linear-gradient(var(--nuit-2), var(--nuit-2)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 80px -40px rgba(255, 62, 165, 0.6);
}
.countdown__label { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.countdown__when { margin: 2px 0 12px; font-size: 20px; font-weight: 700; font-stretch: 110%; color: var(--perle); }
.countdown__digits { display: flex; gap: clamp(10px, 2vw, 20px); margin: 0; }
.countdown__digits > span { display: grid; gap: 0; }
.countdown__digits b {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1;
  font-weight: 760; font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  color: var(--perle);
}
.countdown__digits small { font-size: 13px; color: var(--muted); font-weight: 550; }
.countdown.is-live .countdown__digits { display: none; }
.countdown__live { display: none; margin: 0; font-size: 18px; color: var(--rose-2); font-weight: 650; }
.countdown.is-live .countdown__live { display: flex; align-items: center; gap: 10px; }
.countdown__live::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); box-shadow: 0 0 0 6px rgba(255, 62, 165, 0.2); }

.week {
  list-style: none;
  display: grid; grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: clamp(40px, 7vh, 72px) 0 18px;
  border-top: 1px solid var(--line);
}
.week li {
  position: relative;
  padding: 14px 0 0;
  font-size: 13px; font-weight: 600; color: var(--muted);
  text-align: center;
}
.week li::before {
  content: ""; position: absolute; top: -4px; left: 50%; margin-left: -4px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--nuit-3); border: 1px solid var(--line-2);
}
.week li.is-on { color: var(--perle); }
.week li.is-on::before { background: var(--grad); border-color: transparent; box-shadow: 0 0 14px rgba(255, 62, 165, 0.8); width: 11px; height: 11px; top: -6px; margin-left: -5.5px; }

.tickets { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 26px; }
.ticket {
  position: relative;
  display: grid; gap: 6px; align-content: start;
  padding: 28px 28px 26px;
  border-radius: 24px;
  background: rgba(29, 16, 51, 0.55);
  border: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask: radial-gradient(circle 12px at 0 62%, transparent 11.5px, #000 12px) left / 51% 100% no-repeat,
                radial-gradient(circle 12px at 100% 62%, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 62%, transparent 11.5px, #000 12px) left / 51% 100% no-repeat,
        radial-gradient(circle 12px at 100% 62%, transparent 11.5px, #000 12px) right / 51% 100% no-repeat;
}
.ticket::after {
  content: ""; position: absolute; left: 22px; right: 22px; top: 62%;
  border-top: 1px dashed var(--line-2);
}
.ticket__day {
  margin: 0;
  font-size: clamp(34px, 3.5vw, 54px);
  line-height: 0.95;
  font-weight: 820; font-stretch: 114%; letter-spacing: -0.03em;
  color: var(--perle);
}
.ticket__time { margin: 0; font-size: clamp(22px, 2vw, 28px); font-weight: 650; font-stretch: 108%; color: var(--perle); font-variant-numeric: tabular-nums; }
.ticket__meta { margin: 0 0 34px; color: var(--muted); font-size: 15px; }
.ticket__ics {
  justify-self: start;
  margin-top: 18px;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent;
  font-size: 14px; font-weight: 600; color: var(--perle);
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.3s, background-color 0.3s;
}
.ticket__ics:hover { border-color: var(--rose-2); background: rgba(255, 62, 165, 0.08); }
.ticket__ics svg { width: 16px; height: 16px; }
.ticket__badge {
  justify-self: start;
  margin-bottom: 10px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 650; color: #fff;
  background: var(--grad);
  opacity: 0; transform: translateY(-6px);
  transition: opacity 0.4s, transform 0.4s var(--ease);
}
.ticket.is-next { background: linear-gradient(160deg, rgba(138, 77, 255, 0.3), rgba(255, 62, 165, 0.16) 60%, rgba(29, 16, 51, 0.5)); border-color: rgba(255, 155, 210, 0.45); }
.ticket.is-next .ticket__badge { opacity: 1; transform: none; }
.ticket:not(.is-next) .ticket__badge { visibility: hidden; }
.horaires__place { margin: 22px 0 0; color: var(--muted); }
@media (max-width: 860px) {
  .tickets { grid-template-columns: minmax(0, 1fr); }
  .ticket { grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: 12px; padding: 24px; }
  .ticket::after { display: none; }
  .ticket { -webkit-mask: none; mask: none; }
  .ticket__badge { grid-column: 1 / -1; }
  .ticket:not(.is-next) .ticket__badge { display: none; }
  .ticket__day { grid-column: 1 / -1; }
  .ticket__meta { margin-bottom: 0; }
  .ticket__ics { grid-column: 1 / -1; margin-top: 12px; }
  .countdown { width: 100%; }
}

/* =========================================================
   Tarifs
   ========================================================= */
.tarifs {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.card3d { perspective: 1100px; }
.card3d__card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
  position: relative;
  aspect-ratio: 1.586;
  border-radius: clamp(18px, 2.2vw, 28px);
  padding: 7% 7.5%;
  display: grid; grid-template-rows: auto 1fr auto;
  color: var(--perle);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(138, 77, 255, 0.95) 0%, transparent 60%),
    radial-gradient(90% 120% at 100% 100%, rgba(255, 62, 165, 0.9) 0%, transparent 62%),
    linear-gradient(135deg, #2A1258 0%, #1A0B33 55%, #3A0F35 100%);
  box-shadow: 0 50px 90px -40px rgba(255, 62, 165, 0.6), 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transform-style: preserve-3d;
  transition: transform 0.5s var(--ease);
  overflow: hidden;
}
.card3d__card.is-moving { transition: transform 0.1s linear; }
.card3d__shine {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.28), transparent 42%);
  mix-blend-mode: soft-light;
}
.card3d__holo {
  position: absolute; inset: -30%; pointer-events: none;
  background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0) 0 22px, rgba(255, 240, 248, 0.08) 22px 30px, rgba(255, 255, 255, 0) 30px 60px);
  transform: translateX(calc((var(--mx) - 50%) * 0.3));
  mix-blend-mode: overlay;
}
.card3d__top { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.card3d__top img { width: clamp(40px, 5vw, 62px); height: auto; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }
.card3d__label { font-size: clamp(12px, 1.1vw, 15px); font-weight: 650; letter-spacing: 0.02em; color: rgba(255, 240, 248, 0.85); text-align: right; }
.card3d__figs { position: relative; align-self: center; justify-self: center; width: 62%; opacity: 0.95; }
.card3d__figs { --fr: rgba(255, 240, 248, 0.22); --fl: rgba(255, 240, 248, 0.38); --fy: rgba(255, 240, 248, 0.22); }
.card3d__bottom { position: relative; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.card3d__name { font-size: clamp(16px, 1.8vw, 24px); font-weight: 780; font-stretch: 116%; line-height: 1; letter-spacing: -0.01em; }
.card3d__season { font-size: clamp(12px, 1.1vw, 15px); font-weight: 600; color: rgba(255, 240, 248, 0.85); font-variant-numeric: tabular-nums; }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 12px; margin: 28px 0 8px; }
.price__num {
  font-size: clamp(96px, 13vw, 210px);
  line-height: 0.82;
  font-weight: 830; font-stretch: 125%; letter-spacing: -0.05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price__unit { font-size: clamp(40px, 5vw, 80px); font-weight: 760; color: var(--rose-2); line-height: 1; }
.price__per { width: 100%; font-size: 17px; color: var(--muted); margin-top: 12px; }
.breakdown { margin: 22px 0 28px; border-top: 1px solid var(--line); }
.breakdown div { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.breakdown dt { color: var(--texte); }
.breakdown dd { margin: 0; color: var(--perle); font-weight: 700; font-variant-numeric: tabular-nums; }
.plan { border: 0; padding: 0; margin: 0 0 16px; }
.plan legend { font-size: 15px; font-weight: 650; color: var(--perle); margin-bottom: 12px; padding: 0; }
.segmented {
  display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  padding: 5px; gap: 4px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(11, 6, 20, 0.5);
}
.segmented label { position: relative; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span {
  display: block; padding: 10px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 620; color: var(--texte); text-align: center; white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}
.segmented input:checked + span { background: var(--grad); color: #fff; }
.segmented input:focus-visible + span { outline: 2px solid var(--rose-2); outline-offset: 2px; }
.plan__result { min-height: 1.6em; font-size: 17px; color: var(--perle); margin: 0 0 8px; }
.plan__result b { font-variant-numeric: tabular-nums; }
.tarifs__note { color: var(--muted); margin: 0 0 28px; max-width: 46ch; }
@media (max-width: 900px) {
  .tarifs { grid-template-columns: minmax(0, 1fr); }
  .card3d { max-width: 520px; width: 100%; margin: 0 auto; }
}
@media (max-width: 420px) {
  .segmented span { padding: 10px 12px; font-size: 14px; }
}

/* =========================================================
   Infos pratiques
   ========================================================= */
.infos__grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 96px);
  margin-top: clamp(36px, 6vh, 64px);
}
.infos h3 { font-size: clamp(22px, 2vw, 28px); font-weight: 740; font-stretch: 112%; margin-bottom: 18px; }
.bag { list-style: none; display: grid; gap: 12px; margin-bottom: 44px; }
.bag li {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 18px; border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(29, 16, 51, 0.45);
  color: var(--perle); font-weight: 560;
}
.bag svg { width: 30px; height: 30px; flex: none; color: var(--rose-2); }
.infos__onsite { color: var(--texte); max-width: 40ch; margin: 0; }
.place address { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.35; color: var(--perle); font-weight: 600; font-stretch: 106%; margin-bottom: 22px; }
.place address small { display: block; font-size: 15px; color: var(--muted); font-weight: 500; margin-top: 4px; }
.map {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid var(--line-2);
  background: radial-gradient(60% 70% at 50% 50%, rgba(138, 77, 255, 0.22), transparent 70%), var(--nuit-2);
  margin-bottom: 18px;
}
.map__radar { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__radar .grid line { stroke: rgba(232, 222, 244, 0.08); stroke-width: 1; }
.map__radar .rings circle { fill: none; stroke: rgba(255, 155, 210, 0.22); stroke-width: 1; }
.map__radar .road { fill: none; stroke: rgba(185, 150, 255, 0.35); stroke-width: 2; stroke-linecap: round; }
.map__pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); width: 44px; height: 54px; color: var(--rose); filter: drop-shadow(0 0 16px rgba(255, 62, 165, 0.8)); }
.map__label {
  position: absolute; left: 50%; top: calc(50% + 14px); transform: translateX(-50%);
  padding: 6px 12px; border-radius: 999px; white-space: nowrap;
  background: rgba(11, 6, 20, 0.7); border: 1px solid var(--line-2);
  font-size: 13px; font-weight: 650; color: var(--perle);
}
.map__load { position: absolute; right: 14px; bottom: 14px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(200deg) saturate(0.8) brightness(0.95) contrast(0.95); }
.map__credit { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.place__links { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .infos__grid { grid-template-columns: minmax(0, 1fr); }
  .map { aspect-ratio: 4 / 3; }
}

/* =========================================================
   Adhésion (formulaire)
   ========================================================= */
.adhesion > * { max-width: 1060px; }
.adhesion__head { margin-bottom: clamp(32px, 5vh, 56px); }
.adhesion__paper { margin: 14px 0 0; color: var(--muted); }
.adhesion__paper a { color: var(--rose-2); text-underline-offset: 3px; }
.form {
  position: relative;
  border-radius: 32px;
  padding: clamp(20px, 4vw, 48px);
  background: linear-gradient(rgba(19, 10, 34, 0.86), rgba(19, 10, 34, 0.86)) padding-box, linear-gradient(140deg, rgba(185, 150, 255, 0.45), rgba(255, 155, 210, 0.15) 40%, rgba(255, 62, 165, 0.45)) border-box;
  border: 1px solid transparent;
  box-shadow: 0 60px 120px -60px rgba(138, 77, 255, 0.55);
}
.stepper { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: clamp(26px, 4vh, 40px); }
.stepper li { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.stepper li::before { content: ""; height: 3px; border-radius: 3px; background: var(--line); transition: background 0.4s; }
.stepper li.is-done, .stepper li.is-current { color: var(--perle); }
.stepper li.is-done::before, .stepper li.is-current::before { background: var(--grad); }
.stepper b { font-variant-numeric: tabular-nums; margin-right: 6px; color: var(--rose-2); }
.step { border: 0; padding: 0; margin: 0; min-width: 0; display: none; }
.step.is-active { display: block; animation: stepIn 0.5s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.step__title { font-size: clamp(24px, 2.4vw, 34px); font-weight: 760; font-stretch: 112%; color: var(--perle); margin-bottom: 8px; padding: 0; letter-spacing: -0.015em; }
.step__hint { color: var(--muted); margin: 0 0 24px; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 18px; margin-top: 22px; }
.grid2 .span2 { grid-column: 1 / -1; }
.field { display: grid; gap: 8px; align-content: start; }
.field > label, .field__label { font-size: 14px; font-weight: 620; color: var(--texte); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field input[type="date"] {
  width: 100%; height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  border: 1px solid var(--line-2);
  background: rgba(11, 6, 20, 0.7);
  color: var(--perle);
  font-size: 17px;
  transition: border-color 0.25s, box-shadow 0.25s;
  -webkit-appearance: none; appearance: none;
}
.field input[type="date"] { min-height: 56px; line-height: 56px; }
.field input::placeholder { color: rgba(168, 151, 192, 0.7); }
.field input:focus { outline: none; border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(138, 77, 255, 0.25); }
.field.has-error input { border-color: var(--rose); box-shadow: 0 0 0 4px rgba(255, 62, 165, 0.15); }
.field__error { display: none; font-size: 14px; color: var(--rose-2); margin: 0; }
.field.has-error .field__error { display: block; }
.step-error { display: none; color: var(--rose-2); font-size: 15px; margin: 14px 0 0; }
.step-error.is-on { display: block; }

.slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.slot__box {
  display: grid; gap: 4px;
  padding: 22px 22px 20px;
  border-radius: 22px;
  border: 1px solid var(--line-2);
  background: rgba(11, 6, 20, 0.55);
  transition: border-color 0.3s, background-color 0.3s, transform 0.3s var(--ease);
  position: relative;
}
.slot__day { font-size: clamp(24px, 2.4vw, 32px); line-height: 1; font-weight: 800; font-stretch: 116%; letter-spacing: -0.02em; color: var(--perle); }
.slot__time { font-size: 16px; color: var(--texte); font-variant-numeric: tabular-nums; }
.slot__check {
  position: absolute; top: 16px; right: 16px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: background 0.3s, border-color 0.3s;
}
.slot__check svg { width: 16px; height: 16px; color: #fff; opacity: 0; transform: scale(0.6); transition: opacity 0.25s, transform 0.35s var(--ease); }
.slot input:checked + .slot__box { border-color: rgba(255, 155, 210, 0.7); background: linear-gradient(150deg, rgba(138, 77, 255, 0.3), rgba(255, 62, 165, 0.18)); }
.slot input:checked + .slot__box .slot__check { background: var(--grad); border-color: transparent; }
.slot input:checked + .slot__box .slot__check svg { opacity: 1; transform: none; }
.slot input:focus-visible + .slot__box { outline: 2px solid var(--rose-2); outline-offset: 3px; }

.pay-recap {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  padding: 18px 22px; border-radius: 20px;
  background: var(--grad-soft);
  border: 1px solid rgba(255, 155, 210, 0.25);
  margin: 18px 0 26px;
  color: var(--perle);
}
.pay-recap strong { font-size: 22px; font-weight: 780; font-stretch: 112%; }
.pay-recap span { color: var(--texte); }
.choice-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pill span {
  display: block; padding: 13px 20px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(11, 6, 20, 0.55);
  font-size: 16px; font-weight: 600; color: var(--texte);
  transition: background 0.3s, border-color 0.3s, color 0.3s;
}
.pill input:checked + span { background: var(--grad); border-color: transparent; color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--rose-2); outline-offset: 3px; }
.cheque { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: -8px 0 26px; }
.cheque[hidden] { display: none; }
.cheque .field__opt { color: var(--muted); font-weight: 500; }

.sigpad {
  position: relative;
  border-radius: 22px;
  background: #FFF7FB;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(11, 6, 20, 0.08);
}
.sigpad canvas { width: 100%; height: 210px; touch-action: none; cursor: crosshair; }
.sigpad__line { position: absolute; left: 24px; right: 24px; bottom: 46px; border-top: 1px dashed rgba(29, 16, 51, 0.3); pointer-events: none; }
.sigpad__hint { position: absolute; left: 24px; bottom: 16px; font-size: 13px; color: rgba(29, 16, 51, 0.55); pointer-events: none; margin: 0; }
.sigpad__clear {
  position: absolute; top: 12px; right: 12px;
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid rgba(29, 16, 51, 0.2); background: #fff;
  color: #1D1033; font-size: 14px; font-weight: 600;
}
.check { display: flex; gap: 14px; align-items: flex-start; margin: 22px 0 0; color: var(--texte); cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--rose); }
.check a { color: var(--rose-2); }

.form__nav { display: flex; justify-content: space-between; gap: 12px; margin-top: clamp(28px, 4vh, 40px); }
.form__nav [data-next], .form__nav [data-submit] { margin-left: auto; }
.form__status { margin: 16px 0 0; min-height: 1.4em; color: var(--muted); }
.form__status.is-error { color: var(--rose-2); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

.success {
  border-radius: 32px;
  padding: clamp(26px, 4.5vw, 56px);
  background: linear-gradient(150deg, rgba(138, 77, 255, 0.28), rgba(255, 62, 165, 0.18) 60%, rgba(19, 10, 34, 0.9));
  border: 1px solid rgba(255, 155, 210, 0.35);
}
.success:focus { outline: none; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; margin-bottom: 24px; box-shadow: 0 0 40px rgba(255, 62, 165, 0.6); }
.success__icon svg { width: 30px; height: 30px; color: #fff; }
.success h3 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.02; font-weight: 780; font-stretch: 112%; letter-spacing: -0.02em; margin-bottom: 16px; }
.success p { max-width: 56ch; color: var(--texte); }
.success__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 20px; }
.success__recap { margin: 26px 0 0; padding: 18px 22px; border-radius: 18px; background: rgba(11, 6, 20, 0.5); border: 1px solid var(--line); font-size: 15px; color: var(--texte); }
.success__recap dt { color: var(--muted); font-size: 13px; font-weight: 600; margin-top: 10px; }
.success__recap dt:first-child { margin-top: 0; }
.success__recap dd { margin: 2px 0 0; color: var(--perle); }
.success__again { margin: 22px 0 0; }
.success__restart { background: none; border: 0; padding: 0; color: var(--rose-2); text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }

@media (max-width: 760px) {
  .grid2, .cheque { grid-template-columns: minmax(0, 1fr); }
  .slots { grid-template-columns: minmax(0, 1fr); }
  .stepper li { font-size: 12px; }
  .stepper .stepper__txt { display: none; }
  .form { border-radius: 26px; }
  .form__nav .btn { flex: 1; }
  .success__actions .btn { width: 100%; }
}

/* =========================================================
   Contact + footer
   ========================================================= */
.contact { padding-bottom: clamp(60px, 10vh, 120px); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: end; }
.contact__phone {
  display: inline-block;
  margin: 26px 0 6px;
  font-size: clamp(40px, 9.6vw, 150px);
  line-height: 0.95;
  font-weight: 800; font-stretch: 116%; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-decoration: none;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.contact__who { color: var(--muted); margin: 0; }
.contact__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}

.site-footer {
  position: relative; z-index: 2;
  padding: clamp(40px, 8vh, 90px) var(--px) calc(28px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  overflow: hidden;
}
.footer__mark {
  margin: 0 0 clamp(36px, 6vh, 64px);
  font-size: clamp(30px, 7.2vw, 150px);
  line-height: 0.86;
  font-weight: 860; font-stretch: 125%; letter-spacing: -0.045em;
  white-space: nowrap;
  width: max-content;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0.95;
}
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.footer__grid h3 { font-size: 13px; font-weight: 650; color: var(--muted); margin-bottom: 8px; font-stretch: 105%; }
.footer__grid p { margin: 0; color: var(--perle); }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { color: var(--rose-2); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px; padding-top: 22px; font-size: 14px; color: var(--muted); }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__bottom a { color: var(--texte); text-decoration: none; }
.footer__bottom a:hover { color: var(--rose-2); }
@media (max-width: 860px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* Barre d'action mobile */
.mobilebar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: none; gap: 8px;
  padding: 7px;
  border-radius: 999px;
  background: rgba(19, 10, 34, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  transform: translateY(160%);
  transition: transform 0.5s var(--ease);
}
.mobilebar .btn { flex: 1; --h: 48px; padding: 0 12px; }
.mobilebar.is-on { transform: none; }
@media (max-width: 760px) { .mobilebar { display: flex; } }

/* =========================================================
   Pages secondaires (mentions, confidentialité, 404, merci)
   ========================================================= */
.page {
  position: relative; z-index: 2;
  max-width: calc(860px + 2 * var(--gutter)); margin: 0 auto;
  padding: calc(var(--header-h) + clamp(48px, 10vh, 110px)) var(--gutter) clamp(70px, 12vh, 130px);
}
.page h1 { font-size: clamp(40px, 6vw, 84px); line-height: 0.95; font-weight: 800; font-stretch: 116%; letter-spacing: -0.03em; margin-bottom: 18px; }
.page .page__intro { color: var(--muted); font-size: 18px; margin-bottom: 48px; }
.page h2 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 740; font-stretch: 110%; margin: 48px 0 14px; }
.page p, .page li { color: var(--texte); }
.page ul { padding-left: 1.2em; margin: 0 0 1em; }
.page li { margin-bottom: 6px; }
.page a { color: var(--rose-2); text-underline-offset: 3px; }
.page .card {
  padding: 22px 24px; border-radius: 20px;
  border: 1px solid var(--line); background: rgba(29, 16, 51, 0.45);
}
.page-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 10% 0%, rgba(138, 77, 255, 0.3), transparent 70%),
    radial-gradient(50% 40% at 100% 100%, rgba(255, 62, 165, 0.22), transparent 70%);
}
.lost { min-height: 100vh; display: grid; place-content: center; text-align: center; justify-items: center; padding: var(--gutter); position: relative; z-index: 2; }
.lost svg { width: min(70vw, 420px); margin-bottom: 36px; }
.lost h1 { font-size: clamp(40px, 7vw, 96px); line-height: 0.95; font-weight: 820; font-stretch: 118%; letter-spacing: -0.03em; margin-bottom: 16px; }
.lost p { color: var(--texte); max-width: 40ch; margin-bottom: 28px; }

/* =========================================================
   Mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal-hero { opacity: 1; transform: none; }
}
