/* Pronto pra Lançar — estilos (sem dependências externas) */

:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --surface-alt: #f2f5f3;
  --text: #1c2421;
  --muted: #56615c;
  --border: #dde3df;
  --brand: #0d6b4f;
  --brand-dark: #094d39;
  --brand-soft: #e3f2ec;
  --accent: #f5b83d;
  --ok: #1e7a4c;
  --ok-bg: #e5f4ea;
  --warn: #8a5a00;
  --warn-bg: #fdf1d6;
  --bad: #a42a24;
  --bad-bg: #fbe5e3;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 6px 20px rgba(0, 0, 0, .05);
  --maxw: 1040px;
  --focus: 3px solid #2f6fed;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111614;
    --surface: #18201d;
    --surface-alt: #1d2724;
    --text: #e8eeeb;
    --muted: #a3b0aa;
    --border: #2c3833;
    --brand: #4cc79a;
    --brand-dark: #7ddab7;
    --brand-soft: #16302a;
    --ok: #6fd39d;
    --ok-bg: #173327;
    --warn: #f1c46a;
    --warn-bg: #362b12;
    --bad: #f28b82;
    --bad-bg: #3a1c1a;
    --shadow: none;
    --focus: 3px solid #8fb4ff;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

img, svg { max-width: 100%; height: auto; }

a { color: var(--brand); text-underline-offset: 2px; }
a:hover { color: var(--brand-dark); }

:focus-visible { outline: var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.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;
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brand); color: #fff; padding: .6rem 1rem; z-index: 10;
}
.skip-link:focus { left: 1rem; top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }

/* Cabeçalho */
.site-header { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 64px; flex-wrap: wrap;
}
.logo {
  font-weight: 800; font-size: 1.15rem; color: var(--text); text-decoration: none;
  display: inline-flex; align-items: center; gap: .5rem;
}
.logo-mark {
  display: inline-grid; place-items: center; width: 32px; height: 32px;
  border-radius: 9px; background: var(--brand); color: #fff; font-size: 1rem;
}
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; }
.site-header nav a { font-weight: 600; text-decoration: none; }

/* Botões */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: .9rem 1.4rem; border-radius: 999px; border: 2px solid transparent;
  text-align: center; line-height: 1.2; min-height: 48px;
}
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); color: #fff; }
@media (prefers-color-scheme: dark) {
  .btn-primary, .btn-primary:hover { color: #0b1512; }
}
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-small { padding: .55rem 1rem; min-height: 40px; font-size: .95rem; }

/* Seções */
section { padding: 56px 0; }
.section-alt { background: var(--surface-alt); }
.eyebrow {
  display: inline-block; font-size: .85rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; color: var(--brand); margin-bottom: .5rem;
}
.lead { font-size: 1.2rem; color: var(--muted); }
.section-intro { max-width: 680px; margin-bottom: 2rem; }

/* Hero */
.hero { padding: 56px 0 48px; }
.hero .cta-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1rem; }
.hero-note { font-size: .95rem; color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 1.25rem 0 0; list-style: none; }
.badges li {
  background: var(--brand-soft); color: var(--brand-dark);
  padding: .3rem .75rem; border-radius: 999px; font-size: .9rem; font-weight: 600;
}
@media (prefers-color-scheme: dark) { .badges li { color: var(--brand); } }

/* Grids e cartões */
.grid { display: grid; gap: 16px; }
@media (min-width: 720px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--brand-soft); font-size: 1.4rem; margin-bottom: .75rem;
}
.card ul { padding-left: 1.2rem; margin: .5rem 0 0; }

.audience { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
@media (min-width: 720px) { .audience { grid-template-columns: repeat(3, 1fr); } }
.audience li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
}

/* Passos */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li {
  counter-increment: step; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px; position: relative;
}
.steps li::before {
  content: counter(step); display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--accent); color: #2b1d00; font-weight: 800; margin-bottom: .75rem;
}

/* Caixa de garantias */
.promise {
  border: 2px solid var(--brand); border-radius: var(--radius);
  background: var(--brand-soft); padding: 22px;
}
.promise ul { margin: .5rem 0 0; padding-left: 0; list-style: none; display: grid; gap: .4rem; }
.promise li::before { content: "✓ "; font-weight: 800; color: var(--brand); }

/* Prévia do relatório */
.preview { display: grid; gap: 24px; align-items: center; }
@media (min-width: 820px) { .preview { grid-template-columns: 1fr 1.1fr; } }
.mini-report { padding: 0; overflow: hidden; }
.mini-report header { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.mini-report header strong { display: block; }
.mini-report header span { color: var(--muted); font-size: .9rem; }
.mini-report ul { list-style: none; margin: 0; padding: 0; }
.mini-report li {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.mini-report li:last-child { border-bottom: 0; }

/* Etiquetas de status */
.tag {
  display: inline-block; font-size: .8rem; font-weight: 700; padding: .2rem .6rem;
  border-radius: 999px; white-space: nowrap;
}
.tag-ok { background: var(--ok-bg); color: var(--ok); }
.tag-warn { background: var(--warn-bg); color: var(--warn); }
.tag-bad { background: var(--bad-bg); color: var(--bad); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0 20px;
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; line-height: 1; color: var(--brand); }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding-bottom: 18px; }
.faq details > div > :last-child { margin-bottom: 0; }

/* CTA final */
.cta-final { text-align: center; }
.cta-final .btn { margin-top: .5rem; }

/* Páginas de texto (privacidade, termos) */
.prose { padding: 40px 0 56px; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: .35rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: .97rem; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border: 1px solid var(--border); vertical-align: top; }
.prose th { background: var(--surface-alt); }
.table-wrap { overflow-x: auto; }
.updated { color: var(--muted); font-size: .95rem; }

/* Relatório de exemplo */
.sample-banner {
  background: var(--warn-bg); color: var(--warn); border-bottom: 1px solid var(--border);
  padding: 10px 0; font-weight: 600; font-size: .95rem; text-align: center;
}
.report-head { padding: 40px 0 16px; }
.meta { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--muted); font-size: .95rem; }
.meta strong { color: var(--text); }
.scoreboard { display: grid; gap: 10px; grid-template-columns: repeat(3, 1fr); margin: 1.5rem 0; }
.scoreboard .card { padding: 16px 8px; }
.score { text-align: center; }
.score .num { display: block; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.score .lbl { color: var(--muted); font-size: .92rem; }
.pillar { padding: 32px 0; border-top: 1px solid var(--border); }
.finding { margin-bottom: 14px; }
.finding h3 { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; font-size: 1.1rem; }
.finding dl { margin: 0; display: grid; gap: .35rem; }
.finding dt { font-weight: 700; font-size: .9rem; color: var(--muted); }
.finding dd { margin: 0 0 .5rem; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .92em; background: var(--surface-alt); padding: .1em .35em; border-radius: 5px; }

/* Rodapé */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0 36px; background: var(--surface); font-size: .95rem; color: var(--muted); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-bottom: .75rem; }
.site-footer nav a { font-weight: 600; }
.disclaimer { margin: 0 0 .5rem; }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

@media print {
  .site-header nav, .btn, .skip-link { display: none; }
  body { background: #fff; color: #000; }
}

/* Utilitários */
.pt-sm { padding-top: 8px; }
.pt-md { padding-top: 24px; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 24px; }
.plain-ol { padding-left: 1.2rem; margin: 0; }
.c-bad { color: var(--bad); }
.c-warn { color: var(--warn); }
.c-ok { color: var(--ok); }
