.testimonials { position: relative; isolation: isolate; overflow: hidden; padding: 96px 0 92px; color: var(--lunar-pearl); background: radial-gradient(ellipse 62% 52% at 50% 12%, rgba(128, 153, 182, .12), transparent 72%), linear-gradient(180deg, #050e1a 0%, #081523 42%, #06101c 100%); }
.testimonials__glow { position: absolute; z-index: -1; top: 20%; left: 50%; width: min(72vw, 920px); height: 360px; transform: translateX(-50%); border-radius: 50%; background: rgba(159, 181, 206, .045); filter: blur(72px); pointer-events: none; }
.testimonials__header { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.testimonials__eyebrow { margin: 0 0 13px; color: var(--lunar-silver-blue); font-size: 13px; font-weight: 600; letter-spacing: .22em; }
.testimonials__title { margin: 0; color: var(--lunar-pearl); font-family: var(--serif); font-size: clamp(47px, 4.3vw, 62px); font-weight: 500; line-height: 1; letter-spacing: -.025em; }
.testimonials__intro { max-width: 650px; margin: 21px auto 0; color: #c4d0dc; font-size: 17px; line-height: 1.62; }
.testimonials__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.testimonial { position: relative; min-width: 0; margin: 0; padding: 10px clamp(30px, 3.2vw, 48px) 4px; }
.testimonial + .testimonial { border-left: 1px solid rgba(191, 207, 224, .18); }
.testimonial__mark { display: block; height: 50px; color: rgba(210, 224, 239, .52); font-family: var(--serif); font-size: 76px; font-weight: 500; line-height: .9; }
.testimonial__quote { margin: 17px 0 30px; color: #e3eaf1; font-family: var(--serif); font-size: clamp(19px, 1.45vw, 22px); line-height: 1.48; }
.testimonial__footer { display: flex; flex-direction: column; gap: 5px; }
.testimonial__author { color: var(--lunar-pearl); font-family: var(--sans); font-size: 15px; font-style: normal; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.testimonial__source { color: var(--lunar-silver-dark); font-size: 14px; }
.testimonials__empty { max-width: 680px; margin: 0 auto; padding: 34px 38px; border: 1px solid rgba(196, 211, 227, .18); color: #d9e2eb; background: rgba(225, 235, 245, .025); font-family: var(--serif); font-size: 22px; line-height: 1.45; text-align: center; box-shadow: 0 18px 50px rgba(0, 0, 0, .12), inset 0 1px 0 rgba(255, 255, 255, .025); }
.testimonials__action { display: flex; justify-content: center; margin-top: 38px; }
.testimonials__cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 3px 9px; border-bottom: 1px solid rgba(203, 217, 232, .46); color: var(--lunar-silver-light); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-decoration: none; transition: color .2s ease, border-color .2s ease; }
.testimonials__cta span { font-size: 16px; line-height: 1; }
.testimonials__cta:hover { border-color: var(--lunar-pearl); color: #fff; }
.testimonials__cta:focus-visible { outline: 2px solid var(--lunar-pearl); outline-offset: 6px; }
.testimonials__review-invite { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; margin-top: 54px; padding: 30px 34px; border-top: 1px solid rgba(196, 211, 227, .22); border-bottom: 1px solid rgba(196, 211, 227, .12); background: rgba(218, 230, 242, .025); }
.testimonials__review-copy { max-width: 690px; }
.testimonials__review-eyebrow { margin: 0 0 8px; color: var(--lunar-silver-blue); font-size: 12px; font-weight: 600; letter-spacing: .18em; }
.testimonials__review-title { margin: 0; color: var(--lunar-pearl); font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; }
.testimonials__review-text { margin: 11px 0 0; color: #aebdcb; font-size: 15.5px; line-height: 1.55; }
.testimonials__review-button { display: inline-flex; min-height: 48px; padding: 13px 20px; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--lunar-silver-light); color: var(--lunar-night); background: linear-gradient(125deg, var(--lunar-pearl), #dce5ee 52%, var(--lunar-silver-blue)); font-size: 13px; font-weight: 700; letter-spacing: .08em; text-align: center; text-decoration: none; box-shadow: inset 0 1px 0 #fff, 0 7px 18px rgba(0, 0, 0, .2); transition: background .2s ease, box-shadow .2s ease, transform .2s ease; }
.testimonials__review-button:hover { background: linear-gradient(125deg, #fff, #e8eff6 52%, #c7d5e4); box-shadow: inset 0 1px 0 #fff, 0 10px 22px rgba(0, 0, 0, .25); transform: translateY(-1px); }
.testimonials__review-button:focus-visible { outline: 3px solid var(--lunar-pearl); outline-offset: 4px; }
@media (max-width: 900px) {
    .testimonials { padding: 80px 0 78px; }
    .testimonials__grid { grid-template-columns: 1fr; max-width: 700px; margin-inline: auto; }
    .testimonial { padding: 31px 22px 34px; }
    .testimonial + .testimonial { border-top: 1px solid rgba(191, 207, 224, .18); border-left: 0; }
    .testimonials__review-invite { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 640px) {
    .testimonials { padding: 66px 0 64px; }
    .testimonials__header { margin-bottom: 38px; text-align: left; }
    .testimonials__eyebrow { font-size: 12px; }
    .testimonials__title { font-size: clamp(42px, 12vw, 48px); line-height: .98; }
    .testimonials__intro { margin-top: 18px; font-size: 17px; line-height: 1.56; }
    .testimonial { padding: 27px 4px 30px; }
    .testimonial__mark { height: 37px; font-size: 58px; }
    .testimonial__quote { margin: 12px 0 23px; font-size: 19px; }
    .testimonials__empty { padding: 27px 22px; font-size: 20px; }
    .testimonials__action { margin-top: 32px; }
    .testimonials__cta { font-size: 12.5px; }
    .testimonials__review-invite { gap: 22px; margin-top: 42px; padding: 27px 20px; }
    .testimonials__review-title { font-size: 25px; }
    .testimonials__review-text { font-size: 16px; }
    .testimonials__review-button { width: 100%; min-height: 50px; }
}
@media (prefers-reduced-motion: reduce) { .testimonials__cta { transition: none; } }
.testimonials--spiriteo { border-top: 1px solid rgba(211, 185, 126, .14); background: radial-gradient(ellipse 75% 45% at 50% 25%, rgba(96, 124, 158, .09), transparent 75%), linear-gradient(180deg, #020713, #07101e); }
.testimonials--spiriteo .testimonials__header { margin-bottom: clamp(38px, 5vw, 64px); }
.testimonials--spiriteo .testimonials__grid { align-items: start; gap: 26px; }
.testimonials--spiriteo .testimonial { display: flex; flex-direction: column; padding: clamp(28px, 2.8vw, 38px); border: 1px solid rgba(211, 185, 126, .22); border-radius: 18px; background: radial-gradient(ellipse at top left, rgba(185, 201, 220, .07), transparent 65%), linear-gradient(145deg, #101e30, #091321); box-shadow: 0 16px 36px rgba(0, 0, 0, .18), inset 0 1px 0 rgba(247, 244, 238, .05); }
.testimonials--spiriteo .testimonial::before { content: "\201C" / ""; position: absolute; top: 12px; right: 22px; color: rgba(211, 185, 126, .13); font-family: var(--serif); font-size: 92px; line-height: 1; pointer-events: none; }
.testimonials--spiriteo .testimonial__quote { margin: 25px 0 28px; color: #f1ede5; font-size: clamp(20px, 1.55vw, 22px); line-height: 1.62; overflow-wrap: anywhere; }
.testimonials--spiriteo .testimonial__footer { gap: 8px; margin-top: 0; padding-top: 22px; border-top: 1px solid rgba(211, 185, 126, .18); }
.testimonials--spiriteo .testimonial__author { color: #f7f4ee; font-size: 17px; font-weight: 600; letter-spacing: .025em; text-transform: none; }
.testimonials--spiriteo .testimonial__rating { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; color: #aab8c9; font-size: 13px; }
.testimonials--spiriteo .testimonial__rating > span:first-child { color: var(--gold); font-size: 22px; letter-spacing: .14em; text-shadow: 0 0 16px rgba(245, 189, 43, .12); }
.testimonials--spiriteo .testimonial__date { color: #aab8c9; font-size: 14px; }
.testimonials--spiriteo .testimonial__source { align-self: flex-start; max-width: 100%; box-sizing: border-box; margin-top: 6px; padding: 6px 11px; border: 1px solid rgba(211, 185, 126, .18); border-radius: 20px; color: #d8c9a8; background: rgba(211, 185, 126, .05); font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
    .testimonials--spiriteo .testimonial:hover { border-color: rgba(211, 185, 126, .36); box-shadow: 0 18px 40px rgba(0, 0, 0, .2), 0 0 26px rgba(211, 185, 126, .04), inset 0 1px 0 rgba(247, 244, 238, .08); }
}
@media (max-width: 640px) {
    .testimonials--spiriteo .testimonials__grid { gap: 22px; }
    .testimonials--spiriteo .testimonial { padding: 26px 22px; border-radius: 15px; }
    .testimonials--spiriteo .testimonial__quote { margin-top: 22px; font-size: 20px; line-height: 1.6; }
}

/* Avis Google : limite visuelle des commentaires longs */
.testimonials--google .testimonial__quote {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5;
    line-clamp: 5;
}
/* Avis Google — harmonisation visuelle */
.testimonials--google {
    padding-top: 35px;
    padding-bottom: 30px;
}

.testimonials--google .testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}

.testimonials--google .testimonial {
    height: 100%;
    min-height: 390px;
    display: flex;
    flex-direction: column;
}

.testimonials--google .testimonial__quote {
    flex: 1;
    min-height: 8em;
}

.testimonials--google .testimonial__footer {
    margin-top: auto;
}

@media (max-width: 900px) {
    .testimonials--google .testimonials__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .testimonials--google .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .testimonials--google .testimonial {
        min-height: 0;
    }
}
/* Page complète des avis Google */
.testimonials--all-google .testimonial {
    height: auto;
    min-height: 0;
}

.testimonials--all-google .testimonial__quote {
    display: block;
    overflow: visible;
    min-height: 0;
    -webkit-line-clamp: unset;
    line-clamp: unset;
}

.testimonials--all-google .testimonial__footer {
    margin-top: auto;
}

.testimonials--all-google .testimonial__quote--rating-only {
    color: #aebdcb;
    font-style: italic;
}

/* Bouton flottant retour - page avis Google */
.google-reviews-back {
    position: fixed;
    top: 50%;
    left: 22px;
    z-index: 50;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 15px;
    border: 1px solid rgba(196, 211, 227, .28);
    border-radius: 999px;
    background: #e6ddf3;
    color: #38244c;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .12em;
    text-decoration: none;
    transform: translateY(-50%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
    transition:
        color .2s ease,
        border-color .2s ease,
        background .2s ease,
        transform .2s ease;
}

.google-reviews-back:hover {
    color: #38244c;
    border-color: var(--lunar-pearl);
    background: #d9c9ed;
    transform: translateY(-50%) translateX(3px);
}

.google-reviews-back:focus-visible {
    outline: 2px solid var(--lunar-pearl);
    outline-offset: 4px;
}

.google-reviews-back span:first-child {
    font-size: 17px;
    line-height: 1;
}

@media (max-width: 900px) {
    .google-reviews-back {
        top: auto;
        left: 14px;
        bottom: 18px;
        padding: 10px 13px;
        transform: none;
    }

    .google-reviews-back:hover {
        transform: translateX(3px);
    }
}

@media (max-width: 480px) {
    .google-reviews-back {
        left: 10px;
        bottom: 12px;
        gap: 6px;
        padding: 9px 11px;
        font-size: 10px;
    }

    .google-reviews-back span:first-child {
        font-size: 15px;
    }
}
