/* ==========================================================================
   DBALOC - Derkle Basket Loisirs Club
   Feuille de styles du site (d'après la maquette Claude Design « DBALOC »)
   ========================================================================== */

/* ---------- Couleurs, typographies, dimensions ---------- */
:root {
  --navy: #071A3C;          /* bleu nuit : fond principal */
  --royal: #0E2F7A;         /* bleu roi */
  --red: #D9261C;           /* rouge club */
  --coral: #FF6B60;         /* rouge clair, lisible sur fond sombre */
  --white: #FFFFFF;
  --mist: #F2F4F9;          /* gris très clair */
  --line: #E2E6F0;          /* filets sur fond clair */
  --line-strong: #C9D2E4;
  --slate: #5A6685;         /* texte secondaire sur fond clair */
  --slate-dark: #3E4C6E;
  --sky: #9FB2D8;           /* texte discret sur fond sombre */
  --ice: #B8C6E2;
  --frost: #D7E0F2;

  --font-display: "Big Shoulders Display", "Archivo", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1280px;
  --gutter: clamp(18px, 5vw, 56px);
  --header-gutter: clamp(16px, 4vw, 56px);
  --header-h: 80px;         /* ajusté en JS à la hauteur réelle de l'en-tête */
  --focus: var(--red);      /* couleur du contour de focus clavier */

  /* mouvement : une seule courbe pour tout le site */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; }

::selection { background: var(--red); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
main:focus { outline: none; }

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container {
  max-width: var(--container);
  margin: 0 auto;
}

#top, #equipes, #club, #agenda, #partenaires, #rejoindre, #contact {
  scroll-margin-top: var(--header-h);
}

@keyframes db-ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Boutons & liens ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background-size .45s var(--ease-out), color .3s, border-color .3s, transform .35s var(--ease-out);
}
.btn--lg {
  gap: 14px;
  padding: 19px clamp(22px, 3vw, 34px);
  font-size: clamp(14px, 1.8vw, 16px);
}
.btn--md {
  gap: 12px;
  padding: 17px 26px;
  font-size: 13.5px;
}
.btn--sm {
  padding: 14px 18px;
  font-size: 12.5px;
}

.btn--light { background-color: var(--white); color: var(--navy); }
.btn--ghost { --fill: var(--white); border: 1px solid rgba(255, 255, 255, .45); color: var(--white); }
.btn--dark { background-color: var(--navy); color: var(--white); }
.btn--outline { border: 1px solid var(--line-strong); color: var(--navy); }

/* Survol : la couleur balaie le bouton de gauche à droite */
.btn--light,
.btn--dark,
.btn--ghost,
.next-match__link,
.contact-btn--dark {
  background-image: linear-gradient(var(--fill, var(--red)), var(--fill, var(--red)));
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 0% 100%;
}
.btn--light:focus-visible,
.btn--dark:focus-visible,
.next-match__link:focus-visible,
.contact-btn--dark:focus-visible,
.btn--light:active,
.btn--dark:active,
.next-match__link:active,
.contact-btn--dark:active {
  background-size: 100% 100%;
  color: var(--white);
}
.btn--ghost:focus-visible,
.btn--ghost:active {
  background-size: 100% 100%;
  border-color: var(--white);
  color: var(--navy);
}

/* Petites flèches qui avancent vers leur destination */
.arrow {
  display: inline-block;
  transition: transform .35s var(--ease-out);
}
a:focus-visible > .arrow { transform: translateX(4px); }
a:focus-visible > .arrow--up { transform: translateY(-3px); }

@media (hover: hover) {
  .btn--light:hover,
  .btn--dark:hover,
  .next-match__link:hover,
  .contact-btn--dark:hover {
    background-size: 100% 100%;
    color: var(--white);
  }
  .btn--ghost:hover {
    background-size: 100% 100%;
    border-color: var(--white);
    color: var(--navy);
  }
  .btn--outline:hover { border-color: var(--navy); }
  a:hover > .arrow { transform: translateX(4px); }
  a:hover > .arrow--up { transform: translateY(-3px); }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--red);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .2s;
}
.text-link:hover { color: var(--red); }
.text-link--sm {
  padding-bottom: 3px;
  font-size: 12.5px;
  letter-spacing: .14em;
}

/* ---------- Titres de section ---------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.kicker__num {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: .18em;
}
.kicker__line {
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--red);
}
.kicker__label {
  color: var(--slate);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.kicker--dark .kicker__num { color: var(--coral); }
.kicker--dark .kicker__label { color: var(--sky); }
.kicker--white .kicker__num,
.kicker--white .kicker__label { color: var(--white); }
.kicker--white .kicker__line { background: var(--white); }

.display-title {
  font-family: var(--font-display);
  font-size: clamp(42px, 8.4vw, 96px);
  font-weight: 900;
  line-height: .86;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(24px, 5vw, 72px);
  margin-bottom: clamp(44px, 7vw, 96px);
}
.section-head__main {
  flex: 1 1 420px;
  min-width: 0;
}
.section-head__intro {
  flex: 0 1 380px;
  padding-left: 20px;
  border-left: 3px solid var(--red);
  color: var(--slate);
  font-size: clamp(16px, 1.9vw, 19px);
}
.section-head--split {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 5vw, 64px);
}

/* ---------- Photos (et visuels d'attente tant qu'elles manquent) ---------- */
.photo {
  position: relative;
  overflow: hidden;
  background-color: var(--royal);
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 140' fill='none' stroke='white' stroke-opacity='.14' stroke-width='.55'%3E%3Cpath d='M.5 140V.5h149V140'/%3E%3Cpath d='M50.5 140V82h49v58'/%3E%3Ccircle cx='75' cy='82' r='18'/%3E%3Cpath d='M9 140v-29.9a67.5 67.5 0 0 1 132 0V140'/%3E%3Cpath d='M66 128h18'/%3E%3Ccircle cx='75' cy='124.25' r='2.25'/%3E%3Cpath d='M57 .5a18 18 0 0 0 36 0'/%3E%3C/svg%3E"),
    linear-gradient(160deg, var(--royal) 0%, var(--navy) 100%);
  background-repeat: no-repeat;
  background-position: center bottom, center;
  background-size: 120% auto, cover;
}
.photo > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo.is-empty > img { display: none; }

