/* ===== CARROSSEL DEPOIMENTOS 4 - APENAS IMAGENS ===== */

/* Section Principal */
.depoimentos-section-4 {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

/* Header da Section */
.section-header-4 {
    text-align: center;
    margin-bottom: 50px;
}

.section-title-4 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    position: relative;
}

.section-title-4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3498db, #2980b9);
    border-radius: 2px;
}

.section-subtitle-4 {
    font-size: 1.1rem;
    color: #6c757d;
    margin: 0;
    font-weight: 400;
}

/* Container do Carrossel */
.carousel-container-4 {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.carousel-wrapper-4 {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-track-4 {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item-4 {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item-4.active {
    opacity: 1;
}

/* Container das Imagens */
.depoimento-image-container-4 {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    background: #fff;
    min-height: 400px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.depoimento-image-container-4:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Imagens dos Depoimentos */
.depoimento-image-4 {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    border-radius: 8px;
}

.depoimento-image-container-4:hover .depoimento-image-4 {
    transform: scale(1.02);
}

/* Slots Vazios */
.empty-slot-4 {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-style: italic;
}

/* Navegação */
.carousel-nav-4 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
    color: #2c3e50;
}

.carousel-nav-4:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    color: #3498db;
}

.carousel-nav-4:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev-4 {
    left: -25px;
}

.carousel-next-4 {
    right: -25px;
}

/* Indicadores */
.carousel-indicators-4 {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.indicator-4 {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator-4:hover {
    background: #adb5bd;
    transform: scale(1.2);
}

.indicator-4.active {
    background: #3498db;
    transform: scale(1.3);
}

/* Responsividade */
@media (max-width: 1200px) {
    .carousel-nav-4 {
        width: 45px;
        height: 45px;
    }
    
    .carousel-prev-4 {
        left: -22px;
    }
    
    .carousel-next-4 {
        right: -22px;
    }
}

@media (max-width: 992px) {
    .section-title-4 {
        font-size: 2rem;
    }
    
    .depoimento-image-container-4 {
        min-height: 350px;
        height: auto;
    }
    
    .carousel-nav-4 {
        width: 40px;
        height: 40px;
    }
    
    .carousel-prev-4 {
        left: -20px;
    }
    
    .carousel-next-4 {
        right: -20px;
    }
}

@media (max-width: 768px) {
    .depoimentos-section-4 {
        padding: 40px 0;
    }
    
    .section-title-4 {
        font-size: 1.8rem;
    }
    
    .section-subtitle-4 {
        font-size: 1rem;
    }
    
    .depoimento-image-container-4 {
        min-height: 300px;
        height: auto;
    }
    
    .carousel-nav-4 {
        width: 35px;
        height: 35px;
    }
    
    .carousel-prev-4 {
        left: -17px;
    }
    
    .carousel-next-4 {
        right: -17px;
    }
    
    .carousel-indicators-4 {
        margin-top: 20px;
    }
}

@media (max-width: 576px) {
    .section-title-4 {
        font-size: 1.5rem;
    }
    
    .depoimento-image-container-4 {
        min-height: 250px;
        height: auto;
    }
    
    .carousel-nav-4 {
        width: 30px;
        height: 30px;
    }
    
    .carousel-prev-4 {
        left: -15px;
    }
    
    .carousel-next-4 {
        right: -15px;
    }
    
    .indicator-4 {
        width: 10px;
        height: 10px;
    }
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-item-4.active {
    animation: fadeIn 0.5s ease-out;
}

/* Estados de Loading */
.carousel-container-4.loading {
    opacity: 0.7;
    pointer-events: none;
}

.carousel-container-4.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
