/* Papel Avulso — base
   Reset enxuto + tipografia + elementos nativos. */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--pa-paper);
  color: var(--pa-ink);
  font-family: var(--pa-font-sans);
  font-size: var(--pa-t-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .5em;
  line-height: 1.15;
  text-wrap: balance;
  font-weight: 700;
  letter-spacing: -.015em;
}
h1 { font-size: var(--pa-t-4); }
h2 { font-size: var(--pa-t-3); }
h3 { font-size: var(--pa-t-2); }
h4 { font-size: var(--pa-t-1); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--pa-orange-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid var(--pa-orange);
  outline-offset: 2px;
  border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--pa-line); margin: var(--pa-s-5) 0; }

ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }

table { border-collapse: collapse; width: 100%; }
th, td { text-align: left; padding: .7rem .85rem; border-bottom: 1px solid var(--pa-line); }
th { font-weight: 700; }

/* Acessibilidade: pular para o conteúdo */
.pa-skip {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--pa-espresso); color: #fff; padding: .75rem 1.1rem; border-radius: 0 0 var(--pa-r-chip) 0;
}
.pa-skip:focus { left: 0; }

/* Só para leitor de tela */
.screen-reader-text, .pa-sr {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
