/* =========================
   HERO / SLIDER WIV
========================= */
.btn-wiv {
  background-color: #099E39;
  color: #ffffff;
}
.btn-wiv:hover {
  background-color: #007526;
  color: #ffffff;
}

.btn-wiv-negative {
  fill: #F661C6;
}
.hero {
  min-height: 460px;
  height: 460px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

/* Optionnel : un léger voile pour la lisibilité */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

/* Le contenu doit passer au-dessus */
.hero-content {
  position: relative;
  z-index: 1;
}

/* Mobile : on garde 480px aussi (cohérent visuellement) */
@media (max-width: 767px) {
  .hero {
	height: 480px;
	min-height: 480px;
  }
}
.carousel-item {
  height: 480px;
}

.carousel-item > .hero {
  height: 100%;
}

/* =========================
   CARDS – hauteur fixe + hover doux
========================= */

/* Card */
.img-card {
  height: 240px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  transition: transform 0.9s ease, box-shadow 0.9s ease;
}
.card {
  border-radius: 16px;
  overflow: hidden; /* 🔥 indispensable */
}
/* Image */
.img-card img {
  height: 240px;
  object-fit: cover;
  transition: transform 1.2s ease, opacity 1.2s ease;
}
/* Image : arrondi uniquement en haut */
.img-card-top {
  height: 240px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
  transition: transform 1.2s ease, opacity 1.2s ease;
}


/* Overlay (si présent) */
.img-card .card-img-overlay {
  transition: opacity 0.8s ease;
}

/* Hover doux */
.img-card:hover .img-card-top {
  transform: scale(1.06);
  opacity: 0.92;
  box-shadow: 0 16px 40px rgba(0,0,0,0.14);

}


/* === MOTEUR SUR SLIDER – VERSION PREMIUM === */
.search-overlay {
  position: relative;
  z-index: 20;
  margin-top: -70px; /* descend un peu le bloc */
}

.search-card {
  background: rgba(255, 255, 255, 0.92); /* fond semi-transparent */
  backdrop-filter: blur(8px);           /* effet verre (Safari/Chrome) */
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1.6rem;
  padding: 1.75rem 2rem;
  box-shadow: 0 20px 50px rgba(0,0,0,0.22);
}

/* Labels */
.search-card .form-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

/* Inputs */
.search-card .form-control,
.search-card .form-select {
  border-radius: 0.9rem;
  padding: 0.8rem 1rem;
  font-size: 1rem;
}

/* === BOUTON CTA === */
.search-card .btn-primary {
  border-radius: 1rem;
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.85rem 1.6rem;
  height: 52px;
}

/* Mobile */
@media (max-width: 768px) {
  .search-overlay {
  margin-top: -35px;
  }
  .search-card {
  padding: 1.5rem;
  }
  .search-card .btn-primary {
  height: 50px;
  font-size: 1.05rem;
  }
}

.footer-wiv {
  background: #f2f4f7;   /* clair / premium */
  color: #2b2f33;        /* texte normal */
}

.footer-wiv h5,
.footer-wiv h6 {
  color: #111;
}

.footer-wiv .small,
.footer-wiv p,
.footer-wiv li {
  color: #4a4f55;
}

