/* REVIEWS - Premium Testimonials */

.section__reviews{
    /* Leave some breathing room above fixed footer */
    padding: 100px 5% 40px;
    background: transparent;
    position: relative;
}

.reviews__title{
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--colorHeading);
    margin-bottom: var(--spacing-md);
}

.reviews__description{
    color: var(--colorText);
    max-width: 600px;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.7;
    margin-top: var(--spacing-sm);
    opacity: 0.9;
}

.reviews__cards{
    margin-top: var(--spacing-2xl);
}
/* rétrécit la largeur des cartes pour un rendu plus compact */
.reviews__cards .row{
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 55px; /* espace horizontal et vertical entre cartes */
    grid-auto-rows: auto; /* HAUTEUR AUTO */
}
/* Colonnes fluides (on neutralise les largeurs flex) */
.reviews__cards .col-lg-4{ width: auto; display: block; }

/* Les cartes ont leur hauteur naturelle */
.reviews__cards .reviews__card{ height: auto; }

@media only screen and (max-width: 1300px) {
    .reviews__cards .row{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media only screen and (max-width: 1000px) {
    .reviews__cards .row{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media only screen and (max-width: 700px) {
    .reviews__cards .row{ grid-template-columns: 1fr; }
}

/* Meta: date en haut à droite */
.reviews__date{
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 12px;
    color: var(--colorTextDark);
    opacity: 0.75;
}

/* Footer produit acheté */
.reviews__product{
    margin-top: 1px;
    margin-bottom: 0;
    padding-top: 6px;
    padding-bottom: 8px;
    border-top: 1px solid var(--borderGlass);
    font-size: 13.5px;
    color: var(--colorTextDark);
    display: flex;
    align-items: center;
    gap: 8px;
    line-height: 1.2;
}
.reviews__product__dot{
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--colorMainGradient);
}

.reviews__card{
    background: var(--glassBackground);
    border: 1px solid var(--borderGlass);
    border-radius: var(--radius-xl);
    padding: 18px 18px 0; /* AUCUN padding bas */
    margin-bottom: 0;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: var(--transitionMedium);
    box-shadow: var(--shadowSm);
    min-height: 140px; /* plus compact */
    position: relative; /* pour la date en haut à droite */
}

.reviews__card:hover {
    background: var(--glassBackgroundHover);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadowMd);
}

.reviews__card__name{
    font-size: 17px;
    font-weight: 600;
    color: var(--colorHeading);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.reviews__stars{
    margin-bottom: 10px;
    display: flex;
    gap: 4px;
}

.reviews__stars svg {
    width: 20px;
    height: 20px;
}

.reviews__card__review{
    color: var(--colorText);
    font-weight: 400;
    font-size: 14.5px;
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 4px;
}

.reviews__negative path{
    stroke: var(--colorText)!important;
}

@media only screen and (max-width: 1100px) {
    .section__reviews{
        padding: 40px 5% 24px;
    }

    .reviews__title{
        font-size: 38px;
    }

    .reviews__description{
        width: 100%;
        font-size: 14px;
        padding-top: 5px;
    }
}
