:root {
  color-scheme: dark;
  --canvas: #10181f;
  --surface: #10181f;
  --ink: #f3f4f6;
  --muted: #b7bfc8;
  --line: #1c272f;
  --accent: #05b305;
  --header-height: 58px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
}
* { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-height) + 1rem); }
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100svh; margin: 0; min-width: 0; overflow-wrap: anywhere; }
body, button, input, select, textarea { font-size: 1rem; }
button, input, select, textarea { font: inherit; }
a { color: var(--accent); text-underline-offset: .2em; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1260px; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.skip-link { position: fixed; z-index: 20; top: .5rem; left: 1rem; padding: .65rem 1rem; background: var(--surface); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 10; flex-shrink: 0; background: linear-gradient(180deg, #1a2931, #17242c); border-bottom: 1px solid #2e3f48; box-shadow: 0 6px 18px rgb(0 0 0 / .24); }
.header-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; min-height: 64px; padding-block: 7px; }
.header-identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.site-header .brand { display: flex; align-items: center; width: 172px; }
.site-header .brand img { width: 100%; height: auto; }
.brand { flex-shrink: 0; font-size: 1.5rem; font-weight: 750; color: var(--ink); text-decoration: none; }
.main-nav { display: flex; align-items: stretch; justify-content: center; }
.rumos-do-verde { align-self: stretch; margin-block: -7px; }
.rumos-do-verde a { display: flex; align-items: center; justify-content: center; gap: 7px; min-width: 0; min-height: 64px; padding: 0 14px; border-bottom: 2px solid transparent; color: #8b98a4; font-size: .75rem; font-weight: 500; line-height: 1.2; text-transform: uppercase; text-decoration: none; white-space: nowrap; transition: color .15s ease, border-color .15s ease; }
.rumos-do-verde a:hover, .rumos-do-verde a:focus-visible { color: #fff; }
.rumos-do-verde a[aria-current="page"] { border-bottom-color: #05b305; color: #fff; font-weight: 700; }
.figura-do-rumo { display: block; width: 16px; height: 16px; flex-shrink: 0; }
.header-actions { display: flex; align-items: center; justify-self: end; gap: 8px; }
.chave-da-torcida { display: none; place-items: center; flex-shrink: 0; width: 40px; height: 44px; padding: 0; border: 0; border-radius: 4px; color: #94a2ab; background: transparent; }
.chave-da-torcida:hover { color: #dbe3e8; }
.tracos-da-chave { display: flex; flex-direction: column; justify-content: space-between; width: 18px; height: 12px; }
.tracos-da-chave > span { width: 100%; height: 1.5px; border-radius: 1px; background: currentColor; transition: transform .15s ease, opacity .15s ease; }
.chave-da-torcida[aria-expanded="true"] .tracos-da-chave > span:first-child { transform: translateY(5.25px) rotate(45deg); }
.chave-da-torcida[aria-expanded="true"] .tracos-da-chave > span:nth-child(2) { opacity: 0; }
.chave-da-torcida[aria-expanded="true"] .tracos-da-chave > span:last-child { transform: translateY(-5.25px) rotate(-45deg); }
.header-actions .passo { min-height: 40px; padding: 12px 16px; font-size: 14px; font-weight: 600; line-height: 16px; white-space: nowrap; }
.header-actions .passo:first-child { background: transparent; border-color: transparent; }
.header-actions .passo:first-child:hover { background: #1b252d; }
.passo { border: 1px solid var(--accent); border-radius: .4rem; padding: .65rem 1.1rem; color: #fff; background: var(--accent); min-height: 44px; }
.passo:hover { background: #079c07; }
main { flex: 1 0 auto; min-height: 0; padding-block: 2rem 4rem; }
section[id], nav[id], h1[id], h2[id], h3[id] { scroll-margin-top: calc(var(--header-height) + 1rem); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: 0 0 2rem; list-style: none; font-size: .9375rem; }
.breadcrumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--muted); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.15; letter-spacing: -.035em; margin: 0 0 1.25rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.3; }
h3 { font-size: 1.25rem; line-height: 1.4; }
p { margin-block: 0 1.25rem; }
img { display: block; max-width: 100%; height: auto; object-fit: contain; }
figure { margin-inline: 0; }
table { border-collapse: collapse; width: 100%; }
th, td { padding: .75rem 1rem; text-align: left; border-bottom: 1px solid var(--line); }
details { border-block-end: 1px solid var(--line); padding-block: 1rem; }
summary { cursor: pointer; font-weight: 600; }
details[open] summary { margin-bottom: 1rem; }
@media (min-width: 861px) {
  /* O menu aparece desde a primeira pintura, antes do JavaScript adiado. */
  .main-nav[hidden] { display: flex !important; }
}
@media (min-width: 861px) and (max-width: 1040px) {
  .header-row { column-gap: 8px; }
  .site-header .brand { width: 144px; }
  .rumos-do-verde a { gap: 5px; padding-inline: 6px; font-size: .6875rem; }
  .figura-do-rumo { width: 14px; height: 14px; }
  .header-actions .passo { padding-inline: 10px; font-size: 13px; }
}
@media (max-width: 860px) {
  .header-row { grid-template-columns: minmax(0, 1fr) auto; }
  .chave-da-torcida { display: grid; }
  .main-nav { position: absolute; top: 100%; left: clamp(1rem, 3vw, 2rem); flex-direction: column; width: min(300px, calc(100% - 2 * clamp(1rem, 3vw, 2rem))); }
  .rumos-do-verde { margin: 0; padding: 8px; border: 1px solid #26373f; border-radius: 0 0 10px 10px; background: #152129; box-shadow: 0 12px 24px rgb(0 0 0 / .2); }
  .rumos-do-verde a { justify-content: flex-start; gap: 10px; min-height: 50px; border-radius: 4px; }
}
@media (max-width: 760px) {
  .header-row { column-gap: 6px; }
  .header-identity { gap: 6px; }
  .site-header .brand { width: clamp(88px, 24vw, 172px); }
  .header-actions { gap: 2px; }
  .header-actions .passo { padding-inline: 6px; }
  .brand { font-size: 1.25rem; }
  main { padding-block: 1.5rem 3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
