/* Avis sur la boutique (24 nov. 2026, inc/avis-boutique.php) : page /avis/, formulaire, note « ★ 4,8/5 ».
   Palette de Léa seulement : pervenche (étoiles, barres), lavande et warm grey éclaircis, blanc, encre pour le texte. */

.fl-avis-page{max-width:760px;margin:0 auto;color:var(--fl-ink,#262a5c)}
.fl-page-corps .fl-avis-page{margin-left:0}
.fl-avis-carte{background:#fff;border:1px solid var(--fl-line,#e3d6dc);border-radius:var(--fl-r-lg,24px);padding:clamp(1.1rem,3vw,1.7rem);box-shadow:var(--fl-sh-1);margin:0 0 1rem}
.fl-avis-carte h2{font-size:1.25rem;margin:0 0 .5rem;color:var(--fl-ink,#262a5c)}
.fl-avis-page .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}

/* ---------- Étoiles : 5 étoiles pâles, les pleines par-dessus, coupées à la note ---------- */
.fl-avis-etoiles{position:relative;display:inline-block;line-height:1;font-size:1.05rem;letter-spacing:.12em;color:var(--fl-blue-100,#e1e5fd);white-space:nowrap;vertical-align:middle}
.fl-avis-etoiles::before{content:"★★★★★"}
.fl-avis-etoiles>span{position:absolute;inset:0 auto 0 0;overflow:hidden;color:var(--fl-pervenche,#7b8cf6)}
.fl-avis-etoiles>span::before{content:"★★★★★"}
.fl-avis-etoiles--grand{font-size:1.5rem}

/* ---------- Bandeau des aperçus (équipe connectée seulement) ---------- */
.fl-avis-page .fl-avis-apercu-bandeau{margin:0 0 1rem!important;padding:.7rem 1rem;border:1.5px dashed var(--fl-pervenche,#7b8cf6);border-radius:14px;background:var(--fl-blue-50,#eef0fe);font-size:.88rem;line-height:1.5;color:var(--fl-ink,#262a5c)}
.fl-avis-apercu-bandeau a{font-weight:700;color:var(--fl-ink,#262a5c)}

/* ---------- « Donner mon avis » (client arrivé sans l'e-mail) ---------- */
.fl-avis-donner{background:linear-gradient(120deg,#fff 0%,var(--fl-violet-50,#f5f0fc) 100%)}
.fl-avis-page h2.fl-avis-donner__titre{font-size:1.15rem!important;line-height:1.3!important;margin:0 0 .2rem!important}
.fl-avis-page .fl-avis-donner__texte{margin:0 0 .9rem!important;color:var(--fl-body,#464873);line-height:1.5}
.fl-avis-donner__miennes{list-style:none;margin:0 0 .8rem;padding:0;display:flex;flex-wrap:wrap;gap:.5rem}
.fl-avis-donner__ouvrir>summary{display:inline-flex;list-style:none;cursor:pointer}
/* Le bouton du thème est en content-box (min-height 52 px + marges) : sans ça, 100 % de large déborde et il fait 81 px de haut. */
.fl-avis-page .fl-avis-donner .fl-cta,.fl-avis-page .fl-avis-form .fl-cta{box-sizing:border-box}
.fl-avis-donner__ouvrir>summary::-webkit-details-marker{display:none}
.fl-avis-donner__ouvrir[open]>summary{display:none}
.fl-avis-donner__form{display:grid;gap:.8rem;max-width:460px}
.fl-avis-page .fl-avis-donner__form>:is(p,label){margin:0!important}
.fl-avis-donner__form .fl-cta{justify-self:start}
@media (max-width:520px){.fl-avis-donner__ouvrir>summary,.fl-avis-donner__form .fl-cta{display:flex;justify-content:center;width:100%}.fl-avis-donner__ouvrir[open]>summary{display:none}}
/* 26 nov. 2026 : client connecté = un seul bouton (sa commande est retrouvée toute seule) ; visiteur = « Me connecter »,
   puis la version sans compte en simple lien (« ça m'étonnerait que les gens le fassent ») */
.fl-avis-page .fl-avis-donner__action{margin:0 0 .55rem!important}
.fl-avis-page .fl-avis-donner__compte{margin:0 0 .7rem!important;color:var(--fl-body,#464873);line-height:1.5}
.fl-avis-page .fl-avis-donner__ouvrir>summary.fl-avis-donner__sans{display:inline-flex;width:auto;justify-content:flex-start;margin-top:.35rem;font-weight:700;font-size:.92rem;color:var(--fl-ink,#262a5c);text-decoration:underline;text-underline-offset:3px}
.fl-avis-page .fl-avis-donner__ouvrir[open]>summary.fl-avis-donner__sans{margin-bottom:.8rem}

/* ---------- Résumé : note moyenne + répartition ---------- */
.fl-avis-resume{display:grid;gap:1.1rem 2rem;align-items:center;grid-template-columns:1fr}
@media (min-width:640px){.fl-avis-resume{grid-template-columns:auto 1fr}}
.fl-avis-resume__note{display:flex;align-items:center;gap:.9rem}
.fl-avis-resume__chiffre{font-size:3.2rem;font-weight:800;line-height:1;letter-spacing:-.03em;color:var(--fl-ink,#262a5c)}
.fl-avis-resume__sur{display:flex;flex-direction:column;gap:.35rem;font-size:.92rem;color:var(--fl-body,#464873)}
.fl-avis-resume__barres{list-style:none;margin:0;padding:0;display:grid;gap:.35rem}
.fl-avis-resume__barres li{display:grid;grid-template-columns:2.4rem 1fr 2rem;align-items:center;gap:.6rem;font-size:.88rem;color:var(--fl-body,#464873)}
.fl-avis-resume__lib span[aria-hidden]{color:var(--fl-pervenche,#7b8cf6)}
.fl-avis-resume__nb{text-align:right;font-variant-numeric:tabular-nums}
.fl-avis-barre{display:block;height:.5rem;border-radius:999px;background:var(--fl-gris-chaud,#f4eeee);overflow:hidden}
.fl-avis-barre>span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--fl-pervenche,#7b8cf6),var(--fl-lavande,#d7c5f3))}

/* ---------- Un avis ---------- */
.fl-avis-item__tete{display:flex;align-items:center;gap:.75rem;margin:0 0 .7rem}
.fl-avis-item__qui{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.fl-avis-item__nom{font-weight:800;color:var(--fl-ink,#262a5c);line-height:1.2}
.fl-avis-item__ligne{display:flex;flex-wrap:wrap;align-items:center;gap:.3rem .6rem}
/* Le petit rond : photo d'un objet de la commande, sinon l'initiale sur une couleur de Léa (éclaircie). */
.fl-avis-avatar{flex:none;display:grid;place-items:center;width:48px;height:48px;border-radius:50%;overflow:hidden;background:var(--fl-gris-chaud,#f4eeee);box-shadow:0 0 0 2px #fff,0 0 0 3px var(--fl-line-soft,#ece2e6);font-weight:800;font-size:1.2rem;color:var(--fl-ink,#262a5c)}
.fl-avis-avatar img{width:100%;height:100%;object-fit:cover;display:block}
.fl-avis-avatar--t0{background:var(--fl-blue-100,#e1e5fd)}
.fl-avis-avatar--t1{background:var(--fl-violet-100,#ece3fa)}
.fl-avis-avatar--t2{background:var(--fl-coral-100,#ffe4ec)}
.fl-avis-avatar--t3{background:#f6e9f2}
.fl-avis-avatar--t4{background:#fcf1ec}
/* 26 nov. 2026 (Vianney : « le logo avis vérifié doit être identique entre l'accueil et /avis ») : le même sceau pervenche
   qu'assets/accueil-avis.css, devant le même texte, sans pastille */
.fl-avis-item__verifie.est-offert::before{content:none}
.fl-avis-item__verifie{display:inline-flex;align-items:center;gap:5px;font-size:.82rem;font-weight:500;color:var(--fl-body,#464873)}
.fl-avis-item__verifie::before{content:"";flex:none;width:15px;height:15px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cmask id='m'%3E%3Crect width='24' height='24' fill='white'/%3E%3Cpath d='M7.4 12.4l3.1 3.1 6.1-6.4' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3C/defs%3E%3Cpath d='M12.0 0.6L13.1 1.2L14.0 2.5L14.8 3.3L16.0 3.1L17.4 2.6L18.7 2.8L19.3 3.9L19.2 5.5L19.4 6.6L20.4 7.1L21.9 7.6L22.8 8.5L22.6 9.7L21.7 11.0L21.2 12.0L21.7 13.0L22.6 14.3L22.8 15.5L21.9 16.4L20.4 16.9L19.4 17.4L19.2 18.5L19.3 20.1L18.7 21.2L17.4 21.4L16.0 20.9L14.8 20.7L14.0 21.5L13.1 22.8L12.0 23.4L10.9 22.8L10.0 21.5L9.2 20.7L8.0 20.9L6.6 21.4L5.3 21.2L4.7 20.1L4.8 18.5L4.6 17.4L3.6 16.9L2.1 16.4L1.2 15.5L1.4 14.3L2.3 13.0L2.8 12.0L2.3 11.0L1.4 9.7L1.2 8.5L2.1 7.6L3.6 7.1L4.6 6.6L4.8 5.5L4.7 3.9L5.3 2.8L6.6 2.6L8.0 3.1L9.2 3.3L10.0 2.5L10.9 1.2Z' fill='%237B8CF6' mask='url(%23m)'/%3E%3C/svg%3E") center/contain no-repeat}
.fl-avis-item__texte{color:var(--fl-body,#464873);line-height:1.6}
.fl-avis-item__texte p{margin:0 0 .6rem}
.fl-avis-item__pied{margin:.2rem 0 0;font-size:.85rem;color:var(--fl-muted,#5c5f86)}
.fl-avis-page .fl-avis-item__pied,.fl-avis-page .fl-avis-carte>:last-child,.fl-avis-page .fl-avis-item__texte>:last-child{margin-bottom:0!important}
.fl-avis-item__pied b{color:var(--fl-ink,#262a5c)}
.fl-avis-item__reponse{margin:.9rem 0 0;padding:.75rem 1rem;border-radius:16px;background:var(--fl-violet-50,#f5f0fc);border-left:3px solid var(--fl-lavande,#d7c5f3);font-size:.92rem;color:var(--fl-body,#464873)}
.fl-avis-item__reponse b{display:block;margin:0 0 .25rem;color:var(--fl-ink,#262a5c)}
.fl-avis-item__reponse p{margin:0 0 .4rem}
.fl-avis-item__reponse p:last-child{margin:0}
.fl-avis-pages{display:flex;justify-content:space-between;gap:1rem;margin:.4rem 0 1rem}
.fl-avis-pages__lien{font-weight:700;color:var(--fl-ink,#262a5c)}
.fl-avis-vide p{margin:0;color:var(--fl-body,#464873);line-height:1.55}

/* ---------- « Comment nous vérifions les avis » ---------- */
.fl-avis-verif{margin:1.2rem 0 0;padding:.9rem 1.1rem;border-radius:16px;background:var(--fl-gris-chaud,#f4eeee);font-size:.88rem;color:var(--fl-body,#464873);line-height:1.55}
.fl-avis-verif summary{cursor:pointer;font-weight:700;color:var(--fl-ink,#262a5c)}
.fl-avis-verif p{margin:.6rem 0 0}

/* ---------- Le formulaire ---------- */
.fl-avis-form{display:grid;gap:.9rem}
/* Le thème pose ses marges sous chaque paragraphe (jusqu'à 26 px sur téléphone) : ici, c'est l'écart de la grille qui compte. */
.fl-avis-page .fl-avis-form>:is(h2,p,label,fieldset){margin:0!important}
.fl-avis-page .fl-avis-form__commande{margin-top:-.4rem!important}
.fl-avis-form__intro{margin:0;color:var(--fl-body,#464873);line-height:1.55}
.fl-avis-form__commande{margin:0;font-size:.85rem;font-weight:700;color:var(--fl-muted,#5c5f86)}
.fl-avis-form__erreur{margin:0;padding:.6rem .9rem;border-radius:12px;background:var(--fl-coral-50,#fff3f6);border:1px solid var(--fl-blush,#ffb9cc);color:var(--fl-ink,#262a5c);font-weight:600}
.fl-avis-choix{border:0;margin:0;padding:0!important;min-width:0}
/* Le thème met sa taille et sa couleur sur tous les <label> : les étoiles reprennent les leurs. */
.fl-avis-page .fl-avis-choix__etoiles label{font-size:2.4rem!important;line-height:1!important;color:var(--fl-blue-100,#e1e5fd)!important;margin:0!important;font-weight:400!important}
.fl-avis-page .fl-avis-choix__etoiles:has(input:checked) label{color:var(--fl-pervenche,#7b8cf6)!important}
.fl-avis-page .fl-avis-choix__etoiles input:checked+label~label{color:var(--fl-blue-100,#e1e5fd)!important}
@media (hover:hover){
  .fl-avis-page .fl-avis-choix__etoiles:hover label{color:var(--fl-pervenche,#7b8cf6)!important}
  .fl-avis-page .fl-avis-choix__etoiles label:hover~label{color:var(--fl-blue-100,#e1e5fd)!important}
}
.fl-avis-page .fl-avis-choix__sens{margin:.3rem 0 0!important}
.fl-avis-page .fl-avis-choix legend{font-weight:700!important;font-size:1rem!important}
.fl-avis-choix legend{padding:0;margin:0 0 .3rem;font-weight:700;color:var(--fl-ink,#262a5c)}
.fl-avis-choix__etoiles{display:flex;gap:.15rem}
.fl-avis-choix__etoiles input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.fl-avis-choix__etoiles label{cursor:pointer;font-size:2.4rem;line-height:1;padding:.1rem .12rem;color:var(--fl-blue-100,#e1e5fd);transition:color .15s ease,transform .15s ease;border-radius:10px}
/* Choisie : les étoiles jusqu'à la note ; survol : jusqu'à l'étoile survolée. */
.fl-avis-choix__etoiles:has(input:checked) label{color:var(--fl-pervenche,#7b8cf6)}
.fl-avis-choix__etoiles input:checked+label~label{color:var(--fl-blue-100,#e1e5fd)}
@media (hover:hover){
  .fl-avis-choix__etoiles:hover label{color:var(--fl-pervenche,#7b8cf6)}
  .fl-avis-choix__etoiles label:hover~label{color:var(--fl-blue-100,#e1e5fd)}
  .fl-avis-choix__etoiles label:hover{transform:scale(1.08)}
}
.fl-avis-choix__etoiles input:focus-visible+label{outline:2px solid var(--fl-pervenche,#7b8cf6);outline-offset:2px}
.fl-avis-choix__sens{margin:.2rem 0 0;font-size:.88rem;font-weight:700;color:var(--fl-muted,#5c5f86);min-height:1.3em}
.fl-avis-choix__sens span{display:none}
.fl-avis-choix__sens span[data-n="0"]{display:inline}
.fl-avis-choix:has(input:checked) .fl-avis-choix__sens span[data-n="0"]{display:none}
.fl-avis-choix:has(input[value="1"]:checked) .fl-avis-choix__sens span[data-n="1"],
.fl-avis-choix:has(input[value="2"]:checked) .fl-avis-choix__sens span[data-n="2"],
.fl-avis-choix:has(input[value="3"]:checked) .fl-avis-choix__sens span[data-n="3"],
.fl-avis-choix:has(input[value="4"]:checked) .fl-avis-choix__sens span[data-n="4"],
.fl-avis-choix:has(input[value="5"]:checked) .fl-avis-choix__sens span[data-n="5"]{display:inline;color:var(--fl-ink,#262a5c)}
.fl-avis-form__champ{display:grid;gap:.35rem}
.fl-avis-form__champ>span{font-weight:700;color:var(--fl-ink,#262a5c)}
.fl-avis-form__champ textarea,.fl-avis-form__champ input{width:100%;box-sizing:border-box;padding:.75rem .9rem;border:1px solid var(--fl-line,#e3d6dc);border-radius:14px;background:#fff;color:var(--fl-ink,#262a5c);font:inherit;font-size:1rem;line-height:1.5}
.fl-avis-form__champ textarea:focus,.fl-avis-form__champ input:focus{outline:none;border-color:var(--fl-pervenche,#7b8cf6);box-shadow:0 0 0 3px rgba(123,140,246,.22)}
.fl-avis-form__piege{position:absolute!important;left:-9999px;width:1px;height:1px;overflow:hidden}
.fl-avis-form__mention{margin:0;font-size:.82rem;color:var(--fl-muted,#5c5f86);line-height:1.5}
.fl-avis-form .fl-cta{justify-self:start}
@media (max-width:520px){.fl-avis-form .fl-cta{justify-self:stretch;text-align:center}}

/* ---------- Les photos : dans le formulaire ---------- */
.fl-avis-form__photos{display:grid;gap:.5rem}
.fl-avis-page .fl-avis-form__photos>p{margin:0!important}
.fl-avis-form__lib{font-weight:700;color:var(--fl-ink,#262a5c)}
.fl-avis-form__lib span{font-weight:400;font-size:.85rem;color:var(--fl-muted,#5c5f86)}
.fl-avis-form__aide{font-size:.82rem;color:var(--fl-muted,#5c5f86);line-height:1.45}
.fl-avis-apercus{display:flex;flex-wrap:wrap;gap:.6rem}
.fl-avis-apercus:empty{display:none}
.fl-avis-apercu{position:relative;width:84px;height:84px;border-radius:14px;overflow:hidden;background:var(--fl-gris-chaud,#f4eeee);border:1px solid var(--fl-line,#e3d6dc)}
.fl-avis-apercu img{width:100%;height:100%;object-fit:cover;display:block}
.fl-avis-apercu.is-sans-apercu::before{content:"📷";position:absolute;inset:0;display:grid;place-items:center;font-size:1.4rem}
.fl-avis-apercu__retirer{position:absolute;top:4px;right:4px;width:26px;height:26px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.92);color:var(--fl-ink,#262a5c);font-size:1.1rem;line-height:26px;text-align:center;cursor:pointer;box-shadow:0 1px 4px rgba(38,42,92,.18)}
.fl-avis-page .fl-avis-depot{display:flex!important;align-items:center;gap:.7rem;margin:0!important;padding:.7rem .9rem;border:1.5px dashed var(--fl-lavande,#d7c5f3);border-radius:14px;background:var(--fl-violet-50,#f5f0fc);cursor:pointer;font-size:1rem!important;font-weight:700!important;color:var(--fl-ink,#262a5c)!important;transition:border-color .15s ease,background-color .15s ease}
.fl-avis-page .fl-avis-depot[hidden]{display:none!important}
@media (hover:hover){.fl-avis-page .fl-avis-depot:hover{border-color:var(--fl-pervenche,#7b8cf6);background:var(--fl-blue-50,#eef0fe)}}
.fl-avis-depot:focus-within{outline:2px solid var(--fl-pervenche,#7b8cf6);outline-offset:2px}
.fl-avis-depot input{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none}
.fl-avis-depot__btn{display:inline-grid;place-items:center;width:2rem;height:2rem;border-radius:50%;background:#fff;color:var(--fl-pervenche,#7b8cf6);font-size:1.3rem;font-weight:800;line-height:1;box-shadow:0 1px 3px rgba(38,42,92,.12)}

/* ---------- Les photos : sous un avis, et la rangée « Les photos de nos clients » ---------- */
.fl-avis-item__photos{display:flex;flex-wrap:wrap;gap:.5rem;margin:.2rem 0 .7rem}
.fl-avis-photo{display:block;width:96px;height:96px;border-radius:14px;overflow:hidden;background:var(--fl-gris-chaud,#f4eeee);border:1px solid var(--fl-line-soft,#ece2e6);cursor:zoom-in}
.fl-avis-photo img{width:100%;height:100%;object-fit:cover;display:block}
.fl-avis-galerie{margin:0 0 1rem}
.fl-page-corps .fl-avis-page h2.fl-avis-galerie__titre,.fl-avis-page h2.fl-avis-galerie__titre{font-size:1.15rem!important;line-height:1.3!important;margin:0 0 .6rem!important;color:var(--fl-ink,#262a5c)}
.fl-avis-galerie__rang{display:flex;gap:.6rem;overflow-x:auto;padding:0 0 .4rem;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch}
.fl-avis-galerie__rang .fl-avis-photo{flex:none;width:120px;height:120px;scroll-snap-align:start}
@media (max-width:520px){.fl-avis-photo{width:84px;height:84px}.fl-avis-galerie__rang .fl-avis-photo{width:104px;height:104px}}

/* ---------- La photo en grand ---------- */
.fl-avis-visionneuse{max-width:min(92vw,1100px);max-height:92vh;padding:0;border:0;border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 18px 50px rgba(38,42,92,.25)}
/* Palette de Léa : jamais de grand fond bleu nuit, même derrière une photo → voile warm grey clair. */
.fl-avis-visionneuse::backdrop{background:rgba(244,238,238,.9);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.fl-avis-visionneuse img{display:block;max-width:min(92vw,1100px);max-height:92vh;width:auto;height:auto}
/* Les boutons du thème (fond plein, coins carrés) s'appliquent aussi ici : on reprend tout. */
dialog.fl-avis-visionneuse .fl-avis-visionneuse__fermer,.fl-avis-page .fl-avis-apercu__retirer{display:block!important;min-width:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;background:rgba(255,255,255,.94)!important;color:var(--fl-ink,#262a5c)!important;text-align:center!important;font-weight:400!important;letter-spacing:0!important;transform:none!important;box-shadow:0 2px 8px rgba(38,42,92,.2)!important;outline:none}
dialog.fl-avis-visionneuse .fl-avis-visionneuse__fermer{position:absolute!important;top:10px;right:10px;width:38px!important;height:38px!important;font-size:1.5rem!important;line-height:38px!important;cursor:pointer}
dialog.fl-avis-visionneuse .fl-avis-visionneuse__fermer:focus-visible,.fl-avis-page .fl-avis-apercu__retirer:focus-visible{outline:2px solid var(--fl-pervenche,#7b8cf6)!important;outline-offset:2px}
.fl-avis-page .fl-avis-apercu__retirer{position:absolute!important;width:26px!important;height:26px!important;font-size:1.1rem!important;line-height:26px!important}

/* ---------- Merci ---------- */
.fl-avis-merci{text-align:center}
.fl-avis-merci__coche{display:inline-grid;place-items:center;width:3rem;height:3rem;margin:0 0 .6rem;border-radius:50%;background:var(--fl-blue-50,#eef0fe);color:var(--fl-pervenche,#7b8cf6);font-size:1.4rem;font-weight:800}
.fl-avis-merci p{color:var(--fl-body,#464873);line-height:1.55}
.fl-avis-merci__etat{font-weight:700;color:var(--fl-ink,#262a5c)!important}

/* ---------- La note ailleurs : « ★ 4,8/5 · 12 avis vérifiés » et le bandeau ---------- */
.fl-avis-note{display:inline-flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.25rem .5rem;color:var(--fl-ink,#262a5c)!important;text-decoration:none!important;font-size:.85rem}
.fl-avis-note b{font-weight:800}
.fl-avis-note__nb{color:var(--fl-body,#464873);text-decoration:underline;text-underline-offset:2px}
.fl-avis-note .fl-avis-etoiles{font-size:.95rem}
.fl-avis-bandeau{display:flex;justify-content:center;padding:.4rem 1rem;background:#fff;border-bottom:1px solid var(--fl-line-soft,#ece2e6)}
.fl-avis-note__texte{font-weight:700}
@media (max-width:480px){.fl-avis-bandeau .fl-avis-note__texte{display:none}} /* une seule ligne sur téléphone */
