:root {
  --gris-header: #F2F2F2;
  --noir-texte: #231F20;
  --vert-actif: #78BE20;
  --orange-logo: #AF6D04;
  --gris-fond: #696158;
  --blanc: #FFFFFF;
  --marron-clair: #4f4e4c;
  --vert-principal: #78BE20;
  --orange-accent: #AF6D04;
  --gris-texte: #231F20;
}




/* 🔝 HEADER */
header {
  background-color: var(--gris-header);
  color: var(--noir-texte);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo img {
  height: 50px;
}

/* MENU PRINCIPAL */
nav ul.menu {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
  white-space: nowrap; /* empêche le retour à la ligne */
}

nav ul.menu > li {
  position: relative;
}

nav ul.menu > li > a {
  color: var(--marron-clair);
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  display: block;
  transition: color 0.3s ease;
}

nav ul.menu > li > a:hover {
  color: var(--vert-actif);
}



nav ul.menu > li:not(:has(ul.submenu)) > a::after {
  content: none;
}

/* SOUS-MENUS - DESKTOP */
nav ul.menu li ul.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  background-color: white;
  min-width: 220px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

nav ul.menu li:hover > ul.submenu {
  display: block;
}

nav ul.submenu li {
  position: relative;
}

nav ul.submenu li a {
  color: var(--marron-clair);
  text-decoration: none;
  padding: 10px 20px;
  display: block;
  transition: background-color 0.3s, color 0.3s;
}

nav ul.submenu li a:hover {
  background-color: var(--vert-actif);
  color: var(--blanc);
}

/* Sous-sous-menus */
nav ul.submenu li ul.submenu {
  position: absolute;
  top: 0;
  left: 100%;
  display: none;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

nav ul.submenu li:hover > ul.submenu {
  display: block;
}

/* Flèches sous-sous-menus */
nav ul.submenu li:has(ul.submenu) > a::after {
  content: " ▶";
  font-size: 11px;
  float: right;
}

/* 📱 BURGER MENU */
.burger {
  display: none;
  font-size: 2rem;
  color: var(--marron-clair);
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 15px;
}

/* 🔁 RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .burger {
    display: block;
  }

  nav {
    display: none;
    background-color: var(--gris-header);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: all 0.3s ease;
  }

  nav.active {
    display: block;
  }

  nav ul.menu {
    flex-direction: column;
    padding: 10px 0;
    gap: 0;
  }

  nav ul.menu li {
    width: 100%;
  }

  nav ul.menu li a {
    padding: 12px 20px;
    display: block;
    width: 100%;
  }

  nav ul.menu li > a:after,
  nav ul.submenu li > a:after {
    content: "";
  }

  nav ul.menu li ul.submenu {
    position: static;
    box-shadow: none;
    display: none;
    background-color: transparent;
    padding-left: 20px;
  }

  nav ul.menu li.open > ul.submenu {
    display: block;
  }

  nav ul.submenu li ul.submenu {
    position: static;
    box-shadow: none;
    display: none;
    padding-left: 20px;
  }

  nav ul.submenu li.open > ul.submenu {
    display: block;
  }
}
/* 🎯 SECTION HERO */
/* SECTION HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: none;
  object-fit: cover; /* Par défaut desktop */
  top: 0;
  left: 0;
}

.slide.active {
  display: block;
  animation: fade 1s ease-in-out;
}

@keyframes fade {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* ✅ En version mobile : on montre toute l’image */
@media (max-width: 768px) {
  .hero-slider {
    height: auto; /* Hauteur auto pour s’adapter */
  }

  .slide {
    position: relative; /* plus besoin d’absolu */
    height: auto;
    max-height: 400px; /* limite pour ne pas prendre tout l’écran */
    object-fit: contain; /* montrer l’intégralité */
  }
}



.services-section {
  background-color: #e9d8a6; /* couleur beige clair comme sur l’image */
  padding: 40px ;
   margin-top: 0;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  justify-content: center;
}

.service-card {
  background-color: white;
  padding: 20px;
  width: 300px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

.service-card h3 {
  font-family: 'Georgia', serif; /* police avec empattement comme sur la photo */
  font-weight: bold;
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  color: #231F20; /* texte noir foncé */
}

.service-card p {
  flex-grow: 1;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  color: #4a4a4a;
  margin-bottom: 20px;
  line-height: 1.4;
}

.btn-green {
  background-color: #3cb043; /* vert vif */
  color: white;
  text-decoration: none;
  padding: 8px 14px;
  font-weight: bold;
  font-size: 0.9rem;
  border-radius: 3px;
  width: fit-content;
  transition: background-color 0.3s;
  text-transform: lowercase;
}

.btn-green:hover {
  background-color: #2b7a2b;
}

/* Responsive : pour petits écrans */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    align-items: center;
  }
  
  .service-card {
    width: 90%;
    min-height: auto;
  }
}
.stats-section {
  background: #00B159 url('../img/bg-pattern.png'); /* à personnaliser */
  background-size: cover;
  background-position: center;
  padding: 60px 20px;
  color: white;
  text-align: center;
}

.stats-container h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 40px;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat-block {
  position: relative;
  padding: 0 20px;
}

.stat-block:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 0;
  width: 1px;
  height: 80%;
  background-color: rgba(255, 255, 255, 0.5);
}

.stat-number {
  font-size: 1.8rem;
  font-weight: bold;
}

.stat-label {
  font-size: 0.9rem;
  font-family: 'Arial', sans-serif;
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 600px) {
  .stats-grid {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }

  .stat-block::after {
    display: none;
  }
}

  /* STYLES COMPLETS AVEC IMAGES */
  .-section {
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  color: #333;
  background-color: #fff;
}

