@font-face {
  font-family: Geist;
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url("/static/fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD;
}

:root {
  --ink: #12263a;
  --muted: #4e6272;
  --paper: #ffffff;
  --wash: #f4f7f8;
  --line: #d5e0e6;
  --violet: #0c4a6e;
  --violet-deep: #08364f;
  --cyan: #2a8fbf;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;
  --radius: 16px;
  --max: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Geist, system-ui, sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink);
  background: var(--wash);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--violet-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--violet);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: var(--s-200);
  top: -48px;
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-75) var(--s-100);
  z-index: 20;
}

.skip:focus {
  top: var(--s-200);
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: var(--s-300) var(--s-200) 0;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-200);
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s-75) var(--s-200);
  background: rgb(255 255 255 / 0.92);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
}

.nav-links {
  display: flex;
  gap: var(--s-300);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.nav-links a[aria-current="page"] {
  color: var(--violet-deep);
}

.nav-login {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: var(--s-300);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  position: relative;
  z-index: 12;
}

.nav-toggle span {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.7s var(--ease);
}

.nav-toggle span:first-child {
  top: 15px;
}

.nav-toggle span:last-child {
  top: 23px;
}

.nav-toggle.is-open span:first-child {
  top: 19px;
  transform: rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  top: 19px;
  transform: rotate(-45deg);
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--s-700) var(--s-200) var(--s-900);
}

.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: var(--s-600);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--s-100);
  border-radius: 999px;
  background: var(--violet);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-cta:hover {
  background: var(--violet-deep);
  color: #fff;
}

.eyebrow {
  margin: 0 0 var(--s-200);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--violet-deep);
}

h1,
h2,
h3 {
  text-wrap: balance;
  font-weight: 600;
}

.hero h1 {
  margin: 0 auto var(--s-300);
  max-width: 820px;
  font-size: 64px;
  line-height: 1.05;
  color: var(--ink);
}

.hero h1 span {
  display: block;
}

.hero h1 span:last-child {
  color: var(--violet);
}

.lede,
p {
  text-wrap: pretty;
}

.lede {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}

.hero .cnpj-form {
  width: min(640px, 100%);
  text-align: left;
}

.hero .sources,
.hero .proof {
  justify-content: center;
}

.proof,
.fineprint,
.muted,
.footer-note {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.cnpj-form {
  margin: var(--s-400) 0 var(--s-200);
}

.cnpj-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--s-75);
}

.cnpj-row {
  display: flex;
  gap: var(--s-100);
  flex-wrap: wrap;
}

.cnpj-row input {
  flex: 1 1 220px;
  min-height: 48px;
  padding: var(--s-75) var(--s-100);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  background: var(--paper);
}

button,
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: var(--s-75) var(--s-100);
  border-radius: 8px;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  border: 0;
  text-decoration: none;
  transition: transform 0.7s var(--ease), background 0.7s var(--ease);
}

button,
.btn-primary {
  background: var(--violet);
  color: #fff;
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
}

button:hover,
.btn-primary:hover {
  background: var(--violet-deep);
}

button:active,
.btn-primary:active,
.btn-secondary:active {
  transform: scale(0.98);
}

.cnpj-hint {
  color: #9b2c2c;
  margin: var(--s-75) 0 0;
}

.item-scan {
  margin: 0;
}

.item-scan figcaption {
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
  margin-bottom: var(--s-100);
}

.item-scan__sheet {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-400);
  box-shadow: 14px 14px 0 #d3dee6;
}

.item-scan__sheet::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--violet);
  animation: scan 4.8s var(--ease) infinite;
}

.item-scan__meta {
  margin: 0 0 var(--s-75);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cyan);
}

.item-scan__object {
  margin: 0 0 var(--s-200);
  font-weight: 600;
}

.item-scan ol,
.items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.item-scan li,
.items li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--s-100);
  padding: var(--s-100) 0;
  border-top: 1px solid var(--line);
}

.item-scan li {
  grid-template-columns: 32px 1fr auto;
  align-items: baseline;
  padding-left: var(--s-200);
}

