/* =========================================================
   BARLOW CONDENSED — police display (SIL Open Font License)
   Licence : assets/fonts/OFL-Barlow.txt
   ========================================================= */
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/BarlowCondensed-Regular.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/BarlowCondensed-Medium.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/BarlowCondensed-SemiBold.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/BarlowCondensed-Bold.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/BarlowCondensed-ExtraBold.woff2') format('woff2');
  font-weight: 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('../fonts/BarlowCondensed-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}

/* =========================================================
   BEAUVAIS WOLF BASKETBALL — Design system
   Palette dérivée du logo : navy profond + rouge
   ========================================================= */

:root {
  --navy-950: #04101f;
  --navy-900: #071627;
  --navy-800: #0c1e33;
  --navy-700: #123052;
  --blue:     #4890c0;
  --blue-600: #184878;
  --red:      #b23636;
  --red-600:  #8f2626;
  --white:    #eef2f7;
  --grey:     #8a98ac;
  --grey-dim: #55637a;
  --line:     rgba(255,255,255,.09);

  --font-display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow Condensed', system-ui, -apple-system, sans-serif;

  --wrap: 1160px;
  --radius: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;                 /* Barlow condensé : 500 plus lisible que 400 en corps de texte */
  background: var(--navy-950);
  color: var(--white);
  line-height: 1.55;
  letter-spacing: .01em;            /* micro-aération pour compenser l'étroitesse */
  font-size: 1.06rem;               /* condensé => on agrandit un peu le corps */
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* ---------- Typographie utilitaire ---------- */
.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--red);
  margin: 0 0 14px;
}
.eyebrow--center { text-align: center; }

.h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: .98;
  letter-spacing: .01em;
  margin: 0 0 24px;
}
.h2--center { text-align: center; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 30px;
  font-weight: 600; font-size: .95rem;
  border-radius: 100px;
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
  border: 1.5px solid transparent;
  cursor: pointer;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-600); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.25); color: var(--white); }
.btn--ghost:hover { border-color: #fff; transform: translateY(-2px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,14,31,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 24px;
  height: 72px; display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; letter-spacing: .02em; text-transform: uppercase; }
.nav__brand img { width: 44px; height: 44px; }

.nav__menu { display: flex; align-items: center; gap: 6px; }
.nav__menu a {
  padding: 9px 16px; font-size: .9rem; font-weight: 500; color: var(--grey);
  border-radius: 100px; transition: color .2s, background .2s;
}
.nav__menu a:hover { color: var(--white); }
.nav__menu a.is-active { color: var(--white); }
.nav__cta { background: var(--red); color: #fff !important; }
.nav__cta:hover { background: var(--red-600); }

.nav__toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav__toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; min-height: calc(100vh - 72px);
  display: flex; align-items: center;
  background:
    radial-gradient(120% 120% at 80% 0%, var(--navy-700) 0%, var(--navy-950) 55%),
    var(--navy-950);
  overflow: hidden;
}
/* bande rouge diagonale — signature */
.hero__slash {
  position: absolute; top: -20%; right: -10%;
  width: 55%; height: 140%;
  background: linear-gradient(180deg, var(--red) 0%, var(--red-600) 100%);
  transform: skewX(-12deg);
  opacity: .10;
  filter: blur(2px);
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 4px 4px;
  pointer-events: none;
}
.hero__split {
  position: relative; z-index: 2; width: 100%;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center;
}
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .78rem;
  font-weight: 600; color: var(--grey); margin: 0 0 18px;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(3.6rem, 11vw, 8.5rem);
  line-height: .84; letter-spacing: .01em;
  margin: 0 0 26px; text-transform: uppercase;
  display: flex; flex-direction: column;
}
.hero__title-accent {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--red);
  text-stroke: 1.5px var(--red);
}
.hero__lead { max-width: 460px; color: var(--grey); font-size: 1.12rem; margin: 0 0 32px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.hero__social { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero__social-label {
  text-transform: uppercase; letter-spacing: .18em; font-size: .72rem;
  color: var(--grey-dim); font-weight: 600;
}
.hero__social a { color: var(--grey); font-size: .9rem; transition: color .2s; }
.hero__social a:hover { color: var(--blue); }

.hero__right { display: flex; justify-content: center; align-items: center; }
.hero__crest {
  width: min(115%, 560px); height: auto;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,.55));
  transform: translateX(6%);
  animation: crestFloat 6s ease-in-out infinite;
}
@keyframes crestFloat {
  0%,100% { transform: translateX(6%) translateY(0); }
  50%     { transform: translateX(6%) translateY(-14px); }
}

