:root {
  --ink: #102938;
  --night: #102938;
  --deep: #143849;
  --clay: #b94f44;
  --line: #d8dde2;
  --sky: #d9e9f2;
  --ice: #f4f7f8;
  --paper: #fffaf1;
  --white: #ffffff;
  --muted: #64727c;
  --font-display: "Outfit", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius: 14px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--night);
  overflow-x: hidden;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--ice);
  font-family: var(--font-body);
  letter-spacing: 0;
  overflow-x: hidden;
}
::selection {
  color: var(--white);
  background: var(--clay);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.page-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 90;
  width: 0;
  height: 4px;
  background: var(--clay);
  transform-origin: left center;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 80;
  width: min(1180px, calc(100% - 24px));
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 9px 10px 9px 14px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.26);
  border-radius: var(--radius);
  background: rgba(16, 41, 56, .42);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  transition: color .25s ease, background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled {
  color: var(--night);
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 18px 50px rgba(16, 41, 56, .18);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-width: 180px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--night);
  background: var(--paper);
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 950;
}
.brand-text b,
.brand-text small {
  display: block;
  line-height: 1;
}
.brand-text b {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 900;
}
.brand-text small {
  margin-top: 5px;
  color: currentColor;
  opacity: .68;
  font-size: .78rem;
  font-weight: 700;
}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.main-nav a {
  position: relative;
  padding: 12px 13px;
  border-radius: 10px;
  color: currentColor;
  font-size: .92rem;
  font-weight: 850;
  overflow: hidden;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 9px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav-register {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 12px;
  color: var(--white);
  background: var(--clay);
  font-weight: 950;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease;
}
.nav-register::after {
  content: "";
  position: absolute;
  inset: auto 14px 8px;
  height: 2px;
  background: rgba(255,255,255,.76);
  transform: translateX(-130%);
  transition: transform .25s ease;
}
.nav-register:hover::after { transform: translateX(0); }
.nav-register:active { transform: translateY(1px) scale(.98); }

.hero {
  position: relative;
  min-height: 96dvh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  padding: 116px max(22px, calc((100vw - 1180px) / 2)) 32px;
  color: var(--white);
}
.hero picture,
.hero-image,
.hero-grade,
.court-lines {
  position: absolute;
  inset: 0;
}
.hero-image {
  z-index: -4;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, calc(var(--heroY, 0) * .16px), 0) scale(1.04);
  filter: saturate(1.03) contrast(1.02);
}
.hero-grade {
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(16, 41, 56, .92), rgba(16, 41, 56, .62) 48%, rgba(16, 41, 56, .16)),
    linear-gradient(0deg, rgba(16, 41, 56, .88), transparent 44%);
}
.court-lines {
  z-index: -2;
  opacity: .26;
  background:
    radial-gradient(circle at 18% 84%, transparent 0 84px, rgba(255,255,255,.75) 86px 88px, transparent 90px),
    linear-gradient(90deg, transparent 0 49.8%, rgba(255,255,255,.56) 50%, transparent 50.2%),
    linear-gradient(0deg, transparent 0 72%, rgba(255,255,255,.42) 72.2%, transparent 72.5%);
  transform: translateY(calc(var(--heroY, 0) * .08px));
}
.hero-copy {
  position: relative;
  z-index: 2;
  width: min(900px, 100%);
  padding-bottom: min(10vh, 86px);
}
.hero-kicker {
  margin: 0 0 12px;
  color: var(--paper);
  font-weight: 950;
  font-size: .98rem;
}
.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3.35rem, 7.4vw, 6.9rem);
  line-height: .88;
  letter-spacing: 0;
}
.hero h1 span {
  display: block;
  transform: translateY(18px);
  animation: headlineLift .82s cubic-bezier(.2,.8,.2,1) forwards;
}
.hero h1 span:nth-child(2) { animation-delay: .08s; }
.hero h1 span:nth-child(3) { animation-delay: .16s; }
.hero-copy > p:last-of-type {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(255,255,255,.86);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  line-height: 1.55;
}
.hero-register {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 58px;
  margin-top: 28px;
  padding: 0 18px 0 24px;
  border-radius: 999px;
  color: var(--night);
  background: var(--paper);
  font-weight: 950;
  box-shadow: 0 18px 48px rgba(0,0,0,.22);
  transition: transform .18s ease;
}
.hero-register i {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 44%, var(--paper) 46% 54%, transparent 56%),
    var(--clay);
}
.hero-register:hover i { animation: ballSpin .7s ease; }
.hero-scoreboard {
  position: absolute;
  right: max(22px, calc((100vw - 1180px) / 2));
  bottom: 28px;
  z-index: 3;
  width: min(420px, calc(100% - 44px));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(20px);
}
.hero-scoreboard div {
  padding: 16px;
  border-left: 1px solid rgba(255,255,255,.18);
}
.hero-scoreboard div:first-child { border-left: 0; }
.hero-scoreboard strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1;
}
.hero-scoreboard span {
  display: block;
  margin-top: 7px;
  color: rgba(255,255,255,.78);
  font-size: .78rem;
  line-height: 1.28;
}

