/* Nítido · Relatórios Jurídicos — estilos do site (paleta: marinho, âmbar e papel) */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/inter/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('/static/fonts/inter/inter-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/static/fonts/inter/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/static/fonts/inter/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/static/fonts/dm-serif/dm-serif-display-latin-400-normal.woff2') format('woff2'); }

:root {
  --navy: #0E2238;
  --navy-2: #1B3654;
  --navy-3: #3A5372;
  --amber: #F4A62A;
  --amber-hover: #E59A1F;
  --amber-ink: #7A4A00;
  --amber-text: #8A5300;
  --bg: #F6F4EF;
  --paper: #FFFFFF;
  --line: #E2DDD3;
  --line-2: #ECE8E0;
  --muted: #4A5568;
  --muted-on-navy: #C9D3DF;
  --tint-amber: #FFF6E5;
  --tint-amber-2: #FFF1D6;
  --tint-blue: #E3ECF6;
  --ok: #1F6E46;
  --ok-bg: #E6F4EC;
  --err: #B42318;
  --err-bg: #FDECEA;
  --radius: 16px;
  --shadow: 0 12px 32px rgba(14, 34, 56, 0.08);
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: Inter, 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(--bg); color: var(--navy); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img, svg { max-width: 100%; }
a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--amber-text); }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
h1, h2, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 760px; margin: 0 auto; padding: 0 24px; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-mark { width: 36px; height: 36px; flex: none; }
.brand-name { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -0.01em; }
.brand-name .dot { color: var(--amber); }
.brand-sub { font-size: 12px; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; line-height: 1.2; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:not(.btn):hover { color: var(--amber-text); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 52px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 10px; display: flex; flex-direction: column; min-width: 220px; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; }
.menu-panel a:hover { background: var(--bg); }

/* ---------- Botões ---------- */
.btn { --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--h); padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent; font: 600 15px/1 var(--sans); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.05s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-hover); color: var(--navy); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: transparent; border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-light:hover { background: #fff; color: var(--navy); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-lg { --h: 56px; padding: 0 30px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-link { background: none; border: 0; padding: 0; min-height: 0; color: var(--navy); text-decoration: underline; font-weight: 500; cursor: pointer; font-size: 14px; }
.btn[disabled], .btn.is-disabled { opacity: 0.45; cursor: not-allowed; transform: none; }
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ''; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid var(--navy); border-right-color: transparent; animation: spin 0.7s linear infinite; }
.btn-dark.is-loading::after { border-color: #fff; border-right-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Seções ---------- */
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-white { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-navy { background: var(--navy); color: #fff; }
.eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-text); }
.section-navy .eyebrow { color: var(--amber); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); margin: 10px 0 14px; max-width: 760px; }
.section-lead { font-size: 18px; color: var(--muted); max-width: 680px; }
.section-head { margin-bottom: 44px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.tiny { font-size: 12px; }

/* ---------- Herói ---------- */
.hero { background: var(--navy); color: #fff; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 64px; align-items: center; padding-top: 80px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.2rem); line-height: 1.04; margin: 22px 0 22px; }
.hero h1 em { font-style: normal; color: var(--amber); }
.hero .lead { font-size: 19px; color: var(--muted-on-navy); max-width: 600px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 500; }
.chip-navy { background: var(--navy-2); color: #fff; }
.chip-amber { background: var(--navy-2); color: var(--amber); font-weight: 600; }
.trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.trust svg { flex: none; }

.preview { position: relative; padding: 18px 18px 0 0; }
.preview::before { content: ''; position: absolute; inset: 0 0 24px 32px; background: var(--amber); border-radius: 20px; }
.preview-card { position: relative; background: var(--paper); color: var(--navy); border-radius: 16px; padding: 28px; transform: rotate(-2deg); box-shadow: 0 24px 48px rgba(4, 12, 24, 0.35); display: grid; gap: 14px; }
.preview-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 2px solid var(--navy); padding-bottom: 10px; }
.preview-head span:first-child { font-family: var(--serif); font-size: 24px; }
.preview-row { display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: 14px; }
.pill { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill-amber { background: var(--tint-amber-2); color: var(--amber-ink); }
.pill-blue { background: var(--tint-blue); color: var(--navy); }
.pill-gray { background: #EDEAE3; color: #3D4654; }
.preview-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
.stamp { border: 2px solid var(--amber); color: var(--amber-ink); font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }

/* ---------- Benefícios ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.benefit { display: grid; gap: 10px; align-content: start; }
.benefit-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--tint-amber-2); display: grid; place-items: center; }
.benefit strong { font-size: 17px; }

/* ---------- Cartões de relatório ---------- */
.reports { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.report-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; transition: box-shadow 0.2s, transform 0.2s; }
.report-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.report-card h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; }
.report-card .tagline { color: var(--muted); }
.report-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-2); }
.price { font-family: var(--serif); font-size: 34px; line-height: 1; }
.price-note { font-size: 13px; color: var(--muted); margin-top: 6px; }
.card-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.discount-card { background: var(--amber); border-radius: 20px; padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.discount-card h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1.05; }

/* ---------- Passos ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; counter-reset: step; }
.steps li { display: grid; gap: 10px; align-content: start; }
.steps li::before { counter-increment: step; content: counter(step); width: 52px; height: 52px; border-radius: 50%; background: var(--amber); color: var(--navy); display: grid; place-items: center; font-family: var(--serif); font-size: 26px; }
.steps strong { font-size: 17px; }

/* ---------- Perguntas frequentes ---------- */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 40px 22px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 26px; font-weight: 400; color: var(--amber-text); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 820px; }

