/* Banner Slider (abaixo do header fixo) */
.banner-slider {
    position: relative;
    margin-top: 80px;
    overflow: hidden;
    background-color: var(--color-primary);
    aspect-ratio: 2000 / 760;
}

.banner-slider + .hero {
    padding-top: 4rem;
}

.banner-track {
    display: flex;
    height: 100%;
    transition: transform 0.7s cubic-bezier(0.65, 0, 0.35, 1);
    touch-action: pan-y;
}

.banner-slide {
    flex: 0 0 100%;
    height: 100%;
}

.banner-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(13, 27, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    cursor: pointer;
    opacity: 0;
    transition: var(--transition-fast);
}

.banner-slider:hover .banner-arrow,
.banner-arrow:focus-visible {
    opacity: 1;
}

.banner-arrow:hover {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}

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

.banner-dots {
    position: absolute;
    left: 50%;
    bottom: 1rem;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 0.5rem;
}

.banner-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.45);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.banner-dot.active {
    width: 28px;
    background-color: var(--color-gold);
}

@media (max-width: 768px) {
    .banner-slider {
        margin-top: 70px;
    }

    .banner-slider + .hero {
        padding-top: 0;
    }

    .banner-arrow {
        display: none;
    }

    .banner-dots {
        bottom: 0.5rem;
    }

    .banner-dot {
        width: 8px;
        height: 8px;
    }

    .banner-dot.active {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .banner-slider {
        margin-top: 64px;
    }
}

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

/* Versão vertical do banner no celular (<picture> troca a imagem) */
.banner-slide picture {
    display: block;
    height: 100%;
}

@media (max-width: 600px) {
    .banner-slider {
        aspect-ratio: 800 / 1119;
    }

    .banner-dots {
        bottom: 0.875rem;
    }

    .banner-dot {
        width: 9px;
        height: 9px;
    }

    .banner-dot.active {
        width: 24px;
    }
}