/* Caixa Entrada — folha de estilos principal */
@font-face { font-family: "Inter"; src: url("../fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --bg: #f5f7fb;
  --bg-soft: #eef2f9;
  --surface: #ffffff;
  --deep: #0d1b36;
  --btn: #1f5eff;
  --btn-h: #1449d6;
  --ink: #0d1b36;
  --ink-2: #3a4863;
  --muted: #5a667d;
  --line: #e2e8f2;
  --line-2: #d3dbe8;
  --brand: #1f5eff;
  --brand-600: #1449d6;
  --brand-50: #eaf0ff;
  --brand-100: #d6e2ff;
  --accent: #ff6b3d;
  --accent-50: #fff0ea;
  --ok: #0f9d63;
  --ok-50: #e6f6ee;
  --warn: #d98a00;
  --warn-50: #fff5df;
  --fail: #e0363c;
  --fail-50: #fdecec;
  --info: #5b6b86;
  --info-50: #eef1f6;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(13, 27, 54, .06), 0 1px 1px rgba(13, 27, 54, .04);
  --shadow: 0 10px 30px -12px rgba(13, 27, 54, .18), 0 2px 6px rgba(13, 27, 54, .05);
  --shadow-lg: 0 30px 60px -20px rgba(20, 50, 130, .30), 0 8px 18px -8px rgba(13, 27, 54, .12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Bricolage", "Inter", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --maxw: 1160px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1224; --bg-soft: #0f1a31; --surface: #111d36; --deep: #15254a; --btn: #2a5ee8; --btn-h: #3a6df2; --ink: #eef3ff; --ink-2: #c3cde2; --muted: #8e9bb6;
    --line: #1f2d4b; --line-2: #2a3b5f; --brand: #5b8cff; --brand-600: #7aa2ff; --brand-50: #14254a; --brand-100: #1b3266;
    --accent-50: #3a1f16; --ok-50: #0f2d22; --warn-50: #33280f; --fail-50: #3a1719; --info-50: #1a2540;
    --shadow: 0 10px 30px -12px rgba(0, 0, 0, .55); --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16.5px; line-height: 1.65; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-600); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: .9em; background: var(--bg-soft); border: 1px solid var(--line); padding: .08em .38em; border-radius: 6px; }
::selection { background: var(--brand-100); }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--deep); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 780px; }
.section { padding: 84px 0; }
.section-sm { padding: 56px 0; }
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { color: var(--ink-2); font-size: 1.1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--brand-600); background: var(--brand-50); border: 1px solid var(--brand-100); padding: 5px 12px; border-radius: 999px; margin-bottom: 18px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(15, 157, 99, .18); }
.muted { color: var(--muted); }
.center { text-align: center; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo svg { width: 34px; height: 34px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--bg-soft); color: var(--ink); }
.nav .lang { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; border: 1px solid var(--line-2); }
.nav .btn { margin-left: 6px; }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 10px; width: 42px; height: 40px; cursor: pointer; color: var(--ink); }
@media (max-width: 860px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 20px 20px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 6px 0 0; justify-content: center; }
}

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: .98rem; line-height: 1; padding: 13px 20px; border-radius: 12px; border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: transform .08s, background .15s, box-shadow .15s, color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--btn); color: #fff; box-shadow: 0 6px 16px -6px rgba(31, 94, 255, .6); }
.btn-primary:hover { background: var(--btn-h); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--bg-soft); color: var(--ink); }
.btn-sm { padding: 8px 12px; font-size: .86rem; border-radius: 9px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 64px 0 90px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background:
  radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
  radial-gradient(700px 380px at -10% 20%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%);
  pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 .hl { background: linear-gradient(100deg, var(--brand) 10%, #7a5cff 60%, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.2rem; color: var(--ink-2); max-width: 560px; margin-bottom: 28px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; filter: drop-shadow(0 30px 40px rgba(20, 50, 130, .18)); }
@media (max-width: 940px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { max-width: 460px; margin: 0 auto; order: -1; } .hero { padding-top: 32px; } }

.check-form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 8px; box-shadow: var(--shadow-lg); display: flex; gap: 8px; max-width: 580px; }
.check-form label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.check-form .field { flex: 1; display: flex; align-items: center; gap: 10px; padding: 0 12px; }
.check-form .field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.check-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 1.08rem; color: var(--ink); padding: 14px 0; }
.check-form input::placeholder { color: var(--muted); }
.check-form .btn { padding: 15px 26px; font-size: 1.02rem; }
@media (max-width: 520px) { .check-form { flex-direction: column; } .check-form .btn { width: 100%; } }
.form-error { margin-top: 12px; color: var(--fail); font-weight: 500; font-size: .95rem; display: flex; gap: 8px; align-items: center; }
.examples { margin-top: 14px; font-size: .92rem; color: var(--muted); }
.examples button { background: none; border: 0; color: var(--brand); font: inherit; cursor: pointer; padding: 0 4px; text-decoration: underline; text-underline-offset: 3px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; color: var(--ink-2); font-size: .93rem; font-weight: 500; }
.trust span { display: inline-flex; align-items: center; gap: 7px; }
.trust svg { width: 18px; height: 18px; color: var(--ok); }

/* ---------- Carregamento ---------- */
.loading { position: fixed; inset: 0; z-index: 200; background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(6px); display: none; place-items: center; }
.loading.show { display: grid; }
.loading-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 36px; box-shadow: var(--shadow-lg); width: min(440px, 92vw); text-align: center; }
.loading-card h3 { margin: 16px 0 4px; }
.loading-steps { list-style: none; padding: 0; margin: 20px 0 0; text-align: left; display: grid; gap: 8px; }
.loading-steps li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .95rem; transition: color .2s; }
.loading-steps li::before { content: ""; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); flex: none; }
.loading-steps li.active { color: var(--ink); font-weight: 500; }
.loading-steps li.active::before { border-color: var(--brand); border-right-color: transparent; animation: spin .8s linear infinite; }
.loading-steps li.done { color: var(--ink-2); }
.loading-steps li.done::before { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 3px var(--surface); }
.envelope-fly { width: 84px; margin: 0 auto; animation: float 1.8s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-8px) rotate(3deg); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* ---------- Cartões e grelhas ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card-link { text-decoration: none; color: inherit; display: block; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-link:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-100); color: inherit; }
.icon-badge { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 16px; background: var(--brand-50); color: var(--brand); }
.icon-badge svg { width: 24px; height: 24px; }
.icon-badge.accent { background: var(--accent-50); color: var(--accent); }
.icon-badge.ok { background: var(--ok-50); color: var(--ok); }
.icon-badge.warn { background: var(--warn-50); color: var(--warn); }
.icon-badge.fail { background: var(--fail-50); color: var(--fail); }

