/* =========================================================
   IMPACT — Social Sport Club · v2
   Shared stylesheet (Accueil, The Impact, High Impact, Low Impact)
   DA stricte : cream, clay, brique, lavande, ciel · grain partout
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --ciel:    #AAE0FC;
  --clay:    #2B0F08;
  --brique:  #DA704B;
  --camel:   #E9B589;
  --neutre:  #E0CBBD;
  --lavande: #B1A4BB;
  --cream:   #F2E8DD;
  --cream-2: #EBDDCB;

  --clay-90: rgba(43, 15, 8, 0.90);
  --clay-80: rgba(43, 15, 8, 0.80);
  --clay-60: rgba(43, 15, 8, 0.60);
  --clay-40: rgba(43, 15, 8, 0.40);
  --clay-20: rgba(43, 15, 8, 0.20);
  --clay-15: rgba(43, 15, 8, 0.15);
  --clay-10: rgba(43, 15, 8, 0.10);
  --clay-08: rgba(43, 15, 8, 0.08);
  --clay-04: rgba(43, 15, 8, 0.04);

  --cream-80: rgba(242, 232, 221, 0.80);
  --cream-50: rgba(242, 232, 221, 0.50);

  --gutter: clamp(20px, 4vw, 64px);
  --bar-h: 50px;
  --section-y: clamp(72px, 10vh, 140px);
  --maxw: 1320px;

  --ease-out-expo: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out-quart: cubic-bezier(.76, 0, .24, 1);

  /* Aurora composition — surchargée par chaque page */
  --aurora-core:   radial-gradient(ellipse 28% 32% at 58% 46%, rgba(218,112,75,1) 0%, rgba(218,112,75,0) 70%);
  --aurora-warm:   radial-gradient(ellipse 42% 48% at 58% 46%, rgba(218,112,75,0.45) 0%, rgba(218,112,75,0) 80%);
  --aurora-mauve:  radial-gradient(ellipse 56% 60% at 50% 50%, rgba(177,164,187,0.65) 0%, rgba(177,164,187,0) 80%);
  --aurora-cool:   radial-gradient(ellipse 82% 92% at 44% 56%, rgba(170,224,252,0.55) 0%, rgba(170,224,252,0) 90%);
  --aurora-wash:   radial-gradient(ellipse at 50% 50%, #F2E8DD 0%, #EBDDCB 100%);
  --aurora-accent: radial-gradient(ellipse 30% 20% at 35% 40%, rgba(233,181,137,0.7) 0%, rgba(233,181,137,0) 70%),
                   radial-gradient(ellipse 24% 18% at 70% 60%, rgba(218,112,75,0.55) 0%, rgba(218,112,75,0) 70%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: var(--clay);
  background: var(--cream);
  min-height: 100svh;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--clay); color: var(--cream); }

:where(a, button, input, [tabindex]):focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Visually hidden ---------- */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.shell {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---------- Aurore grainée (fond global, fixed) ---------- */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: var(--cream);
}
.aurora__layer {
  position: absolute;
  inset: -15%;
  will-change: transform;
  background:
    var(--aurora-core),
    var(--aurora-warm),
    var(--aurora-mauve),
    var(--aurora-cool),
    var(--aurora-wash);
  animation: drift 32s ease-in-out infinite;
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: transform 600ms var(--ease-out-expo);
}
.aurora__layer--accent {
  mix-blend-mode: soft-light;
  opacity: 0.55;
  background: var(--aurora-accent), transparent;
  animation: drift 48s ease-in-out infinite reverse;
}
.aurora__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2' stitchTiles='stitch' seed='5'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.42 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.7;
  pointer-events: none;
}
.aurora__vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 110% 90% at 50% 50%, rgba(43,15,8,0) 55%, rgba(43,15,8,0.10) 100%);
}

@keyframes drift {
  0%, 100% { transform: translate3d(var(--mx, 0px), var(--my, 0px), 0) scale(1) rotate(0deg); }
  25%      { transform: translate3d(calc(var(--mx, 0px) + 2vw), calc(var(--my, 0px) - 2vh), 0) scale(1.06) rotate(0.5deg); }
  50%      { transform: translate3d(calc(var(--mx, 0px) - 1.5vw), calc(var(--my, 0px) + 1vh), 0) scale(1.03) rotate(-0.4deg); }
  75%      { transform: translate3d(calc(var(--mx, 0px) + 1vw), calc(var(--my, 0px) + 2vh), 0) scale(1.05) rotate(0.3deg); }
}

