/* ============================================================
   ASTTL54 — feuille de style du site
   Couleurs et logo repris de l'ancien site ; polices et espacements
   harmonisés. Polices : Archivo (titres, boutons) et Work Sans
   (textes), licence SIL Open Font License 1.1, hébergées sur le site.
   ============================================================ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-variable-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-variable-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Work Sans";
  src: url("../fonts/work-sans-italique-variable-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ---------- 1. Réglages communs ---------- */
:root {
  /* couleurs de l'ASTTL54 */
  --nuit: #0b132b;            /* fond principal : en-tête, pied de page, sections sombres */
  --ardoise: #1d253b;         /* cartes, sections intermédiaires */
  --abysse: #122045;          /* carte mise en avant (tarifs) */
  --marine: #1c3166;          /* bouton sur fond orange */
  --marine-survol: #495a84;
  --orange: #ff5a00;
  --orange-survol: #cc4800;
  --peche: #ffac7f;
  --brique: #452e30;          /* fond des pictogrammes */
  --brun: #783217;            /* fin du dégradé (Entraînements & Tarifs) */
  --sauge: #83a79d;           /* section « À vos raquettes ! » */
  --lumiere: #f4f6fc;         /* fonds clairs, titres sur fond sombre */
  --lumiere-survol: #c3c4c9;
  --brume: #a2a6b2;           /* texte secondaire sur fond sombre */
  --encre: #0b132b;           /* texte sur fond clair */
  --encre-douce: #4b5368;     /* texte secondaire sur fond clair */
  --vert-adherer: #0ab835;    /* survol du bouton « Adhérer » */
  --champ: #eaecf1;
  --champ-survol: #e0e2e7;
  --champ-bord: #c5c8d2;

  /* polices */
  --police-titres: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --police-texte: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* formes et ombres */
  --rayon: 8px;
  --rayon-carte: 16px;
  --ombre-image: 0 12px 32px rgba(0, 0, 0, .12);
  --ombre-carte: 0 20px 25px -5px rgba(0, 0, 0, .22), 0 8px 10px -6px rgba(0, 0, 0, .18);
  --ombre-vedette: 0 25px 50px -12px rgba(0, 0, 0, .4);
  --ombre-bouton: 0 4px 16px rgba(0, 0, 0, .12);

  /* espacements */
  --largeur: 1224px;
  --gouttiere: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 8vw, 112px);
  --entete: 128px;            /* hauteur de l'en-tête (place réservée en haut de page, ancres) */
  --entete-reduit: 92px;      /* hauteur après quelques pixels de défilement */
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--entete) + 16px);
}

body {
  margin: 0;
  padding-top: var(--entete);   /* place de l'en-tête fixe : constante, pour que la page ne bouge pas quand il se réduit */
  font-family: var(--police-texte);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--encre);
  background: var(--nuit);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--police-titres);
  font-weight: 700;
  letter-spacing: -.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.25rem, 1.3rem + 3.8vw, 4rem); line-height: 1.1; }
h2 { font-size: clamp(1.875rem, 1.25rem + 2.4vw, 3rem); line-height: 1.15; }
h3, .taille-h3 { font-size: clamp(1.25rem, 1.05rem + .85vw, 1.75rem); line-height: 1.25; }
h4 { font-size: 1.125rem; font-weight: 600; line-height: 1.4; letter-spacing: 0; }
p, ul, ol, figure, address { margin: 0; }
a { color: inherit; text-underline-offset: .2em; }
strong { font-weight: 700; }
abbr[title] { text-decoration: none; }

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

.evitement {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: var(--rayon);
  background: var(--lumiere); color: var(--encre); font-weight: 600; text-decoration: none;
}
.evitement:focus { top: 16px; }

