/**
 * Estilos para o carrossel de depoimentos
 * Ben Seg Segurança Patrimonial
 */

/* Carrossel de depoimentos */
.testimonials-section {
    padding: 80px 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 120px;
    color: rgba(166, 43, 12, 0.1);
    font-family: Georgia, serif;
}

.testimonial-slider {
    padding: 20px 0;
}

.testimonial-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    margin: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary);
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-card .quote {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-card .client-info {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.testimonial-card .client-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 15px;
    border: 3px solid #f5f5f5;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-card .client-details {
    flex: 1;
}

.testimonial-card .client-details h5 {
    margin-bottom: 5px;
    color: var(--dark);
    font-weight: 600;
}

.testimonial-card .client-details .position {
    color: #777;
    font-size: 0.9rem;
}

/* Estrelas de avaliação */
.rating {
    margin-bottom: 15px;
    color: #ffc107;
}

.rating i {
    margin-right: 3px;
}

/* Controles do carrossel */
.slick-prev,
.slick-next {
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    border-radius: 50%;
    z-index: 10;
    transition: all 0.3s ease;
}

.slick-prev:hover,
.slick-next:hover {
    background-color: var(--primary);
    opacity: 0.9;
}

.slick-prev:before,
.slick-next:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
}

.slick-prev:before {
    content: '\f104';
}

.slick-next:before {
    content: '\f105';
}

.slick-dots {
    bottom: -40px;
}

.slick-dots li button:before {
    font-size: 12px;
    color: var(--primary);
    opacity: 0.3;
}

.slick-dots li.slick-active button:before {
    opacity: 1;
    color: var(--primary);
}

/* Animação de carrossel infinito */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slick-active .testimonial-card {
    animation: fadeInRight 0.5s ease-out forwards;
}

/* Responsividade */
@media (max-width: 767.98px) {
    .testimonial-card {
        padding: 20px;
        margin: 10px;
    }
    
    .testimonial-card .quote {
        font-size: 1rem;
    }
    
    .testimonial-card .client-info img {
        width: 60px;
        height: 60px;
    }
}