.hero__scroll {
  position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.25);
  border-radius: 100px; z-index: 2;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: var(--red); border-radius: 4px;
  animation: scrolldot 1.6s var(--ease) infinite;
}
@keyframes scrolldot { 0% {opacity:0; top:8px;} 40% {opacity:1;} 80% {opacity:0; top:22px;} 100%{opacity:0;} }

/* =========================================================
   SECTIONS
   ========================================================= */
.section { padding: clamp(70px, 10vw, 130px) 0; }
.section--parrain { background: var(--navy-900); border-top: 1px solid var(--line); }
.section--partners { background: var(--navy-950); }
.section--contact { background: var(--navy-900); border-top: 1px solid var(--line); }

/* ---------- Parrain ---------- */
.parrain { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.parrain__media { position: relative; }
.parrain__media img {
  width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--line);
  filter: saturate(1.05);
}
.parrain__media::after {
  content: ""; position: absolute; left: -14px; bottom: -14px;
  width: 90px; height: 90px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red);
  border-radius: 0 0 0 6px;
}
.parrain__role { color: var(--red); font-weight: 600; margin: 0 0 20px; font-size: .95rem; }
.parrain__body p { color: var(--grey); margin: 0 0 16px; }
.parrain__body strong { color: var(--white); }

/* ---------- Partenaires ---------- */
.partners {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px;
}
.partner {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 34px 20px; background: var(--navy-800);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.partner:hover { transform: translateY(-6px) perspective(700px) rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg)); border-color: rgba(193,18,31,.5); background: var(--navy-700); }
.partner__logo {
  width: 88px; height: 88px; border-radius: 50%; overflow: hidden;
  margin-bottom: 18px; border: 2px solid var(--line);
}
.partner__logo img { width: 100%; height: 100%; object-fit: cover; }
.partner__name { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; letter-spacing: .01em; }
.partner__cat { color: var(--grey); font-size: .85rem; margin-top: 2px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.contact__list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact__list li { display: flex; flex-direction: column; gap: 3px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .18em; color: var(--grey-dim); }
.contact__list a { color: var(--white); transition: color .2s; }
.contact__list a:hover { color: var(--red); }
.contact__social { display: flex; gap: 12px; }
.contact__social a {
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 100px;
  font-size: .85rem; color: var(--grey); transition: .2s;
}
.contact__social a:hover { color: #fff; border-color: var(--red); }
.contact__map iframe {
  width: 100%; height: 340px; border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(.3) contrast(1.05);
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy-950); border-top: 1px solid var(--line); padding: 34px 0; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__inner img { width: 40px; height: 40px; opacity: .85; }
.footer__copy { color: var(--grey); font-size: .9rem; margin: 0; }
.footer__top { color: var(--grey); font-size: .85rem; transition: color .2s; }
.footer__top:hover { color: var(--white); }

/* =========================================================
   ANIMATIONS AU SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.partner.reveal:nth-child(2) { transition-delay: .08s; }
.partner.reveal:nth-child(3) { transition-delay: .16s; }
.partner.reveal:nth-child(4) { transition-delay: .24s; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 900px) {
  .hero { min-height: auto; padding: 50px 0 70px; }
  .hero__split { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  .hero__right { order: -1; }
  .hero__crest { width: min(70%, 300px); transform: none; animation: none; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__social { justify-content: center; }
  .hero__scroll { display: none; }
  .parrain, .contact { grid-template-columns: 1fr; gap: 34px; }
  .partners { grid-template-columns: repeat(2, 1fr); }

  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-900); border-bottom: 1px solid var(--line);
    padding: 12px; transform: translateY(-120%); transition: transform .35s var(--ease);
    max-height: calc(100vh - 72px); overflow-y: auto;
  }
  .nav__menu.is-open { transform: translateY(0); }
  .nav__menu a { padding: 14px 16px; font-size: 1rem; }
  .nav__cta { text-align: center; margin-top: 6px; }
}

@media (max-width: 520px) {
  .partners { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(3rem, 17vw, 5rem); }
  .hero__lead { font-size: 1rem; }
  .footer__inner { justify-content: center; text-align: center; }
}

/* =========================================================
   ACCESSIBILITÉ — mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   BLOCS AJOUTÉS — stats, équipes, réseaux
   ========================================================= */

/* ---------- Stats ---------- */
.stats { background: var(--navy-950); border-top: 1px solid var(--line); padding: 46px 0; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 6vw, 4rem);
  line-height: 1; color: var(--blue);
}
.stat__label { text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; color: var(--grey); }

/* ---------- Intro de section ---------- */
.section__intro { text-align: center; color: var(--grey); max-width: 560px; margin: 0 auto 8px; }
.section__intro--left { text-align: left; margin-left: 0; }

/* ---------- Équipes ---------- */
.section--teams { background: var(--navy-900); border-top: 1px solid var(--line); }
.teams {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.team-chip {
  padding: 14px 22px; background: var(--navy-800); border: 1px solid var(--line);
  border-radius: 100px; font-family: var(--font-display); font-weight: 500;
  font-size: 1.15rem; letter-spacing: .02em; text-transform: uppercase;
  transition: border-color .25s var(--ease), transform .25s var(--ease), color .25s var(--ease);
  cursor: default;
}
.team-chip span { color: var(--blue); }
.team-chip:hover { border-color: var(--blue); transform: translateY(-3px); }

/* ---------- Partenaires : gérer logos clairs/foncés ---------- */
.partner__logo--dark { background: var(--navy-950); }
.partner__logo--light { background: #fff; }
.partner__logo img { object-fit: contain; padding: 12px; width: 100%; height: 100%; }
.partner__logo--placeholder {
  display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: var(--font-display); font-size: .95rem; line-height: 1.1; color: var(--grey);
  padding: 10px;
}

/* ---------- Réseaux ---------- */
.section--social { background: var(--navy-950); }
.social { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.social__links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.social__link {
  padding: 20px; text-align: center; background: var(--navy-800);
  border: 1px solid var(--line); border-radius: var(--radius);
  font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .03em;
  text-transform: uppercase; transition: .25s var(--ease);
}
.social__link:hover { border-color: var(--blue); background: var(--navy-700); transform: translateY(-3px); }

@media (max-width: 900px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .social { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 520px) {
  .social__links { grid-template-columns: 1fr; }
}

/* =========================================================
   À PROPOS + RÉSULTATS
   ========================================================= */
.section--about { background: var(--navy-900); border-top: 1px solid var(--line); }
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about__text p { color: var(--grey); margin: 0 0 16px; }
.about__text .btn { margin-top: 12px; }
.about__pillars { display: flex; flex-direction: column; gap: 14px; }
.pillar {
  padding: 22px 24px; background: var(--navy-800); border: 1px solid var(--line);
  border-left: 3px solid var(--blue); border-radius: var(--radius);
}
.pillar__k {
  display: block; font-family: var(--font-display); font-size: 1.4rem;
  letter-spacing: .03em; text-transform: uppercase; color: var(--white); margin-bottom: 2px;
}
.pillar__d { color: var(--grey); font-size: .92rem; }

.section--results { background: var(--navy-950); }
.results-card {
  margin-top: 36px; padding: 14px; background: var(--navy-800);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.results-card .scorenco-widget { border-radius: 10px; overflow: hidden; }
.results-credit { text-align: center; margin: 18px 0 0; font-size: .9rem; }
.results-credit a { color: var(--blue); transition: color .2s; }
.results-credit a:hover { color: var(--white); }

@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   WIDGET RÉSULTATS (Score'n'co)
   ========================================================= */
.results-card {
  margin-top: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;              /* le fond clair du widget épouse les coins arrondis */
  background: #F2F5F9;
  box-shadow: 0 20px 50px rgba(0,0,0,.35);
}
.results-card .scorenco-widget { border-radius: var(--radius); }
.results-credit { text-align: center; margin-top: 18px; }
.results-credit a { color: var(--blue); font-size: .9rem; transition: color .2s; }
.results-credit a:hover { color: var(--white); }

/* =========================================================
   PAGE RÉSULTATS — sous-hero & cartes classement
   ========================================================= */
.subhero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 120% at 80% 0%, var(--navy-700) 0%, var(--navy-950) 60%), var(--navy-950);
  padding: clamp(60px, 9vw, 110px) 0 clamp(44px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}
.subhero__grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 4px 4px; pointer-events: none;
}
.subhero__inner { position: relative; z-index: 2; }
.subhero__title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.5rem); line-height: .92;
  text-transform: uppercase; letter-spacing: .01em; margin: 0 0 14px;
}
.subhero__lead { color: var(--grey); max-width: 540px; margin: 0; font-size: 1.1rem; }

.section--standings { background: var(--navy-950); }
.standings {
  margin-top: 44px; display: grid;
  grid-template-columns: repeat(2, 1fr); gap: 22px;
}
.standing-card {
  background: var(--navy-900); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
}
.standing-card__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; border-bottom: 1px solid var(--line);
  border-left: 3px solid var(--blue);
}
.standing-card__head h3 {
  margin: 0; font-family: var(--font-display); font-weight: 600;
  font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase;
}
.standing-card__tag {
  font-size: .68rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--blue); border: 1px solid var(--blue-600); padding: 4px 10px; border-radius: 100px;
}
.standing-card__widget { padding: 0; }
/* le widget Score'n'co apporte son propre fond clair ; on l'y laisse respirer */
.standing-card__widget .scorenco-widget { border-radius: 0; }

