:root {
  --primary: #1d4ed8;
  --primary-ink: #ffffff;
  --background: #ffffff;
  --surface: #f3f4f6;
  --text: #111827;
  --muted: #4b5563;
  --radius: 12px;
  --gutter: 16px;
  --max: 960px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--background);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 5vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 4vw, 2rem); }

.top, main > section, .foot {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--gutter);
}
.top { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); text-decoration: none; }
.top-cta { font-weight: 600; }

.hero { padding-top: 40px; padding-bottom: 40px; }
.lead { font-size: 1.125rem; color: var(--muted); max-width: 60ch; }
.reassure { color: var(--muted); font-size: .95rem; }

.cnpj-form { margin: 24px 0 8px; }
.cnpj-form label { display: block; font-weight: 600; margin-bottom: 6px; }
.cnpj-form label.sub { margin-top: 10px; }
.cnpj-form .opt { font-weight: 400; color: var(--muted); }
.modes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.mode {
  font: inherit;
  font-weight: 600;
  padding: 8px 14px;
  border: 1px solid #9ca3af;
  border-radius: 999px;
  background: var(--background);
  color: var(--text);
  cursor: pointer;
}
.mode.is-on { background: var(--primary); color: var(--primary-ink); border-color: var(--primary); }
.cnpj-form input:not(.row input) { width: 100%; }
.cnpj-form .row { display: flex; flex-wrap: wrap; gap: 8px; }
.cnpj-form input {
  flex: 1 1 220px;
  min-width: 0;
  font: inherit;
  padding: 12px 14px;
  border: 1px solid #9ca3af;
  border-radius: var(--radius);
}
.cnpj-form input:focus { outline: 3px solid color-mix(in srgb, var(--primary) 35%, transparent); border-color: var(--primary); }
.cnpj-form button[type="submit"] {
  flex: 0 0 auto;
  font: inherit;
  font-weight: 700;
  padding: 12px 20px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-ink);
  cursor: pointer;
}
.cnpj-form button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.hint { min-height: 1.5em; margin: 8px 0 0; color: var(--muted); }
.hint.is-error { color: #b91c1c; }
.hint.is-found { color: var(--text); }

.steps ol { padding-left: 20px; display: grid; gap: 12px; }
.included ul { padding-left: 20px; display: grid; gap: 8px; }

.examples .grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.example { background: var(--surface); border-radius: var(--radius); overflow: hidden; }
.example a { color: inherit; text-decoration: none; display: block; }
.example img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
.example .body { padding: 12px 14px 16px; }
.example .segment { display: inline-block; font-size: .8rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .04em; }
.example h3 { font-size: 1.05rem; margin: 4px 0 0; }

.price { background: var(--surface); border-radius: var(--radius); }
.amount { font-size: 1.25rem; }

.faq details { border-top: 1px solid #e5e7eb; padding: 12px 0; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq p { margin: 8px 0 0; color: var(--muted); }

.foot { color: var(--muted); border-top: 1px solid #e5e7eb; margin-top: 24px; }
.small { font-size: .85rem; }