.problems .card { border-left: 3px solid var(--accent); }
.checks-grid .card { position: relative; }
.checks-grid .card .tag { position: absolute; top: 20px; right: 20px; font-size: .74rem; font-weight: 600; color: var(--muted); background: var(--bg-soft); border-radius: 999px; padding: 3px 9px; }

.steps { counter-reset: s; }
.steps .card { position: relative; padding-top: 30px; }
.steps .card::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 24px; width: 38px; height: 38px; border-radius: 12px; background: var(--btn); color: #fff; font-family: var(--font-display); font-weight: 700; display: grid; place-items: center; box-shadow: var(--shadow); }

.band { background: var(--deep); color: #dbe4f7; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; position: relative; overflow: hidden; }
.band h2 { color: #fff; }
.band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: radial-gradient(circle, rgba(91, 140, 255, .35), transparent 70%); }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; padding: 34px 26px; } }
.stat-list { display: grid; gap: 16px; position: relative; z-index: 1; }
.stat { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: 16px 18px; }
.stat b { display: block; font-family: var(--font-display); font-size: 1.6rem; color: #fff; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 18px; color: var(--ink-2); }

/* ---------- Rodapé ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 30px; margin-top: 40px; font-size: .94rem; }
.site-footer .cols { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4, .site-footer .fh { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer .bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }

/* ---------- Resultado ---------- */
.result-hero { padding: 40px 0 30px; }
.result-top { display: grid; grid-template-columns: auto 1fr; gap: 34px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 34px; box-shadow: var(--shadow); }
@media (max-width: 720px) { .result-top { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; } .result-top .ring { margin: 0 auto; } }
.ring { position: relative; width: 150px; height: 150px; }
.ring svg { transform: rotate(-90deg); }
.ring .track { stroke: var(--bg-soft); }
.ring .val { stroke-linecap: round; transition: stroke-dashoffset 1.2s cubic-bezier(.2, .8, .2, 1); }
.ring .num { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.ring .num b { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; display: block; }
.ring .num small { color: var(--muted); font-size: .8rem; }
.status-good { --st: var(--ok); --st-50: var(--ok-50); }
.status-attention { --st: var(--warn); --st-50: var(--warn-50); }
.status-critical { --st: var(--fail); --st-50: var(--fail-50); }
.ring .val { stroke: var(--st); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 600; padding: 4px 11px; border-radius: 999px; background: var(--st-50, var(--info-50)); color: var(--st, var(--info)); }
.result-top h1 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); margin: 10px 0 8px; word-break: break-word; }
.result-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .9rem; margin-top: 12px; }
.result-meta span { display: inline-flex; align-items: center; gap: 6px; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 720px) { .result-actions, .result-meta { justify-content: center; } }
.counts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 720px) { .counts { justify-content: center; } }
.count { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; padding: 6px 12px; border-radius: 10px; }
.count.fail { background: var(--fail-50); color: var(--fail); }
.count.warn { background: var(--warn-50); color: var(--warn); }
.count.ok { background: var(--ok-50); color: var(--ok); }