/* Placeholder tant que le widget n'est pas collé */
.widget-todo {
  padding: 50px 20px; text-align: center; color: var(--grey-dim);
  background: var(--navy-800); font-size: .9rem;
  border: 1px dashed var(--line); margin: 16px; border-radius: 10px;
}

.section--noncomp { background: var(--navy-900); border-top: 1px solid var(--line); }

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

/* =========================================================
   PAGE CLUB — valeurs de la meute & bande CTA
   ========================================================= */
.section--pack { background: var(--navy-950); }
.values {
  margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.value {
  padding: 34px 28px; background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--radius); border-top: 3px solid var(--red);
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.value:hover { transform: translateY(-5px); }
.value h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.7rem;
  letter-spacing: .02em; text-transform: uppercase; margin: 0 0 12px; color: var(--blue);
}
.value p { color: var(--grey); margin: 0; }

.section--cta { background: var(--navy-900); border-top: 1px solid var(--line); }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
}
.cta-band .h2 { margin-bottom: 8px; }

@media (max-width: 760px) {
  .values { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   PAGE MINI-BASKET — engagements
   ========================================================= */
.section--pledges { background: var(--navy-950); }
.pledges {
  margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.pledge {
  padding: 30px 26px; background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--radius); border-top: 3px solid var(--blue);
}
.pledge h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: .02em; text-transform: uppercase; margin: 0 0 18px; color: var(--white);
}
.pledge ul { list-style: none; padding: 0; margin: 0; }
.pledge li {
  position: relative; padding: 0 0 12px 24px; color: var(--grey); font-size: .95rem;
}
.pledge li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--blue);
}

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

