  .actualites-section {
  background: linear-gradient(135deg,#f4f7fa,#eef3f7);
}

.section-title {
  font-size: 2.5rem;
  color: #198754;
}

/* ACTUALITÉ PRINCIPALE */
.actu-main {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}
/* Supprimer le trait orange sous le menu */
.navmenu ul li a::after {
  display: none !important;
  content: none !important;
}

/* Supprimer aussi tout effet de bordure */
.navmenu ul li a {
  border-bottom: none !important;
 
}
.navmenu a::after,
.navmenu a:hover::after,
.navmenu .active::after {
  display: none !important;
}

.actu-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s;
}

.actu-main:hover img {
  transform: scale(1.08);
}

.actu-content {
  position: absolute;
  bottom: 0;
  padding: 30px;
  color: white;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  width: 100%;
}

.actu-content h3 {
  font-weight: 700;
  margin: 15px 0;
}

.btn-actu {
  background: white;
  color: #198754;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn-actu:hover {
  background: #198754;
  color: white;
}

/* CARTES DROITE */
.actu-card {
  display: flex;
  gap: 15px;
  align-items: center;
  background: white;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
  cursor: pointer;
}
/* ================================
   FLASH INFO PREMIUM MAIRIE
================================ */

.flash-premium {
  background: linear-gradient(90deg, #b30000, #06492a);
  color: white;
  padding: 12px 0;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.flash-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.flash-label {
  font-weight: 700;
  font-size: 14px;
  background: rgba(255,255,255,0.15);
  padding: 6px 12px;
  border-radius: 4px;
  animation: pulseFlash 1.5s infinite;
}

.flash-center {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.flash-marquee {
  white-space: nowrap;
  display: inline-block;
  animation: scrollFlash 50s linear infinite;
}

.flash-marquee span {
  font-weight: 500;
  font-size: 15px;
}

.flash-btn {
  background: white;
  color: #06492a;
  padding: 6px 14px;
  border-radius: 3px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.flash-btn:hover {
  background: #f2f2f2;
}

.flash-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 22px;
  margin-left: 10px;
  cursor: pointer;
}

@keyframes scrollFlash {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

@keyframes pulseFlash {
  0% { opacity: 1; }
  50% { opacity: 0.6; }
  100% { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .flash-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .flash-marquee {
    animation-duration: 25s;
  }
}

.actu-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.actu-card img {
  width: 110px;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}

.actu-card h5 {
  margin: 5px 0 0 0;
  font-weight: 600;
}

.date {
  font-size: 0.85rem;
  color: #198754;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 992px) {
  .actu-main {
    margin-bottom: 20px;
  }
}

  .accordion-container {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  background-color: #fff;
  transition: 0.3s;
}

.accordion-header {
  width: 100%;
  background-color: #198754; /* vert mairie */
  color: #fff;
  border: none;
  outline: none;
  text-align: left;
  padding: 18px 20px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background-color: #157347;
}

/* Flèche */
.accordion-header::after {
  content: "\f282";
  font-family: "bootstrap-icons";
  position: absolute;
  right: 20px;
  transition: transform 0.3s;
}

/* Rotation flèche */
.accordion-item.active .accordion-header::after {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background-color: #f9f9f9;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-content p {
  margin: 15px 0;
  color: #555;
}

/* 🔥 OUVERTURE */
.accordion-item.active .accordion-content {
  max-height: 500px;
  padding: 15px 20px;
}

  a{
	  
	  text-decoration:none;
  }
  body,h,h3{
  font-family:Montserrat;
  }
   .header {
            display: flex;
            align-items: center;
            padding: 20px;
            background-color: #f8f9fa;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
.hero {
      position: relative;
      height: 100vh;
      overflow: hidden;
     
    }
/* Affiche l'icône de menu hamburger sur les petits écrans */
.mobile-nav-toggle {
  display: block !important;
  font-size: 2rem;
  color: #fff;
}

@media (min-width: 992px) {
  .mobile-nav-toggle {
    display: none !important;
  }
}

    /* Vidéo en fond */
    .hero-bg-video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      z-index: 1;
    }

    /* Overlay sombre */
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 2.55);
      z-index: 2;
    }
	.hero-bg-video {
}

    /* Contenu à droite */
    .hero-content {
      position: relative;
      z-index: 3;
      height: 100%;
      max-width: 650px;

      margin-left: auto;
      margin-right: 80px;

      display: flex;
      flex-direction: column;
      justify-content: center;

      align-items: flex-start;
      text-align: left;

      color: #fff;
      padding: 0 20px;
      animation: slideUp 1.2s ease;
    }

    /* ALIGNEMENT PARFAIT */
    .hero-content  {
      margin-left: 0;
      padding-left: 0;
	  
    }

    .hero-content h2 {
      font-size: 3rem;
      line-height: 1.2;
      margin-bottom: 20px;
	 
    }

    .hero-content p {
      font-size: 1.1rem;
      line-height: 1.6;
      margin-bottom: 25px;
      max-width: 600px;
    }

    /* Bouton */
    .btn-get-started {
      padding: 12px 32px;
      background: #0d6efd;
      color: #fff;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      transition: 0.3s;
    }

    .btn-get-started:hover {
      background: #0b5ed7;
    }

    /* Animation */
    @keyframes slideUp {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* =========================
       RESPONSIVE MOBILE
    ========================== */
    @media (max-width: 768px) {
      .hero-bg-video {
      
      }

      .hero {
        background: url("fallback.jpg") center/cover no-repeat;
      }

      .hero-content {
        margin: 0 auto;
        text-align: center;
        align-items: center;
      }

      .hero-content > * {
        align-self: center;
      }

      .hero-content h2 {
        font-size: 2.2rem;
      }
    }
 .block-content {
            background-color: #f9f9f9;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 40px;
        }

        .block-content img {
            border-radius: 10px;
            max-width: 100%;
            height: auto;
            object-fit: cover;
        }

        .block-content .text-content {
            max-width: 500px;
            margin-left: 20px;
        }

        .block-content h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #0d6efd;
        }

        .block-content p {
            font-size: 1.1rem;
            line-height: 1.6;
            text-align: justify;
            color: #555;
        }

        /* Bouton */
        .btn-learn-more {
            margin-top: 20px;
            padding: 12px 25px;
            background: #0d6efd;
            color: white;
            border-radius: 25px;
            font-weight: 600;
            text-decoration: none;
            transition: 0.3s;
        }

        .btn-learn-more:hover {
            background: #0b5ed7;
        }

        /* Animation AOS */
        [data-aos="fade-up"] {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.5s;
        }

        [data-aos="fade-up"].aos-animate {
            opacity: 1;
            transform: translateY(0);
        }
     /* Style général du bloc */
        .block-content {
            background-color: #f9f9f9;
            padding: 40px;
            border-radius: 10px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-wrap: wrap; /* Assure que les éléments s'ajustent sur de petits écrans */
            justify-content: space-between;
            margin-bottom: 40px;
        }

        .block-content img {
            border-radius: 10px;
            width: 100%; /* L'image s'adapte à son conteneur */
            height: auto;
            object-fit: cover;
        }

        .block-content .text-content {
            max-width: 500px;
            margin-left: 20px;
            flex: 1;
        }

        .block-content h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            color: #0d6efd;
        }

        .block-content p {
            font-size: 1.1rem;
            line-height: 1.6;
            text-align: justify;
            color: #555;
        }

        /* Bouton */
        .btn-learn-more {
            margin-top: 20px;
            padding: 12px 25px;
            background: #0d6efd;
            color: white;
            border-radius: 25px;
            font-weight: 600;
            text-decoration: none;
            transition: 0.3s;
        }

        .btn-learn-more:hover {
            background: #0b5ed7;
        }

        /* Animation AOS */
        [data-aos="fade-up"] {
            opacity: 0;
            transform: translateY(50px);
            transition: all 0.5s;
        }

        [data-aos="fade-up"].aos-animate {
            opacity: 1;
            transform: translateY(0);
        }

.hero{
    background: linear-gradient(rgba(0,70,140,0.8), rgba(0,70,140,0.8)),
              
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    text-align:center;
}
.card-acte{
    border:none;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.08);
    transition:0.3s;
}
.card-acte:hover{
    transform:translateY(-8px);
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}
.icon{
    font-size:35px;
    margin-bottom:10px;
	
}
.timeline-section {
  background: linear-gradient(135deg,#f4f7fa,#eef3f7);
}

.section-title {
  font-size: 2.5rem;
  color: #198754;
}

/* Ligne centrale */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: #198754;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

/* Item */
.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

/* Cercle */
.timeline-item::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  right: -9px;
  background-color: white;
  border: 4px solid #198754;
  top: 25px;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item.right::before {
  left: -9px;
}

/* Carte */
.timeline-content {
  background: white;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.timeline-content h4 {
  margin: 10px 0;
  font-weight: 600;
}

.date {
  font-size: 0.85rem;
  color: #198754;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {

  .timeline::after {
    left: 8px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 30px;
    padding-right: 15px;
  }

  .timeline-item.right {
    left: 0;
  }

  .timeline-item::before {
    left: 0;
  }
}
.news-section {
  background: linear-gradient(135deg,#f4f7fa,#eef3f7);
}

.section-title {
  font-size: 2.5rem;
  color: #198754;
}

.news-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.3s;
  cursor: pointer;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 15px;
}

.news-content h5 {
  font-weight: 600;
  margin-top: 8px;
}

.date {
  font-size: 0.85rem;
  color: #198754;
  font-weight: 600;
}

.btn-load {
  background: #198754;
  color: white;
  padding: 10px 30px;
  border-radius: 30px;
  border: none;
  font-weight: 600;
  transition: 0.3s;
}


.mobile-nav-toggle {
  color: #198754 !important;
}
/* Etat normal */
.navmenu ul li a {
  color: #000;
  transition: 0.3s;
   font-size:0.8em;
}

/* Quand on scroll */


/* Hover */


.btn-load:hover {
  background: #146c43;
}
.news-tabs {
  background: linear-gradient(135deg, #1987548a, #19875400);
}

.section-title {
  font-size: 2.5rem;
  color: #198754;
}


/* LISTE */
.news-list {
  background: #198754;
  padding: 0;
}

.news-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-list li {
  padding: 20px;
  color: white;
  cursor: pointer;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  transition: 0.3s;
}

.news-list li span {
  display: block;
  font-size: 0.8rem;
  opacity: 0.8;
}

.news-list li:hover,
.news-list li.active {
  background: #146c43;
}

/* CONTENU */
.news-display {
  background: white;
  padding: 30px;
}

.news-content {
  display: none;
}

.news-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.news-content img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

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

/* Responsive */
@media (max-width: 992px) {
  .news-list {
    text-align:center;
  }
  .header.scrolled .navmenu ul li a {
  color: white !important; /* Vert mairie */
}
  .header.scrolled .navmenu ul {
  background-color: #198754 !important; /* Vert mairie */
}
}

.header.scrolled a {
    color: white !important; /* devient blanc au scroll */
}


.welcome-dynamic {
  background: linear-gradient(to right, #e0f2f1, #f0f8f5);
  padding: 80px 0;
}

.dynamic-card {
  display: flex;
  align-items: center;
  gap: 30px;
  border-left: 6px solid #198754;
  max-width: 850px;
  margin: auto;
  padding: 20px;
  border-radius: 6px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dynamic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.dynamic-image {
  flex: 1;
  position: relative;
}

.dynamic-image img {
  width: 220px;
  height: 100%;


  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.dynamic-image img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.dynamic-text {
  flex: 2;
}

.dynamic-text h2 {
  font-size: 2.2rem;
  color: #198754;
  margin-bottom: 15px;
}

.dynamic-text p {
  font-size: 1.05rem;
  color: #333;
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-dynamic {
  padding: 12px 28px;
  background: #198754;
  color: white;
  border-radius: 25px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: 0.3s;
}

.btn-dynamic::before {
  content: '';
  position: absolute;
  top: -5px; left: -5px; right: -5px; bottom: -5px;
  background: rgba(25, 135, 84, 0.4);
  border-radius: 30px;
  filter: blur(12px);
  opacity: 0;
  transition: 0.3s;
  z-index: -1;
}

.btn-dynamic:hover::before {
  opacity: 1;
}

.btn-dynamic:hover {
  background: #146c43;
  color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
  .dynamic-card {
    flex-direction: column;
    text-align: center;
  }

  .dynamic-image img {
    width: 180px;
    height: 180px;
    margin-bottom: 20px;
  }

  .dynamic-text h2 {
    font-size: 1.8rem;
  }
}
 /* Bandeau cookies ultra stylé */
    #cookie-banner {
      position: fixed;
      bottom: 20px;
      right: 20px;
      width: 95%;
      max-width: 420px;
      background: linear-gradient(135deg, #2d7012, #4caf50);
      color: #fff;
      padding: 20px 25px;
      font-family: Montserrat, sans-serif;
      border-radius: 20px;
      box-shadow: 0 12px 30px rgba(0,0,0,0.35);
      display: flex;
      flex-direction: column;
      gap: 12px;
      z-index: 9999;
      opacity: 0;
      transform: translateX(100%);
      transition: all 0.7s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    }

    #cookie-banner p { margin:0; font-size:14px; line-height:1.5; }

    #cookie-btn {
      background: #fff;
      color: #2d7012;
      border: none;
      border-radius: 12px;
      padding: 10px 20px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    #cookie-btn:hover {
      transform: scale(1.1) rotate(-2deg);
    }

    /* Exemple section hero */
    .hero { position: relative; height: 70vh; display:flex; align-items:center; justify-content:center; background:#06492a; color:white; text-align:center; }
    .hero h1 { font-size:2.5rem; font-weight:bold; }
    .hero p { font-size:1.2rem; }

    /* About section */
    .welcome-dynamic img { border-radius: 10px; margin-right:15px; float:left; }

    /* Actualités */
    .news-list { height:400px; overflow:auto; }
    .news-list li { padding:10px; cursor:pointer; list-style:none; border-bottom:1px solid #ddd; }
    .news-list li.active { background:#183c0d; font-weight:bold; }
    .news-content { display:none; padding:15px; }
    .news-content.active { display:block; }



.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 650px;
  background: #ffffff;
  padding: 25px;
  border-radius: 15px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.15);
  z-index: 9999;
  animation: slideUp 0.6s ease;
}

.cookie-content h5 {
  margin-bottom: 10px;
  color: #198754;
  font-weight: 600;
}

.cookie-content p {
  font-size: 14px;
  color: #555;
}

.cookie-content a {
  color: #198754;
  font-weight: 500;
  text-decoration: none;
}

.cookie-buttons {
  margin-top: 15px;
  text-align: right;
}

.btn-accept {
  background: #198754;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  margin-right: 10px;
  transition: 0.3s;
}

.btn-accept:hover {
  background: #146c43;
}

.btn-refuse {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-refuse:hover {
  background: #b02a37;
}

@keyframes slideUp {
  from { transform: translate(-50%, 50px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}