/* Étiquette « Photo à venir » : visible seulement si l'image est absente */
.photo.is-empty::after {
  content: attr(data-placeholder);
  content: attr(data-placeholder) / "";
  position: absolute;
  top: 42%;
  left: 50%;
  z-index: 1;
  width: max-content;
  max-width: 78%;
  padding: 9px 14px 9px 38px;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(255, 255, 255, .34);
  background: rgba(7, 26, 60, .4) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-opacity='.8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5h3.5l2-3h7l2 3H21V19H3z'/%3E%3Ccircle cx='12' cy='13.5' r='3.5'/%3E%3C/svg%3E") 13px center / 16px no-repeat;
  color: rgba(255, 255, 255, .8);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .18em;
  text-align: center;
  text-transform: uppercase;
}
.photo[data-placeholder=""]::after { content: none; }

.photo--arch {
  aspect-ratio: 3 / 4;
  border-radius: clamp(120px, 26vw, 240px) clamp(120px, 26vw, 240px) 0 0;
}

.photo--avatar {
  border-radius: 50%;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80' fill='white' fill-opacity='.24'%3E%3Ccircle cx='40' cy='31' r='14'/%3E%3Cpath d='M13 80c2-18 13-27 27-27s25 9 27 27z'/%3E%3C/svg%3E"),
    linear-gradient(160deg, #1B3F94 0%, var(--navy) 100%);
  background-position: center;
  background-size: cover;
}

.photo--logo {
  height: 100%;
  background: var(--white);
}
.photo--logo > img { object-fit: contain; }
.photo--logo.is-empty::after {
  top: 50%;
  padding: 6px 10px;
  border-color: var(--line-strong);
  background: none;
  color: #7C88A6;
  font-size: 10.5px;
}

/* ---------- Bandeau défilant ---------- */
.ticker {
  overflow: hidden;
  border-bottom: 3px solid var(--red);
  background: var(--white);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: db-ticker 68s linear infinite;
}
.ticker:hover .ticker__track,
.ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__group {
  display: flex;
  gap: 56px;
  padding: 9px 56px 9px 0;
}
.ticker a:hover { color: var(--red); }

/* ---------- En-tête ---------- */
.site-header {
  --focus: var(--coral);
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: clamp(10px, 2vw, 32px);
  padding: 12px var(--header-gutter);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(7, 26, 60, .94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand__logo {
  width: auto;
  height: clamp(40px, 7vw, 54px);
}
.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-size: clamp(20px, 3.6vw, 26px);
  font-weight: 900;
  letter-spacing: .02em;
}
.brand__place {
  color: var(--sky);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(14px, 2.4vw, 32px);
  min-width: 0;
  /* marge intérieure pour que le contour de focus ne soit pas rogné */
  margin: -8px 0;
  padding: 8px 6px;
  overflow-x: auto;
  scrollbar-width: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  position: relative;
  padding-bottom: 4px;
  color: var(--white);
  white-space: nowrap;
}
/* soulignement qui se trace de gauche à droite (et repart vers la droite) */
.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .4s var(--ease-out);
}
/* aria-current="page" : la valeur posée par le gabarit sur la rubrique en cours */
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left center;
}
@media (hover: hover) {
  .site-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left center;
  }
}

.header-cta {
  flex: 0 0 auto;
  padding: 13px clamp(14px, 2vw, 24px);
  white-space: nowrap;
}

/* ---------- Accueil ---------- */
.hero {
  --focus: var(--coral);
  position: relative;
  padding: 0 0 clamp(40px, 6vw, 72px);
  background: var(--navy);
}
.hero__backdrop {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 62%;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, var(--royal) 0%, var(--navy) 100%);
}
.hero__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: clamp(32px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) 0;
}

.hero__content {
  flex: 1 1 440px;
  min-width: 0;
  padding-bottom: clamp(8px, 2vw, 28px);
}
.hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 3vw, 30px);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
}
.hero__eyebrow-bar {
  flex: none;
  width: clamp(34px, 6vw, 64px);
  height: 3px;
  background: var(--red);
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(58px, 15vw, 164px);
  font-weight: 900;
  line-height: .82;
  letter-spacing: -.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
.hero__line { display: block; }
.hero__highlight {
  position: relative;
  display: inline-block;
  padding: 0 .1em .04em;
  transform: skewX(-6deg);
}
/* le fond rouge est un calque à part pour pouvoir se « tracer » au chargement */
.hero__highlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--red);
  transform-origin: left center;
}
.hero__lead {
  max-width: 44ch;
  margin-top: clamp(22px, 3vw, 32px);
  color: var(--frost);
  font-size: clamp(17px, 2vw, 21px);
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(26px, 3.6vw, 38px);
}

