/* Asistente Auge7 — widget de chat (v0, sin LLM) */
.a7-launch{position:fixed;right:20px;bottom:20px;z-index:80;width:58px;height:58px;border:0;border-radius:50%;
  display:grid;place-items:center;cursor:pointer;color:#04121F;
  background:linear-gradient(135deg,#45E3FF,#1F5BFF 70%);box-shadow:0 16px 40px -12px rgba(31,91,255,.85);
  transition:transform .2s ease,box-shadow .2s ease}
.a7-launch:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 20px 46px -12px rgba(69,227,255,.9)}
.a7-launch svg{width:26px;height:26px}
.a7-launch[aria-expanded="true"]{background:linear-gradient(135deg,#1F5BFF,#0B3BD6)}
.a7-launch .a7-close-ico{display:none}
.a7-launch[aria-expanded="true"] .a7-chat-ico{display:none}
.a7-launch[aria-expanded="true"] .a7-close-ico{display:block}
.a7-badge{position:absolute;top:-2px;right:-2px;min-width:18px;height:18px;border-radius:999px;background:#FF5C7A;
  color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;border:2px solid #06080C}

.a7-chat{position:fixed;right:20px;bottom:88px;z-index:80;width:376px;max-width:calc(100vw - 32px);
  max-height:min(600px,calc(100dvh - 120px));display:flex;flex-direction:column;overflow:hidden;
  border:1px solid var(--line);border-radius:20px;background:
  radial-gradient(80% 60% at 100% 0%,rgba(31,91,255,.22),transparent 70%),linear-gradient(180deg,#0E1624,#080C13);
  box-shadow:0 30px 80px -30px rgba(0,0,0,.95)}
.a7-chat[hidden]{display:none}
.a7-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:14px 14px 12px;
  border-bottom:1px solid var(--line-soft);background:rgba(255,255,255,.02)}
.a7-id{display:flex;align-items:center;gap:10px;min-width:0}
.a7-dot{width:8px;height:8px;border-radius:50%;background:#57E3A0;box-shadow:0 0 0 4px rgba(87,227,160,.14);flex:0 0 8px}
.a7-id strong{display:block;font-size:13.5px;font-weight:600;line-height:1.2;white-space:nowrap}
.a7-id small{display:block;font-size:11px;color:var(--muted);margin-top:2px}
.a7-head-act{display:flex;align-items:center;gap:6px;flex:0 0 auto}
.a7-wa{font-size:11.5px;font-weight:600;color:#04121F;background:#25D366;border-radius:999px;padding:6px 10px;
  display:inline-flex;align-items:center;gap:5px}
.a7-wa:hover{filter:brightness(1.05)}
.a7-x{width:30px;height:30px;border-radius:50%;border:1px solid var(--line);background:rgba(255,255,255,.03);
  color:#DCE3EF;font-size:17px;line-height:1;display:grid;place-items:center;cursor:pointer}
.a7-x:hover{background:rgba(255,255,255,.08)}

.a7-log{flex:1;overflow-y:auto;padding:16px 14px 8px;display:flex;flex-direction:column;gap:9px;
  scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.18) transparent}
.a7-msg{max-width:86%;font-size:13.5px;line-height:1.5;padding:10px 13px;border-radius:14px;
  border:1px solid transparent;animation:a7in .22s ease both;word-wrap:break-word}
.a7-msg.bot{align-self:flex-start;background:rgba(255,255,255,.055);border-color:var(--line-soft);
  border-bottom-left-radius:5px;color:#E7EEF9}
.a7-msg.user{align-self:flex-end;background:linear-gradient(120deg,#1F5BFF,#3D8BFF);color:#fff;
  border-bottom-right-radius:5px;box-shadow:0 8px 24px -12px rgba(31,91,255,.8)}
.a7-msg.system{align-self:center;background:transparent;border:1px dashed var(--line);color:#9FB0C6;font-size:11.5px}
@keyframes a7in{from{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}

.a7-typing{align-self:flex-start;display:inline-flex;gap:4px;padding:12px 14px;border-radius:14px;
  border-bottom-left-radius:5px;background:rgba(255,255,255,.055);border:1px solid var(--line-soft)}
.a7-typing i{width:5px;height:5px;border-radius:50%;background:#8FA0B8;animation:a7t 1s infinite}
.a7-typing i:nth-child(2){animation-delay:.15s}
.a7-typing i:nth-child(3){animation-delay:.3s}
@keyframes a7t{0%,60%,100%{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-3px)}}

.a7-opts{padding:0 14px 10px;display:flex;flex-wrap:wrap;gap:7px}
.a7-opt{font-size:12.5px;color:#DCE6F5;background:rgba(255,255,255,.04);border:1px solid var(--line);
  border-radius:999px;padding:8px 12px;cursor:pointer;transition:.18s;text-align:left}
.a7-opt:hover{border-color:rgba(69,227,255,.45);background:rgba(69,227,255,.09)}
.a7-opt:focus-visible{outline:2px solid var(--cyan);outline-offset:2px}

.a7-form{display:flex;gap:8px;padding:10px 14px 0}
.a7-form[hidden]{display:none}
.a7-form input{flex:1;min-width:0;background:rgba(255,255,255,.04);border:1px solid var(--line);border-radius:999px;
  padding:11px 14px;color:var(--text);font:inherit;font-size:13.5px}
.a7-form input:focus{outline:none;border-color:rgba(69,227,255,.55);background:rgba(31,91,255,.08)}
.a7-form input::placeholder{color:#7C8AA0}
.a7-form button{width:40px;height:40px;border-radius:50%;border:0;cursor:pointer;color:#fff;font-size:16px;
  background:linear-gradient(120deg,#1F5BFF,#3D8BFF);display:grid;place-items:center;flex:0 0 40px}
.a7-form button:hover{filter:brightness(1.08)}
.a7-foot{font-size:10.5px;color:#6F7D92;text-align:center;padding:8px 14px 12px;margin:0}

.a7-cta{display:flex;flex-wrap:wrap;gap:8px;margin-top:4px}
.a7-cta a{font-size:12.5px;font-weight:600;border-radius:999px;padding:9px 13px;display:inline-flex;gap:6px;
  align-items:center;border:1px solid var(--line);color:#DCE6F5;background:rgba(255,255,255,.03)}
.a7-cta a.primary{background:#25D366;color:#04121F;border-color:transparent}

.wa-float{display:none!important}

@media(max-width:620px){
  .a7-chat{right:10px;left:10px;bottom:80px;width:auto;max-height:calc(100dvh - 100px)}
  .a7-launch{right:14px;bottom:14px;width:54px;height:54px}
}
@media(prefers-reduced-motion:reduce){
  .a7-msg{animation:none}.a7-launch{transition:none}
}