.visuellement-cache {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.icone { width: 1.25em; height: 1.25em; flex: none; }
.orange { color: var(--orange); }
.centre { text-align: center; }

/* ---------- 2. Mise en page ---------- */
.conteneur { width: min(100% - 2 * var(--gouttiere), var(--largeur)); margin-inline: auto; }
.conteneur--moyen { width: min(100% - 2 * var(--gouttiere), 880px); }
.conteneur--resultats { width: min(100% - 2 * var(--gouttiere), 1000px); }

.pile { display: flex; flex-direction: column; gap: 20px; }
.pile--serre { gap: 12px; }
.pile--large { gap: 32px; }
.pile--tres-large { gap: clamp(40px, 5vw, 64px); }
.pile > .surtitre + :is(h1, h2, h3) { margin-top: -6px; }
.centre.pile { align-items: center; }
.centre .intro, .centre p { margin-inline: auto; }

.introduction { max-width: 880px; }

.section { padding-block: var(--section); position: relative; }
.section--compacte { padding-block: clamp(48px, 6vw, 80px); }
.section--nuit { background: var(--nuit); color: var(--brume); }
.section--ardoise { background: var(--ardoise); color: var(--brume); }
.section--degrade { background: linear-gradient(180deg, var(--nuit), var(--brun)); color: var(--brume); }
.section--clair { background: var(--lumiere); color: var(--encre); }
.section--blanc { background: #fff; color: var(--encre); }
.section--sauge { background: var(--sauge); color: var(--encre); }
.section--orange { background: var(--orange); color: var(--encre); }
.section--photo { background: var(--nuit); color: var(--lumiere); isolation: isolate; overflow: hidden; }

:is(.section--nuit, .section--ardoise, .section--degrade, .section--photo) :is(h1, h2, h3, h4) { color: var(--lumiere); }
:is(.section--clair, .section--blanc, .section--orange, .section--sauge) :is(h1, h2, h3, h4) { color: var(--encre); }
:is(.section--nuit, .section--ardoise, .section--degrade, .section--photo) .orange { color: var(--orange); }
.section--blanc .orange { color: var(--orange); }

.intro { font-size: clamp(1rem, .95rem + .3vw, 1.125rem); max-width: 68ch; }
.texte-clair { color: var(--lumiere); }

/* surtitre : petit libellé au-dessus des titres */
.surtitre {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--police-texte); font-size: .8125rem; font-weight: 600; line-height: 1.4;
  letter-spacing: .16em; text-transform: uppercase; color: var(--brume);
}
.surtitre::before { content: ""; width: 28px; height: 3px; border-radius: 2px; background: var(--orange); flex: none; }
.surtitre--orange { color: var(--orange); }
.surtitre--orange::before { display: none; }
:is(.section--clair, .section--blanc) .surtitre { color: var(--encre-douce); }
.centre .surtitre { justify-content: center; }

/* deux colonnes : image et texte */
.alterne { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 900px) {
  .alterne { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .alterne--inverse > :first-child { order: 2; }
}

/* ---------- 3. Boutons et liens ---------- */
.boutons { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.boutons--centre { justify-content: center; }

.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px; border: 0; border-radius: var(--rayon);
  font-family: var(--police-titres); font-size: .9375rem; font-weight: 600; line-height: 1.2;
  text-align: center; text-decoration: none; cursor: pointer;
  box-shadow: var(--ombre-bouton);
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.bouton:hover { box-shadow: 0 6px 20px rgba(0, 0, 0, .18); transform: translateY(-1px); }
.bouton:active { transform: none; }
.bouton--orange { background: var(--orange); color: #000; }
.bouton--orange:hover { background: var(--orange-survol); color: #fff; }
.bouton--clair { background: var(--lumiere); color: #000; }
.bouton--clair:hover { background: var(--lumiere-survol); }
.bouton--marine { background: var(--marine); color: #fff; }
.bouton--marine:hover { background: var(--marine-survol); }
.bouton--noir { background: #000; color: #fff; border-radius: 999px; }
.bouton--noir:hover { background: var(--orange); color: #000; }
.bouton--adherer { min-height: 44px; padding: 10px 24px; background: var(--orange); color: #000; }
.bouton--adherer:hover { background: var(--vert-adherer); color: #000; }

.lien-fleche { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.lien-fleche a, a.lien-fleche { display: inline-flex; align-items: center; gap: 8px; text-decoration: underline; text-decoration-thickness: 1px; }
.lien-fleche .icone { width: 18px; height: 18px; transition: transform .2s ease; }
.lien-fleche a:hover .icone, a.lien-fleche:hover .icone { transform: translateX(4px); }
:is(.section--nuit, .section--ardoise) .lien-fleche, .lien-fleche--clair { color: var(--lumiere); }

/* ---------- 4. En-tête et menu ---------- */
/* En-tête fixe (hors du flux) : quand il se réduit, le reste de la page ne bouge pas.
   Un en-tête « sticky » qui change de hauteur faisait trembler la page près du seuil de réduction. */
.en-tete {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--nuit); color: #fff;
  transition: box-shadow .3s ease;
}
.en-tete--reduit { box-shadow: 0 8px 24px rgba(0, 0, 0, .35); }
.en-tete__barre {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  height: var(--entete); transition: height .3s ease;
}
.en-tete--reduit .en-tete__barre { height: var(--entete-reduit); }
.en-tete__logo { display: block; flex: none; border-radius: 50%; }
.en-tete__logo img {
  width: calc(var(--entete) - 24px); height: calc(var(--entete) - 24px);
  transition: width .3s ease, height .3s ease;
}
.en-tete--reduit .en-tete__logo img { width: calc(var(--entete-reduit) - 24px); height: calc(var(--entete-reduit) - 24px); }

.nav { display: flex; align-items: center; gap: 40px; }
.nav__liste { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nav__lien {
  position: relative; display: inline-block; padding: 8px 0;
  font-weight: 500; font-size: 1rem; line-height: 1.4; color: #fff; text-decoration: none; white-space: nowrap;
}
.nav__lien::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav__lien:hover::after, .nav__lien[aria-current="page"]::after { transform: scaleX(1); }

.en-tete__burger {
  display: none; align-items: center; justify-content: center;
  width: 48px; height: 48px; padding: 0; border: 0; border-radius: var(--rayon);
  background: transparent; color: #fff; cursor: pointer;
}
.en-tete__burger .icone { width: 30px; height: 30px; }
.en-tete__burger-fermer { display: none; }

@media (max-width: 1100px) {
  :root { --entete: 96px; --entete-reduit: 80px; }
  .en-tete__burger { display: inline-flex; position: relative; z-index: 2; }
  .en-tete__logo { position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; gap: 40px;
    padding: 112px 24px 48px; overflow-y: auto;
    background: var(--nuit);
    visibility: hidden; opacity: 0; transform: translateY(-12px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
  }
  .menu-ouvert .nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .menu-ouvert { overflow: hidden; }
  .menu-ouvert .en-tete__burger-ouvrir { display: none; }
  .menu-ouvert .en-tete__burger-fermer { display: block; }
  .nav__liste { flex-direction: column; align-items: center; gap: 12px; }
  .nav__lien { font-family: var(--police-titres); font-size: 1.5rem; font-weight: 600; padding: 8px 4px; }
  .nav .bouton--adherer { min-height: 52px; padding-inline: 40px; font-size: 1rem; }
}

/* ---------- 5. Images ---------- */
.media { position: relative; overflow: hidden; border-radius: var(--rayon); box-shadow: var(--ombre-image); background: var(--ardoise); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--zoom img, .media--zoom.carte__media img { transition: transform .6s ease; }
.media--zoom:hover img { transform: scale(1.04); }
.media--portrait { aspect-ratio: 4 / 5; }

/* ---------- 6. Accueil ---------- */
.heros { padding-block: clamp(40px, 6vw, 88px) var(--section); }
.heros__grille { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; }
.heros__media { aspect-ratio: 3 / 4; max-height: 720px; }
@media (min-width: 900px) {
  .heros__grille { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.heros__texte .intro { color: var(--brume); }

.titre-sauge { color: #fff !important; text-shadow: 0 2px 16px rgba(11, 19, 43, .25); }
.horaires__titre { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .9375rem; }
.horaires { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.horaires li { display: flex; align-items: flex-start; gap: 10px; }
.horaires .icone { width: 20px; height: 20px; margin-top: 3px; color: var(--orange); }
.section--sauge .horaires .icone { color: var(--nuit); }
.centre .horaires { justify-items: center; }
.annonce { font-size: 1.0625rem; }

.cartes { display: grid; gap: 24px; }
@media (min-width: 760px) { .cartes--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.carte {
  display: flex; flex-direction: column; gap: 16px;
  padding: 28px 24px 32px; border-radius: var(--rayon-carte);
  background: var(--ardoise); color: var(--lumiere); box-shadow: var(--ombre-carte);
}
.carte p { font-size: .9375rem; line-height: 1.6; }
.carte__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--rayon); box-shadow: var(--ombre-image); margin-bottom: 8px; }
.carte__media img { width: 100%; height: 100%; object-fit: cover; }
.pictogramme {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px;
  background: var(--brique); color: var(--peche);
}
.pictogramme .icone { width: 24px; height: 24px; }

.soutiens { padding-top: 8px; }
.partenaires { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 32px; margin: 0; padding: 0; list-style: none; }
.partenaire { display: flex; flex-direction: column; align-items: center; gap: 12px; width: min(240px, 42vw); }
.partenaire__logo {
  display: grid; place-items: center; width: 100%; height: 160px; padding: 12px;
  border-radius: var(--rayon); background: #fff; box-shadow: var(--ombre-image);
}
.partenaire__logo img { width: auto; height: auto; max-width: 100%; max-height: 136px; object-fit: contain; }
.partenaire__nom { font-size: .9375rem; }
.partenaire__lien { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; color: inherit; text-decoration: none; }
.partenaire__lien:hover .partenaire__nom { color: var(--lumiere); text-decoration: underline; }
.partenaire__lien .partenaire__logo { transition: transform .2s ease, box-shadow .2s ease; }
.partenaire__lien:hover .partenaire__logo { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(0, 0, 0, .3); }
.partenaire__logo--sombre { display: block; padding: 0; overflow: hidden; background: #05070f; }
.partenaire__logo--sombre img { width: 100%; height: 100%; max-height: none; object-fit: contain; }

.bureau { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .bureau { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .bureau { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.membre img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; box-shadow: var(--ombre-image); }
.membre__role { margin-top: 16px; font-family: var(--police-titres); font-weight: 700; font-size: 1.0625rem; color: var(--encre); }
.membre__nom { color: var(--encre-douce); }

.reseaux {
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  margin: 0 auto; padding: 18px 40px; list-style: none;
  border-radius: 999px; background: var(--lumiere); box-shadow: var(--ombre-bouton);
}
.section--clair .reseaux { background: #fff; }
.reseaux a { display: block; border-radius: 50%; transition: transform .2s ease; }
.reseaux a:hover { transform: scale(1.08); }
.reseaux img { width: 64px; height: 64px; }

/* ---------- 7. Entraînements & Tarifs ---------- */
.heros--centre { padding-block: clamp(72px, 10vw, 136px); }
.section--degrade .intro, .section--photo .intro { color: var(--lumiere); }
.section--degrade .intro { color: var(--brume); }
.peche-vive { color: var(--orange) !important; }

.formules { display: grid; gap: 24px; align-items: start; margin-top: 8px; }
@media (min-width: 960px) { .formules { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.formules__colonne { display: grid; gap: 24px; }
.formule {
  display: flex; flex-direction: column; gap: 16px;
  padding: clamp(24px, 3vw, 32px); border-radius: var(--rayon-carte);
  background: var(--ardoise); color: var(--lumiere); box-shadow: var(--ombre-carte);
}
.formule--vedette { background: var(--abysse); box-shadow: var(--ombre-vedette); }
.formule__media { aspect-ratio: 4 / 3; margin-bottom: 8px; }
.formule__tete { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; }
.formule__nom { color: var(--peche) !important; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.625rem); }
.formule .formule__prix {
  font-family: var(--police-titres); font-weight: 700; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.2;
  white-space: nowrap; padding: 6px 18px; border-radius: 999px; background: rgba(255, 172, 127, .16); color: var(--peche);
}
.formule h4 { color: var(--lumiere); }
.formule p { font-size: .9375rem; line-height: 1.6; }
.formule .boutons { margin-top: 8px; }
.essai { max-width: 880px; margin-inline: auto; }

/* ---------- 8. La Vie du Club ---------- */
.section__fond { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.section--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 19, 43, .55), rgba(11, 19, 43, .72)); }
.section--photo.heros--centre { min-height: min(86vh, 860px); display: grid; align-items: center; }
.section--photo .surtitre { color: var(--lumiere); }

.titre-calendrier { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); }

.galerie { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 760px) {
  .galerie { gap: 16px; }
  .galerie--six { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .galerie--quatre { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.galerie__item {
  display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--rayon);
  background: var(--nuit); box-shadow: var(--ombre-image); cursor: zoom-in;
}
.galerie--six .galerie__item { aspect-ratio: 4 / 3; }
.galerie__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.galerie__item:hover img { transform: scale(1.05); }

.liste-puces { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.liste-puces li { position: relative; padding-left: 26px; }
.liste-puces li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }
.liste-puces strong { color: var(--lumiere); }

/* visionneuse des galeries */
.visionneuse {
  width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(5, 9, 22, .94); color: #fff;
}
.visionneuse::backdrop { background: rgba(5, 9, 22, .94); }
.visionneuse[open] { display: grid; place-items: center; }
.visionneuse__figure { display: grid; place-items: center; width: 100%; height: 100%; padding: 64px 72px; }
.visionneuse__figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: var(--rayon); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.visionneuse__bouton {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0;
  border: 0; border-radius: 50%; background: rgba(244, 246, 252, .12); color: #fff; cursor: pointer;
  transition: background-color .2s ease;
}
.visionneuse__bouton:hover { background: var(--orange); color: #000; }
.visionneuse__bouton .icone { width: 26px; height: 26px; }
.visionneuse__fermer { top: 16px; right: 16px; }
.visionneuse__prec { left: 16px; top: 50%; transform: translateY(-50%); }
.visionneuse__suiv { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .visionneuse__figure { padding: 72px 12px; }
  .visionneuse__prec, .visionneuse__suiv { top: auto; bottom: 16px; transform: none; }
}

/* annonce « À la une » */
.actu {
  display: grid; gap: 20px; align-items: center;
  padding: clamp(16px, 3vw, 24px); border-radius: var(--rayon-carte);
  background: #fff; box-shadow: var(--ombre-image);
}
@media (min-width: 760px) { .actu { grid-template-columns: 220px minmax(0, 1fr); gap: 32px; } }
.actu__media { display: block; overflow: hidden; aspect-ratio: 1 / 1; border-radius: var(--rayon); }
.actu__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.actu:hover .actu__media img { transform: scale(1.04); }
.actu h2 a { text-decoration: none; }
.actu h2 a:hover { text-decoration: underline; }

/* ---------- 9. Articles (Le mot de la présidente, actualités) ---------- */
.taille-h4 { font-size: 1.1875rem; line-height: 1.35; }
.section--blanc .liste-puces strong { color: var(--encre); }
.tableau-defilement { overflow-x: auto; }
.tableau-tarifs { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tableau-tarifs caption { padding-bottom: 8px; text-align: left; font-size: .875rem; color: var(--encre-douce); }
.tableau-tarifs thead th {
  padding: 10px 14px; background: var(--nuit); color: #fff; text-align: left;
  font: 600 .875rem/1.3 var(--police-titres);
}
.tableau-tarifs thead th:first-child { border-top-left-radius: var(--rayon); }
.tableau-tarifs thead th:last-child { border-top-right-radius: var(--rayon); }
.tableau-tarifs tbody th { font-weight: 500; text-align: left; }
.tableau-tarifs tbody th, .tableau-tarifs td { padding: 11px 14px; border-bottom: 1px solid #e3e6ec; }
.tableau-tarifs .prix { text-align: right; white-space: nowrap; }
.tableau-tarifs .prix-habituel { color: var(--encre-douce); }
.tableau-tarifs .prix-licencie { font-weight: 700; background: #fff1e8; }
.chiffre-cle {
  display: flex; align-items: center; gap: 20px;
  padding: 18px 22px; border-radius: var(--rayon-carte); background: var(--nuit); color: var(--lumiere);
}
.chiffre-cle .chiffre-cle__valeur {
  flex: none; font: 700 clamp(2.25rem, 1.8rem + 2vw, 3rem)/1 var(--police-titres); color: var(--orange);
}
.encadre {
  display: grid; gap: 14px; padding: clamp(20px, 3vw, 28px);
  border-radius: var(--rayon-carte); border-left: 4px solid var(--orange); background: var(--lumiere);
}

/* ---------- 9 bis. Le mot de la présidente ---------- */
.article__grille { display: grid; gap: 32px; }
.article__tete { gap: 12px; }
.article__texte { max-width: 72ch; color: #0a1015; }
.article__texte .intro { font-weight: 500; }
.article__signature { font-weight: 600; }
.article__photo img { width: 100%; border-radius: var(--rayon); box-shadow: var(--ombre-image); }
@media (min-width: 900px) {
  .article__grille { grid-template-columns: minmax(0, 1fr) 340px; column-gap: clamp(40px, 6vw, 80px); align-items: start; }
  .article__tete { grid-column: 1 / -1; }
  .article__photo { grid-column: 2; grid-row: 2; position: sticky; top: calc(var(--entete) + 24px); }
  .article__texte { grid-column: 1; grid-row: 2; }
}

/* mentions légales */
.texte-legal { max-width: 76ch; display: grid; gap: clamp(32px, 4vw, 44px); }
.texte-legal section { display: grid; gap: 12px; }
.texte-legal h2 { font-size: clamp(1.25rem, 1.05rem + .85vw, 1.625rem); }
.texte-legal h3 { font-size: 1.0625rem; margin-top: 6px; }
.texte-legal ul { display: grid; gap: 6px; margin: 0; padding-left: 20px; }
.texte-legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.texte-legal dt { font-weight: 600; }
.texte-legal dd { margin: 0; }
@media (max-width: 560px) { .texte-legal dl { grid-template-columns: 1fr; gap: 2px; } .texte-legal dd { margin-bottom: 8px; } }
.texte-legal a { color: var(--encre); font-weight: 500; }
.texte-legal .note-maj { font-size: .875rem; color: var(--encre-douce); }

/* ---------- 10. Contact ---------- */
.heros__grille--contact { align-items: center; }
@media (min-width: 900px) { .heros__grille--contact { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.heros__illustration { display: grid; place-items: center; }
.heros__illustration img { width: min(300px, 70vw); }
.adresse-phare { display: flex; align-items: flex-start; gap: 12px; font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); line-height: 1.35; color: #fff; }
.adresse-phare .icone { width: 26px; height: 26px; margin-top: 2px; color: var(--orange); }

.contact__grille { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 900px) { .contact__grille { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); } }
.contact__formulaire { display: grid; gap: 16px; }
.formulaire { display: grid; gap: 18px; }
.champ label { display: block; margin-bottom: 8px; font-weight: 500; color: var(--lumiere); }
.champ input, .champ textarea {
  display: block; width: 100%; padding: 12px 14px;
  border: 1px solid var(--champ-bord); border-radius: var(--rayon);
  background: var(--champ); color: var(--encre); font: inherit; line-height: 1.5;
  transition: background-color .2s ease, border-color .2s ease;
}
.champ input::placeholder, .champ textarea::placeholder { color: #6b7285; }
.champ input:hover, .champ textarea:hover { background: var(--champ-survol); }
.champ input:focus, .champ textarea:focus { outline: 3px solid var(--orange); outline-offset: 1px; background: #fff; }
.champ textarea { min-height: 150px; resize: vertical; }
.champ [aria-invalid="true"] { border-color: #ff8a80; box-shadow: 0 0 0 1px #ff8a80; }
.champ__erreur { margin-top: 6px; font-size: .875rem; color: #ffb4ab; }
.champ--piege { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.formulaire__note { font-size: .8125rem; color: var(--brume); }
.formulaire__note a { color: var(--lumiere); }
.formulaire__envoi { justify-self: end; }
@media (max-width: 640px) { .formulaire__envoi { justify-self: stretch; } }
.alerte { padding: 14px 18px; border-radius: var(--rayon); display: grid; gap: 6px; }
.alerte:focus { outline: none; }
.alerte--succes { background: #e6f5ea; color: #14532d; border-left: 4px solid #1e7b3c; }
.alerte--erreur { background: #fde8e6; color: #7a1d14; border-left: 4px solid #b3261e; }
.alerte a { font-weight: 600; }

/* ---------- 11. Résultats ---------- */
.heros--court { padding-block: clamp(48px, 7vw, 88px); }
.heros--court .intro { color: var(--brume); }

.resultats { color: var(--encre); font-variant-numeric: tabular-nums; }
.resultats__titre { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); color: var(--encre); }
.resultats__maj { margin: 4px 0 20px; font-size: .875rem; color: var(--encre-douce); }
.resultats__onglets { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 2px solid #d5dae1; }
.resultats__onglets button {
  margin-bottom: -2px; padding: 12px 18px; border: 0; border-bottom: 3px solid transparent;
  background: none; color: var(--encre-douce); font: 600 1rem/1.2 var(--police-titres); cursor: pointer;
}
.resultats__onglets button[aria-selected="true"] { color: var(--encre); border-bottom-color: var(--orange); }
.resultats__onglets button:hover { color: var(--encre); }
.resultats__panneau:focus-visible { outline-offset: 6px; }
.resultats__defilement { overflow-x: auto; }
.resultats__table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.resultats__table caption { padding-bottom: 8px; text-align: left; font-size: .8125rem; color: var(--encre-douce); }
.resultats__table th {
  padding: 10px 8px; background: var(--nuit); color: #fff; text-align: center;
  font: 600 .8125rem/1.2 var(--police-titres); letter-spacing: .02em;
}
.resultats__table th:first-child { border-top-left-radius: var(--rayon); }
.resultats__table th:last-child { border-top-right-radius: var(--rayon); }
.resultats__table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid #e3e6ec; }
.resultats__table .eq { text-align: left; }
.resultats__table .pos { width: 2.6em; font-weight: 700; }
.resultats__table .pts { font-weight: 700; }
.resultats__table tbody tr { cursor: pointer; transition: background-color .15s ease; }
.resultats__table tbody tr:hover { background: #f3f5fa; }
.resultats__table tr.club { background: #fff1e8; }
.resultats__table tr.club .pos { box-shadow: inset 4px 0 0 var(--orange); }
.resultats__table tr.club .resultats__equipe { font-weight: 700; }
.resultats__equipe {
  padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
}
.resultats__equipe:hover { text-decoration: underline; }
.resultats__astuce { margin-top: 10px; font-size: .8125rem; color: var(--encre-douce); }
.resultats__filtres { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; align-items: end; margin-bottom: 16px; }
.resultats__filtres label { display: block; margin-bottom: 4px; font-size: .8125rem; font-weight: 600; color: var(--encre-douce); }
.resultats__filtres select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--champ-bord); border-radius: var(--rayon);
  background: #fff; color: var(--encre); font: inherit;
}
.resultats__raz {
  min-height: 44px; padding: 10px 16px; border: 1px solid var(--champ-bord); border-radius: var(--rayon);
  background: #fff; color: var(--encre); font: 600 .9375rem/1.2 var(--police-titres); cursor: pointer;
}
.resultats__raz:hover { border-color: var(--encre); }
.resultats__bilan { display: grid; gap: 4px; margin-bottom: 16px; padding: 12px 16px; border-radius: 10px; background: #fff1e8; border-left: 4px solid var(--orange); }
.resultats__journee { margin: 22px 0 8px; font: 700 .8125rem/1.3 var(--police-titres); letter-spacing: .12em; text-transform: uppercase; color: var(--encre-douce); }
.rencontre {
  display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 4px 12px;
  margin-bottom: 8px; padding: 12px 14px; border: 1px solid #e3e6ec; border-radius: 10px; background: #fff;
}
.rencontre--club { border-color: var(--orange); background: #fffaf6; }
.rencontre__quand { grid-column: 1 / -1; font-size: .8125rem; color: var(--encre-douce); }
.rencontre__dom { text-align: right; }
.rencontre .gagne { font-weight: 700; }
.rencontre__score {
  min-width: 4.8em; padding: 4px 10px; border-radius: var(--rayon); background: var(--lumiere);
  text-align: center; font: 700 1.0625rem/1.3 var(--police-titres);
}
.badge { padding: 3px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.badge--V { background: #d7f0de; color: #1e7b3c; }
.badge--D { background: #fbdcda; color: #b3261e; }
.badge--N { background: #fdeeba; color: #8a5a00; }
.badge--A { background: #eceff3; color: var(--encre-douce); }
.resultats__vide, .resultats__erreur { padding: 14px 16px; border-radius: 10px; background: #f6f7f9; color: var(--encre-douce); }
.resultats__erreur { background: #fde8e6; color: #7a1d14; }
@media (max-width: 600px) {
  .resultats__table .facultatif { display: none; }
  .resultats__table td, .resultats__table th { padding-inline: 5px; }
  .rencontre { grid-template-columns: 1fr auto 1fr; }
  .rencontre .badge { grid-column: 1 / -1; justify-self: start; }
}

/* ---------- 12. Pied de page ---------- */
.pied { padding-block: 64px 32px; background: var(--nuit); color: var(--lumiere); }
.pied__grille { display: grid; gap: 40px; }
@media (min-width: 900px) { .pied__grille { grid-template-columns: minmax(0, 1.6fr) minmax(0, .8fr) minmax(0, 1fr); } }
.pied__trait { display: block; width: 48px; height: 3px; margin-bottom: 18px; background: var(--orange); }
.pied__nom { margin-bottom: 8px; font-family: var(--police-titres); font-size: 1.5rem; font-weight: 700; }
.pied__colonne { display: grid; align-content: start; gap: 14px; }
.pied__liens { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pied__liens a { font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; opacity: .85; }
.pied__liens a:hover { opacity: 1; color: var(--peche); }
.pied__adresse { display: grid; gap: 6px; font-style: normal; }
.pied__adresse a { width: fit-content; }
.pied__itineraire { color: var(--peche); font-size: .875rem; }
.pied__bas {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(244, 246, 252, .22);
  font-size: .8125rem;
}
.pied__infos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; opacity: .85; }
.pied__infos a:hover { color: var(--peche); }
.pied__rejoindre { color: var(--orange); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
.pied__rejoindre:hover { text-decoration: underline; }
@media (max-width: 899px) { .pied { text-align: center; } .pied__trait { margin-inline: auto; } .pied__adresse a { margin-inline: auto; } .pied__bas { justify-content: center; } }

/* ---------- 13. Apparitions au défilement ---------- */
.a-reveler { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.a-reveler.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .a-reveler { opacity: 1; transform: none; }
}

/* ---------- 14. Impression ---------- */
@media print {
  .en-tete, .pied, .boutons, .reseaux { display: none !important; }
  body { padding-top: 0 !important; }
  body, .section { background: #fff !important; color: #000 !important; }
  :is(h1, h2, h3, h4) { color: #000 !important; }
}
