:root {
  --navy-900: #0A1628;
  --navy-800: #0F2340;
  --navy-700: #16345C;
  --blue-700: #0A3E9E;
  --blue-600: #024ED5;
  --blue-500: #0B6FE4;
  --sky-500: #0495F5;
  --cyan-400: #35D4FC;
  --blue-50: #EAF2FE;
  --ink: #0A1628;
  --body: #3D4657;
  --muted: #7A818E;
  --border: #E2E8F0;
  --divider: #EEF2F7;
  --page: #F6F8FB;
  --on-dark: #E6EDF7;
  --on-dark-2: #C6D2E4;
  --on-dark-3: #8FA2BC;
  --gradient: linear-gradient(135deg, #024ED5 0%, #0495F5 55%, #35D4FC 100%);
  --shadow-sm: 0 1px 2px rgba(10,22,40,.06), 0 1px 3px rgba(10,22,40,.05);
  --shadow-md: 0 4px 12px rgba(10,22,40,.08);
  --shadow-lg: 0 12px 32px rgba(10,22,40,.14);
  --font-title: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); }
:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
.mono { font-family: var(--font-mono); }
.tabular { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 32px; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue-600);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--blue-600); color: #fff; }
.btn-primary:hover { background: var(--blue-500); }
.btn-primary:active { background: var(--blue-700); }
.btn-ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { border-color: rgba(255,255,255,.6); }
.btn-outline { color: var(--ink); border: 1px solid var(--border); background: #fff; }
.btn-outline:hover { border-color: var(--blue-600); color: var(--blue-600); }

/* Marca Solt: wordmark tipográfico */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 17px;
  line-height: 1;
}
.brand-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
}
.brand-name span { font-weight: 600; color: var(--blue-600); }
.brand.on-dark { color: #fff; }
.brand.on-dark .brand-name span { color: var(--cyan-400); }

/* Topbar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.topbar .wrap { display: flex; align-items: center; gap: 24px; height: 68px; }
.topbar nav { margin-left: auto; display: flex; gap: 28px; align-items: center; }
.topbar nav a:not(.btn) { color: var(--body); text-decoration: none; font-size: 14px; font-weight: 500; }
.topbar nav a:not(.btn):hover { color: var(--blue-600); }
.topbar nav .btn { padding: 10px 18px; font-size: 14px; }

/* Hero (seção escura 1 de 2) */
.hero {
  background: var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
  padding: 88px 0 80px;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 4px;
  background: linear-gradient(90deg, #024ED5 0%, #0495F5 55%, #35D4FC 100%);
}
.hero .glow {
  position: absolute;
  top: -240px;
  right: -180px;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  opacity: .28;
  filter: blur(10px);
  background: radial-gradient(circle at 35% 35%, #0495F5 0%, rgba(53,212,252,.35) 45%, rgba(10,22,40,0) 70%);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 56px;
  align-items: center;
}
.hero .eyebrow { color: var(--cyan-400); }
.hero h1 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 54px;
  line-height: 1.07;
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: 16px;
}
.hero .sub { font-size: 20px; line-height: 1.55; color: var(--on-dark-2); margin-top: 22px; max-width: 600px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

/* Cartão de pipeline no hero */
.pipeline {
  background: var(--navy-800);
  border: 1px solid var(--navy-700);
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
}
.pipeline-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--navy-700);
  margin-bottom: 8px;
}
.pipeline-head .mono { font-size: 12px; color: var(--on-dark-3); letter-spacing: .06em; text-transform: uppercase; }
.dots { display: flex; gap: 6px; }
.dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--navy-700); display: block; }
.pipe-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(22,52,92,.6);
}
.pipe-row:last-child { border-bottom: 0; }
.pipe-row .t { color: var(--on-dark); font-size: 14px; font-weight: 500; }
.pipe-row .m { color: var(--on-dark-3); font-size: 12px; font-family: var(--font-mono); margin-top: 2px; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.pill.ok { background: #E4F5EE; color: #0B6247; }
.pill.run { background: #EAF2FE; color: #0A3E9E; }
.pill.wait { background: #F1EDFC; color: #5B3FB0; }
.pill.idle { background: #F1F4F8; color: #5B6472; }
.progress { height: 4px; border-radius: 2px; background: var(--navy-700); margin-top: 16px; overflow: hidden; }
.progress span { display: block; height: 100%; width: 68%; background: var(--gradient); border-radius: 2px; }

/* Faixa de posicionamento */
.positioning { background: var(--blue-50); border-bottom: 1px solid var(--border); }
.positioning .wrap { padding-top: 22px; padding-bottom: 22px; display: flex; gap: 16px; }
.positioning .marker { width: 4px; border-radius: 2px; background: var(--blue-600); flex: none; }
.positioning p { color: var(--ink); font-size: 16px; line-height: 1.55; }

/* Seções */
section { padding: 88px 0; scroll-margin-top: 68px; }
section.alt { background: var(--page); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.sec-head { max-width: 720px; margin-bottom: 44px; }
.sec-head h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 38px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-top: 12px;
}
.sec-head p { font-size: 18px; margin-top: 14px; color: var(--body); }

/* Serviços */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.card .ico {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 6px;
}
.card h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
.card p { font-size: 15px; line-height: 1.6; }
.card ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.card li {
  font-size: 12px;
  font-weight: 500;
  color: var(--body);
  background: var(--page);
  border: 1px solid var(--divider);
  padding: 3px 8px;
  border-radius: 6px;
}

/* Produto FiscoFlow */
.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.product .logo { height: 46px; width: auto; margin-bottom: 22px; }
.product .logo-link { height: 56px; margin-bottom: 16px; }
.product-next { margin-top: 72px; padding-top: 72px; border-top: 1px solid var(--border); }
.product h2, .product .product-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: -0.02em;
  margin-top: 10px;
}
.product .lead { font-size: 18px; margin-top: 16px; }
.product .note {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--blue-600);
  background: var(--blue-50);
  border-radius: 0 8px 8px 0;
  color: var(--ink);
  font-size: 15px;
}
.product .btn { margin-top: 26px; }
.flow {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px 22px;
  box-shadow: var(--shadow-md);
}
.flow-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--divider);
  font-size: 14px;
}
.flow-row:last-child { border-bottom: 0; }
.flow-row .ev { color: var(--body); }
.flow-row .arrow { color: var(--sky-500); text-align: center; }
.flow-row .act { color: var(--ink); font-weight: 600; }
.flow-cap {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0 6px;
  border-bottom: 1px solid var(--border);
}

/* Processo */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; counter-reset: s; }
.step {
  position: relative;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.step .sq { display: flex; align-items: flex-end; gap: 4px; height: 20px; margin-bottom: 18px; }
.step .sq i { display: block; border-radius: 26%; background: var(--gradient); }
.step .sq i:nth-child(1) { width: 20px; height: 20px; }
.step .sq i:nth-child(2) { width: 13px; height: 13px; opacity: .8; }
.step .sq i:nth-child(3) { width: 12px; height: 12px; opacity: .6; }
.step .sq i:nth-child(4) { width: 9px; height: 9px; opacity: .45; }
.step .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.step h3 { font-size: 17px; font-weight: 700; margin-top: 4px; }
.step p { font-size: 14px; margin-top: 8px; }

/* Plataformas */
.platforms { display: flex; flex-wrap: wrap; gap: 10px; }
.platforms span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.platforms span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--sky-500); }

