/* ==========================
   CENTERSUL TECNOLOGIA
========================== */

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

:root{
    --verde:#0f3d2e;
    --verde-claro:#1d5c46;
    --dourado:#c8a24a;
    --branco:#ffffff;
    --cinza:#f5f5f5;
    --texto:#333333;
}

html{
    scroll-behavior:smooth;
    scroll-padding-top:100px;
}

body{
    font-family: Arial, Helvetica, sans-serif;
    color:var(--texto);
    background:#fff;
    line-height:1.6;
    padding-top:80px;
}

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

/* HEADER */

header{
    background:var(--verde);
    color:var(--branco);
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
}

header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 0;
}

.logo img{
    height:90px;
    width:auto;
    display:block;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav a{
    color:var(--branco);
    text-decoration:none;
    font-weight:bold;
    transition:.3s;
}

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

/* HERO */

.hero{
    background:
        linear-gradient(
            rgba(8,40,30,.82),
            rgba(8,40,30,.82)
        ),
        url('../img/hero.jpg');

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;

    min-height:750px;

    display:flex;
    align-items:center;
    justify-content:center;

    color:white;
    text-align:center;

    padding:120px 20px;
}

.hero h2{
    font-size:3rem;
    margin-bottom:20px;
    color:var(--dourado);
}

.hero p{
    max-width:800px;
    margin:15px auto;
    font-size:1.1rem;
}

.botoes{
    margin-top:35px;
}

.btn,
.btn-outline{
    display:inline-block;
    padding:14px 28px;
    margin:10px;
    text-decoration:none;
    border-radius:6px;
    font-weight:bold;
}

.btn{
    background:var(--dourado);
    color:#000;
}

.btn:hover{
    opacity:.9;
}

.btn-outline{
    border:2px solid var(--dourado);
    color:white;
}

/* SEÇÕES */

section{
    padding:80px 0;
}

section h2{
    text-align:center;
    margin-bottom:40px;
    color:var(--verde);
}

/* SERVIÇOS */

#servicos{
    background:var(--cinza);
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:25px;
}

.card{
    background:white;
    padding:25px;
    border-radius:10px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.3s;
}

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

.card h3{
    color:var(--verde);
    margin-bottom:12px;
}

/* SOBRE */

#sobre p{
    max-width:900px;
    margin:15px auto;
    text-align:center;
}

/* CONTATO */

form{
    max-width:700px;
    margin:auto;
}

form input,
form textarea{
    width:100%;
    padding:15px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:6px;
}

form button{
    width:100%;
    padding:15px;
    border:none;
    border-radius:6px;
    background:var(--verde);
    color:white;
    font-size:1rem;
    cursor:pointer;
}

form button:hover{
    background:var(--verde-claro);
}

/* FOOTER */

footer{
    background:var(--verde);
    color:white;
    text-align:center;
    padding:25px;
}

.status-erro{
    margin-top:15px;
    padding:15px 20px;
    border-radius:10px;
    background:#fff3cd;
    border:1px solid #ffe69c;
    color:#856404;
    font-size:.95rem;
    line-height:1.5;
}

.status-sucesso{
    margin-top:15px;
    padding:15px 20px;
    border-radius:10px;
    background:#d1e7dd;
    border:1px solid #a3cfbb;
    color:#0f5132;
    font-size:.95rem;
}

form label{
    display:block;
    margin:12px 0 6px;
    font-weight:600;
    color:var(--verde);
}


/* RESPONSIVO */

@media(max-width:768px){

    header .container{
        flex-direction:column;
        gap:15px;
    }

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

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

.destaques{
    margin-top:40px;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:15px;
}

.destaques span{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.20);
    padding:10px 15px;
    border-radius:30px;
    font-size:.9rem;
}

#inicio,
#servicos,
#sobre,
#contato{
    scroll-margin-top:100px;
}

.card{
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
    transition:.3s;
    min-height:230px;

    display:flex;
    flex-direction:column;
}

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

.icone{
    font-size:2.2rem;
    margin-bottom:15px;
}

/* SESSAO ESTATISTICA */

.estatisticas{
    background:var(--verde);
    padding:50px 0;
}

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:25px;
}

.stat{
    text-align:center;
    color:white;
}

.stat h3{
    font-size:3rem;
    color:var(--dourado);
    margin-bottom:10px;
}

.stat p{
    font-size:1rem;
    opacity:.95;
}

/* div header logo */

.logo-header{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo-header img{
    width:70px;
    height:70px;
    object-fit:contain;
}

.logo-header strong{
    display:block;
    color:var(--dourado);
    font-size:1.4rem;
    letter-spacing:1px;
}

.site-link{
    display:block;
    margin-top:3px;
    color:#ffffff;
    text-decoration:none;
    font-size:.9rem;
    opacity:.9;
    transition:.3s;
}

.site-link:hover{
    color:var(--dourado);
    opacity:1;
}