/* ========== RESET ET STYLE GÉNÉRAL ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body, html {
  margin: 0; padding: 0;
  height: 100vh;       /* Hauteur viewport */
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  color: #333;
  line-height: 1.4;
  overflow-y: hidden;  /* Empêche scroll vertical par défaut */
}

/* ========== NAVBAR FIXE ========== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: #333;
  color: #fff;
  padding: 8px 16px;  /* Plus compact */
  display: flex;
  justify-content: center;
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 12px;
  margin: 0; padding: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a:focus {
  color: #00bfff;
  outline: none;
}

/* ========== CONTENU PRINCIPAL ========== */
.main-content {
  max-width: 700px;
  margin: 50px auto 10px; /* 50px pour laisser place à navbar */
  padding: 10px 16px;
  height: calc(100vh - 50px - 40px); /* hauteur visible - navbar - footer */
  overflow-y: auto; /* scroll interne si besoin */
  box-sizing: border-box;
}

/* ========== TITRES ========== */
h1 {
  font-size: 1.6rem;
  margin-bottom: 0.25rem;
  text-align: center;
}

h2 {
  font-size: 1.25rem;
  margin: 0.8rem 0 0.4rem;
  text-align: center;
  color: #2980b9;
}

h3 {
  font-size: 1rem;
  margin: 0.6rem 0 0.3rem;
  text-align: center;
  color: #202a45;
}

/* ========== PARAGRAPHES ========== */
p {
  color: #e2610f;
  font-style: italic;
  margin: 0.4rem 0 0.8rem;
  text-align: center;
}

/* ========== LISTES ========== */
ul {
  padding-left: 1.2rem;
  margin: 0 0 1rem 0;
}

li {
  margin-bottom: 0.3rem;
  font-weight: 500;
  color: #333;
}

/* ========== ALERTE ========== */
.alerte {
  background-color: #ffdddd;
  color: #a70000;
  border: 2px solid #a70000;
  padding: 10px 12px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
  max-width: 500px;
  margin: 10px auto 15px;
  font-size: 1rem;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

/* ========== LOGO ========== */
.logo-img {
  display: block;
  max-width: 120px;
  height: auto;
  margin: 8px auto 15px;
  user-select: none;
}

/* ========== FOOTER ========== */
.footer {
  height: 40px;
  line-height: 40px;
  text-align: center;
  background-color: #f0f0f0;
  color: #333;
  font-size: 0.85rem;
  border-top: 1px solid #ddd;
  user-select: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0 10px;
}

.footer a {
  color: #0077cc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover,
.footer a:focus {
  color: #004c99;
  text-decoration: underline;
  outline: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 480px) {
  .navbar {
    padding: 6px 10px;
  }
  .nav-links {
    gap: 8px;
  }
  .nav-links li a {
    font-size: 0.85rem;
  }
  .main-content {
    max-width: 95%;
    margin: 45px auto 10px;
    padding: 8px 12px;
  }
  h1 {
    font-size: 1.4rem;
  }
  h2 {
    font-size: 1.1rem;
  }
  h3 {
    font-size: 0.95rem;
  }
  .alerte {
    max-width: 90%;
    padding: 8px 10px;
    font-size: 0.9rem;
  }
  .logo-img {
    max-width: 100px;
    margin-bottom: 10px;
  }
  .footer {
    font-size: 0.8rem;
    height: 35px;
    line-height: 35px;
    padding: 0 6px;
  }
}
.membres-liste {
  list-style-type: none; /* enlève les puces */
  padding: 0;
  text-align: center;
}

.membres-liste li {
  margin-bottom: 5px; /* espace entre les noms */
}
