.header-logo {
  width: 100%;
  padding: 30px 0;
  background: linear-gradient(90deg, #1a4fa3, #3fa0ff);
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Menu horizontal */
.menu {
  list-style: none;
  display: flex;
  gap: 40px;
  background: #333;
  padding: 15px;
}

.menu > li {
  position: relative;
  color: white;
  cursor: pointer;
}

/* Sous-menu caché par défaut */
.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #444;
  padding: 10px 0;
  display: none;
  min-width: 150px;
}

.submenu li {
  padding: 8px 15px;
  color: white;
  white-space: nowrap;
}

.submenu li:hover {
  background: #555;
}

/* Affichage au survol */
.menu > li:hover .submenu {
  display: block;
}
/* Enlever le style par défaut des liens */
a {
  color: inherit;        /* prend la couleur du parent */
  text-decoration: none; /* enlève le soulignement */
}

/* Optionnel : changer le curseur pour montrer que c'est cliquable */
a:hover {
  cursor: pointer;
}

/* Pour ton menu : couleur blanche + style propre */
.menu > li,
.menu a {
  color: white;
  font-weight: 500;
}

/* Pour éviter que les <a> dans le menu cassent l’alignement */
.menu > a {
  padding: 0 20px;
  color: white;
}
.encadrement {
  background: white;              /* fond blanc */
  padding: 25px 35px;             /* espace intérieur */
  border-radius: 12px;            /* coins arrondis */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* ombre douce */
  max-width: 900px;               /* largeur max */
  margin: 40px auto;              /* centré horizontalement */
  line-height: 1.6;               /* lisibilité */
}
.encadrement-img {
  background: rgb(189, 199, 223);              /* fond blanc */
  padding: 25px 35px;             /* espace intérieur */
  border-radius: 0px;            /* coins arrondis */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* ombre douce */
  max-width: 90px;               /* largeur max */
  margin: 40px auto;              /* centré horizontalement */
  line-height: 1.6;               /* lisibilité */
}
footer {
  background: #2a2f36;                 /* bleu foncé */
  background: linear-gradient(90deg, #2a2f36, #cdcfd0);
  color: white;
  padding: 25px 0;
  text-align: center;
  margin-top: 50px;
  font-size: 16px;
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

footer a:hover {
  text-decoration: underline;
}

footer .footer-content {
  max-width: 900px;
  margin: auto;
  line-height: 1.6;
}

footer .footer-links {
  margin-top: 10px;
}

footer .footer-links a {
  margin: 0 15px;
}
table {
  width: 100%;
  border-collapse: collapse;
  margin: 30px 0;
  background: white;
  border-radius: 10px;
  overflow: hidden; /* arrondis visibles */
  font-size: 18px;
}

/* En-tête */
table thead {
  background: linear-gradient(90deg, #1a4fa3, #3fa0ff);
  color: white;
}

table th {
  padding: 15px;
  text-align: center;
  font-weight: 600;
}

/* Corps du tableau */
table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #ddd;
}

/* Lignes alternées */
table tbody tr:nth-child(even) {
  background: #f5f5f5;
}

/* Dernière ligne sans bord */
table tbody tr:last-child td {
  border-bottom: none;
}

/* Effet hover */
table tbody tr:hover {
  background: #e8f1ff;
}
.image-centree {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.image-centree img {
  max-width: 100%;
  height: auto;
  border-radius: 10px; /* optionnel */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* optionnel */
}
.bloc-photo {
  max-width: 900px;          /* largeur max du bloc */
  margin: 40px auto;         /* centré horizontalement */
  text-align: center;        /* centre l’image et le texte */
}

.bloc-photo img {
  max-width: 2 00px;           /* image responsive */
  height: auto;
  border-radius: 10px;       /* coins arrondis */
  box-shadow: 0 4px 15px rgba(0,0,0,0.15); /* ombre douce */
  margin-bottom: 15px;
}

.bloc-photo p {
  font-size: 20px;
  font-weight: 600;
  color: #000000;            /* bleu du club */
  margin: 0;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  padding: 20px;
}

.pagination button {
  padding: 8px 16px;
  background-color: #333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.pagination button:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.85);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
  animation: fadeIn 0.3s ease;
}

.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.close:hover {
  color: #bbb;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.lightbox-prev,
.lightbox-next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 16px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  user-select: none;
  transition: 0.2s;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: #bbb;
}