:root {
    --primary: #3ea043;
    --dark-green: #3ca741;
    --earth: #795548;
    --alert: #d32f2f;
    --warning: #f57c00;
    --light: #f5f5f5;
    --dark: #212121;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--primary);
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(122, 97, 97, 0.2);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.badge {
    background: var(--dark-green);
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 10px;
    vertical-align: middle;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a { color: white; text-decoration: none; font-weight: 500; }
nav a:hover { text-decoration: underline; }

.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url(/Imagens/fundoNatureza.jpg) center/cover;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero h2 { font-size: 2.5rem; margin-bottom: 1rem; }

.section-light { background: white; padding: 4rem 0; }
.section-dark { background: var(--dark); color: var(--light); padding: 4rem 0; }
.section-white { background: #fff; padding: 4rem 0; }

h2 { text-align: center; margin-bottom: 2rem; color: var(--primary); }
.section-dark h2 { color: #81c784; }

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    border-bottom: 4px solid var(--earth);
}

.case-card:hover { transform: translateY(-5px); }

.case-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.map-placeholder {
    width: 100%;
    height: 200px;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #757575;
}

.case-content { padding: 20px; }
.case-content h3 { color: var(--dark-green); margin-bottom: 10px; }
.case-content p { font-size: 0.95rem; margin-bottom: 10px; }

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #81c784;
}

.alert-box {
    background: rgba(211, 47, 47, 0.1);
    border: 2px solid var(--alert);
    padding: 20px;
    border-radius: 8px;
    color: #ffcdd2;
}
.alert-box h3 { color: #ef5350; margin-bottom: 1rem; }
.alert-box ul { padding-left: 20px; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--light);
    border-radius: 8px;
    position: relative;
}

.step-number {
    background: var(--primary);
    color: white;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

#map-container {
    height: 450px;
    width: 100%;
    border-radius: 8px;
    border: 2px solid #ccc;
    z-index: 1;
}

.cta-denuncia {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
}

.buttons-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 15px;
}

.btn-primary, .btn-urgent, .btn-emergency {
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    color: white;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary { background: var(--primary); }
.btn-urgent { background: var(--dark-green); }
.btn-emergency { background: var(--alert); animation: pulse 2s infinite; }

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@media (max-width: 768px) {
    header .container { flex-direction: column; text-align: center; }
    nav ul { margin-top: 15px; flex-wrap: wrap; justify-content: center; }
    .hero h2 { font-size: 1.8rem; }
}