/* OuterBoxTech · OBT — site público
   Tema: "pensar fora da caixa" — caixas tracejadas e peças que escapam delas. */

:root {
  --ink: #0b1626;
  --ink-2: #334155;
  --muted: #5b6b80;
  --line: #dbe3ec;
  --bg: #f7f9fc;
  --surface: #ffffff;
  --brand: #0b6e78;
  --brand-strong: #075963;
  --brand-soft: #e3f4f5;
  --accent: #f2a516;
  --accent-ink: #5c3b00;
  --accent-soft: #fff4dc;
  --night: #0a1424;
  --night-2: #13233a;
  --ok: #117a4a;
  --ok-soft: #e4f5ec;
  --high: #a4361f;
  --high-soft: #fbe9e4;
  --low: #8a5a00;
  --low-soft: #fff1d6;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(11, 22, 38, .06), 0 10px 30px -12px rgba(11, 22, 38, .18);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-strong); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; color: #fff; }

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

/* ---------- Marca ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.brand:hover { color: var(--ink); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand b { font-weight: 800; }
.brand span { font-weight: 500; color: var(--muted); }
.brand-invert, .brand-invert:hover { color: #fff; }
.brand-invert span { color: #9fb3c8; }

/* ---------- Cabeçalho ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247, 249, 252, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.nav-links { display: none; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { display: block; white-space: nowrap; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .96rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-strong); }
.nav-cta { display: none; align-items: center; gap: 8px; }
.menu-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 12px; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.mobile-menu { display: none; border-top: 1px solid var(--line); background: var(--surface); }
.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; margin: 0; padding: 8px 0 16px; }
.mobile-menu a { display: block; padding: 12px 4px; text-decoration: none; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 14px; width: 100%; justify-content: center; }
@media (min-width: 1100px) {
  .nav-links, .nav-cta { display: flex; }
  .menu-toggle, .mobile-menu, .mobile-menu.open { display: none; }
}

/* ---------- Botões ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; padding: 12px 20px; border-radius: 11px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background-color .15s, box-shadow .15s; line-height: 1.2; }
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 18px -10px rgba(11, 110, 120, .8); }
.btn-primary:hover { background: var(--brand-strong); color: #fff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-strong); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: #e39a0c; color: var(--ink); }
.btn-sm { padding: 8px 14px; font-size: .94rem; border-radius: 9px; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Chips e rótulos ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .86rem; font-weight: 700; background: var(--surface); border: 1px dashed var(--brand); color: var(--brand-strong); }
.chip .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 2px; transform: translate(3px, -3px); }
.tag { display: inline-block; white-space: nowrap; padding: 2px 8px; border-radius: 6px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.tag-soon { background: var(--accent-soft); color: var(--accent-ink); }
.tag-fict { background: #eef1f6; color: var(--ink-2); border: 1px solid var(--line); }
.checks { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-2); font-weight: 600; font-size: .95rem; }
.checks li { display: inline-flex; align-items: center; gap: 7px; }
.checks svg { width: 18px; height: 18px; color: var(--ok); flex: none; }

/* ---------- Seções ---------- */
.section { padding: 76px 0; }
.section-tight { padding: 52px 0; }
.section-head { max-width: 760px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--brand); margin-bottom: 12px; }
.eyebrow::before { content: ""; width: 14px; height: 14px; border: 2px dashed currentColor; border-radius: 3px; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* ---------- Hero ---------- */
.hero { padding: 48px 0 64px; overflow: hidden; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } .hero { padding: 72px 0 88px; } }
.hero h1 .outside { position: relative; display: inline-block; color: var(--brand); white-space: nowrap; }
.hero h1 .outside::after { content: ""; position: absolute; left: -6px; right: -6px; bottom: .02em; height: .5em; border: 2px dashed var(--accent); border-top: 0; border-radius: 0 0 8px 8px; z-index: -1; }
.hero .lead { margin-top: 18px; max-width: 590px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Caixa tracejada + relatório saindo dela */
.outbox { position: relative; min-height: 430px; }
.outbox .box { position: absolute; inset: 40px 22% 40px 0; border: 2.5px dashed #9fb8c4; border-radius: 22px; background: repeating-linear-gradient(135deg, rgba(11, 110, 120, .035) 0 12px, transparent 12px 24px); }
.outbox .box-label { position: absolute; top: -14px; left: 22px; background: var(--bg); padding: 0 10px; font-family: var(--mono); font-size: .82rem; color: var(--muted); }
.outbox .pdf { position: absolute; left: 7%; top: 92px; width: 34%; max-width: 160px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px 14px; box-shadow: var(--shadow); }
.outbox .pdf .lines span { display: block; height: 7px; border-radius: 4px; background: #e6ecf2; margin-top: 9px; }
.outbox .pdf .lines span:nth-child(2) { width: 80%; }
.outbox .pdf .lines span:nth-child(3) { width: 65%; }
.outbox .pdf .lines span:nth-child(5) { width: 72%; }
.outbox .pdf-head { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--high); }
.outbox .pdf-head svg { width: 18px; height: 18px; }
.outbox .arrow { position: absolute; left: 9%; top: 300px; width: 22%; color: var(--accent); }
.report-card { position: relative; background: var(--surface); border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 30px 60px -28px rgba(11, 22, 38, .45), var(--shadow); padding: 20px; }
.outbox .report-card { position: absolute; right: 0; top: 0; width: min(380px, 70%); transform: rotate(2.2deg); }
.outbox .escape { position: absolute; width: 26px; height: 26px; background: var(--accent); border-radius: 6px; left: 5%; bottom: 6px; transform: rotate(14deg); box-shadow: 0 10px 20px -10px rgba(242, 165, 22, .9); }
.outbox .escape.two { width: 14px; height: 14px; left: 13%; bottom: 30px; transform: rotate(-12deg); opacity: .85; }
@media (max-width: 560px) {
  .outbox { min-height: auto; padding-top: 8px; }
  .outbox .box, .outbox .pdf, .outbox .arrow, .outbox .escape { display: none; }
  .outbox .report-card { position: relative; width: 100%; transform: none; }
}

.rc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.rc-title { font-weight: 800; font-size: 1rem; }
.rc-sub { color: var(--muted); font-size: .84rem; }
.marker { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.marker:first-of-type { border-top: 0; }
.marker .name { font-weight: 700; font-size: .95rem; }
.marker .val { font-family: var(--mono); font-weight: 700; font-size: .92rem; text-align: right; }
.marker .val small { font-weight: 500; color: var(--muted); }
.marker .ref { color: var(--muted); font-size: .8rem; }
.marker .status { justify-self: end; }
.range { grid-column: 1 / -1; position: relative; height: 8px; border-radius: 6px; background: #edf1f5; margin-top: 6px; }
.range .ok-zone { position: absolute; top: 0; bottom: 0; background: #cfe9dc; border-radius: 6px; }
.range .pin { position: absolute; top: 50%; width: 14px; height: 14px; border-radius: 4px; transform: translate(-50%, -50%) rotate(45deg); background: var(--ink); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .3); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.pill-in { background: var(--ok-soft); color: var(--ok); }
.pill-high { background: var(--high-soft); color: var(--high); }
.pill-low { background: var(--low-soft); color: var(--low); }
.rc-foot { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: .78rem; color: var(--muted); }

/* ---------- Faixa de confiança ---------- */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .strip ul { grid-template-columns: repeat(4, 1fr); } }
.strip li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; color: var(--ink-2); }
.strip li b { color: var(--ink); display: block; }
.strip svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 20px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon-box { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-strong); margin-bottom: 16px; position: relative; }
.icon-box svg { width: 24px; height: 24px; }
.icon-box::after { content: ""; position: absolute; width: 10px; height: 10px; background: var(--accent); border-radius: 3px; top: -4px; right: -4px; }

/* Passos */
.steps { counter-reset: step; }
.step { position: relative; padding-top: 78px; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: 24px; left: 26px; width: 36px; height: 36px; display: grid; place-items: center; border: 2px dashed var(--brand); border-radius: 9px; font-weight: 800; color: var(--brand); }
.step .card-inner { padding-top: 22px; }

/* ---------- Seção escura "fora da caixa" ---------- */
.night { background: var(--night); color: #e7eef6; position: relative; overflow: hidden; }
.night h2, .night h3 { color: #fff; }
.night .lead, .night p { color: #b9c7d6; }
.night .eyebrow { color: var(--accent); }
.night .ideas { display: grid; gap: 18px; }
@media (min-width: 720px) { .night .ideas { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .night .ideas { grid-template-columns: repeat(3, 1fr); } }
.idea { position: relative; border: 1.5px dashed #2f4a68; border-radius: var(--radius); padding: 26px 24px 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .03), transparent); }
.idea .out { position: absolute; top: -12px; right: 18px; width: 24px; height: 24px; border-radius: 6px; background: var(--accent); transform: rotate(12deg); }
.idea .inbox { font-family: var(--mono); font-size: .8rem; color: #8aa0b8; text-decoration: line-through; text-decoration-color: rgba(242, 165, 22, .7); margin-bottom: 8px; display: block; }
.idea h3 { font-size: 1.15rem; }
.idea .tag { margin-left: 6px; }
.night-bg { position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(#13233a 1px, transparent 1px), linear-gradient(90deg, #13233a 1px, transparent 1px); background-size: 48px 48px; mask-image: radial-gradient(ellipse at 80% 0%, #000 0%, transparent 60%); }
.night .wrap { position: relative; }

/* ---------- Demo ---------- */
.demo { display: grid; gap: 28px; align-items: start; }
@media (min-width: 980px) { .demo { grid-template-columns: .8fr 1.2fr; gap: 48px; } }
.demo-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.demo-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.demo-patient { font-weight: 700; }
.demo-patient small { display: block; font-weight: 500; color: var(--muted); }
.tabs { display: flex; gap: 4px; padding: 10px 14px 0; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .95rem; color: var(--muted); padding: 10px 14px 12px; border-bottom: 3px solid transparent; cursor: pointer; white-space: nowrap; }
.tab[aria-selected="true"] { color: var(--brand-strong); border-bottom-color: var(--brand); }
.tabpanel { padding: 8px 20px 20px; }
.tabpanel[hidden] { display: none; }
.systems { display: grid; gap: 12px; padding-top: 12px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.sys { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.sys b { display: block; }
.sys .count { font-size: .85rem; color: var(--muted); }
.sys .bar { display: flex; gap: 3px; margin-top: 10px; }
.sys .bar i { height: 8px; flex: 1; border-radius: 3px; background: #cfe9dc; }
.sys .bar i.h { background: #f2c3b6; }
.sys .bar i.l { background: #f6dca6; }
.trend { padding-top: 14px; }
.trend svg { width: 100%; height: auto; }
.trend-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .84rem; color: var(--muted); margin-top: 8px; }
.trend-legend span { display: inline-flex; align-items: center; gap: 6px; }
.trend-legend i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.note { display: flex; gap: 10px; padding: 14px 16px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); font-size: .92rem; border: 1px solid #f4d48f; }
.note svg { width: 20px; height: 20px; flex: none; margin-top: 2px; }
.note p { margin: 0; color: inherit; }

/* ---------- Público ---------- */
.audience .card { display: flex; flex-direction: column; }
.audience ul { padding-left: 1.1em; margin: 0; color: var(--ink-2); }
.audience li { margin: 6px 0; }

/* ---------- Preços ---------- */
.pricing-banner { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border: 1.5px dashed var(--accent); border-radius: var(--radius); background: var(--accent-soft); margin-bottom: 28px; color: var(--accent-ink); }
.pricing-banner svg { width: 26px; height: 26px; flex: none; }
.pricing-banner p { margin: 0; }
.plan { display: flex; flex-direction: column; }
.plan .price { font-size: 1.5rem; font-weight: 800; margin: 8px 0 4px; color: var(--ink); }
.plan .price small { display: block; font-size: .86rem; font-weight: 600; color: var(--muted); }
.plan ul { list-style: none; padding: 0; margin: 16px 0 22px; flex: 1; }
.plan li { display: flex; gap: 8px; margin: 9px 0; color: var(--ink-2); }
.plan li svg { width: 18px; height: 18px; color: var(--ok); flex: none; margin-top: 4px; }
.plan.featured { border: 2px solid var(--brand); position: relative; }
.plan.featured::before { content: "Para começar"; position: absolute; top: -13px; left: 22px; background: var(--brand); color: #fff; font-size: .76rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; letter-spacing: .03em; }

/* ---------- Regulatório ---------- */
.reg { display: grid; gap: 20px; }
@media (min-width: 820px) { .reg { grid-template-columns: 1fr 1fr; } }
.reg .card h3 { display: flex; align-items: center; gap: 10px; }
.reg .card h3 svg { width: 24px; height: 24px; }
.reg .is h3 svg { color: var(--ok); }
.reg .isnt h3 svg { color: var(--high); }
.reg ul { margin: 0; padding-left: 1.1em; color: var(--ink-2); }
.reg li { margin: 7px 0; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin: 10px 0; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 14px; height: 14px; border: 2px dashed var(--brand); border-radius: 3px; transform: translateY(-50%); transition: transform .2s, background .2s; }
.faq details[open] summary::after { background: var(--accent); border-color: var(--accent); transform: translate(6px, -80%) rotate(12deg); }
.faq details > div { padding: 0 20px 18px; color: var(--ink-2); }

/* ---------- CTA final ---------- */
.cta-box { position: relative; border: 2.5px dashed var(--brand); border-radius: 24px; padding: 44px 28px; text-align: center; background: var(--surface); }
.cta-box .out { position: absolute; width: 44px; height: 44px; background: var(--accent); border-radius: 10px; top: -22px; right: 9%; transform: rotate(14deg); }
.cta-box .out.s { width: 20px; height: 20px; top: -40px; right: calc(9% + 54px); transform: rotate(-10deg); border-radius: 5px; }
.cta-box h2 { max-width: 720px; margin-left: auto; margin-right: auto; }
.cta-box .hero-ctas { justify-content: center; }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--night); color: #b9c7d6; padding: 56px 0 28px; margin-top: 0; }
.site-footer a { color: #dbe6f1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-size: .92rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.footer-legal { border-top: 1px solid #1f324c; margin-top: 40px; padding-top: 22px; font-size: .88rem; display: grid; gap: 8px; }
.footer-legal p { margin: 0; }

/* ---------- Páginas internas ---------- */
.page-hero { padding: 56px 0 28px; }
.page-hero .lead { max-width: 760px; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin: 6px 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: .97rem; background: var(--surface); }
.prose th, .prose td { text-align: left; border: 1px solid var(--line); padding: 10px 12px; vertical-align: top; }
.prose th { background: #f0f4f8; }
.table-scroll { overflow-x: auto; }
.callout { border-left: 4px solid var(--brand); background: var(--brand-soft); padding: 14px 18px; border-radius: 0 12px 12px 0; margin: 1.2em 0; }
.callout p:last-child { margin: 0; }
.doc-status { display: inline-flex; gap: 8px; align-items: center; font-size: .88rem; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 12px; border-radius: 8px; margin-bottom: 12px; }
dl.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; }
dl.facts dt { font-weight: 700; color: var(--ink-2); }
dl.facts dd { margin: 0; }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; gap: 2px; } dl.facts dd { margin-bottom: 10px; } }

/* ---------- Tela Entrar ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr; background: var(--surface); }
@media (min-width: 960px) { .auth { grid-template-columns: 1fr 1fr; } }
.auth-main { display: flex; flex-direction: column; padding: 22px 16px 32px; }
@media (min-width: 720px) { .auth-main { padding: 28px 48px 40px; } }
.auth-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-form { width: 100%; max-width: 410px; margin: auto; padding: 40px 0; }
.auth-form h1 { font-size: 2rem; margin-bottom: 6px; }
.field { margin-top: 18px; }
.field label { display: block; font-weight: 700; font-size: .95rem; margin-bottom: 6px; }
.input { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid #c5d1de; border-radius: 10px; background: #fff; color: var(--ink); }
.input:focus { border-color: var(--brand); outline: 3px solid rgba(11, 110, 120, .18); outline-offset: 0; }
.pw { position: relative; }
.pw .input { padding-right: 92px; }
.pw button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .88rem; color: var(--brand-strong); padding: 8px 10px; border-radius: 8px; cursor: pointer; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: .94rem; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; margin: 20px 0; }
.or::before, .or::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.form-msg { margin-top: 16px; }
.form-msg[hidden] { display: none; }
.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.lang button { border: 0; background: #fff; font: inherit; font-weight: 700; font-size: .85rem; padding: 7px 10px; color: var(--muted); cursor: pointer; }
.lang button[aria-pressed="true"] { background: var(--brand-soft); color: var(--brand-strong); }
.lang button:disabled { cursor: not-allowed; opacity: .55; }
.auth-side { background: var(--night); color: #dfe8f2; padding: 48px 28px; position: relative; overflow: hidden; display: flex; align-items: center; }
@media (min-width: 720px) { .auth-side { padding: 56px; } }
.auth-side .side-inner { position: relative; z-index: 1; max-width: 470px; }
@media (max-width: 959px) { .auth-side .big-box { display: none; } }
.auth-side h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.auth-side p { color: #b9c7d6; }
.auth-side ul { list-style: none; padding: 0; margin: 24px 0 0; }
.auth-side li { display: flex; gap: 12px; margin: 14px 0; color: #e7eef6; font-weight: 600; }
.auth-side li svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 1px; }
.auth-side .big-box { position: absolute; width: 340px; height: 340px; border: 2px dashed #2f4a68; border-radius: 34px; right: -90px; bottom: -110px; transform: rotate(-8deg); }
.auth-side .big-box::after { content: ""; position: absolute; width: 46px; height: 46px; border-radius: 10px; background: var(--accent); top: -30px; left: -26px; transform: rotate(16deg); }
.auth-foot { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 16px; }
.auth-foot a { color: var(--muted); }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.notfound .box404 { width: 130px; height: 130px; border: 3px dashed var(--brand); border-radius: 22px; margin: 0 auto 26px; position: relative; display: grid; place-items: center; font-weight: 800; font-size: 2rem; color: var(--brand); }
.notfound .box404::after { content: ""; position: absolute; width: 30px; height: 30px; border-radius: 7px; background: var(--accent); top: -34px; right: -38px; transform: rotate(18deg); }
