main{
  padding: 0;
  margin: 0;
}
.hero-actua {
  position: relative;
  overflow: hidden;
  min-height: 70vh; /* pleine page moins navbar */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}
.hero-actua {
  background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), 
              url('../images/background/b8.jpg') center/cover no-repeat;
  animation: bgMove 20s infinite alternate;
}

/* Section actus */
.actualites {
  background: #f8f9fa;
}

.actu-card img {
  height: 180px;
  object-fit: cover;
}

.actu-card .card-body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Sidebar */
.sidebar h5 {
  font-size: 1.1rem;
}

.sidebar ul li {
  margin-bottom: 10px;
}

.sidebar ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s;
}

.sidebar ul li a:hover {
  color: #007bff;
}

/* Responsive */
@media (max-width: 991px) {
  .sidebar {
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .actu-card img {
    height: 150px;
  }
}/* Assurer que les boutons s'adaptent */
.btn-group .btn {
  flex: 1; /* chaque bouton prend la même largeur */
}

/* Sur mobile : les boutons prennent toute la largeur */
@media (max-width: 576px) {
  .btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .btn-group .btn {
    flex: 1 1 48%; /* 2 boutons par ligne */
  }
  .search-bar {
    width: 100%;
  }
}