.item-scan li em {
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.item-scan .is-match {
  box-shadow: inset 3px 0 0 var(--violet);
}

.item-scan .is-match em {
  color: var(--violet);
}

.item-scan .is-out em {
  font-weight: 400;
}

.item-scan .is-out {
  color: var(--muted);
}

.item-scan__verdict {
  margin: var(--s-200) 0 0;
  font-size: 14px;
  color: var(--violet-deep);
}

@keyframes scan {
  0% {
    top: 12%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    top: 88%;
    opacity: 0;
  }
}

.split,
.pains,
.compare,
.benefits,
.steps,
.band,
.faq,
.final,
.page-head,
.prose,
.plans,
.long-steps {
  margin-bottom: var(--s-800);
}

.page-head h1,
.split h2,
.pains h2,
.benefits h2,
.steps h2,
.band h2,
.faq h2,
.final h2,
.prose h2 {
  font-size: 30px;
  line-height: 36px;
  margin: 0 0 var(--s-200);
}

.prose p {
  max-width: 680px;
}

.benefits ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-200);
  list-style: none;
  margin: var(--s-400) 0 0;
  padding: 0;
}

.benefits li,
.plan,
.tender-card,
.uf-grid a,
.agency-list a {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--s-300);
}

.benefits li {
  border-top: 4px solid var(--violet);
}

.benefits h3,
.steps h3 {
  margin: 0 0 var(--s-75);
  font-size: 18px;
  line-height: 28px;
}

.steps ol,
.long-steps ol {
  display: grid;
  gap: var(--s-300);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps ol {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.steps li,
.long-steps li {
  counter-increment: step;
}

.steps li {
  display: block;
  background: var(--violet);
  border: 1px solid var(--violet);
  border-radius: var(--radius);
  padding: var(--s-300);
  color: #fff;
}

.steps li p {
  color: #d5e0e6;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: var(--s-100);
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  color: #d5e0e6;
}

.board {
  margin: 0 auto var(--s-800);
  max-width: 880px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgb(12 74 110 / 0.08);
  overflow: hidden;
}

.board-top {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-100) var(--s-200);
  border-bottom: 1px solid var(--line);
  background: var(--wash);
}

.board-top span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
}

.board-top p {
  margin: 0 0 0 var(--s-75);
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.buckets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.buckets p {
  margin: 0;
  padding: var(--s-200);
  border-right: 1px solid var(--line);
}

.buckets p:last-child {
  border-right: 0;
}

.buckets strong {
  display: block;
  font-size: 30px;
  line-height: 36px;
}

.buckets span {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.buckets .is-in strong {
  color: var(--violet);
}

.board .item-scan figcaption {
  display: none;
}

.board .item-scan__sheet {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.final {
  text-align: center;
}

.final .cnpj-form {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.pains ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-200);
  list-style: none;
  margin: var(--s-400) 0 0;
  padding: 0;
}

.pains li {
  background: var(--violet);
  color: #fff;
  border-radius: var(--radius);
  padding: var(--s-300);
  border-top: 4px solid #8eb4c9;
}

.pains li p {
  color: #d5e0e6;
}

.pains h3 {
  margin: 0 0 var(--s-75);
  font-size: 20px;
  line-height: 28px;
}

.pains p {
  margin: 0;
}

.sources {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-75);
  list-style: none;
  margin: 0 0 var(--s-300);
  padding: 0;
}

.sources li {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  padding: var(--s-50) var(--s-100);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-200);
  margin: 0 0 var(--s-800);
}

.stats p {
  margin: 0;
  background: var(--paper);
  border-radius: var(--radius);
  padding: var(--s-300);
}

.stats strong {
  display: block;
  font-size: 36px;
  line-height: 40px;
}