/* Variantes d'aurore par page */
body.page-the-impact {
  --aurora-core:  radial-gradient(ellipse 24% 28% at 50% 48%, rgba(218,112,75,0.85) 0%, rgba(218,112,75,0) 65%);
  --aurora-warm:  radial-gradient(ellipse 38% 44% at 50% 50%, rgba(218,112,75,0.30) 0%, rgba(218,112,75,0) 80%);
  --aurora-mauve: radial-gradient(ellipse 60% 68% at 50% 50%, rgba(177,164,187,0.70) 0%, rgba(177,164,187,0) 80%);
  --aurora-cool:  radial-gradient(ellipse 90% 100% at 50% 55%, rgba(170,224,252,0.60) 0%, rgba(170,224,252,0) 90%);
}
body.page-high-impact {
  --aurora-core:  radial-gradient(ellipse 32% 44% at 78% 48%, rgba(218,112,75,1) 0%, rgba(218,112,75,0) 65%);
  --aurora-warm:  radial-gradient(ellipse 48% 58% at 78% 48%, rgba(218,112,75,0.55) 0%, rgba(218,112,75,0) 80%);
  --aurora-mauve: radial-gradient(ellipse 30% 36% at 75% 50%, rgba(233,181,137,0.45) 0%, rgba(233,181,137,0) 80%);
  --aurora-cool:  radial-gradient(ellipse 70% 82% at 18% 50%, rgba(170,224,252,0.55) 0%, rgba(170,224,252,0) 85%);
  --aurora-accent:radial-gradient(ellipse 20% 14% at 30% 30%, rgba(170,224,252,0.55) 0%, rgba(170,224,252,0) 70%),
                  radial-gradient(ellipse 18% 12% at 80% 75%, rgba(218,112,75,0.6) 0%, rgba(218,112,75,0) 70%);
}
body.page-low-impact {
  --aurora-core:  radial-gradient(ellipse 22% 26% at 62% 52%, rgba(218,112,75,0.45) 0%, rgba(218,112,75,0) 70%);
  --aurora-warm:  radial-gradient(ellipse 36% 40% at 62% 52%, rgba(218,112,75,0.18) 0%, rgba(218,112,75,0) 80%);
  --aurora-mauve: radial-gradient(ellipse 64% 72% at 42% 48%, rgba(177,164,187,0.85) 0%, rgba(177,164,187,0) 85%);
  --aurora-cool:  radial-gradient(ellipse 88% 92% at 50% 52%, rgba(170,224,252,0.75) 0%, rgba(170,224,252,0) 90%);
  --aurora-accent:radial-gradient(ellipse 22% 16% at 30% 60%, rgba(177,164,187,0.55) 0%, rgba(177,164,187,0) 70%),
                  radial-gradient(ellipse 20% 14% at 70% 35%, rgba(170,224,252,0.55) 0%, rgba(170,224,252,0) 70%);
}

/* ---------- Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(242,232,221,0.85), rgba(242,232,221,0.55));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--clay-08);
}
.bar {
  height: var(--bar-h);
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--clay);
}
.bar__left, .bar__right, .bar__center {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.bar__left  { justify-self: start; }
.bar__right { justify-self: end; }
.bar__center{ justify-self: center; color: var(--clay-60); }

.bar__left::before,
.bar__right::after {
  content: "";
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--clay);
  flex: 0 0 26px;
}

.bar__home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.24em;
}

/* Sub-nav (programmes) */
.subnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 4vw, 56px);
  padding: 14px var(--gutter);
  border-top: 1px solid var(--clay-08);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}
.subnav__link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  color: var(--clay-80);
  transition: color .35s var(--ease-out-expo);
}
.subnav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 1px;
  background: var(--clay);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .45s var(--ease-out-expo);
}
.subnav__link:hover,
.subnav__link:focus-visible,
.subnav__link[aria-current="page"] {
  color: var(--clay);
}
.subnav__link:hover::after,
.subnav__link:focus-visible::after,
.subnav__link[aria-current="page"]::after {
  transform: scaleX(1);
}

