@font-face { font-family: 'General Sans'; src: url('/fonts/general-sans-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/fonts/general-sans-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/fonts/general-sans-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'General Sans'; src: url('/fonts/general-sans-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #000; --bg2: #0a0a0c; --surf: #0e0e11; --surf2: #141418; --surf3: #1c1c22;
  --line: rgba(255,255,255,.125); --line2: rgba(255,255,255,.18);
  --acc: #3b82f6; --acc2: #60a5fa; --acc3: #93c5fd; --acc-deep: #1d4ed8;
  --grn: #22c55e; --grn2: #4ade80; --amb: #f59e0b; --red: #ef4444;
  --txt: #fafafa; --txt2: #a1a1aa; --txt3: #75757e; --txt4: #52525b;
  --maxw: 1280px; --ease: cubic-bezier(.25,.46,.45,.94);
  --r: 12px; --r-lg: 16px; --r-xl: 24px;
  --s1: rgba(255,255,255,.028); --s2: rgba(255,255,255,.045); --s3: rgba(255,255,255,.07);
  --fonte: 'General Sans', ui-sans-serif, -apple-system, BlinkMacSystemFont, 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --fonte-num: ui-monospace, 'SF Mono', 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', Menlo, Consolas, monospace;
  font-synthesis: none;
}

html { -webkit-text-size-adjust: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--txt); font-family: var(--fonte);
  font-size: 17px; line-height: 1.7; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
::selection { background: rgba(59,130,246,.3); color: #fff; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 400; letter-spacing: -.022em; line-height: 1.08; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .69rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--txt3);
}
.eyebrow::before { content: ''; width: 20px; height: 1px; background: var(--acc); opacity: .9; }
.grad-txt {
  background: linear-gradient(100deg, var(--acc3) 0%, var(--acc) 55%, var(--acc-deep) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.muted { color: var(--txt2); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 500; font-size: .875rem; cursor: pointer;
  border-radius: 999px; padding: 12px 20px 12px 24px; border: 1px solid transparent;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
  white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn-primary { background: var(--txt); color: #0a0a0c; }
.btn-primary:hover { background: #fff; color: #0a0a0c; }
.btn-ghost { background: var(--s3); color: var(--txt); }
.btn-ghost:hover { background: var(--s3); color: var(--txt); }
.btn-lg { padding: 15px 24px 15px 28px; font-size: .95rem; }

.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .25s var(--ease), border-color .25s var(--ease), backdrop-filter .25s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(0, 0, 0, .96); backdrop-filter: blur(8px); border-bottom-color: var(--line); }
.nav-inner { max-width: var(--maxw); margin: 0 auto; height: 64px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
@media (min-width: 768px) { .nav-inner { padding: 0 32px; } }
@media (min-width: 1024px) { .nav-inner { padding: 0 40px; } }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 500; font-size: 1.12rem; letter-spacing: -.02em; }
.logo .mark { width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; }
.logo .mark img { width: 30px; height: 30px; object-fit: contain; }
.logo b { font-weight: 400; color: var(--txt2); }
.logo b.s { font-weight: 500; color: var(--txt); }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a { font-size: .875rem; font-weight: 400; color: var(--txt); opacity: .62; padding: 8px 12px; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-cta .btn { padding: 9px 16px 9px 18px; font-size: .84rem; }
.nav-toggle { display: none; background: none; border: none; color: var(--txt); cursor: pointer; padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-mobile { display: none; flex-direction: column; padding: 8px 24px 20px; gap: 2px; border-bottom: 1px solid var(--line); background: rgba(8, 8, 10, .96); backdrop-filter: blur(16px); }
.nav-mobile a { padding: 13px 12px; color: var(--txt2); font-weight: 500; border-radius: 8px; }
.nav-mobile a:hover { background: var(--s2); color: var(--txt); }
.nav-mobile.open { display: flex; }

.artigo { max-width: 760px; margin: 0 auto; padding: 118px 24px 80px; }
.migalha { font-size: .84rem; color: var(--txt3); margin-bottom: 22px; }
.migalha a { color: var(--txt3); transition: color .15s; }
.migalha a:hover { color: var(--txt2); }
.migalha span { margin: 0 7px; color: var(--txt4); }

.artigo h1 { font-size: 2rem; line-height: 1.1; letter-spacing: -.025em; margin-bottom: 18px; }
@media (min-width: 768px) { .artigo h1 { font-size: 2.75rem; } }
.artigo .resumo { font-size: 1.12rem; color: var(--txt2); margin-bottom: 24px; line-height: 1.6; }
.artigo .assinatura {
  display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center;
  font-size: .82rem; color: var(--txt3); font-family: var(--fonte-num);
  padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 34px;
}

.artigo h2 { font-size: 1.55rem; line-height: 1.14; margin: 52px 0 16px; scroll-margin-top: 84px; }
@media (min-width: 768px) { .artigo h2 { font-size: 1.9rem; } }
.artigo h3 { font-size: 1.12rem; font-weight: 500; margin: 32px 0 10px; line-height: 1.3; }
.artigo p { margin-bottom: 17px; color: #e4e4e7; }
.artigo ul, .artigo ol { margin: 0 0 20px 22px; color: #e4e4e7; }
.artigo li { margin-bottom: 9px; }
.artigo strong { color: var(--txt); font-weight: 500; }
.artigo p a[href], .artigo li a[href], .artigo td a[href] {
  color: var(--txt); text-decoration: underline; text-decoration-color: var(--line2);
  text-underline-offset: 3px; transition: text-decoration-color .15s;
}
.artigo p a[href]:hover, .artigo li a[href]:hover, .artigo td a[href]:hover { text-decoration-color: var(--acc2); }
.artigo .btn { text-decoration: none; }
.artigo .btn-primary { color: #0a0a0c; }
.artigo .btn-ghost { color: var(--txt); }
.artigo code {
  font-family: var(--fonte-num); font-size: .88em; background: var(--s2);
  border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--acc3);
}

.indice { background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 24px; margin-bottom: 44px; }
.indice h2 { font-size: .78rem !important; margin: 0 0 12px !important; text-transform: uppercase; letter-spacing: .1em; color: var(--txt3); font-weight: 700; }
.indice ol { margin: 0 0 0 20px; }
.indice li { margin-bottom: 7px; }
.indice a { color: var(--txt2); font-size: .95rem; text-decoration: none !important; transition: color .15s; }
.indice a:hover { color: var(--txt); }

.nota {
  background: var(--s1); border: 1px solid var(--line); border-left: 2px solid var(--acc);
  border-radius: 0 var(--r) var(--r) 0; padding: 18px 22px; margin: 28px 0;
}
.nota p:last-child { margin-bottom: 0; }
.nota.alerta { border-left-color: var(--amb); }

.tab-rolagem { overflow-x: auto; margin: 28px 0; border: 1px solid var(--line); border-radius: var(--r-lg); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 460px; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--s1); font-weight: 700; color: var(--txt3); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
tr:last-child td { border-bottom: none; }
td { color: #e4e4e7; }
td.num, th.num { font-family: var(--fonte-num); }

.cta-cx {
  background: var(--s1); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: 40px 32px; margin: 56px 0 0; text-align: center;
}
.cta-cx h2 { margin: 0 0 12px !important; font-size: 1.6rem !important; line-height: 1.14; }
@media (min-width: 768px) { .cta-cx h2 { font-size: 2rem !important; } }
.cta-cx p { color: var(--txt2); margin-bottom: 26px; }
.cta-cx .btn { margin: 0 5px 8px; }

.relacionados { margin-top: 60px; padding-top: 34px; border-top: 1px solid var(--line); }
.relacionados h2 { font-size: .78rem !important; margin: 0 0 18px !important; color: var(--txt3); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.rel-grid { display: grid; gap: 12px; }
.rel-grid a {
  display: block; padding: 16px 18px; background: var(--s1); border: 1px solid var(--line);
  border-radius: var(--r); color: var(--txt); font-weight: 500; font-size: .97rem;
  transition: background .18s var(--ease), border-color .18s var(--ease);
}
.rel-grid a:hover { background: var(--s2); border-color: var(--line2); color: var(--txt); }
.rel-grid a span { display: block; color: var(--txt3); font-size: .87rem; font-weight: 400; margin-top: 3px; }

.hub { max-width: 1080px; margin: 0 auto; padding: 128px 24px 80px; }
.hub-topo { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.hub-topo h1 { font-size: 2.2rem; line-height: 1.1; letter-spacing: -.025em; margin: 18px 0; }
@media (min-width: 768px) { .hub-topo h1 { font-size: 3rem; } .hub-topo { margin-bottom: 72px; } }
.hub-topo p { color: var(--txt2); font-size: 1.08rem; line-height: 1.6; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.hub-card {
  display: flex; flex-direction: column; padding: 26px; background: var(--s1);
  border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--txt);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.hub-card:hover { background: var(--s2); border-color: var(--line2); color: var(--txt); }
.hub-card h2 { font-size: 1.15rem; line-height: 1.24; margin-bottom: 10px; }
.hub-card p { color: var(--txt2); font-size: .92rem; line-height: 1.6; }
.hub-card .eyebrow { margin-bottom: 14px; }

footer { border-top: 1px solid var(--line); padding: 56px 0 34px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
.foot-brand p { color: var(--txt3); font-size: .9rem; margin: 16px 0; max-width: 280px; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--txt2); transition: .16s; }
.foot-social a:hover { border-color: var(--line2); color: var(--txt); background: var(--s2); }
.foot-social svg { width: 18px; height: 18px; }
.foot-col h3, .foot-col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--txt3); margin-bottom: 16px; font-weight: 700; }
.foot-col a { display: block; color: var(--txt2); font-size: .9rem; padding: 6px 0; transition: color .15s; }
.foot-col a:hover { color: var(--txt); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: var(--txt4); }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .artigo { padding-top: 100px; }
  .hub { padding-top: 100px; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta-cx { padding: 30px 20px; }
  .nav-cta .btn-ghost { display: none; }
}