/* =========================================================
   PAGE DONS
   ========================================================= */
.section--donate { background: var(--navy-950); }
.donate-card {
  max-width: 720px; margin: 0 auto; text-align: center;
  padding: clamp(36px, 6vw, 64px) clamp(24px, 5vw, 56px);
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--radius); border-top: 3px solid var(--red);
}
.donate-actions { margin: 30px 0 20px; }
.btn--lg { padding: 18px 42px; font-size: 1.05rem; }
.donate-note { color: var(--grey-dim); font-size: .85rem; max-width: 480px; margin: 0 auto; }

/* =========================================================
   PAGE BOUTIQUE
   ========================================================= */
.section--shop { background: var(--navy-950); }
.products {
  margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.product {
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.product:hover { transform: translateY(-5px); border-color: rgba(72,144,192,.5); }
.product__media {
  aspect-ratio: 1/1; background: var(--navy-700);
  display: flex; align-items: center; justify-content: center;
}
.product__ph { color: var(--grey-dim); font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.product__name {
  font-family: var(--font-display); font-weight: 600; font-size: 1.3rem;
  letter-spacing: .02em; text-transform: uppercase; margin: 16px 18px 4px;
}
.product__price { color: var(--blue); font-size: .9rem; margin: 0 18px 18px; }

@media (max-width: 900px) { .products { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .products { grid-template-columns: 1fr; } }

/* =========================================================
   PAGE CLUB — parcours & sections additionnelles
   ========================================================= */
.journey {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  counter-reset: step;
}
.journey li {
  counter-increment: step;
  position: relative; padding: 22px 24px 22px 62px;
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--radius); font-family: var(--font-display);
  font-size: 1.2rem; letter-spacing: .02em; text-transform: uppercase;
  display: flex; align-items: center; min-height: 84px;
}
.journey li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 20px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-display); font-size: 1.4rem; color: var(--blue);
}
.pack-note {
  max-width: 780px; margin: 36px auto 0; text-align: center; color: var(--grey);
}

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

/* =========================================================
   PAGE CLUB — repères, palmarès, projet
   ========================================================= */
.section--track { background: var(--navy-900); border-top: 1px solid var(--line); }
.track-stats {
  margin-top: 44px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.tstat {
  text-align: center; padding: 30px 18px; background: var(--navy-800);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease);
}
.tstat__num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.8rem, 6vw, 4.4rem); line-height: 1; letter-spacing: -.01em;
  color: var(--blue); margin-bottom: 10px;
  background: linear-gradient(180deg, var(--white) 0%, var(--blue) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.tstat__label { color: var(--grey); font-size: .85rem; line-height: 1.4; }

.track-sub {
  text-align: center; font-family: var(--font-display); font-weight: 600;
  font-size: 1.8rem; text-transform: uppercase; letter-spacing: .03em;
  margin: 56px 0 24px;
}
.palmares {
  list-style: none; padding: 0; margin: 0; max-width: 640px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.palmares li {
  display: flex; align-items: center; gap: 18px;
  padding: 16px 22px; background: var(--navy-800);
  border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 10px; font-weight: 500;
}
.palmares__year {
  font-family: var(--font-display); color: var(--blue); font-size: 1.05rem;
  min-width: 100px; letter-spacing: .02em;
}

.section--project { background: var(--navy-950); }
.project-grid {
  margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.project-card {
  padding: 30px 26px; background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--radius); transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.project-card:hover { transform: translateY(-5px); border-color: rgba(72,144,192,.5); }
.project-card__tag {
  display: inline-block; font-size: .68rem; text-transform: uppercase; letter-spacing: .16em;
  color: var(--blue); border: 1px solid var(--blue-600); padding: 4px 12px;
  border-radius: 100px; margin-bottom: 16px;
}
.project-card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: .02em; text-transform: uppercase; margin: 0 0 10px;
}
.project-card p { color: var(--grey); margin: 0; font-size: .95rem; }

@media (max-width: 900px) {
  .track-stats { grid-template-columns: repeat(2, 1fr); }
  .project-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .palmares li { flex-direction: column; align-items: flex-start; gap: 4px; }
}

/* =========================================================
   PAGE CLUB — nos actions & communauté
   ========================================================= */
.section--actions { background: var(--navy-900); border-top: 1px solid var(--line); }
.actions-grid {
  margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.action-card {
  background: var(--navy-800); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
  display: flex; flex-direction: column;
}
.action-card:hover { transform: translateY(-5px) perspective(700px) rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg)); border-color: rgba(72,144,192,.5); }
.action-card__media {
  aspect-ratio: 16 / 10; overflow: hidden; background: var(--navy-700);
  border-bottom: 3px solid var(--blue);
}
.action-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.action-card:hover .action-card__media img { transform: scale(1.05); }
.action-card h3 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.4rem;
  letter-spacing: .02em; text-transform: uppercase; margin: 22px 26px 10px; color: var(--white);
}
.action-card p { color: var(--grey); margin: 0 26px 26px; font-size: .93rem; }

