/* ======= SLIDER ======= */
.slider {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    background: #000;
}

/* Cada slide deve ocupar a mesma posição na tela */
.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

/* ======= Legendas ======= */
.caption {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    text-align: center;
    z-index: 2;
}

.caption h2 {
    font-size: 2rem;
    color: #f5811e;
    margin-bottom: 10px;
}

.caption p {
    font-size: 1.1rem;
}

/* ======= Botões ======= */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #f5811e;
    border: none;
    font-size: 2rem;
    padding: 10px 18px;
    cursor: pointer;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 10;
}

.prev:hover, .next:hover {
    background-color: rgba(245, 129, 30, 0.8);
    color: #111;
}

.prev { left: 25px; }
.next { right: 25px; }

/* ======= Indicadores ======= */
.indicators {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicators span {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.indicators span.active {
    background: #f5811e;
    transform: scale(1.3);
}


/* Responsividade */
@media (max-width: 900px) {
    .prev, .next {
        font-size: 1rem;
        border-radius: 90px; /* cantos suavemente arredondados */
    }
}