/* VEX Web: blog. Mesmas cores, fontes e cabeçalho do site, sem a cena 3D, para carregar rápido. */
:root {
  --preto: #050505; --preto-2: #101010; --preto-3: #171513;
  --laranja: #FF5A1F; --laranja-luz: #FF7A45; --branco: #F7F5F2; --cinza: #A3A3A3; --corpo: #D6D3CF;
  --linha: rgba(247, 245, 242, .14); --linha-forte: rgba(247, 245, 242, .28);
  --fonte: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --margem: clamp(16px, 4.4vw, 72px); --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }
body { margin: 0; background: var(--preto); color: var(--branco); overflow-x: clip; font-family: var(--fonte); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--laranja-luz); outline-offset: 4px; }
[id] { scroll-margin-top: 84px; }
.pular { position: absolute; left: 12px; top: -80px; z-index: 100; background: var(--laranja); color: var(--preto); padding: 10px 16px; }
.pular:focus { top: 12px; }
.moldura { width: 100%; max-width: 1320px; margin-inline: auto; padding-inline: var(--margem); }
.rotulo { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--cinza); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 52px; padding: 0 22px; font-size: 15px; font-weight: 500; white-space: nowrap; border: 1px solid transparent; transition: background-color .25s, color .25s, border-color .25s; }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .28s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-laranja { background: var(--laranja); color: var(--preto); }
.btn-laranja:hover { background: var(--laranja-luz); }
.btn-linha { border-color: var(--linha-forte); color: var(--branco); background: rgba(5, 5, 5, .42); }
.btn-linha:hover { border-color: var(--branco); background: rgba(247, 245, 242, .06); }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; }

.topo { position: sticky; top: 0; z-index: 20; background: rgba(5, 5, 5, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--linha); }
.topo-in { max-width: 1320px; margin: 0 auto; padding-inline: var(--margem); height: 68px; display: flex; align-items: center; gap: 32px; }
.marca { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 17px; letter-spacing: -.02em; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; }
.nav a:hover, .rodape li a:hover { color: var(--laranja-luz); }
.nav a[aria-current] { color: var(--laranja-luz); }
.btn-topo { min-height: 40px; padding: 0 16px; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; width: 44px; height: 44px; position: relative; }
.menu-btn i { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--branco); transition: transform .3s var(--ease), top .3s var(--ease); }
.menu-btn i:first-child { top: 18px; }
.menu-btn i:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] i:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] i:last-child { top: 21px; transform: rotate(-45deg); }
.menu-cel { display: none; flex-direction: column; padding: 8px var(--margem) 24px; border-top: 1px solid var(--linha); }
.menu-cel a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--linha); font-size: 18px; }
.menu-cel .btn { margin-top: 18px; }
.menu-cel.aberto { display: flex; }

/* Índice */
.blog-topo { padding-block: clamp(56px, 9vw, 120px) clamp(36px, 5vw, 64px); }
.blog-topo h1 { margin-top: 18px; font-weight: 400; font-size: clamp(40px, 7vw, 96px); line-height: 1; letter-spacing: -.045em; max-width: 13em; }
.blog-sub { margin-top: 22px; color: var(--cinza); font-size: clamp(17px, 1.5vw, 20px); max-width: 36em; }
.blog-topo .acoes { margin-top: 30px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.cards-indice { padding-bottom: clamp(64px, 8vw, 110px); }
.card { display: block; }
.card img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border: 1px solid var(--linha); transition: border-color .25s; }
.card:hover img { border-color: var(--laranja); }
.card .rotulo { display: block; margin-top: 16px; }
.card h2, .card h3 { margin-top: 8px; font-weight: 400; font-size: 22px; line-height: 1.18; letter-spacing: -.025em; transition: color .2s; }
.card:hover h2, .card:hover h3 { color: var(--laranja-luz); }
.card p { margin-top: 10px; color: var(--cinza); font-size: 15px; line-height: 1.5; }
.card.destaque { grid-column: 1 / -1; display: grid; grid-template-columns: 1.25fr 1fr; column-gap: clamp(24px, 4vw, 56px); align-items: center; }
.card.destaque img { grid-row: 1 / span 3; }
.card.destaque .rotulo { margin-top: 0; align-self: end; }
.card.destaque h2 { font-size: clamp(28px, 3.4vw, 48px); line-height: 1.05; letter-spacing: -.035em; }
.card.destaque p { font-size: 17px; align-self: start; }