.community {
  margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.community__item {
  text-align: center; padding: 28px 18px;
  background: linear-gradient(180deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line); border-radius: var(--radius);
}
.community__num {
  display: block; font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.01em;
  color: var(--red); margin-bottom: 10px;
  background: linear-gradient(180deg, var(--white) 0%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.community__label { color: var(--grey); font-size: .85rem; line-height: 1.4; }

@media (max-width: 900px) {
  .actions-grid { grid-template-columns: 1fr; }
  .community { grid-template-columns: 1fr; gap: 14px; }
}

/* =========================================================
   CTA BÉNÉVOLES
   ========================================================= */
.section--volunteer { background: var(--navy-900); border-top: 1px solid var(--line); }
.volunteer {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 44px; align-items: center;
  padding: clamp(30px, 5vw, 50px);
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  border: 1px solid var(--line); border-radius: var(--radius);
  border-left: 4px solid var(--red);
}
.volunteer__text p { color: var(--grey); margin: 0 0 14px; }
.volunteer__text .h2 { margin-bottom: 18px; }
.volunteer__cta { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.volunteer__note { color: var(--grey-dim); font-size: .85rem; }

@media (max-width: 760px) {
  .volunteer { grid-template-columns: 1fr; gap: 24px; }
}

/* =========================================================
   HERO — variante avec photo de fond
   ========================================================= */
.hero--photo .hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-image: url('../img/hero-action.jpg');
  background-size: cover;
  background-position: center 30%;
}
.hero__bg video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 1; transition: opacity .9s ease;
}
.hero__bg video.is-ending { opacity: 0; }
.hero__overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,16,31,.72) 0%, rgba(4,16,31,.86) 60%, var(--navy-950) 100%);
}
.hero__grain { z-index: 2; }
.hero--photo .hero__split { position: relative; z-index: 2; }
/* sur photo, l'écusson garde son effet mais on réduit le halo */
.hero--photo .hero__crest { filter: drop-shadow(0 20px 50px rgba(0,0,0,.7)); }

