/* =========================================================
   Golf de Marcilly — feuille de style
   Marine du club, rouge drapeau, vert fairway, ciel, sable.
   Typo : Jost (famille géométrique proche du Futura de l'ancien site), graisses légères.
   ========================================================= */
:root {
  --navy: #253C57;
  --navy-deep: #15253A;
  --navy-ink: #0E1A29;
  --red: #2470C4;
  --red-dark: #1B5AA0;
  --green: #3B6E9E;
  --green-deep: #1D3A5C;
  --green-light: #CFE2F3;
  --sky: #DDE8EB;
  --sand: #E8EFF6;
  --paper: #FAFBF9;
  --ink: #18273A;
  --muted: #5B6B7D;
  --line: rgba(37, 60, 87, .14);
  --white: #fff;

  --font: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
    
  --step--1: clamp(.84rem, .82rem + .1vw, .9rem);
  --step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
  --step-2: clamp(1.5rem, 1.3rem + .9vw, 2.1rem);
  --step-3: clamp(2rem, 1.6rem + 2vw, 3.3rem);
  --step-4: clamp(2.6rem, 1.9rem + 3.6vw, 5.2rem);
  --step-5: clamp(3.4rem, 2rem + 7vw, 9rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --radius-s: 6px;
  --radius-m: 14px;
  --radius-l: 28px;
  --header-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); 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-link { position: fixed; left: 1rem; top: -4rem; z-index: 1000; background: var(--red); color: #fff; padding: .6rem 1rem; border-radius: var(--radius-s); text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 1rem; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4 { margin: 0; line-height: 1.08; font-weight: 500; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 1.2rem + 4.8vw, 6rem); font-weight: 500; letter-spacing: -.015em; overflow-wrap: break-word; hyphens: auto; }
h2 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.6rem); overflow-wrap: break-word; hyphens: auto; }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }
p { margin: 0 0 1em; max-width: 68ch; text-wrap: pretty; }
.lead { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 52ch; }
.on-dark .lead, .lead.on-dark { color: rgba(255,255,255,.78); }
.prose p:last-child { margin-bottom: 0; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin: .35em 0; max-width: 64ch; }
.prose li::marker { color: var(--red); }
.prose a { color: var(--red); text-underline-offset: 3px; }
.kicker { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: var(--step--1); color: var(--green); margin-bottom: 1rem; }
.kicker::before { content: ''; width: 10px; height: 14px; background: var(--red); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.on-dark .kicker { color: var(--green-light); }

/* découpe des titres en mots pour l'animation */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-word > span { display: inline-block; will-change: transform; }

/* ---------- Mise en page ---------- */
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(4rem, 9vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 5rem); }
.section--navy { background: var(--navy-deep); color: #fff; }
.section--sky { background: var(--sky); }
.section--sand { background: var(--sand); }
.section--green { background: var(--green-deep); color: #fff; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { max-width: 16ch; }
.grid-2 h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 3rem); }
.brand__mark { display: block; }
.stack > * + * { margin-top: 1.25rem; }