/* Empresa */
.company {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.facts {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.fact { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-bottom: 1px solid var(--divider); font-size: 15px; }
.fact:last-child { border-bottom: 0; }
.fact dt { font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.fact dd { margin: 0; color: var(--ink); overflow-wrap: anywhere; }

/* CTA final (seção escura 2 de 2) */
.cta {
  background: var(--navy-900);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta .glow {
  position: absolute;
  bottom: -320px;
  left: -200px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  opacity: .22;
  background: radial-gradient(circle, #0495F5 0%, rgba(10,22,40,0) 70%);
  pointer-events: none;
}
.cta .wrap { position: relative; z-index: 1; display: flex; gap: 40px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cta .eyebrow { color: var(--cyan-400); }
.cta h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #fff;
  margin-top: 12px;
  max-width: 640px;
}
.cta p { color: var(--on-dark-2); font-size: 18px; margin-top: 14px; max-width: 600px; }
.cta .mail { font-family: var(--font-mono); font-size: 14px; color: var(--on-dark-3); margin-top: 14px; text-align: right; }

/* Rodapé */
footer { background: #fff; border-top: 1px solid var(--border); padding: 40px 0; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-start; }
footer .legal { line-height: 1.7; }
footer .legal strong { color: var(--ink); font-weight: 600; }
footer nav { display: flex; gap: 20px; flex-wrap: wrap; }
footer nav a { color: var(--body); text-decoration: none; }
footer nav a:hover { color: var(--blue-600); }

/* Página de texto (privacidade) */
.doc-hero { background: var(--page); border-bottom: 1px solid var(--border); padding: 64px 0 48px; }
.doc-hero h1 { font-family: var(--font-title); font-weight: 800; font-size: 42px; letter-spacing: -0.02em; line-height: 1.12; margin-top: 12px; }
.doc-hero p { margin-top: 12px; color: var(--muted); font-size: 15px; }
.doc { max-width: 760px; padding: 56px 32px 88px; margin: 0 auto; }
.doc h2 { font-size: 22px; font-weight: 700; margin: 40px 0 12px; line-height: 1.3; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { font-size: 16px; line-height: 1.7; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 22px; margin: 12px 0; }
.doc li + li { margin-top: 6px; }
.doc .box { background: var(--page); border: 1px solid var(--border); border-radius: 12px; padding: 18px 20px; margin-top: 16px; }

@media (max-width: 1024px) {
  .hero-grid, .product, .company { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero h1 { font-size: 46px; }
  .cta .mail { text-align: left; }
}
@media (max-width: 720px) {
  .wrap { padding: 0 16px; }
  .topbar nav a:not(.btn) { display: none; }
  .hero { padding: 56px 0 56px; }
  .hero h1 { font-size: 36px; }
  .hero .sub { font-size: 17px; }
  section { padding: 64px 0; }
  .sec-head h2, .product h2, .product .product-title { font-size: 26px; }
  .product-next { margin-top: 48px; padding-top: 48px; }
  .cta h2 { font-size: 28px; }
  .cards, .steps { grid-template-columns: 1fr; }
  .fact { grid-template-columns: 1fr; gap: 2px; }
  .flow-row, .flow-cap { grid-template-columns: minmax(0, 1fr) 16px minmax(0, 1fr); gap: 8px; }
  .doc-hero h1 { font-size: 32px; }
  .doc { padding: 40px 16px 64px; }
  .positioning .wrap { padding-top: 18px; padding-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
