/* =========================
   RESET GLOBAL
========================= */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   HTML / BODY
========================= */

html, body {
    height: 100%;
}

body {
    background-color: var(--color-surface);
    color: var(--color-text-main);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: var(--font-body-md-size);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* =========================
   TIPOGRAFIA BASE
========================= */

h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-title-md-weight);
    color: var(--color-text-main);
}

h1 { font-size: var(--font-display-lg-size); }
h2 { font-size: var(--font-headline-sm-size); }
h3 { font-size: var(--font-title-md-size); }

p {
    color: var(--color-text-secondary);
}

/* =========================
   LINKS
========================= */

a {
    text-decoration: none;
    color: inherit;
}

/* =========================
   LISTAS
========================= */

ul, ol {
    list-style: none;
}

/* =========================
   INPUT / BUTTON RESET
========================= */

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =========================
   CONTAINER BASE
========================= */

.container {
    padding: var(--spacing-lg);
}

/* =========================
   SCROLLBAR (opcional premium)
========================= */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-surface-container-low);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface-container-high);
    border-radius: var(--border-radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-surface-container-highest);
}