/* Burger button (mobile) */
.burger {
  display: none;
  width: 40px; height: 40px;
  margin-right: -8px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  position: relative;
}
.burger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--clay);
  position: absolute;
  left: 9px;
  transition: transform .35s var(--ease-out-expo), top .35s var(--ease-out-expo), opacity .2s linear;
}
.burger span:nth-child(1) { top: 14px; }
.burger span:nth-child(2) { top: 20px; }
.burger span:nth-child(3) { top: 26px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* Drawer mobile */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--cream);
  transform: translateY(-100%);
  transition: transform .55s var(--ease-out-expo);
  visibility: hidden;
  display: flex;
  flex-direction: column;
}
.drawer[data-open="true"] { transform: translateY(0); visibility: visible; }
.drawer__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--gutter);
  gap: 24px;
}
.drawer__link {
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-size: clamp(40px, 11vw, 72px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--clay);
  display: inline-block;
  transform: skewX(-12deg);
}
.drawer__link[aria-current="page"] { color: var(--brique); }
.drawer__meta {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay-60);
  margin-top: 12px;
}
.drawer__close {
  position: absolute;
  top: 14px; right: var(--gutter);
}

@media (max-width: 720px) {
  .subnav { display: none; }
  .burger { display: inline-flex; }
  .bar__center { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: clamp(20px, 3vh, 36px);
  padding: clamp(32px, 7vh, 96px) var(--gutter) clamp(72px, 10vh, 140px);
  min-height: calc(100svh - var(--bar-h));
  min-height: calc(100vh - var(--bar-h));
}
.hero--page {
  min-height: auto;
  padding-top: clamp(48px, 10vh, 120px);
  padding-bottom: clamp(48px, 8vh, 100px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--clay);
}
.eyebrow::before, .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--clay);
}
.eyebrow--single::after { display: none; }

/* Wordmark */
.wordmark {
  font-family: 'Archivo Black', 'Inter', Helvetica, Arial, sans-serif;
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.01em;
  color: var(--clay);
  margin: 0;
  padding: 0 0 0.04em 0;
  user-select: none;
  -webkit-user-select: none;
}
.wordmark--xl  { font-size: clamp(64px, 22vw, 320px); }
.wordmark--lg  { font-size: clamp(56px, 16vw, 220px); }
.wordmark--md  { font-size: clamp(40px, 9vw, 140px); }
.wordmark--sm  { font-size: clamp(28px, 5vw, 80px); }

.wordmark__inner {
  display: inline-block;
  transform: skewX(-12deg);
  transform-origin: 50% 50%;
  transition: transform .6s var(--ease-out-expo), letter-spacing .6s var(--ease-out-expo);
}
.wordmark--interactive {
  cursor: pointer;
  touch-action: manipulation;
}
.wordmark--interactive.is-pressed .wordmark__inner {
  transform: skewX(-12deg) scale(0.985);
  transition: transform .3s var(--ease-out-expo);
}
@media (hover: hover) {
  .wordmark--interactive:hover .wordmark__inner { transform: skewX(-12deg) scale(1.015); }
}

/* Tagline */
.tagline {
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  color: var(--clay-80);
  max-width: 520px;
  margin: 0 auto;
}
.tagline--lg {
  font-size: clamp(18px, 2vw, 24px);
  max-width: 600px;
}

/* Countdown */
.countdown {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-size: clamp(15px, 1.7vw, 21px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
}
.countdown__dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--brique);
  box-shadow: 0 0 0 0 rgba(218,112,75,0.6);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(218,112,75,0.55); }
  50%      { transform: scale(1.25); box-shadow: 0 0 0 8px rgba(218,112,75,0); }
}

