/* Polo Hockey Club – couleurs de l'écusson et du maillot */
:root {
  --marine: #0B416F;
  --marine-deep: #072C4C;
  --maillot: #F5B315;
  --maillot-soft: #FCE7AE;
  --maillot-dark: #C28A00;
  --encre: #0A2540;
  --craie: #F7F9FB;
  --gazon: #2E7D4F;
  --gazon-deep: #22603C;
  --brume: #DCE4EC;
  --muted: #4E6178;

  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --body: "Figtree", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --ball: 52px;
}
@media (max-width: 760px) { :root { --ball: 38px; } }

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--craie);
  color: var(--encre);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--maillot); text-decoration-thickness: 2px; }

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

h1, h2, h3 {
  font-family: var(--display);
  line-height: 0.95;
  margin: 0 0 0.5em;
  letter-spacing: 0.005em;
}
h2 { font-size: clamp(2.5rem, 5.5vw, 4.25rem); font-weight: 800; }
h3 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 800; line-height: 1.05; }

p { margin: 0 0 1em; }

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

.skip {
  position: absolute; left: -9999px; top: 8px;
  background: var(--maillot); color: var(--encre); padding: 8px 14px; z-index: 100;
}
.skip:focus { left: 8px; }

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }

.more { font-weight: 700; color: var(--marine); }

