:root {
  --mola: cubic-bezier(.34, 1.36, .64, 1);
  --suave: cubic-bezier(.22, 1, .36, 1);
  --linha-fina: 1px;
}
@media (min-resolution: 2dppx) {
  :root { --linha-fina: .5px; }
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-kerning: normal;
  font-optical-sizing: auto;
  font-synthesis: none;
}
svg { shape-rendering: geometricPrecision; }
img { image-rendering: auto; }
h1, h2, h3, .valor { text-wrap: balance; }
.text-muted, .desc, .contexto { text-wrap: pretty; }

.content { padding-top: 12px; padding-bottom: 20px; }
@media (min-width: 1600px) { .content { padding-top: 16px; } }
.content .card { padding: 13px 16px; }
.content .card.card-flush { padding: 0; }
.content .card-header { margin-bottom: 10px; gap: 8px; }
.content .card-header h3 { font-size: .875rem; letter-spacing: -.01em; }
.content .card-header .text-sm.text-muted { font-size: .75rem; line-height: 1.35; }
.content .bloco-cabecalho { padding: 10px 16px 8px; }
.content .bloco-rodape { padding: 8px 16px; }
.content .bloco-grafico { padding: 0 16px 12px; }
.content .card-duplo { padding: 12px 16px; }
.content .card-duplo .card-header-2 { margin-top: 10px; padding-top: 10px; }
.page-section + .page-section { margin-top: 12px; }
.chart-grid, .detail-grid, .split, .auto-grade, .rp-layout, .ads-duas, .ads-galeria, .ads-detalhe-grade, .ads-metas, .foco-grid, .painel-grade, .painel-principal, .painel-lateral { gap: 12px; }
.cabecalho-tela { margin-bottom: 8px; }
.cabecalho-tela h2 { font-size: 1.0625rem; }
.cabecalho-tela .contexto { font-size: .75rem; margin-top: 2px; }

.indicador { padding: 10px 12px 8px; }
.indicador-topo { min-height: 22px; }
.indicador-ico { width: 22px; height: 22px; border-radius: 7px; }
.indicador-ico svg.i { width: 12px; height: 12px; }
.indicador .rotulo { font-size: .75rem; }
.indicador .valor { margin-top: 2px; font-size: clamp(1.0625rem, 8.5cqi, 1.375rem); }
.indicador .rodape { margin-top: 1px; font-size: .7rem; }
.indicador .tendencia { padding-top: 4px; }
.indicador .tendencia svg.spark { height: 18px; }
#painel #kpis.indicadores, .content .indicadores { gap: 10px; }
@media (min-width: 1280px) {
  #painel #kpis.indicadores { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  #painel #kpis .indicador .valor { font-size: clamp(1rem, 11cqi, 1.3rem); }
}