/* ---------- Form pill (waitlist) ---------- */
.form { width: 100%; max-width: 560px; margin: 0 auto; }
.form__pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 6px 6px 22px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--clay-15);
  border-radius: 999px;
  transition: background .35s var(--ease-out-expo), border-color .35s var(--ease-out-expo), transform .35s var(--ease-out-expo);
}
.form__pill:focus-within {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--clay);
}
.form__input {
  flex: 1 1 auto;
  min-width: 0;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 14px 4px;
  font-size: 15px;
  letter-spacing: 0.01em;
  color: var(--clay);
}
.form__input::placeholder { color: var(--clay-40); }
.form__input:-webkit-autofill {
  -webkit-text-fill-color: var(--clay);
  transition: background-color 9999s ease-in-out 0s;
}
.form__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  background: var(--clay);
  color: var(--cream);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background .3s var(--ease-out-expo), transform .3s var(--ease-out-expo);
}
.form__btn .arrow {
  display: inline-block;
  transition: transform .3s var(--ease-out-expo);
}
.form__btn:hover { background: var(--brique); }
.form__btn:hover .arrow,
.form__btn:focus-visible .arrow { transform: translateX(4px); }
.form__btn:active { transform: scale(0.98); }
.form__note {
  margin: 14px auto 0;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--clay-60);
  text-align: center;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  15%      { transform: translateX(-8px); }
  30%      { transform: translateX(7px); }
  45%      { transform: translateX(-5px); }
  60%      { transform: translateX(4px); }
  75%      { transform: translateX(-2px); }
}
.form__pill.is-shaking { animation: shake .5s var(--ease-out-expo); }

.form.is-success .form__pill {
  background: var(--clay);
  border-color: var(--clay);
  justify-content: center;
  padding: 18px 22px;
}
.form.is-success .form__pill > * { display: none; }
.form.is-success .form__pill::before {
  content: "✓ Bienvenue dans le premier cercle";
  display: block;
  color: var(--cream);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 540px) {
  .form__pill {
    flex-direction: column;
    padding: 8px;
    gap: 6px;
    border-radius: 22px;
  }
  .form__input { width: 100%; text-align: center; padding: 14px 12px; }
  .form__btn { width: 100%; justify-content: center; padding: 14px 22px; }
  .form.is-success .form__pill { border-radius: 22px; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 4;
  padding: var(--section-y) 0;
}
.section--tight { padding: clamp(48px, 7vh, 96px) 0; }
.section__head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: clamp(36px, 5vh, 64px);
  max-width: 880px;
}
.section__kicker {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--clay-60);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section__kicker::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--clay-60);
}
.section__title {
  font-family: 'Archivo Black', 'Inter', sans-serif;
  font-size: clamp(36px, 6vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.01em;
  color: var(--clay);
  margin: 0;
  font-weight: 900;
}
.section__title em {
  font-style: normal;
  display: inline-block;
  transform: skewX(-12deg);
}
.section__intro {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--clay-80);
  max-width: 640px;
  margin: 0;
}

/* Manifesto — 3 colonnes Sport / Social / Sophistiqué */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(36px, 5vh, 56px);
}
.pillar {
  border-top: 1px solid var(--clay-20);
  padding-top: 22px;
}
.pillar__num {
  font-family: 'Archivo Black', sans-serif;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--clay-60);
  margin-bottom: 14px;
}
.pillar__title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.05;
  margin: 0 0 12px;
  display: inline-block;
  transform: skewX(-12deg);
}
.pillar__body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--clay-80);
  margin: 0;
}

@media (max-width: 720px) {
  .pillars { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Cartes Programmes (homepage) ---------- */
.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 16px;
}
.program-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: clamp(360px, 48vh, 520px);
  padding: 32px 28px;
  border-radius: 24px;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  transition: transform .55s var(--ease-out-expo), box-shadow .55s var(--ease-out-expo);
  border: 1px solid var(--clay-10);
  background: var(--cream);
}
.program-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px -24px rgba(43,15,8,0.35); }

.program-card__aurora {
  position: absolute;
  inset: -10%;
  z-index: -2;
  pointer-events: none;
  filter: blur(2px);
}
.program-card__grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch' seed='3'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.36 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.7;
}

