/* estilo geral */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

html {
    scroll-behavior: smooth;
}

section {
    scroll-margin-top: 80px; /* Define um espaçamento superior quando rolar até a seção */
}


body{
    background-color: rgb(235, 237, 240);
    height: 100vh;
    padding-top: 100px;
}

.interface{
    max-width: 1280px;
    margin: 0 auto;
}

.flex{
    display: flex;
}

.btn-contato button{
    padding: 10px 40px;
    font-size: 18px;
    color: aliceblue;
    font-weight: 600;
    background-color: rgb(49, 49, 250);
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}

 button:hover{
    box-shadow: 0px 0px 8px rgb(49, 49, 250);
    transform: scale(1.05);
}

h2.titulo{
    color: rgb(0, 0, 29);
    font-size: 38px;
    text-align: center;
}

h2.titulo span{
    color: rgb(49, 49, 250);
}

/* estilo do cabeçalho */
header{
    position: fixed; /* Torna o cabeçalho fixo na tela */
    top: 0; /* Alinha no topo */
    left: 0; /* Alinha à esquerda */
    width: 100%; /* Faz o cabeçalho ocupar toda a largura da tela */
    background-color: rgb(235, 237, 240); /* Cor de fundo do cabeçalho */
    z-index: 1000; /* Garante que o cabeçalho fique acima de outros elementos */
    padding: 5px 3%;
}

header > .interface{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

header a{
    color: rgb(0, 0, 29);
    text-decoration: none;
    display: inline-block;
}

header a:hover{
    color: rgb(49, 49, 250);
    transform: scale(1.05);
    transition: .2s;
}

header nav ul{
    list-style-type: none;
}

header nav.menu-desktop ul li{
    display: inline-block;
    padding: 0 40px;
}

/* ESTILO MENU MOBILE*/

.btn-abrir-menu i{
    color: rgb(0, 0, 29);
    font-size: 36px;
}

.menu-mobile{
    background-color: rgb(235, 237, 240);
    height: 100vh;
    position: fixed;
    top: 0;
    right: 0;
    width: 0%;
    overflow: hidden;
    transition: .5s;
}

.menu-mobile.abrir-menu{
    width: 70%;
}

.menu-mobile .btn-fechar{
    padding: 20px 5%;
}

.menu-mobile .btn-fechar i{
    color: rgb(49, 49, 250);
    font-size: 30px;
}

.menu-mobile nav ul{
    text-align: right;
}

.menu-mobile nav ul li a{
    font-size: 20px;
    font-weight: 300;
    padding: 20px;
}

.overlay-menu{
    background-color: rgba(235, 237, 240, 0.555);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 88888;
    display: none;
}

.btn-abrir-menu{
    display: none;
}

/* ESTILO DO TOPO DO SITE */
section.topo-do-site{
    padding: 40px 4%;
}

section.topo-do-site .flex{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 90px;
}

.topo-do-site h1{
    color: rgb(0, 0, 29);
    font-size: 42px;
    line-height: 40px;
}

.topo-do-site h1 span{
    color: rgb(49, 49, 250);
}

.topo-do-site p{
    color: rgb(0, 0, 29);
    margin: 40px 0;
}

.topo-do-site .img-topo-site img{
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;
}

@keyframes flutuar{
    0%{
        top: 0;
    }

    100%{
       top: 30px;
    }
}

/* ESTILO DOS PRINCÍPIOS */

section.principios{
    padding: 40px 4%;
}

section.principios .flex{
    gap: 60px;
}

.principios .principios-box{
    color: rgb(0, 0, 29);
    padding: 40px;
    border-radius: 20px;
    margin-top: 45px;
    transition: .2s;
}

.principios .principios-box:hover{
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.541);
}

.principios .principios-box i{
    font-size: 70px;
    color: rgb(49, 49, 250);
}

.principios .principios-box h3{
    font-size: 26px;
    margin: 15px 0;
}

/* ESTILO DO SOBRE */
section.sobre{
    padding: 90px 4%;
}

section.sobre .flex{
    align-items: center;
    gap: 60px;
}

.sobre .txt-sobre{
    color: rgb(0, 0, 29);
}

