/* Tire Nada Consta — estilos compartilhados */
:root {
  --navy-900: #0b1f3a;
  --navy-800: #12305a;
  --navy-700: #1b417a;
  --green-600: #15803d;
  --green-700: #116432;
  --green-100: #dcfce7;
  --ink: #152033;
  --muted: #55627a;
  --line: #dfe5ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --danger: #b42318;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(11, 31, 58, .10);
  --max: 1120px;
}

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

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

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

img, svg { max-width: 100%; display: block; }
a { color: var(--navy-700); }
a:hover { color: var(--navy-900); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; color: var(--navy-900); letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 5.2vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }

:focus-visible { outline: 3px solid #3b82f6; outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 56px 0; }
.section--soft { background: var(--bg-soft); }
.section__head { max-width: 640px; margin: 0 auto 32px; text-align: center; }
.section__head p { color: var(--muted); margin: 0; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green-700); margin-bottom: 10px; }

.skip-link { position: absolute; left: -9999px; top: 0; background: #fff; padding: 10px 14px; z-index: 100; }
.skip-link:focus { left: 8px; 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; }

/* Aviso de serviço privado */
.disclaimer {
  background: #eaf0f8;
  border-bottom: 1px solid #c9d6e8;
  color: var(--navy-900);
  font-size: .875rem;
  line-height: 1.5;
}
.disclaimer .container { display: flex; gap: 10px; padding-top: 10px; padding-bottom: 10px; align-items: flex-start; }
.disclaimer svg { flex: 0 0 auto; margin-top: 2px; }
.disclaimer p { margin: 0; }
.disclaimer a { font-weight: 700; color: var(--navy-900); }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(150%) blur(6px); }
.header .container { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.logo { font-weight: 800; font-size: 1.15rem; color: var(--navy-900); text-decoration: none; letter-spacing: -.02em; }
.logo span { color: var(--green-600); }
.nav-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; background: none; border: 1px solid var(--line); border-radius: 10px; color: var(--navy-900); cursor: pointer; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav.is-open { display: block; }
.nav ul { list-style: none; margin: 0; padding: 8px 20px 16px; }
.nav a { display: block; padding: 12px 4px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav a:hover { color: var(--green-700); }

/* Botões */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: background-color .15s, transform .05s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--green-600); color: #fff; }
.btn--primary:hover { background: var(--green-700); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy-900); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--bg-soft); }
.btn--block { width: 100%; }

