:root {
  --bg: #101010;
  --surface: #1a1a1a;
  --line: #2c2c2c;
  --text: #ececec;
  --muted: #a6a6a6;
  --accent: #feff00;
  --accent-ink: #101010;
  --warn-bg: #3a3300;
  --warn-text: #fff7a8;
  --max: 46rem;
  font-family: Montserrat, "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1rem;
}

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

.draft {
  background: var(--warn-bg);
  color: var(--warn-text);
  font-size: .85rem;
  text-align: center;
  padding: .5rem 16px;
}

header.site {
  border-bottom: 1px solid var(--line);
}
header.site .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.brand {
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 1.1rem;
}
.brand { display: inline-flex; align-items: center; gap: .45rem; }
.brand img { display: block; height: 21px; width: auto; }
.brand span { color: var(--text); font-weight: 700; }
nav.site { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; font-size: .9rem; }
nav.site a { color: var(--muted); text-decoration: none; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }

main { padding: 2.5rem 0 3.5rem; }

h1 { font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.15; margin: 0 0 1rem; font-weight: 800; }
h2 { font-size: 1.25rem; margin: 2.25rem 0 .5rem; font-weight: 700; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 .25rem; }
p, ul, ol { margin: 0 0 1rem; }
ul, ol { padding-left: 1.25rem; }
li { margin-bottom: .35rem; }

.eyebrow {
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
}
.lead { font-size: 1.15rem; color: var(--text); }
.muted { color: var(--muted); }

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  padding: .8rem 1.25rem;
  border-radius: 6px;
}
.button:hover { filter: brightness(.92); }

.cards { display: grid; gap: 1rem; grid-template-columns: 1fr; margin: 1.5rem 0; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1rem; }
.card h3 { margin-top: 0; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }

.box { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.25rem; margin: 1.25rem 0; }

table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 0 0 1rem; }
th, td { text-align: left; vertical-align: top; padding: .55rem .5rem; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 600; }
.table-scroll { overflow-x: auto; }

/* Marcação de rascunho: some quando o texto for confirmado e a classe sair. */
.ac {
  background: var(--warn-bg);
  color: var(--warn-text);
  padding: 0 .25rem;
  border-radius: 3px;
  font-size: .92em;
}

.meta { color: var(--muted); font-size: .9rem; }

footer.site { border-top: 1px solid var(--line); padding: 1.5rem 0 2.5rem; font-size: .88rem; color: var(--muted); }
footer.site nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-bottom: .75rem; }
footer.site a { color: var(--muted); }
footer.site a:hover { color: var(--text); }
footer.site p { margin: 0 0 .35rem; }
