/**
 * Arb'Auvergne — Page Avis (styles spécifiques à la page)
 * Les styles partagés (.avis-card, .avis-star, .avis-grid) sont dans main.css
 * @package Arbauvergne
 */

/* Image de fond du hero avis (hérite du .hero--small de main.css) */
.hero--avis {
    background-image: url('../images/hero.webp');
	min-height: 320px;
}

/* ============================================
   BADGE NOTE GOOGLE (dans le hero)
   ============================================ */
.avis-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border-radius: var(--radius-pill);
    padding: 12px 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    flex-wrap: wrap;
    justify-content: center;
}

.avis-badge__label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    white-space: nowrap;
}

.avis-badge__sep {
    display: block;
    width: 1px;
    height: 20px;
    background: var(--gray-200);
    flex-shrink: 0;
}

.avis-badge__score {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1;
}

.avis-badge__stars {
    display: flex;
    gap: 2px;
    align-items: center;
}

.avis-badge__stars .avis-star {
    width: 20px;
    height: 20px;
}

.avis-badge__count {
    font-size: 0.9rem;
    color: var(--gray-500);
    white-space: nowrap;
}

/* ============================================
   SECTION GRILLE
   ============================================ */
.avis-reviews-section {
    padding: 72px 0 56px;
    background: var(--white);
}

/* ============================================
   CARTE CACHÉE (au-delà de 6)
   ============================================ */
.avis-card--hidden {
    display: none;
}

/* ============================================
   BOUTON "AFFICHER PLUS"
   ============================================ */
.avis-load-more {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   LIEN "VOIR TOUS NOS AVIS"
   ============================================ */
.avis-see-all {
    text-align: center;
    margin-top: 48px;
}

.avis-see-all__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    text-decoration: none;
    transition: color var(--transition), gap var(--transition);
}

.avis-see-all__link:hover {
    color: var(--green-mid);
    gap: 12px;
}

/* ============================================
   CTA — LAISSER UN AVIS
   ============================================ */
.avis-leave-section {
    padding: 64px 0;
    background: var(--green-bg);
}

.avis-leave {
    background: var(--green-dark);
    border-radius: var(--radius-xl);
    padding: 56px 48px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 680px;
    margin: 0 auto;
}

.avis-leave__stars {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.avis-leave__stars .avis-star {
    width: 28px;
    height: 28px;
}

.avis-leave__title {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.25;
}

.avis-leave__text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.65;
    max-width: 520px;
}

.avis-leave__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--gray-900);
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--font-body);
    padding: 14px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    margin-top: 4px;
    transition: background var(--transition), transform var(--transition);
}

.avis-leave__btn:hover {
    background: var(--green-pale);
    color: var(--green-dark);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 640px) {
    .avis-badge {
        gap: 8px;
        padding: 10px 18px;
    }

    .avis-badge__sep {
        display: none;
    }

    .avis-reviews-section {
        padding: 48px 0 40px;
    }

    .avis-leave {
        padding: 40px 24px;
    }
}