.sobre .txt-sobre h2{
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 30px;
}

.sobre .txt-sobre h2 span{
    color: rgb(49, 49, 250);
    display:block;
}

.sobre .txt-sobre p{
    margin: 20px 0;
    text-align: justify;
}

.sobre .txt-sobre .btn-social button{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 0;
    background-color: rgb(49, 49, 250);
    font-size: 22px;
    cursor: pointer;
    margin: 0 5px;
    transition: .2s;
}

/* Estilo da seção de serviços */
.servicos {
    padding: 60px 4%;
    background-color: rgb(235, 237, 240); /* Fundo claro */
    text-align: center;
}

.servicos .titulo {
    font-size: 38px;
    color: rgb(0, 0, 29);
    margin-bottom: 40px;
}

.servicos .titulo span {
    color: rgb(49, 49, 250); /* Azul */
}

.servicos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    width: 300px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05); /* Efeito de ampliação */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Aumenta a sombra */
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card h3 {
    font-size: 18px;
    color: rgb(0, 0, 29);
    padding: 15px;
}

.card p {
    font-size: 14px;
    color: rgb(80, 80, 80);
    padding: 0 15px 15px;
    line-height: 1.5;
}

.card a {
    display: block;
    padding: 10px 15px;
    color: rgb(49, 49, 250);
    text-decoration: none;
    font-weight: bold;
}

.card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .servicos-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Seção de Contato */
.contato {
    padding: 60px 4%;
    background-color: #fff;
}

.contato .flex {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    justify-content: center;
    flex-wrap: wrap;
}

.contato .mapa iframe {
    width: 100%;
    max-width: 600px;
    height: 350px;
    border-radius: 10px;
    border: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contato .info-contato {
    max-width: 400px;
}

.contato .info-contato h3 {
    color: rgb(49, 49, 250);
    font-size: 18px;
    margin-bottom: 10px;
}

.contato .info-contato p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

.contato .social-icons a {
    color: rgb(49, 49, 250);
    font-size: 24px;
    margin-right: 15px;
    text-decoration: none;
    transition: 0.3s;
}

.contato .social-icons a:hover {
    color: rgb(0, 0, 29);
}

#contato h2.titulo {
    margin-top: 30px; /* Ajusta o espaçamento acima do título */
    margin-bottom: 50px; /* Ajusta o espaçamento abaixo do título */
}
/* Estilo do rodapé */
.rodape {
    text-align: center;
    padding: 10px;
    background-color: rgb(0, 0, 29);
    color: white;
    font-size: 10px;
    margin-top: 40px;
}

.rodape p {
    margin: 0;
    font-weight: 600;
}

@media screen and (max-width: 1298px){
    
    .btn-abrir-menu{
        display: block;
    }

    /*classes gerais*/
    .flex{
        flex-direction: column;
    }

    h2.titulo{
        font-size: 30px;
        line-height: 30px;
    }

    section.topo-do-site .flex{
        gap: 40px;
    }

    .topo-do-site .flex{
        flex-direction: column-reverse;
    }

    /*cabeçalho*/
    .menu-desktop, .btn-contato{
        display: none;
    }

    /*topo do site*/
    section.topo-do-site{
        padding: 20px 8%;
    }
    
    .topo-do-site h1{
        font-size: 30px;
    }

    .topo-do-site .img-topo-site img{
        width: 100%;
    }

    /*princípios*/
    section.principios{
        padding: 40px 8%;
    }

    /* ESTILO DO SOBRE */
    .sobre .flex{
        flex-direction: column-reverse;
    }

    section.sobre{
        padding: 90px 8%;
    }

    .sobre .txt-sobre h2{
        font-size: 30px;
        text-align: center;
    }

    .btn-social{
        text-align: center;
    }

    .img-sobre img{
        width: 100%;
    }

    /*serviços*/
    .servicos {
        padding: 60px 8%;
    }

    .servicos .titulo {
        font-size: 30px;
    }

    .servicos-container {
        gap: 60px;
    }

    /* Seção de Contato */
    .contato {
    padding: 60px 8%;
    }

    .info-contato .flex {
        text-align: center;
        width: 100%;
    }
     .mapa{
        width: 100%;
     }
}