/* ========= RESET GLOBAL ========= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #1f1f1f;
  background-color: #fff;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

ul {
  list-style: none;
}

  /* ========= NAVBAR ========= */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1f1f1f;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
  .navbar .logo img {
    height: 50px;
    margin-left: 30px;
  }
  
  .nav-links {
    display: flex;
    gap: 1.5rem;
    margin-right: 15px;
  }
  
  .nav-links li a {
    color: #fff;
    font-weight: 500;
    position: relative;
  }
  
  .nav-links li a:hover,
  .nav-links li a.active {
    color: #52a167;
  }
  
  .burger {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
  }

/* ===== HISTOIRE (améliorée) ===== */
.a-histoire {
  padding: 5rem 2rem;
  background-color: #ffffff;
}

.histoire-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  max-width: 1100px;
  margin: auto;
}

.histoire-text {
  flex: 1 1 500px;
}

.histoire-text h2 {
  font-size: 2.2rem;
  color: #222;
  margin-bottom: 1rem;
}

.histoire-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1rem;
}

.histoire-img {
  flex: 1 1 100px;
}

.histoire-img img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

/* ===== VALEURS ===== */
/* ===== VALEURS FONDAMENTALES (compacte, 3 sur une ligne) ===== */
.a-valeurs {
  padding: 5rem 2rem;
  background-color: #eef3f7;
  text-align: center;
}

.a-valeurs h2 {
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: #1f1f1f;
}

.valeurs-frise {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: nowrap;
}

.valeur-etape {
  flex: 1 1 30%;
  max-width: 30%;
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  border-top: 5px solid #52a167;
  transition: transform 0.3s ease, box-shadow 0.3s;
}

.valeur-etape:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 18px rgba(0,0,0,0.1);
}

.etape-num {
  background-color: #52a167;
  color: #fff;
  font-size: 1rem;
  width: 36px;
  height: 36px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.etape-texte h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.etape-texte p {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.4;
}

/* Responsive — empilement dès 900px */
@media (max-width: 900px) {
  .valeurs-frise {
    flex-direction: column;
    align-items: center;
  }

  .valeur-etape {
    max-width: 90%;
  }
}

/* ======================= */
/* ===== CHIFFRES ======== */
/* ======================= */
.a-chiffres {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fdfdfd;
  margin-bottom: 1rem;
}

.a-chiffres h2 {
  font-size: 2.2rem;
  color: #1f1f1f;
  margin-bottom: 2rem;
}

.chiffres-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.chiffre {
  text-align: center;
  animation: fadeInUp 1s ease;
}

.chiffre span {
  font-size: 3rem;
  font-weight: bold;
  color: #52a167;
  display: block;
}

.chiffre p {
  font-size: 1rem;
  color: #333;
}

/* ======================= */
/* ===== ANIMATIONS ====== */
/* ======================= */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ======= FOOTER ======= */
/* ========= FOOTER ========= */
footer {
  background-color: #121212;
  color: #aaa;
  padding: 2rem;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-content .socials img {
  height: 24px;
  margin: 0 10px;
  transition: transform 0.3s;
}

.footer-content .socials img:hover {
  transform: scale(1.1);
}

.footer-content a {
  color: #52a167;
  font-weight: 500;
  font-size: 0.9rem;
}

.footer-links {
  margin: 1rem 0;
  font-size: 0.95rem;
  color: #aaa;
}

.footer-links a {
  color: #aaa;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #52a167;
}

.white-icon {
  filter: brightness(0) invert(1); /* Force les icônes SVG en blanc */
}

/* ======================= */
/* ===== RESPONSIVE ====== */
/* ======================= */
@media screen and (max-width: 768px) {
  .equipe-grid,
  .engagements-list,
  .chiffres-grid {
    flex-direction: column;
    align-items: center;
  }

  .equipe-card,
  .engagement {
    width: 90%;
  }

  .a-histoire p {
    padding: 0 1rem;
  }
}
  @media screen and (max-width: 768px) {
    .nav-links {
      display: none;
      flex-direction: column;
      background-color: #1f1f1f;
      position: absolute;
      top: 70px;
      right: 20px;
      width: 200px;
      border: 1px solid #444;
      padding: 1rem;
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .burger {
      display: block;
    }
  }