.actualites-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}


/* Grid des actualités */
.actualites-section {
      padding: 40px 20px;
      background-color: #fff;
    }

    .actualité-container {
      max-width: 1000px;
      margin: 0 auto;
    }

    .section-title {
      text-align: center;
      font-size: 32px;
      color: #2E8B57;
      margin-bottom: 40px;
    }

    .actu-grid {
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .actu-item {
      background-color: #fff;
      border-radius: 8px;
      box-shadow: 0 3px 10px rgba(0,0,0,0.1);
      overflow: hidden;
      width: 100%;
      max-width: 450px;
      display: flex;
      flex-direction: column;
    }

    .actu-image-container {
      height: 220px;
      overflow: hidden;
    }

    .actu-image {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .actu-item:hover .actu-image {
      transform: scale(1.05);
    }

    .actu-content {
      padding: 20px;
    }

    .actu-title {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 10px;
      color: #2E8B57;
    }

    .actu-date {
      font-size: 16px;
      color: #555;
      margin: 0;
    }

    .see-all-link {
      display: block;
      margin-top: 30px;
      text-align: center;
      color: #2E8B57;
      font-weight: bold;
      text-decoration: none;
      font-size: 16px;
    }

    .see-all-link:hover {
      text-decoration: underline;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .actu-grid {
        flex-direction: column;
        align-items: center;
      }

      .actu-image-container {
        height: 180px;
      }
    }
    /* VARIABLES */
:root {
  --vert-pamecas: #2E8B57;
  --gris-fonce: #333333;
  --gris-moyen: #666666;
  --gris-clair: #f5f5f5;
  --blanc: #ffffff;
}

 .temoignages-pamecas {
      background-color: #e9d8a6; /* ✅ beige comme services */
      padding: 80px 20px;
    }

    .temoignages-title {
      text-align: center;
      color: #AF6D04;
      font-size: 2rem;
      margin-bottom: 40px;
    }

    .temoignage-container {
      max-width: 1100px;
      margin: 0 auto;
    }

   .temoignage-grid {
  display: flex;
  justify-content: center;
  align-items: stretch; /* ✅ force les colonnes à même hauteur */
  gap: 40px 60px;        /* ✅ 60px vertical, 40px horizontal */
  flex-wrap: wrap;
}

.temoignage-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 420px;
  flex: 1 1 300px;
}

    .temoignage-card {
      background-color: #fff;
      color: #231F20;
      width: 100%;
      padding: 25px 20px;
      border-radius: 10px;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
      text-align: center;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 180px; /* ✅ moins haut */
    }

    .temoin-metier {
      font-weight: bold;
      margin-bottom: 8px;
      color: #231F20;
      font-size: 0.95rem;
    }

    .temoignage-texte {
      font-style: italic;
      font-size: 0.95rem;
      line-height: 1.5;
      color: #231F20;
    }

    .temoignage-identite-block {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 12px;
      margin-top: 18px;
      text-align: left;
    }

    .portrait {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
    }

    .temoin-identite {
      display: flex;
      flex-direction: column;
      font-size: 0.9rem;
    }

    .temoin-identite strong {
      font-weight: bold;
      margin-bottom: 2px;
    }

    @media (max-width: 768px) {
      .temoignage-grid {
        flex-direction: column;
        align-items: center;
      }

      .temoignage-col {
        width: 90%;
      }

      .temoignage-identite-block {
        flex-direction: column;
        text-align: center;
      }
    }

     footer.footer-container {
      background-color: #f2f2f2;
      padding: 60px 20px 30px;
    }

    .footer-grid {
      max-width: 1000px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 30px;
    }

    .footer-brand {
      font-size: 24px;
      font-weight: bold;
      color: #2E8B57;
      margin-bottom: 15px;
    }

    .footer-description {
      font-size: 14px;
      line-height: 1.5;
      color: #555;
    }

    .footer-section-title {
      font-size: 18px;
      font-weight: bold;
      color: #2E8B57;
      margin-bottom: 15px;
      text-transform: uppercase;
    }

    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .footer-links li {
      margin-bottom: 10px;
      position: relative;
      padding-left: 15px;
    }

    .footer-links li::before {
      content: "-";
      position: absolute;
      left: 0;
    }

    .footer-links li a {
      color: #555;
      text-decoration: none;
      font-size: 14px;
      transition: color 0.3s;
    }

    .footer-links li a:hover {
      color: #2E8B57;
      text-decoration: underline;
    }

    .footer-bottom {
      max-width: 1000px;
      margin: 30px auto 0;
      padding-top: 20px;
      border-top: 1px solid #ddd;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      font-size: 13px;
      color: #777;
    }

    .social-links a {
      margin-left: 15px;
      color: #555;
      font-size: 18px;
      transition: color 0.3s;
    }

    .social-links a:hover {
      color: #2E8B57;
    }

    @media (max-width: 768px) {
      .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .footer-links li {
        padding-left: 0;
      }

      .footer-links li::before {
        display: none;
      }

      .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
      }

      .social-links a {
        margin: 0 10px;
      }
    }
   .mot-directeur {
  padding: 60px 20px;
  background-color: #f9f9f9;
}

.mot-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.mot-texte {
  flex: 2;
  min-width: 300px;
}

.mot-texte h2 {
  font-size: 2.2rem;
  color: #2e2b2c;
  margin-bottom: 20px;
}

.mot-texte p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
}

.mot-photo {
  flex: 1;
  min-width: 250px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.mot-photo img {
  height: 460px;     /* ✅ Ajuste ici si tu veux plus grand */
  width: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.signature {
  margin-top: 30px;
  font-style: italic;
  font-size: 1rem;
}