/* ---------- Faixa de chamada ---------- */
.cta-band .wrap { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; padding-top: 72px; padding-bottom: 72px; }
.cta-band h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 680px; }
.cta-band h2 em { font-style: normal; color: var(--amber); }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 48px 0 56px; font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; }
.site-footer nav { display: grid; gap: 8px; align-content: start; }
.site-footer .brand-name { font-size: 24px; color: var(--navy); }
.footer-legal { display: grid; gap: 8px; margin-top: 12px; }

/* ---------- Página de relatórios ---------- */
.page-head { padding: 56px 0 24px; }
.page-head h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 10px 0 12px; }
.product { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 40px; background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 40px; margin-bottom: 28px; scroll-margin-top: 96px; }
.product h2 { font-size: 36px; margin: 8px 0 10px; }
.product .tagline { font-size: 18px; color: var(--muted); }
.product h3 { font-size: 15px; font-weight: 700; margin: 26px 0 10px; }
.product ul { margin: 0; padding-left: 20px; }
.product li { margin-bottom: 6px; }
.buy-box { background: var(--tint-amber); border-radius: 18px; padding: 24px; display: grid; gap: 14px; align-self: start; position: sticky; top: 96px; }
.doc-rules { list-style: none; padding: 0 !important; display: grid; gap: 10px; }
.doc-rules li { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: 12px; margin: 0 !important; }
.doc-rules .doc-desc { display: block; color: var(--muted); font-size: 13px; }

/* ---------- Formulários ---------- */
.form-grid { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: 15px; }
.req { color: var(--err); font-weight: 700; }
.hint { font-size: 13px; color: var(--muted); }
.input, .field input[type='text'], .field input[type='email'], .field input[type='tel'], .field input[type='date'], .field input[type='number'], .field input[type='password'], .field input[type='search'], .field select, .field textarea {
  width: 100%; min-height: 48px; border: 1.5px solid #CFC9BD; border-radius: 12px; background: #fff; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--navy);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(244, 166, 42, 0.45); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: 13px; font-weight: 500; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid #CFC9BD; border-radius: 999px; padding: 10px 16px; cursor: pointer; font-weight: 500; background: #fff; }
.radio-row input { accent-color: var(--navy); width: 18px; height: 18px; }
.radio-row label:has(input:checked) { border-color: var(--navy); background: var(--tint-blue); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--navy); flex: none; }