.hero__visual {
  position: relative;
  flex: 1 1 380px;
  min-width: 0;
}
.hero__rail {
  position: absolute;
  top: clamp(20px, 5vw, 60px);
  bottom: clamp(20px, 5vw, 60px);
  left: -14px;
  width: 6px;
  background: var(--white);
}
.hero__badge {
  position: absolute;
  right: 0;
  bottom: clamp(-14px, -1vw, -8px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  min-width: 158px;
  padding: 14px 18px;
  background: var(--white);
  color: var(--navy);
}
.hero__badge-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 50px);
  font-weight: 900;
  line-height: .86;
}
.hero__badge-label {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* Prochain match */
.next-match-wrap {
  position: relative;
  max-width: var(--container);
  margin: clamp(34px, 5vw, 64px) auto 0;
  padding: 0 var(--gutter);
}
.next-match {
  --focus: var(--red);
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  border-left: 8px solid var(--red);
  background: var(--white);
  color: var(--navy);
}
.next-match__when {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  justify-content: center;
  padding: 18px clamp(16px, 2.4vw, 28px);
  background: var(--mist);
}
.next-match__label {
  color: var(--red);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.next-match__date {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .01em;
}
.next-match__teams {
  display: flex;
  flex: 1 1 260px;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  min-width: 0;
  padding: 18px clamp(16px, 2.4vw, 28px);
}
.next-match__home,
.next-match__away {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1;
  text-transform: uppercase;
}
.next-match__home { font-weight: 900; }
.next-match__away { color: var(--slate-dark); font-weight: 700; }
.next-match__sep {
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 900;
}
.next-match__meta {
  color: var(--slate);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.next-match__link {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  padding: 18px clamp(18px, 2.6vw, 30px);
  background-color: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background-size .45s var(--ease-out);
}

/* ---------- 01 · Équipes ---------- */
.teams-section {
  padding: clamp(72px, 11vw, 160px) var(--gutter);
  background: var(--white);
  color: var(--navy);
}
.teams {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 56px);
}
.team-card {
  flex: 1 1 320px;
  min-width: 0;
}
.team-card__media {
  aspect-ratio: 4 / 5;
  border-radius: clamp(110px, 22vw, 200px) clamp(110px, 22vw, 200px) 0 0;
}
.team-card__caption {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  padding: clamp(20px, 3vw, 34px) clamp(16px, 2.4vw, 26px);
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 26, 60, .92), rgba(7, 26, 60, 0));
}
.tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 10px;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.tag--royal { background: var(--royal); }
.team-card__title {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 54px);
  font-weight: 900;
  line-height: .88;
  text-transform: uppercase;
}
.facts li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--slate);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.facts li > :last-child { color: var(--navy); }
.team-card__text {
  margin: 18px 0 20px;
  color: var(--slate);
}