/* Variantes d'aurore par carte */
.program-card--the .program-card__aurora {
  background:
    radial-gradient(ellipse 40% 38% at 50% 48%, rgba(218,112,75,0.55) 0%, rgba(218,112,75,0) 70%),
    radial-gradient(ellipse 70% 70% at 50% 50%, rgba(177,164,187,0.55) 0%, rgba(177,164,187,0) 80%),
    radial-gradient(ellipse 100% 100% at 50% 60%, rgba(170,224,252,0.55) 0%, rgba(170,224,252,0) 90%),
    var(--cream);
}
.program-card--high .program-card__aurora {
  background:
    radial-gradient(ellipse 50% 60% at 75% 50%, rgba(218,112,75,0.95) 0%, rgba(218,112,75,0) 70%),
    radial-gradient(ellipse 60% 80% at 30% 60%, rgba(170,224,252,0.45) 0%, rgba(170,224,252,0) 85%),
    var(--cream);
}
.program-card--low .program-card__aurora {
  background:
    radial-gradient(ellipse 60% 60% at 40% 50%, rgba(177,164,187,0.85) 0%, rgba(177,164,187,0) 80%),
    radial-gradient(ellipse 80% 80% at 60% 60%, rgba(170,224,252,0.7) 0%, rgba(170,224,252,0) 90%),
    radial-gradient(ellipse 30% 26% at 70% 30%, rgba(218,112,75,0.30) 0%, rgba(218,112,75,0) 80%),
    var(--cream);
}

.program-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay-60);
}
.program-card__num { color: var(--clay); font-family: 'Archivo Black', sans-serif; }
.program-card__title {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 28px 0 14px;
  color: var(--clay);
}
.program-card__title em {
  font-style: normal;
  display: inline-block;
  transform: skewX(-12deg);
}
.program-card__sub {
  font-size: 15px;
  line-height: 1.55;
  color: var(--clay-80);
  margin: 0;
  max-width: 36ch;
}
.program-card__cta {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
}
.program-card__cta .arrow {
  display: inline-block;
  transition: transform .35s var(--ease-out-expo);
}
.program-card:hover .program-card__cta .arrow { transform: translateX(6px); }

@media (max-width: 980px) {
  .programs { grid-template-columns: 1fr; }
}

/* ---------- Bandeau Clay (citation) ---------- */
.banner {
  position: relative;
  background: var(--clay);
  color: var(--cream);
  padding: clamp(72px, 14vh, 160px) var(--gutter);
  overflow: hidden;
  isolation: isolate;
}
.banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.92' numOctaves='2' stitchTiles='stitch' seed='7'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.32 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: screen;
  opacity: 0.18;
  pointer-events: none;
}
.banner__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.banner__quote {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(34px, 5.5vw, 80px);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--cream);
}
.banner__quote em {
  font-style: normal;
  display: inline-block;
  transform: skewX(-12deg);
  color: var(--brique);
}
.banner__sub {
  margin: 22px auto 0;
  max-width: 540px;
  color: var(--cream-80);
  font-size: 15px;
  line-height: 1.6;
}

/* ---------- Activity cards (avec image) ---------- */
.activities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.activity {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream);
  border: 1px solid var(--clay-10);
  transition: transform .55s var(--ease-out-expo), box-shadow .55s var(--ease-out-expo);
  isolation: isolate;
}
.activity:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(43,15,8,0.35); }

.activity__media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--clay);
}
.activity__img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.85);
  transition: transform 1.2s var(--ease-out-expo);
}
.activity:hover .activity__img { transform: scale(1.04); }

.activity__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(43,15,8,0) 30%, rgba(43,15,8,0.55) 100%);
}
.activity__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2' stitchTiles='stitch' seed='4'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.42 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.55;
}
/* Tint accent par programme */
body.page-high-impact .activity__img { filter: contrast(1.08) saturate(0.95) hue-rotate(-4deg); }
body.page-low-impact .activity__img { filter: contrast(0.98) saturate(0.7) brightness(1.05); }

.activity__num {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 3;
  font-family: 'Archivo Black', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--cream);
  background: rgba(43,15,8,0.55);
  padding: 6px 10px;
  border-radius: 999px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.activity__name {
  position: absolute;
  left: 18px; right: 18px; bottom: 16px;
  z-index: 3;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
  color: var(--cream);
  margin: 0;
}
.activity__name em {
  font-style: normal;
  display: inline-block;
  transform: skewX(-12deg);
}
.activity__body {
  padding: 18px 18px 22px;
}
.activity__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--clay-80);
}

