/* =========================================================================
   INTERACT CLUB RUSPINA MONASTIR — STYLES
   Palette : encre / bleu Interact / corail vif / blancs froids (aucun jaune)
   ========================================================================= */

:root {
  --ink: #07102B;
  --ink-2: #0E1C4A;
  --blue: #1F4FE0;
  --blue-deep: #1238B4;
  --sky: #DCE6FF;
  --ice: #EFF3FF;
  --paper: #FAFBFF;
  --coral: #E11D48;        /* fonds / boutons */
  --coral-hi: #FF6B87;     /* texte sur fonds sombres */
  --text: #0C1535;
  --muted: #55607F;
  --line: rgba(12, 21, 53, .14);
  --line-dark: rgba(255, 255, 255, .18);

  --pad: clamp(1.25rem, 5vw, 5rem);
  --max: 1400px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);

  --f-display: "Bricolage Grotesque", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--text);
  font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul { list-style: none; }

:focus-visible { outline: 3px solid var(--coral-hi); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 200; background: #fff; color: var(--ink); padding: .7rem 1rem; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- Typographic scale ---------- */
.h1 {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-variation-settings: "wdth" 80;
  font-size: clamp(3rem, 11vw, 9.5rem); line-height: .88; letter-spacing: -.02em;
}
.ln { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.ln > span { display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px;
  padding: .9rem 1.7rem; border-radius: 999px; font-weight: 600; font-size: .95rem; letter-spacing: .06em;
  transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn--primary { background: var(--coral); color: #fff; }
.btn--primary:hover { background: #fff; color: var(--coral); transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid rgba(255, 255, 255, .55); color: #fff; backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-2px); }

.textlink { display: inline-block; margin-top: 1.2rem; font-weight: 600; border-bottom: 2px solid currentColor; padding-bottom: 2px; }

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 130; transition: background .4s, backdrop-filter .4s; }
.nav.is-scrolled { background: rgba(7, 16, 43, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.nav__bar { display: flex; align-items: center; justify-content: space-between; height: 68px; padding-inline: var(--pad); max-width: 1600px; margin-inline: auto; }
.nav__brand { display: flex; align-items: center; gap: .7rem; color: #fff; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: .04em; position: relative; z-index: 130; }
.nav__brand img { width: auto; height: 46px; object-fit: contain; }
.nav__links { display: none; gap: clamp(1rem, 2.2vw, 2.2rem); }
.nav__links a { position: relative; color: rgba(255, 255, 255, .78); font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; padding: .5rem 0; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; background: var(--coral-hi); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: #fff; }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); }
.nav__progress { height: 2px; background: transparent; }
.nav__progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--coral-hi)); transform-origin: left; transform: scaleX(0); }

.nav__burger { position: relative; z-index: 130; width: 48px; height: 48px; display: grid; place-content: center; gap: 7px; }
.nav__burger span { display: block; width: 26px; height: 2px; background: #fff; transition: transform .5s var(--ease-io); }
.nav__burger[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 120; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 6rem var(--pad) 2rem;
  clip-path: circle(0 at calc(100% - 2.6rem) 2.2rem); visibility: hidden;
  transition: clip-path .8s var(--ease-io), visibility 0s .8s;
  background-image: radial-gradient(60vmax 60vmax at 100% 0%, rgba(31, 79, 224, .45), transparent 60%);
}
.menu.is-open { clip-path: circle(150vmax at calc(100% - 2.6rem) 2.2rem); visibility: visible; transition: clip-path .8s var(--ease-io), visibility 0s; }
.menu__inner { display: grid; gap: .2rem; }
.menu__inner a { overflow: hidden; display: block; font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 80; font-size: clamp(2.3rem, 11vw, 4.4rem); line-height: 1.05; padding: .15rem 0; }
.menu__inner a span { display: block; transform: translateY(110%); transition: transform .8s var(--ease) calc(var(--i) * 60ms + 250ms); }
.menu.is-open .menu__inner a span { transform: none; }
.menu__inner a:hover, .menu__inner a:focus-visible { color: var(--coral-hi); }
.menu__foot { margin-top: 2.5rem; color: rgba(255, 255, 255, .6); font-size: .9rem; }

@media (min-width: 1000px) and (max-width: 1119px) {
  /* resserre l'espacement entre liens (continu : 14px à 1000px → ≈ valeur d'origine à 1120px) */
  .nav__links { gap: calc(8.9vw - 75px); }
}
@media (min-width: 1000px) {
  .nav__links { display: flex; }
  .nav__burger { display: none; }
}

/* =========================================================================
   01 — HERO
   ========================================================================= */
.hero { --p: 0; position: relative; height: 175vh; height: 175svh; background: var(--ink); }
.hero__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: #fff; }
.hero__media {
  position: absolute; inset: 0; overflow: hidden; background: var(--ink-2); will-change: clip-path, transform;
  clip-path: inset(calc(var(--p) * 8svh) calc(var(--p) * 6vw) calc(var(--p) * 8svh) calc(var(--p) * 6vw) round calc(var(--p) * 36px));
  transform: scale(calc(1 - var(--p) * .04));
}
.hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: translate3d(0, calc(var(--p) * -5%), 0) scale(1.12); }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 16, 43, .62) 0%, rgba(7, 16, 43, .22) 32%, rgba(7, 16, 43, .78) 72%, rgba(7, 16, 43, .96) 100%),
    linear-gradient(100deg, rgba(18, 56, 180, .5), rgba(18, 56, 180, 0) 60%);
}
.hero__rings { position: absolute; right: -14vmax; top: 50%; width: 70vmax; height: 70vmax; transform: translateY(-50%) rotate(calc(var(--p) * 40deg)); opacity: calc(.5 - var(--p) * .5); pointer-events: none; }
.hero__rings circle { fill: none; stroke: rgba(255, 255, 255, .22); stroke-width: .8; }

.hero__content {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: clamp(1.5rem, 5vh, 3.5rem); padding-top: 5.5rem;
  transform: translate3d(0, calc(var(--p) * -9svh), 0); opacity: calc(1 - var(--p) * 1.5);
  left: 50%; right: auto; width: 100%; max-width: var(--max); translate: -50% 0;
}
.hero__logo { width: clamp(130px, 14vw, 200px); height: auto; margin-bottom: 1.2rem; }
.hero__title {
  font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75;
  font-size: clamp(3rem, min(14.5vw, 17.5vh), 13rem); line-height: .84; letter-spacing: -.025em; margin-bottom: clamp(1.2rem, 3vh, 2.2rem);
}
/* « INTERACT CLUB » : le nom garde ses 3 lignes là où c'est possible.
   - grands écrans paysage : même taille qu'avant, « INTERACT CLUB » tient sur une ligne ;
   - paysage plus carré / petits téléphones peu hauts : la taille s'ajuste juste assez pour tenir sur une ligne
     (sinon le logo remonterait sous la navbar) ;
   - téléphones et tablettes en portrait : le nom passe naturellement à la ligne, taille inchangée. */
@media (min-aspect-ratio: 1/1) {
  .hero__title { font-size: clamp(3rem, min(11.4vw, 17.5vh), 13rem); }
}
@media (max-aspect-ratio: 1/1) and (max-height: 700px) {
  .hero__title { font-size: clamp(2.4rem, min(11.4vw, 17.5vh), 13rem); }
}
@media (min-aspect-ratio: 8/5) and (max-width: 1700px), (min-aspect-ratio: 7/4) and (max-width: 2000px) {
  .hero__title { font-size: clamp(3rem, min(14.5vw, 17.5vh), 13rem); width: max-content; }
  .hero__title .ln:first-child > span { white-space: nowrap; }
}
.hero__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; }
.hero__copy { max-width: 40rem; }
.hero__tag { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.3rem, 3.2vw, 2.3rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: .9rem; }
.hero__tag span { display: inline-block; }
.hero__tag .hl { color: var(--coral-hi); }
.hero__lead { max-width: 34rem; color: rgba(255, 255, 255, .86); font-size: clamp(.98rem, 1.5vw, 1.12rem); margin-bottom: 1.5rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__tools { display: flex; flex-direction: column; align-items: flex-end; gap: 1.2rem; }

.vctl { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .35); transition: background .3s; }
.vctl:hover { background: rgba(255, 255, 255, .3); }
.vctl svg { width: 20px; height: 20px; fill: #fff; }
.vctl .i-play { display: none; }
.vctl.is-paused .i-play { display: block; }
.vctl.is-paused .i-pause { display: none; }

.scrollcue { display: none; flex-direction: column; align-items: center; gap: .6rem; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.scrollcue i { display: block; width: 1px; height: 54px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
.scrollcue i::after { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 40%; background: #fff; animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 70%, 100% { transform: translateY(260%); } }

/* Page-load orchestration (the one moment) */
.js .hero__title .ln > span, .js .hero__tag span { transform: translateY(105%); }
.js .hero__logo, .js .hero__lead, .js .hero__cta, .js .hero__tools { opacity: 0; }
.js .hero__tag span { transform: translateY(60%); opacity: 0; }
.hero.is-live .hero__title .ln > span { transform: none; transition: transform 1.3s var(--ease) calc(var(--i, 0) * 120ms + 200ms); }
.hero.is-live .hero__tag span { transform: none; opacity: 1; transition: transform .9s var(--ease) calc(var(--i, 0) * 140ms + 900ms), opacity .9s var(--ease) calc(var(--i, 0) * 140ms + 900ms); }
.hero.is-live .hero__logo, .hero.is-live .hero__lead, .hero.is-live .hero__cta, .hero.is-live .hero__tools { opacity: 1; transition: opacity 1s ease 1.5s; }
.hero.is-live .hero__logo { transition-delay: .1s; }

@media (min-width: 900px) { .scrollcue { display: flex; } }
@media (max-width: 640px) {
  .hero { height: 150vh; height: 150svh; }
  .hero__row { flex-direction: column; align-items: flex-start; }
  .hero__tools { flex-direction: row; align-items: center; }
  .hero__lead { font-size: .98rem; }
  .btn { padding-inline: 1.3rem; min-height: 50px; }
}

/* =========================================================================
   02 — INTRODUCTION  (Rotary → Interact → ICRM)
   ========================================================================= */
.intro {
  position: relative; z-index: 2; margin-top: -9svh; background: var(--ice);
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0;
  padding: clamp(5rem, 12vw, 10rem) 0 clamp(5rem, 11vw, 9rem);
}
.chain { --line: 0; position: relative; display: grid; gap: clamp(3.5rem, 9vw, 7rem); }
.chain__line { position: absolute; left: calc(clamp(88px, 14vw, 180px) / 2 - 1px); top: 40px; bottom: 40px; width: 2px; background: var(--line); }
.chain__line i { display: block; width: 100%; height: 100%; background: linear-gradient(var(--blue), var(--coral)); transform-origin: top; transform: scaleY(var(--line)); }

.station { position: relative; display: grid; grid-template-columns: clamp(88px, 14vw, 180px) 1fr; gap: clamp(1.4rem, 5vw, 4.5rem); align-items: center; }
.station__badge { width: clamp(88px, 14vw, 180px); aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; padding: 16%; box-shadow: 0 0 0 8px var(--ice), 0 20px 50px -20px rgba(18, 56, 180, .45); position: relative; z-index: 1; }
.station__badge img { width: 100%; height: 100%; object-fit: contain; }
.station__badge--blue { background: var(--blue); padding: 7%; }
.station__title { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 80; text-transform: uppercase; font-size: clamp(2rem, 5.6vw, 5rem); line-height: .95; letter-spacing: -.015em; margin-bottom: 1rem; color: var(--ink); }
.station__text p { max-width: 46rem; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.station--final .station__title { color: var(--blue); }
.station--final .textlink { color: var(--ink); }

/* =========================================================================
   03 — QUI SOMMES-NOUS ?
   ========================================================================= */
.club { background: var(--paper); padding: clamp(4rem, 9vw, 8rem) 0 clamp(4rem, 9vw, 8rem); overflow: clip; }
.club__head { display: grid; gap: 1.2rem; margin-bottom: clamp(2rem, 5vw, 4rem); }
.club__head .h1 { color: var(--ink); }
.club__sub { font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 2.2vw, 1.5rem); letter-spacing: .08em; color: var(--blue); }

.club__stage { --ci: 14%; padding-inline: var(--pad); max-width: 1600px; margin-inline: auto; }
.club__photo { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(16px, 3vw, 36px); clip-path: inset(var(--ci) var(--ci) var(--ci) var(--ci) round clamp(16px, 3vw, 36px)); will-change: clip-path; background: var(--sky); }
.club__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transform: scale(calc(1.02 + var(--ci) * .004)); }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: clamp(-4.5rem, -6vw, -2rem); position: relative; z-index: 2; background: var(--ink); color: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(7, 16, 43, .6); }
.facts div { padding: 1.2rem 1.3rem; border-top: 1px solid var(--line-dark); }
.facts div:nth-child(-n+2) { border-top: 0; }
.facts div:nth-child(even) { border-left: 1px solid var(--line-dark); }
.facts dt { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: .3rem; }
.facts dd { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.05rem, 1.9vw, 1.5rem); line-height: 1.15; }

.club__text { margin-top: clamp(3rem, 7vw, 6rem); display: grid; gap: 1.3rem; max-width: 62rem; margin-left: auto; padding-left: 1.4rem; border-left: 3px solid var(--coral); }
.club__text p { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.2rem); max-width: 44rem; }
.club__text .lead { color: var(--ink); font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 2.3rem); line-height: 1.2; max-width: none; letter-spacing: -.01em; }