.value-rail {
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
  border-block: 1px solid rgba(255,255,255,.12);
}
.value-track {
  display: flex;
  width: max-content;
  animation: railMove 34s linear infinite;
}
.value-track span {
  padding: 18px 34px;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.8vw, 1.8rem);
  font-weight: 900;
  white-space: nowrap;
}

.club-section,
.coaches-section,
.venues-section,
.registration-section,
.schedule-section,
.contact-section {
  padding: clamp(74px, 10vw, 132px) max(22px, calc((100vw - 1180px) / 2));
}
.club-section {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(28px, 6vw, 74px);
  background: var(--ice);
}
.club-intro {
  position: sticky;
  top: 118px;
  align-self: start;
}
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 5.1rem);
  line-height: .95;
  letter-spacing: 0;
}
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.32rem, 2vw, 2rem);
  line-height: 1.05;
  letter-spacing: 0;
}
p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.03rem;
}
.club-intro p,
.section-title p,
.schedule-title p {
  max-width: 640px;
}
.club-bento {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 14px;
}
.bento-cell,
.coach-card,
.docs-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.spotlight::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: .55;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(185,79,68,.18), transparent 44%);
}
.bento-cell {
  min-height: 245px;
  padding: 26px;
}
.bento-large { grid-row: span 2; }
.bento-cell span,
.coach-card span,
.venue-row span {
  display: block;
  margin-bottom: 18px;
  color: var(--clay);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.bento-cell p,
.coach-card p { margin-bottom: 0; }
.bento-image {
  padding: 0;
  background: var(--night);
}
.bento-image img,
.coach-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bento-stat {
  color: var(--white);
  background: var(--deep);
}
.bento-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .8;
}
.bento-stat p { color: rgba(255,255,255,.74); }