.youth {
  display: flex;
  flex-wrap: wrap;
  margin-top: clamp(40px, 6vw, 88px);
  background: var(--mist);
}
.youth__media {
  flex: 1 1 300px;
  min-width: 0;
  min-height: clamp(240px, 34vw, 360px);
}
.youth__body {
  flex: 1 1 380px;
  min-width: 0;
  padding: clamp(26px, 4vw, 56px);
}
.youth__kicker {
  margin-bottom: 14px;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.youth__title {
  margin-bottom: 16px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(32px, 5.4vw, 62px);
  font-weight: 900;
  line-height: .88;
  text-transform: uppercase;
}
.youth__text {
  max-width: 46ch;
  margin-bottom: 26px;
  color: var(--slate);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.chips li {
  padding: 11px 16px;
  border: 1px solid var(--line-strong);
  background: var(--white);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ---------- Chiffres clés ---------- */
.stats {
  padding: clamp(56px, 8vw, 104px) var(--gutter);
  background: var(--royal);
  color: var(--white);
}
.stats__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
}
.stat {
  flex: 1 1 180px;
  min-width: 0;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(50px, 9vw, 96px);
  font-weight: 900;
  line-height: .84;
}
.stat__unit {
  color: var(--coral);
  font-size: .5em;
  vertical-align: super;
}
.stat__label {
  position: relative;
  margin-top: 10px;
  padding-top: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.stat__label::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: rgba(255, 255, 255, .3);
  transform-origin: left center;
}

/* ---------- 02 · Le club ---------- */
.club {
  --focus: var(--coral);
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vw, 160px) var(--gutter);
  background: var(--navy);
}
.club__watermark {
  position: absolute;
  top: clamp(20px, 4vw, 60px);
  left: clamp(-40px, -4vw, -10px);
  color: rgba(255, 255, 255, .045);
  font-family: var(--font-display);
  font-size: clamp(140px, 26vw, 360px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.02em;
  text-transform: uppercase;
  pointer-events: none;
  user-select: none;
}
.club .container { position: relative; }
.club__title {
  max-width: 18ch;
  margin-bottom: clamp(44px, 7vw, 88px);
}
.club__grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(28px, 5vw, 72px);
}

.pillars {
  display: flex;
  flex: 1 1 380px;
  flex-direction: column;
  gap: clamp(26px, 4vw, 44px);
  min-width: 0;
}
.pillar {
  display: flex;
  gap: clamp(16px, 2.4vw, 28px);
  padding-bottom: clamp(22px, 3vw, 36px);
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.pillar:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}
.pillar__num {
  flex: 0 0 auto;
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 900;
  line-height: .9;
}
.pillar__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.pillar__text {
  max-width: 42ch;
  margin-top: 8px;
  color: var(--ice);
}

.club__aside {
  display: flex;
  flex: 1 1 340px;
  flex-direction: column;
  gap: clamp(16px, 2.4vw, 24px);
  min-width: 0;
}

.standings {
  --focus: var(--red);
  padding: clamp(20px, 3vw, 30px);
  background: var(--white);
  color: var(--navy);
}
.standings__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
}
.standings__title {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.4vw, 24px);
  font-weight: 900;
  text-transform: uppercase;
}
.standings__meta {
  color: var(--slate);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.standings__table {
  width: 100%;
  table-layout: fixed;
  font-size: 14px;
  font-weight: 600;
}
.standings__table thead {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.standings__table .col-rank { width: 38px; }
.standings__table .col-record { width: 56px; }
.standings__table .col-points { width: 40px; }
.standings__table td {
  padding: 14px 10px 14px 0;
  border-bottom: 1px solid var(--line);
}
.standings__table td:nth-child(1),
.standings__table td:nth-child(3) { color: var(--slate); }
.standings__table td:nth-child(4) {
  padding-right: 0;
  font-weight: 700;
  text-align: right;
}
.standings__table tr:last-child td { border-bottom: 0; }
/* ligne DBALOC : fond rouge qui déborde légèrement de chaque côté */
.standings__table .is-us {
  background: var(--red);
  color: var(--white);
}
.standings__table .is-us td {
  border-bottom: 0;
  color: inherit;
  font-weight: 700;
}
.standings__table .is-us td:first-child { box-shadow: -12px 0 0 var(--red); }
.standings__table .is-us td:last-child { box-shadow: 12px 0 0 var(--red); }
/* survol d'une ligne : aide à suivre la ligne du regard */
.standings__table tbody tr,
.standings__table td { transition: background-color .2s, box-shadow .2s; }
@media (hover: hover) {
  .standings__table tbody tr:not(.is-us):hover { background: var(--mist); }
  .standings__table tbody tr:not(.is-us):hover td:first-child { box-shadow: -12px 0 0 var(--mist); }
  .standings__table tbody tr:not(.is-us):hover td:last-child { box-shadow: 12px 0 0 var(--mist); }
}

.quote {
  padding: clamp(22px, 3.4vw, 34px);
  border-top: 4px solid var(--red);
  background: var(--royal);
}
.quote blockquote p {
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  text-wrap: pretty;
}
.quote__author {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.quote__avatar {
  flex: 0 0 auto;
  width: 76px;
  height: 76px;
}
.quote__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.quote__role {
  color: var(--ice);
  font-size: 14.5px;
}

/* ---------- 03 · Agenda & actualités ---------- */
.agenda {
  padding: clamp(72px, 11vw, 160px) var(--gutter);
  background: var(--mist);
  color: var(--navy);
}

.fixtures {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: clamp(48px, 7vw, 104px);
}
.fixture {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2.4vw, 30px);
  padding: clamp(18px, 2.6vw, 26px) clamp(16px, 2.6vw, 30px);
  border-left: 4px solid var(--royal);
  background: var(--white);
  transition: background-color .3s, color .3s, border-color .3s, box-shadow .35s var(--ease-out);
}
.fixture--home { border-left-color: var(--red); }
/* la barre de gauche s'épaissit en rouge : on voit quel match est pointé */
.fixture:hover,
.fixture:focus-within {
  --focus: var(--coral);
  border-left-color: var(--red);
  background: var(--navy);
  box-shadow: inset 4px 0 0 var(--red);
  color: var(--white);
}
.fixture__when {
  flex: 0 0 92px;
  color: var(--red);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.fixture__time {
  color: var(--navy);
  opacity: .7;
}
.fixture:hover .fixture__time,
.fixture:focus-within .fixture__time { color: var(--white); }
.fixture__teams {
  flex: 1 1 240px;
  min-width: 0;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.fixture__sep { color: var(--red); }
.fixture__meta {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .72;
}
.fixture__link {
  border-bottom: 1px solid var(--red);
  color: var(--navy);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fixture:hover .fixture__link,
.fixture:focus-within .fixture__link { color: var(--white); }
.fixture .fixture__link:hover { color: var(--coral); }

/* Grille d'actualités : les cartes gardent la même largeur quel que soit
   leur nombre, et la dernière rangée s'aligne à gauche sans s'étirer. */
.news {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.news-card {
  position: relative;
  flex: 1 1 300px;
  min-width: 0;
  background: var(--white);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.news-card__media {
  aspect-ratio: 16 / 10;
  transition: background-size .9s var(--ease-out);
}
.news-card__media > img { transition: transform .9s var(--ease-out); }
/* toute la carte est cliquable (le lien « Lire… » s'étend sur la carte) */
.news-card__link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
}
@supports selector(:has(*)) {
  .news-card:has(.news-card__link:focus-visible) {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
  }
  .news-card__link:focus-visible { outline: none; }
}
@media (hover: hover) {
  .news-card:hover {
    box-shadow: 0 22px 44px -28px rgba(7, 26, 60, .55);
    transform: translateY(-4px);
  }
  .news-card:hover .news-card__title { color: var(--red); }
  .news-card:hover .news-card__media { background-size: 128% auto, cover; }
  .news-card:hover .news-card__media > img { transform: scale(1.05); }
}
.news-card__body { padding: clamp(20px, 2.8vw, 30px); }
.news-card__meta {
  margin-bottom: 12px;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.news-card__title {
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  transition: color .3s;
}
.news-card__text {
  margin-bottom: 18px;
  color: var(--slate);
}

.promo-card {
  --focus: var(--coral);
  display: flex;
  flex: 1 1 260px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  min-width: 0;
  padding: clamp(24px, 3.4vw, 36px);
  background: var(--navy);
  color: var(--white);
}
.promo-card__kicker {
  margin-bottom: 14px;
  color: var(--coral);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.promo-card__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
}
.promo-card__text {
  margin-top: 14px;
  color: var(--ice);
}
.promo-card .btn { align-self: flex-start; }

/* ---------- Partenaires ---------- */
.partners {
  padding: clamp(56px, 8vw, 112px) var(--gutter);
  background: var(--white);
  color: var(--navy);
}
.partners__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.partners__title {
  color: var(--slate);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.partners__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}
.partners__item {
  flex: 1 1 150px;
  height: 96px;
  padding: 14px;
  background: var(--white);
}

/* ---------- 04 · Nous rejoindre ---------- */
.join {
  --focus: var(--coral);
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 11vw, 156px) var(--gutter);
  border-top: 6px solid var(--red);
  background: var(--royal);
  color: var(--white);
}
.join__stripes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 18px);
}
.join__grid {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(32px, 6vw, 80px);
}
.join__main {
  flex: 1 1 400px;
  min-width: 0;
}
.join__title {
  font-family: var(--font-display);
  font-size: clamp(46px, 9.6vw, 112px);
  font-weight: 900;
  line-height: .84;
  text-transform: uppercase;
}
.join__lead {
  max-width: 42ch;
  margin: 24px 0 clamp(30px, 4vw, 44px);
  font-size: clamp(17px, 2vw, 21px);
}
.schedule {
  display: flex;
  flex-direction: column;
  max-width: 520px;
}
.schedule__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .35);
}
.schedule__row:last-child { border-bottom: 1px solid rgba(255, 255, 255, .35); }
.schedule dt {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.schedule dd {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .85;
}

.venues {
  --focus: var(--red);
  display: flex;
  flex: 1 1 340px;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
  padding: clamp(24px, 3.4vw, 40px);
  background: var(--white);
  color: var(--navy);
}
.venues__title {
  padding-bottom: 14px;
  border-bottom: 2px solid var(--navy);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}
.venue__label {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.venue__address { line-height: 1.7; }
.venues__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}
.contact-btn {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 12px;
  padding: 17px 20px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background-size .45s var(--ease-out), color .3s, border-color .3s;
}
.contact-btn--dark { background-color: var(--navy); color: var(--white); }
.contact-btn--outline { border: 1px solid var(--line-strong); color: var(--navy); }
@media (hover: hover) {
  .contact-btn--outline:hover { border-color: var(--navy); }
}
.venues__note {
  color: var(--slate);
  font-size: 13.5px;
}

/* ---------- Pied de page ---------- */
.site-footer {
  --focus: var(--coral);
  overflow: hidden;
  padding: clamp(56px, 8vw, 104px) var(--gutter) 0;
  background: var(--navy);
  color: var(--white);
}
.site-footer__grid {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
  max-width: var(--container);
  margin: 0 auto;
}
.footer-brand {
  flex: 1 1 260px;
  min-width: 0;
}
.footer-brand__logo {
  width: auto;
  height: 76px;
  margin-bottom: 18px;
}
.footer-brand__name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-brand__tagline {
  max-width: 34ch;
  margin-top: 10px;
  color: var(--ice);
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: 13px;
  font-weight: 700;
  transition: background-color .25s, border-color .25s, transform .35s var(--ease-out);
}
@media (hover: hover) {
  .socials a:hover {
    border-color: var(--red);
    background: var(--red);
    transform: translateY(-3px);
  }
}
.footer-col {
  flex: 1 1 190px;
  min-width: 0;
}
.footer-col--wide { flex-basis: 220px; }
.footer-title {
  margin-bottom: 16px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.footer-address { line-height: 1.8; }
.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}
.footer-links a { transition: color .2s; }
.footer-links a:hover { color: var(--coral); }
.footer-muted { color: var(--ice); }
.footer-note {
  margin-top: 14px;
  color: var(--ice);
  font-size: 14.5px;
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  max-width: var(--container);
  margin: clamp(32px, 5vw, 56px) auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: var(--ice);
  font-size: 13.5px;
}
.site-footer__bottom a { transition: color .2s; }
.site-footer__bottom a:hover { color: var(--white); }
.site-footer__watermark {
  margin: clamp(10px, 2vw, 24px) 0 -.1em;
  color: rgba(255, 255, 255, .07);
  font-family: var(--font-display);
  font-size: clamp(70px, 21vw, 290px);
  font-weight: 900;
  line-height: .78;
  letter-spacing: -.015em;
  text-align: center;
  text-transform: uppercase;
  user-select: none;
}

/* ==========================================================================
   Pages intérieures (équipes, club, matchs, actualités, etc.)
   ========================================================================== */

/* ---------- Sections génériques ---------- */
.section { padding: clamp(56px, 9vw, 120px) var(--gutter); }
.section--white { background: var(--white); color: var(--navy); }
.section--mist { background: var(--mist); color: var(--navy); }
.section--navy {
  --focus: var(--coral);
  background: var(--navy);
  color: var(--white);
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5.4vw, 62px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}
.section__intro {
  max-width: 62ch;
  margin-top: 16px;
  color: var(--slate);
  font-size: clamp(16px, 1.9vw, 19px);
}
.section--navy .section__intro { color: var(--ice); }
.section__head { margin-bottom: clamp(32px, 5vw, 64px); }

/* ---------- En-tête de page ---------- */
.page-head {
  --focus: var(--coral);
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 5vw, 60px) var(--gutter) clamp(48px, 7vw, 92px);
  background: var(--navy);
  color: var(--white);
}
.page-head__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .055) 0 1px, transparent 1px 88px),
    linear-gradient(180deg, var(--royal) 0%, var(--navy) 88%);
}
.page-head .container { position: relative; }
.page-head__title {
  font-family: var(--font-display);
  font-size: clamp(44px, 8.4vw, 104px);
  font-weight: 900;
  line-height: .86;
  text-transform: uppercase;
  text-wrap: balance;
}
.page-head__lead {
  max-width: 54ch;
  margin-top: clamp(18px, 2.4vw, 26px);
  color: var(--frost);
  font-size: clamp(17px, 2vw, 21px);
  text-wrap: pretty;
}

