/* Fontes hospedadas no próprio site (sem requisições ao Google). Licença: SIL Open Font License 1.1 (ver fonts/LICENCAS.md). */
@font-face { font-family: "Bitter"; font-style: normal; font-weight: 600 700; font-display: swap; src: url("/fonts/bitter-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Public Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/public-sans-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* Eutaxia — folha de estilo única, sem dependências.
   Tokens: papel frio, azul de carimbo, pardo de pasta (só filete), vermelho de prazo. */
:root {
  --paper: #f4f5f8;
  --white: #ffffff;
  --ink: #1a1c24;
  --muted: #565b6b;
  --blue: #2433a6;
  --blue-dark: #1a2682;
  --blue-soft: #e6e9f8;
  --pardo: #a9824a;
  --red: #b5301f;
  --line: #d5d8e2;
  --radius: 3px;
  --maxw: 1100px;
  --read: 720px;
  --display: "Bitter", Georgia, "Times New Roman", serif;
  --text: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.7; font-kerning: normal; font-variant-ligatures: common-ligatures; text-rendering: optimizeLegibility; }
p, li, dd, blockquote { text-wrap: pretty; }
.tl .p, .stage-table, .meta, .post-list .m, .defn .st { font-variant-numeric: lining-nums tabular-nums; }
.print-only { display: none; }
img, svg { max-width: 100%; display: block; }
a { color: var(--blue); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--blue-dark); text-decoration-thickness: 2px; }
h1, h2, h3 { text-wrap: balance; font-family: var(--display); font-weight: 700; line-height: 1.18; color: var(--ink); margin: 0 0 .55em; letter-spacing: -.012em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.95rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--blue); color: #fff; padding: 10px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Cabeçalho */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.4rem; line-height: 1; display: block; letter-spacing: -.01em; }
.brand-sub { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; line-height: 1; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; color: var(--ink); font-size: .95rem; font-weight: 500; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); }
.nav .btn, .nav .btn:hover { color: #fff; box-shadow: none; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 22px; height: 22px; }

/* Botões */
.btn { display: inline-block; background: var(--blue); color: #fff; padding: 12px 22px; border-radius: var(--radius); font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid var(--blue); cursor: pointer; font-family: var(--text); line-height: 1.2; }
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); color: var(--blue-dark); border-color: var(--blue-dark); }
.btn-sm { padding: 8px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Hero e linha do processo */
.hero { background: var(--paper); border-bottom: 1px solid var(--line); padding: 64px 0 56px; }
.hero h1 { max-width: 15em; }
.lead { font-size: 1.2rem; color: #333746; max-width: 38em; line-height: 1.6; }
.tl-wrap { margin-top: 52px; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 18px; counter-reset: etapa; }
.tl li { position: relative; padding-top: 34px; counter-increment: etapa; }
.tl li::before { content: ""; position: absolute; top: 12px; left: 0; right: -18px; height: 3px; background: var(--blue); transform-origin: left; }
.tl li:last-child::before { display: none; }
.tl li::after { content: counter(etapa); position: absolute; top: 0; left: 0; width: 27px; height: 27px; background: var(--white); border: 3px solid var(--blue); border-radius: 50%; font: 700 .85rem/21px var(--display); text-align: center; color: var(--blue); }
.tl .t { display: block; font-family: var(--display); font-weight: 700; font-size: 1.02rem; line-height: 1.25; margin-bottom: 4px; }
.tl .d { display: block; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.tl .p { display: block; margin-top: 8px; font-size: .86rem; font-weight: 600; color: var(--red); line-height: 1.35; }
.tl-span { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0 18px; margin-top: 18px; }
.tl-span div { grid-column: 1 / 6; border: 2px solid var(--red); border-top: 0; padding: 6px 10px 0; font-size: .86rem; font-weight: 600; color: var(--red); height: 34px; }
.tl .only-m { display: none; }
.tl-note { margin: 22px 0 0; max-width: 46em; font-size: .9rem; color: var(--muted); }

/* Seções */
section { padding: 64px 0; }
.alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 30px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0; }
.stage-table { width: 100%; border-collapse: collapse; }
.stage-table th, .stage-table td { text-align: left; vertical-align: top; padding: 16px 0; border-top: 1px solid var(--line); }
.stage-table tr:last-child th, .stage-table tr:last-child td { border-bottom: 1px solid var(--line); }
.stage-table th { width: 30%; font-family: var(--display); font-weight: 700; font-size: 1.05rem; padding-right: 24px; }
.stage-table th span { display: block; font-family: var(--text); font-weight: 400; font-size: .86rem; color: var(--muted); margin-top: 3px; }
.stage-table td ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.stage-table td li { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.defn { margin: 0; }
.defn dt { font-family: var(--display); font-weight: 700; margin-top: 18px; }
.defn dt:first-child { margin-top: 0; }
.defn dd { margin: 2px 0 0; color: var(--muted); }
.defn .st { font-family: var(--text); color: var(--red); font-weight: 600; font-size: .86rem; margin-left: 8px; }
.entry { border-left: 3px solid var(--pardo); padding: 2px 0 2px 22px; }
.entry .w { font-family: var(--display); font-size: 1.9rem; font-weight: 700; margin: 0; line-height: 1.1; }
.entry .c { color: var(--muted); font-size: .9rem; margin: 4px 0 12px; }
.entry .m { font-family: var(--display); font-size: 1.15rem; line-height: 1.45; margin: 0 0 12px; }
.entry .n { color: var(--muted); font-size: .95rem; margin: 0; }
.cta-band { background: var(--blue); color: #e9ecfb; padding: 56px 0; }
.cta-band h2 { color: #fff; max-width: 20em; }
.cta-band p { color: #d5daf6; max-width: 38em; }
.cta-band .btn { background: #fff; color: var(--blue-dark); border-color: #fff; }
.cta-band .btn:hover { background: var(--blue-soft); border-color: var(--blue-soft); }
.cta-band .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.cta-band .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }

/* Páginas internas */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding: 44px 0 36px; }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.9rem); max-width: 20em; }
.page-head p { color: #333746; font-size: 1.12rem; max-width: 40em; margin: 0; line-height: 1.6; }
.crumbs { font-size: .86rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); }
.prose { max-width: var(--read); margin: 0 auto; padding: 44px 20px 72px; }
.prose h2 { margin-top: 2.1em; font-size: 1.55rem; scroll-margin-top: 84px; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.meta { font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.answer-box { border-left: 4px solid var(--blue); background: var(--blue-soft); padding: 18px 22px; margin: 0 0 2em; }
.answer-box strong.t { display: block; font-family: var(--display); font-size: 1.05rem; color: var(--blue-dark); margin-bottom: 4px; }
.answer-box p:last-child { margin: 0; }
.note-box { border-left: 4px solid var(--pardo); background: var(--paper); padding: 16px 20px; margin: 1.6em 0; font-size: .97rem; }
.note-box p:last-child { margin: 0; }
.steps { list-style: none; counter-reset: s; padding: 0 !important; }
.steps > li { counter-increment: s; position: relative; padding: 0 0 0 54px; margin-bottom: 1.4em; }
.steps > li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border: 3px solid var(--blue); border-radius: var(--radius); color: var(--blue); font: 700 1.1rem/32px var(--display); text-align: center; }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 28px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; top: -2px; font: 400 1.5rem/1.4 var(--text); color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 10px 0 0; color: #333746; }
.related { margin-top: 2.4em; padding-top: 1.6em; border-top: 1px solid var(--line); }
.related h2 { font-size: 1.2rem; margin-top: 0; }
.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li { border-top: 1px solid var(--line); }
.post-list li:last-child { border-bottom: 1px solid var(--line); }
.post-list a.post { display: block; text-decoration: none; color: inherit; padding: 22px 0; }
.post-list a.post:hover .t { color: var(--blue); text-decoration: underline; }
.post-list .t { font-family: var(--display); font-size: 1.3rem; font-weight: 700; color: var(--ink); display: block; margin-bottom: 6px; line-height: 1.25; }
.post-list .d { color: var(--muted); display: block; }
.post-list .m { font-size: .86rem; color: var(--red); font-weight: 600; display: block; margin-top: 8px; }

/* Checklist */
.check-phase { padding: 0; margin-top: 2em; scroll-margin-top: 84px; }
.check-phase h2 { font-size: 1.35rem; border-bottom: 3px solid var(--blue); padding-bottom: 8px; margin-bottom: 4px; }
.check-list { list-style: none; padding: 0 !important; margin: 0; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--line); margin: 0; }
.check-list li::before { content: ""; flex: none; width: 18px; height: 18px; border: 2px solid var(--blue); border-radius: 2px; margin-top: 4px; }
.check-list small { display: block; color: var(--muted); font-size: .85rem; }

/* Formulários */
.form { display: grid; gap: 16px; max-width: 540px; }
.form label { font-weight: 600; font-size: .93rem; display: grid; gap: 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel], .form select, .form textarea {
  font: inherit; padding: 11px 13px; border: 1px solid #9aa0b4; border-radius: var(--radius); background: #fff; color: var(--ink); width: 100%;
}
.form textarea { min-height: 130px; resize: vertical; }
.form input:focus-visible, .form select:focus-visible, .form textarea:focus-visible, .btn:focus-visible, a:focus-visible, summary:focus-visible, .nav-toggle:focus-visible { outline: 3px solid #f0b8aa; outline-offset: 2px; }
.form .consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; color: var(--muted); }
.form .consent input { margin-top: 5px; }
.form .hp { position: absolute; left: -9999px; }
.form-msg { display: none; padding: 12px 14px; border-radius: var(--radius); font-weight: 600; }
.form-msg.ok { display: block; background: var(--blue-soft); color: var(--blue-dark); }
.form-msg.err { display: block; background: #fbe3de; color: var(--red); }
.pill-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.pill-list li { border-left: 3px solid var(--pardo); padding-left: 14px; }

/* Rodapé */
.site-footer { background: var(--paper); border-top: 4px solid var(--blue); color: var(--muted); padding: 44px 0 26px; font-size: .94rem; }
.site-footer a { color: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; margin-bottom: 28px; }
.site-footer h3 { font-family: var(--text); font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .brand { margin-bottom: 12px; }
.legal { border-top: 1px solid var(--line); padding-top: 18px; font-size: .84rem; }
.legal p { margin: 0 0 8px; }

/* Movimento: uma só animação, na carga (a linha do processo se desenha). */
@media (prefers-reduced-motion: no-preference) {
  .tl li::before { animation: draw .7s ease-out both; }
  .tl li:nth-child(2)::before { animation-delay: .12s; }
  .tl li:nth-child(3)::before { animation-delay: .24s; }
  .tl li:nth-child(4)::before { animation-delay: .36s; }
  .tl li:nth-child(5)::before { animation-delay: .48s; }
  .tl li:nth-child(6)::before { animation-delay: .6s; }
  @keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Responsivo */
@media (max-width: 960px) {
  .tl { grid-template-columns: 1fr; gap: 0; }
  .tl li { padding: 0 0 22px 46px; }
  .tl li::before { top: 0; bottom: 0; left: 12px; right: auto; width: 3px; height: auto; animation: none; }
  .tl li:last-child::before { display: block; bottom: 60%; }
  .tl li::after { top: 0; }
  .tl-span { display: none; }
  .tl .only-m { display: block; }
  .split, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding: 44px 0 40px; }
  section { padding: 50px 0; }
  .stage-table th { width: 36%; }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { box-shadow: none; }
  .nav .btn { margin-top: 12px; text-align: center; border-bottom: 2px solid var(--blue); }
  .stage-table, .stage-table tbody, .stage-table tr, .stage-table th, .stage-table td { display: block; width: 100%; }
  .stage-table th { padding: 16px 0 4px; border-top: 1px solid var(--line); }
  .stage-table td { border: 0 !important; padding: 0 0 16px; }
  body { font-size: 16.5px; }
}
@media print {
  @page { size: A4; margin: 18mm 16mm; }
  .site-header, .site-footer, .cta-band, .no-print, .skip { display: none !important; }
  .print-only { display: block; }
  body { font-size: 11.5pt; line-height: 1.5; background: #fff; color: #000; }
  .prose { padding: 0; max-width: none; margin: 0; }
  .page-head { background: none; border: 0; padding: 0 0 10px; }
  .page-head .container { padding: 0; max-width: none; }
  .page-head p, .crumbs { display: none; }
  .page-head h1 { font-size: 22pt; margin: 0 0 4pt; max-width: none; }
  .print-id { font-size: 9pt; color: #444; margin: 0 0 14pt; padding-bottom: 6pt; border-bottom: 1px solid #999; }
  .check-phase { break-inside: avoid; margin-top: 14pt; }
  .check-phase h2 { font-size: 13pt; border-bottom: 2px solid #000; margin-bottom: 2pt; }
  .check-list li { padding: 6pt 0; break-inside: avoid; border-bottom: 1px solid #bbb; }
  .check-list li::before { border: 1.5px solid #000; width: 13pt; height: 13pt; margin-top: 2pt; }
  .check-list small { color: #333; font-size: 9.5pt; }
  .note-box { border-left: 3px solid #000; background: none; font-size: 9.5pt; break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
}
}
