/* ========================================
   BASE — Variáveis, Reset e Utilitários
   ======================================== */

:root {
    --primary: #0a2540;
    --accent: #ff6b35;
    --highlight: #00d4aa;
    
    --text: #1a1a2e;
    --text-light: #64748b;
    --text-muted: #94a3b8;
    
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --bg-dark: #0a2540;
    
    --radius: 16px;
    --radius-lg: 24px;
    
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset básico para a home */
body.home,
body.home #body,
body.home #content,
body.home .wrapper,
body.home .container,
body.home main {
    font-family: var(--font);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    max-width: none;
    width: auto;
    float: none;
}

body.home h1,
body.home h2,
body.home h3,
body.home h4,
body.home h5,
body.home h6 {
    font-family: var(--font);
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-top: 0;
}

body.home p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Remove restrições do container Grav */
body.home .container,
body.home .wrapper,
body.home #body .container,
body.home main .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
}

body.home .container .columns,
body.home .container .column {
    max-width: 100%;
    width: 100%;
    flex: none;
}

/* Animações */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Botões base */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: var(--font);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), #1e3a5f);
    color: white;
    box-shadow: 0 4px 14px rgba(10, 37, 64, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 37, 64, 0.4);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Ajuste do body para header fixo */
body.home {
    padding-top: 72px;
}

@media (max-width: 480px) {
    body.home {
        padding-top: 64px;
    }
}