@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .facts div { border-top: 0; border-left: 1px solid var(--line-dark); padding: 1.6rem 1.8rem; }
  .facts div:first-child { border-left: 0; }
  .club__text { padding-left: 2.4rem; }
}

/* =========================================================================
   04 — NOS ACTIONS
   ========================================================================= */
.actions {
  position: relative; z-index: 2; background: var(--ink); color: #fff; overflow: clip;
  border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; margin-top: calc(clamp(24px, 4vw, 48px) * -1);
  padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background-image: radial-gradient(70vmax 50vmax at 100% 0%, rgba(31, 79, 224, .32), transparent 65%);
}
.actions__head { display: grid; gap: 1.1rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.actions__sub { max-width: 34rem; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.7rem); line-height: 1.25; color: rgba(255, 255, 255, .82); }
.tabs { display: inline-flex; gap: .4rem; padding: .35rem; border: 1px solid var(--line-dark); border-radius: 999px; width: max-content; max-width: 100%; margin-top: .6rem; }
.tab { padding: .7rem 1.3rem; border-radius: 999px; font-size: .8rem; font-weight: 600; letter-spacing: .12em; color: rgba(255, 255, 255, .72); transition: background .35s var(--ease), color .35s; min-height: 44px; }
.tab:hover { color: #fff; }
.tab.is-on { background: #fff; color: var(--ink); }

.rail {
  display: flex; gap: clamp(1rem, 3vw, 2.5rem); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad); padding: 0 var(--pad) 1rem;
  scrollbar-width: none; cursor: grab; -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { scroll-snap-type: none; cursor: grabbing; scroll-behavior: auto; }
.rail.is-drag * { user-select: none; }
.rail:focus-visible { outline-offset: -4px; }

.slide {
  position: relative; flex: 0 0 min(1240px, 90vw); scroll-snap-align: start; scroll-snap-stop: always;
  display: grid; gap: clamp(1.4rem, 3vw, 3rem); align-content: start; opacity: .42; transform: scale(.975); transform-origin: 50% 0;
  transition: opacity .7s var(--ease), transform .9s var(--ease);
}
.slide.is-active { opacity: 1; transform: none; }
.slide__ghost { position: absolute; z-index: 0; pointer-events: none; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; line-height: .75; font-size: clamp(9rem, 26vw, 24rem); color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .1); right: -.02em; bottom: -.12em; }

.media { position: relative; z-index: 1; aspect-ratio: 5 / 3; overflow: hidden; border-radius: clamp(16px, 2.4vw, 30px); background: var(--ink-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8); }
.media img, .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 2.2s var(--ease); -webkit-user-drag: none; }
.slide.is-active .media img, .slide.is-active .media video { transform: scale(1); }
.media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(7, 16, 43, .35)); pointer-events: none; }
.media__tag { position: absolute; z-index: 2; left: 1rem; top: 1rem; padding: .35rem .8rem; border-radius: 999px; font-size: .72rem; font-weight: 600; letter-spacing: .1em; background: rgba(7, 16, 43, .6); backdrop-filter: blur(8px); color: #fff; }
.media .vctl { position: absolute; z-index: 3; right: 1rem; bottom: 1rem; width: 44px; height: 44px; }

.media--ph { display: grid; place-items: center; text-align: center; color: rgba(255, 255, 255, .8);
  background: linear-gradient(135deg, var(--ink-2), var(--blue-deep)); }
.media--ph::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 44px 44px; }
.media--ph div { position: relative; display: grid; gap: .7rem; justify-items: center; padding: 1rem; }
.media--ph img { position: static; width: 64px; height: 64px; opacity: .85; transform: none; object-fit: contain; }
.media--ph span { font-size: .85rem; letter-spacing: .08em; }

