/* Energy — botão de contato com status do horário (dez/2026). Substitui o botão só de WhatsApp (.en-fab). */
html .en-fab { display: none !important; }
.en-cw { --cw-g: #1F9D55; --cw-ok: #22C55E; --cw-off: #F59E0B; --cw-ink: #13201A; --cw-mut: #4A5A52; --cw-line: #DCE3DA;
  --cw-mola: cubic-bezier(.34,1.56,.64,1); --cw-sai: cubic-bezier(.16,1,.3,1);
  position: fixed; right: 20px; bottom: 20px; z-index: 998; font-family: inherit; color: var(--cw-ink); display: block;
  transition: opacity .25s, translate .45s var(--cw-sai), transform .3s var(--cw-sai); }
html.en-ck-on .en-cw { opacity: 0; pointer-events: none; transform: translateY(12px); }
html.en-fab-up .en-cw { translate: 0 -84px; }
@media (max-width: 921px) { html.en-fab-up .en-cw:not(.aberto) { opacity: 0; pointer-events: none; transform: translateY(12px); } }

/* botão: pílula no desktop, círculo no celular; ponto de status sempre visível */
/* painel e balão flutuam acima do botão (absolutos): a caixa fixa é só o botão, então nada desloca o layout (CLS) */
.en-cw__pn, .en-cw__bal { position: absolute; right: 0; bottom: calc(100% + 12px); }
.en-cw__btn { position: relative; display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px; height: 58px; min-width: 216px; padding: 0 22px 0 8px; border: 0; border-radius: 999px;
  background: #0B1F16; color: #fff; font: 700 15.5px/1 inherit; cursor: pointer; box-shadow: 0 14px 32px -12px #0B1F16b3;
  transition: transform .2s var(--cw-sai), box-shadow .25s, background .2s; -webkit-tap-highlight-color: transparent; }