@media (max-width: 980px) {
  .activities { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .activities { grid-template-columns: 1fr; }
}

/* ---------- Stats row ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--clay-15);
  border-bottom: 1px solid var(--clay-15);
  padding: 32px 0;
  margin-top: clamp(28px, 4vh, 48px);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.stat__num {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1;
  color: var(--clay);
  display: inline-block;
  transform: skewX(-12deg);
}
.stat__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-60);
}
@media (max-width: 720px) {
  .stats { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Specs row (durée, format, niveau, équipement) ---------- */
.specs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--clay-15);
  border: 1px solid var(--clay-15);
  border-radius: 18px;
  overflow: hidden;
  margin-top: clamp(28px, 4vh, 48px);
}
.spec {
  background: var(--cream);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.spec__label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-60);
}
.spec__value {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--clay);
  line-height: 1.1;
}
@media (max-width: 720px) { .specs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .specs { grid-template-columns: 1fr; } }

/* ---------- Method (méthode IMPACT) ---------- */
.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: clamp(28px, 4vh, 48px);
}
.method__item {
  position: relative;
  padding: 28px 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--clay-10);
}
.method__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--clay);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Black', sans-serif;
  font-size: 14px;
  margin-bottom: 14px;
}
.method__title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  margin: 0 0 8px;
  display: inline-block;
  transform: skewX(-12deg);
}
.method__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--clay-80);
}
@media (max-width: 980px) { .method { grid-template-columns: 1fr; } }

/* ---------- Cross-link (vers autres programmes) ---------- */
.crosslink {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.crosslink__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 220px;
  padding: 28px;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid var(--clay-10);
  transition: transform .5s var(--ease-out-expo), box-shadow .5s var(--ease-out-expo);
}
.crosslink__card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px -22px rgba(43,15,8,0.35); }
.crosslink__card .program-card__aurora { position: absolute; inset: -10%; z-index: -2; }
.crosslink__card .program-card__grain { position: absolute; inset: 0; z-index: -1; }

.crosslink__kicker {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--clay-60);
}
.crosslink__title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  margin: 16px 0 8px;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.crosslink__title em {
  font-style: normal;
  display: inline-block;
  transform: skewX(-12deg);
}
.crosslink__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
}
.crosslink__cta .arrow { transition: transform .35s var(--ease-out-expo); }
.crosslink__card:hover .crosslink__cta .arrow { transform: translateX(6px); }
@media (max-width: 720px) { .crosslink { grid-template-columns: 1fr; } }

/* ---------- Waitlist block (bas de page) ---------- */
.waitlist {
  position: relative;
  text-align: center;
  padding: var(--section-y) var(--gutter);
  isolation: isolate;
  overflow: hidden;
}
.waitlist__inner {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.waitlist__title {
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 0;
}
.waitlist__title em {
  font-style: normal;
  display: inline-block;
  transform: skewX(-12deg);
}
.waitlist__sub {
  font-size: 15px;
  line-height: 1.6;
  color: var(--clay-80);
  max-width: 460px;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 5;
  margin-top: auto;
  border-top: 1px solid var(--clay-08);
  background: rgba(242, 232, 221, 0.45);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11px;
  letter-spacing: 0.18em;
}
.site-footer .bar { color: var(--clay); }
.site-footer__social {
  display: flex;
  gap: 22px;
  align-items: center;
}
.site-footer__social a {
  position: relative;
  padding: 6px 0;
  letter-spacing: 0.18em;
}
.site-footer__social a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .4s var(--ease-out-expo);
}
.site-footer__social a:hover::after,
.site-footer__social a:focus-visible::after { transform: scaleX(1); }