/* =========================================================
   PAGE MINI-BASKET — galerie
   ========================================================= */
.section--gallery { background: var(--navy-950); border-top: 1px solid var(--line); }
.gallery {
  margin-top: 44px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px;
}
.gallery__item {
  margin: 0; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); aspect-ratio: 3/2;
}
.gallery__item--wide { grid-column: 1 / -1; aspect-ratio: 16/7; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }

@media (max-width: 620px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide { aspect-ratio: 3/2; }
}

/* Galerie micro-basket : 2 photos côte à côte, hauteur égale */
.gallery--micro { grid-template-columns: 1fr 1fr; }
.gallery--micro .gallery__item { aspect-ratio: 4/3; }
@media (max-width: 620px) {
  .gallery--micro { grid-template-columns: 1fr; }
}

/* =========================================================
   PAGE PARTENAIRES
   ========================================================= */
.section--partners-why { background: var(--navy-900); border-top: 1px solid var(--line); }
.section--partners-proof { background: var(--navy-950); }
.section--partners-offer { background: var(--navy-900); border-top: 1px solid var(--line); }
.section--partners-trust { background: var(--navy-950); }

.partners--showcase { grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 760px; margin-left: auto; margin-right: auto; }
.partner--showcase { padding: 40px 30px; }
.partner--showcase .partner__logo { width: 116px; height: 116px; }
.partner--showcase .partner__desc { color: var(--grey); font-size: .88rem; margin-top: 8px; line-height: 1.45; }

@media (max-width: 620px) {
  .partners--showcase { grid-template-columns: 1fr; }
}

.partners-cta { text-align: center; margin-top: 40px; }

/* =========================================================
   FOOTER — liens légaux & cookies
   ========================================================= */