/* Curseur en forme de crosse */
@media (hover: hover) and (pointer: fine) {
  html { cursor: url("../assets/curseur-crosse.svg") 4 26, auto; }
  a, button, label, select, summary, .card, .tile {
    cursor: url("../assets/curseur-crosse-survol.svg") 4 26, pointer;
  }
  input, textarea { cursor: text; }
  .crest canvas, .kit3d canvas, .map3d canvas { cursor: grab; }
  .crest canvas:active, .kit3d canvas:active, .map3d canvas:active { cursor: grabbing; }
}

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: 0.02em;
  text-decoration: none; border: 2px solid transparent; border-radius: 999px;
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(2px); }
.btn-yellow { background: var(--maillot); color: var(--encre); }
.btn-yellow:hover { background: #FFC83D; }
.btn-navy { background: var(--marine); color: #fff; }
.btn-navy:hover { background: var(--marine-deep); }
.btn-outline { border-color: var(--marine); color: var(--marine); }
.btn-outline:hover { background: var(--marine); color: #fff; }
.btn-ghost { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost:hover { border-color: var(--maillot); color: var(--maillot); }
.btn-chalk { border-color: #fff; color: #fff; }
.btn-chalk:hover { background: #fff; color: var(--gazon-deep); }

/* ============ En-tête et menu ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--marine);
  color: #fff;
  border-bottom: 1px solid rgba(245, 179, 21, 0);
  transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.site-header.is-scrolled {
  background: rgba(11, 65, 111, .74);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
  backdrop-filter: blur(16px) saturate(170%);
  border-bottom-color: rgba(245, 179, 21, .45);
  box-shadow: 0 10px 30px -18px rgba(7, 44, 76, .8);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; transition: min-height .35s ease; }
.site-header.is-scrolled .header-inner { min-height: 60px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand img { width: 44px; height: 44px; }
.brand span { font-family: var(--display); font-weight: 800; font-size: 1.5rem; }

.nav { display: flex; align-items: center; gap: 20px; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.menu > li { position: relative; }
.menu-btn, .menu-link {
  display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; color: #fff;
  font: 500 0.975rem var(--body);
  padding: 10px 10px; border-radius: 10px;
  text-decoration: none;
}
.menu-btn::after {
  content: ""; width: 7px; height: 7px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s;
}
.menu-btn[aria-expanded="true"]::after { transform: translateY(1px) rotate(225deg); }
.menu-btn:hover, .menu-link:hover, .menu-btn[aria-expanded="true"] { color: var(--maillot); }

.sub {
  list-style: none; margin: 0; padding: 8px;
  position: absolute; top: calc(100% + 6px); left: -8px;
  min-width: 250px;
  background: #fff; color: var(--encre);
  border-radius: 16px;
  border: 3px solid var(--marine);
  box-shadow: 0 8px 0 var(--marine), 0 24px 40px -20px rgba(7, 44, 76, .6);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.has-sub.is-open > .sub {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity .18s, transform .18s;
}
.sub a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 10px;
  text-decoration: none; font-weight: 500;
}
.sub a:hover, .sub a:focus-visible { background: var(--maillot-soft); }
/* petite flèche : la page s'ouvre sur le site historique du club */
.sub a.ext::after {
  content: ""; flex: none; width: 12px; height: 12px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 9 9 3M4.5 3H9v4.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 9 9 3M4.5 3H9v4.5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: .5;
}
.nav-cta { min-height: 42px; font-size: 1.125rem; flex: none; }

.nav-toggle {
  display: none;
  background: none; border: 2px solid rgba(255,255,255,.5); color: #fff;
  font: 700 1rem var(--body); padding: 8px 16px; border-radius: 999px; cursor: pointer;
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--marine); padding: 8px var(--gutter) 24px;
    border-bottom: 3px solid var(--maillot);
    max-height: calc(100vh - 72px); overflow-y: auto;
    display: none;
  }
  .nav.is-open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; gap: 0; }
  .menu > li { border-bottom: 1px solid rgba(255,255,255,.12); }
  .menu-btn, .menu-link { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1.125rem; border-radius: 0; }
  .sub {
    position: static; min-width: 0;
    background: transparent; color: #fff; border: 0; box-shadow: none; border-radius: 0;
    padding: 0 0 12px 12px;
    display: none; opacity: 1; visibility: visible; transform: none;
  }
  .has-sub.is-open > .sub { display: block; }
  .sub a:hover, .sub a:focus-visible { background: rgba(255,255,255,.08); }
  .nav-cta { margin-top: 16px; }
}

/* Barre de progression : une balle de hockey qui roule en haut de page */
.progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 70;
  pointer-events: none;
}
.progress-line {
  position: absolute; inset: 0;
  background: var(--maillot);
  transform-origin: left;
  transform: scaleX(var(--p, 0));
}
.progress-ball {
  position: absolute; top: -5px; left: 0;
  width: 14px; height: 14px; margin-left: -7px;
  transform: translateX(calc(var(--p, 0) * (100vw - 14px) + 7px));
  filter: drop-shadow(0 1px 2px rgba(7, 44, 76, .5));
}
.progress-ball .spin { transform: rotate(calc(var(--p, 0) * 2160deg)); transform-box: fill-box; transform-origin: center; }

/* ============ Balle 3D voyageuse ============ */
.ball-layer {
  position: fixed; inset: 0; z-index: 45;
  pointer-events: none;
}
.ball-layer canvas { display: block; width: 100%; height: 100%; }
.ball-stop {
  position: absolute; z-index: 1;
  width: var(--ball); height: var(--ball);
  pointer-events: none;
}
.stop-right { top: calc(var(--section) * .5 - var(--ball) * .5); right: max(var(--gutter), calc(50% - 560px)); }
.stop-left { top: calc(var(--section) * .5 - var(--ball) * .5); left: max(var(--gutter), calc(50% - 560px)); }
.stop-left + .wrap, .stop-right + .wrap { position: relative; }

/* ============ Hero ============ */
.hero {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse 60% 70% at 78% 55%, rgba(245, 179, 21, .14), transparent 70%),
    var(--marine);
  color: #fff;
  padding: clamp(32px, 6vw, 80px) 0 clamp(24px, 4vw, 48px);
  overflow: hidden;
}
.hero-pitch {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1;
  will-change: transform;
}
.pitch-line { fill: none; stroke: rgba(255, 255, 255, .09); stroke-width: 3; }
.pitch-dash { stroke-dasharray: 18 22; stroke: rgba(255, 255, 255, .07); }
.pitch-spot { fill: rgba(255, 255, 255, .12); }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero-text { will-change: transform; }
.hero-place { font-weight: 700; color: var(--maillot); margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(3.5rem, 9vw, 7.5rem);
  font-weight: 900;
  line-height: 0.88;
  margin-bottom: 28px;
  max-width: 9ch;
}
.hero-lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); max-width: 46ch; color: #D6E2EE; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-figure { margin: 0; position: relative; }
.crest {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  touch-action: pan-y;
}
.crest canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.crest-fallback {
  position: absolute; left: 50%; top: 50%; width: 62%; transform: translate(-50%, -50%);
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .35));
}
.crest.is-ready .crest-fallback { display: none; }
.is-failed { display: none !important; }
.ball-stop-hero { left: 50%; top: 68%; width: 13%; height: 13%; transform: translate(-50%, -50%); }
.crest-hint { text-align: center; font-size: 0.875rem; color: #A9BED3; margin-top: 4px; }
html:not(.has-3d) .crest-hint { display: none; }

.badges { list-style: none; margin: 0; padding: 0; }
.badge {
  position: absolute; z-index: 2;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px 10px 14px;
  font-weight: 700; font-size: 0.9375rem; white-space: nowrap;
  color: #fff;
  background: rgba(7, 44, 76, .55);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5);
  translate: var(--mx, 0) var(--my, 0);
  transition: translate .6s cubic-bezier(.2, .7, .2, 1);
  pointer-events: none;
}
.badge::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--maillot);
}
.badge-season { top: 6%; left: -12%; background: var(--maillot); color: var(--encre); border-color: transparent; }
.badge-season::before { background: var(--marine); }
.badge-city { top: 46%; right: -14%; }
.badge-olymp { bottom: 10%; left: -14%; }

