/* ANSEIO ÍNTIMO — Etapa 11: atendimento público único */
.anseio-support{position:fixed;right:18px;bottom:18px;z-index:5600;font-family:var(--anseio-font-body);color:var(--anseio-theme-text)}
.anseio-support-toggle{width:60px;height:60px;display:grid;place-items:center;padding:7px;border:2px solid var(--anseio-theme-accent);border-radius:6px;background:var(--anseio-theme-surface-elevated);box-shadow:0 16px 42px rgba(42,0,10,.24);cursor:pointer;transition:transform .18s ease,box-shadow .18s ease}
.anseio-support-toggle:hover,.anseio-support-toggle:focus-visible{transform:translateY(-2px);box-shadow:0 22px 56px rgba(42,0,10,.32)}
.anseio-support-toggle img{width:100%;height:100%;display:block;object-fit:contain}
.anseio-support-panel{position:absolute;right:0;bottom:72px;width:min(420px,calc(100vw - 28px));max-height:min(700px,calc(100dvh - 110px));display:grid;grid-template-rows:auto minmax(170px,1fr) auto auto;background:var(--anseio-theme-surface-elevated);color:var(--anseio-theme-text);border:1px solid var(--anseio-theme-border);border-radius:6px;box-shadow:var(--anseio-theme-shadow);overflow:hidden;opacity:0;visibility:hidden;pointer-events:none;transform:translateY(10px) scale(.985);transform-origin:bottom right;transition:opacity .18s ease,transform .18s ease,visibility .18s ease}
.anseio-support-panel.is-open{opacity:1;visibility:visible;pointer-events:auto;transform:none}
.anseio-support-head{display:grid;grid-template-columns:42px 1fr;align-items:center;gap:12px;padding:14px 16px;background:linear-gradient(135deg,#780007,#340008);color:#fff}
.anseio-support-head img{width:42px;height:42px;display:block;object-fit:contain;background:#fff;border-radius:6px;padding:4px}
.anseio-support-head div{display:grid;gap:3px;min-width:0}
.anseio-support-head strong{font:700 1.02rem/1.1 var(--anseio-font-body);color:#fff!important}
.anseio-support-head span{font-size:.76rem;line-height:1.25;color:#fff!important;opacity:.88}
.anseio-support-chat{display:grid;align-content:start;gap:10px;padding:14px;overflow:auto;overscroll-behavior:contain;background:var(--anseio-theme-surface-elevated)}
.anseio-support-message{max-width:88%;display:grid;gap:4px}
.anseio-support-message>span{font-size:.66rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--anseio-theme-accent)}
.anseio-support-message p{margin:0;padding:10px 12px;border:1px solid var(--anseio-theme-border);border-radius:6px;background:var(--anseio-theme-surface-soft);color:var(--anseio-theme-text);font-size:.84rem;line-height:1.5;overflow-wrap:anywhere}
.anseio-support-message.is-user{justify-self:end}
.anseio-support-message.is-user>span{text-align:right}
.anseio-support-message.is-user p{background:var(--anseio-theme-accent);border-color:var(--anseio-theme-accent);color:var(--anseio-theme-on-accent)}
.anseio-support-message.is-loading p{opacity:.68}
.anseio-support-controls{display:grid;gap:9px;padding:10px 11px 11px;border-top:1px solid var(--anseio-theme-border);background:var(--anseio-theme-surface-elevated)}
.anseio-support-quick{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.anseio-support-quick button{width:100%;min-height:40px;border:1px solid var(--anseio-theme-border);border-radius:6px;background:transparent;color:var(--anseio-theme-accent);padding:8px 10px;font:700 .72rem/1.25 var(--anseio-font-body);cursor:pointer}
.anseio-support-form{display:grid;gap:6px}
.anseio-support-input{display:grid;grid-template-columns:1fr auto;align-items:end;gap:8px}
.anseio-support-input textarea{min-height:54px!important;max-height:132px;resize:vertical;padding:10px 12px!important}
.anseio-support-input button{min-height:46px;border:1px solid var(--anseio-theme-accent);border-radius:6px;background:var(--anseio-theme-accent);color:var(--anseio-theme-on-accent);padding:0 15px;font-weight:800;cursor:pointer}
.anseio-support-status{display:block;min-height:18px;color:var(--anseio-theme-muted);font-size:.72rem;line-height:1.35}
.anseio-support-status:empty{display:none}
.anseio-support-handoff{display:grid;gap:8px;padding:10px;border:1px solid var(--anseio-theme-border);border-radius:6px;background:var(--anseio-theme-surface-soft)}
.anseio-support-handoff[hidden]{display:none!important}
.anseio-support-handoff p{margin:0;color:var(--anseio-theme-muted);font-size:.76rem;line-height:1.45}
.anseio-support-handoff a{display:flex;min-height:42px;align-items:center;justify-content:center;border:1px solid var(--anseio-theme-accent);border-radius:6px;background:var(--anseio-theme-accent);color:var(--anseio-theme-on-accent)!important;text-decoration:none;font-size:.78rem;font-weight:800}
.anseio-support-note{display:block;padding:0 11px 11px;background:var(--anseio-theme-surface-elevated);color:var(--anseio-theme-muted);font-size:.68rem;line-height:1.4}
body.anseio-support-open{overflow:hidden}

/* Central de contato */
.anseio-support-page{padding-block:clamp(42px,7vw,86px)}
.anseio-support-page .anseio-support-layout{display:grid;grid-template-columns:minmax(0,1.18fr) minmax(320px,.82fr);gap:24px;align-items:start}
.anseio-support-card{border:1px solid var(--anseio-theme-border);border-radius:6px;background:var(--anseio-theme-surface-elevated);padding:clamp(20px,3vw,30px);box-shadow:var(--anseio-shadow-card)}
.anseio-support-card h2{margin:0 0 8px}
.anseio-support-card>p{margin:0 0 20px;color:var(--anseio-theme-muted)}
.anseio-support-contact-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.anseio-support-contact-form label{display:grid;gap:7px}
.anseio-support-contact-form .is-wide{grid-column:1/-1}
.anseio-support-contact-form textarea{min-height:150px!important}
.anseio-support-contact-form .anseio-support-honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
.anseio-support-contact-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.anseio-support-contact-actions button,.anseio-support-contact-actions a{min-height:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:6px;padding:0 18px;font-weight:800;text-decoration:none}
.anseio-support-contact-actions button{border:1px solid var(--anseio-theme-accent);background:var(--anseio-theme-accent);color:var(--anseio-theme-on-accent);cursor:pointer}
.anseio-support-contact-actions a{border:1px solid var(--anseio-theme-border);background:transparent;color:var(--anseio-theme-accent)}
.anseio-support-contact-status{grid-column:1/-1;min-height:22px;margin:0;color:var(--anseio-theme-muted);font-size:.84rem}
.anseio-support-contact-status.is-success{color:#17653a}
.anseio-support-contact-status.is-error{color:#a00019}
.anseio-support-channels{display:grid;gap:12px}
.anseio-support-channel{display:grid;grid-template-columns:44px 1fr;gap:14px;align-items:center;border:1px solid var(--anseio-theme-border);border-radius:6px;padding:16px;text-decoration:none;color:var(--anseio-theme-text);background:var(--anseio-theme-surface-soft);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.anseio-support-channel:hover,.anseio-support-channel:focus-visible{transform:translateY(-2px);border-color:var(--anseio-theme-accent);box-shadow:var(--anseio-shadow-card)}
.anseio-support-channel img{width:30px;height:30px;display:block;object-fit:contain;justify-self:center}
.anseio-support-channel strong{display:block;margin-bottom:3px;color:var(--anseio-theme-text)!important}
.anseio-support-channel span{display:block;color:var(--anseio-theme-muted);font-size:.84rem;line-height:1.4}
.anseio-support-hours{margin-top:18px;padding-top:18px;border-top:1px solid var(--anseio-theme-border)}
.anseio-support-hours h3{margin:0 0 6px;font-size:1rem}
.anseio-support-hours p{margin:0;color:var(--anseio-theme-muted);font-size:.84rem;line-height:1.5}

html[data-theme="dark"] .anseio-support-contact-status.is-success{color:#8fe0b2}
html[data-theme="dark"] .anseio-support-contact-status.is-error{color:#ff9cad}
@media (max-width:760px){
  .anseio-support{right:10px;bottom:10px}
  .anseio-support-toggle{width:56px;height:56px}
  .anseio-support-panel{right:0;bottom:66px;width:calc(100vw - 20px);max-height:calc(100dvh - 86px)}
  .anseio-support-page .anseio-support-layout{grid-template-columns:1fr}
  .anseio-support-contact-form{grid-template-columns:1fr}
  .anseio-support-contact-form .is-wide,.anseio-support-contact-actions,.anseio-support-contact-status{grid-column:auto}
}
@media (max-width:420px){.anseio-support-quick{grid-template-columns:1fr}.anseio-support-input{grid-template-columns:1fr}.anseio-support-input button{width:100%}}
@media (prefers-reduced-motion:reduce){.anseio-support-panel,.anseio-support-toggle,.anseio-support-channel{transition:none!important}.anseio-support-toggle:hover,.anseio-support-channel:hover{transform:none!important}}

/* Lótus oficial fornecida — sem recorte, distorção ou fundo raster. */
.anseio-support-toggle img,.anseio-support-head img{display:block;object-fit:contain!important;object-position:center;width:100%;height:100%;padding:7px;filter:none!important}
.anseio-support-head img{padding:4px}

/* ETAPA 15.6.1 — lótus original visível na Lia em ambos os temas. */
.anseio-support-toggle{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
}
.anseio-support-toggle>img{
  flex:0 0 42px!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  padding:0!important;
  box-sizing:border-box!important;
  object-fit:contain!important;
  object-position:center!important;
}
.anseio-support-head>img{
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  max-width:42px!important;
  padding:4px!important;
  box-sizing:border-box!important;
  object-fit:contain!important;
  object-position:center!important;
}
html[data-theme="dark"] .anseio-support-toggle{
  background:#12070a!important;
  border-color:#ffd0dc!important;
}
@media(max-width:760px){
  .anseio-support-toggle>img{flex-basis:38px!important;width:38px!important;height:38px!important;min-width:38px!important;max-width:38px!important}
}


/* ETAPA 15.6.2 — Lia progressiva: interface inicial simples e opções após iniciar. */
.anseio-support-panel{grid-template-rows:auto minmax(92px,auto) auto auto auto;max-height:min(620px,calc(100dvh - 110px))}
.anseio-support-intro{display:grid;padding:0 14px 14px;background:var(--anseio-theme-surface-elevated)}
.anseio-support-intro[hidden],.anseio-support-controls[hidden],.anseio-support-note[hidden]{display:none!important}
.anseio-support-intro button{min-height:46px;border:1px solid var(--anseio-theme-accent);border-radius:6px;background:var(--anseio-theme-accent);color:var(--anseio-theme-on-accent);font:800 .82rem/1 var(--anseio-font-body);cursor:pointer}
.anseio-support-panel[data-support-stage="intro"] .anseio-support-chat{min-height:92px;padding-bottom:10px}
.anseio-support-panel[data-support-stage="active"] .anseio-support-chat{min-height:130px;max-height:280px}
.anseio-support-controls{padding-top:11px}
.anseio-support-note{padding-top:1px}
@media(max-width:420px){.anseio-support-panel{max-height:calc(100dvh - 86px)}.anseio-support-panel[data-support-stage="active"] .anseio-support-chat{max-height:210px}}
