:root {
    /* Logo Colors - More vibrant */
    --green-primary: #3DAA5A;
    --green-dark: #1E6B33;
    --green-light: #e8f5e9;
    --blue-deep: #0D2B52;
    --blue-mid: #1A4A7A;
    --blue-light: #e0f2fe;
    --sky-blue: #8ECAE6;
    --gold: #F4A235;
    --gold-hover: #e0932d;
    --gold-light: #fef3c7;
    
    /* V2 Specific Colors */
    --crisis-dark: #0a0a0a;
    --crisis-red: #ff3333;
    --crisis-orange: #ff6600;
    
    --white: #FFFFFF;
    --off-white: #F9FAFB;
    --gray-100: #F3F4F6;
    --text-dark: #1F2937;
    --text-light: #4B5563;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-body); color: var(--text-dark); line-height: 1.6; background-color: var(--white); overflow-x: hidden; }
body.loading { overflow: hidden; }

/* Helpers */
.container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 2; }
.text-green { color: var(--green-primary); }
.text-green-dark { color: var(--green-dark); }
.text-blue { color: var(--blue-deep); }
.text-blue-deep { color: var(--blue-deep); }
.text-gold { color: var(--gold); }
.text-gold-dark { color: #d97706; }
.text-white { color: var(--white); }
.highlight-green { background: rgba(61, 170, 90, 0.1); padding: 0 0.5rem; border-radius: 4px; border-bottom: 2px solid var(--green-primary); font-weight: 600;}

.bg-blue-deep { background-color: var(--blue-deep); }
.bg-blue-mid { background-color: var(--blue-mid); }
.bg-green-primary { background-color: var(--green-primary); }
.bg-gold { background-color: var(--gold); }

.bg-white { background-color: var(--white); }
.bg-green-light { background-color: var(--green-light); }
.bg-blue-light { background-color: var(--blue-light); }
.bg-gold-light { background-color: var(--gold-light); }

.border-green { border-top: 4px solid var(--green-primary); }
.border-blue { border-top: 4px solid var(--blue-deep); }
.border-gold { border-top: 4px solid var(--gold); }

.shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.center { text-align: center; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }

/* Botões */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; }
.btn-nav { background: var(--gold); color: var(--blue-deep) !important; font-size: 0.85rem;}
.btn-nav:hover { background: var(--white); transform: scale(1.05); }
.btn-gold { background: var(--gold); color: var(--blue-deep); }
.btn-gold:hover { background: var(--gold-hover); transform: translateY(-2px); }

/* Nav */
.navbar { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 1.5rem 0; transition: var(--transition); background: transparent; opacity: 0; pointer-events: none; }
.navbar.scrolled { opacity: 1; pointer-events: all; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; padding: 0 2rem;}
.logo-link { display: flex; align-items: center; gap: 1rem; text-decoration: none; }
.logo-img { height: 35px; border-radius: 4px; filter: grayscale(100%) brightness(200%); transition: var(--transition);}
.navbar.scrolled .logo-img { filter: none; }
.logo-text { font-family: var(--font-heading); font-size: 1.1rem; font-weight: 800; color: var(--white); transition: var(--transition);}
.navbar.scrolled .logo-text { color: var(--blue-deep); }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { color: rgba(255, 255, 255, 0.7); text-decoration: none; font-weight: 600; font-size: 0.9rem; text-transform: uppercase; transition: var(--transition);}
.navbar.scrolled .nav-links a { color: var(--text-dark); }
.nav-links a:hover, .navbar.scrolled .nav-links a:hover { color: var(--green-primary); }

/* SEÇÃO CRISE (Hero) */
.crisis-section { height: 100vh; display: flex; flex-direction: column; justify-content: center; position: relative; padding: 0 5%; color: var(--white); background: var(--crisis-dark); }
.crisis-bg { position: absolute; top:0; left:0; width:100%; height:100%; background: radial-gradient(circle at center, rgba(30,10,10,1) 0%, var(--crisis-dark) 100%); opacity: 0.5; z-index: 0; }
.crisis-content { position: relative; z-index: 1; width: 100%; max-width: 1200px; margin: 0 auto; }
.glitch-title { font-family: var(--font-heading); font-size: clamp(3rem, 6vw, 6rem); font-weight: 900; line-height: 1; margin-bottom: 4rem; color: var(--white); text-transform: uppercase; }
.data-panels { position: relative; height: 300px; }
.data-panel { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; }
.data-number { font-family: var(--font-heading); font-size: clamp(5rem, 12vw, 12rem); font-weight: 900; line-height: 0.8; color: var(--crisis-orange); margin-bottom: 1rem; }
.data-number .percent, .data-number .million { font-size: 0.4em; color: var(--crisis-red); }
.data-desc { font-size: clamp(1.2rem, 2vw, 2rem); font-weight: 500; max-width: 800px; color: rgba(255,255,255,0.8); border-left: 4px solid var(--crisis-red); padding-left: 1.5rem; }

