/* Hero home — carrossel de fundo */
.hero-home {
  min-height: clamp(420px, 70vh, 720px);
}

.hero-home__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-home__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity 1s ease, visibility 1s ease;
  pointer-events: none;
}

.hero-home__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  pointer-events: auto;
}

.hero-home__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-home__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.92) 0%,
    rgba(255, 255, 255, 0.78) 42%,
    rgba(255, 255, 255, 0.35) 100%
  );
}

.hero-home__fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(135deg, rgba(110, 193, 200, 0.25), rgba(237, 108, 165, 0.2));
}

.hero-home__controles {
  padding: 0.5rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-home__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  font-size: 1.5rem;
  line-height: 1;
  color: #374151;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.hero-home__nav:hover,
.hero-home__nav:focus-visible {
  background-color: rgba(110, 193, 200, 0.25);
  color: #111827;
  outline: none;
}

.hero-home__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background-color: rgba(55, 65, 81, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.hero-home__dot.is-active {
  transform: scale(1.25);
  background-color: #ed6ca5;
}

.hero-home__dot:hover,
.hero-home__dot:focus-visible {
  background-color: #6ec1c8;
  outline: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-home__slide {
    transition: none;
  }
}