.journey-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 7vw, 90px);
  min-height: 360dvh;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  color: var(--white);
  background: var(--night);
}
.journey-sticky {
  position: sticky;
  top: 0;
  display: grid;
  align-items: center;
  height: 100dvh;
}
.journey-media {
  position: relative;
  min-height: min(72dvh, 760px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--deep);
  box-shadow: 0 30px 90px rgba(0,0,0,.25);
}
.journey-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity .45s ease, transform .75s cubic-bezier(.2,.8,.2,1);
}
.journey-frame.active {
  opacity: 1;
  transform: scale(1);
}
.journey-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(16,41,56,.78), transparent 52%),
    radial-gradient(circle at 70% 12%, rgba(255,250,241,.18), transparent 30%);
}
.journey-readout {
  position: absolute;
  left: 22px;
  bottom: 22px;
  display: flex;
  align-items: end;
  gap: 12px;
  color: var(--white);
}
.journey-readout span {
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 950;
  opacity: .8;
}
.journey-readout b {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 8rem);
  line-height: .76;
}
.journey-copy {
  padding: 20dvh 0 24dvh;
}
.journey-chapter {
  min-height: 76dvh;
  display: grid;
  align-content: center;
  border-top: 1px solid rgba(255,255,255,.14);
}
.journey-chapter span {
  margin-bottom: 14px;
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 950;
}
.journey-chapter h2 {
  font-size: clamp(3.2rem, 8vw, 7.8rem);
}
.journey-chapter p {
  max-width: 560px;
  color: rgba(255,255,255,.72);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.coaches-section {
  background: var(--paper);
}
.section-title {
  display: grid;
  gap: 18px;
  margin-bottom: 34px;
}
.coach-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.coach-card {
  min-height: 320px;
  padding: 26px;
}
.coach-photo { padding: 0; }

.venues-section {
  color: var(--white);
  background: var(--deep);
}
.venue-heading {
  max-width: 650px;
  margin-bottom: 34px;
}
.venue-list {
  display: grid;
  gap: 16px;
}
.venue-row {
  display: grid;
  grid-template-columns: minmax(220px, 420px) 1fr;
  gap: clamp(18px, 4vw, 46px);
  align-items: center;
  min-height: 260px;
  border-top: 1px solid rgba(255,255,255,.18);
  padding-top: 16px;
}
.venue-row img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
}
.venue-row span { color: var(--paper); }
.venue-row p { color: rgba(255,255,255,.72); }

.registration-section {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(22px, 5vw, 64px);
  align-items: start;
  background: var(--ice);
}
.registration-copy p { max-width: 520px; }
.registration-ticket {
  position: relative;
  width: min(410px, 100%);
  min-height: 112px;
  display: grid;
  margin-top: 30px;
  padding: 22px 28px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--clay);
  overflow: hidden;
  transition: transform .2s ease;
}
.registration-ticket::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 76px;
  width: 1px;
  background: repeating-linear-gradient(0deg, transparent 0 10px, rgba(255,255,255,.62) 10px 18px);
}
.registration-ticket span {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 950;
}
.registration-ticket small {
  color: rgba(255,255,255,.74);
  font-weight: 800;
}
.docs-panel {
  padding: 28px;
  background:
    linear-gradient(135deg, rgba(217,233,242,.82), rgba(255,255,255,.96)),
    var(--white);
}
.docs-panel h3 { margin-bottom: 18px; }
.docs-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.docs-panel li {
  position: relative;
  padding-left: 30px;
  color: #46535c;
  line-height: 1.55;
}
.docs-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .42em;
  width: 14px;
  height: 14px;
  border: 3px solid var(--clay);
  border-radius: 999px;
}

.schedule-section {
  background: var(--white);
}
.schedule-title {
  margin-bottom: 30px;
}
.schedule-board {
  display: grid;
  grid-template-columns: 260px 1fr;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.schedule-board.alt { border-bottom: 1px solid var(--line); }
.schedule-column h3 { margin-bottom: 6px; }
.schedule-column p { margin: 0; }
.schedule-table {
  display: grid;
  gap: 6px;
}
.schedule-table div {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.08fr;
  gap: 10px;
  align-items: center;
  min-height: 50px;
  padding: 10px 0;
  border-bottom: 1px solid #edf0f2;
}
.schedule-table span,
.schedule-table b {
  font-size: .95rem;
  line-height: 1.35;
}
.schedule-table span { color: var(--muted); }

.gallery-section {
  padding: 20px 0;
  overflow: hidden;
  background: var(--night);
}
.gallery-strip {
  display: grid;
  grid-template-columns: 1.1fr .82fr .82fr 1.1fr;
  gap: 14px;
  width: min(1320px, calc(100% - 28px));
  margin: 0 auto;
}
.gallery-strip img {
  width: 100%;
  height: clamp(260px, 36vw, 480px);
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform .28s ease;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  color: var(--white);
  background: var(--night);
  overflow: hidden;
}
.contact-section > img {
  width: 100%;
  aspect-ratio: 1.1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
}
.contact-copy p { color: rgba(255,255,255,.74); }
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.contact-register,
.contact-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 950;
  transition: transform .18s ease, background .18s ease;
}
.contact-register {
  color: var(--white);
  background: var(--clay);
}
.contact-social {
  color: var(--white);
  border: 1px solid rgba(255,255,255,.3);
}
.contact-register:active,
.contact-social:active,
.hero-register:active,
.registration-ticket:active { transform: translateY(1px) scale(.98); }

