/* =========================================================================
   QUERO CNPJ — Identidade: "arquivo de registro" / carimbo de verificação.
   Tipografia sem serifa: Space Grotesk (display) + Inter (texto) + JetBrains Mono (dados/CNPJ).
   ========================================================================= */

:root {
  --ink:        #10222E;   /* navy profundo — capa do "arquivo" */
  --ink-2:      #17303E;   /* navy um tom mais claro, cards sobre fundo escuro */
  --ink-3:      #24414F;   /* bordas sobre fundo escuro */
  --paper:      #F1EFE8;   /* papel — fundo das seções claras */
  --paper-2:    #FFFFFF;   /* cartão sobre papel */
  --text:       #16262E;
  --muted:      #5B6B72;
  --muted-2:    #8A9BA3;
  --verified:   #1F6D4C;   /* verde tinta de carimbo — selo/verificação */
  --verified-bg:#E4F1EA;
  --brass:      #B8862E;   /* dourado/latão — preço, CTA principal */
  --brass-dark: #96691E;
  --line:       rgba(16,34,46,0.10);
  --line-light: rgba(255,255,255,0.14);

  --font-display: 'Space Grotesk', 'Segoe UI', sans-serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, monospace;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow-card: 0 1px 2px rgba(16,34,46,0.06), 0 8px 24px -12px rgba(16,34,46,0.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}
p { margin: 0; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-brass { background: var(--brass); color: #fff; }
.btn-brass:hover { background: var(--brass-dark); }
.btn-ghost-dark { border-color: var(--line-light); color: #fff; background: transparent; }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.08); }
.btn-ghost-light { border-color: var(--line); color: var(--text); background: #fff; }
.btn-ghost-light:hover { background: var(--paper); }
.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: 0.88rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--verified-bg);
  color: var(--verified);
  margin-bottom: 18px;
}
.eyebrow.on-dark { background: rgba(255,255,255,0.1); color: #cfe3d9; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 1px solid var(--line-light);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 84px;
}
.logo-slot { display: flex; align-items: center; height: 40px; }
.logo-img { height: 100%; width: auto; }
.logo-fallback {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: #fff;
  letter-spacing: 0.02em;
  align-items: center;
}
.logo-fallback b { color: var(--brass); font-weight: 700; }

.main-nav { display: flex; gap: 28px; margin-left: 12px; flex: 1; }
.main-nav a { color: rgba(255,255,255,0.78); font-size: 0.95rem; font-weight: 500; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.ativo { color: #fff; border-color: var(--brass); }
.nav-cta { flex-shrink: 0; }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  background: var(--ink);
  color: #fff;
  padding: 76px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 700;
}
.hero h1 span { color: var(--brass); }
.hero p.lead {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  margin-top: 22px;
  max-width: 46ch;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 52px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
}
.hero-stats div span { font-size: 0.85rem; color: var(--muted-2); }

/* --- Ilustração "dossiê" no hero: cartão de CNPJ com carimbo --- */
.hero-art { position: relative; height: 380px; }
.dossie-card {
  position: absolute;
  width: 300px;
  background: var(--paper-2);
  color: var(--text);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.55);
}
.dossie-card.back {
  top: 46px; left: 60px;
  transform: rotate(-9deg);
  background: #E7E2D6;
  height: 210px;
}
.dossie-card.front {
  top: 0; left: 0;
  transform: rotate(4deg);
}
.dossie-tab {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  text-transform: uppercase;
  border-bottom: 1px dashed var(--line);
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.dossie-card h4 { font-size: 1.05rem; margin-bottom: 4px; }
.dossie-card .cnpj-num { font-family: var(--font-mono); font-size: 0.82rem; color: var(--muted); }
.dossie-row { display: flex; justify-content: space-between; margin-top: 14px; font-size: 0.82rem; color: var(--muted); }
.dossie-row b { color: var(--text); font-family: var(--font-mono); }

/* --- Carimbo de verificado (elemento assinatura) --- */
.stamp {
  --stamp-color: var(--verified);
  position: relative;
  width: var(--stamp-size, 92px);
  height: var(--stamp-size, 92px);
  flex-shrink: 0;
}
.stamp svg { width: 100%; height: 100%; }
.stamp-ring-text { fill: var(--stamp-color); font-family: var(--font-mono); font-size: 8px; letter-spacing: 2px; }
.stamp-circle { fill: none; stroke: var(--stamp-color); stroke-width: 1.6; stroke-dasharray: 3 3; }
.stamp-check { stroke: var(--stamp-color); stroke-width: 4; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero-art .stamp { position: absolute; top: 170px; left: 210px; --stamp-size: 108px; transform: rotate(-8deg); }

/* ---------- Faixa de confiança ---------- */
.trust-bar {
  background: var(--ink-2);
  border-top: 1px solid var(--line-light);
}
.trust-bar .container {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  padding: 20px 24px;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
}
.trust-bar strong { color: #fff; }

/* ---------- Seções gerais ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; line-height: 1.6; }
.section.on-dark { background: var(--ink); color: #fff; }
.section.on-dark .section-head p { color: rgba(255,255,255,0.65); }

/* ---------- Grade de empresas (Destaques) ---------- */
.empresas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.empresa-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.empresa-card:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -18px rgba(16,34,46,0.28); }
.empresa-card .card-tab {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  border-bottom: 1px dashed var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.card-tab .natureza { background: var(--ink); color: #fff; padding: 3px 10px; border-radius: 6px; }
.card-tab .situacao { color: var(--verified); }
.empresa-card .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.empresa-card h3 { font-size: 1.08rem; margin-bottom: 4px; color: #000; font-weight: 700; }
.empresa-card .cnpj-num { font-family: var(--font-mono); font-size: 0.8rem; color: var(--muted); margin-bottom: 16px; }
.card-data { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.card-data span { display: block; font-size: 0.72rem; color: var(--muted-2); text-transform: uppercase; letter-spacing: 0.04em; }
.card-data b { font-family: var(--font-mono); font-size: 0.92rem; }
.card-cnae { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-bottom: 14px; }
.card-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--verified-bg); color: var(--verified); font-size: 0.76rem; padding: 8px 12px; border-radius: var(--radius-sm); margin-bottom: 16px; }
.card-price { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; margin-bottom: 16px; }
.card-price span { font-size: 0.8rem; color: var(--muted); }
.card-price b { font-family: var(--font-display); font-size: 1.4rem; color: var(--brass-dark); }
.card-corner-stamp { position: absolute; top: 16px; right: 16px; --stamp-size: 46px; opacity: 0.9; }

.empresas-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.filtro-form { display: flex; gap: 10px; flex-wrap: wrap; }
.filtro-form select {
  font-family: var(--font-body);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: #fff;
  font-size: 0.9rem;
}

.empresas-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}

.cta-mini { text-align: center; margin-top: 56px; }
.cta-mini p { color: var(--muted); margin-bottom: 18px; }

/* ---------- Como funciona (passos) ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.step-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  position: relative;
}
.step-card.is-current { border-color: var(--verified); }
.step-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--verified);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 26px;
}
.step-num {
  position: absolute; top: 22px; right: 26px;
  font-family: var(--font-display);
  font-size: 2.4rem;
  color: var(--line);
  font-weight: 700;
}
.step-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step-card p { color: var(--muted); font-size: 0.95rem; line-height: 1.55; }

/* ---------- Por que nos escolher ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 30px;
  text-align: left;
}
.why-card.is-current { border-color: var(--brass); background: rgba(184,134,46,0.08); }
.why-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: rgba(31,109,76,0.18);
  color: #7fd6ac;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.why-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.62); font-size: 0.93rem; line-height: 1.55; }

/* ---------- CTA final ---------- */
.cta-band { background: var(--brass); color: #10160a; padding: 64px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-band p { margin-top: 10px; max-width: 46ch; color: rgba(16,22,10,0.75); }
.cta-band .btn-ghost-dark { border-color: rgba(16,22,10,0.35); color: #10160a; }
.cta-band .btn-ghost-dark:hover { background: rgba(16,22,10,0.08); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: 80px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--line-light); }
.footer-brand h2 { color: #fff; font-size: 1.7rem; margin-bottom: 18px; }
.footer-brand p { line-height: 1.6; max-width: 42ch; }
.footer-social { display: flex; gap: 12px; margin-top: 26px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; background: var(--verified); color: #fff; display: flex; align-items: center; justify-content: center; }
.footer-grid h3 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-grid > div a, .footer-grid > div p { display: block; margin-bottom: 12px; font-size: 0.92rem; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 8px; }

/* ---------- Formulário de contato ---------- */
.contato-layout { display: grid; grid-template-columns: 1fr; gap: 0; }
.form-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--paper);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.char-count { text-align: right; font-size: 0.8rem; color: var(--muted-2); margin-top: 6px; }
.form-alert { padding: 16px 18px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.92rem; }
.form-alert.sucesso { background: var(--verified-bg); color: var(--verified); }
.form-alert.erro { background: #FBEAEA; color: #A8342A; }

/* ---------- Prova social (depoimentos) ---------- */
.depoimentos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.depoimento-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.depoimento-quote { color: var(--brass); opacity: 0.7; margin-bottom: 14px; }
.depoimento-texto { color: var(--text); font-size: 0.96rem; line-height: 1.65; flex: 1; }
.depoimento-autor { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.depoimento-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  flex-shrink: 0;
}
.depoimento-autor h4 { font-size: 0.92rem; margin-bottom: 2px; }
.depoimento-autor p { font-size: 0.78rem; color: var(--muted); }

/* ---------- Perguntas Frequentes ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .faq-chevron { flex-shrink: 0; transition: transform 0.2s ease; color: var(--verified); }
.faq-item[open] summary .faq-chevron { transform: rotate(180deg); }
.faq-item[open] summary { border-bottom: 1px dashed var(--line); }
.faq-answer { padding: 4px 24px 22px; color: var(--muted); font-size: 0.96rem; line-height: 1.65; }
.faq-answer p + p { margin-top: 12px; }
.faq-answer ul { margin: 12px 0 0; padding-left: 20px; }
.faq-answer li { margin-bottom: 6px; }
.faq-answer strong { color: var(--text); }

/* ---------- Responsivo ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .empresas-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .depoimentos-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .main-nav, .nav-cta { display: none; }
  .nav-toggle {
    display: flex; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto;
  }
  .nav-toggle span { width: 22px; height: 2px; background: #fff; display: block; }
  .site-header.menu-open .main-nav {
    display: flex; flex-direction: column; position: absolute; top: 84px; left: 0; right: 0;
    background: var(--ink); padding: 16px 24px 24px; gap: 4px; border-bottom: 1px solid var(--line-light);
  }
  .site-header.menu-open .nav-cta { display: inline-flex; position: absolute; top: 96px; right: 24px; }
  .empresas-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
}
