.hero-carousel 
{
  position: relative;
  height: 90vh;
  overflow: hidden;
}

/* TRACK */
.carousel-track 
{
  height: 100%;
  position: relative;
}

/* SLIDES */
.carousel-slide 
{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1s ease, transform 1.2s ease;
}

.carousel-slide.active 
{
  opacity: 1;
  transform: scale(1);
  z-index: 2;
}

/* OVERLAY */
.overlay 
{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.75),
    rgba(0,0,0,0.35),
    rgba(0,0,0,0.1)
  );
}

/* CONTEÚDO */
.slide-content 
{
  position: absolute;
  left: 8%;
  top: 50%;
  transform: translateY(-50%);
  max-width: 520px;
  color: #fff;
  z-index: 3;
}

.slide-content h1 
{
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}

.slide-content p 
{
  font-size: 1.05rem;
  opacity: .9;
  margin-bottom: 24px;
}

/* BOTÃO */
.btn-primary 
{
  display: inline-block;
  padding: 14px 26px;
  background: #8b5cf6;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: all .3s ease;
}

.btn-primary:hover 
{
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(139,92,246,.45);
}

/* BOTÕES */
.carousel-btn 
{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  background: rgba(0,0,0,.5);
  color: #fff;
  border: none;
  width: 55px;
  height: 55px;
  cursor: pointer;
  z-index: 5;
  transition: background .3s ease;
}

.carousel-btn:hover 
{
  background: rgba(0,0,0,.8);
}

.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* DOTS */
.carousel-dots 
{
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 6;
}

.carousel-dots span 
{
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,.4);
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots span.active 
{
  background: #8b5cf6;
}

@media (max-width: 768px) 
{
  .slide-content {
    left: 6%;
    right: 6%;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .carousel-btn {
    display: none;
  }
}