.overview { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 0; }
@media (max-width: 860px) { .overview { grid-template-columns: repeat(2, 1fr); } }
.ov { display: flex; align-items: center; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.ov:hover { border-color: var(--line-2); transform: translateY(-2px); color: var(--ink); }
.ov b { font-weight: 600; font-size: .95rem; }
.ov small { display: block; color: var(--muted); font-size: .8rem; }

.st-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.st-icon svg { width: 17px; height: 17px; }
.st-ok { background: var(--ok-50); color: var(--ok); }
.st-warn { background: var(--warn-50); color: var(--warn); }
.st-fail { background: var(--fail-50); color: var(--fail); }
.st-error, .st-info { background: var(--info-50); color: var(--info); }

.todo { margin-top: 30px; }
.todo ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.todo li a { display: flex; gap: 14px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; text-decoration: none; color: var(--ink); }
.todo li a:hover { border-color: var(--line-2); box-shadow: var(--shadow-sm); color: var(--ink); }
.todo li .n { font-family: var(--font-display); font-weight: 700; color: var(--muted); width: 22px; }
.todo li .t { flex: 1; font-weight: 500; }
.todo li .c { font-size: .8rem; color: var(--muted); }

.check-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); margin-bottom: 18px; overflow: hidden; scroll-margin-top: 90px; }
.check-head { display: flex; align-items: center; gap: 14px; padding: 20px 24px; cursor: pointer; list-style: none; }
.check-head::-webkit-details-marker { display: none; }
.check-head h2 { font-size: 1.18rem; margin: 0; flex: 1; }
.check-head .short { display: block; font-family: var(--font); font-size: .88rem; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.check-head .chev { color: var(--muted); transition: transform .2s; }
details[open] > .check-head .chev { transform: rotate(180deg); }
.check-body { padding: 0 24px 24px; }
.check-what { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; font-size: .94rem; color: var(--ink-2); margin-bottom: 18px; display: flex; gap: 12px; }
.check-what svg { width: 20px; height: 20px; flex: none; color: var(--brand); margin-top: 2px; }

.finding { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; margin-bottom: 12px; border-left-width: 4px; }
.finding.fail { border-left-color: var(--fail); }
.finding.warn { border-left-color: var(--warn); }
.finding.ok { border-left-color: var(--ok); }
.finding.info, .finding.error { border-left-color: var(--line-2); }
.finding-head { display: flex; gap: 12px; align-items: flex-start; }
.finding-head h3 { font-family: var(--font); font-size: 1.02rem; font-weight: 600; margin: 3px 0 4px; letter-spacing: 0; }
.finding p { color: var(--ink-2); font-size: .95rem; margin: 0; }
.fix { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.fix h4 { font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-600); margin-bottom: 6px; }
.record { margin-top: 12px; border: 1px solid var(--line-2); border-radius: 12px; overflow: hidden; background: var(--bg); }
.record-row { display: grid; grid-template-columns: 130px 1fr auto; gap: 12px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; }
.record-row:last-child { border-bottom: 0; }
.record-row span { color: var(--muted); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.record-row code { background: none; border: 0; padding: 0; word-break: break-all; font-size: .9rem; color: var(--ink); }
@media (max-width: 600px) { .record-row { grid-template-columns: 1fr auto; } .record-row span { grid-column: 1 / -1; } }
.copy { background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 5px 10px; font: inherit; font-size: .8rem; font-weight: 600; color: var(--ink-2); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.copy:hover { color: var(--brand); border-color: var(--brand-100); }
.copy.done { color: var(--ok); border-color: var(--ok); }
.where { margin-top: 12px; font-size: .92rem; color: var(--ink-2); display: flex; gap: 10px; background: var(--brand-50); border-radius: 10px; padding: 11px 14px; }
.where svg { width: 18px; height: 18px; color: var(--brand); flex: none; margin-top: 3px; }
.guide-link { display: inline-flex; gap: 6px; align-items: center; margin-top: 12px; font-weight: 600; font-size: .92rem; text-decoration: none; }

.tech { margin-top: 16px; }
.tech summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--muted); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; margin-top: 10px; }
.table th, .table td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; }
.table td code { word-break: break-all; }
.table-wrap { overflow-x: auto; }
.spf-tree { font-family: var(--mono); font-size: .84rem; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; }
.spf-tree ul { list-style: none; margin: 0; padding-left: 18px; border-left: 1px dashed var(--line-2); }
.spf-tree > ul { padding-left: 0; border: 0; }
.spf-tree li { margin: 4px 0; }
.spf-tree .lk { color: var(--brand); font-weight: 600; }
.spf-tree .err { color: var(--fail); }
.meter { height: 10px; background: var(--bg-soft); border-radius: 999px; overflow: hidden; margin: 8px 0 4px; }
.meter i { display: block; height: 100%; border-radius: 999px; background: var(--ok); }
.meter.warn i { background: var(--warn); }
.meter.fail i { background: var(--fail); }

