.section-container {
    padding: 0rem 1rem;
    /*background-color: #f9fafb;*/
}

.content-wrapper {
    width: 95%;
    margin: 0 auto;
}

.google-rating {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 1.5rem;
    margin: 2rem 0;
    text-align: center;
}

.google-rating-logo {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 2rem;
}

.google-rating-logo svg {
    width: 200px;
    height: auto;
}

.rating-text .stars {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.rating-text .stars svg {
    width: 1.8rem;
    height: 1.8rem;
}

.rating-text .number {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.rating-text .source {
    font-size: 1.25rem;
    color: #4b5563;
    margin-top: 0.25rem;
}

.testimonials-grid {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 2rem;
}

.testimonial-card {
    background-color: rgb(245,245,245);
    border-radius: 0.75rem;
    padding: 2rem;
    -webkit-box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    /* Début des modifications pour l'alignement vertical */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    /* Fin des modifications pour l'alignement vertical */
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    min-height: 100%; /* Ajouté pour s'assurer que les cartes s'étirent si le parent est un grid */
}

.testimonial-card .stars {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.testimonial-card .stars svg {
    width: 1rem;
    height: 1rem;
}

.testimonial-card p {
    color: #4b5563;
    font-style: italic;
    margin-bottom: 1.5rem;
    -webkit-box-flex: 1; /* NOUVEAU */
    -ms-flex-positive: 1; /* NOUVEAU */
    flex-grow: 1; /* NOUVEAU : Fait grandir le paragraphe pour pousser l'auteur vers le bas */
}

.testimonial-card .author-info {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.testimonial-card .avatar {
    width: 3rem;
    height: 3rem;
    font-size: 20px;
    background-color: #5D4037;
    border-radius: 9999px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 600;
}

.testimonial-card .author-details {
    margin-left: 1rem;
}

.testimonial-card .author-details .name {
    font-weight: 600;
    color: #1f2937;
}

.testimonial-card .author-details .role {
    font-size: 0.875rem;
    color: #6b7280;
}

@media (min-width: 768px) {
    .google-rating {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 4rem;
        margin: 4rem 0;
    }

    .rating-text {
        text-align: left;
    }

    .rating-text .stars {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }

    .testimonial-card {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(50% - 1rem);
        flex: 1 1 calc(50% - 1rem); /* 2 colonnes avec un écart de 2rem */
    }
}

@media (min-width: 1024px) {
    .testimonial-card {
        -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(33.33% - 1.33rem);
        flex: 1 1 calc(33.33% - 1.33rem); /* 3 colonnes avec un écart de 2rem */
    }
}