@media (prefers-reduced-motion: no-preference) {
  .js .badge { animation: badge-in .7s cubic-bezier(.2, .8, .2, 1.2) both, float 6s ease-in-out infinite; }
  .js .badge-season { animation-delay: 1.3s, 2s; }
  .js .badge-city { animation-delay: 1.5s, 3s; }
  .js .badge-olymp { animation-delay: 1.7s, 2.5s; }
  .badge::before { animation: pulse 2.4s ease-out infinite; }
  .js .hero-text > * { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .js .hero-text > :nth-child(2) { animation-delay: .1s; }
  .js .hero-text > :nth-child(3) { animation-delay: .25s; }
  .js .hero-text > :nth-child(4) { animation-delay: .4s; }
}
@keyframes badge-in { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 179, 21, .7); }
  70%, 100% { box-shadow: 0 0 0 10px rgba(245, 179, 21, 0); }
}
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { max-width: 460px; width: 100%; margin-inline: auto; }
  .badge { font-size: 0.8125rem; padding: 8px 12px 8px 10px; }
  .badge-season { left: 0; }
  .badge-city { right: 0; }
  .badge-olymp { left: 0; }
}

/* ============ Sections ============ */
.section { padding: var(--section) 0; position: relative; }
.section-navy { background: var(--marine); color: #fff; }
.section-turf { background: var(--gazon); color: #fff; }
.section-mist { background: var(--brume); }
.section-lead { font-size: 1.1875rem; max-width: 58ch; margin-bottom: 40px; }
.section-navy .section-lead { color: #D6E2EE; }
.section h2 { color: var(--marine); }
.section-navy h2, .section-turf h2 { color: #fff; }

/* Lignes de terrain en perspective, en fond de section */
.pitch-3d {
  position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  perspective: 900px;
  perspective-origin: 50% 0%;
}
.pitch-3d svg {
  position: absolute; left: 50%; top: 18%;
  width: min(1500px, 170%); aspect-ratio: 914 / 550;
  color: rgba(255, 255, 255, .08);
  transform:
    translateX(-50%)
    rotateX(calc(62deg + var(--ty, 0) * 4deg))
    rotateZ(calc(var(--tx, 0) * 5deg));
  transform-origin: 50% 0%;
  transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}
.section-turf .pitch-3d svg { color: rgba(255, 255, 255, .16); }

/* ============ Tuiles de liens ============ */
.section-links { background: var(--craie); }
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  perspective: 1200px;
}
.tile {
  --rx: 0deg; --ry: 0deg;
  position: relative;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 176px;
  padding: 22px 22px 24px;
  background: #fff;
  color: var(--encre);
  text-decoration: none;
  border: 3px solid var(--marine);
  border-radius: 22px;
  box-shadow: 0 9px 0 var(--marine), 0 22px 30px -18px rgba(7, 44, 76, .55);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .2s, background-color .2s;
  overflow: hidden;
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(260px circle at var(--gx, 50%) var(--gy, 0%), rgba(255, 255, 255, .55), transparent 55%);
  opacity: 0; transition: opacity .3s;
}
.tile:hover { text-decoration: none; }
.tile:hover::after { opacity: 1; }
.tile:active { transform: rotateX(var(--rx)) rotateY(var(--ry)) translateY(6px); box-shadow: 0 3px 0 var(--marine), 0 10px 20px -14px rgba(7, 44, 76, .55); }
.tile-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-bottom: 10px;
  background: var(--maillot-soft); color: var(--marine);
  border-radius: 16px;
  transform: translateZ(40px);
  transition: transform .5s cubic-bezier(.2, .7, .2, 1);
}
.tile-icon svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile-title { font-family: var(--display); font-weight: 800; font-size: 1.75rem; line-height: 1; transform: translateZ(28px); }
.tile-text { color: var(--muted); font-size: 0.975rem; transform: translateZ(16px); }
.tile:hover .tile-icon { transform: translateZ(60px) rotate(-6deg) scale(1.08); }

.tile-main {
  grid-column: span 2; grid-row: span 2;
  background: var(--maillot);
  justify-content: flex-end;
  padding: 32px;
}
.tile-main .tile-icon { width: 88px; height: 88px; background: var(--marine); color: var(--maillot); border-radius: 24px; margin-bottom: auto; }
.tile-main .tile-icon svg { width: 52px; height: 52px; }
.tile-main .tile-title { font-size: clamp(2.75rem, 5vw, 4.25rem); font-weight: 900; }
.tile-main .tile-text { color: var(--encre); font-size: 1.125rem; max-width: 30ch; }
.tile-navy { background: var(--marine); color: #fff; border-color: var(--marine-deep); box-shadow: 0 9px 0 var(--marine-deep), 0 22px 30px -18px rgba(7, 44, 76, .55); }
.tile-navy .tile-text { color: #BFD0E2; }
.tile-navy .tile-icon { background: rgba(255, 255, 255, .12); color: var(--maillot); }
.tile-yellow { background: var(--maillot-soft); }
.tile-yellow .tile-icon { background: #fff; }

@media (max-width: 1000px) { .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .tiles { grid-template-columns: 1fr; gap: 18px; }
  .tile-main { grid-column: auto; grid-row: auto; min-height: 240px; }
  .tile { min-height: 0; }
}

/* ============ Club ============ */
.club-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px clamp(32px, 6vw, 96px);
  align-items: start;
}
.prose p { max-width: 62ch; }
.facts {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 12px 56px;
  margin: 24px 0 0; padding-top: 28px; border-top: 2px solid var(--marine);
}
.facts div { display: flex; flex-direction: column-reverse; }
.facts dt { color: var(--muted); font-size: 0.9375rem; }
.facts dd { margin: 0; font-family: var(--display); font-weight: 800; font-size: 2.5rem; line-height: 1; color: var(--marine); }

.history { margin-top: clamp(64px, 9vw, 112px); }
.history-title { font-size: clamp(2rem, 4vw, 3rem); color: var(--marine); margin-bottom: 32px; }
.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--brume);
  align-items: baseline;
}
.timeline li:last-child { border-bottom: 1px solid var(--brume); }
.timeline .year { font-family: var(--display); font-weight: 900; font-size: 2.5rem; line-height: 1; color: var(--marine); }
.timeline p { margin: 0; max-width: 64ch; }

.labels {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(48px, 7vw, 80px);
}
.label { background: #fff; padding: 32px; border-left: 6px solid var(--maillot); }
.label h3 { color: var(--marine); }
.label p { color: var(--muted); }

@media (max-width: 760px) {
  .club-intro, .labels { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 6px; }
}

/* ============ Équipes ============ */
#equipes .wrap { z-index: 1; }
.teams { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; }
.team { margin: 0; background: var(--marine-deep); }
.team-media { overflow: hidden; }
.team-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.1s cubic-bezier(.2, .7, .2, 1); }
.team:hover .team-media img { transform: scale(1.05); }
.team figcaption { padding: 16px 20px 20px; color: #D6E2EE; }
.team figcaption strong {
  display: block; font-family: var(--display); font-weight: 800; font-size: 1.75rem; color: #fff; line-height: 1.1;
}
.team-links { display: flex; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.2); }
.team-links a { color: var(--maillot); font-weight: 700; }
@media (max-width: 760px) { .teams { grid-template-columns: 1fr; } }

/* ============ Essai ============ */
.essai-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 8vw, 128px); align-items: start; z-index: 1; }
.section-turf .section-lead { color: #E3F1E8; }
.essai-contact { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.essai-more { margin-top: 20px; }
.essai-more a { color: #fff; font-weight: 700; }
.bag { background: var(--craie); color: var(--encre); padding: clamp(24px, 4vw, 40px); border-radius: 22px; border: 3px solid var(--gazon-deep); box-shadow: 0 9px 0 var(--gazon-deep); }
.bag h3 { color: var(--gazon-deep); }
.bag-note { margin: 16px 0 0; font-weight: 700; }
@media (max-width: 860px) { .essai-grid { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid var(--brume); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 16px; height: 16px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFE08A, var(--maillot) 45%, var(--maillot-dark));
  box-shadow: 0 2px 0 rgba(7, 44, 76, .25);
}
.checklist-dark li { border-bottom-color: #C3CFDB; }

/* ============ Inscriptions ============ */
.steps {
  list-style: none; margin: 0 0 56px; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: #fff; padding: 22px 24px 26px;
  border: 3px solid var(--marine); border-radius: 22px;
  box-shadow: 0 9px 0 var(--marine);
}
.steps li::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 58px; height: 58px; margin-bottom: 14px;
  font-family: var(--display); font-weight: 900; font-size: 2.25rem; line-height: 1;
  color: var(--marine);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #FFE08A, var(--maillot) 50%, var(--maillot-dark));
  box-shadow: inset 0 -4px 0 rgba(0, 0, 0, .12);
}
.steps p { color: var(--muted); margin: 0; }

.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; background: #fff; padding: clamp(24px, 4vw, 40px); border-radius: 22px; }
.docs h3 { font-size: 1.5rem; color: var(--marine); }
.docs p { margin: 0; font-size: 0.975rem; }

.inscription-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.extras { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.extras article { background: #fff; padding: 24px; border-left: 5px solid var(--gazon); border-radius: 0 18px 18px 0; }
.extras h3 { color: var(--marine); }

@media (max-width: 860px) {
  .steps, .docs, .extras { grid-template-columns: 1fr; }
}

/* ============ Tenue 3D ============ */
.kit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 7vw, 112px); align-items: center; }
.kit-grid .section-lead { margin-bottom: 24px; }
.kit-stage { position: relative; }
.kit3d {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  background:
    radial-gradient(ellipse 70% 50% at 50% 95%, rgba(11, 65, 111, .18), transparent 70%),
    linear-gradient(180deg, #fff, #EDF2F7);
  border: 3px solid var(--marine);
  box-shadow: 0 10px 0 var(--marine);
  overflow: hidden;
  touch-action: pan-y;
}
.kit3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
html:not(.has-3d) .kit3d { display: none; }
html:not(.has-3d) .kit-toggle { display: none; }
.stop-kit { right: 8%; bottom: 8%; }
.kit-toggle {
  display: flex; gap: 6px; padding: 6px;
  margin: 26px auto 0; width: fit-content;
  background: #fff; border-radius: 999px; border: 3px solid var(--marine);
}
.kit-toggle button {
  font: 800 1.125rem var(--display); letter-spacing: .02em;
  padding: 10px 20px; border: 0; border-radius: 999px;
  background: transparent; color: var(--marine);
  transition: background-color .2s, color .2s;
}
.kit-toggle button[aria-pressed="true"] { background: var(--marine); color: var(--maillot); }
.kit { list-style: none; margin: 0 0 32px; padding: 0; }
.kit li { display: flex; align-items: center; gap: 16px; padding: 10px 0; font-weight: 500; }
.swatch { width: 40px; height: 40px; border-radius: 50%; flex: none; border: 3px solid var(--marine); }
.swatch-yellow { background: var(--maillot); }
.swatch-navy { background: var(--marine); }
.swatch-split { background: linear-gradient(90deg, var(--maillot) 50%, var(--marine) 50%); }
.kit-grid h3 { color: var(--marine); }
.kit-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin: 28px 0 16px; }
@media (max-width: 860px) {
  .kit-grid { grid-template-columns: 1fr; }
  .kit-stage { max-width: 440px; width: 100%; margin-inline: auto; }
}

/* ============ Arbitrage ============ */
.arb-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(32px, 8vw, 128px); align-items: end; }
.arb-grid p { max-width: 60ch; }
.arb-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.arb-links a { font-weight: 700; color: var(--marine); }
.people { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.people li { display: flex; flex-direction: column; padding: 20px 22px; background: #fff; border: 3px solid var(--marine); border-radius: 20px; box-shadow: 0 8px 0 var(--marine); }
.people strong { font-family: var(--display); font-weight: 800; font-size: 1.625rem; color: var(--marine); }
@media (max-width: 860px) { .arb-grid { grid-template-columns: 1fr; } }

/* ============ Partenaires ============ */
.partners {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  border-top: 1px solid rgba(255,255,255,.2);
}
.partners li { border-bottom: 1px solid rgba(255,255,255,.2); }
.partners a, .partners span {
  display: block; padding: 18px 0;
  font-family: var(--display); font-weight: 600; font-size: 1.5rem; text-decoration: none;
  transition: color .2s, transform .2s;
}
.partners a:hover { color: var(--maillot); transform: translateX(6px); }
.partners-cta { margin: 40px 0 0; font-size: 1.125rem; }
.partners-cta a { color: var(--maillot); font-weight: 700; }

/* ============ Accès : maquette 3D ============ */
.access { margin-bottom: clamp(64px, 9vw, 112px); }
.map-wrap {
  display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  gap: 28px; align-items: stretch;
}
.map3d {
  position: relative;
  aspect-ratio: 16 / 11;
  border-radius: 28px;
  background: linear-gradient(180deg, #CFE6F7 0%, #EAF4FB 55%, #F7F9FB 100%);
  border: 3px solid var(--marine);
  box-shadow: 0 10px 0 var(--marine);
  overflow: hidden;
  touch-action: pan-y;
}
.map3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.map-pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  position: absolute; left: 0; top: 0;
  pointer-events: auto;
  font: 800 1rem var(--display); letter-spacing: .02em;
  padding: 7px 14px;
  border-radius: 999px;
  border: 3px solid var(--marine);
  background: #fff; color: var(--marine);
  box-shadow: 0 4px 0 var(--marine);
  transform: translate(-50%, -100%) translate(var(--px, -999px), var(--py, -999px));
  transition: background-color .2s, color .2s, opacity .2s;
  white-space: nowrap;
}
.pin:hover, .pin[aria-pressed="true"] { background: var(--maillot); }
.pin.is-hidden { opacity: 0; pointer-events: none; }
html:not(.has-3d) .map3d { display: none; }

.map-info {
  background: var(--marine); color: #fff;
  border-radius: 28px; padding: clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; align-items: flex-start;
}
.map-info h3 { color: var(--maillot); font-size: clamp(1.75rem, 3vw, 2.5rem); }
.map-info p { color: #D6E2EE; }
.map-info .contact-lines { margin-top: auto; font-weight: 700; color: #fff; }
.map-info .btn { background: var(--maillot); color: var(--encre); }
.map-info.flash { animation: flash .5s ease-out; }
@keyframes flash { from { transform: scale(.97); } to { transform: none; } }
@media (max-width: 900px) {
  .map-wrap { grid-template-columns: 1fr; }
  .map3d { aspect-ratio: 4 / 3.4; }
}

/* ============ Contact ============ */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 8vw, 112px); }
address { font-style: normal; font-size: 1.1875rem; margin-bottom: 16px; }
.contact-lines { font-weight: 500; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 0.9375rem; }
.contact-form input, .contact-form select, .contact-form textarea {
  font: 400 1rem var(--body); color: var(--encre);
  padding: 12px 14px; background: #fff;
  border: 2px solid #C3CFDB; border-radius: 10px;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--marine); box-shadow: 0 0 0 3px var(--maillot-soft);
}
.contact-form [aria-invalid="true"] { border-color: #B3261E; }
.contact-form .btn { align-self: flex-start; }
.form-error { color: #B3261E; font-weight: 700; margin: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .contact-form .row { grid-template-columns: 1fr; } }

/* ============ Pied de page ============ */
.site-footer { background: var(--marine-deep); color: #C9D6E3; padding: 48px 0; border-top: 6px solid var(--maillot); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand p { margin: 0; font-family: var(--display); font-weight: 800; font-size: 1.75rem; color: var(--maillot); }
.footer-goal { position: relative; width: 150px; flex: none; }
.footer-goal svg { display: block; width: 100%; height: auto; transform-origin: 50% 100%; }
.footer-goal.is-goal svg { animation: net 0.6s ease-out; }
@keyframes net { 0%, 100% { transform: none; } 30% { transform: scale(1.08, .94); } 60% { transform: scale(.97, 1.03); } }
.stop-goal { left: 50%; top: 62%; transform: translate(-50%, -50%); }
.footer-social { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.footer-social a { font-weight: 700; color: #fff; }
.footer-legal { margin: 0; font-size: 0.875rem; flex-basis: 100%; }
.footer-legal a { color: #fff; }

/* ============ Apparitions au scroll ============ */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(36px) scale(.965);
    transition:
      opacity .8s cubic-bezier(.2, .7, .2, 1) var(--d, 0s),
      transform .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .reveal-line {
    opacity: 0; transform: translateX(-24px);
    transition: opacity .7s ease var(--d, 0s), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0s);
  }
  .js .reveal-line.is-in { opacity: 1; transform: none; }
}

/* ============ Cartes : élévation et reflet ============ */
.card {
  position: relative;
  isolation: isolate;
  transition: transform .45s cubic-bezier(.2, .7, .2, 1), box-shadow .45s ease;
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit;
  background: radial-gradient(360px circle at var(--hx, 50%) var(--hy, 0%), rgba(255, 255, 255, .28), transparent 45%);
  opacity: 0; transition: opacity .4s ease;
}
.card:hover::after { opacity: 1; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .card:hover { transform: translateY(-6px); }
  .team.card:hover { box-shadow: 0 28px 60px -22px rgba(0, 0, 0, .7), 0 0 0 2px rgba(245, 179, 21, .7); }
  .label.card:hover, .extras .card:hover { box-shadow: 0 24px 48px -20px rgba(11, 65, 111, .55), 0 0 0 2px rgba(245, 179, 21, .55); }
}

/* ============ Pages intérieures ============ */
.page-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(ellipse 50% 80% at 90% 20%, rgba(245, 179, 21, .16), transparent 70%),
    var(--marine);
  color: #fff;
  padding: clamp(40px, 6vw, 80px) 0 clamp(48px, 7vw, 88px);
}
.page-hero .pitch-3d svg { top: 30%; color: rgba(255, 255, 255, .07); }
.page-hero .wrap { z-index: 1; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 22px; padding: 0; list-style: none; font-weight: 500; color: #A9BED3; font-size: 0.9375rem; }
.crumbs li + li::before { content: "/"; margin-right: 10px; color: rgba(255, 255, 255, .35); }
.crumbs a { color: #fff; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6rem); font-weight: 900; line-height: 0.9; margin-bottom: 20px; max-width: 18ch; }
.page-hero .lead { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: #D6E2EE; max-width: 56ch; margin: 0; }
.page-hero .hero-actions { margin-top: 28px; }

.page-section { padding: clamp(56px, 8vw, 96px) 0; }
.page-section + .page-section { padding-top: 0; }
.page-section h2 { color: var(--marine); font-size: clamp(2.25rem, 4.5vw, 3.5rem); }
.page-section h3 { color: var(--marine); }
.page-section .section-lead { margin-bottom: 32px; }
.prose-page { max-width: 68ch; }
.prose-page ul { padding-left: 1.2em; }
.prose-page li { margin-bottom: 0.4em; }
.prose-page li::marker { color: var(--maillot-dark); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Encadré important */
.note {
  background: var(--maillot-soft);
  border: 3px solid var(--marine);
  border-radius: 20px;
  box-shadow: 0 8px 0 var(--marine);
  padding: 22px 24px;
  margin: 0 0 32px;
}
.note strong { color: var(--marine); }
.note p:last-child { margin-bottom: 0; }

/* Blocs « jouet » réutilisables */
.block {
  background: #fff;
  border: 3px solid var(--marine);
  border-radius: 22px;
  box-shadow: 0 9px 0 var(--marine);
  padding: clamp(20px, 3vw, 28px);
}
.block h3 { margin-bottom: 0.4em; }
.block p:last-child, .block ul:last-child { margin-bottom: 0; }
.blocks { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; }

/* Documents à télécharger */
.docs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.doc-link {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: #fff; color: var(--encre); text-decoration: none;
  border: 3px solid var(--marine); border-radius: 18px;
  box-shadow: 0 6px 0 var(--marine);
  transition: transform .15s, box-shadow .15s;
}
.doc-link:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--marine); }
.doc-link:active { transform: translateY(4px); box-shadow: 0 2px 0 var(--marine); }
.doc-icon {
  flex: none; display: grid; place-items: center;
  width: 48px; height: 56px; border-radius: 8px 16px 8px 8px;
  background: var(--marine); color: var(--maillot);
  font: 900 0.9rem var(--display); letter-spacing: .04em;
}
.doc-link strong { display: block; font-family: var(--display); font-weight: 800; font-size: 1.375rem; line-height: 1.1; color: var(--marine); }
.doc-link .doc-meta { color: var(--muted); font-size: 0.9375rem; }

/* Tableau des cotisations */
.table-wrap { overflow-x: auto; border: 3px solid var(--marine); border-radius: 22px; box-shadow: 0 9px 0 var(--marine); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 480px; }
.data-table th, .data-table td { padding: 12px 22px; text-align: left; border-bottom: 1px solid var(--brume); }
.data-table thead th { font-family: var(--display); font-weight: 800; font-size: 1.125rem; color: var(--marine); border-bottom: 3px solid var(--marine); }
.data-table tbody tr:last-child td, .data-table tbody tr:last-child th { border-bottom: 0; }
.data-table .group th {
  background: var(--maillot); color: var(--encre);
  font-family: var(--display); font-weight: 800; font-size: 1.25rem;
}
.data-table .price { font-family: var(--display); font-weight: 800; font-size: 1.375rem; color: var(--marine); white-space: nowrap; }

/* Planning : cartes de créneaux */
.finder {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  margin: 0 0 40px; padding: 18px 22px;
  background: var(--marine); color: #fff; border-radius: 22px;
}
.finder label { font-weight: 700; }
.finder select {
  font: 700 1.0625rem var(--body); color: var(--encre);
  padding: 10px 14px; border-radius: 12px; border: 3px solid var(--maillot); background: #fff;
}
.finder output { color: var(--maillot); font-weight: 700; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px; margin-bottom: 28px; }
.slot {
  position: relative;
  background: #fff;
  border: 3px solid var(--marine); border-radius: 22px;
  box-shadow: 0 9px 0 var(--marine);
  padding: 22px 22px 24px;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, opacity .3s;
}
.slot h3 { font-size: 1.75rem; margin-bottom: 4px; }
.slot .born { margin: 0 0 12px; color: var(--muted); font-weight: 500; }
.slot .restart { display: inline-block; margin: 0 0 14px; padding: 4px 12px; border-radius: 999px; background: var(--maillot-soft); color: var(--encre); font-weight: 700; font-size: 0.9375rem; }
.slot dl { margin: 0; display: grid; gap: 10px; }
.slot dl div { padding-top: 10px; border-top: 1px solid var(--brume); }
.slot dt { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--marine); }
.slot dd { margin: 0; }
.slot .slot-note { margin: 14px 0 0; font-size: 0.9375rem; color: var(--muted); }
.slot.is-match { transform: translateY(-6px); box-shadow: 0 15px 0 var(--maillot-dark), 0 0 0 4px var(--maillot); }
.slots.is-filtered .slot:not(.is-match) { opacity: .35; }

/* Stages : dates */
.dates { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dates li {
  display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) auto; align-items: baseline; gap: 6px 16px;
  padding: 14px 18px; background: #fff; border-radius: 16px; border: 2px solid var(--brume);
}
.dates .when { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--marine); }
.dates .tag { font-size: 0.875rem; font-weight: 700; padding: 2px 10px; border-radius: 999px; background: var(--maillot-soft); white-space: nowrap; }
.dates li.is-past { opacity: .55; }
.dates li.is-past .tag { background: var(--brume); }
@media (max-width: 560px) { .dates li { grid-template-columns: 1fr auto; } .dates .when { grid-column: 1 / -1; } }

/* Boutique */
.shops { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 28px; }
.shop { display: flex; flex-direction: column; }
.shop h3 { font-size: 2rem; }
.shop .btn { margin-top: auto; align-self: flex-start; }
.shop p { color: var(--muted); }

/* Arbitres : citations */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 28px; }
.quote { margin: 0; }
.quote blockquote { margin: 0 0 14px; font-size: 1.0625rem; }
.quote blockquote::before {
  content: "«"; display: block; height: 40px;
  font: 900 4rem/1 var(--display); color: var(--maillot);
}
.quote figcaption { font-family: var(--display); font-weight: 800; font-size: 1.5rem; color: var(--marine); }
.names { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.names li {
  padding: 10px 18px; border-radius: 999px; background: #fff; border: 3px solid var(--marine);
  font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--marine);
}

/* Galerie et agrandissement */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.gallery button {
  display: block; width: 100%; padding: 0; border: 3px solid var(--marine); border-radius: 22px; overflow: hidden;
  background: var(--marine); box-shadow: 0 9px 0 var(--marine);
  transition: transform .3s cubic-bezier(.2, .7, .2, 1);
}
.gallery button:hover { transform: translateY(-6px); }
.gallery img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.gallery button:hover img { transform: scale(1.04); }
@media (max-width: 400px) { .gallery { grid-template-columns: 1fr; } }
.lightbox {
  border: 0; padding: 0; background: transparent; max-width: min(1200px, 94vw); max-height: 92vh; overflow: visible;
}
.lightbox::backdrop { background: rgba(7, 44, 76, .88); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { max-width: 100%; max-height: 80vh; border-radius: 18px; display: block; }
.lightbox p { color: #fff; margin: 12px 0 0; }
.lightbox .btn { position: absolute; top: 12px; right: 12px; }

/* Liens du pied de page */
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-links a { color: #fff; font-weight: 500; }
.gallery { list-style: none; margin: 0; padding: 0; }
.note-after { margin-top: 28px; }
