/* ========================================== */
/* ===== SEÇÃO CARROSSEL ===== */
/* ========================================== */

.carousel-container {
    position: relative;
    width: 100%;
    max-height: 580px;
    overflow: hidden;
    background: #1a1a1a;
}

.carousel-slide {
    display: none;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.carousel-slide.active {
    display: block;
    animation: fade 0.8s ease;
}

@keyframes fade {
    0% { opacity: 0.2; }
    100% { opacity: 1; }
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    max-height: 580px;
    display: block;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    color: #fff;
}

.carousel-overlay h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    letter-spacing: 1px;
    max-width: 900px;
}

.carousel-overlay h1 span {
    color: #d4a843;
}

.carousel-overlay p {
    font-size: 1.2rem;
    max-width: 720px;
    margin-bottom: 28px;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    line-height: 1.5;
}

.carousel-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
}

.carousel-buttons .btn {
    padding: 14px 38px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.btn-primary {
    background: #b8860b;
    color: #fff;
}

.btn-primary:hover {
    background: #a0750a;
    transform: scale(1.03);
}

/* Botão WhatsApp / Entre no Grupo */
.btn-success {
    background: #0B6B3A;
    border: 2px solid #0B6B3A;
    color: #fff;
    font-weight: 600;
    transition: all .3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
}

.btn-success:hover {
    background: #0E8A4A;
    border-color: #0E8A4A;
    color: #fff;
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(11,107,58,.45);
}

.btn-success:focus,
.btn-success:active {
    background: #095B31 !important;
    border-color: #095B31 !important;
    color: #fff !important;
    box-shadow: 0 0 0 .25rem rgba(11,107,58,.35);
}

/* Controles do Carrossel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 6px;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}

.carousel-control:hover {
    background: rgba(0,0,0,0.7);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: 0.2s;
}

.carousel-dots span.active-dot {
    background: #d4a843;
    transform: scale(1.2);
}

/* ===== RESPONSIVO CARROSSEL ===== */
@media (max-width: 992px) {
    .carousel-overlay h1 {
        font-size: 2.2rem;
    }
    .carousel-overlay p {
        font-size: 1rem;
    }
    .carousel-buttons .btn {
        padding: 12px 28px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .carousel-overlay h1 {
        font-size: 1.8rem;
    }
    .carousel-overlay p {
        font-size: 0.95rem;
    }
    .carousel-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .carousel-buttons .btn {
        width: 80%;
        text-align: center;
    }
    .carousel-control {
        padding: 8px 12px;
        font-size: 1.5rem;
    }
    .carousel-control.prev {
        left: 8px;
    }
    .carousel-control.next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .carousel-overlay h1 {
        font-size: 1.5rem;
    }
    .carousel-overlay p {
        font-size: 0.85rem;
    }
    .carousel-buttons .btn {
        padding: 10px 20px;
        font-size: 0.8rem;
        width: 90%;
    }
}

/* ========================================== */
/* ===== FIM SEÇÃO CARROSSEL ===== */
/* ========================================== */