/* =========================================================
   US Mourillon — feuille de style principale
   Mobile first. Priorité à la lisibilité :
   - titres en casse normale, texte 18 px, contrastes forts
   - couleurs du club (noir / vert / blanc) pour structurer, pas pour décorer
   - typo condensée réservée au grand titre de chaque page
   ========================================================= */

:root {
  --noir: #111312;
  --noir-2: #1c1f1d;
  --noir-3: #2e3230;
  --vert: #1f7a57;
  --vert-fonce: #145c41;
  --vert-clair: #e6f2ec;
  --vert-vif: #4cc093;
  --blanc: #ffffff;
  --fond: #f4f6f4;
  --trait: #d6dbd7;
  --texte: #1b1e1c;
  --gris: #555c58;
  --or: #c9a06a;
  --rouge: #a12a2a;

  --f-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gouttiere: 16px;
  --max: 1180px;
  --header-h: 72px;
  --rayon: 6px;
}
@media (min-width: 768px) { :root { --gouttiere: 32px; --header-h: 88px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--texte);
  background: var(--blanc);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--vert-fonce); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { color: var(--vert); }
:focus-visible { outline: 3px solid var(--vert-vif); outline-offset: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; }
ul { padding-left: 1.2em; }
strong { font-weight: 700; }

.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; }
.lien-evitement { position: absolute; left: 8px; top: -60px; z-index: 200; background: var(--vert); color: var(--blanc); padding: 10px 14px; font-weight: 700; }
.lien-evitement:focus { top: 8px; }

.conteneur { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gouttiere); }
.etroit { max-width: 780px; }

