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

html {
  scroll-padding-top: var(--altura-do-cabecalho);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--obsidiana);
  color: var(--areia);
  font-family: var(--fonte-texto);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

input,
select,
textarea,
button {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--cor-foco, var(--magma));
  outline-offset: 2px;
}

[hidden] {
  display: none !important;
}
