:root {
  --nc-blue: #1E3A8A;
  --nc-blue-800: #1B3073;
  --nc-teal: #0EA5A4;
  --nc-teal-700: #0B8F8D;
  --nc-green: #059669;

  --nc-text: #111827;
  --nc-text-2: #374151;
  --nc-muted: #4B5563;
  /* contraste melhorado */
  --nc-bg: #F3F4F6;
  --nc-white: #FFFFFF;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(17, 24, 39, .08);
  --max: 1120px;
  --headerH: 60px;
}

/* Base */
* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--nc-text);
  font: 16px/1.6 Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial
}

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

a {
  color: inherit;
  text-decoration: none
}

html {
  scroll-behavior: smooth
}

/* Containers */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px
}

.container--narrow {
  max-width: 840px;
  margin: 0 auto
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--nc-blue);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow);
  transition: .2s transform, .2s filter, .2s background
}

.btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
  background: var(--nc-blue-800)
}

.btn:active {
  transform: none
}

.btn--ghost {
  background: transparent;
  border: 1px solid #e5e7eb;
  color: var(--nc-text)
}

/* Header */
header {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid #eee;
  z-index: 20;
  height: var(--headerH);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: box-shadow .25s;
}

header.is-sticky {
  box-shadow: 0 8px 24px rgba(17, 24, 39, .06)
}

header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--headerH);
  gap: 10px
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px
}

.logo {
  height: clamp(28px, 3.2vw, 36px);
  width: auto
}

.brand .sep {
  color: var(--nc-muted);
  line-height: 1;
  font-size: clamp(14px, 1.8vw, 18px)
}

.brand .tagline {
  font-weight: 600;
  color: var(--nc-muted);
  font-size: clamp(12px, 1.6vw, 15px)
}

/* Nav */
nav {
  display: flex;
  gap: 8px
}

nav a {
  padding: 8px 12px;
  color: var(--nc-muted);
  font-weight: 500;
  border-radius: 10px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}

nav a:hover {
  color: var(--nc-text);
  background: #f3f4f6
}

nav a:hover::after {
  transform: scaleX(1)
}

nav a[aria-current="true"] {
  color: #111827
}

nav a[aria-current="true"]::after {
  transform: scaleX(1)
}

/* Burger (mobile) */
.burger {
  display: none;
  gap: 8px;
  flex-direction: column;
  cursor: pointer
}

.burger span {
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: .2s
}

.mobile-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: var(--headerH);
  background: #fff;
  border-bottom: 1px solid #eee
}

.mobile-nav a {
  display: block;
  padding: 14px 20px;
  border-top: 1px solid #f1f1f1
}

/* Sections */
section {
  padding: 64px 0;
  scroll-margin-top: calc(var(--headerH) + 12px)
}

/* Hero */
.hero {
  padding: 64px 0 24px;
  background: radial-gradient(1200px 500px at 50% -220px, rgba(30, 58, 138, .06), transparent 60%);
}

.tag-hero {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: #EEF2FF;
  color: #1E3A8A;
  font-weight: 600;
  margin-bottom: 10px;
  font-size: .85rem;
}

.hero h1 {
  font-size: clamp(28px, 6vw, 48px);
  line-height: 1.15;
  margin: 0 0 12px
}

.hero p {
  font-size: clamp(15px, 2.7vw, 20px);
  color: #6b7280;
  margin: 0 0 18px
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.mock {
  margin: 28px auto 0;
  background: var(--nc-bg);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow)
}

.mock-inner {
  aspect-ratio: 16/9;
  background: linear-gradient(180deg, #fff, #f7f7fb);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #cfd3da;
  font-weight: 700
}

.hero .mock {
  filter: drop-shadow(0 12px 24px rgba(17, 24, 39, .08));
}

/* Trust */
.trust {
  text-align: center
}

.trust p {
  margin: 0 0 12px
}

.trust-logos {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: .75
}

/* Layout blocks */
h2 {
  font-size: clamp(22px, 3.5vw, 34px);
  line-height: 1.2;
  margin: 0 0 12px
}

.lead {
  color: var(--nc-text-2);
  margin: 0 0 20px
}

.muted {
  color: var(--nc-muted)
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .05);
  transition: box-shadow .2s, transform .2s, border-color .2s;
}

.card:hover {
  box-shadow: 0 14px 28px rgba(17, 24, 39, .07);
  transform: translateY(-2px);
  border-color: #e2e8f0
}

.illu-card {
  height: 100%;
  display: grid;
  place-items: center
}

/* Alt background */
.alt {
  background: var(--nc-bg)
}

/* ===== Tabela responsiva (ANTES x DEPOIS) ===== */
.table-wrap {
  overflow: auto;
  -webkit-overflow-scrolling: touch
}

.table-wrap::-webkit-scrollbar {
  height: 8px
}

.table-wrap::-webkit-scrollbar-thumb {
  background: #e5e7eb;
  border-radius: 999px
}