/* ---------- Typo ---------- */
h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.5rem, 10vw, 4.75rem); line-height: .95; letter-spacing: .005em; }
h2 { font-family: var(--f-body); font-weight: 700; font-size: clamp(1.65rem, 5.5vw, 2.35rem); line-height: 1.15; letter-spacing: -.01em; }
h3 { font-family: var(--f-body); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
h4 { font-family: var(--f-body); font-weight: 700; font-size: 1.1rem; }
.display { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .95; }
.chapeau { font-size: 1.25rem; line-height: 1.55; font-weight: 500; }

/* Petit libellé au-dessus d'un titre */
.etiquette { display: inline-block; font-weight: 700; font-size: .95rem; color: var(--vert-fonce); margin-bottom: 4px; }
.sombre .etiquette, .vert-bloc .etiquette { color: var(--vert-vif); }
.vert-bloc .etiquette { color: #d4f0e3; }

/* ---------- Boutons ---------- */
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 22px; border-radius: var(--rayon);
  font-family: var(--f-body); font-weight: 700; font-size: 1.05rem; text-decoration: none; line-height: 1.2;
  background: var(--vert); color: var(--blanc); border: 2px solid var(--vert);
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.bouton:hover { background: var(--vert-fonce); border-color: var(--vert-fonce); color: var(--blanc); }
.bouton.noir { background: var(--noir); border-color: var(--noir); }
.bouton.noir:hover { background: var(--noir-3); border-color: var(--noir-3); }
.bouton.contour { background: transparent; color: var(--noir); border-color: var(--noir); }
.bouton.contour:hover { background: var(--noir); color: var(--blanc); }
.sombre .bouton.contour, .heros .bouton.contour { color: var(--blanc); border-color: var(--blanc); }
.sombre .bouton.contour:hover, .heros .bouton.contour:hover { background: var(--blanc); color: var(--noir); }
.bouton svg { width: 20px; height: 20px; flex: none; }
.bouton.plein { width: 100%; }
@media (min-width: 600px) { .bouton.plein { width: auto; } }
.boutons { display: flex; flex-wrap: wrap; gap: 12px; }

.fleche { font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.fleche::after { content: "→"; transition: transform .15s; }
.fleche:hover { text-decoration: underline; }
.fleche:hover::after { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
@media (min-width: 768px) { .section { padding: 80px 0; } }
.section.serree { padding: 32px 0; }
.sombre { background: var(--noir); color: var(--blanc); }
.sombre a { color: var(--vert-vif); }
.gazon { background: var(--fond); }
.vert-bloc { background: var(--vert); color: var(--blanc); }
.vert-bloc a { color: var(--blanc); }

.entete-section { margin-bottom: 28px; display: grid; gap: 10px; }
.entete-section h2 { margin: 0; }
.entete-section p { margin: 0; max-width: 62ch; color: var(--gris); }
.sombre .entete-section p { color: #c9cfcb; }
@media (min-width: 900px) { .entete-section.cote { grid-template-columns: 1fr auto; align-items: end; } }

/* ---------- En-tête du site ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: var(--noir); color: var(--blanc); border-bottom: 3px solid var(--vert); }
.site-header .conteneur { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.marque { display: flex; align-items: center; gap: 10px; color: var(--blanc); text-decoration: none; }
.marque img { height: calc(var(--header-h) - 8px); width: auto; }
.marque span { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 1.4rem; line-height: .9; }
.marque small { display: block; font-family: var(--f-body); font-weight: 500; text-transform: none; font-size: .78rem; color: #b9c2bd; margin-top: 3px; }
.marque:hover { color: var(--blanc); }

.bouton-menu {
  display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: var(--rayon);
  background: var(--vert); color: var(--blanc); border: 0; cursor: pointer; font-family: var(--f-body); font-weight: 700; font-size: 1rem;
}
.bouton-menu .barres { width: 20px; height: 14px; position: relative; }
.bouton-menu .barres::before, .bouton-menu .barres::after, .bouton-menu .barres span { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; }
.bouton-menu .barres::before { top: 0; }
.bouton-menu .barres span { top: 6px; }
.bouton-menu .barres::after { bottom: 0; }

.nav-bureau { display: none; }
@media (min-width: 1100px) {
  .bouton-menu { display: none; }
  .nav-bureau { display: flex; align-items: center; gap: 2px; height: 100%; }
  .nav-bureau > a, .nav-bureau .nav-groupe > a {
    display: flex; align-items: center; padding: 8px 12px; border-radius: var(--rayon);
    font-weight: 600; font-size: 1.02rem; color: var(--blanc); text-decoration: none;
  }
  .nav-bureau > a:hover, .nav-bureau .nav-groupe > a:hover { background: var(--noir-3); color: var(--blanc); }
  .nav-bureau a[aria-current="page"] { color: var(--vert-vif); }
  .nav-bureau .nav-cta { background: var(--vert); margin-left: 10px; padding: 10px 16px; font-weight: 700; }
  .nav-bureau .nav-cta:hover { background: var(--vert-fonce); }
  .nav-groupe { position: relative; display: flex; align-items: center; height: 100%; }
  .nav-sous { display: none; position: absolute; top: 100%; left: 0; min-width: 240px; margin: 0; padding: 8px; list-style: none; background: var(--blanc); border-radius: 0 0 var(--rayon) var(--rayon); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
  .nav-groupe:hover .nav-sous, .nav-groupe:focus-within .nav-sous { display: block; }
  .nav-sous a { display: block; padding: 10px 12px; color: var(--texte); text-decoration: none; border-radius: 4px; }
  .nav-sous a:hover { background: var(--vert-clair); color: var(--vert-fonce); }
}

/* Menu mobile plein écran */
.menu-mobile { position: fixed; inset: 0; z-index: 150; background: var(--blanc); color: var(--texte); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transition: opacity .15s, visibility 0s .15s; }
.menu-mobile.ouvert { visibility: visible; opacity: 1; transition: opacity .15s; }
.menu-mobile .menu-haut { height: var(--header-h); flex: none; display: flex; align-items: center; justify-content: space-between; padding: 0 var(--gouttiere); background: var(--noir); border-bottom: 3px solid var(--vert); }
.menu-mobile .fermer { height: 46px; padding: 0 16px; border-radius: var(--rayon); background: var(--blanc); color: var(--noir); border: 0; font-family: var(--f-body); font-weight: 700; font-size: 1rem; cursor: pointer; }
.menu-mobile nav { padding: 8px var(--gouttiere) 24px; }
.menu-liste { list-style: none; margin: 0; padding: 0; }
.menu-liste > li { border-bottom: 1px solid var(--trait); }
.menu-liste > li > a { display: block; padding: 14px 0; font-weight: 700; font-size: 1.35rem; color: var(--texte); text-decoration: none; }
.menu-liste > li > a[aria-current="page"] { color: var(--vert); }
.menu-liste .sous { list-style: none; margin: -4px 0 0; padding: 0 0 12px; display: grid; gap: 2px; }
.menu-liste .sous a { display: block; padding: 6px 0 6px 14px; color: var(--gris); text-decoration: none; border-left: 3px solid var(--trait); }
.menu-liste .sous a:hover { color: var(--vert-fonce); border-left-color: var(--vert); }
.menu-mobile .menu-bas { margin-top: auto; padding: 20px var(--gouttiere) 28px; display: grid; gap: 12px; background: var(--fond); }
.menu-mobile .menu-bas a:not(.bouton) { color: var(--texte); font-weight: 600; }
body.menu-ouvert { overflow: hidden; }

/* ---------- Héros accueil ---------- */
.heros { position: relative; background: var(--noir); color: var(--blanc); overflow: hidden; }
.heros-photo { position: absolute; inset: 0; }
.heros-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.heros-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,19,18,.1) 0%, rgba(17,19,18,.6) 50%, rgba(17,19,18,.94) 100%); }
.heros .conteneur { position: relative; min-height: min(72svh, 620px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 110px; padding-bottom: 36px; }
.heros h1 { font-size: clamp(2.9rem, 13vw, 7rem); margin-bottom: 14px; }
.heros h1 .vert { color: var(--vert-vif); display: block; }
.heros p { font-size: 1.2rem; max-width: 36ch; font-weight: 500; }

/* Bandeau de page intérieure */
.bandeau { background: var(--noir); color: var(--blanc); position: relative; overflow: hidden; }
.bandeau .conteneur { position: relative; padding-top: 32px; padding-bottom: 32px; }
.bandeau h1 { margin-bottom: 12px; }
.bandeau p { max-width: 60ch; color: #dfe4e1; margin: 0; font-size: 1.15rem; }
.bandeau.photo { min-height: 300px; display: flex; align-items: flex-end; }
.bandeau.photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bandeau.photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17,19,18,.25), rgba(17,19,18,.92)); }
.bandeau.photo .conteneur { z-index: 1; }
.fil { font-size: .95rem; margin-bottom: 10px; color: #b9c2bd; }
.fil a { color: #dfe4e1; }
.fil a:hover { color: var(--blanc); }

/* ---------- Matchs (cartes) ---------- */
.matchs { display: grid; gap: 16px; }
@media (min-width: 700px) { .matchs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .matchs { grid-template-columns: repeat(3, 1fr); } }
.matchs.une { grid-template-columns: 1fr; }
.match { background: var(--blanc); border: 1px solid var(--trait); border-top: 5px solid var(--vert); border-radius: var(--rayon); padding: 16px; display: grid; gap: 10px; align-content: start; }
.match p { margin: 0; }
.match-haut { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.match-equipe { font-weight: 700; color: var(--vert-fonce); }
.match-date { font-size: 1.2rem; font-weight: 700; }
.match-affiche { display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); }
.match-club { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; font-size: 1.1rem; line-height: 1.25; }
.match-club.usm .nom { font-weight: 700; }
.match-club .score { font-family: var(--f-display); font-weight: 900; font-size: 1.9rem; line-height: 1; min-width: 2ch; text-align: right; }
.logo-club { width: 40px; height: 40px; object-fit: contain; }
.logo-club.vide { display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--fond); border: 1px solid var(--trait); }
.match-lieu { color: var(--texte); font-size: 1rem; }
.match-comp { color: var(--gris); font-size: .95rem; }

.pastille { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .88rem; font-weight: 700; line-height: 1.5; white-space: nowrap; }
.pastille.v { background: var(--vert-clair); color: var(--vert-fonce); }
.pastille.d { background: #f6e3e3; color: var(--rouge); }
.pastille.n { background: var(--fond); color: var(--gris); }
.pastille.bientot { background: var(--noir); color: var(--blanc); }

.chargement { color: var(--gris); padding: 20px 0; margin: 0; }

/* ---------- Accès rapides ---------- */
.acces { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acces a {
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  min-height: 120px; padding: 16px; border-radius: var(--rayon); text-decoration: none; color: var(--blanc); background: var(--noir);
  transition: background-color .15s;
}
.acces a:nth-child(odd) { background: var(--vert); }
.acces a:hover { background: var(--vert-fonce); color: var(--blanc); }
.acces .num { font-size: .95rem; opacity: .9; }
.acces strong { font-size: 1.3rem; line-height: 1.2; }
.acces strong::after { content: " →"; }
@media (min-width: 900px) { .acces { grid-template-columns: repeat(4, 1fr); gap: 16px; } .acces a { min-height: 150px; padding: 20px; } .acces strong { font-size: 1.45rem; } }

/* ---------- Chiffres ---------- */
.chiffres { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chiffre { padding: 16px; border-radius: var(--rayon); background: var(--noir-2); }
.chiffre b { display: block; font-family: var(--f-display); font-weight: 900; font-size: clamp(2.4rem, 11vw, 3.6rem); line-height: .9; color: var(--vert-vif); }
.chiffre span { display: block; margin-top: 8px; font-size: 1rem; line-height: 1.3; }
.clair .chiffre { background: var(--fond); }
.clair .chiffre b { color: var(--vert); }
@media (min-width: 900px) { .chiffres.quatre { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Grilles ---------- */
.grille { display: grid; gap: 20px; }
@media (min-width: 700px) { .grille.g2, .grille.g3, .grille.g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grille.g3 { grid-template-columns: repeat(3, 1fr); } .grille.g4 { grid-template-columns: repeat(4, 1fr); } }
.colonnes { display: grid; gap: 32px; }
.colonnes > *, .grille > *, .categorie-grille > * { min-width: 0; }
@media (min-width: 900px) { .colonnes { grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; } }

/* ---------- Fiche équipe ---------- */
.fiche { display: flex; flex-direction: column; background: var(--blanc); color: var(--texte); border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; text-decoration: none; }
.fiche-photo { aspect-ratio: 4 / 3; overflow: hidden; background: var(--noir-2); }
.fiche-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
a.fiche:hover .fiche-photo img { transform: scale(1.03); }
.fiche-texte { padding: 16px; display: grid; gap: 6px; flex: 1; align-content: start; }
.fiche-texte h3 { margin: 0; font-size: 1.35rem; }
.fiche-texte p { margin: 0; color: var(--gris); }
.fiche-texte .fleche { margin-top: 6px; color: var(--vert-fonce); }
a.fiche:hover { color: var(--texte); border-color: var(--vert); }

/* ---------- Puces (filtres, navigation de page) ---------- */
.puces { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gouttiere) 10px; margin: 0 calc(var(--gouttiere) * -1); scrollbar-width: none; }
.puces::-webkit-scrollbar { display: none; }
.puce { flex: none; min-height: 44px; padding: 8px 16px; display: inline-flex; align-items: center; border-radius: 999px; font-family: var(--f-body); font-weight: 600; font-size: 1rem; border: 1.5px solid var(--trait); background: var(--blanc); color: var(--texte); text-decoration: none; cursor: pointer; }
.puce:hover { border-color: var(--noir); color: var(--texte); }
.puce[aria-pressed="true"], .puce.actif { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.nav-interne { position: sticky; top: var(--header-h); z-index: 50; background: var(--blanc); border-bottom: 1px solid var(--trait); padding-top: 10px; }
.nav-interne .puces::before { content: "Aller à :"; flex: none; align-self: center; color: var(--gris); font-size: .95rem; }

/* ---------- Personnes ---------- */
.personnes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.personne { display: grid; grid-template-columns: 1fr; gap: 6px 16px; padding: 14px 0; border-bottom: 1px solid var(--trait); align-items: center; }
.personne .nom { font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.personne .role { color: var(--gris); font-size: 1rem; }
.personne .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.personne .actions a { display: inline-flex; align-items: center; gap: 6px; min-height: 42px; padding: 6px 14px; border-radius: var(--rayon); border: 1.5px solid var(--trait); color: var(--texte); text-decoration: none; font-weight: 600; font-size: 1rem; }
.personne .actions a:hover { border-color: var(--vert); color: var(--vert-fonce); background: var(--vert-clair); }
.personne .actions a[href^="tel"]::before { content: "Appeler"; font-weight: 700; color: var(--vert-fonce); margin-right: 4px; }
@media (min-width: 720px) { .personne { grid-template-columns: 1fr auto; } .personne .actions { justify-content: flex-end; } }
.sombre .personnes, .sombre .personne { border-color: var(--noir-3); }
.sombre .personne .role { color: #b9c2bd; }
.sombre .personne .actions a { border-color: #5a615d; color: var(--blanc); }
.sombre .personne .actions a:hover { background: var(--blanc); color: var(--noir); }
.sombre .personne .actions a[href^="tel"]::before { color: var(--vert-vif); }

/* ---------- Créneaux d'entraînement ---------- */
.creneaux { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.creneau { display: grid; grid-template-columns: 116px 1fr; align-items: center; background: var(--fond); border-radius: var(--rayon); overflow: hidden; }
.creneau .jour { align-self: stretch; display: flex; align-items: center; padding: 12px 14px; background: var(--vert); color: var(--blanc); font-weight: 700; font-size: 1.05rem; }
.creneau .detail { padding: 10px 14px; line-height: 1.35; }
.creneau .heure { font-weight: 700; font-size: 1.15rem; display: block; }
.creneau .lieu { font-size: .95rem; color: var(--gris); }

/* ---------- Catégories (école de rugby, équipes) ---------- */
.categorie { padding: 44px 0; border-top: 1px solid var(--trait); }
.categorie:first-of-type { border-top: 0; }
.categorie-tete { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.categorie-tete .code { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 72px; height: 72px; padding: 0 10px; border-radius: var(--rayon); background: var(--vert); color: var(--blanc); font-family: var(--f-display); font-weight: 900; font-size: 2.2rem; line-height: 1; }
.categorie-tete h2 { margin: 0; }
.categorie-tete .age { margin: 4px 0 0; color: var(--gris); font-size: 1.05rem; }
.categorie-photo { aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--rayon); }
.categorie-photo img { width: 100%; height: 100%; object-fit: cover; }
.categorie-grille { display: grid; gap: 28px; }
.categorie-grille h3 { margin-bottom: 12px; }
@media (min-width: 960px) { .categorie-grille { grid-template-columns: 1.1fr 1fr; gap: 48px; } }

/* ---------- Frise chronologique ---------- */
.frise { list-style: none; margin: 0; padding: 0; position: relative; }
.frise::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--vert-vif); }
.frise li { position: relative; padding: 0 0 24px 36px; }
.frise li::before { content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px; border-radius: 50%; background: var(--vert-vif); }
.frise .annee { font-family: var(--f-display); font-weight: 900; font-size: 2rem; line-height: 1; display: block; margin-bottom: 2px; }
.frise p { margin: 0; }
@media (min-width: 900px) {
  .frise:not(.etapes) { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
  .frise:not(.etapes)::before { display: none; }
  .frise:not(.etapes) li { padding: 0; border-top: 2px solid var(--vert-vif); padding-top: 16px; }
  .frise:not(.etapes) li::before { display: none; }
}

/* ---------- Citation ---------- */
.citation { margin: 0; }
.citation blockquote { margin: 0; font-size: clamp(1.4rem, 4.6vw, 1.9rem); font-weight: 700; line-height: 1.3; }
.citation blockquote p { margin: 0 0 .5em; }
.citation figcaption { font-weight: 700; }
.texte-long { max-width: 70ch; }
.texte-long h2 { margin-top: 1.4em; font-size: clamp(1.4rem, 5vw, 1.8rem); }

/* ---------- Lieux ---------- */
.lieu-bloc { display: grid; border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; background: var(--blanc); }
.lieu-bloc .photo { aspect-ratio: 16 / 10; overflow: hidden; }
.lieu-bloc .photo img { width: 100%; height: 100%; object-fit: cover; }
.lieu-bloc .texte { padding: 20px; }
.lieu-bloc .surnom { display: block; font-weight: 700; color: var(--vert-fonce); margin-bottom: 4px; }
.lieu-bloc h2, .lieu-bloc h3 { margin-bottom: 10px; }
.infos { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.infos li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; }
.infos svg { width: 20px; height: 20px; margin-top: 4px; color: var(--vert); }
@media (min-width: 900px) { .lieu-bloc { grid-template-columns: 1.1fr 1fr; } .lieu-bloc .texte { padding: 32px; } .lieu-bloc .photo { aspect-ratio: auto; min-height: 100%; } }

/* ---------- Galerie ---------- */
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.galerie img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--rayon); }
.galerie img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .galerie { grid-template-columns: repeat(4, 1fr); } .galerie img:first-child { grid-row: span 2; aspect-ratio: auto; height: 100%; } }

.galerie-duo { display: grid; gap: 16px; }
.galerie-duo figure { margin: 0; }
.galerie-duo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--rayon); }
.galerie-duo figcaption { margin-top: 6px; font-size: .95rem; color: var(--gris); }
@media (min-width: 700px) { .galerie-duo { grid-template-columns: 1fr 1fr; } }

/* ---------- Partenaires : institutions (mises en avant) ---------- */
.grille-institutions { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 700px) { .grille-institutions { grid-template-columns: repeat(3, 1fr); } }
.partenaire.institution { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 10px; padding: 18px 12px 14px; text-decoration: none; color: var(--texte); text-align: center; }
.partenaire.institution .logo { height: 96px; display: flex; align-items: center; justify-content: center; }
.partenaire.institution img { max-height: 96px; max-width: 100%; width: auto; object-fit: contain; }
.partenaire.institution .nom { font-weight: 600; font-size: .95rem; line-height: 1.25; }
.partenaire.institution.sans-logo { justify-content: center; }
.partenaire.institution.sans-logo .nom { font-weight: 700; font-size: 1.1rem; }
a.partenaire.institution:hover { border-color: var(--vert); color: var(--texte); }
@media (min-width: 900px) { .partenaire.institution .logo { height: 120px; } .partenaire.institution img { max-height: 120px; } }

/* ---------- Partenaires privés : tuiles vertes du club ---------- */
.grille-prives { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .grille-prives { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .grille-prives { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.grille-prives > *, .grille-institutions > * { min-width: 0; min-height: 0; }
.partenaire.prive { aspect-ratio: 1; min-height: 0; border: 0; flex-direction: row; gap: 0; background: #2f704b; border-radius: var(--rayon); overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 14%; text-decoration: none; color: var(--blanc); text-align: center; transition: transform .15s; }
.partenaire.prive img { max-width: 100%; max-height: 100%; object-fit: contain; filter: brightness(0) invert(1); }
.partenaire.prive.tuile { padding: 0; }
.partenaire.prive.tuile img { width: 100%; height: 100%; filter: none; }
.partenaire.prive .nom-seul { font-weight: 700; font-size: clamp(.8rem, 3.2vw, 1.05rem); line-height: 1.2; color: var(--blanc); overflow-wrap: anywhere; }
a.partenaire.prive:hover { transform: translateY(-2px); color: var(--blanc); }

/* ---------- Partenaires (ancien affichage générique) ---------- */
.partenaires-grille { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 600px) { .partenaires-grille { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .partenaires-grille { grid-template-columns: repeat(5, 1fr); } }
.partenaires-grille.majeurs { grid-template-columns: 1fr; }
@media (min-width: 600px) { .partenaires-grille.majeurs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .partenaires-grille.majeurs { grid-template-columns: repeat(3, 1fr); } }
.partenaire { background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 18px 14px; min-height: 140px; text-decoration: none; color: var(--texte); text-align: center; }
.majeurs .partenaire { min-height: 200px; }
.partenaire img { max-height: 72px; max-width: 80%; width: auto; object-fit: contain; }
.majeurs .partenaire img { max-height: 110px; }
a.partenaire:hover { border-color: var(--vert); }
.partenaire .nom { font-weight: 600; font-size: .95rem; line-height: 1.2; color: var(--texte); }
.partenaire .nom-seul { font-weight: 700; font-size: 1.25rem; line-height: 1.2; }
.partenaire .activite { font-size: .9rem; color: var(--gris); line-height: 1.3; }

.vide { border: 1px dashed #b5bdb8; border-radius: var(--rayon); padding: 24px 20px; text-align: center; color: var(--gris); background: var(--blanc); }
.vide strong { display: block; color: var(--texte); font-size: 1.15rem; margin-bottom: 4px; }
.sombre .vide { background: transparent; color: #c9cfcb; border-color: #5a615d; }
.sombre .vide strong { color: var(--blanc); }

.supports { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.supports li { background: var(--noir-2); border-radius: var(--rayon); padding: 18px; display: grid; gap: 6px; }
.supports b { font-size: 1.2rem; }
.supports span { color: #c9cfcb; }
@media (min-width: 700px) { .supports { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .supports { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Actualités ---------- */
.actus { display: grid; gap: 20px; }
@media (min-width: 700px) { .actus { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .actus { grid-template-columns: repeat(3, 1fr); } }
.actu { border: 1px solid var(--trait); border-radius: var(--rayon); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--texte); background: var(--blanc); }
.actu .photo { aspect-ratio: 16/10; overflow: hidden; background: var(--noir-2); }
.actu .photo img { width: 100%; height: 100%; object-fit: cover; }
.actu .texte { padding: 16px; display: grid; gap: 6px; align-content: start; flex: 1; }
.actu-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.actu-categorie { font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--noir); background: var(--or); padding: 2px 8px; border-radius: 3px; }
.actu time { font-weight: 600; font-size: .95rem; color: var(--vert-fonce); }
.actu h3 { margin: 0; }
.actu p { margin: 0; color: var(--gris); }
.actu .fleche { margin-top: 6px; color: var(--vert-fonce); }
.actu .photo img { transition: transform .3s; }
a.actu { transition: border-color .15s, box-shadow .15s; }
a.actu:hover { color: var(--texte); border-color: var(--vert); box-shadow: 0 10px 28px rgba(17,19,18,.1); }
a.actu:hover .photo img { transform: scale(1.03); }
a.actu:hover .fleche { text-decoration: underline; }
a.actu:hover .fleche::after { transform: translateX(3px); }
/* Actu à la une : pleine largeur, photo à gauche sur grand écran */
.actus .actu.une { grid-column: 1 / -1; }
.actu.une h3 { font-size: clamp(1.4rem, 4.4vw, 2rem); line-height: 1.15; }
.actu.une p { font-size: 1.1rem; }
@media (min-width: 800px) {
  .actu.une { flex-direction: row; }
  .actu.une .photo { flex: 0 0 min(46%, 520px); aspect-ratio: auto; min-height: 340px; }
  .actu.une .texte { padding: 32px 36px; align-content: center; gap: 10px; }
}

/* ---------- Article d'actualité ---------- */
.bandeau-logo { display: none; }
@media (min-width: 800px) {
  .bandeau.article .conteneur { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; padding-top: 40px; padding-bottom: 40px; }
  .bandeau-logo { display: block; width: 130px; height: auto; }
}
@media (min-width: 1100px) { .bandeau-logo { width: 150px; } }
.article-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 16px; color: #b9c2bd; font-size: 1rem; }
.article-meta b { color: var(--blanc); font-weight: 600; }
.bandeau .actu-categorie { display: inline-block; margin-bottom: 14px; }
.article-grille { display: grid; gap: 40px; }
@media (min-width: 1000px) { .article-grille { grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: start; } }
.article-corps { max-width: 70ch; }
.article-corps h2 { font-size: clamp(1.4rem, 5vw, 1.8rem); margin-top: 1.6em; }
.article-corps > h2:first-child { margin-top: 0; }
.article-corps .chapeau { margin-bottom: 1.2em; }
.article-lateral { display: grid; gap: 16px; }
@media (min-width: 1000px) { .article-lateral { position: sticky; top: calc(var(--header-h) + 24px); } }
.carte-doc { background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 22px; display: grid; gap: 12px; border-top: 5px solid var(--or); }
.carte-doc p { margin: 0; color: #c9cfcb; font-size: 1rem; }
.carte-doc h2 { font-size: 1.3rem; margin: 0; }
.carte-doc .bouton { width: 100%; }
.carte-doc .poids { font-size: .9rem; color: #9aa29d; }
.carte-doc .poids a { color: var(--vert-vif); }
.carte-doc .poids a:hover { color: var(--blanc); }
.carte-info { background: var(--fond); border-radius: var(--rayon); padding: 20px 22px; }
.carte-info h2 { font-size: 1.1rem; margin: 0 0 10px; }
.carte-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 1rem; line-height: 1.4; }
.carte-info li { padding-left: 16px; position: relative; }
.carte-info li::before { content: ""; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; border-radius: 50%; background: var(--vert); }

/* Photos de l'article (portrait) */
.photos-article { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .photos-article { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.photos-article figure { margin: 0; }
.photos-article img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--rayon); background: var(--noir-2); }
.photos-article figcaption { margin-top: 8px; font-size: .95rem; line-height: 1.4; color: var(--gris); }

/* Programme du centenaire */
.programme { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .programme { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.programme li { display: grid; grid-template-columns: 84px 1fr; gap: 16px; align-items: start; background: var(--noir-2); border-radius: var(--rayon); padding: 16px; }
.programme .quand { display: grid; justify-items: center; align-content: center; text-align: center; min-height: 84px; padding: 8px 4px; border-radius: 4px; background: var(--vert); color: var(--blanc); line-height: 1; }
.programme .quand b { font-family: var(--f-display); font-weight: 900; font-size: 1.9rem; white-space: nowrap; }
.programme .quand.long b { font-size: 1.55rem; }
.programme .quand span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-top: 4px; }
.programme .quand.mot b { font-family: var(--f-body); font-weight: 700; font-size: 1.1rem; }
.programme .quand.flou { background: var(--noir-3); }

/* 5 chiffres clés : le dernier prend toute la largeur sur mobile */
.chiffres.cinq > :last-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .chiffres.cinq { grid-template-columns: repeat(5, 1fr); } .chiffres.cinq > :last-child { grid-column: auto; } }

/* Bouton secondaire sur fond vert */
.appel .bouton.contour-blanc { background: transparent; border-color: var(--blanc); color: var(--blanc); }
.appel .bouton.contour-blanc:hover { background: var(--blanc); color: var(--noir); }
.programme h3 { margin: 0 0 4px; font-size: 1.15rem; color: var(--blanc); }
.programme p { margin: 0; font-size: 1rem; color: #c9cfcb; line-height: 1.5; }
.programme .precision { margin-top: 6px; font-size: .9rem; color: #9aa29d; font-style: italic; }

/* ---------- Liste de matchs ---------- */
.liste-matchs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--trait); }
.ligne-match { display: grid; grid-template-columns: 58px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--trait); align-items: start; }
.ligne-match .date { text-align: center; background: var(--noir); color: var(--blanc); padding: 6px 4px; border-radius: var(--rayon); }
.ligne-match .date b { display: block; font-size: 1.5rem; line-height: 1.05; }
.ligne-match .date span { font-size: .85rem; }
.ligne-match.passe .date { background: var(--fond); color: var(--texte); }
.ligne-match .meta-haut { font-size: .95rem; font-weight: 600; color: var(--vert-fonce); }
.ligne-match .affiche { font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.ligne-match .affiche .usm { color: var(--vert-fonce); }
.ligne-match .resultat { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.ligne-match .resultat b { font-size: 1.1rem; }
.ligne-match .meta { font-size: .95rem; color: var(--gris); margin-top: 2px; }

.onglets { display: inline-flex; padding: 4px; gap: 4px; background: var(--fond); border-radius: 999px; margin-bottom: 14px; }
.onglets button { min-height: 42px; padding: 6px 18px; border: 0; border-radius: 999px; background: transparent; font-family: var(--f-body); font-weight: 700; font-size: 1rem; color: var(--gris); cursor: pointer; }
.onglets button[aria-pressed="true"] { background: var(--blanc); color: var(--texte); box-shadow: 0 1px 3px rgba(0,0,0,.15); }

.evenements { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.evenement { border-left: 4px solid var(--vert); background: var(--fond); padding: 14px 16px; border-radius: 0 var(--rayon) var(--rayon) 0; }
.evenement time { font-weight: 700; color: var(--vert-fonce); }
.evenement h3 { margin: 4px 0 6px; }
.evenement p { margin: 0; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--trait); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; position: relative; font-weight: 700; font-size: 1.15rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 12px; font-size: 1.6rem; font-weight: 500; color: var(--vert); }
.faq details[open] summary::after { content: "–"; }
.faq .reponse { padding: 0 0 18px; max-width: 70ch; }
.faq .reponse > :last-child { margin-bottom: 0; }

/* ---------- Formulaire ---------- */
.formulaire { display: grid; gap: 16px; }
.champ { display: grid; gap: 6px; }
.champ label { font-weight: 700; }
.champ input, .champ select, .champ textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1.05rem; border: 1.5px solid #8d9590; border-radius: var(--rayon); background: var(--blanc); color: var(--texte); }
.champ textarea { min-height: 150px; resize: vertical; }
.champ input:focus, .champ select:focus, .champ textarea:focus { outline: 3px solid var(--vert-vif); outline-offset: 0; border-color: var(--vert-fonce); }
.note { font-size: .95rem; color: var(--gris); }

.contact-cartes { display: grid; gap: 12px; }
.contact-cartes a, .contact-cartes div { background: var(--fond); border-radius: var(--rayon); color: var(--texte); padding: 18px; text-decoration: none; display: grid; gap: 2px; }
.contact-cartes a:hover { background: var(--vert-clair); }
.contact-cartes .type { font-weight: 600; font-size: .95rem; color: var(--gris); }
.contact-cartes .valeur { font-weight: 700; font-size: 1.35rem; line-height: 1.2; word-break: break-word; color: var(--vert-fonce); }
@media (min-width: 700px) { .contact-cartes { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Appel à l'action ---------- */
.appel { background: var(--vert); color: var(--blanc); }
.appel .conteneur { padding-top: 44px; padding-bottom: 44px; display: grid; gap: 18px; }
.appel h2 { margin: 0; }
.appel p { margin: 0; max-width: 56ch; font-size: 1.15rem; }
.appel .bouton { background: var(--blanc); border-color: var(--blanc); color: var(--noir); }
.appel .bouton:hover { background: var(--noir); border-color: var(--noir); color: var(--blanc); }
.appel.noir { background: var(--noir); }
.appel.noir .bouton { background: var(--vert); border-color: var(--vert); color: var(--blanc); }
@media (min-width: 900px) { .appel .conteneur { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Centenaire ---------- */
.centenaire { border-left: 4px solid var(--or); padding: 4px 0 4px 20px; display: grid; gap: 8px; }
.centenaire .dates { font-family: var(--f-display); font-weight: 900; font-size: clamp(2.4rem, 10vw, 3.6rem); line-height: .95; color: var(--or); }
.centenaire .etiquette { color: var(--or); }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--noir); color: #c9cfcb; font-size: 1rem; border-top: 3px solid var(--vert); }
.site-footer a { color: var(--blanc); text-decoration: none; }
.site-footer a:hover { color: var(--vert-vif); text-decoration: underline; }
.pied-grille { display: grid; gap: 32px; padding: 44px 0 28px; }
.pied-marque { display: flex; gap: 14px; align-items: center; }
.pied-marque img { width: 84px; }
.pied-marque strong { display: block; color: var(--blanc); font-size: 1.15rem; line-height: 1.25; }
.pied-marque span { font-size: .95rem; }
.pied-devise { font-weight: 600; color: var(--vert-vif); margin-top: 14px; }
.site-footer h2 { font-size: 1rem; font-weight: 700; color: var(--blanc); margin: 0 0 12px; letter-spacing: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.reseaux { display: flex; gap: 10px; margin-top: 4px; }
.reseaux a { width: 46px; height: 46px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--noir-3); }
.reseaux a:hover { background: var(--vert); text-decoration: none; }
.reseaux svg { width: 22px; height: 22px; }
.pied-bas { border-top: 1px solid var(--noir-3); padding: 18px 0 28px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; font-size: .92rem; }
.pied-bas ul { display: flex; flex-wrap: wrap; gap: 6px 18px; }
@media (min-width: 900px) { .pied-grille { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }

/* Utilitaires */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.centre { text-align: center; }
.cache { display: none !important; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }
@media print {
  .site-header, .menu-mobile, .site-footer, .nav-interne { display: none !important; }
  .sombre, .vert-bloc, .bandeau { background: none !important; color: #000 !important; }
}

/* Accueil : grille des partenaires privés plus compacte */
.compact .grille-prives { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.compact .partenaire.prive .nom-seul { font-size: clamp(.68rem, 2.6vw, .9rem); }
@media (min-width: 700px) { .compact .grille-prives { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .compact .grille-prives { grid-template-columns: repeat(8, minmax(0, 1fr)); } }
.compact .grille-institutions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.compact .partenaire.institution { padding: 12px 8px; }
.compact .partenaire.institution .logo { height: 64px; }
.compact .partenaire.institution img { max-height: 64px; }
.compact .partenaire.institution .nom { font-size: .8rem; }
@media (min-width: 900px) { .compact .grille-institutions { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* =========================================================
   MATCHS — version 2
   ========================================================= */
.sous-titre { font-size: 1.05rem; color: var(--gris); font-weight: 600; margin-bottom: 10px; }
.accueil-matchs { display: grid; gap: 28px; }
@media (min-width: 960px) { .accueil-matchs { grid-template-columns: 1.15fr 1fr; gap: 40px; align-items: start; } }

/* Carte à la une */
.vedette { background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 18px; display: grid; gap: 14px; border-top: 6px solid var(--vert); }
.vedette p { margin: 0; }
.vedette-haut { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.vedette-equipe { font-weight: 700; color: var(--vert-vif); }
.vedette .pastille.bientot { background: var(--vert); color: var(--blanc); }
.vedette-affiche { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; padding: 8px 0; }
.vedette-club { display: grid; justify-items: center; gap: 8px; text-align: center; font-size: 1rem; line-height: 1.2; }
.vedette-club.usm span { font-weight: 700; }
.vedette-club .logo-club { width: 64px; height: 64px; padding: 6px; background: var(--blanc); border-radius: 50%; }
.vedette-club .logo-club.vide { background: var(--noir-3); border: 0; }
.vedette-centre { display: grid; justify-items: center; text-align: center; gap: 2px; }
.vedette-jour { font-size: .95rem; color: #c9cfcb; }
.vedette-heure { font-family: var(--f-display); font-weight: 900; font-size: 2.6rem; line-height: 1; }
.vedette-lieu { border-top: 1px solid var(--noir-3); padding-top: 12px; }
.vedette-comp { color: #aab1ac; font-size: .95rem; }
@media (min-width: 600px) { .vedette { padding: 24px; } .vedette-club { font-size: 1.15rem; } .vedette-club .logo-club { width: 84px; height: 84px; } .vedette-heure { font-size: 3.2rem; } }

/* Ligne de match */
.liste-matchs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; border: 0; }
.lm { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--rayon); border: 1px solid var(--trait); background: var(--blanc); }
.lm-date { display: grid; justify-items: center; line-height: 1.1; padding: 6px 0; border-radius: 4px; background: var(--noir); color: var(--blanc); }
.lm-date span { font-size: .75rem; }
.lm-date b { font-size: 1.35rem; }
.lm-corps { display: grid; gap: 1px; min-width: 0; }
.lm-equipe { font-size: .88rem; font-weight: 700; color: var(--vert-fonce); }
.lm-affiche { font-size: 1.02rem; line-height: 1.3; }
.lm-affiche strong { font-weight: 700; }
.lm-info { font-size: .88rem; color: var(--gris); }
.lm-droite { display: grid; justify-items: end; text-align: right; gap: 2px; }
.lm-heure { font-weight: 700; font-size: 1.15rem; }
.lm-delai { font-size: .8rem; font-weight: 600; color: var(--vert-fonce); white-space: nowrap; }
.lm.prochain { border: 2px solid var(--vert); }
/* Match joué : tout le bandeau en couleur */
.lm.v, .lm.d, .lm.n { border: 0; color: var(--blanc); }
.lm.v { background: var(--vert); }
.lm.d { background: #b3261e; }
.lm.n { background: #5d635f; }
.lm.v .lm-date, .lm.d .lm-date, .lm.n .lm-date { background: rgba(0,0,0,.25); }
.lm.v .lm-equipe, .lm.d .lm-equipe, .lm.n .lm-equipe, .lm.v .lm-info, .lm.d .lm-info, .lm.n .lm-info { color: rgba(255,255,255,.85); }
.lm-issue { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.lm-score { font-family: var(--f-display); font-weight: 900; font-size: 1.6rem; line-height: 1; white-space: nowrap; }

/* Cartes résultat (accueil) */
.resultats { display: grid; gap: 12px; }
@media (min-width: 700px) { .resultats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .resultats { grid-template-columns: repeat(3, 1fr); } }
.resultat { border-radius: var(--rayon); padding: 16px; color: var(--blanc); display: grid; gap: 8px; align-content: start; }
.resultat p { margin: 0; }
.resultat.v { background: var(--vert); }
.resultat.d { background: #b3261e; }
.resultat.n { background: #5d635f; }
.res-tete { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: .9rem; font-weight: 600; opacity: .95; }
.res-issue { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 2.2rem; line-height: 1; }
.res-equipes { display: grid; gap: 4px; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.3); border-bottom: 1px solid rgba(255,255,255,.3); }
.res-club { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: baseline; }
.res-club.usm span { font-weight: 700; }
.res-club b { font-family: var(--f-display); font-weight: 900; font-size: 1.7rem; line-height: 1.1; }
.res-pied { font-size: .9rem; opacity: .9; }

/* Page Matchs */
.semaine-nav { display: grid; grid-template-columns: 52px 1fr 52px; align-items: center; gap: 8px; background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 8px; margin-bottom: 12px; }
.semaine-fleche { width: 52px; height: 52px; border: 0; border-radius: var(--rayon); background: var(--vert); color: var(--blanc); font-size: 1.4rem; font-weight: 700; cursor: pointer; }
.semaine-fleche:hover { background: var(--vert-fonce); }
.semaine-fleche:disabled { background: var(--noir-3); color: #6b716d; cursor: default; }
.semaine-titre { display: grid; text-align: center; line-height: 1.25; }
.semaine-titre b { font-size: 1.1rem; }
.semaine-titre span { font-size: .9rem; color: #b9c2bd; }
.lien-bouton { background: none; border: 0; padding: 6px; font: inherit; font-weight: 700; color: var(--vert-fonce); text-decoration: underline; cursor: pointer; }
.jour-titre { font-size: 1.05rem; margin: 20px 0 8px; }
.bilan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0 4px; }
.bilan-titre { grid-column: 1 / -1; font-weight: 700; }
.bilan-case { border-radius: var(--rayon); color: var(--blanc); padding: 10px; display: grid; justify-items: center; font-weight: 600; font-size: .9rem; }
.bilan-case b { font-family: var(--f-display); font-weight: 900; font-size: 2rem; line-height: 1; }
.bilan-case.v { background: var(--vert); }
.bilan-case.n { background: #5d635f; }
.bilan-case.d { background: #b3261e; }

/* Centenaire : grand logo */
.centenaire-bloc { display: grid; gap: 24px; align-items: center; justify-items: start; }
.centenaire-logo { width: 150px; height: auto; }
@media (min-width: 700px) { .centenaire-bloc { grid-template-columns: 220px 1fr; gap: 40px; } .centenaire-logo { width: 220px; } }

/* ---------- Affiche du match du week-end (accueil) ----------
   Fichier : assets/img/affiches/affiche-seniors.jpg — 1080 x 1350 px (4:5) */
.affiche-bloc { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .affiche-bloc { grid-template-columns: 1fr minmax(0, 440px); gap: 56px; } }
.affiche-match { position: relative; margin: 0; width: 100%; max-width: 440px; justify-self: center; aspect-ratio: 1080 / 1350; border-radius: var(--rayon); overflow: hidden; background: var(--noir); box-shadow: 0 18px 40px rgba(17,19,18,.18); }
.affiche-match .affiche-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.affiche-match .affiche-vide { display: none; }
.affiche-match.vide .affiche-image { display: none; }
.affiche-match.vide .affiche-vide { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; color: #c9cfcb; background: radial-gradient(circle at 50% 38%, var(--noir-3), var(--noir) 72%); }
.affiche-vide img { width: 96px; height: auto; margin-bottom: 8px; opacity: .9; }
.affiche-vide strong { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: 2rem; line-height: 1; color: var(--blanc); }
.affiche-vide span { font-weight: 600; }

/* ---------- Staff avec photos (page équipes) ----------
   Photos : assets/img/photos/staff/ — portrait 4:5 (800 x 1000 px) */
.staff-grille { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) { .staff-grille { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; max-width: 900px; } }
.staff-carte { display: grid; gap: 10px; align-content: start; min-width: 0; }
.staff-photo { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--rayon); background: var(--fond); }
.staff-photo img { width: 100%; height: 100%; object-fit: cover; }
.staff-carte .nom { font-weight: 700; font-size: 1.15rem; line-height: 1.25; }
.staff-carte .role { color: var(--gris); }

/* ---------- Sport Santé & Sport adapté : bloc sans photo ---------- */
.categorie-grille.sans-photo > div:first-child { max-width: 64ch; }

/* =========================================================
   CENTENAIRE 1927 – 2027 (page centenaire.html)
   ========================================================= */
/* Lien doré « 100 ans » dans le menu */
.nav-bureau > a.nav-or { color: var(--or); }
.nav-bureau > a.nav-or:hover { color: var(--noir); background: var(--or); }
.nav-bureau > a.nav-or[aria-current="page"] { color: var(--noir); background: var(--or); }
.menu-liste > li > a.nav-or { color: #8a6534; }

/* Héros : carte postale ancienne du Mourillon */
.heros-centenaire { min-height: min(78svh, 620px); }
.heros-centenaire > img { object-position: 50% 45%; filter: sepia(.35); }
.heros-centenaire::after { background: linear-gradient(180deg, rgba(17,19,18,.5) 0%, rgba(17,19,18,.78) 45%, rgba(17,19,18,.96) 100%); }
.heros-centenaire h1 { font-size: clamp(2.8rem, 12vw, 6rem); }
.heros-centenaire h1 .or { color: var(--or); display: block; }
.heros-centenaire .boutons { margin-top: 22px; }
.bouton.or { background: var(--or); border-color: var(--or); color: var(--noir); }
.bouton.or:hover { background: #b38a55; border-color: #b38a55; color: var(--noir); }
.heros-centenaire .bouton.contour { color: var(--blanc); border-color: var(--blanc); }
.heros-centenaire .bouton.contour:hover { background: var(--blanc); color: var(--noir); }

/* « 100 ans de… » */
.cent-ans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
@media (min-width: 900px) { .cent-ans { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.cent-ans li { list-style: none; background: var(--noir); color: var(--blanc); border-radius: var(--rayon); padding: 18px 16px; border-bottom: 4px solid var(--or); display: grid; gap: 2px; }
.cent-ans span { font-size: .95rem; color: var(--or); font-weight: 700; }
.cent-ans b { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.7rem, 6vw, 2.3rem); line-height: 1; }
ul.cent-ans { padding: 0; margin-bottom: 0; }

/* Figures (archives, affiche) */
.figure { margin: 0; }
.figure img { width: 100%; height: auto; border-radius: var(--rayon); }
.figure figcaption { margin-top: 8px; font-size: .95rem; line-height: 1.45; color: var(--gris); }
.sombre .figure figcaption { color: #aab1ac; }
.figure.affiche img { aspect-ratio: 4 / 5; object-fit: cover; box-shadow: 0 18px 40px rgba(17,19,18,.2); max-width: 440px; }
.figure.archive img { filter: none; border: 6px solid #f3ead8; box-shadow: 0 10px 28px rgba(17,19,18,.18); }

/* Programme : lien vers le dossier sous la liste */
.programme-pied { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.programme-pied .note { color: #aab1ac; margin: 0; }

/* Histoire */
.histoire-intro { display: grid; gap: 32px; align-items: start; margin-bottom: 48px; }
@media (min-width: 900px) { .histoire-intro { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 56px; } }
.frise.clair-frise .annee { color: var(--noir); }
.frise.clair-frise::before, .frise.clair-frise li::before { background: var(--vert); }
@media (min-width: 900px) { .frise.clair-frise li { border-top-color: var(--vert) !important; } }
.frise .annee.petite { font-size: 1.6rem; }

/* Palmarès */
.palmares { display: grid; gap: 28px; margin-top: 48px; }
@media (min-width: 900px) { .palmares { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.palmares-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.palmares-liste li { display: grid; grid-template-columns: 110px 1fr; gap: 14px; align-items: baseline; padding: 12px 16px; border-radius: var(--rayon); background: var(--fond); }
.palmares-liste b { font-family: var(--f-display); font-weight: 900; font-size: 1.35rem; line-height: 1.1; color: var(--vert-fonce); }
.palmares-liste span { line-height: 1.4; }

/* Valeurs */
.valeurs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 700px) { .valeurs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .valeurs { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.valeurs li { background: rgba(255,255,255,.1); border-radius: var(--rayon); padding: 18px; border-top: 4px solid var(--blanc); }
.valeurs h3 { margin: 0 0 6px; font-size: 1.15rem; }
.valeurs p { margin: 0; font-size: 1rem; line-height: 1.5; }

/* Écosystème du club */
.ecosysteme { list-style: none; margin: 18px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ecosysteme li { padding: 7px 14px; border-radius: 999px; border: 1.5px solid var(--trait); background: var(--blanc); font-weight: 600; font-size: .98rem; line-height: 1.3; }
.ecosysteme li.centre { background: var(--vert); border-color: var(--vert); color: var(--blanc); }

/* Participer */
.cartes-participer { display: grid; gap: 16px; }
@media (min-width: 900px) { .cartes-participer { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.carte-participer { background: var(--blanc); border: 1px solid var(--trait); border-top: 5px solid var(--or); border-radius: var(--rayon); padding: 22px; display: grid; gap: 10px; align-content: start; }
.carte-participer h3 { margin: 0; font-size: 1.3rem; }
.carte-participer p { margin: 0; color: var(--gris); }
.carte-participer .fleche { color: var(--vert-fonce); margin-top: 4px; }
.merci { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--trait); color: var(--gris); max-width: 75ch; }
.merci strong { color: var(--texte); }

/* Menu bureau : les libellés ne passent jamais sur deux lignes (9 entrées avec « 100 ans ») */
@media (min-width: 1100px) {
  .nav-bureau > a, .nav-bureau .nav-groupe > a { white-space: nowrap; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .nav-bureau > a, .nav-bureau .nav-groupe > a { padding: 8px 8px; font-size: .96rem; }
  .nav-bureau .nav-cta { margin-left: 6px; padding: 10px 12px; }
  .site-header .marque span { font-size: 1.25rem; }
}

/* Document d'archives (page Centenaire) : papier encadré */
.figure.document img { background: #fffdf8; border: 1px solid #e3dccd; box-shadow: 0 10px 28px rgba(17,19,18,.14); }
.figure figcaption strong { color: var(--texte); }

/* Bloc « acte de naissance » : le document de 1937 en grand + la date en doré */
.fondation { display: grid; gap: 24px; align-items: center; margin-bottom: 56px; padding: 20px; border-radius: var(--rayon); background: var(--noir); color: var(--blanc); border-top: 5px solid var(--or); }
@media (min-width: 900px) { .fondation { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 48px; padding: 32px; } }
.fondation .figure.document img { border: 0; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.fondation .figure a { display: block; cursor: zoom-in; }
.fondation-texte .etiquette { color: var(--or); }
.fondation-date { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: .9; font-size: clamp(2rem, 7vw, 2.8rem); color: var(--or); margin: 6px 0 18px; }
.fondation-date b { display: block; font-size: clamp(4.5rem, 20vw, 8rem); color: var(--blanc); }
.fondation-texte p { color: #dfe4e1; }
.fondation-texte strong { color: var(--or); }
.fondation-texte .note { color: #9aa29d; margin: 0; }

/* Accueil, bloc « Le club » : 1927 mis en avant sur toute la largeur */
.chiffres .chiffre.une { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; border-left: 4px solid var(--or); }
.chiffres .chiffre.une b { color: var(--or); }
.chiffres .chiffre.une span { margin-top: 0; font-size: 1.1rem; font-weight: 600; }

/* Remerciements (page Centenaire) : texte + logos des institutions, dans l'ordre */
.merci { max-width: none; }
.merci p { max-width: 75ch; }
.merci-logos { list-style: none; margin: 18px 0 20px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 900px) { .merci-logos { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; } }
.merci-logos li { height: 84px; padding: 10px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--rayon); display: flex; align-items: center; justify-content: center; }
.merci-logos img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
@media (min-width: 900px) { .merci-logos li { height: 96px; } }
