:root {
  --fundo: #f2eee6;
  --fundo-2: #e8e2d6;
  --texto: #2e3338;
  --muted: #585e65;
  --linha: #d6d0c4;
  --destaque: #b8924a;
  --escuro: #101214;
  --gutter: clamp(20px, 5vw, 56px);
  --corpo: "Inter", system-ui, sans-serif;
  --titulo: "Sora", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 400 1rem/1.65 var(--corpo); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, p { margin: 0; }
h1, h2 { font-family: var(--titulo); letter-spacing: -.025em; line-height: 1.16; }
.wrap { width: 100%; max-width: 1120px; padding: 0 var(--gutter); margin: 0 auto; }
.topo { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.topo .logo img { width: 180px; height: auto; }
.voltar { text-decoration: none; font-weight: 600; font-size: .9rem; border-bottom: 1px solid var(--linha); }
.voltar:hover { border-color: var(--texto); }
.intro { padding-top: clamp(58px, 8vw, 104px); padding-bottom: clamp(44px, 6vw, 76px); border-top: 1px solid var(--linha); }
.micro { margin-bottom: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; font-weight: 600; }
.intro h1 { max-width: 860px; font-size: clamp(2.5rem, 5.4vw, 5rem); }
.intro .lead { max-width: 720px; margin-top: 24px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.data { display: inline-flex; margin-top: 28px; border: 1px solid var(--linha); border-radius: 999px; padding: 7px 13px; color: var(--muted); font-size: .8rem; }
.conteudo { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(40px, 7vw, 92px); padding-top: 30px; padding-bottom: 100px; border-top: 1px solid var(--linha); }
.sumario { align-self: start; position: sticky; top: 30px; display: grid; gap: 10px; }
.sumario strong { font: 700 .9rem var(--titulo); margin-bottom: 7px; }
.sumario a { text-decoration: none; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.sumario a:hover { color: var(--texto); text-decoration: underline; text-decoration-color: var(--destaque); text-underline-offset: 4px; }
.artigo { min-width: 0; max-width: 720px; }
.artigo section { scroll-margin-top: 24px; border-bottom: 1px solid var(--linha); padding: 28px 0 36px; }
.artigo section:first-child { padding-top: 0; }
.artigo section:last-child { border: 0; }
.artigo h2 { margin-bottom: 16px; font-size: clamp(1.35rem, 2.3vw, 1.75rem); }
.artigo p + p, .artigo ul + p, .artigo p + ul { margin-top: 14px; }
.artigo p, .artigo li { color: var(--muted); }
.artigo ul { padding-left: 23px; margin-bottom: 0; }
.artigo li + li { margin-top: 7px; }
.artigo a { color: var(--texto); text-decoration-color: var(--destaque); text-underline-offset: 3px; overflow-wrap: anywhere; }
.artigo strong { color: var(--texto); }
.contato { margin-top: 23px; display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; background: var(--escuro); border-radius: 8px; color: var(--fundo) !important; font-weight: 600; text-decoration: none !important; }
.contato:hover { background: #24282c; }
.rodape { background: var(--escuro); color: #c3c7cc; }
.rodape .wrap { padding-top: 34px; padding-bottom: 34px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; }
.rodape img { width: 170px; height: auto; }
.rodape a { color: #f2eee6; text-decoration: none; }
.rodape a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--destaque); outline-offset: 4px; }
@media (max-width: 760px) {
  .conteudo { display: block; padding-top: 0; padding-bottom: 60px; }
  .sumario { position: static; display: flex; flex-wrap: wrap; gap: 10px 16px; padding: 22px 0; border-bottom: 1px solid var(--linha); }
  .sumario strong { width: 100%; margin: 0; }
  .artigo section:first-child { padding-top: 28px; }
  .rodape .wrap { display: grid; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
