@font-face {
  font-family: "Bebas Neue";
  src: url("../assets/fonts/bebas-neue.woff2") format("woff2");
  font-display: swap;
}

:root {
  --verde: #019944;          /* Pantone 2421 C (manual) */
  --verde-texto: #007a36;    /* variação mais escura p/ contraste AA em texto */
  --tinta: #000;
  --texto: #1a1a1a;
  --suave: #555;
  --fundo: #fff;
  --fundo-alt: #eef5ef;      /* verde-claro do manual, p. 8 */
  --linha: #dfe6e1;
  --titulo: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --corpo: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --verde-texto: #3ccf7a;
    --tinta: #fff;
    --texto: #e9efeb;
    --suave: #a9b8ae;
    --fundo: #0b1f17;        /* verde-escuro do manual, p. 8 */
    --fundo-alt: #12302a;
    --linha: #24443a;
  }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font: 1.0625rem/1.6 var(--corpo);
  color: var(--texto);
  background: var(--fundo);
}

.wrap { width: 100%; max-width: 60rem; margin: 0 auto; padding: 0 1.25rem; }

h1, h2 {
  font-family: var(--titulo);
  font-weight: 400;
  letter-spacing: .02em;
  line-height: 1;
  color: var(--tinta);
  margin: 0 0 .5rem;
}
h2 { font-size: 2.25rem; }
p { margin: 0 0 1rem; }

a { color: var(--verde-texto); }
a:focus-visible {
  outline: 3px solid var(--verde-texto);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -999px; top: .5rem;
  background: var(--tinta); color: var(--fundo); padding: .5rem 1rem;
}
.skip:focus { left: .5rem; }

/* Topo */
.topo { padding: 3.5rem 0 2.5rem; }
.logo { display: block; width: 13rem; height: auto; margin-bottom: 2.5rem; }
.topo h1 { font-size: 3.5rem; }
.lead { font-size: 1.2rem; color: var(--suave); max-width: 36rem; }

main > section, .grade { margin-bottom: 3rem; }

/* Destaque */
.destaque {
  background: var(--fundo-alt);
  border-left: 6px solid var(--verde);
  border-radius: 6px;
  padding: 2rem 1.5rem;
}

/* Botões: texto preto sobre o verde da marca (contraste 5,6:1) */
.btn {
  display: inline-block;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  background: var(--verde);
  padding: .85rem 1.5rem;
  border-radius: 6px;
  border: 2px solid var(--verde);
}
.btn:hover { background: #00b34f; border-color: #00b34f; }
.btn-sec { background: transparent; color: var(--tinta); }
.btn-sec:hover { background: var(--verde); color: #000; }

.grade { display: grid; gap: 3rem; }
.grade > section { padding-top: 1.5rem; border-top: 1px solid var(--linha); }

.fone {
  font-family: var(--titulo);
  font-size: 2.75rem;
  line-height: 1;
  color: var(--tinta);
  text-decoration-color: var(--verde);
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
}

/* Documentos */
main > section[aria-labelledby="t-docs"] { padding-top: 1.5rem; border-top: 1px solid var(--linha); }
.docs { list-style: none; margin: 0; padding: 0; }
.docs a {
  display: flex; flex-direction: column; gap: .15rem;
  padding: 1rem 1.25rem 1rem 3.25rem;
  border: 1px solid var(--linha);
  border-radius: 6px;
  color: var(--texto);
  text-decoration: none;
  position: relative;
}
.docs a::before {
  content: "PDF";
  position: absolute; left: 1rem; top: 1.1rem;
  font: .7rem/1 var(--corpo); font-weight: 700;
  color: #000; background: var(--verde);
  padding: .3rem .25rem; border-radius: 3px;
}
.docs a:hover { border-color: var(--verde); }
.docs span { font-weight: 700; text-decoration: underline; text-decoration-color: var(--verde); }
.docs small { color: var(--suave); }

/* Rodapé */
.rodape {
  border-top: 4px solid var(--verde);
  padding: 2rem 0 2.5rem;
  font-size: .9rem;
  color: var(--suave);
}
.rodape p { margin: 0 0 .35rem; }
.rodape strong { color: var(--texto); }

@media (min-width: 48rem) {
  .topo { padding: 5rem 0 3.5rem; }
  .topo h1 { font-size: 4.5rem; }
  .destaque { padding: 2.5rem 2.5rem; }
  .grade { grid-template-columns: 1fr 1fr; }
}
.nota { margin-top: 1rem; font-size: .9rem; color: var(--suave); max-width: 44rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
