/* --- Réinitialisation des marges globales --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #d0f0c0;
}

/* --- Bandeau principal --- */
.bandeau {
    width: 100%;
    background-size: cover;
}

/* --- Navbar --- */
.navbar {
    display: flex;
    align-items: center;
    background-color: #8B4513;
    padding: 10px 20px;
    border-radius: 15px;
    margin: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar img {
    height: 40px;
    cursor: pointer;
}

.navbar .links {
    margin-left: auto;
    display: flex;
    gap: 15px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #FFD700;
}

/* --- Section principale --- */
.about-container {
    text-align: center;
    padding: 20px;
}

.about-container h1 {
    font-size: 24px;
    color: #4B5320;
}

.about-container hr {
    width: 80%;
    margin: 10px auto;
    border: none;
    border-top: 2px solid #4B5320;
}

/* --- Sections À propos --- */
.about-section {
    margin: 20px auto;
    width: 80%;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #4B5320;
    text-align: left;
    line-height: 1.5;
}

/* --- Liste de la mission --- */
.about-section ul {
    padding-left: 20px;
}

.about-section ul li {
    margin-bottom: 10px;
}

/* --- Équipe --- */
.team {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.team-member p {
    margin-top: 10px;
    font-size: 14px;
    font-weight: bold;
}

/* --- Footer --- */
.footer {
    text-align: center;
    background-color: #8B4513;
    color: white;
    padding: 10px;
    font-size: 12px;
}

/* --- Responsivité --- */
@media (max-width: 600px) {
    .about-section {
        width: 90%;
        font-size: 14px;
    }

    .team-member img {
        width: 80px;
        height: 80px;
    }
}
.photo-wrapper {
    position: relative;
    display: inline-block;
}

.photo-cover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: gray;
    opacity: 0.95;
    transition: opacity 0.3s;
    cursor: pointer;
    border-radius: 50%; /* pour s’adapter à la photo ronde */
}
/* --- Modal --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.hidden {
  display: none;
}

.modal-content {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 0 10px #000;
}

.close-button {
  float: right;
  font-size: 20px;
  cursor: pointer;
}