/* Chat do site com a assistente virtual (estilo WhatsApp). */
.lzchat{--wa-green:#0875e1;--wa-teal:#092b82;--wa-teal-2:#0b9eb5;--wa-bg:#f3f7fc;--wa-mine:#e7f3ff;position:fixed;right:20px;bottom:calc(20px + var(--lzchat-lift,0px));z-index:90;font-family:inherit}
.lzchat[hidden]{display:none}
.lzchat-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

.lzchat-launcher{position:relative;display:flex;align-items:center;gap:10px;margin-left:auto;min-height:60px;border:0;border-radius:999px;background:var(--wa-green);padding:0 22px 0 14px;color:#fff;font:inherit;font-size:.95rem;font-weight:800;box-shadow:0 12px 30px rgba(9,43,130,.24);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.lzchat-launcher:hover{transform:translateY(-2px);box-shadow:0 16px 36px rgba(9,43,130,.3)}
.lzchat-launcher:focus-visible{outline:3px solid var(--orange-500,#f07824);outline-offset:3px}
.lzchat-launcher-icon{width:34px;height:34px;flex:none}
.lzchat-badge{position:absolute;top:-4px;right:-2px;display:grid;place-items:center;min-width:22px;height:22px;border:2px solid #fff;border-radius:999px;background:#d85f17;color:#fff;font-size:.72rem;font-weight:900}
.lzchat-badge[hidden]{display:none}
.lzchat.is-open .lzchat-launcher-label{display:none}
.lzchat.is-open .lzchat-launcher{width:60px;justify-content:center;padding:0}

.lzchat-panel{position:absolute;right:0;bottom:76px;display:flex;flex-direction:column;width:min(380px,calc(100vw - 40px));height:min(600px,calc(100vh - 130px - var(--lzchat-lift,0px)));min-height:320px;overflow:hidden;border-radius:18px;background:var(--wa-bg);box-shadow:0 24px 70px rgba(20,12,30,.32);animation:lzchat-in .2s ease-out}
.lzchat-panel[hidden]{display:none}
@keyframes lzchat-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.lzchat-panel{animation:none}.lzchat-launcher{transition:none}}

.lzchat-head{display:flex;align-items:center;gap:11px;flex:none;background:var(--wa-teal);padding:12px 10px 12px 14px;color:#fff}
.lzchat-avatar{display:block;width:40px;height:40px;flex:none;border-radius:50%;background:#fff;padding:2px}
.lzchat-avatar svg{display:block;width:100%;height:100%}
.lzchat-head-text{min-width:0;flex:1}
.lzchat-head h2{margin:0;color:#fff;font-size:1rem;line-height:1.25;letter-spacing:0}
.lzchat-head p{margin:1px 0 0;overflow:hidden;color:rgba(255,255,255,.82);font-size:.76rem;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}
.lzchat-restart{flex:none;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:transparent;padding:5px 10px;color:#fff;font:inherit;font-size:.74rem;font-weight:700;cursor:pointer}
.lzchat-restart:hover{background:rgba(255,255,255,.12)}
.lzchat-restart[hidden]{display:none}
.lzchat-close{display:grid;place-items:center;flex:none;width:36px;height:36px;border:0;border-radius:50%;background:transparent;color:#fff;cursor:pointer}
.lzchat-close:hover{background:rgba(255,255,255,.14)}
.lzchat-close svg{width:20px;height:20px}
.lzchat-restart:focus-visible,.lzchat-close:focus-visible{outline:2px solid #fff;outline-offset:2px}

.lzchat-body{flex:1;overflow-y:auto;overscroll-behavior:contain;padding:14px 12px 10px;background-color:var(--wa-bg);background-image:radial-gradient(rgba(7,94,84,.06) 1px,transparent 1.2px);background-size:18px 18px}

.lzchat-start{display:grid;gap:10px}
.lzchat-start[hidden]{display:none}
.lzchat-intro{margin:0 0 4px}
.lzchat-field{display:grid;gap:4px;font-size:.82rem;font-weight:700;color:#3b4a54}
.lzchat-field input{width:100%;min-height:44px;border:1px solid #cfd8dc;border-radius:10px;background:#fff;padding:9px 12px;color:#111b21;font:inherit;font-size:.95rem;font-weight:400}
.lzchat-field input:focus{border-color:var(--wa-teal-2);outline:2px solid rgba(18,140,126,.25);outline-offset:0}
.lzchat-primary{min-height:46px;border:0;border-radius:10px;background:var(--wa-teal-2);color:#fff;font:inherit;font-weight:800;cursor:pointer}
.lzchat-primary:hover{background:var(--wa-teal)}
.lzchat-primary:disabled{opacity:.6;cursor:wait}
.lzchat-legal{margin:0;color:#54656f;font-size:.72rem;line-height:1.45}
.lzchat-legal a{color:var(--wa-teal)}
.lzchat-error,.lzchat-compose-error{margin:0;border-radius:8px;background:#fdecea;padding:7px 10px;color:#a3261b;font-size:.8rem;line-height:1.4}
.lzchat-compose-error{flex:none;margin:0 10px 8px}
.lzchat-error[hidden],.lzchat-compose-error[hidden]{display:none}

.lzchat-messages{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}
.lzchat-messages[hidden]{display:none}
.lzchat-msg{display:flex}
.lzchat-msg.is-mine{justify-content:flex-end}
.lzchat-bubble{position:relative;max-width:85%;margin:0;border-radius:10px;background:#fff;padding:7px 10px 18px;color:#111b21;font-size:.9rem;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;box-shadow:0 1px .5px rgba(11,20,26,.13)}
.lzchat-msg.is-bot .lzchat-bubble,.lzchat-intro{border-top-left-radius:2px}
.lzchat-msg.is-mine .lzchat-bubble{border-top-right-radius:2px;background:var(--wa-mine)}
.lzchat-msg.is-pending .lzchat-bubble{opacity:.65}
.lzchat-intro{max-width:none;padding-bottom:8px}
.lzchat-bubble a{color:#027eb5;text-decoration:underline}
.lzchat-bubble time{position:absolute;right:9px;bottom:3px;color:#667781;font-size:.66rem;line-height:1}
.lzchat-typing .lzchat-bubble{padding:10px 14px}
.lzchat-dots{display:inline-flex;gap:4px}
.lzchat-dots i{width:7px;height:7px;border-radius:50%;background:#8696a0;animation:lzchat-dot 1.2s infinite ease-in-out}
.lzchat-dots i:nth-child(2){animation-delay:.15s}
.lzchat-dots i:nth-child(3){animation-delay:.3s}
@keyframes lzchat-dot{0%,60%,100%{opacity:.35;transform:none}30%{opacity:1;transform:translateY(-3px)}}

.lzchat-compose{display:flex;align-items:flex-end;gap:8px;flex:none;background:#f0f2f5;padding:8px 10px}
.lzchat-compose[hidden]{display:none}
.lzchat-compose textarea{flex:1;min-height:42px;max-height:120px;resize:none;border:0;border-radius:21px;background:#fff;padding:10px 16px;color:#111b21;font:inherit;font-size:.92rem;line-height:1.4}
.lzchat-compose textarea:focus{outline:2px solid rgba(18,140,126,.35);outline-offset:0}
.lzchat-compose textarea:disabled{background:#e9edef}
.lzchat-send{display:grid;place-items:center;flex:none;width:42px;height:42px;border:0;border-radius:50%;background:var(--wa-teal-2);color:#fff;cursor:pointer}
.lzchat-send:hover{background:var(--wa-teal)}
.lzchat-send:disabled{opacity:.5;cursor:default}
.lzchat-send svg{width:20px;height:20px;margin-left:2px}

@media (max-width:640px){
  .lzchat{right:14px;bottom:calc(14px + var(--lzchat-lift,0px))}
  .lzchat-launcher{min-height:56px;padding:0 18px 0 12px;font-size:.9rem}
  .lzchat-launcher-label{display:none}
  .lzchat-launcher{width:58px;justify-content:center;padding:0}
  .lzchat.is-open{inset:0;right:0;bottom:0 !important;z-index:110}
  .lzchat.is-open .lzchat-launcher{display:none}
  .lzchat-panel{position:fixed;inset:0;width:100%;height:100%;height:100dvh;min-height:0;border-radius:0}
  .lzchat-bubble{max-width:88%}
}