@container (max-width: 210px) {
  .indicador-ico { display: none; }
  .indicador .rotulo { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

.chart-box { height: 210px; }
@media (min-width: 1600px) { .chart-box { height: 236px; } }
.grafico-resumo { margin-bottom: 8px; gap: 6px 20px; }
table.data td { padding: 7px 12px; }
table.data th { padding-top: 8px; padding-bottom: 8px; }

.content .fv-topo { margin-bottom: 8px; }
.content .fv-etapas { padding: 6px 0; gap: 2px; }
.content .fv-linha { height: 42px; }
.content .fv-detalhe { margin-top: 8px; min-height: 38px; padding: 8px 10px; }
.meta-card .meta-valor { font-size: 1.3rem; }
.meta-barra { margin: 10px 0 6px; }
.meta-previsao-meses { margin-top: 12px; padding-top: 10px; }
.meta-previsao-meses .mes { padding: 2px 0; }

.card.guia .guia-progresso { margin-bottom: 8px; }
.card.guia .guia-lista { gap: 6px; }
.card.guia .guia-item { padding-top: 6px; padding-bottom: 6px; }
.card.guia .guia-item .desc { font-size: .75rem; }
.card.guia .guia-feitos { font-size: .72rem; margin: 6px 0 0; }

.guia-passos { gap: 10px; }
.guia-passo p, .guia-txt p { font-size: .78rem; line-height: 1.45; }
.guia-passos.compacto .guia-passo { padding: 6px; }

.abas-pagina { padding: 0 var(--space-5); }
.abas-trilho { gap: 2px; padding: 4px 0; }
.aba-pagina {
  isolation: isolate;
  padding: 7px 12px;
  border-radius: 10px;
  transition: color .2s var(--suave), transform .25s var(--mola);
}
.aba-pagina::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: radial-gradient(120% 140% at 50% 120%, rgba(16, 185, 129, .22), transparent 70%), var(--surface-3);
  opacity: 0; transform: scale(.86);
  transition: opacity .22s var(--suave), transform .32s var(--mola);
}
.aba-pagina:hover::before { opacity: .75; transform: scale(1); }
.aba-pagina.active::before {
  opacity: 1; transform: scale(1);
  background: radial-gradient(120% 160% at 50% 130%, rgba(16, 185, 129, .3), transparent 72%), var(--surface-3);
  box-shadow: inset 0 0 0 var(--linha-fina) rgba(16, 185, 129, .35);
}
.aba-pagina:active { transform: scale(.96); }
.aba-pagina.active { color: var(--text); }
html[data-theme="dark"] .aba-pagina.active { color: #ECFDF5; text-shadow: 0 0 18px rgba(52, 211, 153, .35); }
.abas-marca { height: 2px; bottom: -4px; }
.abas-marca.pronta { transition: transform .45s var(--mola), width .45s var(--mola); }

.abas { gap: 6px; }
.abas .chip {
  position: relative; padding: 8px 10px; border-bottom: 0 !important;
  transition: color .2s var(--suave);
}
.abas .chip::after {
  content: ""; position: absolute; left: 8px; right: 8px; bottom: 0; height: 2px; border-radius: 2px;
  background: var(--grad-aurora); transform: scaleX(0); transform-origin: center;
  transition: transform .35s var(--mola), opacity .2s ease; opacity: 0;
}
.abas .chip:hover::after { transform: scaleX(.4); opacity: .6; }
.abas .chip.active::after { transform: scaleX(1); opacity: 1; box-shadow: 0 0 10px rgba(16, 185, 129, .6); }

.chips .chip {
  position: relative;
  transition: background .2s var(--suave), color .2s var(--suave), box-shadow .25s var(--suave), transform .2s var(--mola);
}
.chips .chip:hover:not(.active) { background: rgba(127, 140, 150, .12); color: var(--text); }
.chips .chip:active { transform: scale(.95); }
.chips .chip.active { animation: chip-ativa .35s var(--mola); }
html[data-theme="dark"] .chips .chip.active { background: linear-gradient(180deg, rgba(52, 211, 153, .22), rgba(16, 185, 129, .1)); color: #ECFDF5; box-shadow: inset 0 0 0 var(--linha-fina) rgba(52, 211, 153, .45); }
@keyframes chip-ativa { from { transform: scale(.9); } to { transform: scale(1); } }

@keyframes painel-entra-suave {
  from { opacity: 0; transform: translateY(10px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}
.painel-entra { animation: painel-entra-suave .42s var(--suave) both; }
.content > * { animation: painel-entra-suave .5s var(--suave) both; }
.content > *:nth-child(2) { animation-delay: .04s; }
.content > *:nth-child(3) { animation-delay: .08s; }
.content > *:nth-child(4) { animation-delay: .12s; }
.content > *:nth-child(n+5) { animation-delay: .16s; }

.content .card {
  transition: border-color .25s var(--suave), box-shadow .35s var(--suave), transform .35s var(--suave);
}
@media (hover: hover) and (pointer: fine) {
  .content .card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-xs), 0 14px 32px -18px rgba(0, 0, 0, .45), var(--luz-topo); }
  html[data-theme="dark"] .content .card:hover { border-color: rgba(52, 211, 153, .28); box-shadow: 0 0 0 var(--linha-fina) rgba(52, 211, 153, .18), 0 18px 40px -22px rgba(16, 185, 129, .35); }
  .indicador:hover { transform: translateY(-3px); border-color: rgba(52, 211, 153, .35); box-shadow: 0 16px 34px -20px rgba(16, 185, 129, .45), var(--luz-topo); }
  .indicador:hover .indicador-ico { transform: rotate(-8deg) scale(1.08); }
  table.data tbody tr:hover td { background: rgba(16, 185, 129, .06); }
}
.indicador-ico { transition: transform .35s var(--mola); }

.btn-primary { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg); transition: left .6s var(--suave);
}
.btn-primary:hover:not(:disabled)::after { left: 130%; }
.btn:active:not(:disabled) { transform: scale(.97); }

.modal { animation: painel-entra-suave .32s var(--suave) both; }

@media (prefers-reduced-motion: reduce) {
  .content > *, .painel-entra, .modal, .chips .chip.active { animation: none !important; }
  .aba-pagina, .aba-pagina::before, .abas .chip::after, .content .card, .indicador, .btn-primary::after { transition: none !important; }
  .indicador:hover, .aba-pagina:active, .btn:active { transform: none !important; }
}

@media (max-width: 980px) {
  .abas-pagina { padding: 0 var(--space-3); }
  .aba-pagina { padding: 9px 12px; }
  .content .card { padding: 12px; }
}

.js-anima .revelar { filter: blur(6px); transition: opacity .8s var(--suave), transform .8s var(--suave), filter .8s var(--suave); }
.js-anima .revelar.visivel { filter: none; }

.demo-abas button { transition: background-color .3s var(--suave), color .2s var(--suave), box-shadow .3s var(--suave), transform .25s var(--mola); }
.demo-abas button:hover:not([aria-selected="true"]) { background: rgba(16, 185, 129, .1); }
.demo-abas button:active { transform: scale(.95); }
.demo-abas button[aria-selected="true"] { animation: chip-ativa .4s var(--mola); }
.demo-abas button svg { transition: transform .35s var(--mola); }
.demo-abas button:hover svg { transform: rotate(-10deg) scale(1.12); }

.faq details { transition: border-color .25s var(--suave), background-color .25s var(--suave), box-shadow .3s var(--suave); }
.faq details[open] p { animation: painel-entra-suave .38s var(--suave) both; }
.faq summary { transition: color .2s var(--suave); }

.site-nav a:not(.btn) { position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 10%; right: 10%; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad-aurora); transform: scaleX(0); transition: transform .35s var(--mola);
}
.site-nav a:not(.btn):hover::after { transform: scaleX(1); }

@media (hover: hover) and (pointer: fine) {
  .landing .preco, .landing .beneficio, .landing .recurso, .landing .integracao, .landing .demo-cartao {
    transition: transform .4s var(--suave), border-color .3s var(--suave), box-shadow .4s var(--suave);
  }
  .landing .preco:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -26px rgba(16, 185, 129, .55); }
  .landing .recurso:hover { transform: translateY(-5px); box-shadow: 0 24px 48px -26px rgba(16, 185, 129, .5); }
  .landing .recurso:hover .recurso-icone { transform: rotate(-8deg) scale(1.08); }
  .landing .recurso-icone { transition: transform .4s var(--mola); }
  .landing .integracao:hover { transform: translateY(-4px) scale(1.02); }
  .landing .demo-cartao:hover { transform: translateY(-2px); }
}

