/* Formulário de novidades (rodapé): aviso de e-mail já cadastrado, abaixo do botão */
.news__msg { margin: 8px 0 0; font-size: .9rem; font-weight: 600; color: #ff6b6b; }
.news__msg[hidden] { display: none; }
.news input.news--erro { border-color: #ff6b6b; box-shadow: 0 0 0 3px rgba(255,107,107,.22); }

/* ---------- Modal (condições promocionais) e link que abre o modal ---------- */
.link-modal { padding: 0; border: 0; background: none; color: var(--az); font: inherit; cursor: pointer; text-decoration: none; }
.link-modal:hover { text-decoration: none; }
.modal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal__fundo { position: absolute; inset: 0; background: rgba(15,23,42,.55); backdrop-filter: blur(3px); animation: modal-fundo .18s ease-out; }
.modal__caixa { position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: min(80vh, 640px); border-radius: 20px; background: #fff; box-shadow: 0 30px 70px -20px rgba(15,23,42,.55); outline: 0; animation: modal-caixa .2s ease-out; }
.modal__cab { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--borda-suave); }
.modal__cab h2 { flex: 1; margin: 0; font-size: 1.2rem; }
.modal__ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--az-claro); color: var(--az); }
.modal__x { width: 36px; height: 36px; border: 1.5px solid var(--borda-suave); border-radius: 10px; background: #fff; color: var(--tx2); cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.modal__x:hover { border-color: var(--az); background: var(--az); color: #fff; }
.modal__corpo { padding: 18px 22px; overflow: auto; }
.modal__corpo p { margin: 0 0 .8em; }
.modal__corpo p:last-child { margin-bottom: 0; }
.modal__rod { display: flex; justify-content: flex-end; padding: 14px 20px; border-top: 1px solid var(--borda-suave); }
body.modal-aberto { overflow: hidden; }
@keyframes modal-fundo { from { opacity: 0; } }
@keyframes modal-caixa { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .modal__fundo, .modal__caixa { animation: none; } }

/* Cupons dentro do modal */
.cupom__intro { margin-top: 4px; font-weight: 600; color: var(--tx); }
.modal__corpo .cupons { display: grid; gap: 10px; margin: 10px 0 0; padding: 0; list-style: none; }
.modal__corpo .cupons li { margin: 0; }
.cupom { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1.5px dashed #93c5fd; border-radius: 14px; background: var(--az-claro); }
.cupom__info b { display: block; color: var(--tx); font-size: 1.02rem; }
.cupom__info small { color: var(--tx3); font-size: .84rem; }
.cupom__cod { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 8px 12px; border: 1.5px solid var(--az); border-radius: 10px; background: #fff; color: var(--az); font-weight: 700; cursor: pointer; transition: background-color .18s, color .18s; }
.cupom__cod code { font: inherit; letter-spacing: .03em; }
.cupom__cod:hover, .cupom__cod.is-ok { background: var(--az); color: #fff; }
@media (max-width: 480px) { .cupom { flex-direction: column; align-items: stretch; } .cupom__cod { justify-content: center; } }

/* Loja Virtual: módulos, integrações e segmentos */
.modulos { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 20px; }
.modulo { background: #fff; border: 1px solid var(--borda-suave); border-radius: var(--raio-g); padding: 24px; transition: border-color .18s, box-shadow .18s; }
.modulo:hover { border-color: var(--borda); box-shadow: var(--sombra); }
.modulo h3 { display: flex; align-items: center; gap: 12px; font-size: 1.08rem; margin: 0 0 14px; }
.modulo h3 span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--ts, #d1fae5); color: var(--t2, #059669); font-size: 1.1rem; }
.modulo ul { display: grid; gap: 8px; font-size: .92rem; color: var(--tx2); }
.modulo li { display: grid; grid-template-columns: 18px 1fr; gap: 8px; }
.modulo li .fa { color: var(--vd); margin-top: 3px; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; }
.chips li { padding: 9px 18px; background: #fff; border: 1px solid var(--borda-suave); border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--tx); transition: background-color .18s, color .18s, border-color .18s; cursor: default; }
.chips li:hover { background: var(--az); border-color: var(--az); color: #fff; }
.segmentos { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; max-width: 960px; margin: 0 auto; }
.segmentos li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; background: #fff; border: 1px solid var(--borda-suave); border-radius: var(--raio-g); font-weight: 600; text-align: center; transition: background-color .18s, color .18s, border-color .18s; cursor: default; }
.segmentos li .fa { font-size: 1.6rem; color: var(--t2, #059669); transition: color .18s; }
.segmentos li:hover { background: var(--az); border-color: var(--az); color: #fff; }
.segmentos li:hover .fa { color: #fff; }

/* Comparativo de planos */
.comp { overflow-x: auto; border: 1px solid var(--borda-suave); border-radius: var(--raio-g); background: #fff; }
.comp table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .93rem; }
.comp thead th { position: sticky; top: 0; background: var(--fundo2); padding: 16px 12px; text-align: center; font-size: 1rem; border-bottom: 1px solid var(--borda-suave); }
.comp thead th:first-child { text-align: left; padding-left: 20px; }
.comp .comp__grupo th { background: var(--ts, #d1fae5); color: var(--t1, #064e3b); text-align: left; padding: 11px 20px; font-size: .95rem; }
.comp tbody th[scope="row"] { text-align: left; font-weight: 400; padding: 11px 12px 11px 20px; color: var(--tx2); border-bottom: 1px solid var(--borda-suave); }
.comp td { text-align: center; padding: 11px 12px; border-bottom: 1px solid var(--borda-suave); font-weight: 600; }
.comp td .fa-check-circle { color: var(--vd); font-size: 1.15rem; }
.comp .comp__nao { color: #9aa3ad; }
.comp tbody tr:not(.comp__grupo):hover > * { background: #f6f9fc; }
.comp__nota { text-align: center; margin-top: 24px; }
@media (max-width: 700px) { .comp tbody th[scope="row"] { min-width: 210px; position: sticky; left: 0; background: #fff; } }

.compx { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 20px; align-items: start; }
.comp__nav { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 110px); overflow-y: auto; }
.comp__nav a { display: block; padding: 9px 12px; background: #fff; border: 1px solid var(--borda-suave); border-radius: 8px; color: var(--tx2); font-size: .88rem; font-weight: 600; line-height: 1.25; }
.comp__nav a:hover, .comp__nav a:focus-visible { background: var(--ts, #d1fae5); color: var(--t1, #064e3b); border-color: transparent; }
.comp .comp__grupo { scroll-margin-top: 92px; }
.comp td:not(:has(i)) { font-size: .88rem; white-space: nowrap; }
@media (max-width: 900px) {
  .compx { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .comp__nav { position: static; flex-direction: row; max-height: none; overflow-x: auto; overflow-y: visible; padding-bottom: 4px; }
  .comp__nav a { white-space: nowrap; flex: 0 0 auto; }
}

/* Cabeçalho fixo e menu com seção ativa, como no Bling */
.comp thead th { vertical-align: top; }
.comp__pn { display: block; font-size: 1.05rem; font-weight: 800; color: var(--t1, #064e3b); }
.comp__pp { display: block; margin: 2px 0 8px; font-size: .86rem; font-weight: 600; color: var(--tx2); white-space: nowrap; }
.comp__bt { display: inline-block; padding: 5px 14px; border: 1px solid var(--vd, #059669); border-radius: 999px; color: var(--vd, #059669); background: #fff; font-size: .8rem; font-weight: 700; }
.comp__bt:hover { background: var(--ts, #d1fae5); }
.comp__bt--dest { background: var(--vd, #059669); color: #fff; }
.comp__nav a.is-ativa { background: var(--vd, #059669); border-color: var(--vd, #059669); color: #fff; }
@media (min-width: 901px) {
  .comp { overflow: visible; }
  .comp thead th { top: 76px; z-index: 4; background: #fff; box-shadow: 0 1px 0 var(--borda-suave); }
  .comp .comp__grupo { scroll-margin-top: 210px; }
}
@media (max-width: 900px) { .comp thead th { position: static; } }

/* Página Contato: nome fantasia em destaque e razão social menor */
.lc__fantasia { margin: 0 0 4px; font-size: 1.25rem; font-weight: 700; line-height: 1.25; color: var(--tx); }
.lc .lc__razao { font-size: .8rem; line-height: 1.55; }

/* Topo das páginas de produto (v138): texto à esquerda mais respirado e cartão de resumo à direita, alinhado ao conteúdo */
.ph__in { grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; padding: 56px 0 72px; align-items: center; }
.ph .migalhas { margin-bottom: 22px; }
.ph__selo { margin-bottom: 18px; padding: 6px 16px; font-size: .85rem; letter-spacing: .02em; }
.ph h1 { margin-bottom: 18px; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.12; letter-spacing: -.02em; }
.ph .lead { margin-bottom: 22px; font-size: 1.1rem; line-height: 1.6; }
.ph__pontos { gap: 10px; margin: 0 0 28px; }
.ph__pontos li { padding: 7px 14px; border: 1px solid rgba(255,255,255,.22); border-radius: 999px; background: rgba(255,255,255,.1); font-size: .9rem; }
.ph__acoes .btn--grande { min-width: 190px; justify-content: center; }
.ph__card { position: relative; padding: 26px; text-align: left; border-radius: 24px; box-shadow: 0 34px 70px -28px rgba(0,0,0,.65); }
.ph__card::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; z-index: -1; border: 1px solid rgba(255,255,255,.28); border-radius: 24px; }
.ph__topo { display: flex; align-items: center; gap: 18px; padding-bottom: 20px; border-bottom: 1px solid var(--borda-suave); }
.ph__icone { flex: none; width: 72px; height: 72px; margin: 0; border-radius: 20px; font-size: 2rem; }
.ph__valor { min-width: 0; }
.ph__preco { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; }
.ph__preco strong { font-size: 2.6rem; }
.ph__preco--txt strong { font-size: 1.4rem; line-height: 1.2; }
.ph__off { display: inline-flex; align-items: center; gap: 6px; margin: 16px 0 0; }
.ph__mini { gap: 12px; margin-top: 18px; padding-top: 0; border-top: 0; }
.ph__mini li { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.ph__mini li span { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--ts); }
.ph__mini li i { width: auto; color: var(--t1); font-size: .9rem; }
@media (max-width: 1200px) {
  .ph__in { grid-template-columns: 1fr; gap: 36px; padding: 40px 0 52px; }
  .ph__card { max-width: 440px; }
  .ph__card::before { display: none; }
}
@media (max-width: 560px) { .ph__acoes .btn--grande { flex: 1 1 100%; } .ph__pontos li { font-size: .85rem; } }

/* Topo do portal (Notícias, Central de Ajuda, Downloads) no mesmo padrão das páginas de produto (v139) */
.ph--portal .ph__in { padding: 48px 0 56px; }
.ph--portal h1 { max-width: 20ch; }
.ph--portal .lead { margin-bottom: 26px; }
.ph--portal .portal-busca { max-width: 560px; margin: 0; border-color: transparent; box-shadow: 0 18px 36px -18px rgba(0,0,0,.55); }
.ph--portal .portal-busca:focus-within { box-shadow: 0 0 0 4px rgba(255,255,255,.4), 0 18px 36px -18px rgba(0,0,0,.55); }
.ph--portal .portal-busca .btn--primario { background: var(--t2); border-color: var(--t2); color: #fff; }
.ph--portal .portal-busca .btn--primario:hover { background: var(--t1); border-color: var(--t1); }
.ph__nav { display: grid; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.ph__nav a { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: 12px; color: var(--tx); font-weight: 600; text-decoration: none; transition: background-color .15s, color .15s; }
.ph__nav a > span { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--ts); color: var(--t1); transition: background-color .15s, color .15s; }
.ph__nav .ph__seta { margin-left: auto; color: var(--tx3); }
.ph__nav a:hover { background: var(--t2); color: #fff; }
.ph__nav a:hover > span { background: rgba(255,255,255,.2); color: #fff; }
.ph__nav a:hover .ph__seta { color: #fff; }
.ph__nav a.on { background: var(--ts); color: var(--t1); }
.ph__nav a.on:hover { background: var(--t2); color: #fff; }
@media (max-width: 1200px) { .ph--portal .ph__card { max-width: 520px; } }

/* Contato com o mesmo topo do portal e das páginas de produto (v142) */
.ph--contato .ph__in { padding-bottom: 116px; }
.ph--contato .ph__mini { margin-top: 20px; }
.ph--contato .ph__mini li { align-items: center; }
.ph--contato .ph__mini b { display: block; line-height: 1.25; }
.ph--contato .ph__mini small { display: block; color: var(--tx3); font-weight: 500; }
.pc__canais { margin-top: -64px; }
.pc__canal { box-shadow: 0 18px 38px -20px rgba(15,23,42,.45); }
.pc__corpo { scroll-margin-top: 110px; }
#enviar { scroll-margin-top: 110px; }
@media (max-width: 1200px) { .ph--contato .ph__in { padding-bottom: 96px; } }

/* v195 - migalhas mais no topo em todas as páginas com faixa colorida */
.ph__in, .ph--portal .ph__in, .pd__in, .pt__in { padding-top: 16px; }
.ps { padding-top: 16px; }
.ph .migalhas, .pd .migalhas, .pt .migalhas, .ps .migalhas { margin-bottom: 14px; }
@media (max-width: 900px) { .ph__in, .ph--portal .ph__in { padding-top: 14px; } }
