 body {
      font-family: 'Segoe UI', sans-serif;
      padding-top: 80px; /* ajuste selon la hauteur de ta navbar */
    }

    /* Navbar */
    .navbar-brand {
      font-weight: bold;
      font-size: 1.5rem;
    }

    /* Carousel */
    .carousel-img {
      height: 500px;
      object-fit: cover;
      filter: brightness(85%);
    }

    .carousel-caption h5 {
      font-size: 2rem;
      background-color: rgba(0, 0, 0, 0.6);
      display: inline-block;
      padding: 0.5rem 1rem;
      border-radius: 10px;
    }

    /* Section titre */
    section h2 {
      font-weight: bold;
      color: #222;
      margin-bottom: 1.5rem;
    }

    /* Cartes actualités */
    .card {
      border: none;
      box-shadow: 0 4px 8px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

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

    /* Hover sur colonnes de départements */
    .departement:hover {
      transform: scale(1.05);
      transition: transform 0.4s ease;
    }

    /* Fondatrice */
    .rounded-circle {
      border: 4px solid #007bff;
    }

    /* Footer */
    footer p {
      margin: 0.2rem;
    }

    /* Animation apparition */
    .fade-in {
      animation: fadeIn 1s ease-in;
    }

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



section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #007bff;
  margin: 10px auto;
  border-radius: 2px;
}
blockquote {
  font-style: italic;
}
.accordion-button {
  font-weight: 600;
}


.card-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.card-text {
  font-size: 0.95rem;
}

.btn-sm {
  padding: 0.3rem 0.8rem;
  font-size: 0.85rem;
}

 /* Sur grand écran, cache sidebar */
  @media (min-width: 992px) {
    #sidebar {
      display: none !important;
    }
  }
  
  
   /* Bulle WhatsApp flottante */
        .whatsapp-float {
            position: fixed;
            width: 60px;
            height: 60px;
            bottom: 20px;
            right: 20px;
            background-color: #25d366;
            color: white;
            border-radius: 50%;
            text-align: center;
            font-size: 30px;
            box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
            z-index: 100;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
        }

        .whatsapp-icon {
            width: 35px;
            height: 35px;
        }
        
        

/* Effet “glass” sobre + version solide au scroll */
.navbar-glass {
  background-color: rgba(33, 37, 41, 0.55); /* bg-dark avec transparence */
  backdrop-filter: saturate(120%) blur(8px);
  transition: background-color .3s ease, box-shadow .3s ease;
}
.navbar-glass.navbar-solid {
  background-color: #212529; /* solide */
  box-shadow: 0 6px 18px rgba(0,0,0,.25);
}

/* Soulignement animé des liens (desktop) */
@media (min-width: 992px) {
  .navbar .nav-link {
    position: relative;
    color: #f1f1f1 !important;
  }
  .navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: #0d6efd; /* bleu Bootstrap */
    transition: width .25s ease;
  }
  
 /* exception */
.navbar .nav-link.except::after {
  background: transparent;
}
  .navbar .nav-link:hover::after,
  .navbar .nav-link.active::after {
    width: 100%;
  }
}

/* Dropdown sombre cohérent */
.dropdown-menu-dark {
  --bs-dropdown-bg: #1f2327;
  --bs-dropdown-link-color: #e9ecef;
  --bs-dropdown-link-hover-bg: rgba(255,255,255,.08);
}

/* Overlay recherche */
.search-wrap {
  position: absolute;
  right: 0; left: 0;
  top: 100%;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.search-box {
  background: rgba(33,37,41,.95);
  border-radius: .5rem;
  padding: .5rem;
  margin-top: .4rem;
  pointer-events: auto;
  transform-origin: top right;
  transform: scaleY(0);
  transition: transform .18s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.search-box.open { transform: scaleY(1); }
.btn-close-search { line-height: 1; }

/* Offcanvas : garder style sobre */
.offcanvas .nav-link { color: #f8f9fa; }
.offcanvas .nav-link:hover { background: rgba(255,255,255,.08); border-radius: .35rem; }




#actualites-par-date .timeline {
  width: 120px;
  background: #fff;
  border-right: 1px solid #ddd;
  padding: 20px 0;
  border-radius: 10px;
}

#actualites-par-date .timeline .date {
  cursor: pointer;
  padding: 10px 15px;
  margin: 10px;
  border-radius: 20px;
  text-align: center;
  transition: 0.3s;
  background: #eee;
}

#actualites-par-date .timeline .date.active {
  background: #0d6efd;
  color: #fff;
  transform: scale(1.1);
}

#actualites-par-date .timeline .date:hover {
  background: #0d6efd;
  color: #fff;
}

#actualites-par-date .news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  overflow-y: auto;
}

#actualites-par-date .news-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s;
}

#actualites-par-date .news-card:hover {
  transform: translateY(-5px);
}

#actualites-par-date .news-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

#actualites-par-date .news-card .content {
  padding: 15px;
}

#actualites-par-date .news-card .content h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

#actualites-par-date .news-card .content p {
  font-size: 0.9rem;
  color: #555;
}

#actualites-par-date .news-card .content button {
  margin-top: 10px;
  padding: 5px 10px;
  border: none;
  background: #0d6efd;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
}

#actualites-par-date .news-card .content button:hover {
  background: #084298;
}