@media (prefers-reduced-motion: reduce) {
  .js-anima .revelar { filter: none !important; }
  .demo-abas button, .demo-abas button svg, .site-nav a::after, .landing .preco, .landing .recurso, .landing .integracao { transition: none !important; animation: none !important; }
  .faq details[open] p { animation: none !important; }
}

.landing .site-header { transition: box-shadow .4s var(--suave), background-color .4s var(--suave); }
.landing .site-header .container { transition: height .4s var(--suave); }
.landing.rolou .site-header { box-shadow: 0 12px 32px -20px rgba(0, 0, 0, .6); }
.landing.rolou .site-header .container { height: 56px; }

.abertura h1 .texto-marca {
  background-image: linear-gradient(100deg, #6EE7B7 0%, #34D399 25%, #67E8F9 50%, #34D399 75%, #6EE7B7 100%);
  background-size: 200% 100%;
}
.abertura::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(520px circle at calc(50% + var(--px, 0) * 45%) calc(45% + var(--py, 0) * 40%), rgba(16, 185, 129, .14), transparent 65%);
}
.abertura .produto { transform: perspective(1600px) rotateY(calc(var(--px, 0) * -5deg)) rotateX(calc(var(--py, 0) * 3.5deg)); transform-origin: 50% 50%; }

