/* Compléments du site public : tuiles d'accueil, liste des clubs, fiches club, buteurs.
   Même palette que style.css (vert #009948, rouge #ef2a2f, jaune #fcd116, sable, bord).
   Aucun style en ligne n'est utilisé : la CSP n'autorise que style-src 'self'. */

/* --- Tuiles de l'accueil --------------------------------------------------- */
.section-tuiles { margin-top: 4px; }
.tuiles {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .tuiles { grid-template-columns: 1fr 1fr; }
}
.tuile {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--bord);
  border-left: 4px solid var(--vert);
  border-radius: 10px;
  padding: 16px 18px;
}
.tuile:hover { border-color: var(--ocre); border-left-color: var(--ocre); }
.tuile-buteurs { border-left-color: var(--rouge); }
.tuile-buteurs:hover { border-left-color: var(--jaune); }
.tuile-surtitre {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: var(--rouge-fonce);
  font-weight: 650;
}
.tuile-buteurs .tuile-surtitre { color: var(--rouge); }
.tuile strong { font-size: 17px; line-height: 1.3; }
.tuile-fleche {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--vert-fonce);
}
.tuile:hover .tuile-fleche { color: var(--rouge-fonce); }

/* --- Liste des clubs par région -------------------------------------------- */
.bloc-region { margin-top: 6px; }
.cartes-clubs a { justify-content: space-between; }
.cartes-clubs .meta { margin-left: auto; text-align: right; }

/* --- Fiche club ------------------------------------------------------------ */
.fiche-club { border-bottom: 3px solid var(--jaune); padding-bottom: 10px; margin-bottom: 8px; }
.fiche-club h1 { margin-bottom: 4px; }
.effectifs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}
.effectifs li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--bord);
  border-radius: 10px;
  padding: 9px 12px;
}
.etiquette-categorie {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--vert-fonce);
  background: #eaf4ee;
  border: 1px solid #cbe3d4;
  border-radius: 999px;
  padding: 1px 8px;
}
.nombre-effectif { font-size: 13.5px; color: var(--gris); font-variant-numeric: tabular-nums; }

/* --- Tableau des buteurs ---------------------------------------------------- */
.tableau-buteurs th.col-joueur,
.tableau-buteurs th.col-club,
.tableau-buteurs td.joueur,
.tableau-buteurs td.club { text-align: left; }
.tableau-buteurs td.buts { font-weight: 700; font-size: 15px; }
.tableau-buteurs td.joueur { min-width: 180px; }
.nom-buteur { font-weight: 600; }
.tableau-buteurs .etiquette-categorie { margin-left: 8px; }
@media (max-width: 520px) {
  .tableau-buteurs td.club,
  .tableau-buteurs th.col-club { display: none; }
  .tableau-buteurs td.joueur { min-width: 0; }
}
