/* Tema do site Kyva (mesma paleta do Website 2.0 em Next.js). Base: bootstrap-minimal + pulse.css. */
:root {
  --kyva-blue: var(--bs-primary);
  --kyva-blue-hover: var(--bs-blue-400);
  --kyva-navy: #21325B;
  --kyva-dark: #080c16;
  --kyva-ink: #0d1117;
  --kyva-green: #10B981;
  --kyva-amber: #F59E0B;
  --kyva-purple: #A78BFA;
  --kyva-red: #EF4444;
  --kyva-muted: rgba(13, 17, 23, .55);
  --kyva: var(--kyva-blue);
  --kyva-hover: var(--bs-blue-600);
  --bs-body-color: #0d1117;
  --bs-body-bg: #fff;
  --bs-heading-color: #0d1117;
  --bs-border-radius: 10px;
}
body { font-family: Inter, system-ui, sans-serif; color: var(--kyva-ink); background: #fff; -webkit-font-smoothing: antialiased; }
a { color: var(--bs-link-color); }
a:hover { color: var(--kyva-navy); }

/* Botões */
.btn-primary, .btn-kyva { background-color: var(--kyva-blue); border-color: var(--kyva-blue); color: var(--bs-white); font-weight: 700; border-radius: 999px; padding: .6rem 1.4rem; }
.btn-primary:hover, .btn-primary:focus, .btn-kyva:hover { background-color: var(--kyva-hover); border-color: var(--kyva-hover); color: var(--bs-white); box-shadow: 0 0 22px rgba(var(--bs-primary-rgb), .45); }
.btn-lg { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-ghost { background: transparent; border: 1px solid rgba(13, 17, 23, .14); color: rgba(13, 17, 23, .7); font-weight: 500; border-radius: 999px; padding: .9rem 2rem; font-size: 1.05rem; text-decoration: none; display: inline-block; }
.btn-ghost:hover { background: rgba(13, 17, 23, .04); color: var(--kyva-ink); }
.btn-light { border-radius: 999px; font-weight: 700; }

/* Header azul-marinho */
.site-header { background: var(--kyva-navy); border-bottom: 1px solid rgba(255, 255, 255, .08); min-height: 72px; padding: 0; }
.site-header .nav-link, .site-header .mega-toggle { color: rgba(255, 255, 255, .6); font-weight: 500; font-size: .9rem; background: none; border: 0; }
.site-header .nav-link:hover, .site-header .mega-toggle:hover, .site-header .mega.open > .mega-toggle { color: #fff; }
.site-header .navbar-toggler { border-color: rgba(255, 255, 255, .25); }
.site-header .navbar-toggler-icon { filter: invert(1); }
.btn-pill { font-size: .9rem; padding: .55rem 1.25rem; }
@media (max-width: 991.98px) { .site-header .navbar-collapse { background: var(--kyva-navy); padding: 1rem 0; } }

/* Tipografia de marketing (o pulse.css usa escala de app) */
main h1, main .display-5 { font-size: clamp(2.5rem, 6vw, 4.25rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; color: var(--kyva-ink); }
main h2, main .section-title { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; letter-spacing: -.035em; font-weight: 800; color: var(--kyva-ink); }
main h3 { font-size: 1.15rem; font-weight: 700; }
main .lead { font-size: 1.2rem; font-weight: 400; color: var(--kyva-muted); }
.accent { color: var(--kyva-blue); }
.accent-navy { color: var(--kyva-navy); }

/* Blocos reutilizáveis (outras páginas continuam usando) */
.hero { padding: 80px 0; background: linear-gradient(180deg, #f8fafc 0%, #eaf6ff 100%); }
.hero h1 { color: var(--kyva-navy); }
.card-kyva { border: 1px solid rgba(13, 17, 23, .08); border-radius: 18px; padding: 28px; height: 100%; background: #fff; box-shadow: 0 1px 2px rgba(13, 17, 23, .04); transition: box-shadow .2s, transform .2s, border-color .2s; }
.card-kyva:hover { box-shadow: 0 18px 40px rgba(33, 50, 91, .12); transform: translateY(-3px); border-color: rgba(var(--bs-primary-rgb), .35); }
.card-kyva h3 { font-size: 1.15rem; color: var(--kyva-navy); font-weight: 700; }
.card-kyva p { margin: 0; color: var(--kyva-muted); }
.alt { background: #f8fafc; }

/* Home */
.home-hero { padding: 88px 0 96px; text-align: center; background: #f8f9fa; }
.home-hero .lead { max-width: 640px; margin: 1.5rem auto 2rem; }
.home-hero .actions { display: flex; gap: .85rem; justify-content: center; flex-wrap: wrap; }
.mockup { margin: 56px auto 0; max-width: 900px; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid rgba(33, 50, 91, .1); box-shadow: 0 20px 60px rgba(33, 50, 91, .12), 0 4px 16px rgba(33, 50, 91, .06); }
.metrics { background: #f8f9fa; padding: 80px 0 96px; border-top: 1px solid rgba(33, 50, 91, .08); }
.metrics .grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border: 1px solid rgba(13, 17, 23, .08); border-radius: 24px; overflow: hidden; }
.metric { padding: 40px 24px; text-align: center; border-left: 1px solid rgba(13, 17, 23, .06); }
.metric:first-child { border-left: 0; }
.metric .num { font-size: clamp(2.8rem, 5vw, 4.5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1; }
.metric strong { display: block; margin-top: 1rem; font-size: 1rem; color: var(--kyva-ink); }
.metric span.d { display: block; margin-top: .4rem; font-size: .8rem; color: rgba(13, 17, 23, .45); }
.metric i { display: block; width: 48px; height: 2px; margin: 1.5rem auto 0; border-radius: 2px; background: currentColor; opacity: .5; }
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 3.5rem; }
.section-head .lead { margin-top: 1.25rem; }
.eyebrow { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--kyva-blue); margin-bottom: 1rem; }
.problem-card { border-radius: 18px; padding: 28px; background: #fff; border: 1px solid rgba(13, 17, 23, .08); height: 100%; box-shadow: 0 1px 2px rgba(13, 17, 23, .04); }
.problem-card .tag { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.problem-card h3 { margin: .5rem 0 .5rem; color: var(--kyva-ink); }
.problem-card p { color: var(--kyva-muted); margin: 0 0 1rem; }
.problem-card .status { font-size: .8rem; color: rgba(13, 17, 23, .45); display: flex; align-items: center; gap: .5rem; }
.problem-card .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c, var(--kyva-red)); }
.vs { display: flex; align-items: center; gap: 1rem; margin: 2.5rem 0; color: rgba(13, 17, 23, .35); font-weight: 700; font-size: .8rem; }
.vs::before, .vs::after { content: ""; flex: 1; height: 1px; background: rgba(13, 17, 23, .1); }
.vs span { padding: .3rem .9rem; border: 1px solid rgba(13, 17, 23, .1); border-radius: 999px; }
.resolve { max-width: 640px; margin: 0 auto; text-align: center; padding: 28px; border-radius: 18px; background: rgba(var(--bs-primary-rgb), .08); border: 1px solid rgba(var(--bs-primary-rgb), .3); }
.resolve strong { display: block; font-size: 1.35rem; color: var(--kyva-navy); }
.resolve p { margin: .5rem 0 0; color: var(--kyva-muted); }
.dark-section { background: var(--kyva-navy); color: #fff; }
.dark-section h2 { color: #fff; }
.dark-section .lead { color: rgba(255, 255, 255, .6); }
@media (max-width: 767.98px) {
  .metrics .grid { grid-template-columns: repeat(2, 1fr); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid rgba(13, 17, 23, .06); }
  .section { padding: 64px 0; }
}

/* Submenu de Produtos (mega menu) */
.mega-toggle::after { display: inline-block; margin-left: .4em; vertical-align: .15em; content: ""; border-top: .3em solid; border-right: .3em solid transparent; border-left: .3em solid transparent; transition: transform .2s; }
.mega.open > .mega-toggle::after { transform: rotate(180deg); }
.mega-panel { display: none; }
.mega.open > .mega-panel { display: block; }
.mega-label { font-size: .7rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-gray-450); margin-bottom: .75rem; }
.mega-link { display: flex; gap: .875rem; align-items: center; padding: .5rem; border-radius: 10px; color: var(--bs-body-color); text-decoration: none; }
.mega-link:hover { background: var(--bs-gray-100); color: var(--bs-body-color); }
.mega-link strong { display: block; font-weight: 500; line-height: 1.25; }
.mega-link small { display: block; color: var(--bs-gray-600); line-height: 1.25; }
.mega-icon { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px; background: var(--bs-gray-200); font-size: 1.1rem; }
.mega-divider { height: 1px; background: var(--bs-gray-300); margin: 1.25rem 0; }
.mega-featured { display: block; padding: 2rem 1.5rem; background: var(--bs-gray-100); color: var(--bs-body-color); text-decoration: none; }
.mega-featured img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; background: var(--bs-blue-100); margin-bottom: 1rem; }
.mega-featured strong { display: block; font-weight: 500; }
.mega-featured small { display: block; color: var(--bs-gray-600); }
@media (min-width: 992px) {
  .navbar .mega { position: static; }
  .mega-toggle { position: relative; }
  .mega-toggle::before { content: ""; position: absolute; left: -12px; right: -12px; top: 100%; height: 40px; }
  .navbar .container { position: static; }
  .mega-panel { position: absolute; left: 0; right: 0; top: 100%; }
  .mega-inner { display: grid; grid-template-columns: 1fr 300px; max-width: 1180px; margin: 0 auto; background: var(--kyva-surface); border-radius: 0 0 16px 16px; overflow: hidden; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.18); }
  .mega-main { padding: 2rem 2rem 1.75rem; }
  .mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 1rem; }
  .mega-featured { border-left: 1px solid var(--bs-gray-300); }
  .navbar:has(.mega:hover)::after, .navbar:has(.mega.open)::after { content: ""; position: fixed; inset: 72px 0 0 0; background: rgba(0,0,0,.28); z-index: -1; }
  .navbar .mega:hover > .mega-panel { display: block; }
  .navbar .mega:hover > .mega-toggle::after { transform: rotate(180deg); }
}
@media (max-width: 991.98px) {
  .mega-inner { padding: .5rem 0 1rem; }
  .mega-featured, .mega-divider { display: none; }
}


/* Plataforma (fundo claro, igual ao Next) */
.platform { background: #f8f9ff; position: relative; overflow: hidden; }
.platform::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 800px; height: 600px; max-width: 100%; background: radial-gradient(ellipse at top, rgba(var(--bs-primary-rgb), .08) 0%, transparent 70%); filter: blur(40px); pointer-events: none; }
.platform .container { position: relative; }
.eyebrow.navy { color: var(--kyva-navy); }
.platform .lead { font-weight: 300; color: rgba(13, 17, 23, .5); max-width: 36rem; margin-left: auto; margin-right: auto; }
.sol-card { display: block; height: 100%; padding: 24px; border-radius: 16px; background: #fff; border: 1px solid rgba(33, 50, 91, .08); box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 4px 16px rgba(0, 0, 0, .03); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.sol-card:hover { transform: translateY(-4px); box-shadow: 0 8px 40px rgba(var(--bs-primary-rgb), .12), 0 1px 3px rgba(0, 0, 0, .04); border-color: rgba(var(--bs-primary-rgb), .3); color: inherit; }
.sol-card .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.sol-card .ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--bs-primary-rgb), .08); border: 1px solid rgba(var(--bs-primary-rgb), .15); color: var(--kyva-blue); font-size: 1.25rem; }
.sol-card .tag { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 6px; background: rgba(var(--bs-primary-rgb), .08); color: var(--kyva-blue); }
.sol-card h3 { font-size: 1.06rem; letter-spacing: -.02em; color: var(--kyva-ink); margin-bottom: .5rem; }
.sol-card p { font-size: .875rem; line-height: 1.6; color: rgba(13, 17, 23, .5); margin: 0; }
.sol-card .more { display: flex; align-items: center; gap: .25rem; margin-top: 1rem; font-size: .75rem; font-weight: 600; color: var(--kyva-blue); opacity: 0; transition: opacity .2s; }
.sol-card:hover .more { opacity: 1; }

/* Animação de entrada ao rolar (só com JS ligado) */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity .6s cubic-bezier(.21, .47, .32, .98), transform .6s cubic-bezier(.21, .47, .32, .98); transition-delay: calc(var(--i, 0) * 80ms); }
.js .reveal.in, .js .reveal[data-in] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* FAQ (fundo escuro, igual ao Next) */
.faq-section { background: var(--kyva-dark); position: relative; overflow: hidden; }
.faq-section::before { content: ""; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; max-width: 100%; background: radial-gradient(ellipse at bottom, rgba(var(--bs-primary-rgb), .08) 0%, transparent 70%); filter: blur(40px); pointer-events: none; }
.faq-section .container { position: relative; }
.faq-section h2 { color: #fff; }
.faq-section .lead { color: rgba(255, 255, 255, .4); font-weight: 300; font-size: 1rem; }
.faq-section .lead a { color: var(--kyva-blue); text-decoration: none; }
.faq-section .lead a:hover { text-decoration: underline; color: var(--kyva-blue); }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item { border-radius: 16px; overflow: hidden; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .07); transition: background .2s, border-color .2s, opacity .6s cubic-bezier(.21, .47, .32, .98), transform .6s cubic-bezier(.21, .47, .32, .98); }
.faq-item.open { background: rgba(var(--bs-primary-rgb), .05); border-color: rgba(var(--bs-primary-rgb), .2); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem; background: none; border: 0; text-align: left; cursor: pointer; font-weight: 600; font-size: .9375rem; line-height: 1.35; color: rgba(255, 255, 255, .75); transition: color .2s; }
.faq-item.open .faq-q { color: #fff; }
.faq-plus { flex: none; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: transform .25s cubic-bezier(.21, .47, .32, .98), background .2s, border-color .2s, color .2s; }
.faq-item.open .faq-plus { transform: rotate(45deg); color: var(--kyva-blue); background: rgba(var(--bs-primary-rgb), .15); border-color: rgba(var(--bs-primary-rgb), .3); }
.faq-a { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s cubic-bezier(.21, .47, .32, .98), opacity .35s; }
.faq-item.open .faq-a { grid-template-rows: 1fr; opacity: 1; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 1rem 1.5rem 1.25rem; margin-top: 0; border-top: 1px solid rgba(255, 255, 255, .05); font-size: .875rem; line-height: 1.7; color: rgba(255, 255, 255, .5); }
.faq-q:focus-visible { outline: 2px solid var(--kyva-blue); outline-offset: -2px; border-radius: 16px; }

/* CTA final (igual ao Next) */
.cta-final { position: relative; overflow: hidden; padding: 160px 0; background: var(--kyva-dark); color: #fff; }
.cta-final::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(var(--bs-primary-rgb), .14) 0%, rgba(var(--bs-primary-rgb), .04) 40%, transparent 70%); }
.cta-final::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent); }
.cta-grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(var(--bs-primary-rgb), .04) 1px, transparent 1px), linear-gradient(90deg, rgba(var(--bs-primary-rgb), .04) 1px, transparent 1px); background-size: 60px 60px; opacity: .3; -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%); mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%); }
.cta-rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cta-rings i { grid-area: 1 / 1; border-radius: 50%; border: 1px solid rgba(var(--bs-primary-rgb), .06); animation: ring 4s ease-in-out infinite; }
.cta-rings i:nth-child(1) { width: 400px; height: 400px; }
.cta-rings i:nth-child(2) { width: 600px; height: 600px; animation-duration: 5s; animation-delay: .8s; }
.cta-rings i:nth-child(3) { width: 800px; height: 800px; animation-duration: 6s; animation-delay: 1.6s; }
@keyframes ring { 0%, 100% { transform: scale(1); opacity: .5; } 50% { transform: scale(1.05); opacity: 1; } }
.cta-inner { position: relative; max-width: 896px; }
.badge-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(var(--bs-primary-rgb), .3); background: rgba(var(--bs-primary-rgb), .08); color: var(--kyva-blue); font-size: .8125rem; font-weight: 600; letter-spacing: .01em; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--kyva-blue); animation: pulse-dot 2s ease-in-out infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .5; transform: scale(.85); } }
.cta-final h2 { margin: 2rem 0 1.5rem; font-size: clamp(2.75rem, 7vw, 5.5rem); line-height: .95; letter-spacing: -.04em; font-weight: 900; color: #fff; }
.gradient-text { background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-blue-300) 50%, var(--bs-primary) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 0 24px rgba(var(--bs-primary-rgb), .45)); }
.cta-lead { max-width: 36rem; margin: 0 auto 3rem; font-size: 1.25rem; font-weight: 300; line-height: 1.6; color: rgba(255, 255, 255, .5); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; margin-bottom: 3rem; }
.btn-cta { display: inline-flex; align-items: center; gap: .5rem; padding: 1.25rem 2.5rem; border-radius: 999px; background: var(--kyva-blue); color: var(--bs-white); font-weight: 900; font-size: 1rem; text-decoration: none; transition: background .2s, box-shadow .2s, transform .2s; }
.btn-cta:hover { background: var(--kyva-blue-hover); color: var(--bs-white); box-shadow: 0 0 40px rgba(var(--bs-primary-rgb), .4); transform: translateY(-2px); }
.btn-cta-ghost { display: inline-flex; align-items: center; padding: 1.25rem 2.5rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .8); font-weight: 500; font-size: 1rem; text-decoration: none; transition: background .2s, color .2s; }
.btn-cta-ghost:hover { background: rgba(255, 255, 255, .05); color: #fff; }
.cta-trust { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; justify-content: center; list-style: none; margin: 0; padding: 0; font-size: .875rem; font-weight: 500; color: rgba(255, 255, 255, .25); }
.cta-trust li { display: flex; align-items: center; gap: .5rem; }
.cta-trust li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: rgba(255, 255, 255, .15); margin-right: .5rem; }
@media (max-width: 575.98px) { .cta-final { padding: 96px 0; } .cta-trust li + li::before { display: none; } }
@media (prefers-reduced-motion: reduce) { .cta-rings i, .pulse-dot { animation: none; } }

