/* =========================================================
💬 SEÇÃO DEPOIMENTOS (MODIFICADO PARA SLIDE HORIZONTAL)
========================================================= */
.depoimentos-section {
    background: #fff; padding: 80px 5%; text-align: center; color: #333;
    width: 100%; box-sizing: border-box; overflow-x: hidden;
}

.depoimentos-title { font-size: 2rem; color: #ed3056; margin-bottom: 50px; font-weight: 700; }

.depoimentos-carousel {
    position: relative; 
    width: 100%; 
    max-width: 900px; 
    margin: 0 auto;
    overflow: hidden; /* IMPORTANTE: Esconde os slides laterais */
    border-radius: 25px; 
    background: #f9f9f9;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08); 
    /* Padding foi removido daqui e passado para o slide individual */
    border-bottom: 5px solid #ed3056;
}

/* NOVO: O container que se move (baseado em .hero-slides-wrapper) */
.depoimento-slides-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    /* 🔽 MUDANÇA: Velocidade de transição igual ao Hero (0.6s) 🔽 */
    transition: transform 0.6s ease-in-out; 
    will-change: transform;
}

/* MODIFICADO: Estilo do slide individual (baseado em .hero-slider .slide) */
.depoimento {
    flex-shrink: 0;
    width: 100%;
    height: 100%; /* Permite que o wrapper flex defina a altura */
    position: relative;
    display: flex;
    flex-direction: column; /* Empilha texto e usuário */
    justify-content: center;
    align-items: center;
    
    /* MOVIDO: Padding que estava no .depoimentos-carousel */
    padding: 50px 40px; 
    box-sizing: border-box; /* Adicionado para o padding funcionar */
}

.depoimento-text {
    font-size: 1rem; line-height: 1.7; color: #555;
    margin-bottom: 30px; font-style: italic;
    max-width: 750px; margin-left: auto; margin-right: auto;
}

.depoimento-user { display: flex; align-items: center; justify-content: center; gap: 15px; }
.depoimento-user img {
    width: 65px; height: 65px; border-radius: 50%; object-fit: cover;
    border: 3px solid #ed3056;
}
.depoimento-user div { text-align: left; }
.depoimento-user h4 { font-size: 1.1rem; color: #000; margin: 0 0 4px; }
.depoimento-user span { font-size: 0.9rem; color: #777; }

/* RESPONSIVIDADE DEPOIMENTOS */
@media (max-width: 768px) {
    .depoimentos-section { padding: 60px 4%; }
    .depoimentos-title { font-size: 1.6rem; margin-bottom: 40px; }
    
    .depoimentos-carousel { 
        padding-top: 0;
        padding-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .depoimento {
        padding: 40px 20px;
    }
    
    .depoimento-text { font-size: 0.95rem; line-height: 1.6; margin-bottom: 25px; }
    .depoimento-user img { width: 55px; height: 55px; }
    .depoimento-user h4 { font-size: 1rem; }
}

/* =========================================================
   ▶️ SETAS (Estilo copiado do hero.css)
   ========================================================= */

.depoimento-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5; 
    
    background-color: rgba(255, 255, 255, 0.7); 
    color: #ed3056; 
    border: none;
    border-radius: 50%;
    width: 45px; 
    height: 45px; 
    font-size: 2.2rem; 
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease,
                background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.depoimentos-carousel:hover .depoimento-nav {
    opacity: 1;
    visibility: visible;
}

.depoimento-nav:hover {
    background-color: rgba(255, 255, 255, 0.9); 
    color: #d43350; 
    transform: translateY(-50%) scale(1.1); 
}

.depoimento-prev {
    left: 15px; 
}

.depoimento-next {
    right: 15px; 
}

/* Ajuste para mobile (Setas) */
@media (max-width: 768px) {
    .depoimento-nav {
        width: 40px;
        height: 40px;
        font-size: 1.8rem;
    }
    
    .depoimento-prev { left: 10px; }
    .depoimento-next { right: 10px; }
}