/* CSS base válido para W3C, copiado para a raiz no build */
html, body {
  margin: 0;
  padding: 0;
  color: #000000;
  background-color: #ffffff;
}

.skip-nav {
  position: relative;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.skip-nav .skip-link:nth-child(2):focus,
.skip-nav .skip-link:nth-child(2):focus-visible {
  top: 3.25rem;
}

.skip-link-nav:focus,
.skip-link-nav:focus-visible {
  top: 6.5rem;
}

.skip-link {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  border-radius: 0 0 0.25rem 0;
}

.skip-link:not(:focus):not(:focus-visible) {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

a.skip-link,
a.skip-link:link,
a.skip-link:visited,
a.skip-link:hover,
a.skip-link:active,
a.skip-link:focus,
a.skip-link:focus-visible {
  color: #ffffff !important;
  background-color: #000000 !important;
}

.skip-link:focus,
.skip-link:focus-visible {
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  white-space: normal;
  outline: 3px solid #0b5fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.35);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  /* substitui clip: rect(...) (obsoleto) */
  clip-path: inset(50%);
  border: 0;
}

.noscript-warning {
  background: #fff3cd;
  color: #856404;
  padding: 16px;
  text-align: center;
  border: 1px solid #ffeeba;
}


