/**
 * Base CSS - Reset, Tipografia e Acessibilidade
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@500;600;700&display=swap');

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

html {
    font-size: 16px;
    height: 100%;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    font-family: var(--font-sans);
    font-size: 0.9375rem; /* 15px */
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Tipografia Estruturada */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.25;
}

.text-display {
    font-size: 2.25rem; /* 36px */
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
}

h1, .text-h1 {
    font-size: 1.625rem; /* 26px */
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2, .text-h2 {
    font-size: 1.25rem; /* 20px */
    font-weight: 600;
    letter-spacing: -0.015em;
}

h3, .text-h3 {
    font-size: 1.0625rem; /* 17px */
    font-weight: 600;
}

p, .text-body {
    font-size: 0.9375rem; /* 15px */
    line-height: 1.5;
    color: var(--color-text);
}

.text-small {
    font-size: 0.8125rem; /* 13px */
    line-height: 1.4;
    color: var(--color-text-muted);
}

.text-label {
    font-size: 0.75rem; /* 12px */
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

/* Links & Botões Nativos */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--color-primary-hover);
}

button {
    font: inherit;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* Acessibilidade - Focus Visible */
:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible),
input:focus:not(:focus-visible) {
    outline: none;
}

/* Utilitários Básicos */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