.breadcrumb {
  margin-bottom: clamp(18px, 3vw, 28px);
  color: var(--sky);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.breadcrumb a { border-bottom: 1px solid rgba(255, 255, 255, .3); }
.breadcrumb a:hover { border-bottom-color: var(--coral); color: var(--coral); }
.breadcrumb [aria-current] { color: var(--white); }

/* ---------- Fiche d'équipe (page Équipes) ---------- */
.team-detail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.team-detail--reverse { flex-direction: row-reverse; }
.team-detail__media {
  flex: 1 1 320px;
  min-width: 0;
}
.team-detail__body {
  flex: 1 1 420px;
  min-width: 0;
}
.team-detail__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}
.team-detail__lead {
  margin-top: 14px;
  font-size: clamp(17px, 1.9vw, 20px);
}
.team-detail__text {
  margin-top: 12px;
  color: var(--slate);
}
.team-detail .facts { margin: clamp(20px, 3vw, 28px) 0 clamp(20px, 3vw, 26px); }

/* ---------- Petites cartes (catégories, arguments) ---------- */
.mini-cards {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 26px);
}
.mini-card {
  flex: 1 1 240px;
  min-width: 0;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  background: var(--white);
}
.mini-card__num {
  color: var(--red);
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 900;
  line-height: .9;
}
.mini-card__title {
  margin-bottom: 10px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}
