/* =================================================================
   TESTIMONIALS SECTION - APE TECHNOLOGY (VERSÃO FINAL CORRIGIDA)
================================================================= */
.testimonials-section .section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    align-items: stretch; /* Garante que os cards na mesma linha tenham a mesma altura */
}

.testimonial-card {
    background-color: var(--bg-card);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(100, 255, 218, 0.25);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center; /* Garante que tudo dentro fique centralizado */
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-green);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}



.testimonial-card > * {
    position: relative;
    z-index: 2;
}

.testimonial-card img {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 25px;
    border: 3px solid var(--accent-green);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.3);
}

.testimonial-text {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-lightest);
    /* ALTERAÇÃO-CHAVE: Removemos o flex-grow daqui */
}

.client-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%; /* Garante que ocupe todo o espaço horizontal */
    margin-top: auto; /* EMPURRA ESTE ELEMENTO PARA O FINAL DO CARD */
    padding-top: 25px; /* Garante um espaço mínimo do texto acima */
}

.client-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-lightest);
}

.client-title {
    font-size: 0.9rem;
    color: var(--accent-blue);
}

@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}