:root {
  --verde: #1a5fcf;
  --verde-escuro: #144a9f;
  --verde-claro: #eaf2fe;
  --texto: #14213d;
  --texto-suave: #4f5f76;
  --fundo: #f4f7fb;
  --superficie: #ffffff;
  --borda: #e3e9f2;
  --alerta: #8a5a00;
  --alerta-fundo: #fff6e0;
  --erro: #a32121;
  --raio: 10px;
  --largura: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --verde: #5cc28f; --verde-escuro: #84d6ad; --verde-claro: #183528; --texto: #e7ece9; --texto-suave: #b4c0ba;
    --fundo: #111614; --superficie: #19201c; --borda: #2e3933; --alerta: #f2c46b; --alerta-fundo: #2e2612; --erro: #ff8a8a;
    color-scheme: dark;
  }
}
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--texto); background: var(--fundo); }
a { color: var(--verde); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--verde); outline-offset: 2px; }
h1 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1.2; margin: 1.2rem 0 .6rem; }
h2 { font-size: 1.3rem; margin-top: 1.8rem; }
.faixa { max-width: var(--largura); margin: 0 auto; padding: 0 16px; }
.pular { position: absolute; left: -999px; }
.pular:focus { left: 16px; top: 8px; background: var(--superficie); padding: 8px; z-index: 10; }
.topo { background: #fff; color: #122844; border-bottom: 0; box-shadow: 0 1px 0 #e6eef6; position: sticky; top: 0; z-index: 30; }
.topo .faixa { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 72px; max-width: 1180px; }
.marca { display: flex; align-items: center; gap: 10px; font-weight: 700; color: #122844; text-decoration: none; font-size: 1.2rem; }
.topo nav { display: flex; gap: 22px; align-items: center; }
.topo nav a { text-decoration: none; }
.topo nav a:not(.botao) { color: #1c3554; font-weight: 600; }
.botao { display: inline-block; background: #0e7a38; color: #fff; border: 2px solid #0e7a38; border-radius: 999px;
  padding: .55rem 1.1rem; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.botao:hover { background: #0a5c2a; border-color: #0a5c2a; }
.botao.secundario, .botao.contorno { background: #fff; color: #0e7a38; border: 1.5px solid #b7e4c7; }
.botao.conta { background: #0e7a38; border-color: #0e7a38; color: #fff; }
.botao.conta:hover { background: #0a5c2a; border-color: #0a5c2a; }
.botao.compacto { padding: .3rem .8rem; }
.botao.grande { padding: .8rem 1.4rem; }
.link { background: none; border: 0; color: var(--verde); padding: 0; font: inherit; cursor: pointer; text-decoration: underline; text-align: left; }
.migalhas ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 16px 0; margin: 0; font-size: .9rem; color: var(--texto-suave); }
.migalhas li + li::before { content: "›"; margin-right: 6px; }
.hero { padding: 2rem 0 1rem; }
.destaque { font-size: 1.15rem; color: var(--texto-suave); max-width: 46rem; }
.acoes { display: flex; gap: 10px; flex-wrap: wrap; }
.grade { display: grid; gap: 16px; }
@media (min-width: 720px) { .grade.tres { grid-template-columns: repeat(3, 1fr); } .grade.dois { grid-template-columns: repeat(2, 1fr); } }
.cartao { background: var(--superficie); border: 1px solid var(--borda); border-radius: var(--raio); padding: 1rem 1.2rem; }
.cartao h2 { margin-top: .2rem; font-size: 1.15rem; }
.plano .preco { font-size: 1.8rem; font-weight: 700; margin: .2rem 0; }
.plano .preco small { font-size: 1rem; font-weight: 400; }
.lista-cartoes { list-style: none; padding: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .lista-cartoes { grid-template-columns: repeat(2, 1fr); } }
.lista-cartoes a { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 1rem 1.2rem; background: var(--superficie);
  border: 1px solid var(--borda); border-radius: var(--raio); text-decoration: none; color: var(--texto); }
.lista-cartoes a:hover { border-color: var(--verde); }
.lista-cartoes span, .lista-cartoes small { color: var(--texto-suave); }
.filtros { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 1rem; }
.filtros a { padding: .3rem .8rem; border: 1px solid var(--borda); border-radius: 999px; text-decoration: none; }
.filtros a[aria-current] { background: var(--verde-claro); border-color: var(--verde); }
.texto { max-width: 46rem; }
.meta, .pequeno { color: var(--texto-suave); font-size: .9rem; }
.aviso { background: var(--alerta-fundo); color: var(--texto); border-left: 4px solid var(--alerta); padding: .7rem 1rem; border-radius: 6px; }
.erro { color: var(--erro); font-weight: 600; }
.sucesso { background: var(--verde-claro); padding: .7rem 1rem; border-radius: 6px; }
.fontes { border-top: 1px solid var(--borda); margin-top: 2rem; }
.formulario { display: grid; gap: 14px; max-width: 30rem; background: var(--superficie); border: 1px solid var(--borda);
  border-radius: var(--raio); padding: 1.2rem; }
.formulario label { display: grid; gap: 4px; font-weight: 600; }
input, select, textarea { font: inherit; padding: .55rem .7rem; border: 1px solid var(--borda); border-radius: 8px;
  background: var(--fundo); color: var(--texto); width: 100%; }
.isca { position: absolute; left: -9999px; }
.resultado { margin-top: 1.2rem; max-width: 30rem; background: var(--verde-claro); border-radius: var(--raio); padding: 1rem 1.2rem; }
.resultado dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; }
.resultado dd { margin: 0; font-weight: 700; text-align: right; }
.fonte-regra { font-size: .9rem; color: var(--texto-suave); }
.anuncio { margin: 2.5rem 0; padding-top: .5rem; border-top: 1px dashed var(--borda); min-height: 100px; }
.anuncio .rotulo { display: block; font-size: .75rem; color: var(--texto-suave); text-transform: uppercase; letter-spacing: .05em; }
.chamada { margin: 2rem 0; }
.vazio { color: var(--texto-suave); }
.rodape { margin-top: 3rem; border-top: 1px solid var(--borda); background: var(--superficie); padding: 1.5rem 0; }
.rodape .colunas { display: grid; gap: 16px; }
@media (min-width: 720px) { .rodape .colunas { grid-template-columns: 2fr 1fr 1fr; } }
.rodape .colunas > div { display: flex; flex-direction: column; gap: 4px; }
.consentimento { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 42rem; margin: 0 auto; background: #fff; color: #122844;
  border: 1px solid #e6eef6; border-radius: 18px; padding: 1rem 1.2rem; box-shadow: 0 18px 50px rgba(18, 52, 90, .16); z-index: 40; }
.consentimento[hidden] { display: none; }
.consentimento .opcoes { display: grid; gap: 8px; }
.consentimento label { display: flex; gap: 8px; align-items: center; }
.consentimento input { width: auto; }
body.portal:has(.consentimento:not([hidden])) { padding-bottom: calc(var(--consent-altura, 15rem) + 32px); }
.acoes-rodape { display: none; }
.acoes-rodape svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.portal .texto, body.portal .cartao, body.portal .formulario, body.portal .lista-cartoes { overflow-wrap: break-word; }
body.portal .texto img, body.portal .texto video, body.portal .texto iframe { max-width: 100%; height: auto; }
body.portal .texto table, body.portal .texto pre { display: block; max-width: 100%; overflow-x: auto; }

body.portal {
  --texto: #122844; --texto-suave: #5c6d82; --fundo: #f3f6fb; --superficie: #fff; --borda: #e4edf6;
  --verde: #0e7a38; --verde-escuro: #0a5c2a; --verde-claro: #e8f8ee;
  min-height: 100dvh; height: auto; overflow: visible; display: flex; flex-direction: column;
  background: #f3f6fb; color: #122844; color-scheme: light;
}
body.portal .miolo { flex: 1; display: block; min-height: 0; }
body.portal .palco, body.portal .palco.com-anuncio { display: block; width: min(1180px, 100%); margin: 0 auto; padding: 28px 20px 56px; height: auto; }
body.portal:not(.pagina-inicio) .palco, body.portal:not(.pagina-inicio) .palco.com-anuncio { min-height: calc(100dvh - 220px); display: flex; flex-direction: column; justify-content: center; align-items: center; }
body.portal:not(.pagina-inicio) .coluna { width: min(100%, 920px); }
body.portal:not(.pagina-inicio) .formulario, body.portal:not(.pagina-inicio) .ferramenta, body.portal:not(.pagina-inicio) .texto { margin-inline: auto; }
body.portal .coluna, body.portal main { display: block; height: auto; min-height: 0; overflow: visible; }
body.portal .migalhas ol { padding: 0 0 8px; }
body.portal h1 { margin: 0 0 .7rem; font-size: clamp(1.7rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.03em; font-weight: 800; color: #102848; }
body.portal h2 { margin: 1.4rem 0 .45rem; font-size: 1.25rem; color: #102848; }
body.portal .coluna-anuncio { margin-top: 28px; }
body.portal .coluna-anuncio .anuncio { margin: 0; }
body.portal .rodape { margin-top: auto; padding: 1.6rem 0 1.1rem; background: #fff; border-top: 1px solid #e6eef6; }
body.portal .cartao, body.portal .lista-cartoes a, body.portal .formulario {
  background: #fff; border: 1px solid #e6eef6; border-radius: 16px; box-shadow: 0 8px 24px rgba(18, 52, 90, .05);
}
body.portal .lista-cartoes a:hover { border-color: #b7e4c7; }
body.portal .filtros a[aria-current] { background: #e8f8ee; border-color: #0e7a38; color: #0e7a38; }
.so-leitor { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.menu { display: none; }
.ferramenta { width: min(100%, 40rem); }
.ferramenta.lista { width: 100%; }
.ferramenta .formulario, .ferramenta .resultado { max-width: none; width: 100%; }
.ferramenta .lista-cartoes { text-align: left; }

body.pagina-inicio h1 { margin: 0 0 .8rem; font-size: clamp(2rem, 4.2vw, 3.05rem); line-height: 1.12; }
body.pagina-inicio h1 span { color: #0e7a38; }
body.pagina-inicio .palco, body.pagina-inicio .palco.com-anuncio { padding: 8px 20px 40px; }
.capa { display: grid; gap: 28px; }
.selo, .gratis-selo { display: inline-block; margin: 0 0 .8rem; padding: .28rem .7rem; border-radius: 999px; background: #e8f8ee; color: #0e7a38; font-size: .82rem; font-weight: 700; }
.hero-mei { display: grid; grid-template-columns: minmax(280px, .9fr) minmax(320px, 1.15fr); gap: 28px; align-items: center; padding: 18px 0 8px; }
.hero-mei .destaque { margin: 0 0 1.1rem; font-size: 1.02rem; line-height: 1.55; color: #5c6d82; max-width: 38rem; }
.hero-acoes { margin: 0 0 1.1rem; }
.hero-acoes .botao.grande { padding: .85rem 1.35rem; font-weight: 700; }
.prova-social { display: flex; gap: 10px; align-items: center; margin: 0; color: #5c6d82; font-size: .92rem; line-height: 1.35; }
.prova-social strong { color: #122844; }
.pessoas { width: 36px; height: 22px; flex: none; background:
  radial-gradient(circle at 8px 8px, #22c55e 6px, transparent 7px),
  radial-gradient(circle at 22px 8px, #16a34a 6px, transparent 7px); }
.painel { display: grid; grid-template-columns: 168px minmax(0, 1fr); background: #fff; border: 1px solid #e5eef6; border-radius: 22px; box-shadow: 0 18px 50px rgba(18, 52, 90, .12); overflow: hidden; min-height: 430px; }
.painel-lado { background: linear-gradient(180deg, #102848, #16365c); color: #d5e4f5; padding: 18px 14px; }
.painel-marca { display: flex; align-items: center; gap: 8px; margin: 0 0 16px; font-weight: 700; color: #fff; font-size: .92rem; }
.marca-mini { width: 16px; height: 16px; border-radius: 4px; background: linear-gradient(#22c55e, #38bdf8); }
.painel-lado ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: .86rem; }
.painel-lado li { padding: 7px 10px; border-radius: 8px; }
.painel-lado li.ativo { background: rgba(255,255,255,.12); color: #fff; font-weight: 700; }
.painel-corpo { padding: 16px 16px 14px; display: grid; gap: 12px; }
.painel-topo { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.painel-topo h2 { margin: 0; font-size: 1.15rem; color: #102848; }
.painel-topo p, .fluxo-topo p, .kpis p, .lia p { margin: 0; color: #5c6d82; font-size: .78rem; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kpis article { border: 1px solid #e7eef6; border-radius: 12px; padding: 8px 10px; }
.kpis h3, .fluxo h3, .lia h3 { margin: 0 0 2px; font-size: .78rem; font-weight: 600; color: #5c6d82; }
.kpis strong { display: block; font-size: 1.05rem; color: #102848; letter-spacing: -.02em; }
.kpis .sobe { color: #0e7a38; font-weight: 700; }
.painel-baixo { display: grid; grid-template-columns: 1.3fr .9fr; gap: 10px; }
.fluxo, .lia { border: 1px solid #e7eef6; border-radius: 14px; padding: 10px; }
.fluxo-topo, .lia-topo { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.leg { display: inline-block; width: 8px; height: 8px; border-radius: 2px; background: #1aa34a; margin: 0 3px 0 8px; }
.leg.sai { background: #3b82f6; }
.barras { display: flex; align-items: flex-end; gap: 8px; margin-top: 8px; }
.barras .par { flex: 1; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 92px auto; column-gap: 3px; align-items: end; }
.barras .par > span { grid-row: 1; height: 40%; background: #1aa34a; border-radius: 3px 3px 0 0; min-height: 8px; }
.barras .par > span.sai { background: #3b82f6; }
.barras .par em { grid-column: 1 / -1; grid-row: 2; text-align: center; font-style: normal; color: #5c6d82; font-size: .68rem; margin-top: 4px; }
.lia-topo h3 { margin: 0; color: #102848; }
.lia-icone { width: 22px; height: 22px; border-radius: 50%; background: #e8f8ee; box-shadow: inset 0 0 0 6px #1aa34a; }
.lia p { margin-top: 8px; line-height: 1.4; }
.lia .lia-pergunta { margin: 8px 0; }
.lia .botao { display: block; text-align: center; padding: .45rem .7rem; font-size: .85rem; }
.recursos-grade, .gratis-grade { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.recursos-grade { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.recursos-grade li, .gratis-grade a { background: #fff; border: 1px solid #e6eef6; border-radius: 16px; box-shadow: 0 8px 24px rgba(18, 52, 90, .05); }
.recursos-grade li { padding: 16px 14px 14px; }
.recursos-grade h3 { margin: 10px 0 6px; font-size: .95rem; line-height: 1.25; color: #102848; }
.recursos-grade p { margin: 0 0 10px; color: #5c6d82; font-size: .82rem; line-height: 1.4; }
.recursos-grade a { font-size: .82rem; font-weight: 700; text-decoration: none; }
.icone, .icone-ferramenta { display: block; width: 36px; height: 36px; border-radius: 10px; background: #e8f8ee center / 18px no-repeat; }
.icone.calendario { background-color: #e7f0ff; }
.icone.grafico, .icone.calc { background-color: #e7f8ee; }
.icone.pasta { background-color: #eef2ff; }
.icone.pessoas { background-color: #e7f4ff; }
.icone { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23178a45' stroke-width='1.8'%3E%3Crect x='3' y='10' width='4' height='10' rx='1'/%3E%3Crect x='10' y='4' width='4' height='16' rx='1'/%3E%3Crect x='17' y='7' width='4' height='13' rx='1'/%3E%3C/svg%3E"); }
.icone.calendario { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.8'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.icone.pasta { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='1.8'%3E%3Cpath d='M3 7h6l2 2h10v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.icone.calc { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23178a45' stroke-width='1.8'%3E%3Crect x='5' y='2' width='14' height='20' rx='2'/%3E%3Cpath d='M8 6h8M8 11h.01M12 11h.01M16 11h.01M8 15h.01M12 15h.01M16 15h.01M8 19h.01M12 19h.01M16 19h.01'/%3E%3C/svg%3E"); }
.icone.pessoas { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230ea5e9' stroke-width='1.8'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.2'/%3E%3Cpath d='M3 19c1-3 3-4.5 6-4.5s5 1.5 6 4.5M15 14.6c1.4-.4 2.8-.3 4 .5 1 1.3 1.5 2.6 2 3.9'/%3E%3C/svg%3E"); }
.gratis { background: #fff; border: 1px solid #e6eef6; border-radius: 20px; padding: 22px 20px; }
.gratis-topo { display: flex; justify-content: space-between; gap: 16px; align-items: end; }
.gratis-topo h2 { margin: 0 0 .35rem; font-size: 1.55rem; color: #102848; }
.gratis-topo p { margin: 0; color: #5c6d82; max-width: 40rem; }
.gratis-topo > a { font-weight: 700; text-decoration: none; white-space: nowrap; }
.gratis-grade { margin-top: 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.gratis-grade a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px; text-decoration: none; color: #122844; }
.gratis-grade strong { font-size: .92rem; line-height: 1.3; }
.gratis-grade span { color: #5c6d82; font-size: .8rem; line-height: 1.35; }
.gratis-grade em { margin-top: auto; color: #0e7a38; font-style: normal; font-size: .78rem; font-weight: 700; }
.icone-ferramenta { background-color: #e7f0ff; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='1.8'%3E%3Cpath d='M4 19V5M4 19h16M8 16v-5M12 16V8M16 16v-3'/%3E%3C/svg%3E"); }
.icone-ferramenta.i2 { background-color: #f3e8ff; }
.icone-ferramenta.i3 { background-color: #e8f8ee; }
.icone-ferramenta.i4 { background-color: #fff4e5; }
.icone-ferramenta.i5 { background-color: #e7f8f6; }
@media (max-width: 1100px) {
  .recursos-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gratis-grade { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .hero-mei { grid-template-columns: 1fr; }
  .painel-lado { display: none; }
  .painel { grid-template-columns: 1fr; }
  body.portal .menu { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; margin-left: auto; border: 0; background: transparent; border-radius: 10px; }
  .menu-barras, .menu-barras::before, .menu-barras::after { display: block; width: 18px; height: 2px; background: #122844; border-radius: 2px; position: relative; }
  .menu-barras::before, .menu-barras::after { content: ""; position: absolute; left: 0; }
  .menu-barras::before { top: -6px; }
  .menu-barras::after { top: 6px; }
  body.portal .topo .faixa { flex-wrap: wrap; }
  body.portal .topo nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 8px; padding: 0 0 12px; }
  body.portal .topo.aberto nav { display: flex; }
  body.portal .topo nav .botao { text-align: center; }
  .acoes-rodape { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    background: #fff; border-top: 1px solid #e6eef6; box-shadow: 0 -8px 24px rgba(18, 52, 90, .08);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .acoes-rodape a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; min-width: 0;
    padding: 4px 2px; border-radius: 12px; color: #5c6d82; font-size: .68rem; font-weight: 700; line-height: 1.15; text-align: center; text-decoration: none; }
  .acoes-rodape a[aria-current="page"] { color: #0e7a38; background: #e8f8ee; }
  body.portal { --barra-altura: 68px; padding-bottom: calc(var(--barra-altura) + env(safe-area-inset-bottom)); }
  .consentimento { bottom: calc(var(--barra-altura) + 8px); }
  body.portal:has(.consentimento:not([hidden])) { padding-bottom: calc(var(--consent-altura, 15rem) + var(--barra-altura) + 24px); }
}
@media (max-width: 760px) {
  .consentimento .acoes { flex-direction: column; }
  .consentimento .acoes .botao { text-align: center; }
  .hero-acoes { flex-direction: column; align-items: stretch; }
  .hero-acoes .botao { width: 100%; text-align: center; }
  .kpis, .recursos-grade, .gratis-grade { grid-template-columns: 1fr 1fr; }
  .painel-baixo { grid-template-columns: 1fr; }
  .gratis-topo { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .recursos-grade { grid-template-columns: 1fr; }
  .kpis strong { font-size: .95rem; }
}
