/* Design System */
:root {
    --primary: #2D5A27;
    --primary-light: #4CAF50;
    --secondary: #2196F3;
    --accent: #FFC107;
    --text-dark: #1A1A1A;
    --text-light: #555555;
    --bg-light: #F8FAF8;
    --bg-white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.8);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

/* Typography Helpers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: 100px 0;
}

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

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    font-size: 0.95rem;
}

.nav-links.active {
    display: flex;
}

.nav-btn {
    padding: 0.5rem 1.25rem !important;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 1.5rem;
    padding: 0.5rem;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary-light);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(45, 90, 39, 0.05) 0%, rgba(33, 150, 243, 0.05) 100%);
    padding-top: 80px;
}

.hero-content {
    flex: 1;
    z-index: 1;
    padding-right: 50px;
}

.hero-image {
    flex: 1;
    position: relative;
    height: 80%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.3);
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #1976D2;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(33, 150, 243, 0.3);
}

/* Importance Section */
.importance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.card {
    background: var(--bg-white);
    padding: 3rem 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-light);
    font-size: 2rem;
}

.card h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Info Sections (Population & Catadores) */
.split-section {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.split-section.reverse {
    flex-direction: row-reverse;
}

.split-content {
    flex: 1;
}

.split-visual {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.split-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.list-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.list-icon {
    flex-shrink: 0;
    color: var(--primary-light);
    font-size: 1.25rem;
}

.list-text h4 {
    margin-bottom: 0.25rem;
}

/* Stats Section */
.stats-section {
    background: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item h2 {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1532996122724-e3c354a0b15b?auto=format&fit=crop&q=80&w=1600');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 150px 0;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 2rem;
}

/* Footer */
footer {
    padding: 60px 0;
    background: var(--bg-white);
    border-top: 1px solid #eee;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
}

.footer-about p {
    margin-top: 1rem;
    color: var(--text-light);
}

.footer-links h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-aos].active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        padding-top: 140px;
        padding-bottom: 60px;
        text-align: center;
        height: auto;
    }
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    .hero h1 {
        font-size: clamp(2.5rem, 8vw, 4rem);
    }
    .hero-btns {
        justify-content: center;
        flex-direction: column;
        gap: 1rem;
    }
    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }
    .hero-image {
        width: 100%;
        max-width: 600px;
        height: 400px;
    }
    .split-section {
        flex-direction: column !important;
        gap: 3rem;
    }
    .section-padding {
        padding: 60px 0;
    }
    .importance-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
        border-top: 1px solid #eee;
    }
    .nav-links.active {
        display: flex;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .stat-item h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
    .card {
        padding: 2rem 1.5rem;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
}