/* ---------- Captação ---------- */
.watch { background: linear-gradient(135deg, var(--brand-50), var(--surface)); border: 1px solid var(--brand-100); border-radius: var(--radius-lg); padding: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; margin-top: 30px; }
@media (max-width: 800px) { .watch { grid-template-columns: 1fr; } }
.watch form { display: grid; gap: 12px; }
.input { width: 100%; font: inherit; padding: 13px 14px; border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); color: var(--ink); }
.input:focus { border-color: var(--brand); outline: 3px solid var(--brand-100); }
.check { display: flex; gap: 10px; font-size: .86rem; color: var(--ink-2); align-items: flex-start; }
.check input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--brand); flex: none; }
.alert { border-radius: 12px; padding: 13px 16px; font-size: .95rem; margin-bottom: 16px; }
.alert-ok { background: var(--ok-50); color: var(--ok); }
.alert-err { background: var(--fail-50); color: var(--fail); }
.hp { position: absolute !important; left: -5000px !important; }

/* ---------- Guias / artigos ---------- */
.page-hero { padding: 54px 0 30px; }
.page-hero p { font-size: 1.15rem; color: var(--ink-2); max-width: 720px; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; align-items: start; }
@media (max-width: 980px) { .article-layout { grid-template-columns: minmax(0, 1fr); } .article-side { display: none; } }
.prose { font-size: 1.06rem; }
.prose h2 { font-size: 1.6rem; margin: 2em 0 .6em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.22rem; margin: 1.6em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose img { border-radius: 12px; border: 1px solid var(--line); margin: 1em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .95rem; }
@media (max-width: 640px) { .prose table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; } .prose td code { word-break: break-all; } }
.prose th, .prose td { border-bottom: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.prose th { background: var(--bg-soft); font-size: .85rem; }
.prose pre { background: #0d1b36; color: #e6edff; border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: .9rem; position: relative; }
.prose pre code { background: none; border: 0; padding: 0; color: inherit; }
.prose .note, .prose .tip, .prose .warning { border-radius: 12px; padding: 14px 18px; margin: 1.4em 0; font-size: .98rem; }
.prose .note { background: var(--brand-50); border-left: 4px solid var(--brand); }
.prose .tip { background: var(--ok-50); border-left: 4px solid var(--ok); }
.prose .warning { background: var(--warn-50); border-left: 4px solid var(--warn); }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .88rem; color: var(--muted); text-align: center; margin-top: 8px; }
.toc { position: sticky; top: 92px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; font-size: .92rem; }
.toc h4, .toc .toc-h { font-family: var(--font); font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.toc a { color: var(--ink-2); text-decoration: none; }
.toc a:hover { color: var(--brand); }
.cta-box { background: var(--deep); color: #dbe4f7; border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: 30px; margin: 40px 0; }
.cta-box h3 { color: #fff; }
.cta-box .check-form { margin-top: 16px; box-shadow: none; }
.guide-card .meta { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.guide-card h3 { font-size: 1.1rem; }
.guide-card p { color: var(--ink-2); font-size: .95rem; }
.guide-thumb { width: 72px; height: 54px; border-radius: 10px; margin-bottom: 14px; }
.guide-hero { display: flex; gap: 40px; align-items: center; justify-content: space-between; }
.guide-hero-img { width: 220px; height: auto; flex: none; border-radius: var(--radius-lg); }
@media (max-width: 760px) { .guide-hero-img { display: none; } }
.cat-title { font-size: 1.3rem; margin: 40px 0 18px; }

.notfound { text-align: center; padding: 100px 0; }
.notfound svg { width: 180px; margin: 0 auto 24px; }

.prelaunch { min-height: 100vh; display: grid; place-items: center; padding: 20px; }
.prelaunch .card { max-width: 420px; width: 100%; text-align: center; }
.nav svg { width: 16px; height: 16px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: #fff; background: var(--btn); }
.nav a.btn-primary:hover { background: var(--brand-600); }
.prelaunch .logo-mark svg { width: 56px; height: 56px; }
/* Ícones em linha: por omissão acompanham o tamanho do texto */
.i { width: 1.15em; height: 1.15em; flex: none; display: inline-block; vertical-align: -.2em; }
.btn .i { width: 18px; height: 18px; }
.count .i { width: 16px; height: 16px; }
.result-meta .i { width: 16px; height: 16px; }
.icon-badge .i { width: 24px; height: 24px; }
.st-icon .i { width: 17px; height: 17px; }
.menu-toggle .i { width: 22px; height: 22px; }
.check-form .field .i { width: 20px; height: 20px; }
.trust .i, .check-what .i, .where .i { width: 18px; height: 18px; }
@media (max-width: 640px) { .hero-art { display: none; } .hero { padding: 28px 0 56px; } .section { padding: 60px 0; } }
.other-guides { margin: 8px 0 0; font-size: .88rem; color: var(--muted); }
.other-guides a { font-weight: 500; }
