/* HERO SLIDER - VERSÃO SIMPLIFICADA E FUNCIONAL */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: 70px;
  min-height: 100vh;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 650px;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease-in-out, visibility 1.2s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  padding-top: 15vh;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(236, 135, 148, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: right;
  color: white;
  max-width: 50%;
  margin-right: 5%;
  padding: 2rem;
}

.hero-content .hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  margin: 0 0 1rem 0;
  letter-spacing: -0.02em;
}

.hero-content .hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  line-height: 1.5;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin: 0 0 2rem 0;
  opacity: 0.9;
}

.hero-content .hero-cta {
  display: inline-flex;
  align-items: center;
  background: var(--primary-pink);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(236, 135, 148, 0.4);
}

.hero-content .hero-cta:hover {
  background: var(--dark-pink);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(236, 135, 148, 0.6);
}

.hero-content .hero-cta svg {
  margin-right: 0.75rem;
  flex-shrink: 0;
}

/* Controles do Slider */
.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 4;
  pointer-events: none;
}

.slider-prev,
.slider-next {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  backdrop-filter: blur(10px);
}

.slider-prev:hover,
.slider-next:hover {
  background-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

/* Dots do Slider */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.dot.active {
  background-color: white;
  width: 30px;
  border-radius: 6px;
  transform: scale(1);
}

/* Responsivo */
@media (max-width: 768px) {
  .hero-slide {
    background-attachment: scroll; /* Melhor performance em mobile */
  }

  .hero-content {
    max-width: 90%;
    margin-right: 5%;
    text-align: center;
  }

  .slider-controls {
    padding: 0 1rem;
  }

  .slider-prev,
  .slider-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .slider-dots {
    bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-slider {
    min-height: 500px;
  }

  .hero-content {
    margin-right: 0;
    padding: 1rem;
    position: relative;
    top: auto;
    transform: none;
    max-width: 95%;
  }

  .hero-content .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .hero-content .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.2rem);
  }

  .slider-prev,
  .slider-next {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }
}
