/* Pages de classement des statistiques modernisées (refonte SEPQ-32), même esprit que l'accueil (home.css) :
   en-tête photo + fondu et logo (.cl-entete), citation en carte (.cl-citation), liste moderne (.cl-liste) à la place du tableau.
   Gabarits : templates/main/statistique/classement/_entete.html.twig et _liste.html.twig. Classes préfixées cl-. */

body {
  background: var(--fond-page, #f4f7fb);
}

/* --- En-tête : photo avec fondu bleu à gauche et logo blanc du club en filigrane, titre, trait, saison,
   étiquette d'épreuve. Bord bas droit (plus de vague) --- */
.cl-entete {
  background:
    linear-gradient(90deg, rgba(11, 42, 85, .96) 0%, rgba(20, 70, 135, .82) 30%, rgba(30, 95, 168, .35) 55%, rgba(30, 95, 168, 0) 75%),
    #0b2a55 var(--cl-image) center 28% / 100% no-repeat;
  color: #fff;
  overflow: hidden;
  padding: 150px 16px 48px;
  position: relative;
  text-align: left;
}
/* Logo blanc du club en filigrane en haut à gauche, coupé par les bords ; le bas du logo (texte, ballon) s'efface */
.cl-entete::before {
  background: url("../images/logoTransparent.webp") left top / contain no-repeat;
  content: "";
  height: 180px;
  left: -15px;
  opacity: .16;
  pointer-events: none;
  position: absolute;
  top: 50px;
  -webkit-mask-image: linear-gradient(#000 35%, transparent 70%);
  mask-image: linear-gradient(#000 35%, transparent 70%);
  aspect-ratio: 707 / 676;
  z-index: 1;
}
.cl-entete-contenu {
  margin: 0 auto;
  max-width: 1108px;
  position: relative;
  z-index: 2;
}
.cl-entete h1.cl-entete-titre {
  color: #fff;
  font-size: 48px;
  font-weight: 800;
  letter-spacing: .01em;
  line-height: 1.1;
  margin: 0;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
/* Petit trait blanc entre le titre et la saison */
.cl-entete-trait {
  background: linear-gradient(90deg, #fff 40%, rgba(255, 255, 255, 0));
  border-radius: 2px;
  display: block;
  height: 3px;
  margin: 12px 0 10px;
  width: 130px;
}
.cl-entete p.cl-entete-infos {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0;
}
.cl-entete-saison {
  font-size: 18px;
  font-style: italic;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .3);
}
.cl-entete-etiquette {
  background: var(--fond-carte, #fff);
  border-radius: 20px;
  color: var(--accent, #1e5fa8);
  font-size: 14px;
  font-weight: 700;
  padding: 4px 12px;
}

/* --- Bandeau compteur (à la place du graphique), sous l'en-tête --- */
.cl-bandeau-conteneur {
  margin: 22px auto 0;
  max-width: 1140px;
  padding: 0 16px;
  position: relative;
  z-index: 3;
}
.cl-bandeau {
  align-items: center;
  background: linear-gradient(90deg, #fff 0%, #fff 70%, #eef4fb 100%);
  border: 1px solid #e3eaf3;
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(11, 42, 85, .12);
  color: var(--texte, #0b2a55);
  display: flex;
  gap: 26px;
  overflow: hidden;
  padding: 18px 26px;
  position: relative;
}
.cl-bandeau-icone {
  color: var(--accent, #1e5fa8);
  font-size: 36px;
  padding-right: 26px;
  border-right: 1px solid #dfe6ef;
}
.cl-bandeau-total {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  padding-right: 26px;
  border-right: 1px solid #dfe6ef;
}
.cl-bandeau-total strong {
  font-size: 38px;
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}
/* Fin du compteur animé (script de _bandeau.html.twig) : léger rebond et reflet bleu */
.cl-bandeau-total strong.cl-compteur-fini {
  animation: cl-compteur-fin .45s ease-out;
  transform-origin: left center;
}
@keyframes cl-compteur-fin {
  40% { color: #1e5fa8; transform: scale(1.08); }
  100% { color: inherit; transform: none; }
}
.cl-bandeau-total span {
  color: var(--accent, #1e5fa8);
  font-size: 14px;
  font-weight: 600;
}
ul.cl-bandeau-parts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cl-bandeau-parts li {
  align-items: center;
  color: var(--texte-2, #334866);
  display: flex;
  font-size: 15px;
  gap: 8px;
}
.cl-bandeau-parts strong {
  color: var(--texte, #0b2a55);
  font-size: 17px;
  font-weight: 800;
}
.cl-bandeau-puce {
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
}
/* Icônes SVG maison du bandeau (ex. chaussure de foot) : à la taille et à la couleur des icônes Font Awesome */
svg.cl-icone-svg {
  display: inline-block;
  height: 1em;
  margin-bottom: 0 !important;
  vertical-align: -.125em;
  width: 1.25em;
}
/* Décor : ballon (ou crampon) avec traînée de vitesse */
.cl-bandeau-decor {
  color: var(--accent, #1e5fa8);
  font-size: 64px;
  margin-left: auto;
  position: relative;
  transform: rotate(-12deg);
}
.cl-bandeau-decor::before {
  background: repeating-linear-gradient(180deg, rgba(30, 95, 168, .45) 0 3px, transparent 3px 9px);
  border-radius: 3px;
  content: "";
  height: 30px;
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
}

/* --- Contenu de la page --- */
.cl-page {
  margin: 0 auto;
  max-width: 1140px;
  padding: 0 16px 40px;
}
.cl-page .filtres {
  margin-top: 6px;
}

/* Citation en carte repliable (<details>) : une ligne (début + auteur), puis au clic la même carte que l'accueil
   (.hm-citation, public/style/home.css) : guillemets à gauche, citation entière, auteur en bas à droite.
   À la largeur du bandeau « Filtres » */
.cl-citation {
  background: var(--fond-carte, #fff);
  border-left: 4px solid #1e5fa8;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(11, 42, 85, .08);
  color: var(--texte, #0b2a55);
  margin: 26px auto 20px;
  max-width: 700px;
  position: relative;
}
.cl-citation summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 12px;
  list-style: none;
  padding: 14px 18px 14px 54px;
  user-select: none;
}
.cl-citation summary::-webkit-details-marker {
  display: none;
}
.cl-citation summary:focus-visible {
  border-radius: 10px;
  outline: 2px solid #1e5fa8;
  outline-offset: -2px;
}
.cl-citation .fa-quote-left {
  color: #8fb3e0;
  font-size: 22px;
  left: 18px;
  position: absolute;
  top: 14px;
}
.cl-citation-apercu {
  flex: 1;
  font-size: 15px;
  font-style: italic;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cl-citation-auteur,
.cl-citation-signature {
  color: var(--texte-doux, #64748b);
  font-size: 13px;
  font-weight: 600;
}
.cl-citation-auteur {
  flex-shrink: 0;
}
.cl-citation-auteur::before,
.cl-citation-signature::before {
  content: "— ";
}
.cl-citation-chevron {
  color: var(--accent, #1e5fa8);
  flex-shrink: 0;
  font-size: 13px;
  transition: transform .25s ease;
}
/* Ouverte : la ligne repliée devient une zone cliquable sur toute la carte (un clic referme),
   seuls les guillemets et le chevron (en haut à droite) restent visibles */
.cl-citation[open] summary {
  inset: 0;
  padding: 0;
  position: absolute;
}
.cl-citation[open] .cl-citation-apercu,
.cl-citation[open] .cl-citation-auteur {
  display: none;
}
.cl-citation[open] .cl-citation-chevron {
  position: absolute;
  right: 16px;
  top: 18px;
  transform: rotate(180deg);
}
.cl-citation[open] .fa-quote-left {
  top: 16px;
}
.cl-citation blockquote {
  animation: cl-citation-ouverture .25s ease;
  border: 0;
  font-size: 15px;
  font-style: italic;
  line-height: 1.55;
  margin: 0;
  padding: 16px 40px 0 54px;
}
p.cl-citation-signature,
figcaption.cl-citation-signature {
  animation: cl-citation-ouverture .25s ease;
  margin: 0;
  padding: 6px 20px 14px;
  text-align: right;
}
@keyframes cl-citation-ouverture {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}
/* Carte toujours ouverte (ordinateur) : même rendu que la carte dépliée, sans animation */
figure.cl-citation .fa-quote-left {
  top: 16px;
}
figure.cl-citation blockquote,
figure.cl-citation .cl-citation-signature {
  animation: none;
}

/* Éléments propres à l'ordinateur ou au mobile (citation, icône du bandeau) */
@media (min-width: 768px) {
  .cl-mobile {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .cl-ordinateur {
    display: none !important;
  }
}

/* Message quand il n'y a rien à afficher */
.cl-page p.cl-vide {
  align-items: center;
  background: var(--fond-carte, #fff);
  border: 1px dashed var(--bordure-2, #cbd5e1);
  border-radius: 12px;
  color: var(--texte-doux, #64748b);
  display: flex;
  font-size: 15px;
  gap: 12px;
  justify-content: center;
  margin: 10px auto 20px;
  max-width: 700px;
  padding: 18px 20px;
  text-align: center;
}
.cl-vide i {
  color: #8fb3e0;
  font-size: 20px;
}

/* --- Liste du classement : une carte, une ligne par joueur --- */
.cl-liste {
  background: var(--fond-carte, #fff);
  border: 1px solid var(--bordure, #edf1f6);
  border-radius: 18px;
  box-shadow: 0 3px 12px var(--ombre-carte, rgba(11, 42, 85, .07));
  margin-top: 6px;
  overflow: hidden;
}
ol.cl-lignes {
  list-style: none;
  margin: 0;
  padding: 0;
}
.cl-ligne {
  align-items: center;
  border-bottom: 1px solid var(--bordure, #eef2f7);
  color: var(--texte, #0b2a55);
  display: flex;
  gap: 14px;
  padding: 12px 20px;
}
ol.cl-lignes li:last-child .cl-ligne {
  border-bottom: none;
}
a.cl-ligne,
a.cl-ligne:visited,
a.cl-ligne:focus {
  color: var(--texte, #0b2a55);
  text-decoration: none;
  transition: background-color .15s;
}
a.cl-ligne:hover {
  background: var(--fond-carte-2, #f6f9fd);
  color: var(--texte, #0b2a55);
  text-decoration: none;
}
a.cl-ligne:focus {
  outline: none;
}
a.cl-ligne:focus-visible {
  outline: 2px solid #9cc0e8;
  outline-offset: -2px;
}
/* Ligne d'en-tête des colonnes */
.cl-ligne--entete {
  background: var(--fond-carte-2, #f8fafd);
  color: var(--texte-doux, #64748b);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  padding-bottom: 10px;
  padding-top: 10px;
  text-transform: uppercase;
}
/* Podium : léger fond doré pour le(s) leader(s) */
a.cl-ligne--or {
  background: linear-gradient(90deg, #fff8e1 0%, #fff 60%);
}
/* Classement des cartons : fond jaune clair (rappel du carton) pour le(s) premier(s) */
a.cl-ligne--carton {
  background: linear-gradient(90deg, #fef3a0 0%, #fffbe0 35%, #fff 70%);
}
/* Classement des suspensions : fond rouge clair */
a.cl-ligne--carton-rouge {
  background: linear-gradient(90deg, #fecaca 0%, #fef2f2 35%, #fff 70%);
}
/* Classement porte-bonheur : fond vert clair (trèfle) */
a.cl-ligne--trefle {
  background: linear-gradient(90deg, #dcfce7 0%, #f0fdf4 35%, #fff 70%);
}
/* Joueurs à 0 : atténués */
.cl-ligne--nul .cl-col-joueur,
.cl-ligne--nul .cl-col-chiffre {
  opacity: .55;
}

/* Colonnes */
.cl-col-rang {
  display: flex;
  flex: 0 0 40px;
  justify-content: center;
}
.cl-col-joueur {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.cl-col-chiffre {
  flex: 0 0 64px;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.cl-ligne:not(.cl-ligne--entete) .cl-col-detail {
  color: #475569;
  font-size: 15px;
  font-weight: 600;
}
/* Matchs et ratio discrets (gris, plus petits) : la valeur du classement reste la seule mise en avant */
.cl-ligne:not(.cl-ligne--entete) .cl-col-match {
  color: var(--texte-doux, #64748b);
  font-size: 15px;
  font-weight: 500;
}
/* Valeur du classement (buts…) : pastille bleue */
.cl-ligne:not(.cl-ligne--entete) .cl-col-valeur {
  align-items: center;
  display: flex;
  justify-content: center;
}
.cl-valeur {
  background: #1e5fa8;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(30, 95, 168, .25);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
  min-width: 46px;
  padding: 9px 8px;
  text-align: center;
}
/* Joueurs à 0 : pastille claire */
.cl-ligne--nul .cl-valeur {
  background: var(--fond-accent, #e8eef7);
  box-shadow: none;
  color: var(--texte, #0b2a55);
}
.cl-ligne--entete .cl-col-valeur {
  color: var(--accent, #1e5fa8);
}

/* Position : rond, couronne dorée pour le 1er, anneaux argent et bronze */
.cl-rang {
  align-items: center;
  background: var(--fond-accent, #e8eef7);
  border-radius: 50%;
  color: var(--accent, #1e5fa8);
  display: flex;
  font-size: 15px;
  font-weight: 800;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.cl-rang--or {
  background: #fff3cd;
  box-shadow: 0 0 0 2px #e8b923;
  color: #c9970c;
}
/* Classement des cartons : carton jaune à la place de la couronne, sans rond */
.cl-rang--carton {
  background: none;
  box-shadow: none;
}
.cl-rang-carton {
  background: #facc15;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(161, 98, 7, .35);
  display: inline-block;
  height: 26px;
  transform: rotate(-10deg);
  width: 19px;
}
.cl-rang-carton--rouge {
  background: #dc2626;
  box-shadow: 0 2px 5px rgba(127, 29, 29, .35);
}
/* Classement porte-bonheur : trèfle vert à la place de la couronne */
.cl-rang--trefle {
  background: #dcfce7;
  box-shadow: 0 0 0 2px #16a34a;
  color: #16a34a;
}
/* Valeur en pourcentage (porte-bonheur) : colonne plus large, chiffre un peu plus petit */
.cl-col-valeur--pourcent {
  flex-basis: 76px;
}
.cl-col-valeur--pourcent .cl-valeur {
  font-size: 18px;
}
/* Note sous les filtres (ex. minimum de matchs du porte-bonheur) */
.cl-page p.cl-note {
  color: var(--texte-doux, #64748b);
  font-size: 13px;
  margin: -6px auto 12px;
  max-width: 700px;
  text-align: center;
}
.cl-rang--argent {
  box-shadow: 0 0 0 2px #c3cad4;
}
.cl-rang--bronze {
  box-shadow: 0 0 0 2px #d9ab80;
}

/* Joueur : nom, tag féminine, barre, poste */
.cl-nom {
  align-items: center;
  display: flex;
  gap: 8px;
  min-width: 0;
}
.cl-nom-texte {
  font-size: 16px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cl-nom-texte strong {
  font-weight: 800;
}
.cl-fem {
  background: #fde7ef;
  border-radius: 6px;
  color: #c0185b;
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
}
.cl-barre {
  background: var(--fond-accent, #e8eef7);
  border-radius: 4px;
  display: block;
  height: 5px;
  max-width: 320px;
  overflow: hidden;
}
.cl-barre span {
  background: #1e5fa8;
  border-radius: 4px;
  display: block;
  height: 100%;
}
.cl-barre--fem span {
  background: #c0185b;
}
/* Joueurs pas encore classés (porte-bonheur) : sablier, barre de progression vers le minimum de matchs, valeur discrète */
.cl-rang--attente {
  background: #f1f5f9;
  color: var(--texte-pale, #94a3b8);
  font-size: 13px;
}
.cl-barre--attente span {
  background: repeating-linear-gradient(135deg, #8fb3e0 0 6px, #b7cfee 6px 12px);
}
.cl-barre--fem.cl-barre--attente span {
  background: repeating-linear-gradient(135deg, #e48aae 0 6px, #f1b9cf 6px 12px);
}
.cl-ligne--attente .cl-valeur {
  background: var(--fond-accent, #e8eef7);
  box-shadow: none;
  color: var(--texte, #0b2a55);
}
/* Titre de la partie « Pas encore classés » */
.cl-page h2.cl-sous-titre {
  align-items: center;
  color: var(--texte, #0b2a55);
  display: flex;
  font-size: 17px;
  font-weight: 800;
  gap: 10px;
  margin: 28px 0 4px;
}
.cl-sous-titre i {
  color: #8fb3e0;
}
.cl-page p.cl-sous-titre-texte {
  color: var(--texte-doux, #64748b);
  font-size: 13px;
  margin: 0 0 8px;
}
.cl-sous {
  color: var(--texte-doux, #64748b);
  font-size: 13px;
}

/* --- Pages des équipes séniors (Groupe A…) : forme du moment, blocs (classement, présentation) --- */
/* Forme du moment, comme l'agenda de l'accueil : logo, titre, pastilles à la ligne, chevron ; toute la carte mène aux
   résultats (::after du titre), les pastilles restent cliquables au-dessus (détail du match) */
.cl-forme {
  align-items: center;
  background: var(--fond-carte, #fff);
  border: 1px solid var(--bordure, #edf1f6);
  border-radius: 14px;
  box-shadow: 0 3px 12px var(--ombre-carte, rgba(11, 42, 85, .07));
  color: var(--texte, #0b2a55);
  display: flex;
  gap: 16px;
  margin: 18px auto 0;
  max-width: 700px;
  padding: 14px 18px;
  position: relative;
  transition: background-color .15s;
}
.cl-forme:hover {
  background: var(--fond-carte-2, #f6f9fd);
}
.cl-forme-logo {
  border-radius: 12px;
  flex: 0 0 56px;
  height: 56px;
  width: 56px;
}
.cl-forme-corps {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}
.cl-forme-titre {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
}
a.cl-forme-lien,
a.cl-forme-lien:visited,
a.cl-forme-lien:hover,
a.cl-forme-lien:focus {
  color: var(--texte, #0b2a55);
  font-size: 17px;
  font-weight: 800;
  text-decoration: none;
}
a.cl-forme-lien::after {
  content: "";
  inset: 0;
  position: absolute;
}
.cl-forme-sous-titre {
  color: var(--texte-doux, #64748b);
  font-size: 13px;
}
.cl-forme-pastilles {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 1;
}
a.cl-forme-pastille,
a.cl-forme-pastille:visited,
a.cl-forme-pastille:hover,
a.cl-forme-pastille:focus {
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  height: 28px;
  line-height: 28px;
  text-align: center;
  text-decoration: none;
  width: 30px;
}
a.cl-forme-pastille:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
.cl-forme-pastille--v { background: #00a83f; }
.cl-forme-pastille--n { background: #f3a000; }
.cl-forme-pastille--d { background: #dc0000; }
.cl-forme-pastille--attente { background: #8f8686; }
.cl-forme-chevron {
  align-items: center;
  background: var(--fond-accent, #eef3fa);
  border-radius: 50%;
  color: var(--texte, #0b2a55);
  display: flex;
  flex: 0 0 38px;
  font-size: 14px;
  height: 38px;
  justify-content: center;
  width: 38px;
}
.cl-forme:hover .cl-forme-chevron {
  background: var(--fond-accent-2, #dce7f5);
  color: var(--accent, #1e5fa8);
}
/* Niveau de l'équipe à côté du titre de la carte (calendrier), comme les pastilles du menu */
.cl-forme-niveau {
  background: var(--fond-accent, #eef4fb);
  border-radius: 10px;
  color: var(--accent, #1e5fa8);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
}
/* Calendrier : cartes « Forme du moment » des équipes, 2 colonnes sur ordinateur */
.cl-formes {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  margin-top: 6px;
}
.cl-formes .cl-forme {
  margin: 0;
  max-width: none;
}
/* « N derniers matchs » toujours sous le titre, quelle que soit la longueur du niveau */
.cl-formes .cl-forme-sous-titre {
  flex-basis: 100%;
}
/* Calendrier : rencontres du week-end et calendrier complet côte à côte sur ordinateur */
.cl-colonnes {
  display: grid;
  gap: 0 22px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
}
/* Bloc blanc (classement de la poule, présentation) */
.cl-bloc {
  background: var(--fond-carte, #fff);
  border: 1px solid var(--bordure, #edf1f6);
  border-radius: 18px;
  box-shadow: 0 3px 12px var(--ombre-carte, rgba(11, 42, 85, .07));
  color: var(--texte, #0b2a55);
  margin-top: 22px;
  padding: 18px 20px 20px;
}
.cl-page h2.cl-bloc-titre {
  align-items: center;
  color: var(--texte, #0b2a55);
  display: flex;
  font-size: 18px;
  font-weight: 800;
  gap: 10px;
  margin: 0 0 14px;
}
.cl-bloc-titre i {
  color: #8fb3e0;
}
.cl-bloc .classement-scorenco {
  border-radius: 12px;
  overflow: hidden;
  /* Toute la largeur de la carte (mainCustom.css la limite à 80 % sur ordinateur) */
  width: 100%;
}
a.cl-bloc-lien,
a.cl-bloc-lien:visited {
  align-items: center;
  background: var(--fond-accent, #eef4fb);
  border-radius: 20px;
  color: var(--accent, #1e5fa8);
  display: flex;
  font-size: 14px;
  font-weight: 700;
  gap: 10px;
  justify-content: center;
  margin: 16px auto 0;
  max-width: 360px;
  padding: 9px 16px;
  text-decoration: none;
}
a.cl-bloc-lien:hover {
  background: var(--fond-accent-2, #dbe6f5);
  color: var(--accent, #1e5fa8);
  text-decoration: none;
}
a.cl-bloc-lien img {
  height: 22px;
  width: auto;
}
a.cl-bloc-lien i {
  font-size: 11px;
}
.cl-page p.cl-bloc-note {
  color: var(--texte-doux, #64748b);
  font-size: 13px;
  font-style: italic;
  margin: -6px 0 12px;
}
/* Note placée sous une image (ex. « Phase 2 » après la capture de la phase 1, séniors C et Féminines) : pas de marge
   négative, sinon le texte passe sous l'image */
.cl-page .cl-bloc-image + p.cl-bloc-note {
  margin-top: 20px;
}
.cl-bloc-image {
  border-radius: 10px;
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
}
/* Légende sous une image (la note, elle, est placée au-dessus de l'image avec une marge négative) */
.cl-page p.cl-bloc-legende {
  color: var(--texte-doux, #64748b);
  font-size: 14px;
  font-style: italic;
  margin: 14px 0 0;
  text-align: center;
}
.cl-bloc .cl-vide {
  margin: 0;
}
/* Présentation de l'équipe */
.cl-texte p {
  color: var(--texte-2, #334866);
  font-size: 15px;
  line-height: 1.65;
  margin: 0 0 12px;
}
.cl-page .cl-texte p.cl-texte-fin {
  color: var(--accent, #1e5fa8);
  font-weight: 800;
  margin: 4px 0 0;
}

/* --- Mot du président : lettre en carte, photo et nom à gauche (au-dessus sur mobile) --- */
.cl-lettre {
  background: var(--fond-carte, #fff);
  border: 1px solid var(--bordure, #edf1f6);
  border-radius: 18px;
  box-shadow: 0 3px 12px var(--ombre-carte, rgba(11, 42, 85, .07));
  color: var(--texte, #0b2a55);
  display: grid;
  gap: 36px;
  grid-template-columns: 200px 1fr;
  margin: 28px auto 0;
  max-width: 980px;
  padding: 34px 38px;
}
.cl-lettre-auteur {
  align-self: start;
  position: sticky;
  text-align: center;
  top: 90px;
}
.cl-lettre-photo {
  border: 4px solid #eef4fb;
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(11, 42, 85, .15);
  height: 160px;
  object-fit: cover;
  width: 160px;
}
.cl-page p.cl-lettre-nom {
  font-size: 18px;
  font-weight: 800;
  margin: 14px 0 2px;
}
.cl-page p.cl-lettre-role {
  color: var(--accent, #1e5fa8);
  font-size: 13px;
  font-weight: 600;
  margin: 0;
}
.cl-lettre-texte {
  border-left: 3px solid #eef4fb;
  padding-left: 32px;
  position: relative;
}
.cl-lettre-guillemets {
  color: #dce7f5;
  font-size: 34px;
  left: -19px;
  position: absolute;
  top: -6px;
  background: var(--fond-carte, #fff);
  padding: 4px 0;
}
.cl-page .cl-lettre-texte p {
  color: var(--texte-2, #334866);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.cl-page .cl-lettre-texte p.cl-lettre-salutation {
  color: var(--texte, #0b2a55);
  font-weight: 700;
}
.cl-page .cl-lettre-texte p.cl-lettre-fin {
  color: var(--accent, #1e5fa8);
  font-weight: 800;
  margin-top: 20px;
}
.cl-page .cl-lettre-texte p.cl-lettre-signature {
  color: var(--texte, #0b2a55);
  font-family: "Brush Script MT", "Segoe Script", cursive;
  font-size: 28px;
  margin: 6px 0 0;
  text-align: right;
}

/* --- Organigramme : bureau (cartes avec initiales), commissions (responsable mis en avant, membres en pastilles) --- */
.cl-orga-bureau {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 6px;
}
/* Arbitres : 2 cartes centrées */
.cl-orga-bureau--arbitres {
  grid-template-columns: repeat(2, minmax(0, 240px));
  justify-content: center;
}
.cl-orga-personne {
  align-items: center;
  background: var(--fond-carte, #fff);
  border: 1px solid var(--bordure, #edf1f6);
  border-radius: 16px;
  box-shadow: 0 3px 12px var(--ombre-carte, rgba(11, 42, 85, .07));
  color: var(--texte, #0b2a55);
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 12px 18px;
  text-align: center;
}
.cl-orga-initiales {
  align-items: center;
  background: linear-gradient(135deg, #1e5fa8, #0b2a55);
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 22px;
  font-weight: 800;
  height: 64px;
  justify-content: center;
  letter-spacing: 1px;
  margin-bottom: 6px;
  width: 64px;
}
.cl-orga-photo {
  object-fit: cover;
}
.cl-orga-personne--president {
  border-color: var(--bordure-2, #dce7f5);
  background: linear-gradient(180deg, #f3f8fe, #fff);
}
.cl-orga-personne--president .cl-orga-initiales {
  box-shadow: 0 0 0 4px #dce7f5;
}
.cl-orga-fonction {
  color: var(--accent, #1e5fa8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.cl-orga-fonction i {
  margin-right: 6px;
}
.cl-orga-nom {
  font-size: 16px;
}
.cl-orga-commissions {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  margin-top: 6px;
}
.cl-orga-commission {
  background: var(--fond-carte, #fff);
  border: 1px solid var(--bordure, #edf1f6);
  border-radius: 16px;
  box-shadow: 0 3px 12px var(--ombre-carte, rgba(11, 42, 85, .07));
  color: var(--texte, #0b2a55);
  padding: 18px 18px 16px;
}
.cl-page h3.cl-orga-commission-titre {
  align-items: center;
  display: flex;
  font-size: 17px;
  font-weight: 800;
  gap: 10px;
  margin: 0 0 14px;
}
.cl-orga-commission-icone {
  align-items: center;
  background: var(--fond-accent, #eef4fb);
  border-radius: 10px;
  color: var(--accent, #1e5fa8);
  display: flex;
  flex: 0 0 36px;
  font-size: 15px;
  height: 36px;
  justify-content: center;
}
.cl-page p.cl-orga-responsable {
  background: var(--fond-carte-2, #f6f9fd);
  border-left: 3px solid #1e5fa8;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  padding: 7px 12px;
}
.cl-orga-responsable span {
  color: var(--texte-doux, #64748b);
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.cl-page p.cl-orga-groupe {
  color: var(--texte-doux, #64748b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .4px;
  margin: 12px 0 6px;
  text-transform: uppercase;
}
.cl-orga-membres {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.cl-orga-membres li {
  background: var(--fond-accent, #eef4fb);
  border-radius: 14px;
  color: var(--texte, #0b2a55);
  font-size: 13px;
  padding: 4px 11px;
}

/* --- Nous situer : terrains en cartes, carte Google Maps --- */
.cl-terrains {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  margin-top: 6px;
}
.cl-terrain {
  align-items: flex-start;
  background: var(--fond-carte, #fff);
  border: 1px solid var(--bordure, #edf1f6);
  border-radius: 16px;
  box-shadow: 0 3px 12px var(--ombre-carte, rgba(11, 42, 85, .07));
  color: var(--texte, #0b2a55);
  display: flex;
  gap: 14px;
  padding: 18px;
}
.cl-terrain .cl-orga-commission-icone {
  width: 36px;
}
.cl-terrain-corps {
  flex: 1 1 auto;
  min-width: 0;
}
.cl-page h3.cl-terrain-nom {
  font-size: 18px;
  font-weight: 800;
  margin: 4px 0 2px;
}
.cl-page p.cl-terrain-role {
  color: var(--accent, #1e5fa8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .4px;
  margin: 0 0 10px;
  text-transform: uppercase;
}
.cl-page p.cl-terrain-adresse {
  color: var(--texte-2, #334866);
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 14px;
}
.cl-terrain-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cl-terrain-actions a.cl-bloc-lien {
  gap: 0;
  margin: 0;
  padding: 7px 14px;
}
.cl-terrain-actions i {
  margin-right: 6px;
}
.cl-terrain-voir {
  align-items: center;
  background: var(--fond-carte, #fff);
  border: 1px solid var(--bordure-2, #dce7f5);
  border-radius: 20px;
  color: var(--accent, #1e5fa8);
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 14px;
}
/* Survol, clic et focus : bleu clair (le style global des boutons met du jaune) */
.cl-terrain-voir:hover,
.cl-terrain-voir:focus,
.cl-terrain-voir:active {
  background: var(--fond-accent, #eef4fb);
  border-color: var(--bordure-2, #dce7f5);
  box-shadow: none;
  color: var(--accent, #1e5fa8);
  outline: none;
}
.cl-terrain-voir:focus-visible {
  outline: 2px solid #1e5fa8;
  outline-offset: 2px;
}
.cl-carte {
  border-radius: 12px;
  height: 460px;
  overflow: hidden;
  width: 100%;
}

/* --- Boutique : présentation avec bouton, articles en cartes cliquables --- */
.cl-boutique-intro {
  align-items: center;
  background: linear-gradient(135deg, #fff 60%, #eef4fb);
  border: 1px solid var(--bordure, #edf1f6);
  border-radius: 18px;
  box-shadow: 0 3px 12px var(--ombre-carte, rgba(11, 42, 85, .07));
  color: var(--texte, #0b2a55);
  display: grid;
  gap: 20px;
  grid-template-columns: auto 1fr auto;
  margin-top: 26px;
  padding: 24px 28px;
}
.cl-boutique-icone {
  align-items: center;
  background: linear-gradient(135deg, #1e5fa8, #0b2a55);
  border-radius: 16px;
  color: #fff;
  display: flex;
  font-size: 26px;
  height: 60px;
  justify-content: center;
  width: 60px;
}
.cl-page h2.cl-boutique-titre {
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
}
.cl-boutique-intro p {
  color: var(--texte-2, #334866);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.cl-page .cl-boutique-intro p.cl-boutique-partenaire {
  color: var(--accent, #1e5fa8);
  font-size: 13px;
  font-weight: 700;
  margin-top: 8px;
}
.cl-boutique-partenaire i {
  margin-right: 6px;
}
a.cl-boutique-bouton,
a.cl-boutique-bouton:visited {
  align-items: center;
  background: #1e5fa8;
  border-radius: 24px;
  box-shadow: 0 4px 12px rgba(30, 95, 168, .3);
  color: #fff;
  display: inline-flex;
  font-size: 15px;
  font-weight: 700;
  gap: 10px;
  padding: 12px 22px;
  text-decoration: none;
  white-space: nowrap;
}
a.cl-boutique-bouton:hover,
a.cl-boutique-bouton:focus {
  background: #0b2a55;
  color: #fff;
  text-decoration: none;
}
.cl-boutique-articles {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  margin-top: 6px;
}
a.cl-boutique-article,
a.cl-boutique-article:visited {
  background: var(--fond-carte, #fff);
  border: 1px solid var(--bordure, #edf1f6);
  border-radius: 16px;
  box-shadow: 0 3px 12px var(--ombre-carte, rgba(11, 42, 85, .07));
  color: var(--texte, #0b2a55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow .2s, transform .2s;
}
a.cl-boutique-article:hover,
a.cl-boutique-article:focus {
  box-shadow: 0 8px 22px rgba(11, 42, 85, .14);
  color: var(--texte, #0b2a55);
  text-decoration: none;
  transform: translateY(-2px);
}
.cl-boutique-article img {
  background: var(--fond-carte-2, #f6f9fd);
  display: block;
  height: auto;
  width: 100%;
}
.cl-boutique-article-libelle {
  align-items: center;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  justify-content: space-between;
  padding: 14px 18px;
}
.cl-boutique-article-libelle i {
  color: var(--accent, #1e5fa8);
  font-size: 13px;
}

/* --- Accès bureau (maquette) : page pleine hauteur, fond photo bleuté, logo, titre souligné bleu + blanc,
   formulaire en carte blanche, signature et vague en bas --- */
.cl-acces {
  background:
    linear-gradient(180deg, rgba(11, 42, 85, .82) 0%, rgba(20, 70, 140, .78) 55%, rgba(11, 42, 85, .92) 100%),
    var(--cl-image) center / cover no-repeat;
  color: #fff;
  min-height: 100vh;
  overflow: hidden;
  padding: 110px 16px 150px;
  position: relative;
}
.cl-acces-contenu {
  align-items: center;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  max-width: 460px;
  position: relative;
  z-index: 1;
}
.cl-acces-logo {
  border: 3px solid rgba(143, 179, 224, .8);
  border-radius: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
  height: 104px;
  width: 104px;
}
h1.cl-acces-titre {
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 2px;
  margin: 22px 0 10px;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
  text-transform: uppercase;
}
/* Trait sous le titre : moitié bleue, moitié blanche */
.cl-acces-trait {
  background: linear-gradient(90deg, #1e5fa8 0 50%, #fff 50% 100%);
  border-radius: 3px;
  display: block;
  height: 5px;
  margin-bottom: 30px;
  width: 140px;
}
.cl-connexion {
  background: var(--fond-carte, #fff);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .25);
  color: var(--texte, #0b2a55);
  padding: 26px 24px 24px;
  width: 100%;
}
/* Libellés lus par les lecteurs d'écran, remplacés à l'écran par les textes indicatifs des champs */
.cl-connexion-label {
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}
p.cl-connexion-erreur {
  align-items: center;
  background: #fdecec;
  border: 1px solid #f6c5c5;
  border-radius: 12px;
  color: #b42318;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  margin: 0 0 16px;
  padding: 10px 12px;
}
.cl-connexion-champ {
  align-items: center;
  background: #f3f6fb;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  padding: 0 8px 0 18px;
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.cl-connexion-champ:focus-within {
  background: var(--fond-carte, #fff);
  border-color: #1e5fa8;
  box-shadow: 0 0 0 3px rgba(30, 95, 168, .15);
}
.cl-connexion-champ > i {
  color: var(--texte, #0b2a55);
  font-size: 20px;
  width: 22px;
}
.cl-connexion-champ input {
  background: transparent;
  border: 0;
  color: var(--texte, #0b2a55);
  flex: 1 1 auto;
  font-size: 17px;
  min-width: 0;
  outline: none;
  padding: 16px 0;
}
.cl-connexion-champ input::placeholder {
  color: #8a97ab;
}
/* Champs rendus par les formulaires Symfony (thème Bootstrap 5 : .form-control / .form-select) */
.cl-connexion-champ .form-control,
.cl-connexion-champ .form-select {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  color: var(--texte, #0b2a55);
  flex: 1 1 auto;
  font-size: 17px;
  height: auto;
  min-width: 0;
  outline: none;
  padding: 16px 0;
}
.cl-connexion-champ .form-select {
  background-position: right 6px center;
  cursor: pointer;
  padding-right: 30px;
}
.cl-connexion-champ--erreur {
  border-color: #f0a3a3;
}
p.cl-connexion-champ-erreur {
  color: #b42318;
  font-size: 13px;
  font-weight: 600;
  margin: -8px 0 12px 6px;
}
p.cl-connexion-info {
  align-items: flex-start;
  background: var(--fond-accent, #eef4fb);
  border-radius: 12px;
  color: var(--accent, #1e5fa8);
  display: flex;
  font-size: 14px;
  gap: 10px;
  line-height: 1.45;
  margin: 0 0 18px;
  padding: 10px 12px;
}
p.cl-connexion-info i {
  margin-top: 3px;
}
.cl-connexion-bouton--inscription {
  margin-top: 8px;
}
.cl-connexion-voir,
.cl-connexion-voir:hover,
.cl-connexion-voir:focus,
.cl-connexion-voir:active {
  background: transparent;
  border: 0;
  border-radius: 10px;
  color: var(--accent, #1e5fa8);
  cursor: pointer;
  font-size: 19px;
  padding: 8px 10px;
}
.cl-connexion-voir:hover {
  background: #e6eef9;
}
.cl-connexion-souvenir {
  align-items: center;
  color: var(--texte, #0b2a55);
  cursor: pointer;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  font-weight: 600;
  gap: 10px;
  margin: 14px 0 25px;
}
.cl-connexion-souvenir input {
  accent-color: #0b4a9a;
  height: 15px;
  margin: 0 0 0 1px;
  width: 15px;
}
.cl-connexion-souvenir span {
  color: #7d8aa0;
  font-size: 14px;
  font-style: italic;
}
.cl-connexion-bouton,
.cl-connexion-bouton:hover,
.cl-connexion-bouton:focus,
.cl-connexion-bouton:active {
  align-items: center;
  background: linear-gradient(90deg, #0b2a6b, #1557b0);
  border: 0;
  border-radius: 30px;
  box-shadow: 0 6px 16px rgba(11, 42, 107, .35);
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 16px;
  font-weight: 800;
  gap: 12px;
  justify-content: center;
  letter-spacing: 1.5px;
  padding: 15px;
  text-transform: uppercase;
  width: 100%;
}
.cl-connexion-bouton:hover,
.cl-connexion-bouton:focus {
  background: linear-gradient(90deg, #08204f, #0f4a99);
}
.cl-connexion-bouton i {
  font-size: 20px;
}
/* Signature : trait, ballon, trait puis « SEPQ QUÉDILLAC » espacé */
p.cl-acces-signature {
  align-items: center;
  color: rgba(255, 255, 255, .85);
  display: grid;
  gap: 12px 18px;
  grid-template-columns: 1fr auto 1fr;
  margin: 46px 0 0;
  width: 100%;
}
p.cl-acces-signature::before,
p.cl-acces-signature::after {
  background: rgba(255, 255, 255, .45);
  content: "";
  height: 1px;
}
p.cl-acces-signature::before {
  grid-column: 1;
  grid-row: 1;
}
p.cl-acces-signature::after {
  grid-column: 3;
  grid-row: 1;
}
p.cl-acces-signature i {
  font-size: 26px;
  grid-column: 2;
  grid-row: 1;
}
p.cl-acces-signature span {
  font-size: 18px;
  grid-column: 1 / -1;
  grid-row: 2;
  letter-spacing: 8px;
  text-align: center;
  text-transform: uppercase;
}
.cl-acces-vague {
  bottom: 0;
  height: 110px;
  left: 0;
  position: absolute;
  width: 100%;
}

/* --- Mobile --- */
@media (max-width: 767px) {
  .cl-acces {
    padding: 100px 14px 130px;
  }
  h1.cl-acces-titre {
    font-size: 30px;
  }
  .cl-connexion {
    padding: 22px 16px 16px;
  }
  .cl-acces-vague {
    height: 80px;
  }
  .cl-boutique-intro {
    grid-template-columns: auto 1fr;
    padding: 20px 18px;
  }
  .cl-boutique-icone {
    font-size: 20px;
    height: 46px;
    width: 46px;
  }
  a.cl-boutique-bouton,
  a.cl-boutique-bouton:visited {
    grid-column: 1 / -1;
    justify-content: center;
  }
  .cl-carte {
    height: 340px;
  }
  .cl-orga-bureau {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .cl-orga-personne {
    padding: 16px 8px 14px;
  }
  .cl-orga-initiales {
    font-size: 18px;
    height: 52px;
    width: 52px;
  }
  .cl-orga-nom {
    font-size: 14px;
  }
  .cl-lettre {
    gap: 22px;
    grid-template-columns: 1fr;
    margin-top: 20px;
    padding: 24px 18px;
  }
  .cl-lettre-auteur {
    position: static;
  }
  .cl-lettre-photo {
    height: 130px;
    width: 130px;
  }
  .cl-lettre-texte {
    border-left: 0;
    border-top: 3px solid #eef4fb;
    padding: 22px 0 0;
  }
  .cl-lettre-guillemets {
    left: 50%;
    top: -22px;
    transform: translateX(-50%);
    padding: 0 10px;
  }
  .cl-page .cl-lettre-texte p {
    font-size: 15px;
  }
  .cl-entete {
    padding: 90px 16px 30px;
  }
  /* Fondu plus large : le texte occupe une plus grande part de l'écran */
  .cl-entete {
  background: linear-gradient(90deg, rgba(11, 42, 85, .95) 10%, rgba(20, 70, 135, .8) 30%, rgba(30, 95, 168, .25) 50%, rgba(30, 95, 168, 0) 90%), #0b2a55 var(--cl-image-mobile) -200% / 105% no-repeat;
    /*background:*/
    /*        linear-gradient(90deg, rgba(11, 42, 85, .95) 10%, rgba(20, 70, 135, .8) 30%, rgba(30, 95, 168, .25) 50%, rgba(30, 95, 168, 0) 90%),*/
    /*        #0b2a55 var(--cl-image-mobile) -50% 25% / 128% 150%;*/
    margin-top: 50px;
  }
  .cl-entete::before {
    height: 165px;
    left: -22px;
    top: -10px;
  }
  .cl-entete h1.cl-entete-titre {
    font-size: 29px;
  }
  .cl-entete-trait {
    margin: 10px 0 8px;
    width: 110px;
  }
  .cl-entete-saison {
    font-size: 14px;
  }
  .cl-entete-etiquette {
    font-size: 12px;
    padding: 3px 10px;
  }
  .cl-bandeau-conteneur {
    /*margin-top: 16px;*/
    margin-top: -8px;
    padding: 0 12px;
  }
  .cl-bandeau {
    gap: 12px;
    padding: 14px;
  }
  .cl-bandeau-icone {
    font-size: 26px;
    padding-right: 12px;
  }
  /* Séparateur porté par la répartition : rien après le total quand une épreuve est filtrée */
  .cl-bandeau-total {
    border-right: none;
    padding-right: 0;
  }
  .cl-bandeau-total strong {
    font-size: 32px;
  }
  /* Répartition dans la continuité à droite (à la place du ballon), une ligne par épreuve */
  ul.cl-bandeau-parts {
    flex-direction: column;
    flex-wrap: nowrap;
    border-left: 1px solid #dfe6ef;
    gap: 4px;
    margin-left: auto;
    padding-left: 12px;
  }
  .cl-bandeau-parts li {
    font-size: 12px;
    gap: 6px;
    white-space: nowrap;
  }
  .cl-bandeau-parts strong {
    font-size: 15px;
    margin-left: auto;
    padding-left: 6px;
  }
  .cl-bandeau-decor {
    display: none;
  }
  .cl-page {
    padding: 0 12px 30px;
  }
  .cl-bloc {
    padding: 14px 12px 16px;
  }
  .cl-page h2.cl-bloc-titre {
    font-size: 16px;
  }
  .cl-forme {
    gap: 12px;
    padding: 10px 12px;
  }
  .cl-forme-logo {
    flex-basis: 48px;
    height: 48px;
    width: 48px;
  }
  a.cl-forme-lien,
  a.cl-forme-lien:visited,
  a.cl-forme-lien:hover,
  a.cl-forme-lien:focus {
    font-size: 16px;
  }
  .cl-forme-pastilles {
    gap: 5px;
  }
  a.cl-forme-pastille,
  a.cl-forme-pastille:visited,
  a.cl-forme-pastille:hover,
  a.cl-forme-pastille:focus {
    font-size: 13px;
    height: 26px;
    line-height: 26px;
    width: 26px;
  }
  .cl-forme-chevron {
    flex-basis: 32px;
    height: 32px;
    width: 32px;
  }
  .cl-citation {
    margin: 18px 0 14px;
  }
  .cl-citation summary {
    gap: 10px;
    padding: 12px 14px 12px 46px;
  }
  .cl-citation .fa-quote-left {
    font-size: 18px;
    left: 14px;
  }
  .cl-citation-apercu {
    font-size: 14px;
  }
  .cl-citation-auteur {
    font-size: 12px;
  }
  .cl-citation[open] .cl-citation-chevron {
    right: 12px;
    top: 16px;
  }
  .cl-citation blockquote {
    font-size: 14px;
    padding: 14px 32px 0 46px;
  }
  p.cl-citation-signature {
    padding: 6px 14px 12px;
  }
  /* Championnat / coupe masqués ; matchs et ratio restent en colonnes */
  .cl-col-detail {
    display: none;
  }
  .cl-ligne--entete {
    font-size: 10px;
    letter-spacing: .03em;
  }
  .cl-ligne:not(.cl-ligne--entete) .cl-col-match {
    font-size: 13px;
  }
  .cl-ligne {
    gap: 8px;
    padding: 11px 12px;
  }
  .cl-col-rang {
    flex-basis: 32px;
  }
  .cl-rang {
    font-size: 13px;
    height: 26px;
    width: 26px;
  }
  .cl-nom-texte {
    font-size: 15px;
  }
  .cl-col-chiffre {
    flex-basis: 42px;
  }
  /* Ratio et « 100 % » : colonne un peu plus large, la barre du joueur se raccourcit d'autant */
  .cl-col-ratio {
    flex-basis: 56px;
    white-space: nowrap;
  }
  .cl-col-valeur {
    flex-basis: 48px;
  }
  .cl-valeur {
    font-size: 18px;
    min-width: 40px;
    padding: 8px 6px;
  }
  .cl-col-valeur--pourcent {
    flex-basis: 58px;
  }
  .cl-col-valeur--pourcent .cl-valeur {
    font-size: 15px;
    padding: 8px 5px;
  }
}

/* ===== Thème sombre (SEPQ-36) : pages de classement, club (mot du président, organigramme, arbitres, nous situer),
   boutique. Couleurs récurrentes déjà en variables ; ici les dégradés et teintes propres à ces pages. ===== */
/* Bandeau compteur */
[data-theme="dark"] .cl-bandeau {
  background: linear-gradient(90deg, var(--fond-carte) 0%, var(--fond-carte) 70%, var(--fond-accent) 100%);
  border-color: var(--bordure);
}
[data-theme="dark"] .cl-bandeau-icone,
[data-theme="dark"] .cl-bandeau-total {
  border-right-color: var(--bordure);
}
/* Lignes du podium : teinte légère sur fond sombre */
[data-theme="dark"] a.cl-ligne--or {
  background: linear-gradient(90deg, rgba(232, 185, 35, .16) 0%, transparent 60%);
}
[data-theme="dark"] a.cl-ligne--carton {
  background: linear-gradient(90deg, rgba(250, 204, 21, .22) 0%, rgba(250, 204, 21, .06) 35%, transparent 70%);
}
[data-theme="dark"] a.cl-ligne--carton-rouge {
  background: linear-gradient(90deg, rgba(220, 38, 38, .25) 0%, rgba(220, 38, 38, .07) 35%, transparent 70%);
}
[data-theme="dark"] a.cl-ligne--trefle {
  background: linear-gradient(90deg, rgba(22, 163, 74, .22) 0%, rgba(22, 163, 74, .06) 35%, transparent 70%);
}
[data-theme="dark"] .cl-rang--or {
  background: rgba(232, 185, 35, .18);
  color: #f5c842;
}
[data-theme="dark"] .cl-rang--trefle {
  background: rgba(22, 163, 74, .18);
  color: #4ade80;
}
[data-theme="dark"] .cl-rang--attente {
  background: var(--fond-accent);
}
[data-theme="dark"] .cl-fem {
  background: rgba(192, 24, 91, .2);
  color: #f472b6;
}
[data-theme="dark"] .cl-barre span {
  background: var(--accent);
}
[data-theme="dark"] .cl-barre--fem span {
  background: #e0458a;
}
/* Mot du président */
[data-theme="dark"] .cl-lettre-photo {
  border-color: var(--fond-accent);
}
[data-theme="dark"] .cl-lettre-texte {
  border-left-color: var(--fond-accent);
}
[data-theme="dark"] .cl-lettre-guillemets {
  background: var(--fond-carte);
  color: var(--fond-accent-2);
}
[data-theme="dark"] .cl-page .cl-lettre-texte p.cl-lettre-signature,
[data-theme="dark"] .cl-page .cl-lettre-texte p.cl-lettre-salutation {
  color: var(--texte);
}
/* Organigramme : carte du président */
[data-theme="dark"] .cl-orga-personne--president {
  background: linear-gradient(180deg, var(--fond-accent), var(--fond-carte));
  border-color: var(--bordure-2);
}
[data-theme="dark"] .cl-orga-personne--president .cl-orga-initiales {
  box-shadow: 0 0 0 4px var(--fond-accent-2);
}
/* Boutique */
[data-theme="dark"] .cl-boutique-intro {
  background: linear-gradient(135deg, var(--fond-carte) 60%, var(--fond-accent));
}
[data-theme="dark"] .cl-boutique-article img {
  background: #fff;
}
@media (max-width: 767px) {
  [data-theme="dark"] .cl-lettre-texte {
    border-top-color: var(--fond-accent);
  }
  [data-theme="dark"] ul.cl-bandeau-parts {
    border-left-color: var(--bordure);
  }
}
/* Nous situer : la bulle de Google Maps reste blanche (contenu Google) : texte foncé, comme en clair */
[data-theme="dark"] .gm-style .info_content,
[data-theme="dark"] .gm-style .info_content h4,
[data-theme="dark"] .gm-style .info_content p {
  color: #0b2a55;
}
[data-theme="dark"] .gm-style .info_content a {
  color: #1e5fa8;
}
/* Bouton « Voir la poule sur le site de la FFF » (pages séniors) : texte blanc en sombre */
[data-theme="dark"] a.cl-bloc-lien,
[data-theme="dark"] a.cl-bloc-lien:visited,
[data-theme="dark"] a.cl-bloc-lien:hover,
[data-theme="dark"] a.cl-bloc-lien:focus {
  color: #fff;
}
/* Accès Bureau et inscription : carte du formulaire bleu nuit, champs sombres */
[data-theme="dark"] .cl-connexion {
  box-shadow: 0 14px 40px rgba(0, 0, 0, .45);
}
[data-theme="dark"] .cl-connexion-champ {
  background: var(--fond-carte-2);
  border-color: var(--bordure-2);
}
[data-theme="dark"] .cl-connexion-champ:focus-within {
  background: var(--fond-accent);
  border-color: var(--accent);
}
[data-theme="dark"] .cl-connexion-champ > i,
[data-theme="dark"] .cl-connexion-voir {
  color: #7db8f0;
}
[data-theme="dark"] .cl-connexion-champ input::placeholder {
  color: var(--texte-pale);
}
[data-theme="dark"] .cl-connexion-voir:hover {
  background: var(--fond-accent-2);
}
[data-theme="dark"] .cl-connexion-souvenir {
  color: var(--texte-2);
}
[data-theme="dark"] .cl-connexion-bouton,
[data-theme="dark"] .cl-connexion-bouton:hover,
[data-theme="dark"] .cl-connexion-bouton:focus {
  background: linear-gradient(90deg, #1e5fa8, #2a74c4);
}
[data-theme="dark"] p.cl-connexion-erreur,
[data-theme="dark"] p.cl-connexion-champ-erreur {
  background: rgba(220, 38, 38, .18);
  border-color: rgba(220, 38, 38, .4);
  color: #fca5a5;
}
[data-theme="dark"] p.cl-connexion-info {
  color: #7db8f0;
}
/* Page Accès Bureau : fond un peu plus sombre */
[data-theme="dark"] .cl-acces {
  background:
    linear-gradient(180deg, rgba(7, 26, 51, .92) 0%, rgba(11, 42, 85, .88) 55%, rgba(7, 26, 51, .96) 100%),
    var(--cl-image) center / cover no-repeat;
}
[data-theme="dark"] .cl-acces-vague path:first-child {
  fill: #071a33;
}
/* Champs préremplis par le navigateur (email, mot de passe enregistrés) : Chrome ajoute son propre fond bleu clair.
   On le remplace par le fond du champ, en clair comme en sombre. */
.cl-connexion-champ input:-webkit-autofill,
.cl-connexion-champ input:-webkit-autofill:hover,
.cl-connexion-champ input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px var(--fond-carte-2, #f3f6fb) inset;
  -webkit-text-fill-color: var(--texte, #0b2a55);
  caret-color: var(--texte, #0b2a55);
  transition: background-color 9999s ease-out 0s;
}
.cl-connexion-champ:focus-within input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--fond-carte, #fff) inset;
}
[data-theme="dark"] .cl-connexion-champ:focus-within input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px var(--fond-accent) inset;
}