/* Hero */
.hero { background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 60%, var(--navy-700) 100%); color: #fff; padding: 40px 0 56px; }
.hero__grid { display: grid; gap: 32px; }
.hero h1 { color: #fff; }
.hero__sub { color: #d5e0f0; font-size: 1.075rem; max-width: 560px; }
.hero__list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; color: #e6edf7; font-size: .95rem; }
.hero__list li { display: flex; gap: 10px; align-items: flex-start; }
.hero__list svg { flex: 0 0 auto; margin-top: 3px; color: #4ade80; }

.card { background: #fff; color: var(--ink); border-radius: 16px; box-shadow: var(--shadow); padding: 24px; }
.cpf-card h2 { font-size: 1.25rem; margin-bottom: 4px; }
.cpf-card__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
.cpf-card__price strong { font-size: 1.6rem; color: var(--navy-900); font-weight: 800; letter-spacing: -.02em; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 6px; }
.field input { width: 100%; height: 52px; padding: 0 14px; font: inherit; font-size: 1.1rem; letter-spacing: .02em; color: var(--ink); background: #fff; border: 1.5px solid #b9c4d6; border-radius: 10px; }
.field input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 3px rgba(27, 65, 122, .18); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.field__error { min-height: 1.4em; margin: 6px 0 10px; color: var(--danger); font-size: .875rem; font-weight: 600; }
.cpf-card__note { margin: 12px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.5; }

/* Passos */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; counter-increment: step; }
.step::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-bottom: 14px; border-radius: 50%; background: var(--navy-900); color: #fff; font-weight: 800; }
.step p { margin: 0; color: var(--muted); }

/* Preço */
.pricing { display: grid; gap: 24px; align-items: start; }
.price-box { border: 2px solid var(--navy-900); border-radius: 16px; padding: 28px 24px; background: #fff; }
.price-box__label { font-weight: 700; color: var(--navy-900); margin: 0 0 6px; }
.price-box__value { font-size: 3rem; font-weight: 800; line-height: 1; color: var(--navy-900); letter-spacing: -.03em; margin: 0 0 6px; }
.price-box__value small { font-size: 1.1rem; font-weight: 700; vertical-align: top; position: relative; top: .5em; margin-right: 4px; }
.price-box__terms { color: var(--muted); font-size: .9rem; margin: 0 0 20px; }
.price-box__free { margin: 16px 0 0; padding: 12px 14px; background: var(--bg-soft); border-radius: 10px; font-size: .85rem; color: var(--ink); }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist svg { flex: 0 0 auto; margin-top: 2px; color: var(--green-600); }
.checklist strong { display: block; color: var(--navy-900); }
.checklist span { color: var(--muted); font-size: .95rem; }

/* Benefícios */
.grid { display: grid; gap: 16px; }
.benefit { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.benefit__icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--green-100); color: var(--green-700); margin-bottom: 14px; }
.benefit p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Depoimentos */
.testimonial { position: relative; background: #fff; border: 1px dashed #b9c4d6; border-radius: var(--radius); padding: 22px; margin: 0; }
.testimonial blockquote { margin: 0 0 14px; color: var(--ink); }
.testimonial figcaption { font-weight: 700; color: var(--navy-900); font-size: .9rem; }
.tag-example { display: inline-block; margin-bottom: 12px; padding: 2px 10px; border-radius: 999px; background: #eaf0f8; color: var(--navy-800); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 48px 18px 20px; font-weight: 700; color: var(--navy-900); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--navy-700); border-bottom: 2px solid var(--navy-700); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq .faq__body { padding: 0 20px 18px; color: var(--muted); }
.faq .faq__body p:last-child { margin-bottom: 0; }

/* CTA / Contato */
.contact { display: grid; gap: 16px; }
.contact__item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.contact__item svg { flex: 0 0 auto; color: var(--green-600); margin-top: 2px; }
.contact__item strong { display: block; color: var(--navy-900); }
.contact__item a, .contact__item span { color: var(--muted); word-break: break-word; }

/* Footer */
.footer { background: var(--navy-900); color: #c9d6e8; font-size: .9rem; padding: 48px 0 24px; }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 28px; }
.footer h2 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer address { font-style: normal; }
.footer .logo { color: #fff; display: inline-block; margin-bottom: 10px; }
.footer .logo span { color: #4ade80; }
.footer__disclaimer { margin-top: 32px; padding: 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius); color: #e6edf7; }
.footer__disclaimer p { margin: 0; }
.footer__copy { margin: 20px 0 0; font-size: .8rem; color: #9fb1cb; }

/* Banner de cookies */
.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 80; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 40px rgba(11, 31, 58, .25); padding: 18px; max-width: 720px; margin: 0 auto; }
.cookie[hidden] { display: none; }
.cookie p { margin: 0 0 14px; font-size: .9rem; color: var(--ink); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie__actions .btn { min-height: 44px; padding: 0 18px; font-size: .9rem; flex: 1 1 160px; }

/* Páginas legais */
.legal { padding: 40px 0 64px; }
.legal .container { max-width: 800px; }
.legal h1 { font-size: clamp(1.7rem, 4.5vw, 2.4rem); }
.legal h2 { font-size: 1.25rem; margin-top: 2em; }
.legal__meta { color: var(--muted); font-size: .9rem; }
.legal__draft { padding: 12px 16px; background: #eaf0f8; border-left: 4px solid var(--navy-700); border-radius: 6px; font-size: .9rem; }
.legal li { margin-bottom: .4em; }

/* Breakpoints */
@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .contact { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .section { padding: 80px 0; }
  .nav-toggle { display: none; }
  .nav { display: block; position: static; border: 0; box-shadow: none; background: none; }
  .nav ul { display: flex; gap: 28px; padding: 0; }
  .nav a { padding: 8px 0; font-size: .95rem; }
  .hero { padding: 72px 0 88px; }
  .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .card { padding: 32px; }
  .pricing { grid-template-columns: .8fr 1.2fr; gap: 48px; }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