.landing .btn-cta, .landing .btn-contorno { translate: var(--mx, 0px) var(--my, 0px); transition: translate .45s var(--mola), background-color .2s ease, box-shadow .3s ease, color .2s ease, border-color .2s ease; }
.landing .btn-cta.atraindo, .landing .btn-contorno.atraindo { transition-duration: .12s, .2s, .3s, .2s, .2s; transition-timing-function: linear, ease, ease, ease, ease; }

.landing .inclinando { transition: transform .14s linear, border-color .3s var(--suave), box-shadow .4s var(--suave) !important; }

@media (hover: hover) and (pointer: fine) {
  .landing .recurso:hover { transform: perspective(900px) translateY(-5px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
  .landing .preco:hover { transform: perspective(900px) translateY(-5px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
  .landing .beneficio:hover { transform: perspective(900px) translateY(-4px) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
  .landing .integracao:hover { transform: perspective(700px) translateY(-4px) scale(1.02) rotateX(var(--ry, 0deg)) rotateY(var(--rx, 0deg)); }
}

.js-anima .bloco-titulo.revelar { transform: translateY(26px) scale(.985); }
.js-anima .bloco-titulo.revelar.visivel { transform: none; }

@keyframes progresso-leitura { to { transform: scaleX(1); } }
@keyframes brilho-marca { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
@keyframes flutua { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@keyframes flutua-ico { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -4px; rotate: -4deg; } }
@keyframes respira {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0), 0 10px 26px -12px rgba(16, 185, 129, .6); }
  50% { box-shadow: 0 0 0 7px rgba(16, 185, 129, .14), 0 14px 34px -10px rgba(16, 185, 129, .8); }
}

@media (prefers-reduced-motion: no-preference) {
  .abertura h1 .texto-marca { animation: brilho-marca 6s ease-in-out infinite alternate; }
  .abertura .produto-janela { animation: flutua 8s ease-in-out 1.4s infinite; }
  #ctaHero { animation: respira 3.4s ease-in-out 1.2s infinite; }
  .landing .integracao-ico { animation: flutua-ico 5.5s ease-in-out infinite; }
  .landing .integracao:nth-child(3n+2) .integracao-ico { animation-delay: -1.8s; }
  .landing .integracao:nth-child(3n) .integracao-ico { animation-delay: -3.6s; }
  .landing .recurso-icone, .landing .beneficio-icone { transition: transform .4s var(--mola), rotate .4s var(--mola); }
  .landing .beneficio:hover .beneficio-icone { transform: rotate(-8deg) scale(1.08); }
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .landing::before {
      content: ""; position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 100; pointer-events: none;
      background: var(--grad-aurora); box-shadow: 0 0 12px rgba(16, 185, 129, .6);
      transform-origin: 0 50%; transform: scaleX(0);
      animation: progresso-leitura linear both; animation-timeline: scroll(root);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  .abertura .produto { transform: none; }
  .landing .btn-cta, .landing .btn-contorno { translate: none; }
  .js-anima .bloco-titulo.revelar { transform: none !important; }
}
@media (max-width: 980px) {
  .abertura .produto { transform: none; }
  .abertura::before { display: none; }
}
.produto-kpis b { font-variant-numeric: tabular-nums; }

.table-wrap.rolagem-fixa {
  max-height: var(--altura-tabela, none); overflow: auto; overscroll-behavior-x: contain;
  scrollbar-width: auto; scrollbar-color: color-mix(in srgb, var(--brand) 55%, var(--border-strong)) var(--surface-2);
}
.table-wrap.rolagem-fixa thead th { position: sticky; top: 0; z-index: 2; background: var(--surface-2); box-shadow: inset 0 -1px 0 var(--border); }
.table-wrap.rolagem-fixa::-webkit-scrollbar { width: 12px; height: 12px; }
.table-wrap.rolagem-fixa::-webkit-scrollbar-track { background: var(--surface-2); }
.table-wrap.rolagem-fixa::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--brand) 55%, var(--border-strong)); border-radius: 8px; border: 3px solid var(--surface-2); }
.table-wrap.rolagem-fixa::-webkit-scrollbar-thumb:hover { background: var(--brand); }
@media (max-width: 720px) { .table-wrap.rolagem-fixa { max-height: none; } }
