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

body {
    font-family: var(--font-family-base);
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-dark);
    background-color: var(--color-bg-light);
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

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

button {
    font-family: inherit;
}

h1,
h2,
h3,
h4 {
    font-size: inherit;
    font-weight: inherit;
}

/* Escala do quadro "03 / Typography Scale" (node 4003:806).
   O frame da Home aplica outros pesos e tamanhos em seções específicas. */

.display-text {
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: var(--color-accent-navy);
}

.heading-1 {
    font-size: 40px;
    font-weight: 700;
    line-height: 48px;
    color: var(--color-accent-navy);
}

.heading-2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    color: var(--color-accent-navy);
}

.heading-3 {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--color-accent-navy);
}

.heading-4 {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    color: var(--color-accent-navy);
}

.body-large {
    font-size: 18px;
    font-weight: 400;
    line-height: 26px;
}

.body-medium {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.body-small {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
}

.overline {
    font-size: 10px;
    font-weight: 500;
    line-height: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: var(--space-16);
}

.container {
    width: 100%;
    max-width: calc(var(--container-content) + 2 * var(--container-gutter));
    margin-inline: auto;
    padding-inline: var(--container-gutter);
}

.container--header {
    max-width: calc(var(--container-header) + 2 * var(--container-gutter));
}

/* Breakpoints da spec 7.2, registrados em tokens.css: --bp-laptop 1279px, --bp-tablet 1023px, --bp-mobile 639px. */

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

:focus-visible {
    outline: 2px solid var(--color-secondary-500);
    outline-offset: 3px;
}

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