#a-propos {
  position: relative;
  min-height: 500px;
  padding-top: 60px;
padding-bottom: 60px;
padding-left: 15px;  /* marge à gauche réduite */
padding-right: 15px; /* marge à droite réduite */
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url("/images/slide3.jpeg") center center / cover no-repeat;
}

#a-propos::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75); /* superposition sombre */
  z-index: 1;
}

.a-propos-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
}

.a-propos-text {
  flex: 1 1 60%;
  padding: 20px;
}

.a-propos-text h2 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  border-left: 5px solid orange;
  padding-left: 15px;
}

.a-propos-text p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

.a-propos-text li {
  font-size: 15px;
  line-height: 1.8;
  margin-left: 20px;
  text-align: justify;
}

.a-propos-text .btn {
  padding: 12px 25px;
  background-color: #007e5e;
  color: #fff;
  border: none;
  border-radius: 30px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.a-propos-text .btn:hover {
  background-color: #d67031;
}

.a-propos-photo {
  flex: 1 1 35%;
  padding: 20px;
  text-align: center;
}

.a-propos-photo img {
  max-width: 250px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  margin-bottom: 15px;
}

.a-propos-photo h4 {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}

.a-propos-photo span {
  display: block;
  font-size: 16px;
  opacity: 0.8;
}

/* 🌊 Effet "eau" / ondulation au survol */
#a-propos:hover {
  background-position: center;
  animation: fondEau 12s ease-in-out infinite;
}

@keyframes fondEau {
  0% {
    background-position: center;
  }
  50% {
    background-position: center 10px;
  }
  100% {
    background-position: center;
  }
}

/* Responsive */
@media screen and (max-width: 768px) {
  .a-propos-content {
    flex-direction: column;
    text-align: center;
  }

  .a-propos-text,
  .a-propos-photo {
    flex: 1 1 100%;
  }

  .a-propos-text h2 {
    font-size: 28px;
  }
}

/* Style au survol des cases à cocher */
#checkboxes-container .form-check:hover {
  background-color: #f8f9fa;
  border-radius: 5px;
  transition: background-color 0.2s ease-in-out;
  cursor: pointer;
}

/* Animation douce à l’apparition */
#sous-rubriques {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}


