/* ============================================================
   Conseiller DiagAuto Express — widget embarqué (préfixe gc-)
   Tout est préfixé pour ne JAMAIS entrer en collision avec le
   CSS de la fiche produit (.rev, .stars, .btn existent déjà).
   ============================================================ */

/* ---------- déclencheur "pourquoi ce prix" sous le prix ----------
   Discret : rattaché visuellement au prix, ne concurrence pas le
   bouton panier. Ouvre le chat en mode justification du prix. */
.gc-whylink{display:inline-flex;align-items:center;gap:7px;margin:2px 0 4px;padding:8px 13px;
  cursor:pointer;background:#eef6fb;color:#1c1c1e;border:1.5px dashed #0a66c2;border-radius:10px;
  font-family:inherit;font-size:13.5px;font-weight:600;text-align:left;transition:.15s;max-width:430px;}
.gc-whylink b{color:#0a66c2;font-weight:800;}
.gc-whylink:hover{background:#fbe4e7;}

/* ---------- bulle flottante ---------- */
.gc-bubble{position:fixed;right:18px;bottom:calc(18px + var(--gc-off,0px));z-index:2147483000;width:58px;height:58px;
  border-radius:50%;border:0;cursor:pointer;background:linear-gradient(135deg,#0a66c2,#084a8c);
  box-shadow:0 8px 24px rgba(10,102,194,.45);display:flex;align-items:center;justify-content:center;
  animation:gc-pulse 2.4s ease-in-out infinite;}
.gc-bubble svg{width:27px;height:27px;fill:#fff;}
.gc-bubble .gc-badge{position:absolute;top:-3px;right:-3px;background:#fff;color:#0a66c2;
  font-size:11px;font-weight:900;width:20px;height:20px;border-radius:50%;display:none;
  align-items:center;justify-content:center;border:2px solid #0a66c2;font-family:inherit;}
.gc-bubble.gc-hasmsg .gc-badge{display:flex;}
@keyframes gc-pulse{0%,100%{transform:scale(1);}50%{transform:scale(1.05);}}
@media (prefers-reduced-motion: reduce){.gc-bubble{animation:none;}}

/* ---------- teaser ---------- */
.gc-teaser{position:fixed;right:18px;bottom:calc(88px + var(--gc-off,0px));z-index:2147483000;max-width:265px;
  background:#fff;border:1px solid #d8e8f5;border-radius:14px 14px 3px 14px;
  box-shadow:0 10px 30px rgba(20,30,45,.18);padding:12px 14px;font-family:inherit;
  font-size:13.5px;line-height:1.45;color:#1c1c1e;cursor:pointer;animation:gc-pop .3s ease-out;}
.gc-teaser b{color:#0a66c2;}
.gc-teaser .gc-tx{position:absolute;top:5px;right:8px;border:0;background:none;color:#9a9aa2;
  font-size:15px;cursor:pointer;line-height:1;padding:2px;font-family:inherit;}

/* ---------- panneau ---------- */
.gc-panel{position:fixed;right:18px;bottom:calc(18px + var(--gc-off,0px));z-index:2147483001;width:388px;
  height:min(640px,86vh);background:#fff;border:1px solid #dfe4ea;border-radius:16px;
  box-shadow:0 18px 60px rgba(20,30,45,.28);display:none;flex-direction:column;overflow:hidden;
  font-family:"Inter","Segoe UI",system-ui,-apple-system,Arial,sans-serif;}
.gc-panel.gc-open{display:flex;animation:gc-pop .25s ease-out;}
@media(max-width:640px){
  .gc-panel{right:0;bottom:0;left:0;width:100%;height:88vh;border-radius:16px 16px 0 0;}
}
@keyframes gc-pop{from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:none;}}

.gc-head{background:linear-gradient(135deg,#0a66c2,#084a8c);color:#fff;padding:12px 14px;
  display:flex;align-items:center;gap:10px;flex:none;}
.gc-av{width:40px;height:40px;border-radius:10px;background:#fff;display:flex;align-items:center;
  justify-content:center;font-weight:900;font-style:italic;color:#0a66c2;font-size:14px;flex:none;
  box-shadow:0 2px 7px rgba(0,0,0,.16);}
.gc-id{min-width:0;flex:1;}
.gc-nm{font-weight:800;font-size:14px;}
.gc-st{font-size:11px;opacity:.93;display:flex;align-items:center;gap:5px;margin-top:1px;}
.gc-dot{width:7px;height:7px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 2px rgba(255,255,255,.35);}
.gc-tag{font-size:9px;letter-spacing:.5px;text-transform:uppercase;opacity:.8;
  border:1px solid rgba(255,255,255,.45);border-radius:20px;padding:1px 7px;margin-top:3px;
  display:inline-block;font-weight:700;}
.gc-close{margin-left:auto;background:rgba(255,255,255,.15);border:0;color:#fff;width:30px;height:30px;
  border-radius:8px;font-size:16px;cursor:pointer;flex:none;font-family:inherit;line-height:1;}
.gc-close:hover{background:rgba(255,255,255,.28);}

.gc-body{flex:1;overflow-y:auto;overflow-x:hidden;padding:14px 12px 8px;
  background:linear-gradient(180deg,#eef6fb,#fff 22%);}
.gc-day{text-align:center;font-size:11px;color:#66666e;margin:0 0 13px;}
.gc-day span{background:#fff;border:1px solid #d8e8f5;border-radius:20px;padding:3px 11px;}

.gc-row{display:flex;margin-bottom:9px;align-items:flex-end;gap:7px;}
.gc-row.gc-u{justify-content:flex-end;}
.gc-mini{width:24px;height:24px;border-radius:7px;background:#0a66c2;color:#fff;font-weight:900;
  font-style:italic;font-size:9px;display:flex;align-items:center;justify-content:center;flex:none;}
.gc-b{max-width:82%;padding:9px 12px;border-radius:14px;font-size:13.5px;line-height:1.5;
  animation:gc-pop .22s ease-out;color:#1c1c1e;}
.gc-b.gc-bot{background:#fff;border:1px solid #d8e8f5;border-bottom-left-radius:5px;
  box-shadow:0 1px 3px rgba(20,30,45,.05);}
.gc-b.gc-usr{background:#0a66c2;color:#fff;border-bottom-right-radius:5px;font-weight:600;}
.gc-b b{font-weight:800;}
.gc-tm{display:block;font-size:9.5px;opacity:.55;margin-top:3px;}
.gc-b.gc-usr .gc-tm{color:#fff;opacity:.75;text-align:right;}

.gc-typing{display:inline-flex;gap:4px;padding:12px 14px;}
.gc-typing i{width:6px;height:6px;border-radius:50%;background:#c3c3cb;animation:gc-bl 1.1s infinite;}
.gc-typing i:nth-child(2){animation-delay:.16s;} .gc-typing i:nth-child(3){animation-delay:.32s;}
@keyframes gc-bl{0%,60%,100%{opacity:.3;transform:translateY(0);}30%{opacity:1;transform:translateY(-3px);}}

.gc-opts{display:flex;flex-direction:column;gap:6px;margin:3px 0 11px;padding-left:31px;}
.gc-opt{text-align:left;font-family:inherit;font-size:13px;font-weight:700;color:#0a66c2;background:#fff;
  border:1.5px solid #0a66c2;border-radius:10px;padding:9px 12px;cursor:pointer;transition:.13s;
  animation:gc-pop .22s ease-out;}
.gc-opt:hover{background:#0a66c2;color:#fff;transform:translateX(2px);}
.gc-opt small{display:block;font-weight:600;font-size:11px;opacity:.75;margin-top:1px;}

.gc-zip{display:flex;gap:6px;margin:3px 0 11px;padding-left:31px;}
.gc-zip input{flex:1;min-width:0;font-family:inherit;font-size:15px;padding:10px 12px;
  border:1.5px solid #d8e8f5;border-radius:10px;outline:none;letter-spacing:2px;font-weight:700;}
.gc-zip input:focus{border-color:#0a66c2;}
.gc-zip button{font-family:inherit;font-weight:800;font-size:13.5px;background:#0a66c2;color:#fff;
  border:0;border-radius:10px;padding:0 15px;cursor:pointer;}
.gc-zerr{color:#0a66c2;font-size:11.5px;font-weight:600;padding-left:31px;margin:-5px 0 9px;}

.gc-trust{margin:2px 0 11px 31px;background:#fff;border:1px solid #d8e8f5;border-radius:12px;
  padding:10px 12px;animation:gc-pop .25s ease-out;box-shadow:0 1px 3px rgba(20,30,45,.05);}
.gc-trust-top{display:flex;align-items:center;gap:9px;}
.gc-score{font-size:23px;font-weight:900;color:#1c1c1e;line-height:1;}
.gc-stars{color:#f5a623;font-size:13px;letter-spacing:1px;}
.gc-sub{font-size:11px;color:#66666e;margin-top:1px;}
.gc-strip{display:flex;gap:4px;margin-top:8px;}
.gc-strip img{flex:1 1 0;min-width:0;width:auto;aspect-ratio:1;object-fit:cover;border-radius:6px;
  border:1px solid #d8e8f5;background:#f5f5f7;}

/* carte d'identité de l'entreprise (présentée en début de chat) */
.gc-company{margin:2px 0 11px 31px;background:#fff;border:1px solid #d8e8f5;border-radius:12px;
  overflow:hidden;animation:gc-pop .25s ease-out;box-shadow:0 1px 3px rgba(20,30,45,.05);max-width:88%;}
.gc-co-head{background:linear-gradient(135deg,#00267f 33%,#fff 33%,#fff 66%,#0a66c2 66%);
  padding:0;height:5px;}
.gc-co-title{display:flex;align-items:center;gap:7px;padding:10px 12px 6px;font-weight:800;
  font-size:13px;color:#1c1c1e;}
.gc-co-badge{background:#eef4ff;border:1px solid #c9d9f5;color:#1d4e9e;font-size:10px;
  font-weight:800;border-radius:20px;padding:2px 8px;margin-left:auto;white-space:nowrap;}
.gc-co-rows{padding:2px 12px 11px;}
.gc-co-rows div{font-size:12px;color:#1c1c1e;padding:4px 0;border-bottom:1px solid #f4f4f6;
  display:flex;gap:8px;align-items:flex-start;line-height:1.45;}
.gc-co-rows div:last-child{border:0;}
.gc-co-rows span{flex:none;}
.gc-co-rows b{font-weight:800;}

.gc-rev{margin:2px 0 9px 31px;background:#fff;border:1px solid #d8e8f5;border-radius:13px;
  overflow:hidden;animation:gc-pop .25s ease-out;box-shadow:0 2px 8px rgba(20,30,45,.07);max-width:86%;}
.gc-rev-h{display:flex;align-items:center;gap:8px;padding:9px 11px 7px;}
.gc-rev-av{width:31px;height:31px;border-radius:50%;background:#eef6fb;border:1px solid #d8e8f5;
  color:#0a66c2;font-weight:900;font-size:11px;display:flex;align-items:center;justify-content:center;flex:none;}
.gc-rev-n{font-weight:800;font-size:13px;line-height:1.2;color:#1c1c1e;}
.gc-rev-v{font-size:10px;color:#1d8a3e;font-weight:700;}
.gc-rev-st{color:#f5a623;font-size:11px;letter-spacing:1px;margin-left:auto;align-self:flex-start;}
.gc-rev img.gc-ph{width:100%;display:block;max-height:190px;object-fit:cover;background:#f5f5f7;}
.gc-rev-t{padding:9px 11px;font-size:12.5px;line-height:1.5;color:#1c1c1e;}
.gc-rev-ago{padding:0 11px 9px;font-size:10px;color:#66666e;}

.gc-card{border:1.5px solid #0a66c2;border-radius:14px;overflow:hidden;margin:5px 0 13px;
  box-shadow:0 8px 24px rgba(10,102,194,.14);animation:gc-pop .3s ease-out;background:#fff;}
.gc-card-top{background:#0a66c2;color:#fff;padding:8px 13px;font-size:12px;font-weight:800;
  display:flex;justify-content:space-between;align-items:center;}
.gc-vscore{background:#fff;color:#0a66c2;border-radius:20px;padding:2px 8px;font-size:11.5px;font-weight:900;}
.gc-card-in{padding:13px;}
.gc-pr{display:flex;gap:11px;align-items:center;margin-bottom:10px;}
.gc-pr img{width:74px;height:74px;object-fit:cover;border-radius:9px;border:1px solid #d8e8f5;flex:none;background:#f5f5f7;}
.gc-pr-nm{font-weight:800;font-size:13.5px;line-height:1.3;color:#1c1c1e;}
.gc-pr-sub{font-size:11.5px;color:#66666e;margin-top:2px;}
.gc-why{list-style:none;padding:0;margin:0 0 11px;}
.gc-why li{font-size:12.5px;padding:5px 0 5px 21px;position:relative;border-bottom:1px solid #f4f4f6;color:#1c1c1e;}
.gc-why li:last-child{border:0;}
.gc-why li:before{content:"✓";position:absolute;left:0;color:#1d8a3e;font-weight:900;}
.gc-why li.gc-warn:before{content:"!";color:#f5a623;}
.gc-pricebar{display:flex;align-items:baseline;gap:8px;justify-content:center;padding:10px 0;
  border-top:1px dashed #d8e8f5;border-bottom:1px dashed #d8e8f5;margin-bottom:11px;}
.gc-now{font-size:24px;font-weight:900;color:#0a66c2;}
.gc-old{font-size:14px;color:#a58e90;text-decoration:line-through;}
.gc-cut{background:#1c1c1e;color:#fff;font-weight:900;font-size:9.5px;letter-spacing:.4px;
  padding:4px 9px;border-radius:6px;text-transform:uppercase;white-space:nowrap;}
.gc-priceref{text-align:center;font-size:11.5px;color:#66666e;margin:-6px 0 11px;}
.gc-cta{display:block;width:100%;text-align:center;text-decoration:none;
  background:linear-gradient(135deg,#0a66c2,#084a8c);color:#fff;font-weight:900;font-size:15px;
  padding:14px;border-radius:50px;box-shadow:0 9px 20px rgba(10,102,194,.3);box-sizing:border-box;}
.gc-loyal{background:#fff8e6;border:1px solid #ffe3a8;color:#8a5a00;font-size:11.5px;font-weight:700;
  border-radius:9px;padding:7px 10px;margin-bottom:10px;}
.gc-stock{font-size:11.5px;color:#66666e;text-align:center;margin-top:8px;}
.gc-stock b{color:#0a66c2;}

.gc-foot{flex:none;border-top:1px solid #d8e8f5;padding:7px 13px;font-size:10px;color:#66666e;
  text-align:center;background:#fafafb;}