.en-cw__btn:hover { background: #10291D; box-shadow: 0 18px 36px -12px #0B1F16cc; }
.en-cw__btn:focus-visible { outline: 2px solid #FD6A06; outline-offset: 3px; }
.en-cw__ico { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--cw-g); flex: none; }
.en-cw__ico svg { position: absolute; width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--cw-mola), opacity .2s; }
.en-cw__ico .chat { stroke: none; fill: #fff; }
.en-cw__ico .chat circle { fill: #1F9D55; }
.en-cw__ico .x { opacity: 0; transform: rotate(-90deg) scale(.5); }
.en-cw.aberto .en-cw__ico .chat { opacity: 0; transform: rotate(90deg) scale(.5); }
.en-cw.aberto .en-cw__ico .x { opacity: 1; transform: none; }
.en-cw__txt { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; text-align: left; }
.en-cw__txt small { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: #BFD0C5; }
.en-cw__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--cw-ok); flex: none; }
.en-cw.fechado .en-cw__dot { background: var(--cw-off); }
/* selo de status no círculo do celular: dentro do círculo, com aro branco (padrão de badge dos apps) */
.en-cw__ico .en-cw__dot { position: absolute; top: 7px; right: 7px; width: 13px; height: 13px; box-shadow: 0 0 0 2.5px #fff; display: none; z-index: 1; }
@media (max-width: 600px) {
  .en-cw { right: 14px; bottom: 14px; }
  .en-cw__btn { height: 60px; width: 60px; min-width: 0; padding: 0; justify-content: center; }
  .en-cw__txt { display: none; }
  .en-cw__ico { width: 60px; height: 60px; box-shadow: 0 14px 30px -10px #0B5A2Aaa; }
  .en-cw__ico svg { width: 26px; height: 26px; }
  .en-cw__btn { background: transparent; box-shadow: none; }
  .en-cw__btn:hover { background: transparent; box-shadow: none; }
  .en-cw__ico .en-cw__dot { display: block; }
  .en-cw.aberto .en-cw__ico .en-cw__dot { opacity: 0; }
}

/* painel */
.en-cw__pn { width: min(360px, calc(100vw - 28px)); border-radius: 26px; background: #fff; box-shadow: 0 30px 70px -20px #0B1F1680, 0 0 0 1px #0B1F160f;
  overflow: hidden; transform-origin: 100% 100%; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.94);
  transition: opacity .2s, transform .3s var(--cw-sai), visibility 0s .3s; }
.en-cw.aberto .en-cw__pn { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .38s var(--cw-mola), visibility 0s; }
.en-cw__hd { position: relative; padding: 20px 22px 18px; background: #0B1F16; color: #fff; overflow: hidden; }
.en-cw__hd::after { content: ""; position: absolute; right: -40px; top: -60px; width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, #FD6A0640, transparent 70%); pointer-events: none; }
.en-cw__hd b { display: block; font-size: 18px; line-height: 1.25; }
.en-cw__st { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: #22C55E1f; color: #86EFAC; font-size: 13.5px; font-weight: 700; }
.en-cw.fechado .en-cw__st { background: #F59E0B1f; color: #FCD34D; }
.en-cw__hr { display: block; margin-top: 8px; font-size: 13px; color: #BFD0C5; }
.en-cw__ls { list-style: none; margin: 0; padding: 10px; display: grid; gap: 4px; }
.en-cw__ls a { display: grid; grid-template-columns: 46px 1fr 20px; align-items: center; gap: 14px; min-height: 64px; padding: 9px 12px 9px 9px; border-radius: 18px;
  color: var(--cw-ink); text-decoration: none; transition: background .15s, transform .2s var(--cw-sai); }
.en-cw__ls a:hover { background: #F4F6F1; }
.en-cw__ls a:focus-visible { outline: 2px solid #FD6A06; outline-offset: -2px; }
.en-cw__ls a b { display: block; font-size: 15.5px; line-height: 1.3; }
.en-cw__ls a small { display: block; font-size: 13.5px; line-height: 1.35; color: var(--cw-mut); }
.en-cw__ls .i { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; }
.en-cw__ls .i svg { width: 22px; height: 22px; }
.en-cw__ls .wa .i { background: #E7F6EC; color: #0B5A2A; }
.en-cw__ls .tel .i { background: #FFF1E6; color: #C2410C; }
.en-cw__ls .mail .i { background: #E6EFE7; color: #05421C; }
.en-cw__ls .ar { width: 18px; height: 18px; color: #9AA9A1; transition: transform .2s var(--cw-sai), color .2s; }
.en-cw__ls a:hover .ar { transform: translateX(3px); color: var(--cw-ink); }
.en-cw__ls a.mudo b { color: var(--cw-mut); }
.en-cw__ls a.mudo .i { filter: grayscale(.6); opacity: .8; }
.en-cw__ft { margin: 0; padding: 0 22px 16px; font-size: 12.5px; color: var(--cw-mut); }

/* balão de boas-vindas (uma vez por sessão) */
.en-cw__bal { width: max-content; max-width: min(260px, calc(100vw - 28px)); padding: 12px 34px 12px 14px; border-radius: 18px 18px 6px 18px; background: #fff; color: var(--cw-ink);
  font-size: 14px; line-height: 1.4; box-shadow: 0 16px 36px -14px #0B1F1680, 0 0 0 1px #0B1F160f; cursor: pointer;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 100% 100%; visibility: hidden;
  transition: opacity .25s, transform .35s var(--cw-mola), visibility 0s .35s; }
.en-cw__bal.on { opacity: 1; transform: none; visibility: visible; transition: opacity .25s, transform .35s var(--cw-mola), visibility 0s; }
.en-cw__bal button { position: absolute; top: 6px; right: 6px; width: 26px; height: 26px; border: 0; border-radius: 50%; background: transparent; color: var(--cw-mut); font-size: 18px; line-height: 1; cursor: pointer; }
.en-cw__bal button:hover { background: #F4F6F1; }
.en-cw.aberto .en-cw__bal { display: none; }

/* status na faixa de contato rápido */
html body .en .en-qc__st { flex: 1 1 100%; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: #DCE6DF; margin-bottom: 2px; }
html body .en .en-qc__st .en-cw__dot { background: #22C55E; }
html body .en .en-qc__st.fechado .en-cw__dot { background: #F59E0B; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes cw-ping { 0% { box-shadow: 0 0 0 0 #22C55E99; } 80%, 100% { box-shadow: 0 0 0 7px #22C55E00; } }
  .en-cw:not(.fechado) .en-cw__dot, html body .en .en-qc__st:not(.fechado) .en-cw__dot { animation: cw-ping 2s cubic-bezier(.2,.8,.2,1) infinite; }
  .en-cw__ico .en-cw__dot { animation: none !important; }
  @keyframes cw-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
  .en-cw.aberto .en-cw__ls li { animation: cw-in .32s var(--cw-sai) both; }
  .en-cw.aberto .en-cw__ls li:nth-child(2) { animation-delay: .05s; }
  .en-cw.aberto .en-cw__ls li:nth-child(3) { animation-delay: .1s; }
  .en-cw__btn:active { transform: scale(.94, .9); transition-duration: .08s; }
  .en-cw__btn:hover { transform: translateY(-2px); }
  /* entrada do botão: aparece depois que a página assenta */
  @keyframes cw-chega { 0% { opacity: 0; transform: translateY(24px) scale(.8); } 70% { transform: translateY(-3px) scale(1.03); } 100% { opacity: 1; transform: none; } }
  .en-cw__btn { animation: cw-chega .7s var(--cw-sai) .8s both; }
}
@media (prefers-reduced-motion: reduce) {
  .en-cw__pn, .en-cw__bal, .en-cw__ico svg { transition: opacity .15s, visibility 0s; transform: none !important; }
}
/* pontinhos do balão "digitando" de tempos em tempos */
@media (prefers-reduced-motion: no-preference) {
  @keyframes cw-dig { 0%, 24%, 100% { transform: none; } 8% { transform: translateY(-1.8px); } }
  .en-cw__ico .chat circle { transform-box: fill-box; animation: cw-dig 3.2s ease-in-out infinite; }
  .en-cw__ico .chat circle:nth-of-type(2) { animation-delay: .12s; }
  .en-cw__ico .chat circle:nth-of-type(3) { animation-delay: .24s; }
}