/* Botão voltar ao topo (rodapé) */
.back-top { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .04); color: rgba(255, 255, 255, .75); font-size: .8125rem; font-weight: 500; cursor: pointer; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.back-top:hover { background: rgba(var(--bs-primary-rgb), .12); border-color: rgba(var(--bs-primary-rgb), .4); color: var(--kyva-blue); transform: translateY(-2px); }
.back-top:focus-visible { outline: 2px solid var(--kyva-blue); outline-offset: 2px; }

/* Rodapé (igual ao Next) */
.site-footer { background: #040810; border-top: 1px solid rgba(255, 255, 255, .05); padding: 64px 0 40px; color: rgba(255, 255, 255, .35); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.1fr 1fr 1.2fr; gap: 48px; margin-bottom: 64px; }
.footer-brand .tag { margin: 1rem 0 1.5rem; max-width: 20rem; font-size: .875rem; line-height: 1.6; color: rgba(255, 255, 255, .35); }
.footer-brand .sub { margin: 0; max-width: 20rem; font-size: .75rem; line-height: 1.6; color: rgba(255, 255, 255, .2); }
.site-footer h3 { margin: 0 0 1.25rem; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.site-footer li a { font-size: .875rem; color: rgba(255, 255, 255, .35); text-decoration: none; transition: color .2s; }
.site-footer li a:hover { color: rgba(255, 255, 255, .75); }
.footer-sep { height: 1px; margin-bottom: 2rem; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .08), transparent); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-bottom p { margin: 0; font-size: .75rem; font-weight: 500; color: rgba(255, 255, 255, .25); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.footer-legal > a { font-size: .75rem; color: rgba(255, 255, 255, .25); text-decoration: none; transition: color .2s; }
.footer-legal > a:hover { color: rgba(255, 255, 255, .5); }
.footer-lgpd { margin: 1.5rem auto 0; max-width: 42rem; text-align: center; font-size: .75rem; color: rgba(255, 255, 255, .15); }
@media (max-width: 991.98px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; margin-bottom: 48px; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 575.98px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; text-align: center; } }

/* Painel "Visão geral" (Home do app) em HTML no hero */
.dm { display: flex; background: #f8f8f8; text-align: left; font-size: 11px; color: var(--bs-gray-900); }
.dm b { font-weight: 600; }
.dm-rail { flex: none; width: 66px; background: var(--kyva-navy); display: flex; flex-direction: column; align-items: center; padding: 14px 0; gap: 2px; }
.dm-rail-logo { margin-bottom: 14px; }
.dm-rail-item { width: 100%; padding: 7px 2px; text-align: center; color: rgba(255, 255, 255, .6); border-left: 2px solid transparent; }
.dm-rail-item i { display: block; font-size: 14px; margin-bottom: 2px; }
.dm-rail-item span { display: block; font-size: 7.5px; line-height: 1.1; }
.dm-rail-item.on { color: var(--kyva-blue); border-left-color: var(--kyva-blue); background: rgba(255, 255, 255, .04); }
.dm-rail-bottom { margin-top: auto; width: 100%; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .12); }
.dm-page { flex: 1; min-width: 0; }
.dm-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; }
.dm-top b { display: block; font-size: 11px; font-weight: 500; text-transform: uppercase; }
.dm-top small { display: block; color: var(--bs-primary); font-size: 10px; }
.dm-top-r { display: flex; align-items: center; gap: 14px; font-size: 14px; }
.dm-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--bs-primary); color: #fff; font-size: 11px; display: grid; place-items: center; }
.dm-main { padding: 4px 20px 20px; }
.dm-main h4 { font-size: 16px; font-weight: 700; margin: 8px 0 14px; color: var(--bs-gray-900); }
.dm-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 14px; }
.dm-kpi { position: relative; overflow: hidden; background: #fff; border-radius: 12px; box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075); display: flex; flex-direction: column; }
.dm-kpi .bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.dm-kpi .body { padding: 16px 14px 12px; flex: 1; }
.dm-kpi .lbl { display: flex; align-items: center; gap: 4px; color: var(--bs-gray-600); font-size: 8px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; margin-bottom: 10px; }
.dm-kpi .val { font-size: 17px; font-weight: 800; line-height: 1; margin-bottom: 6px; }
.dm-kpi .sub { color: var(--bs-gray-600); font-size: 9px; }
.dm-badge { display: inline-block; font-size: 8.5px; font-weight: 600; padding: 1px 6px; border-radius: 6px; margin-bottom: 3px; }
.dm-badge.red { background: var(--bs-red-100); color: var(--bs-red-500); }
.dm-badge.amber { background: var(--bs-yellow-100); color: var(--bs-yellow-500); }
.dm-kpi .foot { padding: 7px 14px; border-top: 1px solid #f0f0f0; background: #fafafa; text-align: center; }
.dm-kpi .foot a { color: var(--bs-primary); font-weight: 700; text-decoration: underline; font-size: 9.5px; }
.dm-card { background: #fff; border-radius: 12px; box-shadow: 0 .125rem .25rem rgba(0, 0, 0, .075); padding: 16px 18px 12px; margin-bottom: 14px; }
.dm-card-title { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: 12px; margin-bottom: 6px; }
.dm-card-title i { color: var(--bs-gray-600); font-size: 11px; }
.dm-chart { position: relative; }
.dm-legend { display: flex; justify-content: flex-end; gap: 12px; font-size: 9.5px; color: var(--bs-gray-700); margin-bottom: 4px; }
.dm-legend span { display: flex; align-items: center; gap: 5px; }
.dm-legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.dm-bars { display: flex; align-items: flex-end; }
.dm-col { flex: 1; height: 100%; display: flex; align-items: flex-end; justify-content: center; gap: 1px; }
.dm-col i { display: block; width: 28%; height: var(--h); border-radius: 3px 3px 0 0; }
.dm-x { display: flex; margin-top: 8px; }
.dm-x span { flex: 1; text-align: center; font-size: 6.5px; color: var(--bs-gray-600); white-space: nowrap; overflow: hidden; }
.dm-risk { border: 1px solid #f5c2c7; border-radius: 10px; background: #fff; overflow: hidden; box-shadow: 0 1px 6px rgba(220, 53, 69, .08); }
.dm-risk-head { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff9f9; border-bottom: 1px solid #f5c2c7; }
.dm-risk .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bs-red-500); flex: none; animation: dm-pulse 1.4s infinite; }
.dm-risk .dot.sm { animation: none; }
.dm-risk-head b { display: block; color: var(--bs-red-500); font-size: 12px; }
.dm-risk-head small { display: block; color: var(--bs-gray-600); font-size: 9px; }
.dm-risk .count { width: 17px; height: 17px; border-radius: 50%; background: var(--bs-red-500); color: #fff; font-size: 9px; font-weight: 700; display: grid; place-items: center; }
.dm-risk-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.dm-risk-row .info { flex: 1; min-width: 0; }
.dm-risk-row .info b { display: block; font-size: 11px; }
.dm-risk-row .info small { display: flex; align-items: center; gap: 4px; color: var(--bs-gray-600); font-size: 9px; margin-top: 2px; }
.dm-risk-row .info small i { color: var(--bs-red-500); font-size: 9px; }
.dm-risk-row .val { text-align: right; }
.dm-risk-row .val b { display: block; color: var(--bs-red-500); font-size: 12px; }
.dm-risk-row .val small { display: block; color: var(--bs-gray-600); font-size: 8px; }
.dm-pill { font-size: 9.5px; font-weight: 600; padding: 3px 10px; border-radius: 20px; background: #fde8ea; color: var(--bs-red-500); }
@keyframes dm-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(1.35); } }
@media (max-width: 767.98px) { .dm-rail { display: none; } .dm-kpis { grid-template-columns: repeat(2, 1fr); } .dm-x span:nth-child(n) { font-size: 0; } }
@media (prefers-reduced-motion: reduce) { .dm-risk .dot { animation: none; } }

/* Animação do painel (igual ao Next): barras crescem em sequência, cards sobem e aparecem */
.js .dm .dm-col i { transition: height .9s cubic-bezier(.21, .47, .32, .98); transition-delay: calc(var(--i) * 35ms); }
.js .dm .dm-col i + i { transition-delay: calc(var(--i) * 35ms + 60ms); }
.js .dm:not(.in) .dm-col i { height: 0; }
.js .dm .dm-kpi { transition: opacity .45s cubic-bezier(.21, .47, .32, .98), transform .45s cubic-bezier(.21, .47, .32, .98); }
.js .dm .dm-kpi:nth-child(2) { transition-delay: .08s; }
.js .dm .dm-kpi:nth-child(3) { transition-delay: .16s; }
.js .dm .dm-kpi:nth-child(4) { transition-delay: .24s; }
.js .dm:not(.in) .dm-kpi { opacity: 0; transform: translateY(16px); }
@media (prefers-reduced-motion: reduce) { .js .dm .dm-col i, .js .dm .dm-kpi { transition: none; } .js .dm:not(.in) .dm-col i { height: var(--h); } .js .dm:not(.in) .dm-kpi { opacity: 1; transform: none; } }

/* Texto digitado no título do hero */
.js .typed-line:not(.ready) .t { visibility: hidden; }
.typed-line { display: inline-block; min-height: 1.04em; }
.typed-cursor { margin-left: 2px; font-weight: 300; animation: typed-blink 1s step-end infinite; }
@keyframes typed-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .typed-cursor { display: none; } }

/* Slide-in lateral para .reveal */
.js .reveal-l { transform: translateX(-40px); }
.js .reveal-r { transform: translateX(40px); }

/* Demo "Contas a pagar" (animação do Next) */
.cp-section { padding: 100px 0; background: #fff; }
.cp-title { margin: .75rem 0 1.25rem; font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1.05; letter-spacing: -.03em; font-weight: 800; color: var(--kyva-ink); }
.cp-lead { max-width: 28rem; margin: 0 0 2rem; font-size: 1.125rem; line-height: 1.6; color: rgba(33, 50, 91, .5); }
.cp-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.cp-points li { display: flex; align-items: center; gap: .75rem; font-size: .875rem; font-weight: 500; color: rgba(33, 50, 91, .6); }
.cp-ico { flex: none; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; background: rgba(var(--bs-primary-rgb), .08); border: 1px solid rgba(var(--bs-primary-rgb), .15); color: var(--bs-primary); font-size: 1.05rem; }
.cp { position: relative; overflow: hidden; border-radius: 16px; background: #fff; border: 1px solid rgba(33, 50, 91, .1); box-shadow: 0 16px 48px rgba(33, 50, 91, .1); font-size: 12px; text-align: left; }
.cp-chrome { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: #f8f9fa; border-bottom: 1px solid rgba(33, 50, 91, .07); }
.cp-chrome i { width: 12px; height: 12px; border-radius: 50%; background: rgba(248, 113, 113, .7); }
.cp-chrome i:nth-child(2) { background: rgba(251, 191, 36, .7); }
.cp-chrome i:nth-child(3) { background: rgba(74, 222, 128, .7); }
.cp-chrome span { margin-left: 8px; font-weight: 500; color: rgba(33, 50, 91, .4); }
.cp-body { padding: 16px 20px 8px; }
.cp-head, .cp-row { display: grid; grid-template-columns: 24px 1fr 44px 92px 104px; gap: 12px; align-items: center; }
.cp-head { margin-bottom: 8px; font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(33, 50, 91, .35); }
.cp-head .r, .cp-row .r { text-align: right; }
.cp-row { padding: 10px 12px; margin-bottom: 4px; border-radius: 12px; background: transparent; border: 1px solid transparent; transition: background .2s, border-color .2s, opacity .35s cubic-bezier(.21, .47, .32, .98), transform .35s cubic-bezier(.21, .47, .32, .98); transition-delay: 0s, 0s, calc(var(--i) * 70ms + 200ms), calc(var(--i) * 70ms + 200ms); }
.js .cp:not(.in-view) .cp-row { opacity: 0; transform: translateX(16px); }
.cp-row.sel { background: rgba(var(--bs-primary-rgb), .06); border-color: rgba(var(--bs-primary-rgb), .2); }
.cp-row.paid { background: rgba(25, 135, 84, .06); border-color: rgba(25, 135, 84, .18); }
.cp-chk { width: 20px; height: 20px; border-radius: 4px; display: grid; place-items: center; border: 2px solid rgba(33, 50, 91, .2); transition: background .2s, border-color .2s; }
.cp-chk svg { opacity: 0; transform: scale(0); transition: opacity .15s, transform .15s; }
.cp-row.sel .cp-chk { background: var(--bs-primary); border-color: var(--bs-primary); }
.cp-row.sel .cp-chk svg { opacity: 1; transform: scale(1); }
.cp-row.paid .cp-chk { background: var(--bs-green-500); border-color: var(--bs-green-500); }
.cp-vendor b { display: block; font-weight: 600; color: var(--bs-gray-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp-vendor small { display: block; color: rgba(33, 50, 91, .4); }
.cp-due { color: rgba(33, 50, 91, .4); text-align: right; }
.cp-amt { font-weight: 700; text-align: right; color: var(--bs-gray-900); white-space: nowrap; }
.cp-pill { display: inline-block; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.cp-pill.amber { background: var(--bs-yellow-100); color: var(--bs-yellow-500); }
.cp-pill.blue { background: var(--bs-blue-100); color: var(--bs-primary); }
.cp-pill.green { background: var(--bs-green-100); color: var(--bs-green-500); }
.cp-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; background: #f8f9fa; border-top: 1px solid rgba(33, 50, 91, .07); transition: opacity .3s cubic-bezier(.21, .47, .32, .98), transform .3s cubic-bezier(.21, .47, .32, .98), max-height .3s; max-height: 80px; }
.cp[data-count="0"] .cp-bar, .cp[data-stage="success"] .cp-bar { opacity: 0; transform: translateY(16px); max-height: 0; padding-top: 0; padding-bottom: 0; border-top-width: 0; overflow: hidden; }
.cp-bar small { display: block; color: rgba(33, 50, 91, .45); }
.cp-bar b { display: block; font-size: 14px; font-weight: 800; color: var(--bs-gray-900); }
.cp-btn { padding: 8px 20px; border-radius: 12px; background: var(--bs-primary); color: #fff; font-weight: 700; box-shadow: 0 4px 16px rgba(var(--bs-primary-rgb), .3); user-select: none; animation: cp-beat 1.2s ease-in-out infinite; }
@keyframes cp-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.03); } }
.cp-proc, .cp-ok { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cp-proc { z-index: 40; flex-direction: column; gap: 12px; background: rgba(255, 255, 255, .75); backdrop-filter: blur(4px); }
.cp-ok { z-index: 50; background: rgba(255, 255, 255, .9); backdrop-filter: blur(8px); }
.cp[data-stage="processing"] .cp-proc, .cp[data-stage="success"] .cp-ok { opacity: 1; visibility: visible; }
.cp-spin { position: relative; width: 56px; height: 56px; }
.cp-spin i { position: absolute; inset: 0; border-radius: 50%; border: 3px solid rgba(var(--bs-primary-rgb), .15); }
.cp-spin i + i { border-color: transparent; border-top-color: var(--bs-primary); animation: cp-rot .8s linear infinite; }
@keyframes cp-rot { to { transform: rotate(360deg); } }
.cp-proc-t { font-size: 14px; font-weight: 600; color: rgba(33, 50, 91, .6); }
.cp-dots { display: flex; gap: 6px; }
.cp-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--bs-primary); animation: cp-dot 1s infinite; }
.cp-dots i:nth-child(2) { animation-delay: .2s; } .cp-dots i:nth-child(3) { animation-delay: .4s; }
@keyframes cp-dot { 0%, 100% { opacity: .3; } 50% { opacity: 1; } }
.cp-card { display: flex; flex-direction: column; align-items: center; gap: 16px; max-width: 320px; margin: 0 16px; padding: 28px 32px; border-radius: 24px; background: #fff; border: 1px solid rgba(33, 50, 91, .1); box-shadow: 0 24px 64px rgba(33, 50, 91, .15); text-align: center; transform: scale(.75) translateY(16px); opacity: 0; transition: transform .4s cubic-bezier(.21, .47, .32, .98), opacity .4s; }
.cp[data-stage="success"] .cp-card { transform: none; opacity: 1; }
.cp-ring-wrap { position: relative; }
.cp-circle { width: 80px; height: 80px; border-radius: 50%; display: grid; place-items: center; background: var(--bs-green-100); border: 2px solid var(--bs-green-500); color: var(--bs-green-500); transform: scale(0); }
.cp[data-stage="success"] .cp-circle { animation: cp-pop .5s .05s cubic-bezier(.21, .47, .32, .98) forwards; }
@keyframes cp-pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }
.cp-circle path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.cp[data-stage="success"] .cp-circle path { animation: cp-draw .45s .3s ease-out forwards; }
@keyframes cp-draw { to { stroke-dashoffset: 0; } }
.cp-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--bs-green-500); opacity: 0; }
.cp[data-stage="success"] .cp-pulse { animation: cp-pulse 1.9s .4s infinite; }
@keyframes cp-pulse { 0% { transform: scale(.8); opacity: .6; } 58%, 100% { transform: scale(1.7); opacity: 0; } }
.cp-card h3 { margin: 0 0 4px; font-size: 20px; font-weight: 800; color: var(--bs-gray-900); }
.cp-card ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; text-align: left; font-size: 14px; color: rgba(33, 50, 91, .6); }
.cp-card li { display: flex; align-items: center; gap: 8px; }
.cp-card li i { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.cp-card li i.g { background: var(--bs-green-500); } .cp-card li i.b { background: var(--bs-primary); }
.cp-stats { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cp-stats div { padding: 12px; border-radius: 12px; background: #f8f9fa; border: 1px solid rgba(33, 50, 91, .07); text-align: center; }
.cp-stats small { display: block; margin-bottom: 2px; color: rgba(33, 50, 91, .4); }
.cp-stats b { font-size: 14px; font-weight: 700; } .cp-stats b.b { color: var(--bs-primary); } .cp-stats b.g { color: var(--bs-green-500); }
@media (max-width: 575.98px) { .cp-head, .cp-row { grid-template-columns: 24px 1fr auto; } .cp .d { display: none; } .cp-section { padding: 64px 0; } }
@media (prefers-reduced-motion: reduce) { .cp-btn, .cp-spin i + i, .cp-dots i, .cp-pulse { animation: none; } .js .cp:not(.in-view) .cp-row { opacity: 1; transform: none; } }

/* Demo "Contas fixas" (cartão de recorrência) */
.ec { padding: 24px; border-radius: 16px; background: #fff; border: 1px solid rgba(33, 50, 91, .08); box-shadow: 0 16px 48px rgba(33, 50, 91, .1); font-size: 13px; }
.ec b { font-weight: 600; color: var(--bs-gray-900); }
.ec small { color: var(--bs-gray-600); }
.ec-head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid #f0f0f0; }
.ec-icon { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bs-blue-100); color: var(--bs-primary); font-size: 1.15rem; }
.ec-title { flex: 1; min-width: 0; }
.ec-title b { display: block; font-size: 15px; line-height: 1.25; margin-bottom: 4px; }
.ec-badge { display: inline-block; margin-right: 8px; padding: 1px 8px; border-radius: 4px; background: var(--bs-blue-100); color: var(--bs-primary); font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.ec-title small { font-size: 11px; }
.ec-due { text-align: right; }
.ec-due small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.ec-due b { display: block; margin-top: 4px; color: var(--bs-primary); font-size: 13px; }
.ec-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.ec-stat { position: relative; padding: 18px 20px; border-radius: 12px; background: #f6f7f9; }
.ec-stat small { display: block; font-size: 12px; margin-bottom: 6px; }
.ec-stat b { display: block; font-size: 21px; font-weight: 800; letter-spacing: -.02em; }
.ec-ok { position: absolute; top: 12px; right: 14px; color: var(--bs-green-500); font-size: 14px; opacity: 0; transform: scale(0); transition: opacity .25s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.ec-label { margin: 18px 0 12px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-gray-600); }
.ec-step { display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 8px; border-radius: 12px; border: 1px solid transparent; transition: background .3s, border-color .3s; }
.ec-step b { display: block; font-size: 14px; color: var(--bs-gray-500); transition: color .3s; }
.ec-step small { display: block; margin-top: 2px; font-size: 11px; }
.ec-sicon { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #ececef; color: var(--bs-gray-450); font-size: 1rem; transition: background .3s, color .3s; }
.ec-step > div:not(.ec-state) { flex: 1; min-width: 0; }
.ec-state { position: relative; min-width: 96px; height: 16px; text-align: right; }
.ec-state i { position: absolute; right: 0; top: 0; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .25s; }
.ec-state .w { color: var(--bs-gray-450); opacity: 1; }
.ec-state .a { color: var(--bs-primary); font-size: 12px; text-transform: none; letter-spacing: 0; }
.ec-state .p { color: var(--bs-gray-600); }
/* passo 1: valor detectado; 2: média */
.ec:not([data-step="0"]) .ec-stat:first-child .ec-ok { opacity: 1; transform: scale(1); }
.js .ec[data-step="0"] .ec-avg b, .js .ec[data-step="1"] .ec-avg b { opacity: 0; }
.ec-avg b { transition: opacity .4s; }
/* passo 3+: pagamento agendado ativo */
.ec:is([data-step="3"], [data-step="4"], [data-step="5"]) .ec-pay { background: rgba(var(--bs-primary-rgb), .07); border-color: rgba(var(--bs-primary-rgb), .25); }
.ec:is([data-step="3"], [data-step="4"], [data-step="5"]) .ec-pay b { color: var(--bs-gray-900); }
.ec:is([data-step="3"], [data-step="4"], [data-step="5"]) .ec-pay .ec-sicon { background: var(--bs-primary); color: #fff; }
.ec:is([data-step="3"], [data-step="4"], [data-step="5"]) .ec-pay .ec-sicon i { animation: ec-spin .8s ease-out; }
.ec:is([data-step="3"], [data-step="4"], [data-step="5"]) .ec-pay .ec-state .a { opacity: 1; }
.ec:is([data-step="3"], [data-step="4"], [data-step="5"]) .ec-pay .ec-state .w { opacity: 0; }
@keyframes ec-spin { from { transform: rotate(-180deg); } to { transform: none; } }
/* passo 4: conciliando; 5: conciliado */
.ec[data-step="4"] .ec-rec .ec-state .w, .ec[data-step="5"] .ec-rec .ec-state .w { opacity: 0; }
.ec[data-step="4"] .ec-rec .ec-state .p { opacity: 1; }
.ec[data-step="4"] .ec-rec b, .ec[data-step="5"] .ec-rec b { color: var(--bs-gray-900); }
.ec[data-step="4"] .ec-rec .ec-sicon i { animation: cp-rot 1s linear infinite; }
.ec[data-step="4"] .ec-rec .ec-sicon { background: var(--bs-blue-100); color: var(--bs-primary); }
.ec[data-step="5"] .ec-rec { background: rgba(25, 135, 84, .06); border-color: rgba(25, 135, 84, .2); }
.ec[data-step="5"] .ec-rec .ec-sicon { background: var(--bs-green-500); color: #fff; }
.ec[data-step="5"] .ec-rec .ec-state .a { opacity: 1; color: var(--bs-green-500); }
@media (max-width: 575.98px) { .ec { padding: 18px; } .ec-head { flex-wrap: wrap; } .ec-stat b { font-size: 17px; } }
@media (prefers-reduced-motion: reduce) { .ec-sicon i { animation: none !important; } }

/* Demo "Compras" (requisição com fluxo de aprovação) */
.pc-badge { position: relative; flex: none; min-width: 78px; height: 22px; }
.pc-badge i { position: absolute; right: 0; top: 0; padding: 3px 10px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s; }
.pc-badge .p { background: var(--bs-yellow-100); color: var(--bs-yellow-700); }
.pc-badge .a { background: var(--bs-green-100); color: var(--bs-green-700); opacity: 0; }
.pc[data-step="4"] .pc-badge .p { opacity: 0; } .pc[data-step="4"] .pc-badge .a { opacity: 1; }
.pc-progress { padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.pc-track { height: 6px; border-radius: 6px; background: #eef0f3; overflow: hidden; }
.pc-fill { display: block; height: 100%; width: 6%; border-radius: 6px; background: var(--bs-primary); transition: width .9s cubic-bezier(.21, .47, .32, .98); }
.pc[data-step="1"] .pc-fill { width: 33%; } .pc[data-step="2"] .pc-fill, .pc[data-step="3"] .pc-fill { width: 66%; } .pc[data-step="4"] .pc-fill { width: 100%; }
.pc-labels { display: flex; justify-content: space-between; margin-top: 8px; font-size: 9.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-600); }
.pc-labels span { transition: color .3s; }
.pc[data-step="0"] .l1, .pc[data-step="1"] .l1, .pc[data-step="2"] .l2, .pc[data-step="3"] .l2, .pc[data-step="4"] .l3 { color: var(--bs-primary); }
.pc .ec-stats { border-bottom: 1px solid #f0f0f0; }
.pc-row { display: flex; align-items: center; gap: 14px; padding: 8px 0; min-height: 44px; }
.pc-dot { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #ececef; color: var(--bs-gray-450); display: grid; place-items: center; font-size: 13px; transition: background .3s, color .3s; }
.pc-dot i { grid-area: 1 / 1; transition: opacity .2s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.pc-dot .k { opacity: 0; transform: scale(0); }
.pc-name { flex: 1; font-size: 14px; color: var(--bs-gray-500); transition: color .3s; }
.pc-res { position: relative; min-width: 110px; height: 30px; text-align: right; }
.pc-res i { position: absolute; right: 0; top: 6px; font-style: normal; font-size: 12px; font-weight: 600; transition: opacity .25s; }
.pc-res .w { color: var(--bs-gray-450); font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; }
.pc-res .k { color: var(--bs-green-500); opacity: 0; }
.pc-btn { position: absolute; right: 0; top: 0; padding: 6px 14px; border: 0; border-radius: 8px; background: var(--bs-primary); color: #fff; font-size: 11.5px; font-weight: 700; white-space: nowrap; opacity: 0; transform: scale(.9); pointer-events: none; transition: opacity .3s, transform .3s cubic-bezier(.34, 1.56, .64, 1); }
/* gerente aprova no passo 2 */
.pc:is([data-step="2"], [data-step="3"], [data-step="4"]) .pc-mgr .pc-dot { background: var(--bs-green-500); color: #fff; }
.pc:is([data-step="2"], [data-step="3"], [data-step="4"]) .pc-mgr .pc-dot .w { opacity: 0; transform: scale(0); }
.pc:is([data-step="2"], [data-step="3"], [data-step="4"]) .pc-mgr .pc-dot .k { opacity: 1; transform: scale(1); }
.pc:is([data-step="2"], [data-step="3"], [data-step="4"]) .pc-mgr .pc-res .w { opacity: 0; }
.pc:is([data-step="2"], [data-step="3"], [data-step="4"]) .pc-mgr .pc-res .k { opacity: 1; }
.pc:is([data-step="2"], [data-step="3"], [data-step="4"]) .pc-mgr .pc-name, .pc[data-step="3"] .pc-dir .pc-name, .pc[data-step="4"] .pc-dir .pc-name { color: var(--bs-gray-900); }
/* diretor: passo 3 ativa o botão; passo 4 aprova */
.pc[data-step="3"] .pc-dir .pc-dot { background: var(--bs-primary); color: #fff; }
.pc[data-step="3"] .pc-dir .pc-res .w { opacity: 0; }
.pc[data-step="3"] .pc-btn { opacity: 1; transform: none; animation: cp-beat 1.2s ease-in-out infinite; }
.pc.press .pc-btn { animation: none; transform: scale(.93); }
.pc[data-step="4"] .pc-dir .pc-dot { background: var(--bs-green-500); color: #fff; }
.pc[data-step="4"] .pc-dir .pc-dot .w { opacity: 0; transform: scale(0); }
.pc[data-step="4"] .pc-dir .pc-dot .k { opacity: 1; transform: scale(1); }
.pc[data-step="4"] .pc-dir .pc-res .w { opacity: 0; } .pc[data-step="4"] .pc-dir .pc-res .k { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .pc-btn { animation: none !important; } }

/* ===== Demos animadas por passos (motor em _Layout: data-demo + classes s1..sN) ===== */
.dx { --ease: cubic-bezier(.21, .47, .32, .98); }
.js .dx .at-1, .js .dx .at-2, .js .dx .at-3, .js .dx .at-4, .js .dx .at-5, .js .dx .at-6 { opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .dx.s1 .at-1, .js .dx.s2 .at-2, .js .dx.s3 .at-3, .js .dx.s4 .at-4, .js .dx.s5 .at-5, .js .dx.s6 .at-6 { opacity: 1; transform: none; }
.av { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--kyva-navy); color: #fff; font-size: 11px; font-weight: 700; font-style: normal; }
.av.lg { width: 40px; height: 40px; font-size: 14px; }
.av.sq { border-radius: 8px; background: #fff; color: var(--bs-gray-900); border: 1px solid #ececef; width: 34px; height: 34px; }
.dx-badge { position: relative; flex: none; min-width: 84px; height: 22px; }
.dx-badge i { position: absolute; right: 0; top: 0; padding: 3px 10px; border-radius: 999px; font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: opacity .3s; }
.dx-badge .a { background: var(--bs-blue-100); color: var(--bs-primary); } .dx-badge .b { background: var(--bs-green-100); color: var(--bs-green-700); opacity: 0; }

/* Reembolsos */
.rb-body { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.rb-body small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--bs-gray-600); }
.rb-val { display: block; margin-top: 4px; font-size: 30px; font-weight: 800; letter-spacing: -.03em; color: var(--bs-gray-900); }
.rb-thumb { position: relative; flex: none; width: 92px; height: 92px; border-radius: 12px; background: #f6f7f9; border: 1px dashed #d6d9de; display: grid; place-items: center; color: var(--bs-gray-450); font-size: 26px; overflow: hidden; }
.rb-thumb i { grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease); }
.rb-thumb .doc { opacity: 0; transform: scale(.7); color: var(--bs-primary); }
.rb-scan { position: absolute; left: 8px; right: 8px; top: 8px; height: 2px; border-radius: 2px; background: var(--bs-primary); opacity: 0; box-shadow: 0 0 8px var(--bs-primary); }
.rb-chip { position: absolute; right: 6px; bottom: 6px; width: 22px; height: 28px; border-radius: 8px; background: #22c55e; color: #fff; display: grid; place-items: center; font-size: 13px; transform: scale(0); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1); }
.rb.s1 .rb-thumb .base { opacity: 0; } .rb.s1 .rb-thumb .doc { opacity: 1; transform: none; }
.rb.s1:not(.s2) .rb-scan { opacity: 1; animation: rb-scan 1s ease-in-out infinite alternate; }
@keyframes rb-scan { from { top: 8px; } to { top: calc(100% - 10px); } }
.rb.s2 .rb-chip { transform: scale(1); }
.rb-steps { position: relative; display: flex; justify-content: space-between; padding: 18px 4px 6px; }
.rb-line { position: absolute; left: 40px; right: 40px; top: 32px; height: 3px; background: #eceef1; border-radius: 3px; }
.rb-line span { display: block; height: 100%; width: 0; background: var(--bs-primary); border-radius: 3px; transition: width .8s var(--ease); }
.rb.s4 .rb-line span { width: 50%; } .rb.s5 .rb-line span { width: 100%; }
.rb-node { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; }
.rb-node em { font-style: normal; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: var(--bs-gray-450); transition: color .3s; }
.rb-node .dot { position: relative; width: 28px; height: 28px; border-radius: 50%; background: #ececef; color: var(--bs-gray-450); display: grid; place-items: center; font-size: 13px; transition: background .3s, color .3s; }
.rb-node .dot i { grid-area: 1 / 1; transition: opacity .2s, transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.rb-node .dot .k { opacity: 0; transform: scale(0); }
.rb.s3 .n1 .dot { background: var(--bs-primary); color: #fff; } .rb.s3 .n1 .dot .w, .rb.s3 .n1 .dot .k { } .rb.s3 .n1 .dot .w { opacity: 0; transform: scale(0); } .rb.s3 .n1 .dot .k { opacity: 1; transform: scale(1); } .rb.s3 .n1 em { color: var(--bs-primary); }
.rb.s4 .n2 .dot { background: var(--bs-primary); color: #fff; } .rb.s4 .n2 em { color: var(--bs-primary); }
.rb.s5 .n2 .dot, .rb.s5 .n3 .dot { background: var(--bs-green-500); color: #fff; }
.rb.s5 .n2 .dot .w, .rb.s5 .n3 .dot .w { opacity: 0; transform: scale(0); } .rb.s5 .n2 .dot .k, .rb.s5 .n3 .dot .k { opacity: 1; transform: scale(1); }
.rb.s5 .n2 em, .rb.s5 .n3 em { color: var(--bs-green-500); }
.rb.s5 .dx-badge .a { opacity: 0; } .rb.s5 .dx-badge .b { opacity: 1; }
.rb-ai { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; background: rgba(var(--bs-primary-rgb), .07); border: 1px solid rgba(var(--bs-primary-rgb), .2); color: var(--bs-primary); font-size: 13px; }
.rb-ai i { font-size: 1.25rem; }

/* Aprovações */
.ap { background: #f6f7f9; padding: 20px 24px; }
.ap-card { padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 6px 22px rgba(33, 50, 91, .08); }
.ap-card.lvl { border-left: 4px solid var(--bs-primary); }
.ap-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ap-top > span { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-gray-600); } .ap-top > span.b { color: var(--bs-primary); }
.ap-top small { color: var(--bs-gray-600); }
.ap-main { display: flex; align-items: center; gap: 14px; } .ap-main b { display: block; font-size: 15px; } .ap-main small { display: block; font-size: 12px; }
.ap-who { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; color: var(--bs-gray-600); }
.ap-link { position: relative; height: 38px; display: flex; justify-content: center; align-items: center; } .ap-link.short { height: 22px; }
.ap-link::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: rgba(var(--bs-primary-rgb), .55); border-radius: 3px; }
.ap-pill { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 16px; border-radius: 999px; background: #22c55e; color: #fff; font-weight: 700; font-size: 13px; box-shadow: 0 6px 16px rgba(34, 197, 94, .3); }
.ap-st { position: relative; min-width: 80px; height: 14px; font-style: normal; } .ap-st i { position: absolute; right: 0; top: 0; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; transition: opacity .3s; }
.ap-st .w { color: var(--bs-yellow-500); } .ap-st .k { color: #22c55e; opacity: 0; } .ap.s4 .ap-st .w { opacity: 0; } .ap.s4 .ap-st .k { opacity: 1; }
.ap-dot { position: relative; width: 14px; height: 14px; } .ap-dot .w { position: absolute; inset: 1px; border-radius: 50%; background: var(--bs-yellow-500); transition: opacity .3s; } .ap-dot .k { position: absolute; inset: -2px; color: #22c55e; font-size: 18px; opacity: 0; transition: opacity .3s; }
.ap.s6 .ap-dot .w { opacity: 0; } .ap.s6 .ap-dot .k { opacity: 1; }
.ap-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; margin-top: 14px; } .ap-actions span { display: grid; place-items: center; padding: 9px; border-radius: 8px; font-weight: 700; font-size: 13px; transition: opacity .3s, background .3s, transform .2s; }
.ap-actions .no { border: 1px solid #e3e5e9; color: var(--bs-gray-900); } .ap-actions .yes { position: relative; background: var(--bs-primary); color: #fff; }
.ap-actions .yes i { grid-area: 1 / 1; font-style: normal; transition: opacity .25s; } .ap-actions .yes .b { opacity: 0; }
.ap.s5:not(.s6) .ap-actions .yes { animation: cp-beat 1.2s ease-in-out infinite; }
.ap.s6 .ap-actions .yes { background: #22c55e; } .ap.s6 .ap-actions .yes .a { opacity: 0; } .ap.s6 .ap-actions .yes .b { opacity: 1; } .ap.s6 .ap-actions .no { opacity: .35; }

/* Caixa de cobranças */
.cx { padding: 28px 24px; }
.cx-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid #eef0f3; box-shadow: 0 6px 22px rgba(33, 50, 91, .08); }
.cx-tile { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--bs-blue-100); color: var(--bs-primary); font-size: 1.2rem; } .cx-tile.warm { background: #ffe8d1; color: #f26a21; }
.cx-t { flex: 1; min-width: 0; } .cx-t small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bs-gray-600); } .cx-t b { display: block; font-size: 16px; margin: 2px 0; } .cx-t span { font-size: 12.5px; color: var(--bs-gray-600); }
.cx-won { padding: 3px 12px; border-radius: 999px; background: var(--bs-green-100); color: var(--bs-green-700); font-size: 10.5px; font-weight: 700; text-transform: uppercase; transform: scale(0); transition: transform .4s cubic-bezier(.34, 1.56, .64, 1) .2s; } .cx.s1 .cx-won { transform: scale(1); }
.cx-link { display: flex; flex-direction: column; align-items: center; } .cx-line { width: 1px; height: 22px; background: #cfd5de; }
.cx-match { padding: 5px 16px; border-radius: 999px; background: var(--bs-primary); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 6px 16px rgba(var(--bs-primary-rgb), .35); } .cx.s2:not(.s3) .cx-match { animation: cp-beat .9s ease-in-out infinite; }
.cx-amt { text-align: right; } .cx-amt b { display: block; color: var(--bs-primary); font-size: 16px; } .cx-amt small { font-size: 10px; color: var(--bs-gray-600); }
.cx-ai { display: flex; justify-content: center; margin-top: 22px; } .cx-ai span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 26px; border-radius: 14px; background: #0d1117; color: #fff; font-weight: 800; font-size: 13px; text-transform: uppercase; } .cx-ai i { color: var(--bs-blue-300); font-size: 1.1rem; } .cx.s4 .cx-ai i { animation: ec-spin .9s ease-out; }

/* Recebimentos */
.rc-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; } .rc-head b { display: block; font-size: 18px; } .rc-head small { color: var(--bs-gray-600); }
.rc-dots { display: flex; gap: 8px; margin-top: 6px; } .rc-dots i { width: 14px; height: 14px; border-radius: 50%; background: #f87171; } .rc-dots i:nth-child(2) { background: #fbbf24; } .rc-dots i:nth-child(3) { background: #4ade80; }
.rc-tiles { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; margin-bottom: 20px; }
.rc-tile { padding: 16px 18px; border-radius: 14px; background: #f6f7f9; border: 1px solid #eef0f3; } .rc-tile.blue { background: rgba(var(--bs-primary-rgb), .07); border-color: rgba(var(--bs-primary-rgb), .18); }
.rc-tile small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-600); } .rc-tile.blue small { color: var(--bs-primary); }
.rc-tile > b { display: block; margin-top: 8px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.rc-aging { display: flex; align-items: flex-end; gap: 8px; height: 56px; margin-top: 8px; } .rc-aging i { flex: 1; border-radius: 6px 6px 0 0; height: 4px; transition: height .8s var(--ease); background: var(--bs-primary); }
.rc-aging .r { background: #f87171; } .rc-aging .l { background: var(--bs-blue-300); }
.rc.s2 .rc-aging .r { height: 28%; } .rc.s2 .rc-aging .b { height: 100%; transition-delay: .12s; } .rc.s2 .rc-aging .l { height: 62%; transition-delay: .24s; }
.rc-h { font-weight: 700; padding-bottom: 10px; border-bottom: 1px solid #f0f0f0; margin-bottom: 10px; }
.rc-row { display: flex; align-items: center; gap: 14px; padding: 12px 14px; margin-bottom: 10px; border-radius: 12px; background: #f8f9fb; } .rc-row > div { flex: 1; } .rc-row b { display: block; font-size: 14px; } .rc-row small { font-size: 11.5px; color: var(--bs-gray-600); }
.rc-row em { font-style: normal; font-weight: 700; font-size: 14px; } .rc-row .g { color: #16a34a; } .rc-row .r { color: #ef4444; }

/* Contas a receber */
.cr { padding: 24px; }
.cr-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; } .cr-top > b { font-size: 18px; }
.cr-exp { position: relative; display: inline-block; min-width: 128px; height: 34px; border-radius: 10px; background: #e3f6ec; color: #0f9d63; font-weight: 700; font-size: 13px; } .cr-exp > i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-style: normal; transition: opacity .3s; } .cr-exp > .b { opacity: 0; } .cr.s4 .cr-exp > .a { opacity: 0; } .cr.s4 .cr-exp > .b { opacity: 1; } .cr.s4 .cr-exp { background: #0f9d63; color: #fff; }
.cr-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 24px; }
.cr-kpi { display: flex; align-items: center; gap: 12px; } .cr-kpi small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-600); } .cr-kpi b { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; } .cr-kpi b.blue { color: var(--bs-primary); } .cr-kpi .qt { margin-left: auto; text-align: right; }
.ec-icon.sq { border-radius: 10px; width: 40px; height: 40px; }
.cr-bars { display: flex; gap: 8px; align-items: flex-end; height: 150px; margin: 18px 0 6px; border-bottom: 1px solid #f0f0f0; padding-bottom: 6px; }
.cr-col { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; align-items: stretch; } .cr-col .stack { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 2px; } .cr-col em { display: none; }
.cr-col i { display: block; height: 0; border-radius: 4px; transition: height .8s var(--ease); background: var(--bs-primary); } .cr-col i.g { background: #10b981; }
.cr.s2 .cr-col i.b { height: var(--h); transition-delay: calc(var(--i) * 70ms); } .cr.s3 .cr-col i.g { height: var(--h); transition-delay: calc(var(--i) * 70ms); }
.cr-col:nth-child(n+5) .stack::after { content: ""; height: 4px; border-radius: 4px; background: #eef0f3; }
.cr-leg { display: flex; justify-content: center; gap: 16px; font-size: 12px; color: var(--bs-gray-600); } .cr-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 6px; background: var(--bs-primary); } .cr-leg i.g { background: #10b981; }
.cr-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; margin-top: 16px; } .cr-cal .h { text-align: center; font-size: 10px; font-weight: 700; color: var(--bs-gray-450); padding-bottom: 2px; }
.cr-cal .c { height: 30px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: #cfd5de; background: #f6f7f9; transition: background .4s, color .4s; }
.cr.s3 .c.l1 { background: #dbe7ff; color: #1e3a8a; transition-delay: calc(var(--i) * 45ms); } .cr.s3 .c.l2 { background: #bcd3ff; color: #1e3a8a; transition-delay: calc(var(--i) * 45ms); }
.cr.s3 .c.l3 { background: #4a86ee; color: #fff; transition-delay: calc(var(--i) * 45ms); } .cr.s3 .c.l4 { background: #0d1117; color: #fff; transition-delay: calc(var(--i) * 45ms); }
.cr-int { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 14px; font-size: 11px; color: var(--bs-gray-600); } .cr-int i { width: 9px; height: 9px; border-radius: 50%; } .cr-int .l1 { background: #dbe7ff; } .cr-int .l2 { background: #8fb4ff; } .cr-int .l3 { background: #3b71ca; } .cr-int .l4 { background: #0d1117; }
@media (max-width: 767.98px) { .cr-grid, .rc-tiles { grid-template-columns: 1fr; } .rb-body { gap: 12px; } .rb-val { font-size: 24px; } }
@media (prefers-reduced-motion: reduce) { .rb-scan, .cx-match, .ap-actions .yes { animation: none !important; } }

/* ===== Meu Banco ===== */
.mb-bal { text-align: right; } .mb-bal small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; } .mb-bal b { display: block; margin-top: 3px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.mb .ec-label { margin-top: 18px; }
.mb-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin-bottom: 8px; border-radius: 12px; background: #f8f9fb; }
.mb-row > div { flex: 1; min-width: 0; } .mb-row b { display: block; font-size: 13.5px; } .mb-row small { font-size: 11.5px; color: var(--bs-gray-600); }
.mb-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-size: 1rem; } .mb-ico.in { background: var(--bs-green-100); color: var(--bs-green-500); } .mb-ico.out { background: var(--bs-red-100); color: var(--bs-red-500); }
.mb-row em { font-style: normal; font-weight: 700; font-size: 13.5px; white-space: nowrap; } .mb-row em.in { color: #047857; } .mb-row em.out { color: #dc2626; }
.mb-st { position: relative; flex: none; width: 104px; height: 22px; } .mb-st i { position: absolute; right: 0; top: 0; padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 700; white-space: nowrap; transition: opacity .3s; transition-delay: calc(var(--i) * 250ms); }
.mb-st .w { background: var(--bs-gray-200); color: var(--bs-gray-600); } .mb-st .k { background: var(--bs-green-100); color: var(--bs-green-700); opacity: 0; } .mb-st .k i { position: static; padding: 0; background: none; opacity: 1; }
.mb.s5 .mb-st .w { opacity: 0; } .mb.s5 .mb-st .k { opacity: 1; }
.mb-sum { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(25, 135, 84, .07); border: 1px solid rgba(25, 135, 84, .2); color: var(--bs-green-700); font-weight: 600; font-size: 13px; }

/* ===== Planejamento ===== */
.pl-leg { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--bs-gray-600); } .pl-leg i { width: 9px; height: 9px; border-radius: 3px; background: var(--bs-primary); } .pl-leg i.p { background: rgba(var(--bs-primary-rgb), .3); margin-left: 8px; }
.pl-rows { padding: 16px 0 6px; }
.pl-row { display: grid; grid-template-columns: 92px 1fr 44px 84px; gap: 14px; align-items: center; padding: 8px 0; } .pl-row b { font-size: 13.5px; } .pl-row em { font-style: normal; font-weight: 700; font-size: 12.5px; text-align: right; color: var(--bs-gray-700); }
.pl-bar { position: relative; height: 12px; border-radius: 12px; background: #eef0f3; overflow: hidden; }
.pl-bar span { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 12px; transition: width .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); background: var(--bs-primary); }
.pl-row .pl-bar .p { left: var(--l); background: rgba(var(--bs-primary-rgb), .3); border-radius: 0 12px 12px 0; }
.pl-row .pl-bar .p.x { background: rgba(220, 53, 69, .35); } .pl-row:has(.pl-badge.bad) .pl-bar .r { background: var(--bs-red-500); }
.pl.s1 .pl-bar .r { width: var(--w); } .pl.s1 .pl-bar .p { width: var(--w); }
.pl-badge { position: relative; height: 22px; } .pl-badge i { position: absolute; right: 0; top: 0; padding: 3px 10px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 700; white-space: nowrap; opacity: 0; transform: scale(.8); transition: opacity .3s, transform .35s cubic-bezier(.34, 1.56, .64, 1); transition-delay: calc(var(--i, 0) * 120ms); }
.pl-badge.ok i { background: var(--bs-green-100); color: var(--bs-green-700); } .pl-badge.warn i { background: var(--bs-yellow-100); color: var(--bs-yellow-700); } .pl-badge.bad i { background: var(--bs-red-100); color: var(--bs-red-700); }
.pl.s2 .pl-badge i { opacity: 1; transform: none; }
.pl-row { --i: 0; } .pl-row:nth-child(2) { --i: 1; } .pl-row:nth-child(3) { --i: 2; } .pl-row:nth-child(4) { --i: 3; }
.pl-alert { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 11px 14px; border-radius: 12px; background: rgba(220, 53, 69, .07); border: 1px solid #f5c2c7; color: var(--bs-red-700); font-weight: 600; font-size: 12.5px; } .pl-alert i { color: var(--bs-red-500); }
.pl-proj { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(var(--bs-primary-rgb), .07); border: 1px solid rgba(var(--bs-primary-rgb), .2); } .pl-proj small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-primary); } .pl-proj b { display: block; margin-top: 2px; font-size: 14px; } .pl-proj em { font-style: normal; font-weight: 800; font-size: 20px; color: var(--bs-green-500); letter-spacing: -.02em; }

/* ===== Visão de grupo ===== */
.gv-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 16px 0 6px; } .gv-k { padding: 12px 12px; border-radius: 12px; background: #f6f7f9; } .gv-k small { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--bs-gray-600); } .gv-k b { display: block; margin-top: 4px; font-size: 15.5px; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; } .gv-k b.g { color: var(--bs-green-500); }
.gv-head, .gv-row { display: grid; grid-template-columns: 1.4fr 1.3fr .8fr 56px; gap: 12px; align-items: center; } .gv-head { font-size: 9.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-450); padding-bottom: 6px; }
.gv-row { padding: 10px 12px; margin-bottom: 6px; border-radius: 12px; background: #f8f9fb; } .gv-row b { font-size: 13px; } .gv-row em { font-style: normal; font-weight: 700; font-size: 12.5px; }
.gv-bar { height: 10px; border-radius: 10px; background: #e7eaef; overflow: hidden; } .gv-bar span { display: block; height: 100%; width: 0; border-radius: 10px; background: var(--bs-primary); transition: width .9s var(--ease); transition-delay: calc(var(--i) * 120ms); }
.gv.s2 .gv-row:nth-of-type(1) .gv-bar span, .gv.s2 .gv-bar span { width: var(--w); }
.gv-m { justify-self: end; padding: 2px 8px; border-radius: 999px; background: var(--bs-green-100); color: var(--bs-green-700); font-weight: 700; font-size: 11px; }
.gv-end { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; padding: 14px 16px; border-radius: 12px; background: rgba(25, 135, 84, .07); border: 1px solid rgba(25, 135, 84, .2); } .gv-end small { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-green-700); } .gv-end b { font-size: 18px; color: var(--bs-green-500); }
@media (max-width: 575.98px) { .gv-kpis { grid-template-columns: 1fr 1fr; } .pl-row { grid-template-columns: 76px 1fr 38px; } .pl-badge { display: none; } .gv-head span:nth-child(3), .gv-row em { display: none; } .gv-head, .gv-row { grid-template-columns: 1.3fr 1fr 52px; } }

/* ===== /compras no estilo de história (referência: Ramp) ===== */
.rp-hero { padding: 64px 0 96px; background: #fff; }
.rp-crumb { display: block; margin-bottom: 72px; font-size: .95rem; color: var(--bs-gray-600); }
.rp-h1 { font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; color: var(--kyva-ink); margin: 0; }
.rp-sub { max-width: 31rem; margin: 1.5rem 0 2rem; font-size: 1.2rem; line-height: 1.55; color: rgba(13, 17, 23, .55); }
.rp-form { display: flex; gap: 6px; max-width: 31rem; padding: 6px; border: 1px solid rgba(13, 17, 23, .1); border-radius: 14px; background: #f8f9fa; }
.rp-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font-size: 1rem; outline: 0; }
.rp-form .btn { border-radius: 10px; padding: .8rem 1.25rem; white-space: nowrap; }
.rp-stage { padding: 32px; border-radius: 24px; background: #f3f4f6; }
.rp-stage.dots { background-color: #f3f4f6; background-image: radial-gradient(rgba(13, 17, 23, .13) 1px, transparent 1px); background-size: 18px 18px; }
.rp-stage .ec { box-shadow: 0 12px 32px rgba(33, 50, 91, .1); }
.rp-chaos { padding: 100px 0; background: #fff; }
.rp-chaos .section-head { max-width: 760px; }
.rp-mess { position: relative; height: 430px; border-radius: 24px; overflow: hidden; background-color: #f3f4f6; background-image: linear-gradient(45deg, #e7e8ea 25%, transparent 25%, transparent 75%, #e7e8ea 75%), linear-gradient(45deg, #e7e8ea 25%, transparent 25%, transparent 75%, #e7e8ea 75%); background-size: 60px 60px; background-position: 0 0, 30px 30px; }
.rp-mess .bub, .rp-mess .tag { position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(13, 17, 23, .1); font-size: 15px; color: var(--kyva-ink); animation: rp-float 6s ease-in-out infinite; }
.rp-mess .bub i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #ffe8d1; color: #f26a21; font-size: .9rem; }
.rp-mess .b1 { left: 6%; top: 12%; } .rp-mess .b2 { left: 34%; top: 33%; animation-delay: -1.5s; } .rp-mess .b3 { left: 8%; top: 56%; animation-delay: -3s; } .rp-mess .b4 { left: 38%; top: 76%; animation-delay: -4.5s; }
.rp-mess .tag { padding: 9px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; } .rp-mess .tag i { color: var(--bs-primary); } .rp-mess .tag em { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: #dc3545; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.rp-mess .t1 { right: 8%; top: 10%; animation-delay: -2s; } .rp-mess .t2 { right: 20%; top: 50%; animation-delay: -3.5s; } .rp-mess .t3 { right: 6%; top: 82%; animation-delay: -1s; }
@keyframes rp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
.rp-solve { height: 100%; padding: 32px; border-radius: 20px; background: #fff; border: 1.5px solid rgba(var(--bs-primary-rgb), .45); box-shadow: 0 12px 40px rgba(var(--bs-primary-rgb), .1); }
.rp-solve h3 { margin: 0 0 18px; padding-bottom: 16px; border-bottom: 1px solid #eef0f3; font-size: 1.5rem; font-weight: 500; color: var(--bs-primary); letter-spacing: -.01em; }
.rp-solve ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; } .rp-solve li { display: flex; align-items: center; gap: 12px; font-size: 1rem; color: var(--kyva-ink); } .rp-solve li i { color: var(--bs-primary); }
.rp-dark { padding: 110px 0 120px; background: var(--kyva-dark); color: #fff; }
.rp-dark .section-head h2 { color: #fff; } .rp-dark .section-head .eyebrow { color: var(--bs-blue-300); }
.rp-acc { color: var(--bs-blue-300); }
.rp-chap { margin-top: 110px; }
.rp-num { display: block; margin-bottom: 14px; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bs-blue-300); }
.rp-h { margin: 0 0 1.25rem; font-size: clamp(2rem, 3.4vw, 2.9rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; color: #fff; }
main .rp-h { color: #fff; font-size: clamp(2rem, 3.4vw, 2.9rem); }
.rp-p { margin: 0 0 1.75rem; font-size: 1.08rem; line-height: 1.65; color: rgba(255, 255, 255, .6); }
.cp-points.lt li { color: rgba(255, 255, 255, .75); }
.cp-ico.lt { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--bs-blue-300); }
.rp-dark .rp-stage { background: #f3f4f6; }

/* jornada (hero) */
.jr-val { font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.jr-list { padding: 12px 0 4px; }
.jr-row { position: relative; display: flex; align-items: center; gap: 14px; padding: 9px 0; }
.jr-row:not(:last-child)::before { content: ""; position: absolute; left: 16px; top: 44px; bottom: -8px; width: 2px; background: rgba(34, 197, 94, .3); }
.jr-dot { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #22c55e; color: #fff; font-size: 1rem; box-shadow: 0 4px 12px rgba(34, 197, 94, .3); } .jr-dot .k { display: none; }
.jr-row b { display: block; font-size: 14.5px; } .jr-row small { font-size: 12px; color: var(--bs-gray-600); }

/* requisição */
.rq-f { margin-top: 10px; padding: 11px 14px; border-radius: 12px; background: #f6f7f9; } .rq-f small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-600); } .rq-f b { display: block; margin-top: 2px; font-size: 14.5px; }
.rq-g { display: grid; grid-template-columns: 1.5fr 1fr; gap: 10px; } .rq .ec-head { margin-bottom: 4px; }
.rq-att { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; padding: 7px 12px; border-radius: 10px; background: rgba(var(--bs-primary-rgb), .08); color: var(--bs-primary); font-size: 12.5px; font-weight: 600; }
.rq-bud { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(25, 135, 84, .07); border: 1px solid rgba(25, 135, 84, .2); } .rq-bud > i { color: var(--bs-green-500); font-size: 1.2rem; } .rq-bud > div { flex: 1; } .rq-bud b { display: block; font-size: 13.5px; color: var(--bs-green-700); } .rq-bud small { font-size: 11.5px; } .rq-bud .ok { width: 24px; height: 24px; border-radius: 50%; background: var(--bs-green-500); color: #fff; display: grid; place-items: center; font-size: .8rem; }
.rq-send { position: relative; display: grid; margin-top: 14px; } .rq-send span { grid-area: 1 / 1; display: grid; place-items: center; padding: 12px; border-radius: 12px; font-weight: 700; font-size: 14px; transition: opacity .3s; } .rq-send .a { background: var(--bs-primary); color: #fff; } .rq-send .b { background: var(--bs-green-500); color: #fff; opacity: 0; }
.rq.s5 .rq-send .a { opacity: 0; } .rq.s5 .rq-send .b { opacity: 1; }
.rq.s4:not(.s5) .rq-send .a { animation: cp-beat 1.2s ease-in-out infinite; }

/* aprovação com impacto no orçamento */
.ac-bud { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #f6f7f9; } .ac-bt { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 13.5px; }
.ac-pct { position: relative; min-width: 150px; height: 18px; text-align: right; } .ac-pct i { position: absolute; right: 0; top: 0; font-style: normal; font-weight: 700; font-size: 12px; transition: opacity .3s; } .ac-pct .a { color: var(--bs-gray-600); } .ac-pct .b { color: var(--bs-yellow-700); opacity: 0; } .ac.s1 .ac-pct .a { opacity: 0; } .ac.s1 .ac-pct .b { opacity: 1; }
.ac-track { position: relative; height: 12px; border-radius: 12px; background: #e7eaef; overflow: hidden; } .ac-track span { position: absolute; top: 0; bottom: 0; border-radius: 12px; transition: width .9s var(--ease); } .ac-track .r { left: 0; width: 62%; background: var(--bs-primary); } .ac-track .n { left: 62%; width: 0; background: rgba(245, 158, 4, .75); border-radius: 0 12px 12px 0; } .ac.s1 .ac-track .n { width: 16%; }
.ac-leg { display: flex; gap: 16px; margin-top: 10px; font-size: 11.5px; color: var(--bs-gray-600); } .ac-leg i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 6px; background: var(--bs-primary); } .ac-leg i.n { background: rgba(245, 158, 4, .75); }
.ac-pill { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 4px; padding: 7px 14px; border-radius: 999px; background: #22c55e; color: #fff; font-weight: 700; font-size: 12.5px; box-shadow: 0 6px 16px rgba(34, 197, 94, .3); }
.ac-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #eef0f3; } .ac-row > div { flex: 1; } .ac-row b { display: block; font-size: 14px; } .ac-row small { font-size: 11.5px; }
.ac-st, .ac-st2 { position: relative; min-width: 96px; height: 22px; font-style: normal; } .ac-st i, .ac-st2 i { position: absolute; right: 0; top: 0; font-style: normal; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; transition: opacity .3s; white-space: nowrap; }
.ac-st .w { background: var(--bs-yellow-100); color: var(--bs-yellow-700); } .ac-st .k, .ac-st2 .k { background: var(--bs-green-100); color: var(--bs-green-700); opacity: 0; } .ac-st2 .w { background: var(--bs-primary); color: #fff; }
.ac.s3 .ac-st .w { opacity: 0; transition-delay: .6s; } .ac.s3 .ac-st .k { opacity: 1; transition-delay: .6s; }
.ac.s5 .ac-st2 .w { opacity: 0; } .ac.s5 .ac-st2 .k { opacity: 1; } .ac.s4:not(.s5) .ac-st2 .w { animation: cp-beat 1.2s ease-in-out infinite; }
.ac.s5 .dx-badge .a { opacity: 0; } .ac.s5 .dx-badge .b { opacity: 1; } .ac .dx-badge .a { background: var(--bs-yellow-100); color: var(--bs-yellow-700); }

/* ordem de compra */
.po-sup { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #f6f7f9; } .po-sup small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-600); } .po-sup b { display: block; font-size: 15px; margin: 2px 0; } .po-sup span { font-size: 12px; color: var(--bs-gray-600); }
.po-tbl { margin-top: 12px; border: 1px solid #eef0f3; border-radius: 12px; overflow: hidden; } .po-h, .po-r { display: grid; grid-template-columns: 2fr .5fr 1fr 1fr; gap: 8px; padding: 10px 14px; font-size: 12.5px; } .po-h { background: #f6f7f9; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-600); } .po-r span:last-child, .po-h span:last-child { text-align: right; font-weight: 700; }
.po-tot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; padding: 0 4px; } .po-tot small { font-size: 12px; font-weight: 600; } .po-tot b { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.po-sent, .po-ok { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding: 11px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; } .po-sent { background: rgba(var(--bs-primary-rgb), .08); color: var(--bs-primary); border: 1px solid rgba(var(--bs-primary-rgb), .2); } .po-ok { background: rgba(25, 135, 84, .07); color: var(--bs-green-700); border: 1px solid rgba(25, 135, 84, .2); }
.po.s4 .dx-badge .a { opacity: 0; } .po.s4 .dx-badge .b { opacity: 1; } .po .dx-badge .a { background: var(--bs-gray-200); color: var(--bs-gray-700); }

/* conferência pedido × fatura */
.mt-cap { display: inline-flex; align-items: center; gap: 8px; margin: 14px 0 10px; padding: 7px 12px; border-radius: 10px; background: rgba(var(--bs-primary-rgb), .08); color: var(--bs-primary); font-size: 12.5px; font-weight: 600; }
.mt-head, .mt-row { display: grid; grid-template-columns: 1.1fr 1.1fr 1.1fr 26px; gap: 10px; align-items: center; } .mt-head { padding: 0 14px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-450); }
.mt-row { padding: 11px 14px; margin-bottom: 6px; border-radius: 12px; background: #f8f9fb; font-size: 13px; transition: background .3s; } .mt-row span:first-child { font-weight: 600; } .mt-row em { font-style: normal; text-align: center; }
.mt-row .ok { width: 22px; height: 22px; border-radius: 50%; background: var(--bs-green-500); color: #fff; display: grid; place-items: center; font-size: .75rem; }
.mt-row.val .v { position: relative; height: 18px; } .mt-row.val .v i { position: absolute; left: 0; top: 0; font-style: normal; font-weight: 700; transition: opacity .3s; } .mt-row.val .v .a { color: var(--bs-red-500); } .mt-row.val .v .b { color: var(--bs-green-700); opacity: 0; }
.mt-row.val .st { position: relative; width: 22px; height: 22px; } .mt-row.val .st i { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .3s; font-size: .95rem; } .mt-row.val .st .w { color: var(--bs-yellow-500); } .mt-row.val .st .k { opacity: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--bs-green-500); color: #fff; font-size: .75rem; }
.mt-warn { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 11px 14px; border-radius: 12px; background: rgba(245, 158, 4, .09); border: 1px solid rgba(245, 158, 4, .3); color: var(--bs-yellow-700); font-weight: 600; font-size: 12.5px; transition: opacity .3s, max-height .3s; max-height: 60px; }
.mt-ok { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 12px 14px; border-radius: 12px; background: rgba(25, 135, 84, .07); border: 1px solid rgba(25, 135, 84, .2); color: var(--bs-green-700); font-weight: 600; font-size: 12.5px; }
.mt.s4 .mt-row.val .v .a { opacity: 0; } .mt.s4 .mt-row.val .v .b { opacity: 1; } .mt.s4 .mt-row.val .st .w { opacity: 0; } .mt.s4 .mt-row.val .st .k { opacity: 1; }
.js .mt.s4 .mt-warn { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin-top: 0; border-width: 0; overflow: hidden; }

/* pagamento e fechamento */
.pg-tot .n { font-style: normal; font-size: 18px; font-weight: 800; letter-spacing: -.02em; }
.pg-it { position: relative; display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 13px 14px; border-radius: 12px; background: #f6f7f9; } .pg-it span { flex: 1; font-weight: 600; font-size: 13.5px; } .pg-it em { font-style: normal; font-weight: 700; font-size: 13.5px; }
.pg-s { position: relative; width: 82px; height: 22px; } .pg-s i { position: absolute; right: 0; top: 0; padding: 3px 10px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 700; transition: opacity .3s; } .pg-s .w { background: var(--bs-yellow-100); color: var(--bs-yellow-700); } .pg-s .p { background: var(--bs-green-100); color: var(--bs-green-700); opacity: 0; } .pg.s3 .pg-s .w { opacity: 0; } .pg.s3 .pg-s .p { opacity: 1; }
.pg-steps { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; } .pg-st { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 12px; background: #fff; border: 1px solid #eef0f3; font-size: 13px; font-weight: 600; } .pg-st i { color: var(--bs-green-500); font-size: 1.05rem; }
.pg-bud { margin-top: 12px; padding: 14px 16px; border-radius: 14px; background: #f6f7f9; } .pg-bud b { display: block; margin-bottom: 8px; font-size: 13.5px; } .pg-bud small { display: block; margin-top: 8px; font-size: 11.5px; color: var(--bs-gray-600); } .pg-bud .ac-track .r { width: var(--w); } .pg-bud .ac-track .n { left: 62%; width: var(--w); }
@media (max-width: 991.98px) { .rp-hero { padding-top: 40px; } .rp-crumb { margin-bottom: 32px; } .rp-chap { margin-top: 72px; } .rp-mess { height: 380px; } }
@media (max-width: 575.98px) { .rp-stage { padding: 14px; } .rp-form { flex-direction: column; } .rp-mess .bub { font-size: 12.5px; padding: 10px 12px; } .mt-head, .mt-row { grid-template-columns: 1fr 1fr 1fr 22px; font-size: 11.5px; } .po-h, .po-r { font-size: 11px; } }
@media (prefers-reduced-motion: reduce) { .rp-mess .bub, .rp-mess .tag { animation: none; } }

/* ajustes /compras */
.ec { color: var(--bs-gray-900); }
.rp-h1 { font-size: clamp(2.1rem, 3.5vw, 3rem); }
.rp-mess .b4 { left: 6%; top: 80%; } .rp-mess .t3 { right: 5%; top: 66%; } .rp-mess .t2 { right: 14%; top: 42%; }
.rp-mess .b3 { top: 52%; } .rp-mess .b2 { left: 30%; top: 30%; }
.rq-send span { display: flex; align-items: center; justify-content: center; gap: 8px; }
.po-r span:first-child { font-weight: 600; }

/* reembolsos / aprovações / contas (história) */
.mb-ico.n { background: var(--bs-blue-100); color: var(--bs-primary); }
.pol-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px solid #eef0f3; } .pol-row:first-of-type { margin-top: 16px; }
.pol-row > i { color: var(--bs-green-500); font-size: 1.2rem; } .pol-row b { display: block; font-size: 14px; } .pol-row small { font-size: 12px; color: var(--bs-gray-600); }
.mb-row .cp-pill { flex: none; }
.pj .mb-row .av { width: 34px; height: 34px; }

/* contas a pagar: retorno do banco */
.rt-list { margin-top: 16px; }
.rt-row { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; padding: 13px 14px; border-radius: 12px; background: #f6f7f9; } .rt-row > div { flex: 1; } .rt-row b { font-size: 13.5px; } .rt-row em { font-style: normal; font-weight: 700; font-size: 13.5px; }
.rt-st { position: relative; flex: none; width: 92px; height: 22px; } .rt-st i { position: absolute; right: 0; top: 0; padding: 3px 10px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 700; white-space: nowrap; transition: opacity .3s; opacity: 0; }
.rt-st .ag { background: var(--bs-yellow-100); color: var(--bs-yellow-700); opacity: 1; } .rt-st .ok { background: var(--bs-green-100); color: var(--bs-green-700); } .rt-st .er { background: var(--bs-red-100); color: var(--bs-red-700); }
.ret.s2 .r1 .ag, .ret.s2 .r3 .ag, .ret.s2 .r2 .ag { opacity: 0; } .ret.s2 .r1 .ok, .ret.s2 .r3 .ok { opacity: 1; } .ret.s2 .r2 .er { opacity: 1; }
.ret.s4 .r2 .er { opacity: 0; } .ret.s4 .r2 .ok { opacity: 1; }
.rt-err { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 12px 14px; border-radius: 12px; background: rgba(220, 53, 69, .07); border: 1px solid #f5c2c7; transition: opacity .3s, max-height .3s; max-height: 90px; } .rt-err > i { color: var(--bs-red-500); font-size: 1.2rem; } .rt-err > div { flex: 1; } .rt-err b { display: block; font-size: 13px; color: var(--bs-red-700); } .rt-err small { font-size: 11.5px; }
.rt-fix { position: relative; flex: none; width: 150px; height: 30px; } .rt-fix i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; font-style: normal; font-size: 11.5px; font-weight: 700; transition: opacity .3s, transform .2s; } .rt-fix .a { background: var(--bs-primary); color: #fff; } .rt-fix .b { background: var(--bs-green-500); color: #fff; opacity: 0; }
.ret.s4 .rt-fix .a { opacity: 0; } .ret.s4 .rt-fix .b { opacity: 1; } .ret.s3:not(.s4) .rt-fix .a { animation: cp-beat 1.2s ease-in-out infinite; }
.js .ret.s5 .rt-err { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; margin: 0; border-width: 0; overflow: hidden; }

/* sem moldura cinza atrás das demos e sem fundo quadriculado no "caos" */
.rp-stage, .rp-stage.dots, .rp-dark .rp-stage { padding: 0; background: none; border-radius: 0; }
.rp-stage .ec { box-shadow: 0 16px 48px rgba(33, 50, 91, .12); border: 1px solid rgba(33, 50, 91, .06); }
.rp-dark .rp-stage .ec { box-shadow: 0 24px 64px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .07); border: 0; }
.rp-mess { background: radial-gradient(ellipse at 50% 50%, rgba(var(--bs-primary-rgb), .07), transparent 68%); border-radius: 24px; }
.rp-mess .bub, .rp-mess .tag { border: 1px solid rgba(13, 17, 23, .06); }
@media (max-width: 575.98px) { .rp-stage { padding: 0; } }

/* ===== lote: meu banco, caixa, planejamento, finanças, mude, recebimentos, grupo ===== */
.px-key { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #f6f7f9; } .px-key > div { flex: 1; } .px-key small, .px-info small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-600); } .px-key b, .px-info b { display: block; font-size: 14px; margin: 2px 0 6px; }
.px-body { display: flex; align-items: center; gap: 18px; margin-top: 12px; padding: 14px; border: 1px solid #eef0f3; border-radius: 12px; }
.px-qr { flex: none; width: 118px; height: 118px; padding: 8px; border: 1px solid #eef0f3; border-radius: 10px; background: #fff; } .px-qr svg { display: block; width: 100%; height: 100%; }
.px-copy { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 12px; background: #f6f7f9; } .px-copy code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; color: var(--bs-gray-700); background: none; }
.px-btn { position: relative; flex: none; width: 128px; height: 28px; } .px-btn > i { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 8px; font-style: normal; font-size: 11.5px; font-weight: 700; transition: opacity .3s; } .px-btn .a { background: var(--bs-primary); color: #fff; } .px-btn .b { background: var(--bs-green-500); color: #fff; opacity: 0; } .px.s4 .px-btn .a { opacity: 0; } .px.s4 .px-btn .b { opacity: 1; }
.bx .r1 .ag, .bx .r2 .ag { opacity: 0; } .bx .r1 .ok, .bx .r2 .ok { opacity: 1; } .bx.s4 .r3 .ag { opacity: 0; } .bx.s4 .r3 .ok { opacity: 1; } .bx .rt-st { width: 108px; }
.bud-w { margin-top: 12px; padding: 14px 16px; border-radius: 12px; background: #f6f7f9; } .bud-w small { display: block; margin-bottom: 8px; font-size: 10.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-600); }
.bud-m { display: flex; align-items: flex-end; gap: 6px; height: 70px; } .bud-m i { flex: 1; height: 4px; border-radius: 4px 4px 0 0; background: var(--bs-primary); transition: height .8s var(--ease); transition-delay: calc(var(--i) * 50ms); } .bud.s3 .bud-m i, .rev.s4 .bud-m i { height: var(--h); }
.bud-l { display: flex; justify-content: space-between; margin-top: 6px; font-size: 10px; color: var(--bs-gray-600); }
.rev-w { margin-top: 12px; } .rev-track { display: flex; height: 14px; border-radius: 14px; background: #e7eaef; overflow: hidden; } .rev-track span { display: block; height: 100%; width: 0; transition: width .9s var(--ease); } .rev-track .g { background: var(--bs-green-500); } .rev-track .b { background: var(--bs-primary); } .rev.s2 .rev-track .g { width: 60%; } .rev.s2 .rev-track .b { width: 25%; transition-delay: .25s; }
.rev .ac-leg i.g { background: var(--bs-green-500); } .rev .ac-leg i.x { background: #e7eaef; } .rev .gv-kpis { padding-bottom: 0; }
.prj-team { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: #f6f7f9; } .prj-team small { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bs-gray-600); } .prj-team div { display: flex; } .prj-team .av { margin-left: -6px; border: 2px solid #f6f7f9; width: 30px; height: 30px; font-size: 10.5px; } .prj-team .av:last-child { background: var(--bs-gray-450); }
.rt-st .rd { background: var(--bs-blue-100); color: var(--bs-primary); } .ex .rt-st { width: 132px; } .ex .rt-st i { opacity: 0; } .ex .r1 .rd, .ex .r2 .rd { opacity: 1; } .ex .r3 .ag { opacity: 1; }
.ex.s3 .r3 .ag { opacity: 0; } .ex.s3 .r3 .rd { opacity: 1; } .ex.s5 .rt-st .rd { opacity: 0; } .ex.s5 .rt-st .ok { opacity: 1; }
.ex.s3 .mt-warn { opacity: 0; max-height: 0; padding: 0; margin: 0; border-width: 0; overflow: hidden; }
.ex.s4:not(.s5) .rq-send .a { animation: cp-beat 1.2s ease-in-out infinite; } .ex.s5 .rq-send .a { opacity: 0; } .ex.s5 .rq-send .b { opacity: 1; }
.wf-r { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; padding: 13px 16px; border-radius: 12px; background: #f6f7f9; font-size: 13.5px; } .wf-r b { font-size: 15px; font-weight: 800; color: var(--bs-green-700); } .wf-r.neg b { color: var(--bs-red-500); } .wf-r.neg b::before { content: "− "; } .wf-r b:not(.neg b)::before { content: "+ "; }
.wf .gv-end { margin-top: 12px; } .wf .gv-end b { font-size: 22px; }
.evo .cr-col i.g { background: var(--bs-red-500); } .evo .cr-leg i.g { background: var(--bs-red-500); } .evo .cr-col em { display: block; margin-top: 4px; font-size: 10px; text-align: center; font-style: normal; color: var(--bs-gray-600); } .evo .cr-bars { align-items: stretch; border-bottom: 0; }
.evo.s2 .cr-col i.b { height: var(--h); } .evo.s3 .cr-col i.g { height: var(--h); }
.rpt-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 6px; } .rpt-tabs span { padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 600; background: #f0f2f5; color: var(--bs-gray-700); } .rpt-tabs span.on { background: var(--bs-primary); color: #fff; }
.pl.age .pl-row, .pl.cmp .pl-row, .pl.rpt .pl-row, .pl.prj .pl-row { grid-template-columns: 96px 1fr 40px 86px; }
@media (max-width: 575.98px) { .px-body { flex-direction: column; align-items: flex-start; } .px-copy code { font-size: 10px; } }

/* produtos / soluções / sobre nós */
.pgroup { margin: 8px 0 18px; } .pgroup h3 { margin: 4px 0 0; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--kyva-ink); }
.pcard { display: flex; flex-direction: column; height: 100%; padding: 24px; border-radius: 18px; background: #fff; border: 1px solid rgba(13, 17, 23, .08); text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s, border-color .2s; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(33, 50, 91, .12); border-color: rgba(var(--bs-primary-rgb), .35); color: inherit; }
.pc-ico { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(var(--bs-primary-rgb), .08); border: 1px solid rgba(var(--bs-primary-rgb), .15); color: var(--bs-primary); font-size: 1.25rem; margin-bottom: 16px; }
.pcard h3 { margin: 0 0 6px; font-size: 1.1rem; font-weight: 700; color: var(--kyva-ink); } .pcard p { flex: 1; margin: 0 0 14px; font-size: .9rem; line-height: 1.55; color: rgba(13, 17, 23, .55); }
.pc-go { font-size: .85rem; font-weight: 700; color: var(--bs-primary); } .pc-go i { transition: transform .2s; display: inline-block; } .pcard:hover .pc-go i { transform: translateX(4px); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; } .chips span { padding: 4px 10px; border-radius: 999px; background: #f0f2f5; font-size: .75rem; font-weight: 600; color: var(--bs-gray-700); }
.about-quote { padding: 36px; border-radius: 24px; background: var(--kyva-navy); color: #fff; box-shadow: 0 24px 60px rgba(33, 50, 91, .25); } .about-quote span { display: block; margin-bottom: 16px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bs-blue-300); } .about-quote p { margin: 0 0 20px; font-size: 1.5rem; line-height: 1.35; letter-spacing: -.02em; font-weight: 600; } .about-quote b { color: var(--bs-blue-300); }
.about-p { margin: 0 0 1.25rem; font-size: 1.2rem; line-height: 1.7; color: rgba(255, 255, 255, .7); }
.val-card { height: 100%; padding: 28px; border-radius: 18px; background: #fff; border: 1px solid rgba(13, 17, 23, .08); } .val-card h3 { margin: 0 0 8px; font-size: 1.15rem; font-weight: 700; color: var(--kyva-navy); } .val-card p { margin: 0; color: rgba(13, 17, 23, .55); line-height: 1.6; }
.card-kyva p { line-height: 1.6; font-size: .95rem; margin: .5rem 0 0; }
.card-kyva h3 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
.card-kyva .chips { margin-top: 16px; }


/* Home horizontal (referência: Brex) */
.bx-hero { position: relative; overflow: hidden; padding: 72px 0 96px; background: #060b14; color: #fff; }
.bx-glow { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 70% at 8% 12%, rgba(var(--bs-primary-rgb), .35), transparent 62%), radial-gradient(40% 50% at 85% 90%, rgba(33, 50, 91, .55), transparent 70%); }
.bx-hero .container { position: relative; }
.bx-copy h1 { font-size: clamp(2.6rem, 5vw, 4.3rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 800; color: #fff; margin: 0; }
.bx-hero .typed-line { color: var(--bs-blue-300); }
.bx-sub { max-width: 28rem; margin: 1.5rem 0 2rem; font-size: 1.15rem; line-height: 1.55; color: rgba(255, 255, 255, .65); }
.bx-form { display: flex; gap: 6px; max-width: 28rem; padding: 6px; border-radius: 14px; background: #fff; }
.bx-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font-size: 1rem; color: var(--kyva-ink); outline: 0; }
.bx-form .btn { border-radius: 10px; padding: .8rem 1.25rem; white-space: nowrap; }
.bx-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 1.5rem; font-weight: 600; color: var(--bs-blue-300); text-decoration: none; } .bx-link:hover { color: #fff; } .bx-link i { transition: transform .2s; } .bx-link:hover i { transform: translateX(4px); }
.bx-stage { position: relative; margin-right: calc(50% - 50vw); padding-right: 0; }
.bx-shot { overflow: hidden; border-radius: 18px 0 0 18px; box-shadow: 0 40px 90px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); transform: translateX(0); }
.bx-shot .dm { min-width: 900px; }
.bx-pill { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: rgba(6, 11, 20, .78); border: 1px solid rgba(var(--bs-primary-rgb), .55); color: #fff; font-size: .85rem; font-weight: 500; backdrop-filter: blur(6px); animation: rp-float 6s ease-in-out infinite; } .bx-pill i { color: var(--bs-blue-300); }
.bx-pill.p1 { top: -26px; right: 22%; } .bx-pill.p2 { top: 38%; left: -34px; animation-delay: -2s; } .bx-pill.p3 { bottom: -22px; left: 30%; animation-delay: -4s; }
.metrics { border-top: 0; }
@media (max-width: 991.98px) { .bx-stage { margin: 48px 0 0; } .bx-shot { border-radius: 18px; } .bx-shot .dm { min-width: 0; } .bx-pill.p2 { left: 8px; } .bx-hero { padding-top: 48px; } }
@media (max-width: 575.98px) { .bx-form { flex-direction: column; } .bx-pill { font-size: .75rem; padding: 7px 12px; } }
@media (prefers-reduced-motion: reduce) { .bx-pill { animation: none; } }

/* Layout fluido (como a Brex): o conteúdo ocupa a largura da tela, com margem proporcional */
.container { max-width: none; width: 100%; padding-left: clamp(20px, 5vw, 80px); padding-right: clamp(20px, 5vw, 80px); }
.navbar > .container { padding-left: clamp(20px, 3vw, 48px); padding-right: clamp(20px, 3vw, 48px); }
.mega-inner { max-width: min(1500px, 96vw); }
.faq-section .container, .rp-dark .row.justify-content-center .col-lg-9 { max-width: 820px; }
.faq-section .container { margin-left: auto; margin-right: auto; }
.section-head { max-width: 860px; }
.rp-chap .row { --bs-gutter-x: clamp(2rem, 5vw, 6rem); }
.rp-stage .ec { width: 100%; }
.bx-stage { margin-right: calc(-1 * clamp(20px, 5vw, 80px)); }
.bx-pill.p2 { left: -60px; top: 46%; }
@media (max-width: 991.98px) { .bx-stage { margin-right: 0; } .bx-pill.p2 { left: 8px; } }
@media (min-width: 992px) { .bx-stage { margin-right: 0; flex: 0 0 auto; width: calc(58.3333% + clamp(20px, 5vw, 80px)); max-width: none; padding-right: 0; } .bx-copy { width: 41.6667%; } }
@media (min-width: 992px) { .bx-hero .row { flex-wrap: nowrap; } .bx-copy { flex: 0 0 auto; padding-right: 2rem; } }

/* Largura máxima medida na Brex: ~1200px de conteúdo, centralizado, margem de 72px até lá */
:root { --site-pad: clamp(20px, 5vw, 72px); }
.container { max-width: calc(1200px + 2 * var(--site-pad)); margin-left: auto; margin-right: auto; padding-left: var(--site-pad); padding-right: var(--site-pad); }
.navbar > .container { max-width: calc(1200px + 2 * var(--site-pad)); padding-left: var(--site-pad); padding-right: var(--site-pad); }
.bx-stage { margin-right: 0; }
@media (min-width: 992px) {
  .bx-stage { width: calc(58.3333% + var(--bx-bleed, 0px)); }
}
@media (min-width: 992px) { .bx-hero { --bx-bleed: calc(var(--site-pad) + max(0px, (100vw - 1200px - 2 * var(--site-pad)) / 2)); } }
.bx-copy h1 { font-size: clamp(2.3rem, 3.9vw, 3.5rem); }
.rp-h1 { font-size: clamp(2.1rem, 3.4vw, 3rem); }
/* painel do hero menor */
.bx-shot { zoom: .74; }
.bx-shot .dm { min-width: 0; }
@media (max-width: 991.98px) { .bx-shot { zoom: .9; } }
@media (max-width: 575.98px) { .bx-shot { zoom: .8; } }
.bx-pill.p2 { left: -12px; top: 52%; }


/* Home no estilo Ramp: hero claro, palco cinza pontilhado com cartões de documentos, faixa de contadores */
.rm-hero { padding: 56px 0 0; background: #fff; background-image: radial-gradient(rgba(13, 17, 23, .09) 1px, transparent 1px); background-size: 20px 20px; background-position: top left; -webkit-mask-image: none; }
.rm-eyebrow { display: inline-block; margin-bottom: 20px; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(13, 17, 23, .5); }
.rm-h1 { margin: 0; max-width: 18ch; font-size: clamp(2.6rem, 5.2vw, 4.4rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 500; color: var(--kyva-ink); }
.rm-h1 .typed-line { color: var(--bs-primary); }
.rm-sub { margin: 18px 0 28px; max-width: 38rem; font-size: 1.2rem; color: rgba(13, 17, 23, .55); }
.rm-form { display: flex; gap: 6px; max-width: 30rem; padding: 6px; border: 1px solid rgba(13, 17, 23, .1); border-radius: 14px; background: #f8f8f6; }
.rm-form input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; font-size: 1rem; outline: 0; }
.rm-form .btn { border-radius: 10px; padding: .8rem 1.4rem; white-space: nowrap; }
.rm-note { display: block; margin-top: 12px; color: rgba(13, 17, 23, .5); font-size: .8rem; }
.rm-stage { position: relative; height: 480px; margin-top: 48px; border-radius: 20px; background-color: #f3f2f0; background-image: radial-gradient(rgba(13, 17, 23, .1) 1px, transparent 1px); background-size: 18px 18px; overflow: hidden; }
.rm-card { position: absolute; background: #fff; border: 1px solid rgba(13, 17, 23, .08); box-shadow: 0 8px 26px rgba(13, 17, 23, .08); font-size: 11px; color: var(--kyva-ink); }
.rm-card small { display: block; margin-bottom: 8px; font-size: 9.5px; font-weight: 600; letter-spacing: .04em; color: rgba(13, 17, 23, .6); }
.rm-card .rm-h { position: absolute; width: 6px; height: 6px; background: #fff; border: 1px solid #0d1117; } .rm-h.tl { top: -3px; left: -3px; } .rm-h.tr { top: -3px; right: -3px; } .rm-h.bl { bottom: -3px; left: -3px; } .rm-h.br { bottom: -3px; right: -3px; }
.rm-match { top: 48px; left: 22%; width: 270px; padding: 12px; } .rm-pair { display: flex; align-items: center; gap: 8px; } .rm-dots { font-size: 18px; letter-spacing: 2px; color: #0d1117; }
.rm-doc { flex: 1; padding: 8px; border: 1px solid #e3e3df; border-radius: 4px; background: #fafaf8; } .rm-doc .d { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #d4d4cf; margin-right: 6px; } .rm-doc b { font-size: 9.5px; font-weight: 600; } .rm-doc i { display: block; height: 4px; margin: 6px 0 0; border-radius: 2px; background: #e3e3df; } .rm-doc i.s { width: 55%; margin-left: auto; }
.rm-invoice { top: 120px; left: 31%; width: 300px; padding: 16px 18px; } .rm-invoice h4 { margin: 0 0 10px; font-size: 12px; font-weight: 600; } .rm-invoice sup { font-size: 8px; }
.rm-meta { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 12px; } .rm-meta small { margin-bottom: 2px; font-size: 8.5px; } .rm-meta span { display: block; font-size: 8.5px; line-height: 1.5; color: rgba(13, 17, 23, .7); }
.rm-invoice table { width: 100%; font-size: 8.5px; } .rm-invoice th { font-weight: 500; color: rgba(13, 17, 23, .5); padding: 3px 0; } .rm-invoice td { padding: 5px 0; border-top: 1px solid #efefeb; } .rm-invoice th:last-child, .rm-invoice td:last-child { text-align: right; } .rm-invoice th:nth-child(2), .rm-invoice td:nth-child(2) { text-align: center; }
.rm-total { display: flex; justify-content: space-between; margin-top: 8px; padding-top: 8px; border-top: 1px solid #efefeb; font-size: 10px; } .rm-total b { font-weight: 700; }
.rm-flag { top: 100px; left: 58%; width: 200px; padding: 12px; } .rm-flag .dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #dc3545; margin-left: 4px; }
.rm-row { display: flex; justify-content: space-between; padding: 4px 0; font-size: 9.5px; } .rm-row span { color: rgba(13, 17, 23, .55); } .rm-row b { font-weight: 600; } .rm-row.bad b { color: #dc3545; }
.rm-code { top: 290px; left: 48%; width: 280px; padding: 12px; } .rm-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .rm-fields .w2 { grid-column: 1 / -1; } .rm-fields label { display: block; margin-bottom: 2px; font-size: 8.5px; color: rgba(13, 17, 23, .5); } .rm-fields span { display: block; padding: 5px 7px; border: 1px solid #e3e3df; border-radius: 4px; background: #fafaf8; font-size: 9.5px; }
.rm-card { animation: rm-bob 7s ease-in-out infinite; } .rm-flag { animation-delay: -2s; } .rm-code { animation-delay: -4s; } @keyframes rm-bob { 0%, 100% { margin-top: 0; } 50% { margin-top: -7px; } }
.rm-ticker { margin-top: 36px; padding: 18px 0; border-top: 1px solid rgba(13, 17, 23, .07); background: #fff; font-size: .68rem; letter-spacing: .04em; color: rgba(13, 17, 23, .6); overflow: hidden; }
.rm-ticker .container { display: flex; align-items: center; gap: 22px; }
.rm-t-h { flex: none; font-weight: 700; color: var(--kyva-ink); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.rm-t-track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.rm-t-in { display: flex; gap: 34px; width: max-content; animation: rm-slide 38s linear infinite; } .rm-t-in span { white-space: nowrap; } .rm-t-in b { margin-left: 6px; padding: 3px 7px; border-radius: 4px; background: #f3f2f0; color: var(--kyva-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
@keyframes rm-slide { to { transform: translateX(-50%); } }
.rm-inside { background: #fff; padding-top: 80px; }
.rm-shot { border-radius: 20px; overflow: hidden; background: #f3f2f0; padding: 32px; } .rm-shot .dm { border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(13, 17, 23, .15); }
@media (max-width: 991.98px) { .rm-stage { height: auto; padding: 24px; display: flex; flex-direction: column; gap: 16px; } .rm-card { position: static; width: auto !important; animation: none; } .rm-ticker .container { flex-direction: column; align-items: flex-start; gap: 10px; } }
@media (max-width: 575.98px) { .rm-form { flex-direction: column; } .rm-shot { padding: 12px; } }
@media (prefers-reduced-motion: reduce) { .rm-card, .rm-t-in { animation: none; } }

.rm-shot-hero { margin-top: 48px; padding: clamp(12px, 2.2vw, 32px); border-radius: 20px; background: #f1f0ee; }
.rm-shot-hero .dm { border-radius: 14px; overflow: hidden; box-shadow: 0 18px 50px rgba(13, 17, 23, .15); }
.rm-shot-hero { padding: 0; background: none; border-radius: 0; }
.rm-shot-hero .dm { border-radius: 16px; box-shadow: 0 18px 50px rgba(13, 17, 23, .14), 0 0 0 1px rgba(13, 17, 23, .06); }

/* números em uma cor só */
.metric { color: var(--kyva-ink); }
.metric .num { color: var(--kyva-navy); }
.metric i { display: none; }

/* título do hero em uma linha, menor */
.rm-h1 { max-width: none; font-size: clamp(1.7rem, 3.5vw, 2.9rem); letter-spacing: -.035em; }
.rm-h1 .typed-line { display: inline; min-height: 0; }
.rm-sub { max-width: none; font-size: 1.1rem; }
@media (min-width: 768px) { .rm-h1 { white-space: nowrap; } }
/* submenu alinhado com o logo e o conteúdo (1200px) */
.mega-inner { max-width: min(1200px, calc(100vw - 2 * var(--site-pad))); }

/* /contato (formulário no estilo "Hire us" do template) */
.ct-hero { padding: 72px 0 24px; background: radial-gradient(60% 120% at 50% 0%, rgba(var(--bs-primary-rgb), .09), transparent 70%), #fff; }
.ct-h1 { margin: 12px auto 0; max-width: 20ch; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.035em; font-weight: 800; color: var(--kyva-ink); }
.ct-sub { max-width: 34rem; margin: 18px auto 0; font-size: 1.1rem; color: rgba(13, 17, 23, .55); }
.ct-form-section { padding: 32px 0 96px; background: #fff; }
.ct-box { max-width: 680px; margin: 0 auto; padding: clamp(20px, 4vw, 40px); border: 1px solid rgba(13, 17, 23, .08); border-radius: 20px; background: #fff; box-shadow: 0 16px 48px rgba(33, 50, 91, .08); }
.ct-box .form-label { font-weight: 600; font-size: .9rem; color: var(--kyva-ink); margin-bottom: .4rem; }
.ct-box .form-control-lg, .ct-box .form-select-lg { border-radius: 12px; border-color: rgba(13, 17, 23, .14); font-size: 1rem; }
.ct-box .form-control:focus, .ct-box .form-select:focus { border-color: var(--bs-primary); box-shadow: 0 0 0 .2rem rgba(var(--bs-primary-rgb), .18); }
.ct-box .btn-lg { border-radius: 999px; padding: .9rem 1.5rem; }
.ct-note { margin: 12px 0 0; text-align: center; font-size: .85rem; color: rgba(13, 17, 23, .5); }
.ct-status { padding: 24px 0; } .ct-status h2 { margin: 16px 0 8px; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; } .ct-status p { color: rgba(13, 17, 23, .6); margin-bottom: 20px; }
.ct-ico { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: rgba(var(--bs-primary-rgb), .1); color: var(--bs-primary); font-size: 1.8rem; }
.ct-cal-h { margin: 0; font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; } .ct-cal { border: 0; border-radius: 12px; box-shadow: 0 4px 16px rgba(13, 17, 23, .1); }
.navbar .mega.mega-hide > .mega-panel { display: none !important; }

/* FeatureTabs: cards de recurso + painel */
.ft-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; margin-bottom: 1.5rem; }
.ft-tab { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.25rem .75rem; border-radius: 12px; background: #fff; border: 1px solid var(--bs-gray-300); text-align: center; font-weight: 500; color: var(--bs-body-color); cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s; }
.ft-tab:hover { transform: translateY(-2px); }
.ft-tab.on { border-color: var(--bs-primary); box-shadow: 0 .75rem 1.5rem rgba(var(--bs-primary-rgb), .18); }
.ft-ico { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--bs-gray-200); color: var(--bs-primary); font-size: 1.25rem; transition: background .2s, color .2s; }
.ft-tab.on .ft-ico { background: var(--bs-primary); color: #fff; }
.ft-panel { padding: 2.5rem; border-radius: 20px; background: var(--kyva-surface); border: 1px solid var(--bs-gray-300); }
.ft-panel h3 { font-size: 1.75rem; }
.ft-panel p { color: var(--bs-gray-600); }
.ft-list { list-style: none; padding: 0; margin: 1.25rem 0 1.75rem; display: grid; gap: .5rem; }
.ft-list i { color: var(--bs-primary); margin-right: .5rem; }
.ft-panel img { width: 100%; border-radius: 14px; box-shadow: 0 1.5rem 3rem rgba(var(--bs-primary-rgb), .15); background: #fff; }
@media (max-width: 767.98px) { .ft-panel { padding: 1.5rem; } }

/* Home: hero em duas colunas e blocos novos */
.hero-split { padding-bottom: 56px; }
.hero-split .rm-h1 { max-width: none; }
.hero-split .hero-frame { margin-top: 0; }
.logo-strip { padding: 2rem 0; border-block: 1px solid var(--bs-gray-300); }
.logo-strip p { margin-bottom: 1rem; color: var(--bs-gray-600); font-size: .9rem; }
.step-card { height: 100%; }
.step-num { display: inline-block; margin-bottom: .75rem; font-weight: 700; color: var(--bs-primary); }