.motion-in {
  transform: translateY(18px);
  filter: blur(2px);
  transition: transform .7s cubic-bezier(.2,.8,.2,1), filter .7s ease;
}
.motion-in.is-inview {
  transform: translateY(0);
  filter: blur(0);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px max(22px, calc((100vw - 1180px) / 2));
  color: rgba(255,255,255,.72);
  background: #0d2230;
}
.footer p {
  margin: 0;
  color: inherit;
  font-size: .9rem;
}

@keyframes headlineLift {
  to { transform: translateY(0); }
}
@keyframes railMove {
  to { transform: translateX(-50%); }
}
@keyframes ballSpin {
  to { transform: rotate(360deg); }
}

@media (min-width: 921px) {
  .hero-copy { width: min(980px, 100%); }
  .hero h1 { font-size: clamp(3.35rem, 6.8vw, 6.1rem); }
  .hero h1 span { white-space: nowrap; }
}

@media (max-width: 920px) {
  .site-header {
    height: auto;
    flex-wrap: wrap;
    align-items: center;
  }
  .brand { min-width: auto; }
  .main-nav {
    order: 3;
    flex: 1 0 100%;
    min-width: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .main-nav a[href="#horaires"] { display: none; }
  .main-nav a {
    text-align: center;
    padding-inline: 6px;
  }
  .hero { min-height: 96dvh; padding-top: 132px; }
  .hero-scoreboard {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 24px;
  }
  .hero-copy { padding-bottom: 0; }
  .club-section,
  .journey-section,
  .registration-section,
  .contact-section {
    grid-template-columns: 1fr;
  }
  .club-intro,
  .journey-sticky { position: relative; top: auto; height: auto; }
  .journey-section {
    min-height: auto;
    padding-block: 72px;
  }
  .journey-media { min-height: 54dvh; }
  .journey-copy { padding: 34px 0 0; }
  .journey-chapter { min-height: auto; padding: 42px 0; }
  .coach-grid,
  .club-bento,
  .gallery-strip {
    grid-template-columns: 1fr;
  }
  .bento-large { grid-row: auto; }
  .venue-row,
  .schedule-board {
    grid-template-columns: 1fr;
  }
  .schedule-table div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media (max-width: 620px) {
  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    gap: 10px;
    padding: 8px;
  }
  .brand-text small { display: none; }
  .brand { gap: 9px; }
  .brand-mark {
    width: 46px;
    height: 46px;
  }
  .nav-register { display: none; }
  .hero {
    padding-top: 146px;
    overflow: hidden;
  }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(2.65rem, 14.4vw, 3.65rem);
    line-height: .92;
    overflow-wrap: anywhere;
  }
  .hero-copy > p:last-of-type {
    max-width: calc(100vw - 44px);
    font-size: .98rem;
  }
  .hero-scoreboard { grid-template-columns: 1fr; }
  .hero-scoreboard div {
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.18);
  }
  .hero-scoreboard div:first-child { border-top: 0; }
  .club-section,
  .coaches-section,
  .venues-section,
  .registration-section,
  .schedule-section,
  .contact-section {
    padding-inline: 18px;
  }
  .footer {
    display: grid;
    padding-inline: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .hero-image,
  .court-lines,
  .motion-in {
    transform: none !important;
    filter: none !important;
  }
  .value-track { animation: none; }
}
