/* =====================
   Titre principal du hero
   ===================== */
.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 3rem;
  text-align: center;

  background: linear-gradient(90deg, #114d8a, #3a5e91);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;

  text-shadow: 0 1px 2px rgba(0,0,0,0.2); /* lisibilité sur mobile */
  transition: transform 0.3s ease;
}

/* Effet léger au survol desktop */
.hero-title:hover {
  transform: scale(1.05);
}

/* Ligne décorative animée sous le titre */
.hero-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #a15e5e, #739dc7);
  margin: 0.5rem auto 0;
  border-radius: 2px;
  animation: slide-line 1.5s infinite alternate;
}

@keyframes slide-line {
  0% { transform: translateX(-20%); }
  100% { transform: translateX(20%); }
}

/* =====================
   Hero image
   ===================== */
.hero-img {
  width: 100%;
  min-height: 400px; /* augmente la hauteur */
  object-fit: cover; /* l'image remplit tout le conteneur */
  border-radius: 0.3rem;
  transition: transform 0.3s ease;
}

.hero-card {
  display: flex;
  flex-direction: column;
  min-height: 400px; /* plus d’espace pour image + texte */
}

@media (max-width: 768px) {
  .hero-img { height: 400px; }
  .hero-card { min-height: auto; }
}

@media (max-width: 480px) {
  .hero-img { height: 300px; }
  .hero-card { min-height: auto; }
}