.slide__body { position: relative; z-index: 1; display: grid; gap: 1rem; align-content: start; }
.slide__cat { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .14em; color: var(--coral-hi); }
.slide__cat b { font-family: var(--f-display); font-size: 1.2rem; color: #fff; letter-spacing: .02em; }
.slide__title { font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-variation-settings: "wdth" 80; font-size: clamp(2.6rem, 6vw, 5.8rem); line-height: .9; letter-spacing: -.02em; overflow-wrap: anywhere; }
.slide__sub { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.15rem, 2vw, 1.6rem); color: #BFD0FF; }
.slide__axis { display: grid; gap: .1rem; font-size: .88rem; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .78); padding-left: .9rem; border-left: 2px solid var(--coral-hi); }
.slide__text { display: grid; gap: .9rem; color: rgba(255, 255, 255, .8); font-size: clamp(.98rem, 1.25vw, 1.08rem); max-width: 40rem; }
.slide__impact { margin-top: .4rem; padding-top: 1.1rem; border-top: 1px solid var(--line-dark); }
.slide__impact .num { display: block; font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: clamp(3.6rem, 8vw, 7rem); line-height: .85; letter-spacing: -.03em; color: #fff; }
.slide__impact .lab { display: block; margin-top: .5rem; font-size: .8rem; font-weight: 600; letter-spacing: .16em; color: var(--coral-hi); }
.slide__impact--multi { display: flex; flex-wrap: wrap; gap: 1.4rem 2.8rem; }
.slide__impact .quote { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.4rem); line-height: 1.3; color: #fff; max-width: 34rem; }
.slide__impact .qlab { display: block; margin-bottom: .5rem; font-size: .78rem; font-weight: 600; letter-spacing: .16em; color: var(--coral-hi); }

@media (min-width: 900px) {
  .slide--a, .slide--b { grid-template-columns: 1.4fr 1fr; align-items: center; }
  .slide--b { grid-template-columns: 1fr 1.4fr; }
  .slide--b .media { order: 2; }
  .slide--c { grid-template-columns: 1.4fr 1fr; grid-template-areas: "head head" "media rest"; align-items: start; }
  .slide--c .slide__body { display: contents; }
  .slide--c .slide__head { grid-area: head; display: grid; gap: .8rem; }
  .slide--c .slide__head .slide__title { font-size: clamp(2.6rem, 6vw, 5.8rem); }
  .slide--c .media { grid-area: media; }
  .slide--c .slide__rest { grid-area: rest; display: grid; gap: 1rem; align-content: start; }
}
@media (max-width: 899px) {
  .slide__head, .slide__rest { display: grid; gap: 1rem; }
  .slide__ghost { font-size: 8rem; }
}

.rail__ctrl { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); margin-top: clamp(1.2rem, 3vw, 2rem); }
.rail__count { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; display: flex; gap: .4rem; color: rgba(255, 255, 255, .6); min-width: 4.2rem; }
.rail__count b { color: #fff; }
.rail__bar { flex: 1; height: 3px; background: var(--line-dark); border-radius: 3px; overflow: hidden; }
.rail__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--coral-hi)); transform-origin: left; transform: scaleX(.14); transition: transform .25s linear; }
.rail__btns { display: flex; gap: .6rem; }
.rbtn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .4); display: grid; place-items: center; transition: background .3s, color .3s, opacity .3s; }
.rbtn svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s; }
.rbtn:hover:not(:disabled) { background: #fff; }
.rbtn:hover:not(:disabled) svg { stroke: var(--ink); }
.rbtn:disabled { opacity: .3; cursor: default; }

/* =========================================================================
   05 — NOTRE ÉQUIPE
   ========================================================================= */
.team { background: var(--ice); padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; z-index: 2; border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; margin-top: calc(clamp(24px, 4vw, 48px) * -1); }
.team .h1 { color: var(--ink); margin-bottom: clamp(2.2rem, 5vw, 4rem); }
.team__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.8rem .9rem; }
.member { min-width: 0; }
.member__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 24px; background: linear-gradient(160deg, var(--blue) 0%, var(--ink-2) 100%); transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.member__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.member__photo.is-ph::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, .22) 0 14%, transparent 14.5%), radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, .22) 0 38%, transparent 38.5%); }
.member__photo.is-ph img { inset: auto; left: 50%; bottom: 1.1rem; width: 34px; height: 34px; transform: translateX(-50%); opacity: .75; object-fit: contain; }
.member__info { padding-top: 1rem; position: relative; }
.member__info::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--coral); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.member__name { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; line-height: 1.15; color: var(--ink); padding-top: .8rem; }
.member__role { color: var(--muted); font-size: .95rem; }
.member__name.is-ph, .member__role.is-ph { color: #8A94B3; }
@media (hover: hover) {
  .member:hover .member__photo { transform: translateY(-8px); border-radius: 24px 24px 90px 24px; }
  .member:hover .member__photo img:not(.ph-logo) { transform: scale(1.06); }
  .member:hover .member__info::before { transform: scaleX(1); }
}
.team .member__name { font-size: clamp(1.02rem, 4.2vw, 1.3rem); }
.team .member__role { font-size: clamp(.82rem, 3.3vw, .95rem); }
@media (min-width: 600px) {
  .team__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.4rem 1.6rem; max-width: 1040px; margin-inline: auto; }
  .team .member__name { font-size: clamp(1.05rem, 2.1vw, 1.3rem); }
  .team .member__role { font-size: clamp(.86rem, 1.5vw, .95rem); }
}
/* Président : accent gold très discret (fine bordure + petit repère) */
.team { --gold: #B8934A; }
.member--lead .member__photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1.5px var(--gold); pointer-events: none; z-index: 2; }
.member--lead .member__info::before { background: var(--gold); transform: scaleX(.16); }
.member--lead .member__role { color: #8A6A27; }

/* =========================================================================
   06 — NOS SPONSORS
   ========================================================================= */
.partners { background: var(--paper); padding: clamp(4.5rem, 10vw, 8.5rem) 0; }
.partners .h1 { color: var(--ink); }
.partners__sub { margin-top: 1.3rem; max-width: 30rem; font-family: var(--f-display); font-weight: 500; font-size: clamp(1.25rem, 2.6vw, 2rem); line-height: 1.2; color: var(--blue); }
.sponsors { --g: clamp(.8rem, 2vw, 1.4rem); margin: clamp(2.5rem, 6vw, 5rem) auto 0; max-width: 1080px; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--g); }
.sponsor { flex: 0 0 calc((100% - var(--g)) / 2); aspect-ratio: 1; position: relative; border-radius: clamp(16px, 2.2vw, 24px); background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 22px 40px -32px rgba(12, 21, 53, .45); transition: transform .5s var(--ease), box-shadow .5s, border-color .5s; }
.sponsor a { display: block; width: 100%; height: 100%; }
.sponsor img { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.sponsor:hover { transform: translateY(-4px); border-color: var(--blue); box-shadow: 0 28px 44px -28px rgba(18, 56, 180, .5); }
.sponsor:hover img { transform: scale(1.03); }
.sponsor.is-ph { display: grid; place-items: center; background: repeating-linear-gradient(135deg, #fff 0 14px, var(--ice) 14px 15px); }
.sponsor.is-ph img { width: 34px; height: 34px; opacity: .35; }
.sponsor.is-ph:hover { transform: none; box-shadow: none; border-color: var(--line); }
@media (min-width: 700px) { .sponsor { flex-basis: calc((100% - 3 * var(--g)) / 4); } }

/* =========================================================================
   07 — IMPACT
   ========================================================================= */
.impact { position: relative; background: linear-gradient(160deg, var(--blue) 0%, var(--blue-deep) 55%, var(--ink-2) 100%); color: #fff; padding: clamp(5rem, 11vw, 9rem) 0; overflow: clip; border-radius: clamp(24px, 4vw, 48px) clamp(24px, 4vw, 48px) 0 0; z-index: 2; margin-top: calc(clamp(24px, 4vw, 48px) * -1); }
.impact__head { display: grid; gap: 1.2rem; margin-bottom: clamp(3rem, 8vw, 6rem); }
.impact__sub { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.15rem, 2.2vw, 1.7rem); color: rgba(255, 255, 255, .85); }
.stats { display: grid; }
.stat { display: grid; align-content: start; padding: clamp(1.4rem, 3vw, 2.4rem) 0; border-top: 1px solid rgba(255, 255, 255, .25); }
.stat__n { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: clamp(4.2rem, 21vw, 17rem); line-height: .86; letter-spacing: -.04em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat.is-accent .stat__n { color: #fff; -webkit-text-stroke: 0; }
.stat.is-accent .stat__n { background: linear-gradient(100deg, #fff 30%, #FFB3C2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__l { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .3rem 1rem; align-items: baseline; }
.stat__l b { font-size: .86rem; font-weight: 600; letter-spacing: .16em; }
.stat__l span { color: rgba(255, 255, 255, .78); font-size: 1.05rem; }
.stat.is-accent .stat__l b { color: #FFC2CF; }
@media (min-width: 800px) {
  .stats { grid-template-columns: 1fr 1fr; column-gap: clamp(1.5rem, 4vw, 4rem); }
  .stat__n { font-size: clamp(4.5rem, 10.8vw, 13rem); }
  .stat:nth-child(even) { transform: translateY(3rem); }
  .stats { padding-bottom: 3rem; }
}

/* =========================================================================
   08 — ET APRÈS ?
   ========================================================================= */
.vision { --v: 0; position: relative; height: 260vh; height: 260svh; background: var(--ink); color: #fff; z-index: 1; }
.vision__stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-items: center; }
.vision__ring { position: absolute; left: 50%; top: 50%; width: 80vmin; height: 80vmin; translate: -50% -50%; transform: scale(calc(.35 + var(--v) * 3.4)) rotate(calc(var(--v) * 90deg)); opacity: calc(.9 - var(--v) * .6); pointer-events: none; }
.vision__ring circle { fill: none; stroke: var(--blue); stroke-width: 1.2; }
.vision__inner { position: relative; display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
.vision__title { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: clamp(3.4rem, min(13vw, 22vh), 15rem); line-height: .9; letter-spacing: -.03em; transform: translateX(calc(var(--v) * -2.5%)); }
.vision__text { max-width: 60rem; font-family: var(--f-display); font-weight: 600; font-size: clamp(1.7rem, 4.6vw, 4rem); line-height: 1.1; letter-spacing: -.015em; }
.vision__text .w { opacity: .18; transition: opacity .5s ease, color .5s; }
.vision__text .w.on { opacity: 1; }
.vision__text .w.on.last { color: var(--coral-hi); }

/* =========================================================================
   09 — CONTACT
   ========================================================================= */
.contact { position: relative; z-index: 2; background: linear-gradient(180deg, var(--ink) 0%, var(--blue-deep) 130%); color: #fff; padding: clamp(5rem, 11vw, 9rem) 0 clamp(5rem, 10vw, 8rem); }
.contact__title { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: clamp(3.8rem, 14vw, 16rem); line-height: .88; letter-spacing: -.035em; margin-bottom: clamp(2.2rem, 6vw, 4.5rem); }
.choices { display: grid; border-top: 1px solid var(--line-dark); }
.choice { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: clamp(1.4rem, 3.4vw, 2.6rem) 0; border-bottom: 1px solid var(--line-dark); overflow: hidden; isolation: isolate; }
.choice::before { content: ""; position: absolute; inset: 0; background: var(--coral); transform: scaleY(0); transform-origin: bottom; transition: transform .6s var(--ease-io); z-index: -1; }
.choice__t { font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 80; font-size: clamp(1.7rem, 5.4vw, 4.6rem); line-height: 1; letter-spacing: -.015em; transition: transform .6s var(--ease); }
.choice__a { flex: none; width: clamp(44px, 6vw, 72px); height: clamp(44px, 6vw, 72px); border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5); display: grid; place-items: center; transition: background .4s, color .4s, transform .6s var(--ease); }
.choice__a svg { width: 45%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.choice:hover::before, .choice:focus-visible::before { transform: scaleY(1); }
.choice:hover .choice__t, .choice:focus-visible .choice__t { transform: translateX(1.2rem); }
.choice:hover .choice__a, .choice:focus-visible .choice__a { background: #fff; color: var(--coral); transform: rotate(-45deg); }

.details { display: grid; gap: 1rem; margin: clamp(2.5rem, 6vw, 4rem) 0; }
.details li { display: grid; gap: .15rem; }
.details span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.details b { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.8rem); word-break: break-word; }
.details b a { border-bottom: 2px solid var(--coral-hi); }
.details b.is-ph { color: rgba(255, 255, 255, .45); font-weight: 500; }
@media (min-width: 800px) { .details { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; } }

.closing { margin-top: clamp(4rem, 10vw, 8rem); font-family: var(--f-display); font-weight: 800; font-variation-settings: "wdth" 75; font-size: clamp(2.5rem, 10vw, 9rem); line-height: .92; letter-spacing: -.025em; }
/* visuel final : occupe le même volume vertical que les 3 lignes de texte précédentes (3 × 0.92em) */
.closing img { height: calc(clamp(2.5rem, 10vw, 9rem) * 2.76); width: auto; max-width: 100%; object-fit: contain; object-position: left center; }

.footer { background: var(--ink); color: #fff; padding: 2.4rem 0 calc(2.4rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-dark); position: relative; z-index: 2; }
.footer__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.4rem; }
.footer__id { display: flex; align-items: center; gap: 1rem; line-height: 1.35; }
.footer__id img { width: auto; height: 56px; object-fit: contain; }
.footer__id b { font-family: var(--f-display); font-size: 1.15rem; }
.footer__note { color: rgba(255, 255, 255, .6); font-size: .95rem; }
.footer__credit { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid var(--line-dark); color: rgba(255, 255, 255, .55); font-size: .82rem; letter-spacing: .04em; }
.footer__credit b { font-weight: 600; color: rgba(255, 255, 255, .85); }

/* =========================================================================
   REVEAL SYSTEM — chaque famille d'animation a un rôle précis
   lines : titres (masque + mouvement typographique)
   fade  : textes courts (opacité seule)
   scale : badges / logos
   ========================================================================= */
.js [data-reveal="lines"] .ln > span { transform: translateY(108%); transition: transform 1.1s var(--ease) calc(var(--i, 0) * 110ms); }
.js [data-reveal="lines"].in .ln > span { transform: none; }
.js [data-reveal="fade"] { opacity: 0; transition: opacity 1s ease .15s; }
.js [data-reveal="fade"].in { opacity: 1; }
.js [data-reveal="scale"] .station__badge { transform: scale(.55); opacity: 0; transition: transform 1s var(--ease), opacity .6s; }
.js [data-reveal="scale"] .station__text { opacity: 0; transform: translateX(-24px); transition: opacity .9s ease .2s, transform 1s var(--ease) .2s; }
.js [data-reveal="scale"].in .station__badge { transform: none; opacity: 1; }
.js [data-reveal="scale"].in .station__text { opacity: 1; transform: none; }
.js .station__title .ln > span { transform: none; }
.js .stat { opacity: 0; transition: opacity .9s ease; }
.js .stat.in { opacity: 1; }
.js .member { opacity: 0; clip-path: inset(0 0 100% 0); transition: opacity .4s ease, clip-path 1s var(--ease-io) calc(var(--i, 0) * 90ms); }
.js .member.in { opacity: 1; clip-path: inset(0 0 0 0); }
.js .sponsor { opacity: 0; transform: scale(.9); transition: opacity .7s ease calc(var(--i, 0) * 70ms), transform .8s var(--ease) calc(var(--i, 0) * 70ms), border-color .5s, box-shadow .5s; }
.js .sponsor.in { opacity: 1; transform: none; }
.js .sponsor.in:hover { transform: translateY(-4px); }

/* =========================================================================
   MOUVEMENT RÉDUIT
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero { height: auto; }
  .hero__stick { position: relative; }
  .hero__media, .hero__media video, .hero__content, .hero__rings { clip-path: none; transform: none; opacity: 1; }
  .hero__media video { transform: scale(1.02); }
  .hero__rings { opacity: .4; }
  .club__photo { clip-path: none; }
  .vision { height: auto; padding: 6rem 0; }
  .vision__stick { position: relative; height: auto; }
  .vision__title, .vision__ring { transform: none; }
  .vision__text .w { opacity: 1; }
  .slide { opacity: 1; transform: none; }
  .js [data-reveal] .ln > span, .js .hero__title .ln > span, .js .hero__tag span { transform: none; opacity: 1; }
  .js [data-reveal], .js .stat, .js .member, .js .sponsor, .js .hero__logo, .js .hero__lead, .js .hero__cta, .js .hero__tools { opacity: 1; transform: none; clip-path: none; }
  .js [data-reveal="scale"] .station__badge, .js [data-reveal="scale"] .station__text { opacity: 1; transform: none; }
  .chain { --line: 1; }
}
