/* ==========================================================================
   Page Témoignages — SC Coaching
   ========================================================================== */

.temoignages-main {
    color: var(--text, #e7ebf2);
    overflow-x: clip;
}

/* ---------- Hero ---------- */
.temoignages-hero {
    padding: 10rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.temoignages-main .temoignages-hero__kicker {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.55;
    margin: 0 auto 1.5rem;
    line-height: 1.4;
    max-width: 640px;
    text-wrap: balance;
    color: inherit;
}

.temoignages-main .temoignages-hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.02;
    letter-spacing: -0.03em;
    margin: 0 0 1.5rem;
    font-weight: 800;
}

.temoignages-main .temoignages-hero__title em {
    font-style: italic;
    font-family: var(--font-italic, serif);
    font-weight: 400;
    background: linear-gradient(100deg, #ec8a22 0%, #ee2c2b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.temoignages-hero p.lead {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    max-width: 720px;
    margin: 0 auto 2rem;
    opacity: 0.85;
}

/* ---------- Google badge ---------- */
.google-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1.15rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: inherit;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    animation: badgeReveal 0.7s ease both;
}

.google-badge:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    color: inherit;
}

.google-badge img {
    width: 22px;
    height: 22px;
    display: inline-block;
}

.google-badge strong {
    font-weight: 600;
    letter-spacing: -0.01em;
}

.google-badge .stars {
    color: #fbbf24;
    display: inline-flex;
    align-items: center;
}