.stats span {
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.stats-note {
  margin: calc(var(--s-200) * -1) 0 var(--s-800);
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.compare table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: var(--radius);
  overflow: hidden;
}

.compare th,
.compare td {
  text-align: left;
  padding: var(--s-100) var(--s-200);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 20px;
}

.compare thead th {
  font-size: 12px;
  line-height: 16px;
}

.compare td:nth-child(2) {
  color: var(--violet-deep);
  font-weight: 600;
}

.tagline {
  min-height: 40vh;
  display: grid;
  place-items: center;
  margin: var(--s-900) 0;
}

.tagline p {
  max-width: 680px;
  margin: 0;
  font-size: 48px;
  line-height: 1.15;
  font-weight: 600;
  text-wrap: balance;
}

.tagline span {
  display: block;
  color: rgb(20 18 28 / 0.3);
  transition: color 0.7s var(--ease);
}

.tagline span.is-on {
  color: var(--ink);
}

.faq-list {
  display: grid;
  gap: var(--s-100);
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--s-200);
}

summary {
  cursor: pointer;
  font-weight: 600;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s-300);
}

.free-line {
  margin: 0 0 var(--s-800);
  color: var(--muted);
}

.plan h2 {
  margin: 0 0 var(--s-75);
  font-size: 24px;
}

.plan-price {
  font-size: 30px;
  font-weight: 600;
  margin: 0 0 var(--s-300);
}

.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.plan ul {
  list-style: none;
  margin: 0 0 var(--s-300);
  padding: 0;
}

.plan li {
  display: flex;
  justify-content: space-between;
  gap: var(--s-100);
  padding: var(--s-75) 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.plan-flag {
  margin: 0 0 var(--s-100);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--violet-deep);
}

.plan.is-recommended {
  border-color: var(--violet);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-75);
  list-style: none;
  margin: 0 0 var(--s-400);
  padding: 0;
  font-size: 14px;
}

.crumbs li:not(:last-child)::after {
  content: "/";
  margin-left: var(--s-75);
  color: var(--muted);
}

.uf-grid,
.agency-list,
.tender-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-100);
}

.uf-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uf-grid a,
.agency-list a,
.tender-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.7s var(--ease);
}

.uf-grid a:hover,
.agency-list a:hover,
.tender-card:hover {
  transform: translateY(-2px);
}

.uf-grid span,
.agency-list span,
.tender-card__meta,
.tender-card__value {
  display: block;
  margin-top: var(--s-50);
  font-size: 14px;
  color: var(--muted);
}

.tender-card__object {
  margin: var(--s-75) 0;
  font-weight: 600;
}

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--s-200);
  margin: var(--s-400) 0;
}

.facts div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: var(--s-200);
}

.facts dt {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.facts dd {
  margin: var(--s-50) 0 0;
  font-weight: 600;
}

.footer {
  border-top: 1px solid var(--line);
  padding: var(--s-700) var(--s-200) var(--s-400);
  background: var(--paper);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto var(--s-400);
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: var(--s-400);
}

.footer-brand,
.footer-label {
  font-weight: 600;
  margin: 0 0 var(--s-100);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: var(--s-75);
}

.footer a {
  color: var(--ink);
  text-decoration: none;
}

.footer a:hover {
  color: var(--violet-deep);
}

.footer-note {
  max-width: var(--max);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .hero,
  .steps ol,
  .benefits ul,
  .pains ul,
  .stats,
  .plans,
  .uf-grid,
  .facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1,
  .tagline p {
    font-size: 30px;
    line-height: 36px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-panel {
    position: fixed;
    inset: 0;
    z-index: 11;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--s-400);
    background: rgb(255 255 255 / 0.92);
    backdrop-filter: blur(24px);
    padding: var(--s-700);
    opacity: 0;
    pointer-events: none;
    transform: translateY(16px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .nav-panel.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links {
    flex-direction: column;
    font-size: 24px;
  }

  .nav-links li {
    opacity: 0;
    transform: translateY(48px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  }

  .nav-panel.is-open .nav-links li {
    opacity: 1;
    transform: none;
  }

  .nav-panel.is-open .nav-links li:nth-child(1) {
    transition-delay: 0.1s;
  }
  .nav-panel.is-open .nav-links li:nth-child(2) {
    transition-delay: 0.15s;
  }
  .nav-panel.is-open .nav-links li:nth-child(3) {
    transition-delay: 0.2s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .tagline span {
    color: var(--ink);
  }

  .item-scan__sheet::after {
    display: none;
  }
}
