
/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f7f7f7;
    color:#222;
    overflow-x:hidden;
}

/* HEADER */

header{

    position:absolute;
    top:0;
    left:0;
    width:100%;
    padding:25px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index:1000;

}

.logo{

    display:flex;
    align-items:center;
    gap:15px;

}

.logo img{

    width:75px;
    height:75px;
    object-fit:contain;

}

.nome{

    display:flex;
    flex-direction:column;

}

.nome h2{

    color:#ffffff;
    font-size:22px;
    font-weight:700;
    line-height:22px;

}

.nome span{

    color:#d60000;
    font-size:22px;
    font-weight:700;

}


nav ul{

    display:flex;
    gap:40px;

    list-style:none;

}

nav a{

    text-decoration:none;

    color:white;

    font-size:17px;

    transition:.3s;

}

nav a:hover{

    color:#d60000;

}

.btn-menu{

    text-decoration:none;

    background:#d60000;

    color:white;

    padding:15px 28px;

    border-radius:50px;

    font-weight:600;

    transition:.4s;

}

.btn-menu:hover{

    background:#b80000;

    transform:translateY(-3px);

}

/* ========================= */
/* BANNER */
/* ========================= */  

.banner{

    position:relative;

    width:100%;
    height:100vh;

    background:url("imagens/banner.jpg") center center;

    background-size:cover;

    display:flex;
    align-items:center;

}

.overlay{

    position:absolute;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.60);

}

.texto-banner{

    position:relative;

    margin-left:8%;

    width:48%;

    color:white;

    z-index:2;

}

.texto-banner h4{

    color:#d60000;

    letter-spacing:5px;

    margin-bottom:20px;

    font-size:18px;

}

.texto-banner h1{

    font-size:60px;

    line-height:82px;

    margin-bottom:30px;

    font-weight:800;

}

.texto-banner span{

    color:#d60000;

}

.texto-banner p{

    color:#e6e6e6;

    font-size:20px;

    line-height:35px;

    margin-bottom:40px;

}

.botao{

    display:inline-flex;

    align-items:center;

    gap:12px;

    text-decoration:none;

    background:#d60000;

    color:white;

    padding:18px 40px;

    border-radius:50px;

    font-size:18px;

    font-weight:600;

    transition:.4s;

}

.botao:hover{

    background:#b80000;

    transform:translateY(-5px);

    box-shadow:0 15px 30px rgba(214,0,0,.35);

}

/* SERVIÇOS */


.servicos{
    padding:120px 8%;
    background:#f8f8f8;
}

.titulo{
    text-align:center;
    margin-bottom:70px;
}

.titulo h4{
    color:#d60000;
    letter-spacing:3px;
    font-size:16px;
    margin-bottom:10px;
}

.titulo h2{
    font-size:45px;
    color:#222;
}

.cards{
     display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:40px;
    max-width:1200px;
    margin:60px auto 0;
}

.card{
     background:#fff;
    width:100%;
    min-height:300px;
    padding:40px;
    border-radius:20px;
    border-top:6px solid #d60000;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.card:hover{
     transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);}

.icone{
    width:80px;
    height:80px;
    background:#d60000;
    border-radius:20px;
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:25px;
}

.icone i{
      color:#fff;
    font-size:36px;
}

.card h3{
      font-size:28px;
    color:#222;
    margin-bottom:18px;
    line-height:36px;
    font-weight:700;
}

.card p{
    color:#666;
    font-size:17px;
    line-height:30px;
}


/* EMPRESA */


.empresa{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:80px;
    padding:120px 8%;
    background:white;
    flex-wrap:wrap;
}

.empresa-imagem{
    flex:1;
}

.empresa-imagem img{
    width:100%;
    border-radius:25px;
    box-shadow:0 25px 50px rgba(0,0,0,.15);
}

.empresa-texto{
    flex:1;
}

.empresa-texto h4{
    color:#d60000;
    letter-spacing:3px;
    margin-bottom:15px;
}

.empresa-texto h2{
    font-size:48px;
    margin-bottom:30px;
    color:#222;
}

.empresa-texto p{
    color:#666;
    line-height:34px;
    margin-bottom:25px;
    font-size:18px;
}

/* NÚMEROS */


.numeros{
    background:#151515;
    color:white;
    display:flex;
    justify-content:space-around;
    flex-wrap:wrap;
    padding:80px 8%;
    text-align:center;
}