/* Generic Section Styles */
.section-light { background: var(--white); padding: 6rem 0; }
.section-gray { background: var(--off-white); padding: 6rem 0; }
.section-title { font-family: var(--font-heading); font-size: 3rem; font-weight: 900; margin-bottom: 1.5rem; }
.section-subtitle { font-size: 1.25rem; margin-bottom: 4rem; opacity: 0.9;}
.lead-text { font-size: 1.2rem; color: var(--text-light); max-width: 800px; margin-bottom: 2rem; }

/* Quem Somos */
.qs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-bottom: 4rem; }
.history-box { background: var(--gray-100); padding: 2rem; border-left: 4px solid var(--blue-deep); border-radius: 0 16px 16px 0; margin-top: 2rem;}
.history-box h3 { color: var(--blue-deep); margin-bottom: 1rem; }
.qs-cards { display: grid; gap: 2rem; }
.card { padding: 3rem; border-radius: 24px; }
.card h3 { font-size: 1.8rem; margin: 1rem 0; font-family: var(--font-heading); font-weight: 800;}
.icon-list { list-style: none; margin-top: 1.5rem; }
.icon-list li { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; font-weight: 600; font-size: 1.1rem;}

.institutions-section { margin-top: 4rem; border-top: 1px solid #E5E7EB; padding-top: 4rem; }
.inst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2rem; }
.inst-card { background: var(--white); padding: 2rem; border-radius: 16px; text-align: center; box-shadow: 0 4px 6px rgba(0,0,0,0.05);}
.icon-wrapper { width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.inst-card h4 { color: var(--blue-deep); margin-bottom: 1rem; font-size: 1.2rem; }
.small-text { color: var(--text-light); font-size: 0.95rem; }

/* Pilares ZigZag */
.zigzag-container { display: flex; flex-direction: column; gap: 6rem; margin-top: 4rem;}
.zigzag-row { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.zigzag-row.reverse { direction: rtl; }
.zigzag-row.reverse > * { direction: ltr; }
.zz-img { border-radius: 20px; overflow: hidden; height: 350px; position: relative;}
.zz-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s;}
.zz-img:hover img { transform: scale(1.05); }
.zz-content { display: flex; flex-direction: column; align-items: flex-start; }
.badge-tag { padding: 0.5rem 1rem; border-radius: 50px; color: white; font-weight: 700; font-size: 0.9rem; text-transform: uppercase; margin-bottom: 1rem; }
.zz-content h3 { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; margin-bottom: 1.5rem; line-height: 1.2;}
.zz-content p { font-size: 1.15rem; color: var(--text-light); margin-bottom: 2rem;}
.highlight-stat { font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 0.5rem; background: rgba(0,0,0,0.02); padding: 1rem; border-radius: 12px; border: 1px solid rgba(0,0,0,0.05);}
.stat-num { font-size: 2rem; font-family: var(--font-heading); font-weight: 900;}

/* Chart Metrics */
.charts-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2rem; }
.charts-grid-secondary { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; }
.chart-card { background: var(--white); padding: 2.5rem; border-radius: 20px; border: 1px solid #E5E7EB;}
.chart-card h3 { font-family: var(--font-heading); font-size: 1.5rem; color: var(--blue-deep); margin-bottom: 0.5rem; }
.chart-card p { margin-bottom: 2rem;}
.canvas-container { position: relative; height: 300px; width: 100%; }
.canvas-container-wide { position: relative; height: 300px; width: 100%; }
.canvas-container-small { position: relative; height: 250px; width: 100%; display: flex; justify-content: center;}
.chart-note { margin-top: 1rem; font-size: 0.9rem; color: var(--text-light); font-weight: 500; text-align: center; background: var(--off-white); padding: 0.5rem; border-radius: 8px;}

/* ODS Grid & Custom Tooltips */
.ods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 10px; }
.ods-box { position: relative; height: 60px; display: flex; align-items: center; justify-content: center; color: white; font-weight: 900; font-family: var(--font-heading); font-size: 1.2rem; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.1); cursor: help; transition: transform 0.2s;}
.ods-box:hover { transform: translateY(-3px); z-index: 10; }

