/* === Testimonials Section === */

.testimonials-section {
    background-color: var(--black);
    padding-top: 4em;
    color: var(--white);
    padding-bottom: 11.6em;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    align-items: stretch;
}

/* --- Testimonial Cards --- */
.testimonial-card {
    background-color: var(--white);
    border: 1px solid #EAEAEA;
    border-radius: 1.5rem; /* 24px */
    padding: 2rem; /* 32px */
    display: flex;
    flex-direction: column;
    height: 100%;
    /* La section est en noir (var(--black) → blanc), on remet noir DANS la carte blanche */
    color: var(--black);
}

.testimonial-card .quote,
.testimonial-card .author-name {
    color: var(--black);
}

.testimonial-card .author-title {
    color: var(--grey-text);
}


.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars img {
    width: 0.75rem;
    height: 0.75rem;
}

.quote {
    font-family: 'RMNeue-Regular', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}


.author-info-inline {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-family: 'RMMono', sans-serif;
    font-weight: bold;
    margin: 0;
    font-size: 1rem;
}

.author-title {
    font-family: 'RMMono', sans-serif;
    color: var(--grey-text);
    font-size: 0.9rem;
    margin: 0.25rem 0 0 0;
}



/* --- Responsive --- */
@media (max-width: 1024px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding-top: 3em;
        padding-bottom: 5em;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .testimonial-card {
        padding: 1.5rem;
        border-radius: 1.25rem;
    }

    .quote {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
}