/* Artigo */
.art-topo { padding-block: clamp(32px, 5vw, 64px) 28px; }
.migalhas { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .04em; color: var(--cinza); }
.migalhas a:hover { color: var(--branco); }
.art-topo h1 { margin-top: 22px; font-weight: 400; font-size: clamp(34px, 5.2vw, 72px); line-height: 1.03; letter-spacing: -.04em; max-width: 17em; }
.art-meta { margin-top: 20px; color: var(--cinza); font-size: 15px; }
.art-meta strong { color: var(--branco); font-weight: 500; }
.art-capa img { width: 100%; height: auto; aspect-ratio: 1200 / 400; object-fit: cover; border: 1px solid var(--linha); }
.art-grade { display: grid; grid-template-columns: 260px minmax(0, 720px); gap: clamp(32px, 6vw, 96px); justify-content: center; padding-block: clamp(36px, 5vw, 64px) clamp(48px, 6vw, 80px); }
.sumario { position: sticky; top: 92px; align-self: start; max-height: calc(100vh - 110px); overflow: auto; font-size: 14px; line-height: 1.35; }
.sumario ol { margin-top: 12px; border-left: 1px solid var(--linha); }
.sumario a { display: block; padding: 7px 0 7px 14px; margin-left: -1px; border-left: 1px solid transparent; color: var(--cinza); transition: color .2s, border-color .2s; }
.sumario a:hover, .sumario a.ativo { color: var(--branco); border-left-color: var(--laranja); }

.resposta { padding: 22px 24px; background: var(--preto-3); border-left: 2px solid var(--laranja); margin-bottom: 32px; }
.resposta p:last-child { margin-top: 8px; color: var(--branco); font-size: 18px; line-height: 1.5; }
.prosa { min-width: 0; color: var(--corpo); }
.prosa > p, .prosa > ul, .prosa > ol { margin-bottom: 20px; }
.prosa h2 { margin: 48px 0 16px; color: var(--branco); font-weight: 500; font-size: clamp(25px, 2.6vw, 32px); line-height: 1.14; letter-spacing: -.03em; }
.prosa h3 { color: var(--branco); font-weight: 500; font-size: 19px; line-height: 1.25; letter-spacing: -.015em; }
.prosa strong { color: var(--branco); font-weight: 500; }
.prosa p a, .prosa li a { color: var(--laranja-luz); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prosa p a:hover, .prosa li a:hover { color: var(--branco); }
.prosa > ul li, .fontes li { position: relative; padding-left: 20px; margin-bottom: 9px; }
.prosa > ul li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; background: var(--laranja); }
.prosa > ol { counter-reset: n; }
.prosa > ol li { counter-increment: n; position: relative; padding-left: 40px; margin-bottom: 12px; }
.prosa > ol li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: .22em; font-family: var(--mono); font-size: 13px; color: var(--laranja-luz); }
.prosa code { font-family: var(--mono); font-size: .86em; padding: 2px 5px; background: var(--preto-3); color: var(--branco); overflow-wrap: anywhere; }
.tabela { margin: 0 0 24px; overflow-x: auto; border: 1px solid var(--linha); -webkit-overflow-scrolling: touch; }
.tabela table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.4; }
.tabela th, .tabela td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--linha); }
.tabela thead th { background: var(--preto-3); color: var(--branco); font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .04em; text-transform: uppercase; }
.tabela tbody th { color: var(--branco); font-weight: 500; }
.tabela tr:last-child th, .tabela tr:last-child td { border-bottom: 0; }
.faq-item { padding: 20px 0; border-top: 1px solid var(--linha); }
.faq-item p { margin-top: 8px; }
.fontes { margin-top: 48px; font-size: 15px; }
.fontes h2 { margin-top: 0; font-size: 22px; }
.fontes ol { margin-top: 12px; }
.fontes li { padding-left: 0; }
.fontes a { color: var(--corpo); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
.chamada { margin-top: 44px; padding: clamp(24px, 3.4vw, 36px); background: var(--preto-3); border: 1px solid var(--linha); }
.chamada h2 { margin: 0; font-size: clamp(24px, 3vw, 34px); }
.chamada p { margin: 10px 0 22px; }
.relacionados { padding-bottom: clamp(64px, 8vw, 110px); }
.relacionados > h2 { padding-top: 40px; margin-bottom: 26px; border-top: 1px solid var(--linha); font-weight: 400; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.03em; }

.rodape { padding: 56px 0 26px; background: var(--preto); border-top: 1px solid var(--linha); }
.rodape-grade { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 36px; }
.rodape-marca p { margin-top: 14px; color: var(--cinza); font-size: 15px; max-width: 18em; }
.rodape .rotulo { margin-bottom: 14px; }
.rodape li { margin-bottom: 8px; font-size: 15px; }
.rodape-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--linha); font-family: var(--mono); font-size: 12px; color: var(--cinza); }

@media (max-width: 1020px) {
  .art-grade { grid-template-columns: minmax(0, 720px); }
  .sumario { position: static; max-height: none; padding: 18px 20px; border: 1px solid var(--linha); }
  .sumario ol { border-left: 0; }
  .sumario a { padding: 6px 0; border-left: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav, .btn-topo { display: none; }
  .menu-btn { display: block; }
  .topo-in { height: 60px; }
  .cards, .card.destaque { grid-template-columns: minmax(0, 1fr); }
  .card.destaque img { grid-row: auto; }
  .card.destaque .rotulo { margin-top: 16px; }
  .rodape-grade { grid-template-columns: 1fr 1fr; }
  .rodape-marca { grid-column: 1 / -1; }
  .acoes .btn { flex: 1 1 100%; }
  .art-capa img { aspect-ratio: 1200 / 630; }
  .tabela table { font-size: 14px; }
  .tabela th, .tabela td { padding: 10px; }
  .tabela .col4, .tabela .col5 { min-width: 620px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