.mini-card p { color: var(--slate); }
.mini-card__meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* piliers sur fond clair */
.pillars--light .pillar { border-bottom-color: var(--line); }
.pillars--light .pillar__text { color: var(--slate); }

/* ---------- Encadrement ---------- */
.staff {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 28px);
}
.staff__card {
  flex: 1 1 220px;
  min-width: 0;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid var(--line);
  background: var(--white);
}
.staff__photo {
  width: 84px;
  height: 84px;
  margin-bottom: 16px;
}
.staff__name {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.staff__role {
  margin-top: 4px;
  color: var(--slate);
  font-size: 14.5px;
}

/* ---------- Bandeau d'appel ---------- */
.cta-band {
  --focus: var(--coral);
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 7vw, 96px) var(--gutter);
  border-top: 6px solid var(--red);
  background: var(--royal);
  color: var(--white);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .07) 0 2px, transparent 2px 18px);
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(24px, 4vw, 56px);
  max-width: var(--container);
  margin: 0 auto;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(34px, 5.6vw, 64px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}
.cta-band__text {
  max-width: 46ch;
  margin-top: 14px;
}

/* ---------- Article ---------- */
.article-media {
  aspect-ratio: 16 / 10;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.prose { max-width: 68ch; }
.prose p {
  margin-top: 18px;
  color: var(--slate);
  font-size: clamp(17px, 1.9vw, 19px);
}
.prose p:first-child {
  margin-top: 0;
  color: var(--navy);
  font-size: clamp(18px, 2.1vw, 22px);
}
.prose h2 {
  margin-top: clamp(28px, 4vw, 40px);
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 900;
  text-transform: uppercase;
}
.article-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(28px, 4vw, 44px);
}