@media (max-width: 720px) {
  .site-footer .bar__left { display: none; }
  .site-footer .bar__center { grid-column: 1; justify-self: start; }
  .site-footer .bar__right  { grid-column: 3; justify-self: end; }
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.is-in {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal[data-delay="0"]    { --reveal-delay: 0s; }
.reveal[data-delay="150"]  { --reveal-delay: .15s; }
.reveal[data-delay="250"]  { --reveal-delay: .25s; }
.reveal[data-delay="350"]  { --reveal-delay: .35s; }
.reveal[data-delay="450"]  { --reveal-delay: .45s; }
.reveal[data-delay="600"]  { --reveal-delay: .60s; }
.reveal[data-delay="750"]  { --reveal-delay: .75s; }
.reveal[data-delay="950"]  { --reveal-delay: .95s; }
.reveal[data-delay="1100"] { --reveal-delay: 1.10s; }
.reveal[data-delay="1300"] { --reveal-delay: 1.30s; }
.reveal[data-delay="1500"] { --reveal-delay: 1.50s; }

/* ---------- Easter egg flash overlay ---------- */
.flash {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s var(--ease-out-expo);
}
.flash.is-active {
  opacity: 1;
  pointer-events: auto;
  cursor: pointer;
}
.flash__aurora {
  position: absolute;
  inset: -10%;
  background: var(--cream);
  animation: flashDrift 6s ease-in-out infinite;
}
.flash__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='2' stitchTiles='stitch' seed='9'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.42 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: 0.75;
}
.flash__text {
  position: relative;
  font-family: 'Archivo Black', sans-serif;
  font-size: clamp(56px, 14vw, 200px);
  line-height: 0.88;
  color: var(--clay);
  text-align: center;
  padding: 0 6vw;
  animation: flashPop .9s var(--ease-out-expo);
}
.flash__text span { display: block; transform: skewX(-12deg); }
.flash__cta {
  position: absolute;
  bottom: clamp(40px, 8vh, 96px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid var(--clay);
  background: rgba(242,232,221,0.6);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

@keyframes flashPop {
  0%   { opacity: 0; transform: translateY(20px) scale(0.92); }
  60%  { opacity: 1; transform: translateY(0) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes flashDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.05) rotate(-0.6deg); }
}

.flash--high .flash__aurora {
  background:
    radial-gradient(ellipse 40% 60% at 70% 50%, rgba(218,112,75,1) 0%, rgba(218,112,75,0) 60%),
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(218,112,75,0.5) 0%, rgba(218,112,75,0) 80%),
    radial-gradient(ellipse 80% 90% at 30% 50%, rgba(170,224,252,0.5) 0%, rgba(170,224,252,0) 80%),
    #F2E8DD;
}
.flash--low .flash__aurora {
  background:
    radial-gradient(ellipse 45% 35% at 75% 55%, rgba(218,112,75,0.6) 0%, rgba(218,112,75,0) 65%),
    radial-gradient(ellipse 70% 70% at 35% 55%, rgba(177,164,187,0.7) 0%, rgba(177,164,187,0) 80%),
    radial-gradient(ellipse 90% 80% at 50% 50%, rgba(170,224,252,0.65) 0%, rgba(170,224,252,0) 85%),
    #F2E8DD;
}
.flash--the .flash__aurora {
  background:
    radial-gradient(ellipse 35% 45% at 50% 45%, rgba(218,112,75,0.7) 0%, rgba(218,112,75,0) 55%),
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(170,224,252,0.6) 0%, rgba(170,224,252,0) 70%),
    radial-gradient(ellipse 40% 50% at 50% 55%, rgba(177,164,187,0.55) 0%, rgba(177,164,187,0) 70%),
    #F2E8DD;
}

/* Long-press progress ring */
.press-ring {
  position: fixed;
  pointer-events: none;
  width: 64px; height: 64px;
  border-radius: 999px;
  border: 1.5px solid var(--clay-40);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  z-index: 900;
  transition: opacity .25s var(--ease-out-expo), transform .55s var(--ease-out-expo);
}
.press-ring.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  border-color: var(--clay);
}

/* Hint */
.hint {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bar-h) + 14px);
  transform: translateX(-50%);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--clay-40);
  pointer-events: none;
  opacity: 0;
  z-index: 50;
  white-space: nowrap;
  transition: opacity 1s var(--ease-out-expo);
}
.hint.is-visible { opacity: 1; }

/* ---------- Reduced motion ---------- */
@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;
  }
  .reveal { opacity: 1; transform: none; }
  .aurora__layer { animation: none; }
  .countdown__dot { animation: none; }
  .flash__aurora { animation: none; }
}

/* ---------- Print ---------- */
@media print {
  .aurora, .hint, .press-ring, .flash, .site-header, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
}
