/* ==========================================================================
   BASE
   --------------------------------------------------------------------------
   Reset leve, elementos HTML, container e acessibilidade.
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: var(--sans);
    font-weight: 400;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3 {
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.04;
}

p {
    margin: 0;
}

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

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

button {
    font-family: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
    border-radius: 8px;
}

.wrap {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 28px;
}

section[id] {
    scroll-margin-top: 80px;
}

.o {
    color: var(--orange);
}

/* --- Responsivo --------------------------------------------------------- */

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

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media (max-width:640px) {
    .wrap {
        padding: 0 20px;
    }
}
