.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh; /* ✅ plein écran */
  overflow: hidden;
  background-color: #000; /* couleur de secours au cas où */
}

.hero-section picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-section img.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;       /* ✅ couvre toute la zone */
  object-position: center center; /* centré proprement */
  display: block;
}

/* Ajoute un léger filtre foncé pour lisibilité du texte */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  z-index: 2;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ✅ Sur mobile */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100vh; /* garde le plein écran */
  }

  .hero-content {
    width: 90%;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn {
    font-size: 1rem;
  }
}
/* === Personnalisation du bouton vert Bootstrap === */
.btn-success {
  background-color: #28d17c !important; /* vert clair principal */
  border-color: #22bb6f !important;
  color: #fff !important;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-success:hover,
.btn-success:focus {
  background-color: #1fc36f !important; /* un peu plus foncé au survol */
  border-color: #1cbf6b !important;
  box-shadow: 0 0 12px rgba(40, 209, 124, 0.4);
}
.btn-success:active {
  background-color: #19ac63 !important;
  border-color: #179a58 !important;
}
.icon-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
#raisons h2 {
  font-size: 2rem;
}

#raisons h3 {
  font-size: 1.25rem;
  margin-top: 1rem;
}

#raisons p {
  color: #555;
  line-height: 1.6;
}
.btn-light-green {
  background-color: #28d17c; /* vert clair moderne */
  border-color: #22bb6f;
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-light-green:hover,
.btn-light-green:focus {
  background-color: #1fc36f;
  border-color: #1cbf6b;
  box-shadow: 0 0 10px rgba(40, 209, 124, 0.4);
  color: #fff;
}
/* === FOOTER STYLE === */
.footer {
  background-color: #1849d6; /* bleu profond principal */
  color: #fff;
}

.footer .footer-link {
  color: #ffffffcc; /* blanc légèrement transparent */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .footer-link:hover {
  color: #28d17c; /* vert clair branding */
  text-decoration: underline;
}

/* Lignes de séparation */
.footer hr {
  border-color: rgba(255, 255, 255, 0.2);
}

/* Texte clair lisible */
.footer h6,
.footer h5,
.footer h4 {
  color: #fff;
}

.footer .lead {
  color: #e8e8e8;
}

/* Bas de footer */
.footer small,
.footer span {
  color: #dcdcdc;
}

/* Lien bas de page */
.footer small a,
.footer span a {
  color: #ffffffcc;
}
.footer small a:hover,
.footer span a:hover {
  color: #28d17c;
}