:root{
    --verde:#2e7d32;
    --verde-claro:#43a047;
    --azul:#1565c0;
    --branco:#ffffff;
    --cinza:#f4f6f8;
    --texto:#222;
}

body{
    background:var(--cinza);
    color:var(--texto);
}

/* HEADER */

header{
    position:fixed;
    width:100%;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(10px);
    box-shadow:0 2px 10px rgba(0,0,0,.1);
}

nav{
    max-width:1200px;
    margin:auto;
    padding:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

nav h1{
    color:var(--verde);
}

nav ul{
    display:flex;
    gap:25px;
}

nav a{
    color:var(--texto);
    font-weight:600;
    transition:.3s;
}

nav a:hover{
    color:var(--verde);
}

/* HERO */

.hero{
    min-height:100vh;
    background:
    linear-gradient(rgba(0,0,0,.55),
    rgba(0,0,0,.55)),
    url("https://images.unsplash.com/photo-1500937386664-56d1dfef3854?q=80&w=1920")
    center/cover;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
    padding:20px;
}

.hero h2{
    font-size:4rem;
    margin-bottom:20px;
}

.hero p{
    max-width:700px;
    margin:auto;
    font-size:1.2rem;
    line-height:1.8;
    margin-bottom:30px;
}

.btn{
    background:var(--verde);
    color:white;
    padding:15px 35px;
    border-radius:40px;
    font-weight:bold;
    transition:.3s;
}

.btn:hover{
    background:var(--azul);
}

/* SEÇÕES */

section{
    padding:100px 20px;
}

section h2{
    text-align:center;
    color:var(--verde);
    margin-bottom:30px;
    font-size:2.2rem;
}

section p{
    max-width:900px;
    margin:auto;
    text-align:center;
    line-height:1.8;
}

/* CARDS */

.cards{
    max-width:1200px;
    margin:40px auto 0;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
}

.card h3{
    margin-bottom:15px;
    color:var(--azul);
}

/* CONTADOR */

.contador{
    background:linear-gradient(
        135deg,
        var(--verde),
        var(--azul)
    );

    color:white;
    text-align:center;
}

.contador h2{
    color:white;
}

#numero{
    font-size:5rem;
    font-weight:bold;
    margin:20px 0;
}

/* FORMULÁRIO */

form{
    max-width:700px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:15px;
}

input,
textarea{
    padding:15px;
    border-radius:10px;
    border:1px solid #ccc;
}

textarea{
    resize:none;
    height:150px;
}

button{
    background:var(--verde);
    color:white;
    padding:15px;
    border-radius:10px;
    cursor:pointer;
    font-size:1rem;
    transition:.3s;
}

button:hover{
    background:var(--azul);
}

/* FOOTER */

footer{
    background:#1b1b1b;
    color:white;
    text-align:center;
    padding:25px;
}

/* RESPONSIVO */

@media(max-width:768px){

    nav{
        flex-direction:column;
        gap:15px;
    }

    nav ul{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero h2{
        font-size:2.5rem;
    }

    .hero p{
        font-size:1rem;
    }

    #numero{
        font-size:3rem;
    }

}