/* Seção de Depoimentos - Design Premium */
.testimonials-section {
    position: relative;
    padding: 120px 0;
    background-color: #ffffff;
    overflow: hidden;
}

/* Container principal */
.testimonials-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

/* Efeito de fundo sutil */
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40' fill='%2380D8D0' opacity='0.04'%3E%3Cpath d='M20,0 C22,10 30,12 40,20 C30,28 22,30 20,40 C18,30 10,28 0,20 C10,12 18,10 20,0 Z'/%3E%3C/svg%3E");
    background-size: 60px 60px;
    background-repeat: repeat;
    opacity: 0.07;
    z-index: -1;
    pointer-events: none;
}


/* Cabeçalho elegante */
.testimonials-header {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.testimonials-subtitle {
    display: inline-block;
    font-family: 'santral', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    margin-bottom: 12px;
    position: relative;
    padding: 0 10px;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.2s;
}

.testimonials-subtitle::before,
.testimonials-subtitle::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background-color: var(--primary-color);
    opacity: 0.6;
}

.testimonials-subtitle::before {
    right: 100%;
    margin-right: 15px;
}

.testimonials-subtitle::after {
    left: 100%;
    margin-left: 15px;
}

.testimonials-title {
    font-family: 'cormorant-garamond', serif;
    font-size: 3.5rem;
    font-weight: 400;
    color: #333;
    margin: 0 0 25px;
    line-height: 1.1;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonials-divider {
    position: relative;
    width: 100%;
    max-width: 180px;
    height: 1px;
    background: linear-gradient(to right, rgba(128, 216, 208, 0), rgba(128, 216, 208, 0.5), rgba(128, 216, 208, 0));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-flower {
    font-size: 1.2rem;
    color: var(--primary-color);
    background-color: #fff;
    padding: 0 15px;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.6s;
}

/* Depoimento destaque */
.testimonial-spotlight {
    margin-bottom: 20px;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.6s;
}

.testimonial-content {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 50px 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
    border-left: 4px solid var(--primary-color);
    transition: all 0.4s ease;
}

.testimonial-content:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.testimonial-quote-icon {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='40' height='40' fill='%2380D8D0' opacity='0.2'%3E%3Cpath d='M9.983 3v7.391c0 5.704-3.731 9.57-8.983 10.609l-.995-2.151c2.432-.917 3.995-3.638 3.995-5.849h-4v-10h9.983zm14.017 0v7.391c0 5.704-3.748 9.571-9 10.609l-.996-2.151c2.433-.917 3.996-3.638 3.996-5.849h-3.983v-10h9.983z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.7;
}

/* Grid de depoimentos */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto auto;
    gap: 30px;
    opacity: 0;
    animation: fadeIn 0.8s forwards 0.8s;
}

.testimonial-card {
    position: relative;
    background-color: #ffffff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 20px;
    font-family: 'Georgia', serif;
    font-size: 60px;
    line-height: 1;
    color: var(--primary-color);
    opacity: 0.15;
}

.testimonial-card.featured {
    grid-column: span 2;
    background: linear-gradient(135deg, #ffffff, #f9fdfb);
    border-bottom: 3px solid var(--primary-color);
}

/* Estilos para mensagens e autor */
.testimonial-message {
    font-family: 'cormorant-garamond', serif;
    font-size: 1.15rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 0.01em;
}

.testimonial-spotlight .testimonial-message {
    font-size: 1.3rem;
    margin-left: 30px;
    max-width: 90%;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: auto;
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.testimonial-rating .fas {
    color: #D4AF37;
    font-size: 14px;
    transition: all 0.3s ease;
}

.testimonial-card:hover .testimonial-rating .fas {
    transform: scale(1.1);
}

.author-name {
    font-family: 'santral', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    letter-spacing: 0.03em;
}

/* Texto do depoimento */
.testimonial-text {
    font-family: 'cormorant-garamond', serif;
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 30px;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    letter-spacing: 0.02em;
}

.testimonial-feature .testimonial-text {
    font-size: 1.5rem;
    max-width: 90%;
}

.testimonial-card.secondary .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Rodapé do cartão */
.testimonial-footer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid rgba(128, 216, 208, 0.15);
    padding-top: 20px;
    margin-top: auto;
    position: relative;
}

.testimonial-feature .testimonial-footer {
    border-top: 1px solid rgba(128, 216, 208, 0.25);
}

.testimonial-footer::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.4s ease;
}

.testimonial-feature:hover .testimonial-footer::before,
.testimonial-card:hover .testimonial-footer::before {
    width: 60px;
}

/* Estrelas */
.testimonial-stars {
    margin-bottom: 10px;
    display: flex;
}

.testimonial-stars .fas {
    background: linear-gradient(to right, #FFD700, #FFC107);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-right: 3px;
    font-size: 0.9rem;
    filter: drop-shadow(0 1px 2px rgba(255, 215, 0, 0.2));
    transition: transform 0.3s ease;
}

.testimonial-feature .testimonial-stars .fas {
    font-size: 1rem;
}

.testimonial-feature:hover .testimonial-stars .fas,
.testimonial-card:hover .testimonial-stars .fas {
    animation: starPulse 1s ease-in-out;
}

@keyframes starPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.testimonial-stars .fas:nth-child(1) { animation-delay: 0s; }
.testimonial-stars .fas:nth-child(3) { animation-delay: 0.2s; }
.testimonial-stars .fas:nth-child(4) { animation-delay: 0.3s; }
.testimonial-stars .fas:nth-child(5) { animation-delay: 0.4s; }

/* Container principal de depoimentos */
.testimonials-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Responsividade */
@media (max-width: 1200px) {
    .testimonials-container {
        padding: 0 30px;
    }
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
    }
    
    .testimonial-content {
        padding: 40px 40px 40px 50px;
    }
    
    .testimonial-spotlight .testimonial-message {
        font-size: 1.2rem;
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 80px 0;
    }
    
    .testimonials-header {
        margin-bottom: 50px;
    }
    
    .testimonials-title {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-card.featured {
        grid-column: span 1;
    }
    
    .testimonial-content {
        padding: 35px 30px 35px 40px;
    }
    
    .testimonial-card {
        padding: 35px 30px;
    }
}

@media (max-width: 576px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-container {
        padding: 0 20px;
    }
    
    .testimonials-title {
        font-size: 2.5rem;
    }
    
    .testimonial-content {
        padding: 30px 25px 30px 35px;
    }
    
    .testimonial-spotlight .testimonial-message {
        font-size: 1.1rem;
        margin-left: 15px;
    }
    
    .testimonial-message {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 30px 25px;
    }
}
