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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Trava o scroll horizontal: os brilhos ambientes do body (body::before/
     ::after) e o campo de estrelas sangram de propósito para fora da tela.
     Em tablet o vmax usa a altura, então o sangramento lateral abria uma
     faixa vazia rolável ("dá pra mexer pros lados"). O guard vai no html
     porque os glows são position:fixed — overflow no body não os conteria. */
  overflow-x: hidden;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

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

p, h1, h2, h3, h4 {
  overflow-wrap: break-word;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}
