/* ==========================================================================
   BASE
   Reset leve, tipografia, container, etiquetas técnicas e entrada suave.
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: clip;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--tx);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--disp);
    font-weight: 400;
    letter-spacing: -.02em;
    line-height: 1.05;
}

p {
    margin: 0;
}

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

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

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

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

::selection {
    background: var(--or);
    color: #000;
}

.wrap {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

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

.mono {
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.or {
    color: var(--or);
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--mono);
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--tx2);
}

.tag b {
    color: var(--or);
    font-weight: 500;
}

.rv {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.rv.in {
    opacity: 1;
    transform: none;
}

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

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

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

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

/* --- Acessibilidade -------------------------------------------------- */

@media (prefers-reduced-motion:reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .rv {
        opacity: 1;
        transform: none;
    }
}
