@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans-latin-wdth-normal.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  --fundo: #111113;
  --texto: #F5F5F2;
  --cinza: #8F8F95;
  --fio: #55555C;
  --presenca: #FFCB27;
  --linha: #2C2C30;
  --margem: clamp(16px, 4.4vw, 72px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--fundo);
  color: var(--cinza);
  font: 400 17px/1.55 "Instrument Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, p, ul, ol { margin: 0; padding: 0; font: inherit; }
a { color: var(--texto); text-decoration: underline; text-decoration-color: var(--fio); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
:where(a):focus-visible { outline: 3px solid var(--presenca); outline-offset: 4px; border-radius: 4px; }

.topo { display: flex; align-items: center; min-height: 72px; padding: 0 var(--margem); border-bottom: 1px solid var(--linha); }
.selo { display: flex; align-items: center; gap: .4em; color: var(--texto); font-weight: 600; letter-spacing: -.01em; text-decoration: none; }
.selo img { width: 1.7em; height: 1.7em; }

.idioma { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.idioma > * { display: grid; place-items: center; min-width: 44px; min-height: 44px; border-radius: 6px; }
.idioma img { display: block; width: 27px; height: 19px; border-radius: 2px; box-shadow: 0 0 0 1px var(--linha); }
.idioma a img { opacity: .45; filter: grayscale(.6); transition: opacity .15s, filter .15s; }
.idioma a:hover img, .idioma a:focus-visible img { opacity: 1; filter: none; }
.idioma [aria-current] img { box-shadow: 0 0 0 2px var(--presenca); }
@media (prefers-reduced-motion: reduce) { .idioma a img { transition: none; } }

.documento { max-width: 720px; margin: 0 auto; padding: clamp(48px, 7vw, 96px) var(--margem) clamp(72px, 9vw, 128px); }
.documento h1 { color: var(--texto); font-size: clamp(32px, 4.4vw, 48px); font-weight: 650; font-stretch: 75%; line-height: 1.04; letter-spacing: -.012em; text-wrap: balance; }
.documento .data { margin-top: 12px; font-size: 15px; }
.documento h2 { margin-top: clamp(40px, 5vw, 56px); color: var(--texto); font-size: 22px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.documento p, .documento ul { margin-top: 16px; }
.documento ul { padding-left: 1.3em; }
.documento li { margin-top: 8px; }
.documento strong { color: var(--texto); font-weight: 600; }

.rodape { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin: 0 var(--margem); padding: 24px 0 40px; border-top: 1px solid var(--linha); font-size: 14px; }
.rodape a { color: inherit; text-decoration: none; }
.rodape a:hover { color: var(--texto); text-decoration: underline; }
