/* Estilos melhorados para a seção de depoimentos */
.testimonials-section {
    background-color: #f8f9fa;
    padding: var(--spacing-xl) 0;
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10 0C4.5 0 0 4.5 0 10s4.5 10 10 10 10-4.5 10-10S15.5 0 10 0zm0 18c-4.4 0-8-3.6-8-8s3.6-8 8-8 8 3.6 8 8-3.6 8-8 8z" fill="%234A90E2" opacity="0.05"/></svg>');
    background-size: 80px 80px;
    opacity: 0.5;
    z-index: 0;
}

.testimonials-slider {
    position: relative;
    padding: 30px 0;
    z-index: 1;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 30px;
    display: flex;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 120px;
    font-family: Georgia, serif;
    color: rgba(74, 144, 226, 0.1);
    line-height: 1;
}

.testimonial-image {
    flex: 0 0 120px;
    margin-right: 30px;
    position: relative;
}

.testimonial-image img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-content {
    flex: 1;
    position: relative;
}

.testimonial-rating {
    margin-bottom: 15px;
    color: #FFD700;
    font-size: 18px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.7;
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--black);
}

.testimonial-author p {
    font-size: 16px;
    color: var(--primary-color);
    margin: 0;
}

.testimonial-controls {
    margin-top: 30px;
}

.prev-testimonial,
.next-testimonial {
    background-color: var(--white);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.prev-testimonial:hover,
.next-testimonial:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.testimonial-dots {
    display: flex;
    align-items: center;
}

.testimonial-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.testimonial-dots .dot.active {
    background-color: var(--primary-color);
    transform: scale(1.3);
}

/* Responsividade para dispositivos menores */
@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .testimonial-image {
        margin: 0 auto 20px;
    }
    
    .testimonial-text {
        font-size: 16px;
    }
}
