@font-face {
  font-family: 'Instrument Sans';
  src: url('/maverick/assets/fonts/instrument-sans-latin-wght.woff2') format('woff2');
  font-weight: 400 700;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--altura-cabecalho);
  -webkit-text-size-adjust: 100%;
  background: var(--cor-noite);
}

body {
  margin: 0;
  background: var(--cor-papel);
  color: var(--cor-tinta);
  font-family: var(--fonte);
  font-size: var(--texto-base);
  font-kerning: normal;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2 {
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

h3 {
  font-size: var(--titulo-3);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

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

:focus-visible {
  outline: 2px solid var(--c-acento, var(--cor-acento));
  outline-offset: 3px;
}

::selection {
  background: var(--cor-acento);
  color: #fff;
}

.so-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