.footer__legal { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer__legal a, .footer__cookies {
  color: var(--grey); font-size: .85rem; background: none; border: none; padding: 0;
  font-family: inherit; cursor: pointer; transition: color .2s;
}
.footer__legal a:hover, .footer__cookies:hover { color: var(--white); }

/* =========================================================
   CONSENTEMENT — contenus tiers (Score'n'co, Google Maps)
   ========================================================= */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 100;
  max-width: 640px; margin: 0 auto;
  background: var(--navy-900); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.consent-banner[hidden] { display: none; }
.consent-banner p { margin: 0 0 14px; color: var(--grey); font-size: .9rem; line-height: 1.5; }
.consent-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent-banner__prefs { display: none; margin: 4px 0 16px; padding: 4px 0 16px; border-bottom: 1px solid var(--line); }
.consent-banner__prefs.is-open { display: block; }
.consent-toggle { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 0; font-size: .88rem; color: var(--white); border-top: 1px solid var(--line); }
.consent-toggle:first-child { border-top: none; }
.consent-toggle .small { display: block; color: var(--grey); font-size: .78rem; margin-top: 2px; font-weight: 400; }
.consent-toggle input { width: 20px; height: 20px; flex: none; accent-color: var(--red); }

.consent-gate {
  background: var(--navy-800); border: 1px dashed var(--line); border-radius: var(--radius);
  padding: 30px 24px; text-align: center;
}
.consent-gate[hidden] { display: none; }
.consent-gate p { color: var(--grey); font-size: .9rem; margin: 0 0 16px; }
.consent-gate__link { display: block; margin-top: 14px; }

@media (max-width: 620px) {
  .consent-banner { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
}

/* =========================================================
   PAGES LÉGALES
   ========================================================= */
.legal-content { max-width: 760px; margin: 0 auto; }
.legal-content h2 { margin: 40px 0 14px; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { color: var(--grey); line-height: 1.7; margin: 0 0 16px; }
.legal-content strong { color: var(--white); font-weight: 600; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-content a:hover { color: var(--white); }
.legal-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; font-style: italic; }

/* =========================================================
   POLISH — ombres teintées, retour tactile, skip-link
   ========================================================= */
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--red); color: #fff; padding: 12px 20px; border-radius: 8px;
  font-weight: 600; transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; }

.btn:active { transform: scale(.97); }
.partner:active, .action-card:active, .tstat:active { transform: scale(.98); }

/* =========================================================
   CASCADE — extension du système de révélation existant
   ========================================================= */
.action-card.reveal:nth-child(2), .tstat.reveal:nth-child(2), .community__item.reveal:nth-child(2),
.pillar.reveal:nth-child(2), .standing-card.reveal:nth-child(2), .value.reveal:nth-child(2),
.gallery__item.reveal:nth-child(2), .pledge.reveal:nth-child(2), .product.reveal:nth-child(2) { transition-delay: .07s; }
.action-card.reveal:nth-child(3), .tstat.reveal:nth-child(3), .community__item.reveal:nth-child(3),
.pillar.reveal:nth-child(3), .standing-card.reveal:nth-child(3), .value.reveal:nth-child(3),
.gallery__item.reveal:nth-child(3), .pledge.reveal:nth-child(3), .product.reveal:nth-child(3) { transition-delay: .14s; }
.action-card.reveal:nth-child(4), .tstat.reveal:nth-child(4), .community__item.reveal:nth-child(4),
.standing-card.reveal:nth-child(4), .product.reveal:nth-child(4) { transition-delay: .21s; }
.action-card.reveal:nth-child(5), .standing-card.reveal:nth-child(5) { transition-delay: .28s; }
.action-card.reveal:nth-child(6), .standing-card.reveal:nth-child(6) { transition-delay: .35s; }
.action-card.reveal:nth-child(7), .standing-card.reveal:nth-child(7) { transition-delay: .42s; }
.action-card.reveal:nth-child(8) { transition-delay: .49s; }

/* =========================================================
   HALO AU SURVOL (spotlight) — partenaires, temps forts, stats
   ========================================================= */
.spotlight { position: relative; overflow: hidden; }
.spotlight::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(220px circle at var(--mx, 50%) var(--my, 50%), rgba(72,144,192,.28), transparent 70%);
  opacity: 0; transition: opacity .3s var(--ease);
  pointer-events: none;
}
.spotlight:hover::before { opacity: 1; }

/* =========================================================
   HERO — apparition du titre au chargement
   ========================================================= */
.hero__title span { display: inline-block; opacity: 0; transform: translateY(28px); animation: heroReveal .9s var(--ease) forwards; }
.hero__title span:nth-child(1) { animation-delay: .15s; }
.hero__title span:nth-child(2) { animation-delay: .35s; }
@keyframes heroReveal { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .hero__title span { opacity: 1; transform: none; }
}

