/* =========================================
   HERO AVEC DIAPORAMA
   ========================================= */
.hero {
  position: relative;
  min-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #1e3c72;
}

/* Conteneur du diaporama */
.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Chaque slide */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
}

/* Overlay pour améliorer la lisibilité du texte */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 60, 114, 0.85) 0%,
    rgba(42, 82, 152, 0.75) 100%
  );
  z-index: 2;
}

/* Contenu du hero */
.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: white;
  max-width: 800px;
  padding: 40px 20px;
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  margin-bottom: 2rem;
  line-height: 1.6;
  opacity: 0.95;
}

/* Bouton CTA */
.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background: #B8956A;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.cta-button:hover {
  background: #d97706;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6);
}

/* Indicateurs de slides (dots) */
.hero-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.hero-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.hero-dot.active {
  background: #f59e0b;
  transform: scale(1.2);
  border-color: white;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* Flèches de navigation */
.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.hero-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.hero-nav.prev {
  left: 20px;
}

.hero-nav.next {
  right: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    min-height: 500px;
  }
  
  .hero-content {
    padding: 30px 15px;
  }
  
  .hero-nav {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .hero-nav.prev {
    left: 10px;
  }
  
  .hero-nav.next {
    right: 10px;
  }
  
  .hero-dots {
    bottom: 20px;
  }
  
  .cta-button {
    padding: 14px 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: 450px;
  }
}