/* base */
.table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .05);
  overflow: hidden;
}

/* header com “pills” */
.table thead th {
  background: #f9fafb;
  /* dá um pouco mais de espaço embaixo para a pílula */
  padding: 14px 16px 14px;
  font-weight: 700;
  text-align: center;
  border-bottom: 1px solid #eef0f2;
  position: relative;
  border-top: 1px solid #eef0f2;
}

.table thead th:first-child {
  color: #DC2626;
  /* vermelho suave (antes) */
}

.table thead th:last-child {
  color: #059669;
  /* verde suave (depois) */
}

/* células */
.table td {
  padding: 16px 16px 16px 42px;
  /* espaço pro ícone */
  border-bottom: 1px solid #eef0f2;
  vertical-align: top;
  font-size: clamp(14px, 1.5vw, 16px);
  position: relative;
}

/* ícones automáticos por coluna */
.table tbody td:first-child::before {
  content: "✕";
  position: absolute;
  left: 14px;
  top: 16px;
  color: #DC2626;
  font-weight: 700;
}

.table tbody td:nth-child(2)::before {
  content: "✓";
  position: absolute;
  left: 14px;
  top: 16px;
  color: #059669;
  font-weight: 800;
}

/* leve “tinta” por coluna (muito sutil) */
.table tbody td:first-child {
  background-image: linear-gradient(90deg, rgba(220, 38, 38, .045), transparent 55%);
}

.table tbody td:nth-child(2) {
  background-image: linear-gradient(90deg, rgba(5, 150, 105, .035), transparent 55%);
}

/* hover por linha */
.table tbody tr:hover td {
  background-color: #fbfbfd;
}

/* borda final */
.table tbody tr:last-child td {
  border-bottom: none;
}

/* ===== Promo card (ROI) ===== */
.promo {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(17, 24, 39, .06);
}

.promo strong {
  font-size: 1.02rem
}

.promo .btn {
  white-space: nowrap
}

/* CTA */
.cta {
  text-align: center
}

.cta .container {
  display: flex;
  justify-content: center
}

.cta .cta-content {
  width: 100%;
  max-width: 880px;
  margin: 0 auto
}

.cta form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: nowrap;
}

.cta .input {
  flex: 1 1 auto;
  width: clamp(360px, 55vw, 620px);
  padding: 14px 18px;
  border: 1px solid #d1d5db;
  border-radius: 999px;
  font: inherit;
}

.input[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, .15)
}

.ok-msg,
.err-msg {
  margin-top: 8px
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== FAQ ===== */
.faq {
  padding: 64px 0;
}

.faq h2 {
  margin-bottom: 8px;
}

.faq .lead {
  margin-bottom: 20px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

/* Card base */
.faq details {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(17, 24, 39, .05);
  overflow: hidden;
}

/* Cabeçalho clicável */
.faq summary {
  list-style: none;
  /* remove triângulo nativo */
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  font-weight: 600;
  color: var(--nc-text, #111827);
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* Ícone (chevron) */
.faq summary svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  transition: transform .2s ease;
  opacity: .8;
}

.faq details[open] summary svg {
  transform: rotate(180deg);
}

/* Hover/focus */
.faq summary:hover {
  background: #f8fafc;
}

.faq summary:focus-visible {
  outline: 3px solid rgba(30, 58, 138, .35);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Resposta */
.faq .answer {
  padding: 0 18px 16px 18px;
  color: var(--nc-text-2, #374151);
  animation: faq-reveal .18s ease-out;
}

@keyframes faq-reveal {
  from {
    opacity: .6;
    transform: translateY(-2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* CTA no fim do bloco */
.faq-cta {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.faq-cta .btn {
  white-space: nowrap;
}

/* Footer */
footer {
  padding: 24px 0;
  color: var(--nc-muted);
  font-size: .9rem;
  border-top: 1px solid #eee
}

.footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px
}

/* Breakpoints */
@media (max-width:960px) {
  .grid-2 {
    grid-template-columns: 1fr
  }
}

@media (max-width:720px) {
  :root {
    --headerH: 56px
  }

  .container {
    padding: 0 16px
  }

  .hero {
    padding: 48px 0 12px
  }

  .grid-3 {
    grid-template-columns: 1fr
  }

  nav {
    display: none
  }

  .burger {
    display: flex
  }

  .btn {
    width: 100%
  }
}

@media (max-width:680px) {
  .cta form {
    flex-direction: column;
    align-items: stretch;
    gap: 12px
  }

  .cta .input,
  .cta .btn {
    width: 100%
  }
}

@media (max-width: 420px) {

  .table th,
  .table td {
    padding: 12px 10px 12px 36px;
  }
}

/* Mobile */
@media (max-width: 680px) {
  .faq summary {
    padding: 14px 16px;
  }

  .faq .answer {
    padding: 0 16px 14px 16px;
  }
}