@keyframes badgeReveal {
    0% { opacity: 0; transform: translateY(16px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ---------- Parallax Gallery ---------- */
.parallax-gallery {
    position: relative;
    padding: 0;
}

.parallax-gallery.is-sticky .parallax-gallery__wrapper {
    position: sticky;
    top: 10vh;
    height: 70vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.parallax-gallery__wrapper {
    width: 100%;
}

.parallax-gallery__intro {
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.parallax-gallery.is-sticky .parallax-gallery__intro {
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 3;
    pointer-events: none;
}

.parallax-gallery.is-sticky .parallax-gallery__intro * {
    pointer-events: auto;
}

.temoignages-main .parallax-gallery__intro h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    font-weight: 800;
}

.temoignages-main .parallax-gallery__intro h2 em {
    color: var(--accent, #ff7d00);
    font-style: italic;
    font-family: var(--font-italic, serif);
    font-weight: 400;
}

.parallax-gallery__intro p {
    opacity: 0.8;
    font-size: 1.05rem;
}

.parallax-gallery__track {
    display: flex;
    align-items: start;
    gap: 2rem;
    padding: 0 max(6vw, 2rem);
    will-change: transform;
}

.parallax-gallery__item {
    position: relative;
    flex: 0 0 auto;
    height: clamp(420px, 62vh, 600px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.03);
}

.parallax-gallery__item img {
    height: 100%;
    width: auto;
    max-width: none;
    display: block;
    transition: transform 0.6s ease;
}

.parallax-gallery__item:hover img {
    transform: scale(1.03);
}

.parallax-gallery__item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.parallax-gallery__label {
    position: absolute;
    left: 1.25rem;
    bottom: 1.1rem;
    right: 1.25rem;
    z-index: 2;
    color: #fff;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.parallax-gallery__label .name {
    font-size: 1.05rem;
}

/* Item cliquable avec avis Google (texte déborde sous la photo) */
a.parallax-gallery__item {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.parallax-gallery__item--with-review {
    height: auto;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    display: block;
    width: 360px;
    max-width: 90vw;
}

.parallax-gallery__item--with-review::after {
    display: none;
}

.parallax-gallery__item--with-review img {
    width: 100%;
    height: clamp(340px, 48vh, 460px);
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    display: block;
}

.parallax-gallery__card {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin-top: -110px;
    padding: 60px 1.4rem 0.2rem;
    color: #fff;
    z-index: 2;
    background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0) 0%,
            rgba(0, 0, 0, 0.45) 10%,
            rgba(0, 0, 0, 0.85) 30%,
            rgba(0, 0, 0, 0.98) 40%
    );
    border-radius: 0 0 18px 18px;
}

.parallax-gallery__card p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.parallax-gallery__stars {
    display: inline-block;
    color: #fbbf24;
    letter-spacing: 0.1em;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.parallax-gallery__name {
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.01em;
    margin: 0 0 0.5rem;
}

.parallax-gallery__excerpt {
    font-size: 0.98rem;
    line-height: 1.5;
    opacity: 0.92;
    margin: 0;
    font-style: italic;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-wrap: balance;
}

@media (max-width: 900px) {
    .parallax-gallery__item--with-review img {
        height: 58vh;
        max-height: 500px;
    }
    .parallax-gallery__card {
        padding: 95px 1.2rem 0.2rem;
        margin-top: -95px;
    }
    .parallax-gallery__name { font-size: 1.05rem; }
    .parallax-gallery__excerpt { font-size: 0.9rem; }
}

/* Mobile : la parallax sticky JS est active sur mobile aussi.
   On force une largeur fixe sur les items pour éviter les images en
   paysage (avant/après combinés) qui débordent du viewport. */
@media (max-width: 900px) {
    .parallax-gallery__track {
        padding: 0 1.5rem;
        gap: 1.25rem;
        align-items: center;
    }
    .parallax-gallery__item {
        width: 75vw !important;
        max-width: 320px !important;
        height: auto !important;
        margin-top: 0 !important;
        flex-shrink: 0;
    }
    .parallax-gallery__item img {
        width: 100% !important;
        height: auto !important;
        max-height: 60vh;
        object-fit: cover;
        aspect-ratio: 4/5;
    }
    .parallax-gallery__item--with-review img {
        aspect-ratio: 4/5;
        max-height: 50vh;
    }
    .parallax-gallery__card {
        padding: 70px 1.1rem 0.2rem;
        margin-top: -70px;
        width: 100%;
    }
}

/* ---------- Reviews Grid ---------- */
.reviews-section {
    padding: 5rem 1.5rem 6rem;
    background: var(--bg, #1b1f27);
    border-radius: 32px 32px 0 0;
    margin-top: 2rem;
}

.reviews-section__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.reviews-section__header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.temoignages-main .reviews-section__header h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    letter-spacing: -0.02em;
    font-weight: 800;
    margin-bottom: 1rem;
}

.temoignages-main .reviews-section__header h2 em {
    font-style: italic;
    font-family: var(--font-italic, serif);
    font-weight: 400;
    background: linear-gradient(100deg, #ec8a22 0%, #ee2c2b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.reviews-grid {
    columns: 3;
    column-gap: 1.75rem;
}

.review-card {
    break-inside: avoid;
    display: block;
    margin-bottom: 1.75rem;
    padding: 1.75rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

a.review-card:hover,
a.review-card:focus-visible {
    transform: translateY(-4px);
    border-color: rgba(255, 125, 0, 0.35);
    background: rgba(255, 255, 255, 0.06);
    color: inherit;
}

.review-card__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.review-card__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: #111;
    background: linear-gradient(135deg, var(--accent, #ff7d00), #ff9a3c);
    flex-shrink: 0;
}

.review-card__meta {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.review-card__name {
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
}

.review-card__stars {
    color: #fbbf24;
    font-size: 0.85rem;
    line-height: 1;
    margin-top: 0.2rem;
    letter-spacing: 0.08em;
}

.review-card__google {
    margin-left: auto;
    width: 18px;
    height: 18px;
    opacity: 0.85;
}

.review-card__text {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.9;
    white-space: pre-wrap;
}

.reviews-section__more {
    text-align: center;
    margin: 3.5rem 0 1rem;
}

.google-badge--more {
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .reviews-grid { columns: 2; }
}

@media (max-width: 640px) {
    .reviews-grid { columns: 1; }
    .reviews-section { padding: 3.5rem 1rem 4rem; border-radius: 24px 24px 0 0; }
}

/* ---------- Bloc CTA final ---------- */
.temoignages-cta {
    padding: 5rem 1.5rem;
    text-align: center;
}

.temoignages-main .temoignages-cta h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.temoignages-main .temoignages-cta h2 em {
    font-style: italic;
    font-family: var(--font-italic, serif);
    font-weight: 400;
    background: linear-gradient(100deg, #ec8a22 0%, #ee2c2b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.temoignages-cta p {
    opacity: 0.85;
    margin-bottom: 2rem;
}

.temoignages-cta .button-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.75rem;
    border-radius: 9999px;
    background: linear-gradient(45deg, var(--accent, #ff7d00), #ff9a3c);
    color: #111;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.temoignages-cta .button-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 125, 0, 0.35);
    color: #111;
}

/* ---------- Qualicert / Bodysport blocks ---------- */
.partners-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    padding: 2.5rem 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin: 0 auto;
    max-width: 1200px;
}

.partners-strip__label {
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.6;
}

.partners-strip img {
    max-height: 64px;
    width: auto;
    opacity: 0.95;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partners-strip a:hover img {
    opacity: 1;
    transform: scale(1.04);
}

/* ---------- Tarifs section : respiration verticale (Tailwind py-12 non chargé) ---------- */
#tarifs.tarifs-dark {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.tarif-section-title + #tarifs.tarifs-dark,
header + #tarifs.tarifs-dark {
    padding-top: 2.5rem;
}

/* ---------- Qualicert callout (votre-coach, tarifs) ---------- */
.qualicert-callout {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 1.75rem;
    background: linear-gradient(135deg, rgba(255, 125, 0, 0.08), rgba(255, 125, 0, 0.02));
    border: 1px solid rgba(255, 125, 0, 0.25);
    border-radius: 16px;
    max-width: 720px;
    margin: 2rem auto;
}

.qualicert-callout img {
    width: 90px;
    height: auto;
    flex-shrink: 0;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.qualicert-callout__text strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    letter-spacing: -0.01em;
}

.qualicert-callout__text p {
    font-size: 0.92rem;
    opacity: 0.85;
    margin: 0 0 0.4rem;
    line-height: 1.5;
}

.qualicert-callout__text a {
    color: var(--accent, #ff7d00);
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}

.qualicert-callout__note {
    font-size: 0.8rem !important;
    opacity: 0.7 !important;
    margin-top: 0.6rem !important;
    line-height: 1.4 !important;
}

.qualicert-callout__note a {
    font-size: 0.8rem;
}

@media (max-width: 640px) {
    .qualicert-callout {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
}

/* ---------- Footer partners block ---------- */
.footer-partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    padding: 2rem 0;
    margin: 0 auto 1rem;
    max-width: 1200px;
}

.footer-partners__group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-partners__label {
    font-size: 0.72rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.55;
}

.footer-partners__group--qualicert {
    align-items: center;
    gap: 1.25rem;
}

.footer-partners__text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    max-width: 220px;
    text-align: left;
}

.footer-partners__group--qualicert .footer-partners__label {
    font-weight: 700;
    letter-spacing: 0.2em;
    opacity: 0.85;
    font-size: 0.78rem;
}

.footer-partners__sub {
    font-size: 0.72rem;
    line-height: 1.4;
    opacity: 0.65;
    text-transform: none;
    letter-spacing: 0;
}

.footer-partners__pdf {
    font-size: 0.7rem;
    color: var(--accent, #ff7d00);
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
    align-self: flex-start;
    margin-top: 0.2rem;
}

@media (max-width: 640px) {
    .footer-partners__text {
        max-width: 100%;
    }
}

.footer-partners img {
    max-height: 48px;
    width: auto;
}

.footer-partners .qualicert-mini {
    background: #fff;
    padding: 4px;
    border-radius: 6px;
}