/* =========================================================
   PAGE INFOS PRATIQUES — tableau créneaux & tarifs
   ========================================================= */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.schedule-table-wrap {
  margin-top: 44px; overflow-x: auto; border: 1px solid var(--line);
  border-radius: var(--radius); background: var(--navy-800);
}
.schedule-table { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.schedule-table caption { text-align: left; }
.schedule-table th, .schedule-table td {
  padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.schedule-table thead th {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .04em;
  font-weight: 600; font-size: .8rem; color: var(--grey); background: var(--navy-900);
}
.schedule-table tbody th {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  color: var(--white); letter-spacing: .01em; white-space: normal;
}
.schedule-table td { color: var(--grey); white-space: normal; }
.schedule-table td.schedule-price { color: var(--red); font-weight: 600; white-space: nowrap; }
.schedule-table tbody tr:last-child th, .schedule-table tbody tr:last-child td { border-bottom: none; }
.schedule-table tbody tr:hover { background: rgba(255,255,255,.03); }
.schedule-note { color: var(--grey); font-size: .85rem; margin: 16px 0 0; }
.section--schedule { background: var(--navy-900); border-top: 1px solid var(--line); }
.section--practical { background: var(--navy-950); border-top: 1px solid var(--line); }

/* =========================================================
   CARTE BUSINESS GAME — mise en avant (page Partenaires)
   ========================================================= */
.actions-grid__pair { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.action-card--featured {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto 1fr;
  align-items: start;
}
.action-card--featured .action-card__media {
  grid-row: 1 / 3; grid-column: 1; position: relative;
  height: 100%; aspect-ratio: auto; border-bottom: none; border-right: 3px solid var(--red);
}
.action-card--featured h3 { grid-column: 2; grid-row: 1; font-size: 1.9rem; }
.action-card--featured p { grid-column: 2; grid-row: 2; font-size: 1rem; }
.action-card__tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: var(--red); color: var(--white); font-family: var(--font-display);
  text-transform: uppercase; letter-spacing: .04em; font-weight: 600; font-size: .78rem;
  padding: 6px 14px; border-radius: 999px;
}

@media (max-width: 900px) {
  .actions-grid__pair { grid-template-columns: 1fr; }
  .action-card--featured {
    grid-template-columns: 1fr; grid-template-rows: auto auto auto;
  }
  .action-card--featured .action-card__media {
    grid-row: 1; grid-column: 1; height: auto; aspect-ratio: 16 / 10;
    border-right: none; border-bottom: 3px solid var(--red);
  }
  .action-card--featured h3 { grid-row: 2; grid-column: 1; }
  .action-card--featured p { grid-row: 3; grid-column: 1; }
}
.action-card__media--poster { background: var(--navy-950); }
.action-card__media--poster img { object-fit: contain; }

/* =========================================================
   SUBHERO PHOTO — pages secondaires (club, équipes, écoles)
   ========================================================= */
.subhero__bg {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center 30%;
}
.subhero--photo { padding: clamp(90px, 14vw, 160px) 0 clamp(70px, 10vw, 110px); }
.subhero--photo .subhero__bg {
  background-image:
    linear-gradient(180deg, rgba(4,16,31,.62) 0%, rgba(4,16,31,.82) 65%, var(--navy-950) 100%),
    var(--subhero-bg-image);
}
.subhero--club   { --subhero-bg-image: url('../img/match-club-hero.jpg'); }
.subhero--equipe { --subhero-bg-image: url('../img/match-equipe-hero.jpg'); }
.subhero--micro  { --subhero-bg-image: url('../img/micro-seance.jpg'); }
.subhero--mini   { --subhero-bg-image: url('../img/mini-spotlight.jpg'); }

/* tilt sur les stats (pas de lift existant, on ajoute juste la rotation) */
.tstat.spotlight:hover { transform: perspective(700px) rotateX(var(--ry,0deg)) rotateY(var(--rx,0deg)); }

/* =========================================================
   BARRE DE PROGRESSION DE LECTURE
   ========================================================= */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--red));
  z-index: 9999; transition: width .1s linear;
}
@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }
}