/* ---------- Cartes d'information (contact) ---------- */
.info-cards {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 26px);
}
.info-card {
  flex: 1 1 260px;
  min-width: 0;
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  background: var(--white);
}
.info-card__label {
  margin-bottom: 10px;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.info-card__value {
  font-family: var(--font-display);
  font-size: clamp(21px, 2.6vw, 28px);
  font-weight: 800;
  line-height: 1.1;
}
.info-card__value a { border-bottom: 2px solid var(--red); }
.info-card__value a:hover { color: var(--red); }
.info-card__note {
  margin-top: 10px;
  color: var(--slate);
  font-size: 14.5px;
}

/* ---------- Mentions légales ---------- */
.legal { max-width: 72ch; }
.legal h2 {
  margin-top: clamp(28px, 4vw, 44px);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 900;
  text-transform: uppercase;
}
.legal p { margin-top: 12px; color: var(--slate); }
.legal ul {
  margin-top: 12px;
  padding-left: 20px;
  list-style: disc;
}
.legal li {
  margin-top: 8px;
  color: var(--slate);
}
.legal a { border-bottom: 1px solid var(--line-strong); }
.legal a:hover { border-bottom-color: var(--red); color: var(--red); }

/* ---------- Page introuvable ---------- */
.error-page {
  --focus: var(--coral);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 62vh;
  padding: clamp(56px, 9vw, 120px) var(--gutter);
  background: var(--navy);
  text-align: center;
}
.error-page__code {
  color: rgba(255, 255, 255, .12);
  font-family: var(--font-display);
  font-size: clamp(90px, 22vw, 240px);
  font-weight: 900;
  line-height: .8;
}
.error-page__title {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  text-transform: uppercase;
}
.error-page__text {
  max-width: 44ch;
  margin: 16px 0 28px;
  color: var(--ice);
}
.error-page__text p { margin: 0; }
.error-page__text a { color: var(--white); border-bottom: 1px solid rgba(255, 255, 255, .4); }
.error-page__text a:hover { color: var(--coral); border-bottom-color: var(--coral); }
/* Confirmation d'envoi : un mot plus long que « 404 », donc plus petit */
.error-page--merci .error-page__code { font-size: clamp(56px, 13vw, 150px); }

/* ---------- Compléments accueil / pied de page ---------- */
.club__col {
  display: flex;
  flex: 1 1 380px;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(26px, 4vw, 44px);
  min-width: 0;
}
.club__col .pillars {
  flex: 0 0 auto;
  width: 100%;
}
.text-link--light {
  color: var(--white);
  border-bottom-color: var(--red);
}
.text-link--light:hover { color: var(--coral); }
.join__cta { margin-top: clamp(26px, 3.6vw, 38px); }
.site-footer__legal a { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.site-footer__legal a:hover { color: var(--white); }
.photo--wide { aspect-ratio: 16 / 9; }
.photo--portrait { aspect-ratio: 4 / 5; }

/* ---------- Formulaire de pré-inscription ---------- */
.form {
  max-width: 760px;
  margin: 0 auto;
}
.form__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(16px, 2.4vw, 26px);
}
.form__set {
  margin: 0 0 clamp(24px, 3.4vw, 36px);
  padding: 0;
  border: 0;
}
.form__legend {
  margin-bottom: 18px;
  padding: 0 0 10px;
  border-bottom: 2px solid var(--red);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: uppercase;
}
.field--large { grid-column: 1 / -1; }
.field__label {
  display: block;
  margin-bottom: 7px;
  color: var(--slate-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.field__option { color: var(--slate); font-weight: 600; text-transform: none; letter-spacing: 0; }
.field__input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--white);
  color: var(--navy);
  font-family: inherit;
  font-size: 16px;          /* 16px au moins : sinon les iPhone zooment à la saisie */
  transition: border-color .25s var(--ease-out), box-shadow .25s var(--ease-out);
  -webkit-appearance: none;
  appearance: none;
}
.field__input::placeholder { color: var(--slate); opacity: .75; }
.field__input:hover { border-color: var(--slate); }
.field__input:focus {
  border-color: var(--royal);
  box-shadow: inset 0 -3px 0 var(--red);
  outline: none;
}
.field__input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
textarea.field__input { min-height: 120px; resize: vertical; }
.field__hint {
  margin-top: 6px;
  color: var(--slate);
  font-size: 14px;
}
/* Piège à robots : invisible pour les visiteurs, rempli par les envois automatiques */
.form__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.form__send {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.4vw, 28px);
  padding-top: clamp(4px, 1vw, 10px);
}
.form__note {
  flex: 1 1 280px;
  color: var(--slate);
  font-size: 14px;
  line-height: 1.55;
}
.form__note p { margin: 0; }
.form__note a { border-bottom: 1px solid var(--line-strong); }
.form__note a:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ---------- Espacements ponctuels ----------
   Écrits ici plutôt qu'en attribut « style » dans les pages : la politique de
   sécurité du site (netlify.toml) peut ainsi interdire tout style en ligne. */
.mini-cards--espacees { margin-top: clamp(32px, 5vw, 64px); }
.quote--espacee { margin-bottom: clamp(28px, 4vw, 48px); }
.standings--etroit { max-width: 640px; }
.info-card__plus { margin-top: 16px; }
.mini-card__plus { margin-top: 18px; }

/* ==========================================================================
   Mouvement
   Un seul langage : fondu + légère montée, une seule courbe (--ease-out),
   chaque bloc n'apparaît qu'une fois. Tout est coupé si l'ordinateur ou le
   téléphone demande de réduire les animations (voir tout en bas).
   ========================================================================== */

@keyframes db-fade-up {
  from { opacity: 0; translate: 0 24px; }
  to { opacity: 1; translate: none; }
}
@keyframes db-fade-left {
  from { opacity: 0; translate: -24px 0; }
  to { opacity: 1; translate: none; }
}
@keyframes db-rise-far {
  from { opacity: 0; translate: 0 40%; }
  to { opacity: 1; translate: none; }
}
@keyframes db-grow-x {
  from { scale: 0 1; }
  to { scale: 1 1; }
}
@keyframes db-grow-y {
  from { scale: 1 0; }
  to { scale: 1 1; }
}
/* Le dévoilement se fait avec un masque rectangulaire. Il est retiré dès la fin
   de l'animation (« backwards » et non « both ») : conservé, il redécoupait la
   photo au carré et laissait un liseré clair le long de l'arche. */