.numero h2{
    color:#d60000;
    font-size:55px;
    margin-bottom:10px;
}

.numero p{
    color:#ddd;
    font-size:18px;
}


/* DIFERENCIAIS */


.diferenciais{
    padding:120px 8%;
    background:#f7f7f7;
}

.itens{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
}

.item{
    background:white;
    width:280px;
    padding:40px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.4s;
}

.item:hover{
    transform:translateY(-10px);
}

.item i{
    font-size:42px;
    color:#d60000;
    margin-bottom:20px;
}

.item h3{
    margin-bottom:15px;
    font-size:24px;
}

.item p{
    color:#666;
    line-height:28px;
}
/*========================*/
/* CONTATO */
/*========================*/

.contato{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:60px;
    padding:120px 8%;
    background:white;
    flex-wrap:wrap;
}

.contato-texto{
    flex:1;
}

.contato-texto h4{
    color:#d60000;
    letter-spacing:3px;
}

.contato-texto h2{
    font-size:45px;
    margin:20px 0;
}

.contato-texto p{
    color:#666;
    line-height:32px;
}

form{
    flex:1;
    display:flex;
    flex-direction:column;
    gap:20px;
}

form input,
form textarea{
    padding:18px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:16px;
    outline:none;
}

form textarea{
    height:160px;
    resize:none;
}

form button{
    padding:18px;
    border:none;
    background:#d60000;
    color:white;
    border-radius:50px;
    cursor:pointer;
    font-size:17px;
    font-weight:600;
    transition:.4s;
}

form button:hover{
    background:#b30000;
}

/*========================*/
/* FOOTER */
/*========================*/

footer{
    background:#111;
    color:white;
    text-align:center;
    padding:70px 20px;
}

.footer-logo img{
    width:80px;
    margin-bottom:15px;
}

.footer-logo h2{
    margin-bottom:20px;
}

.redes{
    margin:30px 0;
}

.redes a{
    color:white;
    font-size:28px;
    margin:0 12px;
    transition:.3s;
}

.redes a:hover{
    color:#d60000;
}

.copy{
    color:#aaa;
    margin-top:20px;
}

/*========================*/
/* RESPONSIVO */
/*========================*/
@media (max-width: 991px){

    header{
        flex-direction: column;
        gap: 15px;
        padding: 15px 5%;
    }

    .logo{
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .logo img{
        width: 50px;
        height: 50px;
    }

    .nome h2,
    .nome span{
        font-size: 18px;
    }

    nav{
        width: 100%;
    }

    nav ul{
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a{
        font-size: 15px;
    }

    /* Esconde o botão do cabeçalho apenas no celular */
    .btn-menu{
        display: none;
    }

   .banner{
    min-height: 100vh;
    height: auto;
    padding: 230px 20px 80px;
    justify-content: center;
}

    .texto-banner{
        width: 100%;
        margin-left: 0;
        text-align: center;
    }

    .texto-banner h4{
        font-size: 16px;
        letter-spacing: 3px;
    }

    .texto-banner h1{
        font-size: 32px;
        line-height: 40px;
        margin-bottom: 20px;
    }

    .texto-banner p{
        font-size: 17px;
        line-height: 28px;
        margin-bottom: 30px;
    }

    .empresa,
    .contato{
        flex-direction: column;
    }

    .cards{
        grid-template-columns: 1fr;
    }

    .itens{
        justify-content: center;
    }

    .numero{
        margin: 20px;
    }

    .titulo h2,
    .contato-texto h2,
    .empresa-texto h2{
        font-size: 35px;
    }
    footer{
    padding: 50px 20px;
}

.copy{
    display: block;
    margin-top: 25px;
    font-size: 13px;
    color: #aaa;
    line-height: 20px;
    text-align: center;
}

}
/*========================*/
/* ANIMAÇÕES */
/*========================*/

header.ativo{

    position:fixed;

    background:#111;

    box-shadow:0 10px 30px rgba(0,0,0,.2);

    animation:descer .5s;

}

@keyframes descer{

    from{

        transform:translateY(-100%);

    }

    to{

        transform:translateY(0);

    }

}

.card,
.item,
.numero,
.empresa-imagem,
.empresa-texto,
.contato-texto,
form{

    opacity:0;

    transform:translateY(60px);

    transition:1s;

}

.mostrar{

    opacity:1;

    transform:translateY(0);

}
