/* ========= BANNER CAROUSEL — HOME ========= */

.banner-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 82vh;
  overflow: hidden;
  background: var(--primary-dark);
  isolation: isolate;
}

.banner-carousel::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 5;
  background: linear-gradient(
    90deg,
    transparent,
    #d0bb6c 50%,
    transparent
  );
  box-shadow:
    0 0 20px rgba(208, 187, 108, 0.55);
}

.banner-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  will-change: transform;
}

.banner-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

.banner-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Setas de navegação ===== */
.banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(5, 8, 22, 0.45);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.banner-nav:hover {
  background: rgba(208, 187, 108, 0.55);
  border-color: rgba(255, 255, 255, 0.5);
}

.banner-prev { left: 1rem; }
.banner-next { right: 1rem; }

/* ===== Indicadores ===== */
.banner-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: none;
  gap: 0.5rem;
}

.banner-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease;
}

.banner-dot.is-active {
  background: #ffffff;
  transform: scale(1.25);
}

/* Controles só aparecem quando há mais de um banner */
.banner-carousel.has-multiple .banner-nav,
.banner-carousel.has-multiple .banner-dots {
  display: flex;
}

@media (max-width: 720px) {
  .banner-nav {
    width: 36px;
    height: 36px;
    font-size: 1.2rem;
  }
}
