@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Open+Sans:wght@300;400;600&display=swap');

:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e; 
    --accent-color: #e67e22;  
    --text-color: #ecf0f1;     
    --light-text-color: #bdc3c7; 
    --background-color-light: #f4f6f8; 
    --background-color-dark: #202b38; 

    --font-heading: 'Merriweather', serif;
    --font-body: 'Open Sans', sans-serif;
}

/* Reset Básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--primary-color);
    background-color: var(--background-color-light);
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/*Hero Section*/
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('https://source.unsplash.com/random/1600x900/?census,people,community') no-repeat center center/cover;
    color: var(--text-color);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    z-index: 1; 
    padding: 20px;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 3.8em;
    margin-bottom: 10px;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-section p {
    font-size: 1.6em;
    margin-bottom: 30px;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.btn-scroll {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.btn-scroll:hover {
    background-color: #d86c12;
    transform: translateY(-3px);
}

/*Seções de Conteúdo*/
.content-section {
    padding: 80px 0;
    text-align: center;
    transition: background-color 0.4s ease;
}

.content-section:nth-of-type(even) {
    background-color: var(--background-color-light);
}

.content-section h2 {
    font-family: var(--font-heading);
    font-size: 2.8em;
    margin-bottom: 40px;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    border-radius: 2px;
}

.content-section p {
    font-size: 1.15em;
    max-width: 800px;
    margin: 0 auto 20px;
    color: var(--secondary-color);
}

/*Importância e Como é Realizado*/
.highlight-section {
    background-color: var(--secondary-color);
    color: var(--text-color); 
    padding: 80px 0;
}

.highlight-section h2 {
    color: var(--accent-color); 
}

.highlight-section p {
    color: var(--light-text-color); 
}

/*Importância*/
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background-color: #3f5872;  
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}


.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background-color: #3f5872; 
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.6em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.card p {
    font-size: 1em;
    color: var(--light-text-color);
    line-height: 1.7;
    margin-bottom: 0; 
}

/*Finalidade*/
.purpose-list {
    list-style: none;
    text-align: left;
    max-width: 800px;
    margin: 40px auto 0;
}

.purpose-list li {
    background-color: #ffffff;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-left: 5px solid var(--accent-color);
}

.purpose-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.12);
}

.purpose-list li strong {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 1.25em;
    display: block;
    margin-bottom: 5px;
}

.purpose-list li {
    font-size: 1.1em;
    color: var(--secondary-color);
}

/*Como é Realizado*/
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    background-color: #4b6584; /* Um tom intermediário */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.25);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.35);
}

.step h3 {
    font-family: var(--font-heading);
    color: var(--accent-color);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.step p {
    color: var(--light-text-color);
    font-size: 1em;
    margin-bottom: 0;
}

/*Rodapé*/
footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    text-align: center;
    padding: 40px 0;
    font-size: 0.9em;
    border-top: 5px solid var(--accent-color);
}

footer p {
    margin-bottom: 8px;
    color: var(--light-text-color);
}

/*Responsividade Básica*/
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.8em;
    }

    .hero-section p {
        font-size: 1.2em;
    }

    .content-section h2 {
        font-size: 2.2em;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .step {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.2em;
    }

    .hero-section p {
        font-size: 1em;
    }

    .btn-scroll {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .content-section h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
}