/* ============================================
   BASE STYLES - Variables, Reset, Typography
   ============================================ */

/* Neue Montreal Font - Se você tiver os arquivos da fonte, adicione @font-face aqui */
/* Exemplo:
@font-face {
    font-family: 'Neue Montreal';
    src: url('../fonts/NeueMontreal-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
*/

:root {
    /* Colors - Dark Premium Palette */
    --primary: #416b99;
    --primary-dark: #2c4a6e;
    --primary-light: #6c92bd;
    --secondary: #d8ab71;
    --accent: #bfc6c1;
    
    --text-primary: #e8eef3;
    --text-secondary: #a8b8c3;
    --text-white: #ffffff;
    
    --bg-body: #1a2328;
    --bg-section: #0e1216;
    --bg-card: #242f36;
    --card-bg: #242f36;
    
    --border-light: #2c3b45;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
    
    /* Spacing */
    --container-padding: 2rem;
    --container-max: 1200px;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;
    
    /* Radius */
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
}

/* Light Mode Variables */
[data-theme="light"] {
    --primary: #416b99;
    --primary-dark: #2c4a6e;
    --primary-light: #6c92bd;
    
    --text-primary: #182028 !important;
    --text-secondary: #3f4b57 !important;
    --text-white: #ffffff;
    
    --bg-body: #ffffff;
    --bg-section: #d3deef;
    --bg-card: #f7f9fc;
    --card-bg: #ffffff;
    
    --border-light: #b5c2d8;
    
    --shadow-sm: 0 4px 10px rgba(65, 107, 153, 0.16);
    --shadow-md: 0 8px 20px rgba(65, 107, 153, 0.2);
    --shadow-lg: 0 16px 40px rgba(65, 107, 153, 0.24);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

body {
    font-family: 'Neue Montreal', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.menu-open,
html.menu-open {
    overflow: hidden !important;
}

a {
    text-decoration: none;
    color: inherit;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.2;
}

.section-title {
    font-size: 2.75rem;
    margin-bottom: var(--space-sm);
}

.section-title--light {
    color: var(--text-white);
}

[data-theme="light"] .section-title--light {
    color: var(--text-primary) !important;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

[data-theme="light"] .section-subtitle {
    color: #5e6d77 !important;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    background: rgba(65, 107, 153, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 100px;
}

[data-theme="light"] .section-tag {
    color: #2c4a6e;
    background: rgba(65, 107, 153, 0.22);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
}

.btn--primary {
    background-color: var(--secondary);
    color: var(--text-white);
    box-shadow: 0 4px 12px rgba(216, 171, 113, 0.3);
}

.btn--primary:hover {
    background-color: #c4995f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 171, 113, 0.4);
}

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

.btn--outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: rgba(65, 107, 153, 0.1);
}

.btn--full {
    width: 100%;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    :root {
        --container-padding: 1.5rem;
        --space-lg: 3rem;
        --space-xl: 4rem;
    }
}
