/* Container do slider */
.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Slides wrapper */
.slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 300%; /* 3 slides */
    height: 100%;
}

/* Cada slide */
.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Legendas */
.caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    max-width: 600px;
}
.caption h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
.caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.caption .btn {
    display: inline-block;
    background: #007bff;
    padding: 12px 24px;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: background 0.3s;
}
.caption .btn:hover {
    background: #0056b3;
}

/* Setas */
.arrows span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    padding: 10px;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    transition: background 0.3s;
}
.arrows span:hover {
    background: rgba(0,0,0,0.6);
}
.prev { left: 20px; }
.next { right: 20px; }

/* Bolinhas */
.dots {
    position: absolute;
    bottom: 20px;
    width: 100%;
    text-align: center;
}
.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    display: inline-block;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: background 0.3s;
}
.dot.active, .dot:hover {
    background: #007bff;
}

/* Responsivo */
@media (max-width: 768px) {
    .caption h1 {
        font-size: 1.8rem;
    }
    .caption p {
        font-size: 1rem;
    }
}
