:root {
    /* Spacing system (16px base) */
    --space-1: 16px;
    --space-2: 32px;
    --space-3: 48px;
    --space-4: 64px;
    --space-5: 80px;
    --space-6: 96px;

    /* Color Palette */
    --bg-dark: #F3F5F9;
    --bg-card: rgba(255, 255, 255, 0.8);
    --border-glass: rgba(26, 70, 106, 0.1);
    
    /* Estrutto Colors */
    --primary-blue: #1A466A;
    --light-blue: #2985C1;
    --accent-red: #D82D27;
    
    /* Text */
    --text-main: #000000;
    --text-muted: #5A6A7D;
    
    /* Gradients */
    --gradient-glow: radial-gradient(circle at top, rgba(41, 133, 193, 0.1), transparent 50%);
    --gradient-text: linear-gradient(90deg, #1A466A, #2985C1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Glow Effects */
.glow {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.5;
}

.glow-1 {
    top: -200px;
    left: -100px;
    background: radial-gradient(circle, rgba(41, 133, 193, 0.3), transparent 70%);
}

.glow-2 {
    top: 40%;
    right: -200px;
    background: radial-gradient(circle, rgba(216, 45, 39, 0.15), transparent 70%);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-1);
}

.text-center {
    text-align: center;
}

.p-2 {
    padding: var(--space-2);
}

/* Glassmorphism */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Typography */
h1, h2, h3 {
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: 4rem;
    letter-spacing: -1px;
    margin-bottom: var(--space-1);
}

h1 span {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: var(--space-2);
}

h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-1);
    color: var(--text-main);
}

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

/* Navigation */
.navbar {
    padding: var(--space-1) 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-glass);
}

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

.logo img {
    height: 68px; /* Aumentado em +30% (de 52px para 68px) */
    width: auto;
    transition: filter 0.3s ease;
}

body.light-theme .logo img {
    /* If it was the original white background logo, this wouldn't matter much. 
       With the SVG logo, it stays colored nicely. */
}

/* Estilo para imagem não carregada (alt text) */
.logo img:not([src]), .logo img[src=""] {
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    display: block;
    min-width: 120px;
    min-height: 40px;
    line-height: 40px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-2);
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-main);
}


/* Buttons */
.btn-primary, .btn-glow, .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-glow {
    background: linear-gradient(135deg, var(--light-blue), var(--primary-blue));
    color: white;
    box-shadow: 0 0 20px rgba(41, 133, 193, 0.4);
    padding: 14px 32px;
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(41, 133, 193, 0.6);
    transform: translateY(-2px);
}

.btn-submit {
    background: var(--light-blue);
    color: white;
    width: 100%;
    margin-top: var(--space-1);
    padding: 14px;
}

.btn-submit:hover {
    background: var(--primary-blue);
}

/* Hero Section */
.hero {
    padding-top: 150px;
    padding-bottom: var(--space-5);
    text-align: center;
    position: relative;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(41, 133, 193, 0.1);
    border: 1px solid rgba(41, 133, 193, 0.2);
    color: var(--light-blue);
    border-radius: 20px;
    font-size: 0.875rem;
    margin-bottom: var(--space-2);
}

.hero p {
    max-width: 600px;
    margin: 0 auto var(--space-2);
    font-size: 1.125rem;
}

.hero-image-placeholder {
    margin-top: var(--space-4);
    height: 300px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 100%);
    position: relative;
    overflow: hidden;
}

/* Dashboard Mock CSS */
.dashboard-mock {
    padding: var(--space-1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mock-header {
    display: flex;
    gap: 8px;
    margin-bottom: var(--space-2);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.mock-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-line {
    height: 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 6px;
}

.mock-chart {
    margin-top: auto;
    height: 100px;
    background: linear-gradient(0deg, rgba(41, 133, 193, 0.2) 0%, transparent 100%);
    border-bottom: 2px solid var(--light-blue);
    border-radius: 4px;
}


/* About Section */
.about-section {
    padding: var(--space-5) 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(41, 133, 193, 0.1);
    color: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-1);
}

/* Pillars Section */
.pillars-section {
    padding: var(--space-5) 0;
    position: relative;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-2);
    margin-top: var(--space-4);
}

.pillar-card {
    padding: var(--space-3);
    position: relative;
    overflow: hidden;
}

.glow-accent {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(40px);
    z-index: 0;
}

.glow-accent.blue { background: var(--primary-blue); }
.glow-accent.red { background: var(--accent-red); }
.glow-accent.light-blue { background: var(--light-blue); }

.pillar-card h3, .pillar-card p, .pillar-card ul {
    position: relative;
    z-index: 1;
}

.values-list {
    list-style: none;
    color: var(--text-muted);
}

.values-list li {
    margin-bottom: 8px;
}

.values-list strong {
    color: var(--text-main);
}

/* Contact Section */
.contact-section {
    padding: var(--space-5) 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
    padding: var(--space-4);
}

.contact-info h2 {
    margin-bottom: var(--space-1);
}

.form-group {
    margin-bottom: var(--space-1);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--light-blue);
    box-shadow: 0 0 0 2px rgba(41, 133, 193, 0.2);
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.form-message {
    margin-top: var(--space-1);
    font-size: 0.875rem;
    text-align: center;
}

.form-message.success {
    color: #27c93f;
}

.form-message.error {
    color: #ff5f56;
}

/* Footer */
footer {
    padding: var(--space-3) 0;
    border-top: 1px solid var(--border-glass);
    margin-top: var(--space-5);
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-2);
}

.footer-logo {
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: var(--space-2);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    color: var(--text-muted);
    font-size: 0.875rem;
    width: 100%;
    text-align: center;
    margin-top: var(--space-2);
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none; /* Em um projeto real, faríamos um menu hamburger */
    }
}
