/* =========================================================
   RESET BASICO
========================================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* =========================================================
   HTML / BODY
========================================================= */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: var(--font-base);
    background: var(--bg-page);
    color: var(--text-on-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

/* =========================================================
   TIPOGRAFIA GLOBAL
========================================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-base);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--font-size-3xl);
}

h2 {
    font-size: var(--font-size-2xl);
}

h3 {
    font-size: var(--font-size-xl);
}

h4 {
    font-size: var(--font-size-lg);
}

h5 {
    font-size: var(--font-size-md);
}

h6 {
    font-size: var(--font-size-sm);
}

p {
    margin-bottom: var(--space-md);
}

/* =========================================================
   LINKS
========================================================= */
a {
    color: var(--secondary-500);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    opacity: 0.85;
}

/* =========================================================
   LISTAS
========================================================= */
ul,
ol {
    margin-left: var(--space-lg);
    margin-bottom: var(--space-md);
}

li + li {
    margin-top: var(--space-xs);
}

/* =========================================================
   MIDIA
========================================================= */
img,
picture,
video,
canvas,
svg {
    display: block;
    max-width: 100%;
    height: auto;
}

/* =========================================================
   CONTAINER PADRAO
========================================================= */
.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* =========================================================
   SECOES GENERICAS
========================================================= */
.section {
    padding-top: 88px;
    padding-bottom: 88px;
}

/* =========================================================
   BOTOES BASE
========================================================= */
button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* =========================================================
   FORM ELEMENTS
========================================================= */
input,
textarea,
select,
button {
    font: inherit;
}

input,
textarea,
select {
    min-width: 0;
}

/* =========================================================
   ACESSIBILIDADE
========================================================= */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-xs);
}

/* =========================================================
   RESPONSIVO BASE
========================================================= */
@media (max-width: 768px) {
    h1 {
        font-size: var(--font-size-2xl);
    }

    h2 {
        font-size: var(--font-size-xl);
    }

    h3 {
        font-size: var(--font-size-lg);
    }

    .section {
        padding-top: 64px;
        padding-bottom: 64px;
    }
}

/* FIX LAYOUT GENERATEPRESS FLEX */
.site-content {
    display: block !important;
}