/* Boosty — chatbot Boosty, site AgenceBoostIA. Palette V7 (variables du :root hôte). */
#boosty-widget{position:fixed;z-index:998;right:1.4rem;bottom:5.6rem;font-family:'Inter',system-ui,sans-serif;}

#boosty-bubble{
  width:58px;height:58px;border-radius:50%;border:none;cursor:pointer;
  background:linear-gradient(135deg,var(--violet,#5B21B6),var(--blue,#3B82F6));
  box-shadow:0 8px 24px rgba(91,33,182,.35);
  display:flex;align-items:center;justify-content:center;
  transition:transform .2s ease,box-shadow .2s ease;
}
#boosty-bubble:hover{transform:translateY(-2px) scale(1.04);box-shadow:0 12px 28px rgba(91,33,182,.45);}
#boosty-bubble svg{width:26px;height:26px;}

#boosty-panel{
  position:absolute;bottom:72px;right:0;width:360px;max-width:calc(100vw - 2rem);
  max-height:520px;display:flex;flex-direction:column;overflow:hidden;
  background:rgba(255,255,255,.72);
  backdrop-filter:blur(20px) saturate(160%);-webkit-backdrop-filter:blur(20px) saturate(160%);
  border:1px solid rgba(255,255,255,.6);
  border-radius:var(--r2,18px);
  box-shadow:0 20px 50px rgba(24,24,27,.18);
  opacity:0;transform:translateY(12px) scale(.98);pointer-events:none;
  transition:opacity .22s ease,transform .22s ease;
}
#boosty-widget.open #boosty-panel{opacity:1;transform:translateY(0) scale(1);pointer-events:auto;}

#boosty-header{
  padding:16px 18px;background:linear-gradient(120deg,var(--violet,#5B21B6),var(--blue,#3B82F6));
  color:#fff;display:flex;align-items:center;gap:10px;flex-shrink:0;
}
#boosty-header .boosty-dot{width:9px;height:9px;border-radius:50%;background:#4ADE80;box-shadow:0 0 0 3px rgba(74,222,128,.3);}
#boosty-header strong{font-family:'Plus Jakarta Sans','Inter',sans-serif;font-size:.95rem;display:block;}
#boosty-header span{font-size:.75rem;opacity:.85;}
#boosty-close{margin-left:auto;background:rgba(255,255,255,.18);border:none;color:#fff;width:26px;height:26px;border-radius:50%;cursor:pointer;font-size:1rem;line-height:1;}

#boosty-messages{
  flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px;
  background:linear-gradient(180deg,rgba(255,255,255,.4),rgba(250,250,249,.55));
}
.boosty-msg{max-width:82%;padding:10px 13px;border-radius:14px;font-size:.87rem;line-height:1.45;}
.boosty-msg.bot{align-self:flex-start;background:#fff;color:var(--ink,#18181B);border:1px solid var(--border,rgba(24,24,27,.08));border-bottom-left-radius:4px;}
.boosty-msg.user{align-self:flex-end;background:var(--violet,#5B21B6);color:#fff;border-bottom-right-radius:4px;}

#boosty-choices{display:flex;flex-wrap:wrap;gap:8px;padding:0 16px 12px;flex-shrink:0;}
.boosty-choice{
  border:1px solid var(--border,rgba(24,24,27,.12));background:#fff;color:var(--violet,#5B21B6);
  padding:8px 13px;border-radius:999px;font-size:.82rem;cursor:pointer;transition:.15s;
}
.boosty-choice:hover{background:var(--violet,#5B21B6);color:#fff;border-color:var(--violet,#5B21B6);}

#boosty-form{display:flex;flex-direction:column;gap:10px;padding:14px 16px;border-top:1px solid var(--border,rgba(24,24,27,.08));flex-shrink:0;background:rgba(255,255,255,.5);}
#boosty-form input{
  width:100%;border:1px solid var(--border,rgba(24,24,27,.14));border-radius:10px;padding:11px 13px;
  font-size:.9rem;font-family:inherit;background:#fff;color:var(--ink,#18181B);outline:none;
  transition:border-color .15s;
}
#boosty-form input:focus{border-color:var(--violet,#5B21B6);}
#boosty-form button{
  width:100%;border:none;border-radius:10px;padding:11px 16px;background:var(--violet,#5B21B6);color:#fff;
  font-size:.9rem;font-weight:600;cursor:pointer;transition:background .15s;
}
#boosty-form button:hover{background:var(--violet-h,#6D28D9);}
#boosty-form button:disabled{opacity:.6;cursor:default;}

@media (max-width:480px){
  #boosty-widget{right:.9rem;bottom:5rem;}
  #boosty-panel{width:calc(100vw - 1.8rem);max-height:70vh;}
  #boosty-form input,#boosty-form button{font-size:16px;}
}