.ods-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.95);
    width: 260px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: none;
    overflow: hidden;
    color: var(--text-dark);
    text-align: left;
    border: 1px solid rgba(0,0,0,0.05);
}
.ods-box:hover .ods-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}
.ods-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--white);
}
.ods-tooltip img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}
.ods-tooltip-content {
    padding: 1rem;
}
.ods-tooltip h4 {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--blue-deep);
    margin-bottom: 0.2rem;
    font-family: var(--font-heading);
    line-height: 1.3;
}
.ods-desc {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.ods-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}
.ods-status.success { color: var(--green-primary); }
.ods-status.pending { color: var(--text-light); font-weight: 500; }
.ods-status i { width: 16px; height: 16px; }

/* Projetos */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.project-card { border-radius: 20px; overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.proj-img { height: 220px; width: 100%; overflow: hidden; }
.proj-img img { width: 100%; height: 100%; object-fit: cover; }
.proj-content { padding: 2.5rem; flex-grow: 1; display: flex; flex-direction: column;}
.proj-tag { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; margin-bottom: 1rem; display: block; }
.proj-content h3 { color: var(--blue-deep); font-size: 1.4rem; margin-bottom: 1rem; font-family: var(--font-heading); line-height: 1.3;}
.proj-content p { color: var(--text-light); font-size: 0.95rem; margin-bottom: 1.5rem; flex-grow: 1;}
.proj-meta { font-size: 0.85rem; color: var(--blue-deep); border-top: 1px solid #E5E7EB; padding-top: 1rem; font-weight: 600; }

/* CTA */
.cta-section { position: relative; padding: 6rem 0; color: var(--white); background: var(--blue-deep); overflow: hidden;}
.cta-bg { position: absolute; top:0; left:0; width:100%; height:100%; background: url('../assets/hero_bg.png') center/cover; opacity: 0.2; mix-blend-mode: luminosity; }
.cta-content { position: relative; z-index: 2; max-width: 900px; margin: 0 auto; text-align: center; }
.glass-panel { background: rgba(255,255,255,0.05); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.1); border-radius: 24px; padding: 4rem; }
.cta-title { font-size: 3rem; font-weight: 900; margin-bottom: 1.5rem; font-family: var(--font-heading);}
.cta-text { font-size: 1.2rem; margin-bottom: 2rem; color: rgba(255,255,255,0.9); }

.cta-highlight-box {
    background: rgba(244, 162, 53, 0.15);
    border: 2px solid var(--gold);
    border-left: 8px solid var(--gold);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    box-shadow: 0 0 20px rgba(244, 162, 53, 0.2);
}

.pulse-glow {
    animation: pulse-glow-anim 3s infinite alternate;
}

@keyframes pulse-glow-anim {
    0% { box-shadow: 0 0 15px rgba(244, 162, 53, 0.2); transform: scale(1); }
    100% { box-shadow: 0 0 35px rgba(244, 162, 53, 0.6); transform: scale(1.02); }
}

.investor-form { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.form-select, .form-input { padding: 1rem 1.5rem; border-radius: 50px; border: none; font-family: var(--font-body); font-size: 1rem; width: 100%; max-width: 300px; background: rgba(255,255,255,0.1); color: var(--white); border: 1px solid rgba(255,255,255,0.2); outline: none;}
.form-select option { color: var(--text-dark); }
.form-input::placeholder { color: rgba(255,255,255,0.6); }
.form-input:focus, .form-select:focus { border-color: var(--gold); background: rgba(255,255,255,0.2);}

/* Footer */
.footer { background: #051324; color: rgba(255,255,255,0.5); padding: 3rem 0; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 2rem;}
.footer-logo { display: flex; align-items: center; gap: 1rem; }
.footer-logo img { height: 30px; border-radius: 4px; filter: grayscale(100%); }

/* Responsivo */
@media (max-width: 1024px) {
    .qs-grid, .charts-grid, .charts-grid-secondary { grid-template-columns: 1fr; }
    .zigzag-row { grid-template-columns: 1fr; gap: 2rem; }
    .zigzag-row.reverse > * { direction: ltr; }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .zz-img { height: 250px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .glitch-title { font-size: 3rem; }
    .inst-grid, .projects-grid { grid-template-columns: 1fr; }
    .investor-form .form-select, .investor-form .form-input { max-width: 100%; }
}
