/* ==========================================================================
   1. CONFIGURAÇÕES GLOBAIS E ESTRATÉGIA DE CORES
   ========================================================================== */
:root {
    /* Paleta de Cores Estratégica */
    --primary-color: #2E7D32;     /* Verde Esperança */
    --secondary-color: #FFC107;   /* Amarelo Alerta/Dourado */
    --background-color: #FFFFFF;  /* Branco Puro para clareza */
    --surface-color: #F7F5F2;     /* Bege Suave/Terroso */
    --text-color: #1a1a1a;        /* Preto Suave */
    --light-text-color: #FFFFFF;

    /* Tipografia com Propósito */
    --font-heading: 'Merriweather', serif;
    --font-body: 'Roboto', sans-serif;
}

/* Reset Básico e Padrões */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 6vw, 3rem); /* Responsivo */
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
    color: #555;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--primary-color);
    color: var(--light-text-color);
}
.btn-primary:hover {
    background-color: #1b5e20; /* Verde mais escuro no hover */
    transform: scale(1.05);
}

/* ==========================================================================
   2. HEADER E NAVEGAÇÃO
   ========================================================================== */
.site-header {
    position: absolute;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--light-text-color);
}
.header-donate-btn {
    font-size: 0.9rem;
    padding: 10px 24px;
}

/* ==========================================================================
   3. ESTILOS DAS SEÇÕES (MOBILE-FIRST)
   ========================================================================== */
/* --- Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-text-color);
}
.hero-background {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background: url('https://images.unsplash.com/photo-1593224033221-17a41c1404de?auto=format&fit=crop&q=80&w=1470') no-repeat center center/cover;
}
.hero-overlay {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
}
.hero-content {
    position: relative; z-index: 2;
}
.hero-content h1 {
    font-size: clamp(3rem, 10vw, 5.5rem);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.hero-subtitle {
    font-size: 1.5rem;
}
.btn-hero {
    margin-top: 2rem;
    transform: scale(1.1);
}

/* --- Problem Section --- */
.problem-section {
    padding: 5rem 0;
    background-color: var(--surface-color);
}
.problem-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}
.problem-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}
.stat-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 3.5rem;
    color: var(--primary-color);
}
.stat-label {
    font-size: 1rem;
    color: #555;
}

/* --- Solution Section --- */
.solution-section {
    padding: 5rem 0;
}
.solution-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.solution-card {
    text-align: center;
    padding: 2rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.solution-card i {
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
}
.solution-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Donation Section --- */
.donation-section {
    padding: 5rem 0;
    background-color: var(--surface-color);
}
.donation-thermometer {
    max-width: 800px;
    margin: 0 auto 3rem;
    background-color: #e0e0e0;
    border-radius: 20px;
    padding: 5px;
}
.progress-bar {
    height: 30px;
    background-color: var(--secondary-color);
    border-radius: 15px;
    transition: width 1s ease-out;
}
.thermometer-info {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.2rem 0;
    font-weight: 700;
    font-size: 0.9rem;
}
.donation-tiers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}
.tier-option {
    padding: 1rem;
    border: 2px solid #ccc;
    background-color: var(--background-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tier-option.active, .tier-option:hover {
    border-color: var(--primary-color);
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.tier-amount {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}
.tier-impact {
    color: #555;
}
.donation-form {
    max-width: 400px;
    margin: 2rem auto 0;
    text-align: center;
}
.donation-form label {
    margin-bottom: 0.5rem;
    display: block;
}
.donation-form input {
    width: 100%;
    padding: 1rem;
    text-align: center;
    font-size: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}
.btn-donate-main {
    width: 100%;
    font-size: 1.2rem;
}

/* --- Transparency Section --- */
.transparency-section {
    padding: 5rem 0;
    text-align: center;
}
.transparency-chart {
    font-size: 1.2rem;
    line-height: 2;
    max-width: 600px;
    margin: 3rem auto 0;
}

/* --- Footer --- */
.site-footer {
    background-color: #1a1a1a;
    color: #a0a0a0;
    padding: 3rem 1.5rem;
}
.footer-container {
    text-align: center;
}
.footer-logo {
    color: var(--light-text-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}
.footer-contact {
    margin-bottom: 1.5rem;
}
.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.footer-social a {
    color: #a0a0a0;
}
.footer-social a:hover {
    color: var(--primary-color);
}
.footer-bottom-line {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    text-align: center;
}

/* ==========================================================================
   5. LAYOUTS PARA TELAS MAIORES (DESKTOP)
   ========================================================================== */
@media (min-width: 768px) {
    .problem-stats {
        flex-direction: row;
        justify-content: center;
    }
    .solution-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .donation-tiers {
        grid-template-columns: repeat(3, 1fr);
    }
}
