/* Note Google — charte du site d'Ophélie Blanc (pêche + anthracite) */
.obng {
    --obng-peche: #E0AA8D;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    line-height: 1;
    text-decoration: none !important;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

/* Sur photo / fond sombre : verre clair */
.obng--clair {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.35);
    -webkit-backdrop-filter: blur(8px);
            backdrop-filter: blur(8px);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

/* Sur fond clair */
.obng--sombre {
    color: #2B2B2B;
    background: #fff;
    border: 1px solid rgba(43, 43, 43, 0.12);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

a.obng:hover,
a.obng:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.obng--clair:hover { background: rgba(255, 255, 255, 0.22); }

.obng-g { width: 18px; height: 18px; flex-shrink: 0; background: #fff; border-radius: 50%; padding: 2px; }

/* Étoiles : 5 grises + 5 pêche par-dessus, remplies selon la note (ex. 4,8 = 96 %) */
.obng-etoiles {
    position: relative;
    display: inline-block;
    font-size: 1.05rem;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.35);
    white-space: nowrap;
}
.obng--sombre .obng-etoiles { color: rgba(43, 43, 43, 0.18); }

.obng-etoiles-pleines {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    color: var(--obng-peche);
}

.obng-note { font-weight: 700; font-size: 1.05rem; }

.obng-nombre { opacity: 0.85; font-size: 0.85rem; }
.obng-nombre::before { content: "·"; margin-right: 8px; opacity: 0.7; }

@media (max-width: 480px) {
    .obng { gap: 8px; padding: 8px 14px; font-size: 0.85rem; }
    .obng-etoiles { font-size: 0.95rem; letter-spacing: 1px; }
}

@media (prefers-reduced-motion: reduce) {
    .obng { transition: none; }
}

/* ── Derniers avis [avis_google] ── */
.obng-avis { --obng-peche: #E0AA8D; --obng-encre: #2B2B2B; }

.obng-avis-entete { display: flex; justify-content: center; margin-bottom: 22px; }

.obng-avis-liste {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.obng-avis-carte {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 24px 22px 20px;
    background: #fff;
    border: 1px solid rgba(43, 43, 43, 0.08);
    border-radius: 14px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
}

/* Grand guillemet décoratif couleur pêche */
.obng-avis-carte::before {
    content: "“";
    position: absolute;
    top: 6px;
    right: 18px;
    font-family: Georgia, serif;
    font-size: 4rem;
    line-height: 1;
    color: var(--obng-peche);
    opacity: 0.35;
}

.obng-avis-carte .obng-etoiles { color: rgba(43, 43, 43, 0.15); font-size: 1rem; }

.obng-avis-texte {
    margin: 0;
    padding: 0;
    border: 0;
    font-style: normal;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #3a3a3a;
    /* 6 lignes maximum, pour des cartes de hauteur proche */
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.obng-avis-auteur { margin: auto 0 0; font-size: 0.85rem; color: #6b6b6b; }
.obng-avis-auteur strong { color: var(--obng-encre); }

.obng-avis-action { margin: 26px 0 0; text-align: center; }

a.obng-avis-bouton {
    display: inline-block;
    padding: 13px 28px;
    background: var(--obng-encre);
    border: 1px solid var(--obng-encre);
    border-radius: 4px;
    color: #fff !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.25s ease, color 0.25s ease;
}

a.obng-avis-bouton:hover,
a.obng-avis-bouton:focus-visible { background: transparent; color: var(--obng-encre) !important; }

.obng-avis-source { margin: 12px 0 0; text-align: center; font-size: 0.75rem; color: #8a8a8a; }

/* Mobile : les avis défilent horizontalement */
@media (max-width: 600px) {
    .obng-avis-liste {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }
    .obng-avis-carte { flex: 0 0 82%; scroll-snap-align: center; }
}
