/* AnimoTAO — badge « Avis Google » FLOTTANT (bas-gauche) + modale d'avis. Asset partagé PS + statiques. */
.animotao-gbadge-wrap{
  position:fixed;left:18px;bottom:18px;z-index:9980;
  display:inline-block;
}
.animotao-gbadge{
  display:inline-flex;align-items:center;gap:10px;
  padding:10px 18px;border:1px solid #E5D6BC;border-radius:999px;background:#FBF7EE;
  color:#2A1E14;font:500 14px/1 'Jost',system-ui,sans-serif;text-decoration:none;cursor:pointer;
  box-shadow:0 6px 22px rgba(42,30,20,.18);transition:box-shadow .25s ease,transform .25s ease;
}
.animotao-gbadge:hover{box-shadow:0 8px 26px rgba(42,30,20,.26);transform:translateY(-1px);}
.animotao-gbadge .g-logo{width:18px;height:18px;flex:none;display:block;}
.animotao-gbadge .g-logo svg{width:100%;height:100%;display:block;}
.animotao-gbadge .g-rating{font-weight:600;font-size:15px;color:#2A1E14;}
.animotao-gbadge .g-stars{position:relative;display:inline-block;font-size:15px;line-height:1;letter-spacing:1px;color:#E0D6C4;font-family:Arial,'Segoe UI Symbol',sans-serif;}
.animotao-gbadge .g-stars i{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;color:#F4B400;font-style:normal;}
.animotao-gbadge .g-count{color:#8B7B6B;font-size:13px;}
.animotao-gbadge .g-sep{color:#D4BF9E;}

/* croix de fermeture du badge */
.animotao-gbadge-close{
  position:absolute;top:-8px;right:-8px;
  width:22px;height:22px;padding:0;border:2px solid #fff;border-radius:50%;
  background:#A56F4B;color:#FBF7EE;cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  font:600 14px/1 system-ui,sans-serif;
  box-shadow:0 2px 6px rgba(0,0,0,.25);transition:background .2s ease;
}
.animotao-gbadge-close:hover{background:#7E4F30;}

@media (max-width:480px){
  .animotao-gbadge-wrap{left:10px;bottom:10px;}
  .animotao-gbadge .g-count{display:none;}
  .animotao-gbadge-close{width:28px;height:28px;top:-10px;right:-10px;font-size:17px;}
}

/* ============ MODALE D'AVIS ============ */
body.agr-lock{overflow:hidden;}
.agr-backdrop{
  position:fixed;inset:0;z-index:100000;
  display:flex;align-items:center;justify-content:center;padding:24px;
  background:rgba(20,14,9,.55);
  opacity:0;transition:opacity .22s ease;
  font-family:'Jost',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
}
.agr-backdrop.agr-open{opacity:1;}
.agr-modal{
  position:relative;width:100%;max-width:640px;max-height:86vh;
  display:flex;flex-direction:column;overflow:hidden;
  background:#fff;border-radius:16px;
  box-shadow:0 24px 70px rgba(0,0,0,.4);
  transform:translateY(14px) scale(.98);transition:transform .22s ease;
}
.agr-backdrop.agr-open .agr-modal{transform:none;}

/* en-tête */
.agr-head{
  display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;
  padding:22px 56px 18px 26px;border-bottom:1px solid #ECECEC;
}
.agr-brand{display:flex;align-items:center;gap:8px;}
.agr-glogo{width:24px;height:24px;display:inline-block;flex:none;}
.agr-glogo svg{width:100%;height:100%;display:block;}
.agr-brand-t{font-size:22px;font-weight:600;color:#3c4043;}
.agr-summary{display:flex;align-items:center;gap:8px;margin-top:8px;flex-basis:100%;}
.agr-note{font-size:26px;font-weight:700;color:#3c4043;line-height:1;}
.agr-count{color:#70757a;font-size:15px;}
.agr-write{
  display:inline-block;padding:11px 22px;border-radius:6px;
  background:#1a73e8;color:#fff;font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;
  transition:background .2s ease;
}
.agr-write:hover{background:#1666d0;color:#fff;}

.agr-close{
  position:absolute;top:14px;right:16px;
  width:34px;height:34px;padding:0;border:0;border-radius:50%;
  background:transparent;color:#5f6368;cursor:pointer;
  font:400 26px/1 system-ui,sans-serif;
  display:flex;align-items:center;justify-content:center;transition:background .18s ease;
}
.agr-close:hover{background:#f1f3f4;}

/* étoiles (partagées en-tête + cartes) */
.agr-stars{position:relative;display:inline-block;font-size:20px;line-height:1;letter-spacing:2px;color:#dadce0;font-family:Arial,'Segoe UI Symbol',sans-serif;}
.agr-stars i{position:absolute;left:0;top:0;overflow:hidden;white-space:nowrap;color:#fbbc04;font-style:normal;}

/* corps */
.agr-body{padding:6px 26px 20px;overflow-y:auto;-webkit-overflow-scrolling:touch;}
.agr-card{padding:22px 0;border-bottom:1px solid #ECECEC;}
.agr-card:last-child{border-bottom:0;}
.agr-card-top{display:flex;align-items:center;gap:14px;}
.agr-av{position:relative;width:46px;height:46px;flex:none;border-radius:50%;overflow:hidden;}
.agr-av-i{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:20px;font-weight:600;}
.agr-av-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.agr-who{min-width:0;}
.agr-name{display:flex;align-items:center;gap:6px;font-size:17px;font-weight:600;color:#202124;}
.agr-check{width:16px;height:16px;flex:none;display:inline-block;}
.agr-check svg{width:100%;height:100%;display:block;}
.agr-date{color:#70757a;font-size:14px;margin-top:2px;}
.agr-card-stars{margin:12px 0 6px;}
.agr-card-stars .agr-stars{font-size:18px;}
.agr-text{margin:6px 0 14px;color:#3c4043;font-size:16px;line-height:1.55;white-space:pre-line;word-wrap:break-word;overflow-wrap:break-word;}
.agr-src{display:flex;align-items:center;gap:7px;color:#70757a;font-size:14px;}
.agr-src-g{width:20px;height:20px;flex:none;display:inline-block;}
.agr-src-g svg{width:100%;height:100%;display:block;}
.agr-src a{color:#1a73e8;text-decoration:none;}
.agr-src a:hover{text-decoration:underline;}

@media (max-width:560px){
  .agr-backdrop{padding:0;align-items:flex-end;}
  .agr-modal{max-width:none;max-height:92vh;border-radius:16px 16px 0 0;}
  .agr-head{padding:20px 52px 16px 20px;}
  .agr-write{width:100%;text-align:center;}
  .agr-body{padding:4px 20px 18px;}
  .agr-note{font-size:24px;}
}
