/* ===== COMPOSANT SLIDER ===== */
.hero-slider-component {
  position: relative;
  width: 100%;
  height: 40vh;
  overflow: hidden;
  background: var(--bleu-gris);
}

.hero-slider {
  width: 100%;
  height: 100%;
  position: relative;
}

/* Masquer les inputs radio */
.slide-input {
  display: none;
}

/* Styles des slides */
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(1rem, 5vw, 5rem);
}

.slide-content {
  width: min(100%, 1200px);
  z-index: 2;
  position: relative;
  text-align: center;
}

.slide h2 {
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  line-height: 1.3;
  margin: 0 0 clamp(0.9rem, 2vw, 1.25rem) 0;
  font-weight: 550;
  color: var(--blanc-pur);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

/* Bouton CTA */
.slide .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: clamp(0.75rem, 1.5vw, 0.9rem) clamp(1.5rem, 3vw, 2rem);
  background: rgba(255, 255, 255, 0.08);
  color: var(--blanc-pur);
  border-radius: 0.125rem;
  font-weight: 550;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  letter-spacing: 0.025em;
  text-decoration: none;
}

.slide .btn:hover {
  background: rgba(93, 173, 226, 0.2);
  border-color: rgba(93, 173, 226, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

/* Overlay des slides */
.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1); /* Overlay très léger */
  z-index: 1;
}

/* Styles de slides individuels */
.slide-1 {
  background: var(--bleu-gris); /* Même couleur que ta section */
}

.slide-2 {
  background: var(--bleu-gris); /* Identique pour la continuité */
}

/* Contrôles de navigation */
.slider-controls {
  position: absolute;
  bottom: clamp(1.5rem, 4vw, 2rem);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  z-index: 10;
  gap: 0.5rem;
  padding: 0 1rem;
}

.control-label {
  cursor: pointer;
  flex: 0 1 clamp(40px, 8vw, 60px);
  height: 4px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 0.125rem;
  transition: all 0.3s ease;
}

.control-label:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scaleY(1.3);
}

/* État SÉLECTIONNÉ */
#slide1:checked ~ .slider-controls .control-1,
#slide2:checked ~ .slider-controls .control-2 {
  background: var(--bleu-vif);
  transform: scaleY(1.5);
  box-shadow: 0 0 10px rgba(93, 173, 226, 0.4);
}

/* Logique de sélection des slides */
#slide1:checked ~ .hero-slider .slide-1,
#slide2:checked ~ .hero-slider .slide-2 {
  opacity: 1;
  z-index: 1;
}

/* Focus visible pour accessibilité */
.control-label:focus-visible {
  outline: 3px solid var(--bleu-vif);
  outline-offset: 4px;
  height: 6px;
}

.slide .btn:focus-visible {
  outline: 3px solid var(--bleu-vif);
  outline-offset: 2px;
}

