/* =====================================================================
   MODÈLE « AVIS GOOGLE » (repris du site de Marie Scheibli, 29/11/2026)
   Encart « Donnez votre avis sur Google » + carrousel des avis.
   Pour l'adapter à un autre site : changer seulement les couleurs ci-dessous.
   ===================================================================== */
.avis-module{
  --av-encre:#1e2b2a;        /* texte principal */
  --av-doux:#4a5957;         /* texte secondaire */
  --av-or:#c6a15b;           /* étoiles, guillemet, point actif */
  --av-fond:#faf7f2;         /* fond de la section */
  --av-carte:#FFFFFF;        /* fond des cartes */
  --av-pastille-1:#C7E7E0;   /* rond de l'initiale, en alternance */
  --av-pastille-2:#EBDDC3;
  --av-pastille-3:#E3F1F4;
  --av-titre:"Cormorant Garamond",Georgia,serif;
  --av-texte:"Inter",-apple-system,system-ui,sans-serif;
  --av-bouton:#c17a4d;       /* bouton principal (terracotta du site) */
  background:var(--av-fond);color:var(--av-encre);font-family:var(--av-texte);
  padding:clamp(2.5rem,6vw,5rem) max(16px,4vw);
}
.avis-module *{box-sizing:border-box}
.avis-module h2{font-family:var(--av-titre);font-weight:400;font-style:italic;font-size:clamp(2.2rem,5vw,3.4rem);margin:0 0 .4rem;text-align:center}
.avis-module .avis-intro{margin:0 auto clamp(1.8rem,4vw,2.8rem);max-width:56ch;text-align:center;color:var(--av-doux)}
.avis-module .btn{display:inline-block;padding:.85rem 1.6rem;border-radius:999px;border:1px solid var(--av-bouton);background:var(--av-bouton);color:#fff;font-weight:600;text-decoration:none;font:inherit;font-size:.95rem;letter-spacing:.04em}
.avis-module .btn.creux{background:transparent;color:var(--av-encre);border-color:var(--av-encre)}
.avis-module .btn:hover{opacity:.88}

/* ---------- Cartes ---------- */
.avis-liste{display:flex;flex-wrap:wrap;justify-content:center;gap:clamp(1.2rem,2.6vw,1.8rem);margin:0 auto clamp(2.5rem,5vw,4rem);max-width:1180px}
.avis-carte{
  position:relative;flex:1 1 280px;max-width:380px;margin:0;display:flex;flex-direction:column;align-items:flex-start;gap:.8rem;
  background:var(--av-carte);border:1px solid rgba(200,154,72,.38);border-radius:16px;padding:1.6rem 1.6rem 1.4rem;
  box-shadow:0 22px 44px -30px rgba(22,49,79,.5);
}
.avis-carte::after{content:"”";position:absolute;right:1.1rem;top:.2rem;font-family:var(--av-titre);font-size:5rem;line-height:1;color:var(--av-or);opacity:.28;pointer-events:none}
.avis-auteur{display:flex;align-items:center;gap:.8rem;margin:0;max-width:calc(100% - 2.6rem)}
.avis-pastille{flex:none;width:2.9rem;height:2.9rem;border-radius:50%;display:grid;place-items:center;font-family:var(--av-titre);font-size:1.5rem;font-style:italic;color:var(--av-encre);background:var(--av-pastille-1)}
.avis-carte:nth-child(3n+2) .avis-pastille{background:var(--av-pastille-2)}
.avis-carte:nth-child(3n) .avis-pastille{background:var(--av-pastille-3)}
.avis-identite{display:flex;flex-direction:column;min-width:0}
.avis-nom{font-weight:500;font-size:1.02rem;line-height:1.3}
.avis-infos{display:flex;flex-wrap:wrap;gap:0 .45rem;font-size:.82rem;color:var(--av-doux);line-height:1.4}
.avis-infos > :not(:last-child)::after{content:"·";margin-left:.45rem;display:inline-block}
.avis-source{color:#8A5F16}
a.avis-source{text-decoration:underline;text-underline-offset:3px}
.avis-etoiles{margin:0;color:var(--av-or);font-size:1.25rem;letter-spacing:.12em;line-height:1}
.avis-etoiles .vide{color:#D9D2C5}
.avis-carte blockquote{margin:0;font-size:1rem;line-height:1.65;overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:8;line-clamp:8}
.avis-carte blockquote p{margin:0 0 .5em;font-weight:300}
.avis-carte blockquote p:last-child{margin-bottom:0}
.avis-carte.deplie blockquote{display:block;overflow:visible}
.avis-plus{align-self:flex-start;min-height:44px;border:0;background:none;padding:.3rem 0;font:inherit;font-size:.88rem;color:var(--av-doux);text-decoration:underline;cursor:pointer}
.avis-vide{width:100%;text-align:center;color:var(--av-doux);font-style:italic}

/* ---------- Carrousel : 1 avis visible sur téléphone, 2 sur tablette, 3 sur ordinateur ---------- */
.avis-liste[data-nombre="1"] .avis-carte{max-width:560px}
.avis-liste.carrousel{--vus:1;--ecart:clamp(1.2rem,2.6vw,1.8rem);display:block;overflow:hidden;margin:0 auto 1rem;padding:6px 2px 26px;max-width:560px}
.avis-piste{display:flex;gap:var(--ecart);align-items:stretch}
.avis-liste.carrousel .avis-carte{flex:0 0 calc((100% - (var(--vus) - 1) * var(--ecart)) / var(--vus));max-width:none;box-shadow:0 12px 24px -20px rgba(22,49,79,.4)}
@media (min-width:760px){.avis-liste.carrousel:not([data-nombre="2"]){--vus:2;max-width:860px}}
@media (min-width:1080px){.avis-liste.carrousel:not([data-nombre="2"]):not([data-nombre="3"]){--vus:3;max-width:1180px}}
.avis-fleches{display:flex;justify-content:center;align-items:center;gap:.8rem;margin:0 auto clamp(2.5rem,5vw,4rem)}
.avis-fleches button{width:44px;height:44px;border-radius:50%;border:1px solid rgba(22,49,79,.35);background:#fff;color:var(--av-encre);font-size:1.5rem;line-height:1;cursor:pointer}
.avis-fleches button:hover{background:var(--av-encre);color:#fff}
.avis-fleches .avis-lecture svg{display:block;width:16px;height:16px;margin:auto;fill:currentColor}
.avis-points{display:flex;gap:.5rem;align-items:center;padding:0 .2rem}
.avis-points i{width:8px;height:8px;border-radius:50%;background:rgba(22,49,79,.22);transition:transform .3s,background-color .3s}
.avis-points i.actif{background:var(--av-or);transform:scale(1.45)}

/* ---------- Encart « Votre avis sur Google » ---------- */
.avis-google-encart{max-width:760px;margin:0 auto;padding:clamp(1.6rem,4vw,2.6rem);text-align:center;background:var(--av-carte);border:1px solid rgba(200,154,72,.55);border-radius:12px;box-shadow:0 18px 40px -28px rgba(22,49,79,.4)}
.avis-google-encart[hidden]{display:none}
.avis-google-etoiles{margin:0 0 .4rem;color:var(--av-or);font-size:1.7rem;letter-spacing:.2em;line-height:1}
.avis-google-encart h3{margin:0 0 .7rem;font-family:var(--av-titre);font-weight:500;font-size:clamp(1.5rem,3vw,2rem)}
.avis-google-encart p{margin-inline:auto;max-width:54ch}
.avis-google-boutons{display:flex;flex-wrap:wrap;gap:.8rem;justify-content:center;margin:1.2rem auto 0}
.avis-google-boutons [hidden]{display:none}
@media (prefers-reduced-motion:reduce){.avis-points i{transition:none}}

/* Tant qu'aucun avis n'est recopié : seul l'encart « Votre avis sur Google » s'affiche. */
.avis-module.sans-avis > h2,.avis-module.sans-avis > .avis-intro,.avis-module.sans-avis > .avis-liste{display:none}
