/* Styles spécifiques pour la section hero avec fond clair */
.hero-light {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  margin-bottom: 0;
  padding-bottom: 50px;
}

.hero-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-light * {
  z-index: 2;
  position: relative;
}

.hero-title-light {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.text-primary-gradient {
  background: linear-gradient(to right, #2c84cb, #206094);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-light {
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  margin-bottom: 0;
  padding-bottom: 50px;
}

.hero-blur-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  -moz-backdrop-filter: blur(5px);
  background-color: rgba(255, 255, 255, 0.6);
  z-index: 1;
  transition: all 0.8s ease;
}

.hero-light.enhanced-blur .hero-blur-overlay {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  -moz-backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-light * {
  z-index: 2;
  position: relative;
}

.particles-container {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 0;
}

.hero-title-light {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #eaecf1;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}


@media (max-width: 768px) {
  .hero-title-light {
    font-size: 2.5rem;
  }
}

.search-trigger-btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  background: linear-gradient(45deg, #2c84cb, #206094);
  border: none;
  border-radius: 50px;
  color: #fff !important;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  z-index: 1;
  box-shadow: 0 4px 20px rgba(44, 132, 203, 0.3);
  animation: fadeInUp 1s ease-out 0.4s;
  animation-fill-mode: both;
  text-decoration: none;
}

.search-trigger-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #206094, #2c84cb);
  transition: all 0.4s ease;
  z-index: -1;
}

.search-trigger-btn:hover:before {
  left: 0;
}

.search-trigger-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(44, 132, 203, 0.4);
  color: #fff;
  text-decoration: none;
}

.floating-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 0 0.5rem 1rem 0;
  background: rgba(44, 132, 203, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(44, 132, 203, 0.2);
  color: #2c84cb;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.floating-badge:hover {
  transform: translateY(-5px);
  background: rgba(44, 132, 203, 0.15);
  box-shadow: 0 8px 25px rgba(44, 132, 203, 0.15);
}

.badge-icon {
  margin-right: 0.5rem;
  font-size: 1.1rem;
  color: #2c84cb;
}

.floating-badges-container {
  position: relative;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.badge-1 { animation: float 4s infinite ease-in-out; }
.badge-2 { animation: float 5s infinite ease-in-out 1s; }
.badge-3 { animation: float 6s infinite ease-in-out 0.5s; }
.badge-4 { animation: float 7s infinite ease-in-out 1.5s; }

.stats-container {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  color: #2D3748;
  animation: fadeInUp 1s ease-out 0.6s;
  animation-fill-mode: both;
}

.stat-item {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FE8900;
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: rgb(221, 218, 218);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-image-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image {
  max-width: 100%;
  position: relative;
  z-index: 2;
  border-radius: 20px;
}

/* Animation de maisons flottantes */
.floating-houses {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

.floating-house {
  position: absolute;
  font-size: 2rem;
  color:  #2c84cb;
  animation: floatingHouse 15s infinite linear;
}

.house-1 { top: 15%; left: 10%; animation-duration: 20s; }
.house-2 { top: 25%; left: 25%; animation-duration: 25s; animation-delay: 2s; }
.house-3 { top: 45%; left: 8%; animation-duration: 22s; animation-delay: 5s; }
.house-4 { top: 60%; left: 20%; animation-duration: 18s; animation-delay: 3s; }
.house-5 { top: 10%; left: 85%; animation-duration: 24s; }
.house-6 { top: 30%; left: 70%; animation-duration: 21s; animation-delay: 1s; }
.house-7 { top: 55%; left: 80%; animation-duration: 19s; animation-delay: 4s; }
.house-8 { top: 70%; left: 90%; animation-duration: 23s; animation-delay: 2s; }

@keyframes floatingHouse {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.7;
  }
  90% {
    opacity: 0.7;
  }
  100% {
    transform: translateY(-200px) rotate(10deg);
    opacity: 0;
  }
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Effet de vague en bas de la section hero */
.wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  z-index: 3;
}

.wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="1" d="M0,64L60,80C120,96,240,128,360,138.7C480,149,600,139,720,122.7C840,107,960,85,1080,96C1200,107,1320,149,1380,170.7L1440,192L1440,320L1380,320C1320,320,1200,320,1080,320C960,320,840,320,720,320C600,320,480,320,360,320C240,320,120,320,60,320L0,320Z"></path></svg>');
  background-size: cover;
}
