/* Páginas públicas do Forensign no desenho novo: apresentação e ferramentas de PDF. */
:root { --bg: #f6f8fa; --card: #ffffff; --line: #dfe3ea; --edge: #e9ecf0; --ink: #1a1f36; --strong: #0a0f24; --muted: #697386; --faint: #a3acb9; --accent: #4a6a94; --accent-2: #3d5a80; --accent-bg: #ebf0f6; --bad: #c0271d; --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 1px 1px rgba(16, 24, 40, 0.03); --lift: 0 30px 80px -30px rgba(16, 24, 40, 0.35), 0 4px 14px rgba(16, 24, 40, 0.06); font-family: Inter, "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif; font-feature-settings: "cv11"; color: var(--ink); -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); font-size: 16px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.nav { position: sticky; top: 0; z-index: 10; background: rgba(246, 248, 250, 0.86); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.on { border-bottom-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 6px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--strong); text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -0.02em; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav a.l { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.nav a.l:hover, .nav a.l[aria-current] { color: var(--strong); background: rgba(16, 24, 40, 0.05); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--strong); font: 600 15px/1 inherit; text-decoration: none; cursor: pointer; box-shadow: var(--shadow); transition: transform 0.08s, background 0.15s, border-color 0.15s; }
.btn:hover { border-color: var(--faint); }
.btn:active { transform: translateY(1px); }
.btn.p { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(74, 106, 148, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.16); }
.btn.p:hover { background: var(--accent-2); border-color: var(--accent-2); }
.btn.g { height: 48px; padding: 0 22px; font-size: 16px; border-radius: 12px; }
h1, h2, h3 { margin: 0; color: var(--strong); letter-spacing: -0.03em; line-height: 1.1; }
.hero { padding: 72px 0 0; text-align: center; }
.hero h1 { font-size: clamp(38px, 6vw, 64px); font-weight: 700; max-width: 15ch; margin-inline: auto; }
.hero p.sub { margin: 20px auto 0; max-width: 56ch; font-size: clamp(17px, 2vw, 20px); color: var(--muted); }
.ask { margin: 30px auto 0; max-width: 480px; }
.ask .row { display: flex; gap: 8px; }
.ask input[type="email"] { flex: 1; min-width: 0; height: 48px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font: inherit; color: var(--strong); box-shadow: var(--shadow); }
.ask .isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ask .resposta { min-height: 1.5em; margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.ask .resposta.erro { color: var(--bad); }
.cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.hero .alt { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.hero .alt a { font-weight: 600; text-decoration: none; }
.hero .alt a:hover { text-decoration: underline; }
.shot { margin: 52px auto 0; border-radius: 16px 16px 0 0; border: 1px solid var(--line); border-bottom: 0; background: var(--card); box-shadow: var(--lift); overflow: hidden; animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.shot .bar { display: flex; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--edge); background: #fbfcfd; }
.shot .bar i { width: 11px; height: 11px; border-radius: 50%; background: #dfe3ea; }
.band { padding: 88px 0; }
.band.w { background: var(--card); border-block: 1px solid var(--line); }
.band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; max-width: 20ch; }
.band .lead { margin: 14px 0 0; max-width: 60ch; color: var(--muted); font-size: 18px; }
.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; }
.cardx { padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); transition: transform 0.2s, box-shadow 0.2s; }
.cardx:hover { transform: translateY(-3px); box-shadow: 0 14px 34px -16px rgba(16, 24, 40, 0.28); }
.cardx svg { width: 22px; height: 22px; padding: 9px; box-sizing: content-box; border-radius: 10px; background: var(--accent-bg); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cardx h3 { margin-top: 16px; font-size: 19px; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.cardx p { margin: 8px 0 0; color: var(--muted); font-size: 15.5px; }
.toolsgrid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 36px; }
.toolsgrid a { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); color: inherit; text-decoration: none; transition: border-color 0.15s, background 0.15s, transform 0.15s; }
.toolsgrid a:hover { border-color: var(--accent); background: var(--card); transform: translateY(-2px); }
.toolsgrid b { font-weight: 650; color: var(--strong); letter-spacing: -0.01em; }
.toolsgrid span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 40px; align-items: stretch; }
.plan { display: flex; flex-direction: column; gap: 6px; padding: 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.plan.hi { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), 0 18px 40px -20px rgba(74, 106, 148, 0.5); }
.plan h3 { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.plan .price { font-size: 34px; font-weight: 700; color: var(--strong); letter-spacing: -0.03em; line-height: 1.1; margin-top: 6px; }
.plan .price small { font-size: 15px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.plan p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.plan ul { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.plan li { padding-left: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234a6a94' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") left 4px / 15px no-repeat; }
.final { text-align: center; }
.final h2 { margin-inline: auto; }
.final .lead { margin-inline: auto; }
.foot { padding: 32px 0 44px; color: var(--muted); font-size: 14px; }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; align-items: center; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover { color: var(--strong); }
.foot .r { margin-left: auto; }
/* ferramentas públicas */
.toolpage { padding: 48px 0 72px; }
.toolpage h1 { font-size: clamp(30px, 4.6vw, 44px); font-weight: 700; }
.toolpage .sub { margin: 12px 0 0; max-width: 62ch; color: var(--muted); font-size: 18px; }
.tooltabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 30px 0 14px; }
.tooltabs a { padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.tooltabs a:hover { color: var(--strong); border-color: var(--faint); }
.tooltabs a[aria-pressed="true"] { background: var(--strong); border-color: var(--strong); color: #fff; }
.toolcard { padding: 26px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.toolcard.over { outline: 2px dashed var(--accent); outline-offset: 4px; }
.toolcard h3 { font-size: 19px; font-weight: 650; letter-spacing: -0.02em; }
.toolcard .info { margin: 0; color: var(--muted); font-size: 15px; }
.toolcard .row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.toolcard button { height: 40px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--strong); font: 600 15px/1 inherit; cursor: pointer; }
.toolcard button:hover:not(:disabled) { border-color: var(--faint); }
.toolcard button:disabled { opacity: 0.45; cursor: default; }
.toolcard button.primary { background: var(--accent); border-color: var(--accent); color: #fff; height: 46px; padding: 0 22px; font-size: 16px; }
.toolcard button.primary:hover:not(:disabled) { background: var(--accent-2); border-color: var(--accent-2); }
.toollist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; counter-reset: arq; }
.toollist li { display: flex; align-items: center; gap: 10px; padding: 8px 10px 8px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); counter-increment: arq; }
.toollist li::before { content: counter(arq) "."; color: var(--muted); }
.toollist .toolname { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; color: var(--strong); }
.toollist .toolpages { color: var(--muted); font-size: 14px; white-space: nowrap; }
.toollist button { height: 32px; padding: 0 10px; font-size: 14px; }
.toolopts { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 14px; }
.toolopts .field { display: flex; flex-direction: column; gap: 5px; font-size: 14px; color: var(--muted); }
.toolopts input, .toolopts select { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font: inherit; color: var(--strong); }
.promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.promise div { padding: 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--line); }
.promise b { display: block; color: var(--strong); letter-spacing: -0.01em; }
.promise span { color: var(--muted); font-size: 15px; }
.invite { margin-top: 28px; padding: 26px; border-radius: 16px; background: var(--strong); color: #c9d2e3; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px 28px; align-items: center; }
.invite h2 { color: #fff; font-size: 24px; font-weight: 650; letter-spacing: -0.02em; }
.invite p { margin: 6px 0 0; }
.invite .btn { border-color: transparent; }
/* aviso de cookies */
.cookies { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 720px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 400 14px/1.5 Inter, system-ui, sans-serif; box-shadow: 0 16px 48px -12px rgba(16, 24, 40, 0.28); animation: rise 0.4s both; }
.cookies p { margin: 0; flex: 1; min-width: 240px; }
.cookies a { color: var(--accent); font-weight: 600; }
.cookies button { height: 36px; padding: 0 14px; border-radius: 9px; border: 0; background: var(--accent); color: #fff; font: 600 14px/1 inherit; cursor: pointer; }
:root[data-theme="dark"] .cookies { background: #16171a; border-color: #25272c; color: #d6d8de; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
@media (max-width: 860px) { .three, .plans, .promise { grid-template-columns: 1fr; } .toolsgrid { grid-template-columns: 1fr 1fr; } .nav a.l { display: none; } .hero { padding-top: 44px; } .band { padding: 60px 0; } .invite { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .ask .row { flex-direction: column; } .toolsgrid { grid-template-columns: 1fr; } .shot { border-radius: 12px 12px 0 0; margin-top: 36px; } }
/* páginas de texto (privacidade em inglês) */
.legal h2 { margin: 30px 0 8px; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.legal p { margin: 0 0 12px; max-width: 70ch; }
.herogrid { margin-top: 48px; text-align: left; }
/* formulário de contato */
.cform { display: grid; gap: 18px; max-width: 560px; margin-top: 34px; }
.cform label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--strong); }
.cform input[type="text"], .cform input[type="email"], .cform select, .cform textarea { width: 100%; padding: 11px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); font-family: inherit; font-size: 16px; font-weight: 400; line-height: 1.5; color: var(--strong); box-shadow: var(--shadow); }
.cform textarea { resize: vertical; min-height: 150px; }
.cform input:focus-visible, .cform select:focus-visible, .cform textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.cform .isca { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.cform .resposta { min-height: 1.5em; margin: 0; font-size: 14px; color: var(--muted); }
.cform .resposta.erro { color: var(--bad); }
.cform .btn { justify-self: start; font-family: inherit; cursor: pointer; }
.cform .btn:disabled { opacity: 0.6; cursor: default; }
.cdone { max-width: 560px; margin-top: 34px; padding: 24px 26px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.cdone h2 { margin: 0 0 6px; font-size: 22px; font-weight: 650; letter-spacing: -0.02em; color: var(--strong); }
.cdone p { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.cnote { margin: 26px 0 0; font-size: 15px; color: var(--muted); }
/* página Sobre */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 720px; margin: 16px 0 12px; }
.people article { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.people .avatar { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-bg); color: var(--accent-2); font-weight: 650; font-size: 18px; letter-spacing: 0.02em; }
.people h3 { margin: 0; font-size: 18px; font-weight: 650; letter-spacing: -0.01em; color: var(--strong); }
.people p { margin: 2px 0 0; font-size: 15px; color: var(--muted); }
.about .legal { max-width: 720px; }
.about .legal p { color: var(--ink); }
@media (max-width: 620px) { .people { grid-template-columns: 1fr; } }