@keyframes db-unveil {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

/* --- Accueil : mise en place au chargement (CSS seul) --- */
.hero__eyebrow { animation: db-fade-up .8s var(--ease-out) .05s both; }
.hero__eyebrow-bar {
  transform-origin: left center;
  animation: db-grow-x .9s var(--ease-out) .15s both;
}
.hero__line { animation: db-fade-up .9s var(--ease-out) both; }
.hero__line:nth-child(1) { animation-delay: .12s; }
.hero__line:nth-child(2) { animation-delay: .2s; }
.hero__line:nth-child(3) { animation-delay: .28s; }
.hero__highlight::before { animation: db-grow-x .7s var(--ease-out) .5s both; }
.hero__lead { animation: db-fade-up .9s var(--ease-out) .42s both; }
.hero__actions { animation: db-fade-up .9s var(--ease-out) .52s both; }
.hero .photo--arch { animation: db-unveil 1.3s var(--ease-out) .15s backwards; }
.hero__rail {
  transform-origin: center top;
  animation: db-grow-y 1.1s var(--ease-out) .5s both;
}
.hero__badge { animation: db-fade-up .8s var(--ease-out) .85s both; }
.next-match { animation: db-fade-up .9s var(--ease-out) .95s both; }

/* --- Accueil : légère profondeur qui suit la souris (valeurs posées par main.js) --- */
.hero__rail,
.hero .photo--arch,
.hero__badge {
  transform: translate3d(calc(var(--mx, 0) * var(--depth) * -1px), calc(var(--my, 0) * var(--depth) * -1px), 0);
  transition: transform 1.2s var(--ease-out);
}
.hero__rail { --depth: 5; }
.hero .photo--arch { --depth: 9; }
.hero__badge { --depth: 16; }

/* --- Apparition des blocs au défilement (classes posées par main.js) --- */
.reveal-ready .reveal:not(.is-visible) { opacity: 0; }
.reveal.is-visible { animation: db-fade-up .9s var(--ease-out) var(--reveal-delay, 0ms) both; }
.reveal--left.is-visible { animation-name: db-fade-left; }
.reveal--rise.is-visible {
  animation-name: db-rise-far;
  animation-duration: 1.4s;
}

/* le filet rouge des surtitres se trace */
.kicker__line { transform-origin: left center; }
.reveal-ready .reveal:not(.is-visible) .kicker__line { scale: 0 1; }
.reveal.is-visible .kicker__line { animation: db-grow-x .8s var(--ease-out) calc(var(--reveal-delay, 0ms) + .15s) both; }

/* les grandes photos se dévoilent de bas en haut (photo contenue dans un bloc qui apparaît) */
.reveal-ready .reveal:not(.is-visible) .photo--unveil { clip-path: inset(100% 0 0 0); }
.reveal.is-visible .photo--unveil { animation: db-unveil 1.3s var(--ease-out) calc(var(--reveal-delay, 0ms) + .1s) backwards; }

/* le filet sous chaque chiffre clé se trace pendant le comptage */
.reveal-ready .reveal:not(.is-visible) .stat__label::before { scale: 0 1; }
.reveal.is-visible .stat__label::before { animation: db-grow-x 1s var(--ease-out) calc(var(--reveal-delay, 0ms) + .2s) both; }

/* --- Parallaxe douce (activée par main.js) --- */
.parallax-ready .hero__backdrop,
.parallax-ready .club__watermark {
  transform: translate3d(0, var(--py, 0px), 0);
  will-change: transform;
}
.parallax-ready .photo[data-parallax] { background-position: center calc(100% + var(--py, 0px)), center; }
.parallax-ready .photo[data-parallax] > img {
  transform: translate3d(0, var(--py, 0px), 0) scale(1.12);
  will-change: transform;
}

/* ---------- Écrans étroits : la navigation passe sur une 2e ligne ---------- */
@media (max-width: 919px) {
  :root { --header-h: 140px; }

  .site-header {
    flex-wrap: wrap;
    row-gap: 4px;
    padding-bottom: 0;
  }
  .header-cta { margin-left: auto; }
  /* La liste tient sur deux lignes plutôt que de défiler à l'horizontale :
     autrement les deux dernières rubriques restaient hors de l'écran. */
  .site-nav {
    order: 3;
    flex-basis: 100%;
    flex-wrap: wrap;
    row-gap: 6px;
    overflow-x: visible;
    margin: 0 calc(var(--header-gutter) * -1);
    padding: 11px var(--header-gutter);
    border-top: 1px solid rgba(255, 255, 255, .08);
  }
}

@media (max-width: 380px) {
  .brand__place { display: none; }
}

/* ---------- Animations réduites ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track,
  .hero__eyebrow,
  .hero__eyebrow-bar,
  .hero__line,
  .hero__highlight::before,
  .hero__lead,
  .hero__actions,
  .hero .photo--arch,
  .hero__rail,
  .hero__badge,
  .next-match { animation: none; }
  *,
  *::before,
  *::after { transition-duration: .01ms !important; }
}

/* ---------- Impression : tout afficher, sans animation ---------- */
@media print {
  .ticker { display: none; }
  .site-header { position: static; }
  .reveal,
  .reveal .photo--unveil {
    opacity: 1 !important;
    clip-path: none !important;
    animation: none !important;
  }
  .reveal .kicker__line,
  .reveal .stat__label::before { scale: 1 1 !important; }
}
