/* =====================================================================
   Bot de pré-atendimento e aviso de cookies. Cores vêm das variáveis do style.css
   ===================================================================== */
.bot{position:fixed;z-index:120;right:1rem;bottom:5.6rem;width:min(380px,calc(100vw - 2rem));max-height:calc(100vh - 7rem);display:flex;flex-direction:column;background:#fff;border-radius:18px;box-shadow:0 18px 50px rgba(8,43,85,.35);overflow:hidden;animation:bot-in .25s ease-out}
.bot[hidden]{display:none}
.bot__head{display:flex;align-items:center;justify-content:space-between;gap:.6rem;background:var(--navy);color:#fff;padding:.85rem 1rem}
.bot__head strong{display:flex;align-items:center;gap:.6rem;font-size:1rem}
.bot__head strong::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--sol);box-shadow:0 0 0 4px rgba(255,201,40,.25)}
.bot__x{background:none;border:0;color:#fff;font-size:1.8rem;line-height:1;cursor:pointer;width:44px;height:44px}
.bot__body{padding:1rem;overflow-y:auto;display:grid;gap:.9rem}
.bubble{background:var(--cinza);border-radius:14px 14px 14px 4px;padding:.8rem 1rem;color:var(--texto);font-size:.95rem;margin:0}
.bot label{display:grid;gap:.3rem;font-weight:600;font-size:.88rem;color:var(--navy)}
.bot input[type=text],.bot input[type=tel]{font:inherit;padding:.75rem .85rem;border:2px solid #cfd8e3;border-radius:10px;min-height:48px}
.bot input:focus{border-color:var(--azul);outline:none}
.bot fieldset{border:0;padding:0;margin:0;display:grid;gap:.45rem}
.bot legend{font-weight:700;font-size:.9rem;color:var(--navy);margin-bottom:.4rem;padding:0}
.opc{display:flex!important;align-items:center;gap:.6rem;border:2px solid #dfe5ec;border-radius:12px;padding:.7rem .85rem;font-weight:600!important;cursor:pointer;min-height:48px;transition:border-color .15s,background .15s}
.opc:hover{border-color:var(--azul)}
.opc input{accent-color:var(--azul);width:18px;height:18px;flex:none}
.opc:has(input:checked){border-color:var(--sol);background:#fff8e0}
.bot .lgpd{display:flex;gap:.6rem;align-items:flex-start;font-weight:500;font-size:.8rem;color:var(--texto)}
.bot .lgpd input{margin-top:.2rem;width:18px;height:18px;flex:none}
.bot .erro{color:#b3261e;font-weight:600;font-size:.85rem;margin:0;min-height:1.2em}
.bot .hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
.bot .btn{width:100%;margin:0}
.bot-veu{position:fixed;inset:0;background:rgba(5,20,40,.45);z-index:119}
.bot-veu[hidden]{display:none}
@keyframes bot-in{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@media(max-width:600px){.bot{inset:0;width:auto;max-height:none;border-radius:0}}
@media(prefers-reduced-motion:reduce){.bot{animation:none}}
/* aviso de cookies */
.cookie{position:fixed;z-index:110;left:1rem;right:1rem;bottom:1rem;max-width:640px;margin:auto;background:var(--navy);color:#e6eefb;border-radius:14px;padding:1rem 1.2rem;box-shadow:0 12px 36px rgba(0,0,0,.35);display:flex;flex-wrap:wrap;gap:.8rem 1rem;align-items:center;font-size:.9rem}
.cookie[hidden]{display:none}
.cookie p{margin:0;flex:1 1 280px}
.cookie .btn{margin:0;padding:.55rem 1.2rem;min-height:44px}
.cookie .btn--outline{border-color:#9fb3d1;color:#fff}
@media(min-width:700px){.cookie{left:1rem;right:auto;margin:0}}
