/* Hostr Stays — chat widget flutuante */
.hostr-chat-btn{position:fixed;right:22px;bottom:96px;z-index:59;background:var(--cream);color:var(--navy);width:64px;height:64px;border:0;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 12px 28px rgba(11,25,48,.26);cursor:pointer;transition:.18s;animation:hostr-chat-pulse 2.6s ease-in-out infinite}
.hostr-chat-btn:hover{background:var(--coral);color:var(--navy);transform:translateY(-2px)}
.hostr-chat-btn.is-open{animation:none;background:var(--navy);color:var(--cream)}
.hostr-chat-btn svg{width:26px;height:26px}
.hostr-chat-btn .hostr-chat-chat-icon{width:58px;height:58px;object-fit:contain;display:block;filter:drop-shadow(0 2px 3px rgba(11,25,48,.18))}
.hostr-chat-btn .hostr-chat-close-icon{display:none}
.hostr-chat-btn.is-open .hostr-chat-chat-icon{display:none}
.hostr-chat-btn.is-open .hostr-chat-close-icon{display:block}
@keyframes hostr-chat-pulse{0%,100%{box-shadow:0 12px 28px rgba(0,0,0,.28),0 0 0 0 rgba(11,25,48,.45)}50%{box-shadow:0 12px 28px rgba(0,0,0,.28),0 0 0 14px rgba(11,25,48,0)}}

/* balao "Posso te ajudar?" */
.hostr-chat-hello{position:fixed;right:20px;bottom:172px;z-index:59;background:var(--white);color:var(--navy);border:1px solid var(--line);box-shadow:0 12px 28px rgba(11,25,48,.16);border-radius:16px;padding:11px 32px 11px 14px;font-size:13.5px;font-weight:600;line-height:1.25;font-family:'Inter',system-ui,sans-serif;max-width:210px;opacity:0;transform:translateY(8px) scale(.96);transition:opacity .25s ease,transform .25s ease;pointer-events:none}
.hostr-chat-hello.is-show{opacity:1;transform:none;pointer-events:auto}
.hostr-chat-hello::after{content:"";position:absolute;right:22px;bottom:-7px;width:14px;height:14px;background:var(--white);border-right:1px solid var(--line);border-bottom:1px solid var(--line);transform:rotate(45deg)}
.hostr-chat-hello b{color:var(--coral)}
.hostr-chat-hello-x{position:absolute;top:5px;right:7px;border:0;background:transparent;color:#9aa3ad;font-size:15px;line-height:1;cursor:pointer;padding:2px}
@media (prefers-reduced-motion:reduce){.hostr-chat-btn{animation:none}.hostr-chat-hello{transition:none}}

.hostr-chat-panel{position:fixed;right:22px;bottom:164px;z-index:59;width:340px;max-width:calc(100vw - 32px);height:460px;max-height:calc(100vh - 200px);background:var(--white);border-radius:18px;box-shadow:0 24px 50px rgba(11,25,48,.18);display:none;flex-direction:column;overflow:hidden;font-family:'Inter',system-ui,sans-serif}
.hostr-chat-panel.is-open{display:flex}

.hostr-chat-head{background:var(--navy);color:var(--white);padding:15px 16px;flex:0 0 auto;display:flex;align-items:center;gap:11px}
.hostr-chat-avatar{width:44px;height:44px;border-radius:50%;background:var(--cream);object-fit:contain;padding:3px;flex:0 0 auto;box-shadow:0 2px 8px rgba(0,0,0,.2)}
.hostr-chat-head-txt{display:flex;flex-direction:column;gap:3px;min-width:0}
.hostr-chat-head strong{font-family:'Fraunces',Georgia,serif;font-weight:600;font-size:16.5px;line-height:1.15}
.hostr-chat-head span{font-size:12px;color:rgba(255,255,255,.72);display:flex;align-items:center;gap:6px}
.hostr-chat-dot{width:7px;height:7px;border-radius:50%;background:#3ddc84;box-shadow:0 0 0 3px rgba(61,220,132,.2);flex:0 0 auto}

.hostr-chat-body{flex:1 1 auto;overflow-y:auto;padding:14px;background:var(--cream);display:flex;flex-direction:column;gap:8px}

.hostr-chat-msg{max-width:82%;padding:9px 12px;border-radius:14px;font-size:13.5px;line-height:1.45;white-space:pre-wrap;word-wrap:break-word}
.hostr-chat-msg.is-user{align-self:flex-end;background:var(--coral);color:var(--white);border-bottom-right-radius:4px}
.hostr-chat-msg.is-bot{align-self:flex-start;background:var(--white);color:var(--ink);border:1px solid var(--line);border-bottom-left-radius:4px}
.hostr-chat-msg.is-typing{align-self:flex-start;background:var(--white);color:var(--mut);border:1px solid var(--line);border-bottom-left-radius:4px}

.hostr-chat-form{flex:0 0 auto;display:flex;gap:8px;padding:12px;border-top:1px solid var(--line);background:var(--white)}
.hostr-chat-input{flex:1 1 auto;border:1px solid var(--line);border-radius:999px;padding:10px 14px;font-size:13.5px;font-family:inherit;outline:none}
.hostr-chat-input:focus{border-color:var(--coral)}
.hostr-chat-send{flex:0 0 auto;background:var(--coral);color:var(--white);border:0;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:.18s}
.hostr-chat-send:hover{background:var(--terra)}
.hostr-chat-send:disabled{opacity:.5;cursor:default}
.hostr-chat-send svg{width:17px;height:17px;fill:currentColor}

@media (max-width:480px){
  .hostr-chat-panel{right:16px;left:16px;width:auto;bottom:154px}
  .hostr-chat-btn{right:16px;bottom:88px}
  .hostr-chat-hello{right:16px;bottom:162px}
}
