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

/* Fundo da página: só aparece na área de "bounce" ao rolar além das bordas.
   Topo em lavanda (continua o header) e final em Gray 2 (continua o rodapé). */
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--color-neutrals-gray-2);
  background-image: linear-gradient(
    to bottom,
    var(--color-background-default-lavender) 0 50%,
    var(--color-neutrals-gray-2) 50% 100%
  );
}

body {
  margin: 0;
  font-family: var(--font-family-base);
  color: var(--color-branding-default-purple);
  -webkit-font-smoothing: antialiased;
}

body.is-scroll-locked {
  overflow: hidden;
}

img {
  display: block;
}

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

button {
  font: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--color-branding-default-purple);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Container padrão: no máximo 1728px, centralizado. Fundos e linhas ficam fora dele. */
.container {
  width: 100%;
  max-width: var(--layout-max-width);
  margin-inline: auto;
  padding-inline: var(--layout-gutter);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --motion-duration: 0ms;
  }

  html {
    scroll-behavior: auto;
  }
}
