/* Championnat de football Amadou Sambhayankè — 5e édition
   Charte : marine du blason, orange du ruban, or des lauriers. */
@font-face{font-family:"Oswald";font-weight:500;font-display:swap;src:url(../fonts/oswald-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Oswald";font-weight:600;font-display:swap;src:url(../fonts/oswald-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Oswald";font-weight:700;font-display:swap;src:url(../fonts/oswald-latin-700-normal.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-weight:400;font-display:swap;src:url(../fonts/poppins-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-weight:500;font-display:swap;src:url(../fonts/poppins-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-weight:600;font-display:swap;src:url(../fonts/poppins-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Poppins";font-weight:700;font-display:swap;src:url(../fonts/poppins-latin-700-normal.woff2) format("woff2")}

:root{
  --nuit:#061230; --marine:#0A1A3C; --marine-2:#13285A; --marine-3:#1E3A78;
  --orange:#F58200; --orange-f:#D86F00; --or:#F5A800; --or-clair:#FFD166;
  --fond:#F2F4F8; --carte:#FFFFFF; --texte:#0E1730; --doux:#5A6480; --ligne:#DDE2EC;
  --vert:#13A35B; --rouge:#D7263D; --jaune:#F4C20D;
  --r:14px; --ombre:0 1px 2px rgba(6,18,48,.06),0 6px 18px rgba(6,18,48,.07);
  --titre:"Oswald","Arial Narrow",Impact,sans-serif; --corps:"Poppins",system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
  --larg:760px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;font-family:var(--corps);font-size:14.5px;line-height:1.55;color:var(--texte);background:var(--fond)}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
button,input,select,textarea{font:inherit}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.saut{position:absolute;left:-999px;top:8px;background:var(--orange);color:#fff;padding:8px 14px;border-radius:8px;z-index:99}
.saut:focus{left:8px}
:focus-visible{outline:3px solid var(--or);outline-offset:2px}
.conteneur{width:min(var(--larg),100% - 28px);margin-inline:auto}

/* ── Bandeaux ── */
.bandeau-demo{background:repeating-linear-gradient(135deg,#FFE9C7 0 14px,#FFDCA3 14px 28px);color:#6B3A00;text-align:center;font-weight:600;font-size:12px;padding:5px 12px}
.annonce{margin:12px auto 0;background:#FFF6E2;border:1.5px solid #F2C46D;border-radius:var(--r);padding:11px 14px;color:var(--texte)}
.annonce .lbl{display:block;color:#9A5B00;font-weight:600;font-size:13px}
.annonce p{margin:2px 0 0;font-family:var(--titre);font-weight:600;font-size:18px;line-height:1.25;color:var(--nuit)}
.annonce a{color:var(--orange-f);font-weight:600;font-size:13.5px}

/* ── En-tête compact ── */
.entete{background:var(--marine);color:#fff;position:sticky;top:0;z-index:40;border-bottom:3px solid var(--orange)}
.entete .conteneur{display:flex;align-items:center;gap:12px;min-height:62px}
.marque{display:flex;align-items:center;gap:10px;text-decoration:none;color:#fff;min-width:0}
.marque img{width:44px;height:auto;flex-shrink:0}
.marque span{display:flex;flex-direction:column;min-width:0;line-height:1.1}
.marque small{color:#BFC9E2;font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.marque b{font-family:var(--titre);text-transform:uppercase;font-weight:700;font-size:21px;letter-spacing:.01em;white-space:nowrap}
.nav{margin-left:auto;display:flex;gap:2px}
.nav a{font-family:var(--titre);text-transform:uppercase;letter-spacing:.05em;font-size:13.5px;font-weight:500;text-decoration:none;color:#D7DEEE;padding:8px 9px;border-radius:8px}
.nav a:hover{color:#fff;background:rgba(255,255,255,.07)}
.nav a[aria-current=page]{color:#fff;background:var(--orange)}
.entete.large .conteneur{width:min(1180px,100% - 28px)}
@media (max-width:1020px){.nav{display:none}}
@media (max-width:380px){.marque b{font-size:18px}.marque img{width:38px}}

/* ── Barre d'onglets en bas (mobile et tablette) ── */
.onglets-bas,.feuille-plus,.voile{display:none}
@media (max-width:1020px){
  body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
  .onglets-bas{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--ligne);box-shadow:0 -4px 18px rgba(6,18,48,.08);padding-bottom:env(safe-area-inset-bottom)}
  .onglets-bas a,.onglets-bas button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:64px;padding:6px 2px;background:none;border:0;cursor:pointer;text-decoration:none;color:var(--marine);font-family:var(--titre);font-weight:500;font-size:13px;letter-spacing:.02em;-webkit-tap-highlight-color:transparent}
  .onglets-bas svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .onglets-bas [aria-current=page],.onglets-bas button.actif,.onglets-bas button[aria-expanded=true]{color:var(--orange-f)}
  .onglets-bas [aria-current=page]::before,.onglets-bas button.actif::before{content:"";position:absolute;top:0;left:30%;right:30%;height:4px;border-radius:0 0 4px 4px;background:var(--orange)}
  .onglets-bas [aria-current=page] svg{stroke-width:2.3}
  .voile{display:block;position:fixed;inset:0;background:rgba(3,8,22,.45);z-index:58}
  .voile[hidden]{display:none}
  .feuille-plus{display:block;position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:59;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -10px 30px rgba(6,18,48,.2);padding:8px 16px 10px;max-height:70vh;overflow-y:auto}
  .feuille-plus[hidden]{display:none}
  .feuille-plus .poignee{width:44px;height:5px;border-radius:3px;background:#C9D1E0;margin:2px auto 8px}
  .feuille-plus ul{list-style:none;margin:0;padding:0}
  .feuille-plus a{display:block;padding:12px 6px;border-bottom:1px solid var(--ligne);text-decoration:none;color:var(--marine)}
  .feuille-plus li:last-child a{border-bottom:0}
  .feuille-plus b{display:block;font-family:var(--titre);text-transform:uppercase;font-size:17px;letter-spacing:.03em;font-weight:600}
  .feuille-plus small{color:var(--doux);font-size:13px}
  .feuille-plus [aria-current=page] b{color:var(--orange-f)}
  .pied{margin-top:24px}
}

/* ── Titre de page compact ── */
.titre-page{display:flex;align-items:center;gap:12px;margin:16px 0 12px}
.titre-page h1{font-family:var(--titre);text-transform:uppercase;font-size:28px;line-height:1.05;margin:0;color:var(--nuit)}
.titre-page p{margin:2px 0 0;color:var(--doux);font-size:13.5px}
.titre-page .ecu{width:54px;height:54px;font-size:18px}

/* compte à rebours (carte vedette avant le calendrier) */
.rebours{display:flex;gap:8px;justify-content:center;margin:12px 0 4px;position:relative;z-index:1}
.rebours div{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:10px;min-width:62px;padding:7px 6px;text-align:center}
.rebours b{display:block;font-family:var(--titre);font-size:26px;line-height:1;color:#fff}
.rebours span{font-size:10.5px;text-transform:uppercase;letter-spacing:.1em;color:#AFBBD8}

/* ── Sections et cartes ── */
main{display:block}
.section{padding:14px 0}
.bloc{margin-top:22px}
.titre-sec{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 10px}
.titre-sec h2{font-family:var(--titre);text-transform:none;font-size:25px;font-weight:700;line-height:1.1;margin:0;color:var(--nuit)}
.titre-sec a{font-weight:600;color:var(--orange-f);text-decoration:none;font-size:14px;white-space:nowrap}
.titre-sec a:hover{text-decoration:underline}
.carte{background:var(--carte);border-radius:var(--r);box-shadow:0 1px 2px rgba(6,18,48,.05);border:1px solid #E3E8F0}
.grille{display:grid;gap:12px}
.g2{grid-template-columns:repeat(2,minmax(0,1fr))}
.g3{grid-template-columns:repeat(3,minmax(0,1fr))}
.g4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:700px){.g3,.g4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.g2{grid-template-columns:1fr}}
.col-2{display:grid;grid-template-columns:1fr;gap:18px}
.vide{padding:16px 16px;color:var(--doux);background:#fff;border:1.5px dashed #D3D9E4;border-radius:var(--r);font-size:14.5px}
.vide b{display:block;font-family:var(--titre);color:var(--marine);font-size:16px;font-weight:600;margin-bottom:1px}
.chargement{padding:16px;text-align:center;color:var(--doux)}

/* chiffres clés : une seule carte à cases */
.chiffres{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#fff;border:1px solid #E3E8F0;border-radius:var(--r);overflow:hidden;margin-top:-6px;position:relative}
.chiffres>div{padding:12px 6px 13px;text-align:center;border-left:1px solid var(--ligne);display:flex;flex-direction:column;justify-content:center;gap:2px}
.chiffres>div:first-child{border-left:0}
.chiffres span{font-size:12.5px;color:var(--doux);white-space:nowrap}
.chiffres b{display:block;font-family:var(--titre);font-size:30px;font-weight:700;line-height:1.05;color:var(--nuit)}
.chiffres b small{font-size:.55em;color:var(--doux)}
.chiffres b.txt{font-size:17px;line-height:1.15}

/* ── Écussons d'équipe ── */
.ecu{width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;flex-shrink:0;font-family:var(--titre);font-weight:600;font-size:13px;letter-spacing:.02em;color:#fff;overflow:hidden;box-shadow:inset 0 0 0 2px rgba(255,255,255,.65),0 1px 3px rgba(0,0,0,.15)}
.ecu{flex:0 0 auto;line-height:1;white-space:nowrap;text-shadow:0 0 3px rgba(0,0,0,.75),0 1px 1px rgba(0,0,0,.6)}
.ecu img{width:100%;height:100%;object-fit:cover;background:#fff}
.ecu.g{width:64px;height:64px;font-size:21px}
.ecu.xl{width:96px;height:96px;font-size:30px}
.ecu.p{width:26px;height:26px;font-size:9px;letter-spacing:0}

/* ── Lignes de match ── */
.match{display:grid;grid-template-columns:74px minmax(0,1fr);gap:10px;align-items:center;text-decoration:none;color:inherit;padding:11px 14px 11px 12px}
a.match:hover{border-color:#C9D1E0}
.match .quand{text-align:center;display:flex;flex-direction:column;align-items:center;gap:3px;border-right:1px solid var(--ligne);padding-right:10px;align-self:stretch;justify-content:center}
.match .quand b{font-family:var(--titre);font-size:19px;font-weight:600;color:var(--nuit);line-height:1}
.match .quand small{color:var(--doux);font-size:13px}
.match .eqs{display:flex;flex-direction:column;gap:6px;min-width:0}
.match .eq{display:flex;align-items:center;gap:9px;min-width:0;font-size:16px;text-transform:uppercase;font-family:var(--titre);font-weight:500;letter-spacing:.01em}
.match .eq>span:not(.ecu){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.match .eq .sc{font-family:var(--titre);font-size:20px;font-weight:700;min-width:22px;text-align:right;color:var(--nuit)}
.match .eq.perd{color:#7A839C}
.match .eq.perd .sc{color:#9AA2B8}
.match .eq.gagne{font-weight:700;color:var(--nuit)}
.match .ctx{display:block;color:var(--doux);font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:1px}
.match.direct{border-color:#F3B1B9;box-shadow:inset 4px 0 0 var(--rouge)}
.etiq{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;padding:3px 7px;border-radius:99px;background:#EEF1F7;color:var(--marine)}
.etiq.direct{background:var(--rouge);color:#fff}
.etiq.direct::before{content:"";width:6px;height:6px;border-radius:50%;background:#fff;animation:pouls 1.2s infinite}
.etiq.fin{background:#E3F5EC;color:#0B7A43}
.etiq.rep{background:#FFF1D6;color:#8A5200}
@keyframes pouls{50%{opacity:.25}}
@media (prefers-reduced-motion:reduce){.etiq.direct::before{animation:none}}

/* prochain match vedette (rayures de pelouse) */
.vedette{display:block;position:relative;overflow:hidden;color:#fff;text-decoration:none;border-radius:18px;padding:16px 16px 18px;
  background:repeating-linear-gradient(90deg,rgba(255,255,255,.035) 0 52px,transparent 52px 104px),linear-gradient(160deg,var(--marine-2) 0%,var(--nuit) 100%)}
.vedette::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background:rgba(255,255,255,.07)}
.vedette .haut-v{display:flex;justify-content:space-between;gap:12px;position:relative;z-index:1}
.vedette .lbl{font-family:var(--titre);font-size:19px;font-weight:600;line-height:1.15}
.vedette .ctxv{color:#BFC9E2;font-size:14px;text-align:right}
.vedette .duo{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:8px;margin:14px 0 10px;position:relative;z-index:1}
.vedette .eqv{display:flex;flex-direction:column;align-items:center;gap:9px;text-align:center;font-family:var(--titre);text-transform:uppercase;font-size:19px;font-weight:600;line-height:1.1}
.vedette .eqv .ecu{width:86px;height:86px;font-size:26px;background-clip:padding-box;box-shadow:0 0 0 4px rgba(255,255,255,.9),0 6px 16px rgba(0,0,0,.35)}
.vedette .eqv .ecu img{background:#fff}
.vedette .h{font-family:var(--titre);font-size:42px;font-weight:700;line-height:1}
.vedette .h.sc{font-size:46px}
.vedette .quand{text-align:center;color:#D7DEEE;font-size:14.5px;text-transform:uppercase;letter-spacing:.02em;position:relative;z-index:1}
.vedette.ouverture{text-align:center}
.vedette.ouverture img{width:118px;margin:2px auto 6px;position:relative;z-index:1;filter:drop-shadow(0 8px 14px rgba(0,0,0,.4))}
.vedette.ouverture .t{font-family:var(--titre);text-transform:uppercase;font-size:22px;font-weight:700;position:relative;z-index:1}
.vedette.ouverture .s{color:#BFC9E2;font-size:14px;position:relative;z-index:1}
@media (max-width:380px){.vedette .eqv .ecu{width:70px;height:70px}.vedette .h{font-size:34px}.vedette .eqv{font-size:16px}}

/* onglets */
.onglets{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:14px}
.onglets button,.onglets a{border:1px solid var(--ligne);background:#fff;border-radius:99px;padding:7px 14px;font-weight:600;font-size:13.5px;cursor:pointer;color:var(--marine);text-decoration:none}
.onglets button[aria-selected=true],.onglets a.actif{background:var(--marine);color:#fff;border-color:var(--marine)}

/* tableaux */
.tableau{width:100%;border-collapse:collapse;font-size:14px}
.tableau th{font-family:var(--titre);font-weight:500;text-transform:uppercase;letter-spacing:.06em;font-size:12.5px;color:#fff;background:var(--marine);padding:9px 8px;text-align:center}
.tableau th:first-child{border-top-left-radius:10px}.tableau th:last-child{border-top-right-radius:10px}
.tableau td{padding:9px 8px;border-bottom:1px solid var(--ligne);text-align:center}
.tableau td.g,.tableau th.g{text-align:left}
.tableau tr:last-child td{border-bottom:0}
.tableau .pts{font-family:var(--titre);font-size:17px;font-weight:700;color:var(--marine)}
.tableau .rang{font-family:var(--titre);font-weight:600;width:34px}
.tableau tr.qualif td:first-child{box-shadow:inset 4px 0 0 var(--vert)}
.tableau tr.repeche td:first-child{box-shadow:inset 4px 0 0 var(--or)}
.tableau .eqc{display:flex;align-items:center;gap:9px;font-weight:600;text-decoration:none;color:inherit}
.tableau .eqc:hover span{text-decoration:underline}
.defile{overflow-x:auto;-webkit-overflow-scrolling:touch}
.legende{display:flex;gap:16px;flex-wrap:wrap;font-size:12.5px;color:var(--doux);margin-top:8px}
.legende i{display:inline-block;width:12px;height:12px;border-radius:3px;margin-right:5px;vertical-align:-2px}
.groupe-titre{font-family:var(--titre);text-transform:uppercase;font-size:19px;margin:0;padding:12px 14px;color:var(--marine);display:flex;justify-content:space-between;align-items:center}
.forme{display:inline-flex;gap:3px}
.forme i{width:18px;height:18px;border-radius:4px;font-style:normal;font-size:10.5px;font-weight:700;color:#fff;display:grid;place-items:center}
.forme .G{background:var(--vert)}.forme .N{background:#8A93AB}.forme .P{background:var(--rouge)}
@media (max-width:640px){.cache-m{display:none}}

/* classements individuels */
.liste-stat{list-style:none;margin:0;padding:0}
.liste-stat li{display:grid;grid-template-columns:30px 1fr auto;gap:10px;align-items:center;padding:10px 14px;border-bottom:1px solid var(--ligne)}
.liste-stat li:last-child{border-bottom:0}
.liste-stat .n{font-family:var(--titre);color:var(--doux);font-weight:600;text-align:center}
.liste-stat li:first-child .n{color:var(--orange)}
.liste-stat .qui b{display:block;font-weight:600;line-height:1.25}
.liste-stat .qui small{color:var(--doux);font-size:12.5px;display:flex;align-items:center;gap:6px}
.liste-stat .val{font-family:var(--titre);font-size:22px;font-weight:700;color:var(--marine)}
.carton{display:inline-block;width:11px;height:15px;border-radius:2px;vertical-align:-2px}
.carton.j{background:var(--jaune)}.carton.r{background:var(--rouge)}

/* tableau à élimination directe */
.arbre{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(220px,1fr);gap:18px;overflow-x:auto;padding-bottom:6px}
.arbre .tour h3{font-family:var(--titre);text-transform:uppercase;font-size:15px;letter-spacing:.08em;color:var(--doux);margin:0 0 8px;text-align:center}
.arbre .tour{display:flex;flex-direction:column}
.arbre .tour .liste{display:flex;flex-direction:column;justify-content:space-around;gap:12px;flex:1}
.duel{padding:8px 10px}
.duel .l{display:flex;align-items:center;gap:8px;padding:4px 0;font-weight:600;font-size:14px}
.duel .l>span:not(.ecu){flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.duel .l b{font-family:var(--titre);font-size:18px;color:var(--marine)}
.duel .l.perd{color:#8A93AB}
.duel .l.perd b{color:#8A93AB}
.duel small{display:block;color:var(--doux);font-size:11.5px;border-top:1px solid var(--ligne);margin-top:4px;padding-top:4px}

/* fiche match */
.feuille{background:linear-gradient(160deg,var(--marine),var(--nuit));color:#fff;border-radius:var(--r);padding:22px 18px;text-align:center}
.feuille .duo{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}
.feuille .eqv{display:flex;flex-direction:column;align-items:center;gap:8px;font-family:var(--titre);text-transform:uppercase;font-size:clamp(16px,2.6vw,22px);text-decoration:none;color:#fff}
.feuille .gros{font-family:var(--titre);font-size:clamp(44px,8vw,68px);font-weight:700;line-height:1}
.feuille .infos{color:#C9D3EA;font-size:13.5px;margin-top:12px}
.chrono{list-style:none;margin:0;padding:0}
.chrono li{display:grid;grid-template-columns:1fr 54px 1fr;align-items:center;padding:9px 12px;border-bottom:1px solid var(--ligne);font-size:14px}
.chrono li:last-child{border-bottom:0}
.chrono .mn{font-family:var(--titre);text-align:center;color:var(--doux);font-weight:600}
.chrono .gd{text-align:right}
.chrono .ev{display:inline-flex;align-items:center;gap:7px}
.ballon{display:inline-block;width:15px;height:15px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff 0 35%,#1b1b1b 36% 48%,#fff 49%);box-shadow:inset 0 0 0 1.5px #1b1b1b;vertical-align:-3px}

/* équipes */
.carte-eq{display:flex;flex-direction:column;align-items:center;gap:8px;padding:18px 12px;text-align:center;text-decoration:none;color:inherit;transition:transform .15s}
.carte-eq:hover{transform:translateY(-2px)}
.carte-eq b{font-family:var(--titre);text-transform:uppercase;font-size:17px;letter-spacing:.02em;line-height:1.15}
.carte-eq small{color:var(--doux)}
.effectif{list-style:none;margin:0;padding:0;columns:2;column-gap:20px}
.effectif li{break-inside:avoid;display:flex;gap:10px;align-items:center;padding:8px 4px;border-bottom:1px solid var(--ligne)}
.effectif .num{font-family:var(--titre);font-weight:700;color:#fff;background:var(--marine);border-radius:7px;min-width:30px;text-align:center;padding:2px 0}
.effectif small{color:var(--doux);margin-left:auto;font-size:12px}
@media (max-width:620px){.effectif{columns:1}}

/* communiqués */
.com{display:grid;grid-template-columns:200px 1fr;gap:0;overflow:hidden}
.com .vis{background:var(--marine)}
.com .vis img{width:100%;height:100%;object-fit:cover;min-height:150px}
.com .txt{padding:16px 18px}
.com .txt h3{font-family:var(--titre);text-transform:uppercase;font-size:20px;margin:6px 0 6px;line-height:1.15}
.com .txt p{margin:0;color:#384260;white-space:pre-line}
.com .txt details summary{cursor:pointer;color:var(--orange-f);font-weight:600;margin-top:8px}
.com.sans-vis{grid-template-columns:1fr}
@media (max-width:640px){.com{grid-template-columns:1fr}.com .vis img{min-height:0;aspect-ratio:16/9}}
.date{font-size:12.5px;color:var(--doux);text-transform:uppercase;letter-spacing:.06em}

/* galerie */
.mosaique{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.mosaique button{border:0;padding:0;background:#ccd;border-radius:10px;overflow:hidden;cursor:zoom-in;aspect-ratio:4/3;position:relative}
.mosaique img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.mosaique button:hover img{transform:scale(1.04)}
.mosaique .lg{position:absolute;left:0;right:0;bottom:0;padding:18px 9px 7px;font-size:12.5px;color:#fff;text-align:left;background:linear-gradient(transparent,rgba(6,18,48,.85))}
.mosaique .jouer{position:absolute;inset:0;display:grid;place-items:center}
.mosaique .jouer::after{content:"";width:54px;height:54px;border-radius:50%;background:rgba(245,130,0,.92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/26px no-repeat}
.visionneuse{position:fixed;inset:0;background:rgba(3,8,22,.94);z-index:90;display:none;align-items:center;justify-content:center;padding:20px;flex-direction:column;gap:10px}
.visionneuse.ouvert{display:flex}
.visionneuse img,.visionneuse iframe{max-width:min(1100px,100%);max-height:80vh;border-radius:8px}
.visionneuse iframe{width:min(1000px,100%);aspect-ratio:16/9;height:auto;border:0}
.visionneuse p{color:#fff;margin:0;text-align:center}
.visionneuse .fermer{position:absolute;top:12px;right:14px;background:none;border:0;color:#fff;font-size:34px;cursor:pointer;line-height:1}
.visionneuse .prec,.visionneuse .suiv{position:absolute;top:50%;transform:translateY(-50%);background:rgba(255,255,255,.12);border:0;color:#fff;font-size:28px;width:46px;height:46px;border-radius:50%;cursor:pointer}
.visionneuse .prec{left:12px}.visionneuse .suiv{right:12px}

/* partenaires */
.bande-part{display:flex;flex-wrap:wrap;gap:12px;justify-content:center}
.bande-part a,.bande-part div{display:grid;place-items:center;background:#fff;border:1px solid var(--ligne);border-radius:12px;width:150px;height:88px;padding:10px;text-decoration:none;color:var(--marine);font-weight:600;text-align:center;font-size:13px}
.bande-part img{max-height:66px;width:auto;object-fit:contain}
.niveau{font-family:var(--titre);text-transform:uppercase;letter-spacing:.12em;color:var(--doux);font-size:14px;text-align:center;margin:22px 0 10px}

/* règlement */
.prose{max-width:820px}
.prose h2{font-family:var(--titre);text-transform:uppercase;font-size:22px;margin:28px 0 8px;color:var(--marine)}
.prose h2 span{color:var(--orange)}
.prose p,.prose li{color:#2A3352}
.prose ul{padding-left:20px}
.prose li{margin:5px 0}
.note{background:#FFF6E6;border-left:4px solid var(--orange);padding:12px 14px;border-radius:8px;font-size:14px}

/* formulaires */
.champ{display:flex;flex-direction:column;gap:5px;margin-bottom:12px}
.champ label{font-weight:600;font-size:13.5px}
.champ input,.champ select,.champ textarea{border:1px solid #C9D1E0;border-radius:9px;padding:10px 12px;background:#fff;color:var(--texte);width:100%}
.champ textarea{min-height:120px;resize:vertical}
.msg{display:none;padding:10px 12px;border-radius:9px;font-size:14px;margin-top:10px}
.msg.ok{display:block;background:#E3F5EC;color:#0B6B3B}
.msg.err{display:block;background:#FDE7EA;color:#9B1426}
.contact-l{list-style:none;padding:0;margin:0}
.contact-l li{display:flex;gap:12px;align-items:flex-start;padding:12px 0;border-bottom:1px solid var(--ligne)}
.contact-l li:last-child{border-bottom:0}
.contact-l .ic{width:38px;height:38px;border-radius:10px;background:var(--marine);color:#fff;display:grid;place-items:center;flex-shrink:0}
.contact-l a{color:var(--marine);font-weight:600}

/* pied compact */
.pied{background:var(--nuit);color:#AFBBD8;margin-top:28px;font-size:13px;border-top:3px solid var(--orange)}
.pied .conteneur{display:flex;align-items:center;gap:12px;padding:16px 0;flex-wrap:wrap}
.pied img{height:42px;width:auto}
.pied .aj{background:#fff;border-radius:7px;padding:2px;height:38px}
.pied p{margin:0;flex:1;min-width:200px;line-height:1.45}
.pied a{color:#DCE3F3}
.pied .liens-pied{display:flex;gap:14px;flex-wrap:wrap;width:100%;border-top:1px solid rgba(255,255,255,.1);padding-top:10px}
.pied .liens-pied a{text-decoration:none}
.devise{font-style:italic;color:var(--or)}

/* filtres */
.filtres{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.filtres select{border:1px solid #C9D1E0;border-radius:9px;padding:8px 12px;background:#fff;font-weight:500}
.jour-titre{font-family:var(--titre);text-transform:uppercase;letter-spacing:.06em;font-size:15px;color:var(--doux);margin:20px 0 8px;display:flex;align-items:center;gap:10px}
.jour-titre::after{content:"";flex:1;height:1px;background:var(--ligne)}
.liste-matchs{display:grid;gap:10px}

/* à propos (accueil) */
.apropos{display:grid;grid-template-columns:96px minmax(0,1fr);gap:14px;align-items:center;padding:12px 14px}
.apropos img{width:96px}
.apropos h3{font-family:var(--titre);text-transform:uppercase;margin:0 0 3px;font-size:18px;color:var(--nuit)}
.apropos p{margin:0;font-size:13.5px;color:#3B4563;line-height:1.5}
.apropos .liens{display:flex;gap:14px;flex-wrap:wrap;margin-top:6px;font-size:13.5px;white-space:nowrap}
.apropos .liens a{color:var(--orange-f);font-weight:600;text-decoration:none}
/* liste compacte (communiqués de l'accueil) */
.liste-c{list-style:none;margin:0;padding:0}
.liste-c a{display:block;padding:10px 14px;border-bottom:1px solid var(--ligne);text-decoration:none;color:inherit}
.liste-c li:last-child a{border-bottom:0}
.liste-c b{display:block;font-weight:600;font-size:14.5px;line-height:1.3}
.liste-c small{color:var(--doux);font-size:12.5px}
@media (max-width:480px){.ecu.xl{width:68px;height:68px;font-size:22px}.feuille{padding:18px 12px}}
/* >>> mode-tel (généré par gen.py) */
html.tel .nav{display:none}
html.tel body{padding-bottom:calc(66px + env(safe-area-inset-bottom))}
html.tel .onglets-bas{display:grid;grid-template-columns:repeat(5,1fr);position:fixed;left:0;right:0;bottom:0;z-index:60;background:#fff;border-top:1px solid var(--ligne);box-shadow:0 -4px 18px rgba(6,18,48,.08);padding-bottom:env(safe-area-inset-bottom)}
html.tel .onglets-bas a,html.tel .onglets-bas button{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:64px;padding:6px 2px;background:none;border:0;cursor:pointer;text-decoration:none;color:var(--marine);font-family:var(--titre);font-weight:500;font-size:13px;letter-spacing:.02em;-webkit-tap-highlight-color:transparent}
html.tel .onglets-bas svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html.tel .onglets-bas [aria-current=page],html.tel .onglets-bas button.actif,html.tel .onglets-bas button[aria-expanded=true]{color:var(--orange-f)}
html.tel .onglets-bas [aria-current=page]::before,html.tel .onglets-bas button.actif::before{content:"";position:absolute;top:0;left:30%;right:30%;height:4px;border-radius:0 0 4px 4px;background:var(--orange)}
html.tel .onglets-bas [aria-current=page] svg{stroke-width:2.3}
html.tel .voile{display:block;position:fixed;inset:0;background:rgba(3,8,22,.45);z-index:58}
html.tel .voile[hidden]{display:none}
html.tel .feuille-plus{display:block;position:fixed;left:0;right:0;bottom:calc(64px + env(safe-area-inset-bottom));z-index:59;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -10px 30px rgba(6,18,48,.2);padding:8px 16px 10px;max-height:70vh;overflow-y:auto}
html.tel .feuille-plus[hidden]{display:none}
html.tel .feuille-plus .poignee{width:44px;height:5px;border-radius:3px;background:#C9D1E0;margin:2px auto 8px}
html.tel .feuille-plus ul{list-style:none;margin:0;padding:0}
html.tel .feuille-plus a{display:block;padding:12px 6px;border-bottom:1px solid var(--ligne);text-decoration:none;color:var(--marine)}
html.tel .feuille-plus li:last-child a{border-bottom:0}
html.tel .feuille-plus b{display:block;font-family:var(--titre);text-transform:uppercase;font-size:17px;letter-spacing:.03em;font-weight:600}
html.tel .feuille-plus small{color:var(--doux);font-size:13px}
html.tel .feuille-plus [aria-current=page] b{color:var(--orange-f)}
html.tel .pied{margin-top:24px}
html.tel .g3,html.tel .g4{grid-template-columns:repeat(2,minmax(0,1fr))}
html.tel .g2{grid-template-columns:1fr}
html.tel .cache-m{display:none}
html.tel .effectif{columns:1}
html.tel .com{grid-template-columns:1fr}
html.tel .com .vis img{min-height:0;aspect-ratio:16/9}
html.tel .ecu.xl{width:68px;height:68px;font-size:22px}
html.tel .feuille{padding:18px 12px}
/* <<< mode-tel */
