/* Central de Ajuda BRForms — visual alinhado à landing (Navy + Cyber Green) */
:root {
  --brand: #0B1B33; --brand-dark: #081323; --brand-soft: #eaf0f7;
  --ink: #0B1B33; --muted: #5b6b7d; --line: #e7ecf2; --soft: #F2F3F5;
  --ink-2: #243244; --green: #00936b; --accent: #00E5A0;
  --red: #FF2330;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: var(--ink); line-height: 1.65; -webkit-font-smoothing: antialiased; background: #fff; }
a { text-decoration: none; color: inherit; }
code, .mono { font-family: 'IBM Plex Mono', ui-monospace, Menlo, monospace; }

/* ---------- header ---------- */
.hc-header { border-bottom: 1px solid var(--line); background: rgba(255,255,255,.9); backdrop-filter: saturate(180%) blur(8px); position: sticky; top: 0; z-index: 50; }
.hc-nav { max-width: 1180px; margin: 0 auto; padding: 0 24px; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.hc-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.hc-logo img { height: 30px; width: auto; display: block; }
.hc-logo .tag { font-size: 13px; font-weight: 600; color: var(--muted); border-left: 1px solid var(--line); padding-left: 10px; }
.hc-actions { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.hc-actions a.plain { color: var(--muted); font-weight: 600; padding: 8px 10px; }
.hc-actions a.plain:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 7px; background: var(--green); color: #fff; font-weight: 700; padding: 9px 16px; border-radius: 9px; font-size: 14px; transition: transform .08s, background .15s; }
.btn:hover { background: #007d5b; transform: translateY(-1px); }

/* ---------- índice ---------- */
.hero { max-width: 760px; margin: 0 auto; padding: 56px 24px 8px; text-align: center; }
.hero h1 { font-size: 38px; font-weight: 700; letter-spacing: -.025em; }
.hero p { color: var(--muted); font-size: 17px; margin-top: 12px; }
.search { max-width: 540px; margin: 26px auto 0; position: relative; }
.search input { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px 14px 44px; font: inherit; font-size: 15px; background: #fff; box-shadow: 0 2px 10px rgba(11,27,51,.04); }
.search input:focus { outline: none; border-color: var(--green); }
.search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }

.cats { max-width: 1080px; margin: 14px auto 0; padding: 32px 24px 80px; }
.cat { margin-top: 38px; }
.cat-h { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.cat-h .ico { width: 34px; height: 34px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; }
.cat-h h2 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 14px; }
.acard { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .08s; }
.acard:hover { border-color: #cfdae6; box-shadow: 0 10px 30px rgba(11,27,51,.07); transform: translateY(-2px); }
.acard h3 { font-size: 15.5px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.acard p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.acard .arrow { color: var(--green); }
.acard.soon { opacity: .6; pointer-events: none; }
.acard .soon-tag { font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); background: var(--soft); border-radius: 99px; padding: 3px 9px; margin-left: auto; }

/* ---------- artigo ---------- */
.layout { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 250px minmax(0,1fr); gap: 44px; align-items: start; }
.side { position: sticky; top: 86px; padding: 28px 0; font-size: 14px; max-height: calc(100vh - 86px); overflow-y: auto; }
.side .sgroup { font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 18px 0 8px; }
.side a { display: block; padding: 6px 12px; border-radius: 8px; color: var(--ink-2); border-left: 2px solid transparent; }
.side a:hover { background: var(--soft); }
.side a.active { color: var(--brand); font-weight: 700; background: var(--brand-soft); border-left-color: var(--green); }
.side a.soon { color: #aab4c0; pointer-events: none; }

.art { padding: 34px 0 90px; min-width: 0; max-width: 760px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--green); }
.art h1 { font-size: 32px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.art .lead { font-size: 17px; color: var(--muted); margin-top: 14px; }
.art h2 { font-size: 22px; font-weight: 700; margin: 40px 0 6px; letter-spacing: -.01em; }
.art h3.faq-q { font-size: 16.5px; font-weight: 700; margin: 22px 0 2px; }
.art p { margin-top: 12px; color: var(--ink-2); }
.art ul, .art ol { margin: 12px 0 0 2px; padding-left: 22px; color: var(--ink-2); }
.art li { margin: 6px 0; }
.art strong { color: var(--brand-dark); }

/* resumo "o que você vai fazer" */
.tldr { margin-top: 26px; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; background: linear-gradient(180deg,#fbfdff,#fff); }
.tldr .t { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--green); }
.tldr ol { margin-top: 8px; }

/* passos numerados */
.step { display: flex; gap: 18px; margin-top: 38px; }
.snum { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(11,27,51,.22); }
.step-body { flex: 1; min-width: 0; }
.step-body h3 { font-size: 18px; font-weight: 700; margin-top: 3px; }
.step-body p { margin-top: 8px; }

/* screenshot */
.shot { margin-top: 16px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: 0 12px 34px rgba(11,27,51,.10); background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.shot figcaption { font-size: 12.5px; color: var(--muted); padding: 9px 14px; border-top: 1px solid var(--line); background: var(--soft); }

/* callouts */
.callout { margin-top: 22px; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; display: flex; gap: 12px; }
.callout .ci { flex: none; font-size: 18px; line-height: 1.4; }
.callout.dica { background: #eafaf4; border: 1px solid #bdebd9; color: #0c5a43; }
.callout.atencao { background: #fff5e9; border: 1px solid #ffd9a8; color: #8a5300; }
.callout strong { color: inherit; }

/* relacionados / próximos */
.related { margin-top: 52px; border-top: 1px solid var(--line); padding-top: 26px; }
.related h2 { margin: 0 0 14px; font-size: 17px; }
.rlinks { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 12px; }
.rlink { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; font-weight: 600; font-size: 14.5px; display: flex; align-items: center; justify-content: space-between; gap: 10px; transition: border-color .15s; }
.rlink:hover { border-color: var(--green); }
.rlink .arrow { color: var(--green); }

/* rodapé */
.hc-foot { border-top: 1px solid var(--line); background: var(--soft); }
.hc-foot .in { max-width: 1080px; margin: 0 auto; padding: 26px 24px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; }
.hc-foot a:hover { color: var(--ink); }

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; gap: 0; }
  .side { position: static; max-height: none; border-bottom: 1px solid var(--line); padding: 16px 0; }
  .hero h1 { font-size: 30px; }
}
