/* Base */
*{
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f5f7fa;
  color: #0A2A43;
}
img {
  max-width: 100%;
  display: block;
}

/* Header */
header {
  background: #0A2A43;
  color: white;
  padding: 10px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
header .logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}
header .logo-area img {
  height: 40px;
}
header .logo-area span {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
}
header nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
header nav a:hover {
  color: #3FA9F5;
}
header nav .don {
  background: #3FA9F5;
  padding: 8px 16px;
  border-radius: 6px;
}
header nav .don:hover {
  background: white;
  color: #0A2A43;
}

/* Sections */
section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}
h1, h2 {
  font-family: 'Poppins', sans-serif;
}
h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 25px;
}
p {
  line-height: 1.6;
}

/* Hero */
#hero {
  background: url('images/hero.jpg') center/cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
}
#hero h1 {
  font-size: 2.6rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.4);
}
.btn, .btn-hero {
  display: inline-block;
  background: #3FA9F5;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.btn-hero {
  margin-top: 20px;
}
.btn:hover, .btn-hero:hover {
  background: #0A2A43;
}

/* Grilles */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  align-items: center;
}

/* Images */
.img-round {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.gallery img {
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  transition: transform 0.3s;
}
.gallery img:hover {
  transform: scale(1.05);
}

/* Carte */
#map {
  height: 600px;
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Footer */
footer {
  background: #0A2A43;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* Section Actions */
.actions-container {
    padding: 60px 20px;
    text-align: center;
}

.actions-container h2 {
    font-size: 2.2rem;
    color: #0A2A43;
    margin-bottom: 10px;
}

.actions-intro {
    color: #444;
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.city-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform .3s;
    background: #fff;
}

.city-card:hover {
    transform: scale(1.03);
}

.city-card img {
    width: 100%;
    height: 220px; /* hauteur vignette */
    object-fit: cover;
    display: block;
}

.city-name {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 12px;
    background: rgba(0,0,0,0.55);
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    text-align: center;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.hidden {
    display: none;
}

.lightbox img {
    max-height: 80vh;
    max-width: 90vw;
    object-fit: contain;
}

.close-btn {
    position: absolute;
    top: 20px; right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.nav-btn {
    position: absolute;
    top: 50%;
    font-size: 50px;
    color: white;
    cursor: pointer;
    padding: 10px;
}

#prevBtn { left: 40px; }
#nextBtn { right: 40px; }



/* 🔥 Hero plus compact */
#hero {
    height: 55vh; /* au lieu de 70vh */
    padding: 20px;
}

#hero h1 {
    font-size: 2.3rem; /* légèrement réduit */
    margin-bottom: 15px;
}

/* 🔥 Titres plus serrés */
h2 {
    margin-bottom: 15px; /* au lieu de 25px */
}

/* 🔥 Paragraphes d’intro plus courts */
section p {
    margin-bottom: 20px; /* au lieu de 30–40px */
}

/* 🔥 Grilles plus compactes */
.grid-2 {
    gap: 20px; /* au lieu de 30px */
}

.gallery {
    gap: 15px; /* au lieu de 20px */
}

/* 🔥 Images plus harmonieuses */
.img-round {
    border-radius: 10px;
}

/* 🔥 Footer plus fin */
footer {
    padding: 15px;
    margin-top: 20px;
    font-size: 0.85rem;
}
/* PAGE ÉQUIPE */
.team-page {
    padding: 80px 40px;
    text-align: center;
}

.team-page h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.team-page .intro {
    max-width: 700px;
    margin: auto;
    color: #555;
}

.team-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.member {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: 0.3s;
}

.member:hover {
    transform: translateY(-5px);
}

.member img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.member h3 {
    margin: 10px 0 5px;
    font-size: 22px;
}

.member .role {
    font-weight: 600;
    color: #1A73E8;
    margin-bottom: 10px;
}

.member .bio {
    font-size: 14px;
    color: #555;
}

/* Cacher le bouton sur desktop */
.menu-toggle {
  display: none;
}

/* Responsive */

@media (max-width: 600px) {
    
    header {
    height: 270px;          /* réduit la hauteur */
    padding: 0 15px;       /* enlève le padding vertical */
    display: flex;
    align-items: center;
    transition: all 0.3s ease-in-out;
  }
  .logo-area {
    display: flex;
    align-items: center;
    gap: 8px; /* petit espace entre logo et texte */
  }

  .logo-area img {
    width: 40px;   /* logo réduit */
    height: auto;
    transition: all 0.3s ease-in-out;
  }

  .logo-area span {
    font-size: 1.2rem; /* texte réduit */
    font-weight: 600;
    transition: all 0.3s ease-in-out;
  }

  /* Si tu utilises un header shrink au scroll */
  header.shrink .logo-area img {
    width: 30px;
  }

  header.shrink .logo-area span {
    font-size: 1rem;
  }
     body, p, h1, h2, h3, h4, h5, h6, nav a {
    color: #0A1A2A; /* bleu très foncé, lisible */
     }

  .actions-grid {
    grid-template-columns: 1fr;
  }

  .city-card img {
    height: 180px;
  }

  .city-name {
    font-size: 1rem;
    padding: 10px;
  }

  .nav-btn {
    font-size: 40px;
  }

  .close-btn {
    font-size: 32px;
    top: 15px;
    right: 20px;
  }

  /* --- MENU BURGER --- */

  .menu-toggle {
    display: block;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    margin: 10px;
    z-index: 1001;
      color: #3FA9F5; /* icône burger bleue pour cohérence */
  }

   nav {
    background: #e6edf3; /* gris bleuté doux */
  }

  nav a {
    color: #0A2A43 !important; 
    font-weight: 600;
    padding: 12px;
    border-bottom: 1px solid #d0d8e0;
    display: block;
    margin-left: 0;
  }

  nav a.don {
    background: #3FA9F5;
    color: white;
    border-radius: 6px;
    margin-top: 5px;
  }

  
  nav a:last-child {
    border-bottom: none;
  }

  nav.open {
    display: flex;                 /* affiché quand on clique */
  }
}