/* Testimonials Section - MAPA OCUPANDO TUDO */
.testimonials {
    background: 
        linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
        url('../images/testmonials/testimonials-bg.png') center/cover no-repeat;
    position: relative;
    padding: 0;
    min-height: 52vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding-bottom: 0;
}

.testimonials .container {
    width: 100%;
    height: 100%;
    padding: 0;
}

.testimonials-slider {
    position: relative;
    width: 100%;
    height: 52vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-slide {
    text-align: center;
    padding: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-content {
    width: 100%;
    height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Slider Controls - POSICIONE EM BAIXO */
.slider-controls {
    margin-top: auto;
    padding-bottom: 40px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.swiper-pagination {
    position: relative;
    bottom: 0;
}

.swiper-pagination-bullet {
    width: 14px;
    height: 14px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 10px;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: #e74c3c;
    transform: scale(1.3);
}

/* Clients Section - REMOVER FAIXA BRANCA */
.clients {
    background: #151c23;
    padding: 0 !important; /* REMOVE TODO O PADDING */
    margin-top: 0 !important; /* REMOVE MARGIN SUPERIOR */
    position: relative;
    overflow: hidden;
}

/* Garantir que o carrossel fique colado */
.clients-slider {
    margin-top: 0;
    padding-top: 0;
}

/* Scroll suave para navegação COM AJUSTE */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px; /* Compensa a altura do header fixo */
}

/* Anchor adjustment para scroll preciso */
.testimonials {
    scroll-margin-top: 50px; /* Mesma altura do header */
}

/* MOBILE */
@media (max-width: 768px) {
    .testimonials {
        min-height: 40vh;
        height: auto;
    }
    
    .testimonials-slider {
        height: 40vh;
    }
    
    .slider-controls {
        padding-bottom: 30px;
    }
    
    /* Ajuste mobile para scroll */
    html {
        scroll-padding-top: 70px;
    }
    
    .testimonials {
        scroll-margin-top: 70px;
    }
}

@media (max-width: 480px) {
    .testimonials {
        min-height: 35vh;
    }
    
    .testimonials-slider {
        height: 35vh;
    }
    
    .slider-controls {
        padding-bottom: 20px;
    }
    
    .swiper-pagination-bullet {
        width: 12px;
        height: 12px;
        margin: 0 8px;
    }
    
    /* Ajuste mobile menor para scroll */
    html {
        scroll-padding-top: 60px;
    }
    
    .testimonials {
        scroll-margin-top: 60px;
    }
}

/* REMOVER ESPAÇOS EXTRAS ENTRE SECTIONS */
.testimonials + .clients {
    margin-top: 0;
    padding-top: 0;
}

/* Garantir que não haja gaps */
section {
    box-sizing: border-box;
}