/* ---------- Boutons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.35rem; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font-weight: 600; font-size: var(--step--1); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; line-height: 1.1;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); --bg: var(--red-dark); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--ghost { --bg: transparent; --fg: currentColor; border-color: currentColor; }
.btn--ghost:hover { --bg: currentColor; }
.btn--ghost:hover span { color: var(--navy-deep); }
.on-dark .btn--ghost:hover span, .section--navy .btn--ghost:hover span { color: var(--navy-deep); }
.btn--light { --bg: #fff; --fg: var(--navy-deep); }
.btn--light:hover { --bg: var(--sky); }
.btn--navy { --bg: var(--navy); }
.btn--navy:hover { --bg: var(--navy-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-arrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; text-decoration: none; border-bottom: 2px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--red); }

/* ---------- Bandeau d'annonce ---------- */
.announce { background: var(--red); color: #fff; font-size: var(--step--1); position: relative; z-index: 60; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: .5rem 1rem; padding-block: .55rem; flex-wrap: wrap; text-align: center; padding-right: 2.5rem; }
.announce a { font-weight: 600; }
.announce__close { position: absolute; right: .5rem; top: 50%; translate: 0 -50%; background: none; border: 0; color: #fff; width: 2rem; height: 2rem; cursor: pointer; font-size: 1.3rem; line-height: 1; }

/* ---------- En-tête ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  transition: background .35s, box-shadow .35s, color .35s; will-change: transform;
  color: var(--navy-deep);
}
.site-header.is-fixed { position: fixed; left: 0; right: 0; }
.site-header.is-over-hero { color: #fff; }
.site-header.is-scrolled { background: rgba(250, 251, 249, .96); box-shadow: 0 1px 0 var(--line); color: var(--navy-deep); }
@media (hover: hover) { .site-header.is-scrolled { background: rgba(250, 251, 249, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); } }
.site-header.is-hidden { transform: translateY(-110%); }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand__mark { width: 44px; height: 49px; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; flex: none; transition: transform .5s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-8deg); }
.brand__name { font-weight: 500; font-size: 1.05rem; line-height: 1; letter-spacing: -.01em; }
.brand__name small { display: block; font-weight: 500; font-size: .72rem; letter-spacing: .02em; opacity: .75; margin-top: .25rem; }
.nav { display: flex; align-items: center; gap: .25rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .93rem; padding: .5rem .7rem; border-radius: 999px; position: relative; transition: background .2s; }
.nav a:hover { background: rgba(127, 140, 155, .14); }
.nav a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); translate: -50% 0; }
.header-cta { display: flex; align-items: center; gap: .5rem; }
.burger { display: none; width: 46px; height: 46px; border-radius: 50%; border: 2px solid currentColor; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.menu-open .burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span:nth-child(2) { opacity: 0; }
.menu-open .burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--navy-deep); color: #fff;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 3rem) 2.4rem); visibility: hidden;
  transition: clip-path .7s var(--ease), visibility 0s .7s;
}
.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 3rem) 2.4rem); visibility: visible; transition: clip-path .7s var(--ease); }
.menu-open .site-header { color: #fff !important; background: transparent !important; box-shadow: none !important; backdrop-filter: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-size: clamp(2rem, 9vw, 3.4rem); font-weight: 500; text-decoration: none; line-height: 1.15; padding: .1em 0; letter-spacing: -.02em; }
.mobile-menu nav a:hover { color: var(--green-light); }
.mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-top: 2rem; }
@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: block; }
  .header-cta .btn { display: none; }
}
@media (max-width: 420px) { .brand__name small { display: none; } }

/* ---------- Hero d'accueil : le masque MARCILLY ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  background: var(--navy-ink); color: #fff; overflow: hidden;
}
.hero__photo { position: absolute; inset: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,26,41,.55) 0%, rgba(14,26,41,0) 35%, rgba(14,26,41,.15) 55%, rgba(14,26,41,.88) 100%); opacity: 0; }
.hero__mask { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__photo img { will-change: transform; }
.hero__intro { position: absolute; inset: auto 0 9vh 0; text-align: center; pointer-events: none; }
.hero__intro p { margin: 0 auto; font-size: var(--step-1); color: rgba(255,255,255,.82); max-width: none; }
.hero__cue { position: absolute; left: 50%; bottom: 2.2vh; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .8rem; color: rgba(255,255,255,.7); }
.hero__cue .ball { width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 35%, #dfe5ea 70%, #b8c2cc 100%); animation: cue-bounce 1.6s var(--ease) infinite; }
@keyframes cue-bounce { 0%, 100% { transform: translateY(0); } 45% { transform: translateY(-14px); } 60% { transform: translateY(0) scaleY(.85); } }
.hero__content { position: absolute; inset: auto 0 0 0; padding-bottom: clamp(2.5rem, 8vh, 5rem); opacity: 0; }
.hero__content h1 { font-size: var(--step-4); max-width: 14ch; margin-bottom: 1.2rem; }
.hero__content .lead { color: rgba(255,255,255,.85); margin-bottom: 1.8rem; }
.hero__mascot { position: absolute; right: clamp(1rem, 6vw, 6rem); bottom: 12vh; width: clamp(70px, 9vw, 120px); aspect-ratio: 653 / 728; background: #fff; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; opacity: .95; transform-origin: 50% 100%; animation: mascot-sway 4s ease-in-out infinite; }
@keyframes mascot-sway { 0%, 100% { rotate: -3deg; } 50% { rotate: 3deg; } }
.no-motion .hero__shade, .no-motion .hero__content { opacity: 1; }
.no-motion .hero__mask, .no-motion .hero__intro, .no-motion .hero__cue { display: none; }

/* ---------- Bande "Jouer aujourd'hui" ---------- */
.playbar { background: var(--navy-deep); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.playbar__grid { display: grid; grid-template-columns: repeat(4, 1fr) 1.2fr; }
.playbar a, .playbar .weather { padding: 1.4rem 1.2rem; border-right: 1px solid rgba(255,255,255,.1); text-decoration: none; display: flex; flex-direction: column; gap: .35rem; min-height: 132px; position: relative; transition: background .3s; }
.playbar a:hover { background: var(--navy); }
.playbar a::after { content: ''; position: absolute; left: 1.2rem; right: 1.2rem; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.playbar a:hover::after { transform: scaleX(1); }
.playbar svg { width: 26px; height: 26px; color: var(--green-light); }
.playbar strong { font-size: 1.02rem; line-height: 1.2; }
.playbar small { color: rgba(255,255,255,.65); font-size: .82rem; }
.weather { border-right: 0 !important; background: var(--navy); }
.weather__row { display: flex; align-items: center; gap: 1rem; }
.weather__temp { font-size: 2.4rem; font-weight: 500; line-height: 1; }
.weather__icon { font-size: 2rem; line-height: 1; }
.weather__flag { display: inline-block; transform-origin: 0 100%; }
@media (max-width: 980px) { .playbar__grid { grid-template-columns: 1fr 1fr; } .playbar .weather { grid-column: 1 / -1; } .playbar a { border-bottom: 1px solid rgba(255,255,255,.1); } }

/* ---------- Trajectoire de balle ---------- */
.flight { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: visible; }
.flight path.trace { fill: none; stroke: var(--red); stroke-width: 2.5; stroke-dasharray: 2 9; stroke-linecap: round; opacity: .6; }
.flight .flag-pole { stroke: var(--navy); stroke-width: 3; }
.flight .flag-cloth { fill: var(--red); }
.flight .cup { fill: var(--navy-deep); }
.flight .ball-g circle { fill: #fff; stroke: var(--navy); stroke-width: 2; }
.intro { position: relative; overflow: hidden; }
.intro .wrap { position: relative; z-index: 1; }

/* ---------- Tableau de score (chiffres clés) ---------- */
.board { background: var(--navy-deep); color: #fff; border-radius: var(--radius-m); padding: clamp(1rem, 2.5vw, 1.6rem); box-shadow: 0 30px 60px -30px rgba(14,26,41,.6); border: 6px solid var(--navy); position: relative; }
.board::before { content: 'Golf de Marcilly'; position: absolute; top: -16px; left: 50%; translate: -50% 0; background: var(--red); color: #fff; font-size: .78rem; font-weight: 600; padding: .25rem .9rem; border-radius: 999px; white-space: nowrap; }
.board__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .85rem .3rem; border-bottom: 1px dashed rgba(255,255,255,.18); }
.board__row:last-child { border-bottom: 0; }
.board__label { font-weight: 600; color: rgba(255,255,255,.85); }
.board__digits { display: flex; gap: 4px; }
.board__digits span { width: 1.45em; height: 1.75em; display: grid; place-items: center; background: #fff; color: var(--navy-deep); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); border-radius: 4px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.12); font-variant-numeric: tabular-nums; }
.board__digits span.is-red { color: var(--red); }

/* ---------- Parcours (défilement horizontal) ---------- */
.courses { background: var(--green-deep); color: #fff; overflow: hidden; position: relative; }
.courses__head { padding-top: clamp(4rem, 8vw, 7rem); }
.courses__track { display: flex; gap: clamp(1rem, 3vw, 2.5rem); padding: 2rem var(--gutter) clamp(4rem, 8vw, 6rem); width: max-content; }
.course-card { width: min(78vw, 880px); flex: none; display: grid; grid-template-columns: 1.1fr 1fr; background: var(--paper); color: var(--ink); border-radius: var(--radius-l); overflow: hidden; min-height: min(62vh, 520px); }
.course-card__img { position: relative; overflow: hidden; }
.course-card__img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transform: scale(1.15); }
.course-card__body { padding: clamp(1.5rem, 3vw, 2.6rem); display: flex; flex-direction: column; gap: 1rem; }
.course-card h3 { font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 500; letter-spacing: -.015em; color: var(--navy-deep); }
.chips { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { display: inline-flex; align-items: baseline; gap: .3rem; padding: .35rem .75rem; border-radius: 999px; background: var(--sky); font-size: .85rem; font-weight: 600; color: var(--navy); }
.chip b { font-size: 1.05rem; }
.chip--green { background: var(--green-light); color: var(--green-deep); }
.chip--red { background: #DCE9F7; color: var(--red-dark); }
.course-card__holes { margin-top: auto; display: flex; gap: 5px; flex-wrap: wrap; }
.course-card__holes i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--green); display: grid; place-items: center; font-style: normal; font-size: .62rem; font-weight: 600; color: var(--green-deep); }
.courses__progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 2rem; height: 3px; background: rgba(255,255,255,.18); border-radius: 3px; }
.courses__progress span { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); border-radius: 3px; }
@media (max-width: 760px) {
  .course-card { grid-template-columns: 1fr; width: 84vw; }
  .course-card__img { min-height: 220px; }
}
/* repli sans animation : défilement natif */
.no-motion .courses__viewport, .courses__viewport.is-native { overflow-x: auto; scroll-snap-type: x mandatory; }
.courses__viewport.is-native .course-card { scroll-snap-align: center; }

/* ---------- Bloc image + texte ---------- */
.media-frame { position: relative; border-radius: var(--radius-l); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sky); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame--tall { aspect-ratio: 4 / 5; }
.sticker { position: absolute; width: 112px; height: 112px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; text-align: center; font-weight: 500; font-size: .82rem; line-height: 1.1; padding: .8rem; box-shadow: 0 10px 30px -10px rgba(0,0,0,.4); animation: spin 18s linear infinite; }
.sticker b { display: block; font-size: 1.6rem; }
@keyframes spin { to { rotate: 360deg; } }
.sticker--static { animation: none; rotate: -8deg; }
.mascot-peek { position: absolute; width: 90px; aspect-ratio: 653/728; background: var(--navy-deep); -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }

/* ---------- Événements ---------- */
.events { display: grid; gap: .6rem; }
.event { color: var(--ink); display: grid; grid-template-columns: auto 1fr auto; gap: 1.2rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius-m); background: #fff; border: 1px solid var(--line); text-decoration: none; transition: border-color .25s, transform .3s var(--ease); }
.event:hover { border-color: var(--navy); transform: translateX(6px); }
.event__date { width: 66px; text-align: center; border-radius: 10px; background: var(--navy); color: #fff; padding: .4rem 0 .5rem; line-height: 1.05; }
.event__date b { display: block; font-size: 1.7rem; font-weight: 500; }
.event__date small { font-size: .72rem; font-weight: 600; text-transform: lowercase; opacity: .85; }
.event__title { font-weight: 600; font-size: 1.05rem; line-height: 1.25; }
.event__meta { color: var(--muted); font-size: .88rem; margin-top: .15rem; }
.event__tag { font-size: .76rem; font-weight: 600; padding: .3rem .65rem; border-radius: 999px; background: var(--sky); color: var(--navy); white-space: nowrap; }
.event__tag[data-cat="grand-prix"] { background: var(--red); color: #fff; }
.event__tag[data-cat="classement"] { background: var(--green-light); color: var(--green-deep); }
.event__tag[data-cat="convivial"] { background: #E3EDF7; color: #2A4F78; }
.event__tag[data-cat="seniors"] { background: #D9E4F2; color: #253C57; }
.event__tag[data-cat="entreprise"] { background: #C9DCF0; color: #1D3A5C; }
.event.is-past { opacity: .55; }
.event.is-next { border: 2px solid var(--red); }
.event.is-next .event__date { background: var(--red); }
@media (max-width: 560px) { .event { grid-template-columns: auto 1fr; } .event__tag { grid-column: 2; justify-self: start; } }
.countdown { display: flex; gap: .6rem; margin-top: 1.4rem; }
.countdown div { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: .6rem .8rem; text-align: center; min-width: 74px; }
.countdown b { display: block; font-size: 2rem; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .75rem; color: rgba(255,255,255,.7); }

.month-filter { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 2rem; }
.month-filter button { border: 2px solid var(--line); background: #fff; padding: .45rem .9rem; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .88rem; transition: all .2s; }
.month-filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.month-group { margin-bottom: 2.6rem; }
.month-group h3 { font-size: var(--step-2); margin-bottom: 1rem; color: var(--navy); display: flex; align-items: baseline; gap: .8rem; }
.month-group h3 small { font-size: .9rem; font-weight: 600; color: var(--muted); }

/* ---------- Actualités ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.post { display: flex; flex-direction: column; text-decoration: none; }
.post__img { aspect-ratio: 16 / 11; border-radius: var(--radius-m); overflow: hidden; background: var(--sky); margin-bottom: 1rem; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post:hover .post__img img { transform: scale(1.06); }
.post time { font-size: .85rem; color: var(--muted); font-weight: 600; }
.post h3 { font-size: var(--step-1); margin: .35rem 0 .5rem; line-height: 1.15; }
.post:hover h3 { color: var(--red); }
.post p { color: var(--muted); font-size: .96rem; margin: 0; }
.post--featured { grid-column: 1 / -1; display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.post--featured .post__img { margin: 0; aspect-ratio: 16 / 10; }
.post--featured h3 { font-size: var(--step-3); }
@media (max-width: 760px) { .post--featured { grid-template-columns: 1fr; } }
.article { max-width: 760px; margin-inline: auto; }
.article__cover { border-radius: var(--radius-l); overflow: hidden; margin: 2rem 0 2.5rem; aspect-ratio: 16/9; background: var(--sky); }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article .prose { font-size: 1.1rem; }

/* ---------- Tarifs ---------- */
.price-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin-bottom: 2rem; position: sticky; top: calc(var(--header-h) + .5rem); z-index: 5; background: var(--paper); padding: .5rem; margin-inline: -.5rem; border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; box-shadow: 0 10px 30px -12px rgba(14,26,41,.35); }
.price-tabs a { padding: .55rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .9rem; white-space: nowrap; border: 2px solid var(--line); }
.price-tabs a.is-active, .price-tabs a:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.price-block { margin-bottom: clamp(3rem, 6vw, 5rem); scroll-margin-top: calc(var(--header-h) + 5rem); }
.price-block__head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; border-bottom: 3px solid var(--navy); padding-bottom: .8rem; }
.price-block__head h3 { color: var(--navy-deep); }
.price-block__head p { margin: 0; color: var(--muted); font-size: .92rem; }
.price-list { display: grid; }
.price { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.price__label { font-weight: 600; }
.price__desc { grid-column: 1; color: var(--muted); font-size: .92rem; white-space: pre-line; }
.price__value { grid-row: 1 / span 2; grid-column: 2; font-weight: 500; font-size: 1.35rem; color: var(--navy); white-space: nowrap; text-align: right; }
.price.is-highlight .price__value { color: var(--red); }
.price.is-highlight .price__label::after { content: 'Populaire'; margin-left: .6rem; font-size: .7rem; font-weight: 600; padding: .15rem .5rem; border-radius: 999px; background: var(--red); color: #fff; vertical-align: middle; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.offer-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; }
.offer { border-radius: var(--radius-l); padding: clamp(1.5rem, 3vw, 2.2rem); background: #fff; border: 2px solid var(--line); display: flex; flex-direction: column; gap: .8rem; position: relative; overflow: hidden; }
.offer.is-highlight { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.offer__price { font-size: clamp(2.2rem, 1.6rem + 2.2vw, 3.6rem); white-space: nowrap; font-weight: 500; line-height: 1; letter-spacing: -.015em; }
.offer h3 { font-size: var(--step-1); }
.offer p { margin: 0; opacity: .8; }

/* ---------- Personnes ---------- */
.pros { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.pro { position: relative; border-radius: var(--radius-l); overflow: hidden; background: linear-gradient(170deg, var(--sky) 0 58%, var(--navy) 58% 100%); display: flex; flex-direction: column; isolation: isolate; }
.pro__photo { height: 300px; position: relative; display: flex; align-items: end; justify-content: center; }
.pro__photo img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; object-position: bottom; transition: transform .6s var(--ease); filter: drop-shadow(0 18px 20px rgba(14,26,41,.25)); }
.pro:hover .pro__photo img { transform: scale(1.05) translateY(-6px); }
.pro__name { position: absolute; top: 1rem; left: 1.2rem; right: 1.2rem; font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 500; line-height: .9; color: #fff; overflow-wrap: anywhere; letter-spacing: -.015em; z-index: -1; text-transform: uppercase; opacity: .9; -webkit-text-stroke: 0; }
.pro__body { background: var(--navy); color: #fff; padding: 1.3rem 1.4rem 1.5rem; display: grid; gap: .35rem; }
.pro__body h3 { font-size: 1.3rem; }
.pro__body small { color: var(--green-light); font-weight: 600; }
.pro__body a { color: #fff; text-decoration: none; font-size: .95rem; display: inline-flex; gap: .5rem; align-items: center; }
.pro__body a:hover { color: var(--green-light); }
.pro__body svg { width: 16px; height: 16px; opacity: .7; }
.juniors { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.2rem; }
.junior { margin: 0; }
.junior img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: var(--radius-m); }
.junior figcaption { font-weight: 600; margin-top: .6rem; }

/* ---------- Label sportif ---------- */
.criteria { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1rem; counter-reset: c; }
.criteria li { list-style: none; counter-increment: c; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius-m); padding: 1.3rem; }
.criteria li::before { content: counter(c); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--green-deep); font-weight: 500; margin-bottom: .9rem; }
.criteria h4 { font-size: 1.08rem; margin-bottom: .4rem; }
.criteria p { margin: 0; font-size: .93rem; color: rgba(255,255,255,.78); }
.criteria { padding: 0; margin: 0; }

/* ---------- Partenaires ---------- */
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: clamp(2rem, 5vw, 4rem); width: max-content; animation: marquee 40s linear infinite; align-items: center; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee img { height: 64px; width: auto; max-width: 170px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .3s, opacity .3s; mix-blend-mode: multiply; }
.marquee img:hover { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 1rem; }
.logos a, .logos div { background: #fff; border-radius: var(--radius-m); border: 1px solid var(--line); aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1rem; }
.logos img { max-height: 100%; max-width: 100%; object-fit: contain; }

/* ---------- Restaurant ---------- */
.menu-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 0 clamp(2rem, 5vw, 4rem); }
.menu-col h3 { font-size: var(--step-2); margin-bottom: .6rem; color: var(--green-deep); }
.dish { display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0; border-bottom: 1px dotted rgba(37,60,87,.3); }
.dish span { flex: 1; }
.dish small { display: block; color: var(--muted); font-size: .85rem; }
.dish b { white-space: nowrap; color: var(--navy); }
.group-menus { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; }
.group-menu { background: var(--paper); color: var(--ink); border-radius: var(--radius-l); padding: 1.8rem; display: flex; flex-direction: column; gap: .7rem; }
.group-menu.is-highlight { outline: 3px solid var(--red); }
.group-menu h3 { font-size: var(--step-1); }
.group-menu .offer__price { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); color: var(--red); }
.group-menu ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .6rem; font-size: .93rem; }
.group-menu li b { display: block; font-size: .8rem; color: var(--green); }
.hours-card { display: grid; gap: .3rem; padding: 1.4rem 1.6rem; border-radius: var(--radius-m); background: var(--sand); }
.hours-card div { display: flex; justify-content: space-between; gap: 1rem; }

/* ---------- Formulaires ---------- */
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea, .field select { font: inherit; padding: .85rem 1rem; border-radius: 12px; border: 2px solid var(--line); background: #fff; color: var(--ink); width: 100%; transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--navy); }
.field textarea { min-height: 150px; resize: vertical; }
.consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.consent input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.form-status { font-weight: 600; padding: .9rem 1rem; border-radius: 12px; display: none; }
.form-status.is-ok { display: block; background: var(--green-light); color: var(--green-deep); }
.form-status.is-err { display: block; background: #DCE9F7; color: var(--red-dark); }
.hp { position: absolute; left: -9999px; }
.panel { background: #fff; border-radius: var(--radius-l); padding: clamp(1.5rem, 4vw, 2.6rem); border: 1px solid var(--line); }

/* ---------- En-tête de page intérieure ---------- */
.page-hero { position: relative; background: var(--navy-deep); color: #fff; padding: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)) 0 clamp(3rem, 7vw, 5.5rem); overflow: hidden; }
.site-header.is-hidden.is-scrolled { transform: translateY(-110%); }
.page-hero h1 { max-width: 12ch; position: relative; z-index: 1; }
.page-hero .lead { position: relative; z-index: 1; margin-top: 1.4rem; }
.page-hero__bg { position: absolute; inset: 0; opacity: .35; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy-deep) 15%, rgba(21,37,58,.4) 100%); }
.page-hero__word { position: absolute; right: -2vw; bottom: -0.2em; font-size: clamp(6rem, 22vw, 20rem); font-weight: 500; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.14); white-space: nowrap; letter-spacing: -.015em; pointer-events: none; }
.page-hero .btn-row { margin-top: 2rem; position: relative; z-index: 1; }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-ink); color: rgba(255,255,255,.82); padding: clamp(4rem, 8vw, 6rem) 0 2rem; position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-brand .brand__mark { width: 64px; height: 72px; color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 34ch; font-size: .95rem; }
.socials { display: flex; gap: .5rem; margin-top: 1.2rem; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.3); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); }
.socials svg { width: 18px; height: 18px; fill: #fff; }
.footer-giant { font-size: clamp(4rem, 17vw, 16rem); font-weight: 500; letter-spacing: -.015em; line-height: .8; color: rgba(255,255,255,.05); margin: 3rem 0 1rem; white-space: nowrap; user-select: none; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .82rem; color: rgba(255,255,255,.55); border-top: 1px solid rgba(255,255,255,.1); padding-top: 1.5rem; }
.footer-bottom nav { display: flex; gap: 1.2rem; flex-wrap: wrap; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ---------- Divers ---------- */
.reveal-img { overflow: hidden; }
.map { border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius-l); background: var(--sky); }
.info-list { display: grid; gap: 1.2rem; }
.info-list div { display: grid; grid-template-columns: 28px 1fr; gap: .8rem; align-items: start; }
.info-list svg { width: 24px; height: 24px; color: var(--red); margin-top: .15rem; }
.info-list a { font-weight: 600; text-decoration: none; }
.info-list a:hover { color: var(--red); }
.empty { padding: 2rem; border-radius: var(--radius-m); background: var(--sky); color: var(--navy); text-align: center; }
.skeleton { border-radius: var(--radius-m); background: linear-gradient(90deg, var(--sky), #eef3f5, var(--sky)); background-size: 200% 100%; animation: sk 1.4s infinite; min-height: 80px; }
@keyframes sk { to { background-position: -200% 0; } }
.loader { position: fixed; inset: 0; z-index: 200; background: var(--navy-ink); display: grid; place-items: center; transition: opacity .6s var(--ease), visibility .6s; }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader .brand__mark { width: 80px; height: 90px; color: #fff; animation: mascot-sway 1.2s ease-in-out infinite; }
.fourofour { min-height: 70vh; display: grid; place-items: center; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

@media (max-width: 600px) {
  .hero__mascot { bottom: auto; top: calc(var(--header-h) + 3rem); right: 1rem; width: 64px; }
  .hero__intro { bottom: 12vh; padding-inline: 1rem; }
  .hero__content h1 { font-size: 2.6rem; }
  .board__digits span { font-size: 1.3rem; }
  .section-head { margin-bottom: 1.6rem; }
  .countdown div { min-width: 64px; }
}
