
    #reviews {
    background-color: #f8f9fa; /* bg-light */
    padding: 60px 20px;
    font-family: 'Jost', sans-serif;
}

/* Titres */
#reviews .section-heading {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
    text-transform: uppercase;
}

#reviews .section-subheading {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 40px;
}

/* Conteneur d'avis */
.reviews-widget {
    margin: 0 auto;
    flex-wrap: wrap;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}



/* Conteneur haut : photo + nom + note */
.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

/* Image de profil */
.review-pp {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.review-pp img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* Métadonnées : nom + note */
.review-meta {
    display: flex;
    flex-direction: column;
}

/* Nom de l’auteur */
.review-author {
    font-weight: bold;
    color: #222;
    font-size: 16px;
    margin-bottom: 2px;
}

/* Note */
.review-rating {
    color: var(--color-3, #f5c518);
    font-size: 15px;
}

/* Texte de l’avis */
.review-text {
    font-style: italic;
    color: #555;
    font-size: 16px;
    margin-top: 5px;
}

/* Review card */
.review {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: white;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    max-width: 300px;
    min-width: 250px;
    height: 100%;

    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, background-color 0.6s ease, color 0.6s ease;
}

.review-hidden {
    display: none !important;
}

.review-visible {
    display: block;
    opacity: 0;
    transform: translateY(20px);
}

.review-visible.show {
    opacity: 1;
    transform: translateY(0);
}


.review:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.1);
    background-color: var(--color-3);
    color: white;
}

.review:hover .review-text {
    color: white;
}
.review:hover .review-author {
    color: white;
}
.review:hover .review-rating {
    color: white;
}
.review:hover .review-pp {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.review:hover .review-pp img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

hr {
    border: 0;
    height: 1px;
    background-color: #e0e0e0;
    margin: 20px 0;
}
.see-more-reviews {
    text-align: center;
    margin-top: 30px;
}

.see-more-reviews a,
.see-more-reviews button {
    margin: 20px auto;
  display: block;
  padding: 10px 20px;
  background-color: var(--color-3);
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.see-more-reviews a:hover,
.see-more-reviews button:hover {
    background: var(--color-4);
    transform: translateY(-2px);
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.see-more-reviews a:active {
    background-color: var(--color-4);
    transform: translateY(0);
}

.review-text,
.review-author,
.review-rating {
    transition: color 0.6s ease;
}

@media screen and (max-width: 1650px) {
   
    .reviews-widget {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        align-items: stretch;
    }

    .review {
        min-width: 250px;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: auto;
    }
    

    .review-text {
        font-size: 16px;
    }
    .review-header {
        gap: 10px;
    }
    
}

@media screen and (max-width: 1200px) {
    .reviews-widget {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        max-height: 100%;
    }

    .review {
        flex: 1 1 calc(50% - 40px);
        min-width: 250px;
        max-width: 100%;
        min-height: 220px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: auto;
    }

    .review-text {
        font-size: 16px;
        flex-grow: 1;
    }
}


@media screen and (max-width: 600px) {
    .reviews-widget {
        flex-direction: column;
        align-items: stretch;
    }

    .review {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        min-height: 220px; /* hauteur minimale si tu veux une base égale */
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: auto;
    }

    .review-text {
        font-size: 15px;
        flex-grow: 1; /* Permet d'occuper l’espace restant */
    }
    
}