/* --- FORMULAIRE MEMBRES --- */

.encadrement {
  background: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  max-width: 600px;
  margin: 40px auto;
  font-size: 18px;
  line-height: 1.6;
}

.encadrement p {
  font-size: 22px;
  font-weight: 600;
  color: #1a4fa3;
  margin-bottom: 20px;
}

.encadrement legend {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.encadrement label {
  display: block;
  margin-top: 15px;
  font-weight: 500;
}

.encadrement input[type="text"],
.encadrement input[type="password"] {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.encadrement input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 8px;
}

.button_div {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.button {
  background: linear-gradient(90deg, #1a4fa3, #3fa0ff);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: 0.2s;
}

.button:hover {
  opacity: 0.85;
}

/* Message d’erreur */
.error-message {
  margin-top: 15px;
  color: #d10000;
  font-weight: 600;
  display: none;
}
.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é */
}
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: 100%;           /* 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: #1a4fa3;            /* bleu du club */
  margin: 0;
}