/* ---------- Checkout ---------- */
.stepper { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 32px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); font-weight: 500; }
.stepper li + li::before { content: ''; width: 28px; height: 1.5px; background: var(--line); margin-right: 2px; }
.stepper .num { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #CFC9BD; display: grid; place-items: center; font-weight: 700; font-size: 13px; background: #fff; }
.stepper .done .num { background: var(--navy); border-color: var(--navy); color: #fff; }
.stepper .active { color: var(--navy); font-weight: 700; }
.stepper .active .num { background: var(--amber); border-color: var(--amber); color: var(--navy); }
.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; padding: 40px 0 88px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 32px; }
.panel h1 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 8px; }
.panel h2 { font-size: 26px; margin-bottom: 8px; }
.summary { position: sticky; top: 96px; display: grid; gap: 16px; }
.summary dl { margin: 0; display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; text-align: right; }
.total-row { border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between; align-items: baseline; }
.total-row .price { font-size: 32px; }
.data-list { display: grid; gap: 12px; margin: 0; }
.data-list div { display: grid; grid-template-columns: 160px 1fr; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2); }
.data-list dt { color: var(--muted); }
.data-list dd { margin: 0; font-weight: 600; word-break: break-word; }
.inline-form { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.inline-form .field { flex: 1 1 220px; }

/* ---------- Pagamento ---------- */
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.tab { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 16px; font: 600 15px var(--sans); color: var(--muted); cursor: pointer; min-height: 48px; }
.tab[aria-selected='true'] { color: var(--navy); border-bottom-color: var(--amber); }
.pix-box { display: grid; grid-template-columns: 240px 1fr; gap: 24px; align-items: start; }
.qr { width: 240px; height: 240px; border: 1px solid var(--line); border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.qr img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.copy-field { display: flex; gap: 8px; }
.copy-field input, .copy-field textarea { flex: 1; min-width: 0; font: 500 13px/1.4 ui-monospace, SFMono-Regular, Menlo, monospace; border: 1.5px solid #CFC9BD; border-radius: 12px; padding: 12px; background: var(--bg); color: var(--navy); }
.copy-field textarea { resize: none; height: 96px; }
.pix-key { font: 700 20px/1.2 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.02em; }
.waiting { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.waiting::before { content: ''; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--amber); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.alt-pay { margin-top: 24px; border: 1px dashed #B9B2A4; border-radius: 16px; padding: 4px 20px; }
.alt-pay summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.alt-pay[open] { padding-bottom: 20px; }

/* ---------- Alertas ---------- */
.alert { border-radius: 14px; padding: 14px 18px; font-size: 15px; display: block; }
.alert-sucesso { background: var(--ok-bg); color: var(--ok); }
.alert-erro { background: var(--err-bg); color: var(--err); }
.alert-info { background: var(--tint-blue); color: var(--navy); }
.alert-aviso { background: var(--tint-amber-2); color: var(--amber-ink); }
.flash-wrap { margin-top: 24px; }

/* ---------- Página do pedido ---------- */
.order-head { padding: 40px 0 8px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: flex-end; }
.order-head h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-top: 6px; }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; padding: 24px 0 88px; }
.status-badge { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px; background: var(--tint-amber-2); color: var(--amber-ink); }
.status-badge.ok { background: var(--ok-bg); color: var(--ok); }
.status-badge.off { background: #EDEAE3; color: #3D4654; }
.stack { display: grid; gap: 24px; }
.action-card h2 { font-size: 26px; margin: 0 0 8px; }
.action-card .actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { position: relative; padding: 0 0 18px 34px; font-size: 14px; color: var(--muted); }
.timeline li::before { content: ''; position: absolute; left: 7px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline .dot { position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #CFC9BD; background: #fff; }
.timeline .feito { color: var(--navy); }
.timeline .feito .dot { background: var(--navy); border-color: var(--navy); }
.timeline .feito::before { background: var(--navy); }
.timeline .atual { color: var(--navy); font-weight: 700; }
.timeline .atual .dot { background: var(--amber); border-color: var(--amber); box-shadow: 0 0 0 4px var(--tint-amber-2); }
.timeline time { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }

.progress-wrap { display: grid; gap: 8px; }
.progress-top { display: flex; justify-content: space-between; font-weight: 600; font-size: 15px; }
progress { width: 100%; height: 12px; border-radius: 999px; overflow: hidden; border: 0; background: var(--line-2); appearance: none; -webkit-appearance: none; }
progress::-webkit-progress-bar { background: var(--line-2); border-radius: 999px; }
progress::-webkit-progress-value { background: var(--amber); border-radius: 999px; transition: width 0.3s; }
progress::-moz-progress-bar { background: var(--amber); border-radius: 999px; }
progress.done::-webkit-progress-value { background: var(--ok); }
progress.done::-moz-progress-bar { background: var(--ok); }

.part-title { display: flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 700; margin: 8px 0 4px; }
.part-title .n { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 14px; }
.save-state { font-size: 13px; color: var(--muted); min-height: 20px; }
.save-state.is-error { color: var(--err); }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.checklist li { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.checklist .ic { width: 20px; height: 20px; border-radius: 50%; flex: none; display: grid; place-items: center; border: 2px solid #CFC9BD; }
.checklist .ok .ic { background: var(--ok); border-color: var(--ok); }
.checklist .ok .ic::after { content: ''; width: 8px; height: 5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); }
.checklist .bad .ic { border-color: var(--err); }

.docs { display: grid; gap: 14px; }
.doc { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px; background: #fff; display: grid; gap: 12px; }
.doc.is-done { border-color: #B7DCC6; background: #FBFEFC; }
.doc.is-rejected { border-color: #F3B8B2; background: #FFFBFA; }
.doc-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.doc-head h4 { font-size: 16px; margin-bottom: 2px; }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.badge-req { background: var(--tint-amber-2); color: var(--amber-ink); }
.badge-opt { background: #EDEAE3; color: #3D4654; }
.badge-ok { background: var(--ok-bg); color: var(--ok); }
.badge-err { background: var(--err-bg); color: var(--err); }
.badge-info { background: var(--tint-blue); color: var(--navy); }
.file-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.file-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--bg); border-radius: 12px; font-size: 14px; flex-wrap: wrap; }
.file-name { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1 1 200px; }
.file-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.thumb { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--muted); }
.file-actions { display: flex; gap: 12px; align-items: center; }
.file-note { flex-basis: 100%; color: var(--err); font-size: 13px; }
.upload-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.upload-progress { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.doc-error { color: var(--err); font-size: 13px; font-weight: 500; }
.submit-box { border-top: 1px solid var(--line); padding-top: 20px; display: grid; gap: 12px; }

.side-card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 24px; }
.side-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.kv { display: grid; gap: 10px; margin: 0; font-size: 14px; }
.kv div { display: flex; justify-content: space-between; gap: 12px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; text-align: right; }
.history { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14px; }
.history time { display: block; font-size: 12px; color: var(--muted); }
.coupon-box { background: var(--amber); border-radius: 16px; padding: 20px; display: grid; gap: 6px; }
.coupon-code { font: 700 22px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.04em; }

.success-hero { text-align: center; padding: 64px 0 24px; display: grid; gap: 14px; justify-items: center; }
.success-icon { width: 72px; height: 72px; border-radius: 50%; background: var(--ok-bg); display: grid; place-items: center; }
.next-steps { counter-reset: n; list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.next-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.next-steps li::before { counter-increment: n; content: counter(n); width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 14px; }

.legal { padding: 48px 0 88px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 8px; }
.legal h2 { font-family: var(--sans); font-size: 19px; font-weight: 700; margin: 32px 0 10px; letter-spacing: 0; }
.legal p, .legal li { color: #2A3647; margin-bottom: 10px; }
.legal ul { padding-left: 22px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; padding-bottom: 72px; }
  .preview { max-width: 460px; }
  .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product { grid-template-columns: 1fr; padding: 28px; }
  .buy-box { position: static; }
  .checkout, .order-grid { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .menu { display: block; }
  .brand-sub { display: none; }
  .section { padding: 64px 0; }
  .benefits, .steps { grid-template-columns: 1fr; }
  .reports { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .pix-box { grid-template-columns: 1fr; justify-items: center; }
  .pix-box > div { width: 100%; }
  .panel { padding: 22px; border-radius: 18px; }
  .data-list div { grid-template-columns: 1fr; gap: 2px; }
  .product h2 { font-size: 30px; }
  .doc-head { flex-direction: column; }
  .wrap, .wrap-narrow { padding: 0 18px; }
}

/* Documentos opcionais e escolha de como seguir (área do pedido) */
.alert-info-doc { background: var(--tint-blue); color: var(--navy); }
.mode-choice { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; min-width: 0; }
.mode-option { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s; }
.mode-option:hover { border-color: var(--navy-3); }
.mode-option:has(input:checked) { border-color: var(--amber); background: var(--tint-amber); box-shadow: 0 0 0 3px rgba(244, 166, 42, .18); }
.mode-option input { margin: 3px 0 0; width: 18px; height: 18px; accent-color: var(--navy); }
.mode-option strong { display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 15.5px; }
.mode-option .mode-desc { display: block; font-size: 14px; color: var(--muted); margin-top: 4px; line-height: 1.5; }
.checklist .todo .ic { border-color: var(--amber); }
.checklist .sub { padding-left: 22px; font-size: 13.5px; }

/* ---------- Perguntas rápidas (antes do pagamento) ---------- */
.quiz { display: grid; gap: 24px; margin-top: 22px; }
.quiz-q { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.quiz-item + .quiz-item { border-top: 1px solid var(--line-2); padding-top: 22px; }
.quiz-q legend { padding: 0; margin-bottom: 6px; font-weight: 700; font-size: 17px; line-height: 1.35; }
.quiz-q .hint { margin: -6px 0 0; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.quiz-opt { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; font-weight: 500; font-size: 15px; line-height: 1.4; transition: border-color .15s, background .15s, box-shadow .15s; }
.quiz-opt:hover { border-color: var(--navy-3); }
.quiz-opt:has(input:checked) { border-color: var(--amber); background: var(--tint-amber); box-shadow: 0 0 0 3px rgba(244, 166, 42, .18); }
.quiz-opt input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--navy); flex: none; }
.quiz-q.has-error .quiz-opt { border-color: #F3B8B2; }

/* Prévia personalizada do relatório */
.preview-case { background: var(--navy); color: #fff; border-radius: 20px; padding: 28px 30px; display: grid; gap: 14px; }
.preview-case .eyebrow { color: var(--amber); }
.preview-case h2 { color: #fff; font-size: clamp(1.5rem, 2.6vw, 1.9rem); }
.preview-case a { color: #fff; }
.preview-note { color: var(--muted-on-navy); }
.insights { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.insights li { position: relative; padding-left: 32px; font-size: 15px; line-height: 1.5; }
.insights li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--amber); }
.insights li::after { content: ''; position: absolute; left: 6px; top: 8px; width: 8px; height: 5px; border-left: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(-45deg); }
.case-summary h3 { margin: 18px 0 10px; }
.case-list { margin: 0; display: grid; gap: 10px; }
.case-list div { display: grid; gap: 2px; padding-bottom: 10px; border-bottom: 1px solid var(--line-2); }
.case-list div:last-child { border-bottom: 0; padding-bottom: 0; }
.case-list dt { color: var(--muted); font-size: 14px; }
.case-list dd { margin: 0; font-weight: 600; }
.case-list.compact dt { font-size: 13px; }
.case-list.compact dd { font-size: 14px; }
.coupon-note { background: var(--tint-amber); border-radius: 10px; padding: 8px 12px; margin-top: 10px; color: var(--amber-ink); }

/* Cupom de parceiro ativo (link de divulgação) */
.promo-bar { background: var(--amber); color: var(--navy); text-align: center; font-size: 14px; font-weight: 500; padding: 8px 16px; }

/* Contato da Nítido (depois do pagamento) */
.contact-card .contact-phone { font-family: var(--serif); font-size: 26px; line-height: 1.1; margin: 10px 0 12px; }
.contact-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.contact-card p + p { margin-top: 6px; }
.btn-whatsapp { background: var(--ok); color: #fff; }
.btn-whatsapp:hover { background: #185837; color: #fff; }
.contact-inline { margin-top: 8px; }

/* Conta do cliente (obrigatória na contratação) */
.account-card p { margin-bottom: 12px; }
.account-card .account-more { margin-top: 4px; }
.access-box { border: 1px solid var(--line); border-radius: 16px; background: var(--bg); padding: 18px 18px 20px; margin: 4px 0 0; min-width: 0; display: grid; gap: 16px; }
.access-box legend { float: left; width: 100%; padding: 0; margin: 0; font-weight: 700; font-size: 16px; }
.access-box legend + * { clear: both; }
.inline-note { margin-top: 6px; }
.stack-sm { display: grid; gap: 10px; }
.account-form { display: grid; gap: 12px; }
.account-form .field label { font-size: 14px; }
.account-form input { min-height: 44px !important; }
.account-more { margin-top: 14px; border-top: 1px solid var(--line-2); padding-top: 10px; }
.account-more summary { cursor: pointer; font-weight: 600; }
.account-more[open] summary { margin-bottom: 12px; }
.auth-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
.auth-grid h2 { margin-bottom: 14px; }
.orders-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.orders-list li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.orders-list li > div { display: grid; gap: 2px; min-width: 0; }
@media (max-width: 760px) {
  .auth-grid { grid-template-columns: 1fr; }
  .orders-list li { grid-template-columns: 1fr; justify-items: start; }
  .preview-case { padding: 22px; }
  .quiz-opts { grid-template-columns: 1fr; }
}

/* Espaçamentos da contratação */
.checkout > div > .panel + .panel { margin-top: 20px; }
.panel > .form-grid { margin-top: 20px; }
.panel > .alert { margin-top: 16px; }
.panel > .data-list { margin-top: 18px; }
@media (max-width: 760px) {
  .stepper { gap: 6px; margin-bottom: 24px; }
  .stepper li + li::before { width: 14px; }
  .stepper li:not(.active) .step-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.auth-grid .panel > p + .btn { margin-top: 10px; }
