/* Reset Básico e Configurações Globais */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-main);
    color: var(--text-main);
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    background-color: var(--bg-page);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-default);
}

ul,
ol {
    list-style: none;
}

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

input,
button,
textarea,
select {
    font: inherit;
    outline: none;
    border: none;
    background: none;
}

button {
    cursor: pointer;
}

/* Utilitários de Layout */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.flex {
    display: flex;
    gap: var(--spacing-md);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

/* Utilitários de Texto */
.text-center {
    text-align: center;
}

.text-primary {
    color: var(--color-primary-dark);
}

.text-muted {
    color: var(--text-muted);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-display);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-main);
}

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

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

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

p {
    margin-bottom: var(--spacing-md);
    color: var(--text-muted);
}

/* Componentes Base Atualizados */

/* Botões */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: var(--font-size-body);
    transition: var(--transition-default);
    gap: 8px;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--text-main);
    box-shadow: 0 4px 15px rgba(224, 255, 96, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(224, 255, 96, 0.5);
    background: #d4f73a;
}

.btn-secondary {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    color: var(--text-main);
}

.btn-secondary:hover {
    background: #FAFAFA;
    border-color: #D1D5DB;
    transform: translateY(-1px);
}

/* Inputs */
.input-field {
    height: 48px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: var(--radius-md);
    padding: 0 16px;
    width: 100%;
    color: var(--text-main);
    transition: var(--transition-default);
    font-size: 14px;
}

.input-field:focus {
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 2px rgba(26, 26, 26, 0.1);
}

/* Backwards Compatibility for other pages (Now Clean Card) */
.glass-card {
    background: #e9eeea;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 24px;
    transition: var(--transition-default);
}

.glass-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}