/*ESTILO GERAL*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Chakra Petch', sans-serif;
}
header{
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 4px 8px rgba(191, 191, 191, 0.9);
}
.logo img{
    width: 200px;
    height: auto;
}
body{
    background-color: white;
    height: 100vh;
}
.interface{
    max-width: 1200px;
    margin: auto;
}
.flex{
    display: flex;
}

/*BOTÕES*/

.btn-contato button{
    padding: 10px 40px;
    font-size: 18px;
    font-weight: 600;
    background-color: #4594ef;
    border: 0;
    border-radius: 30px;
    cursor: pointer;
    transition: .2s;
}
.btn-contato button:hover, form .btn-enviar input:hover{
    box-shadow: 0px 0px 8px #003e85;
    transform: scale(1.05);
}

/*TITULOS*/

h2.titulo{
    color: black;
    font-size: 40px;
    margin-top: 20px;
    text-align: center;
    padding: 60px;
    
}
h2.titulo span{
    color: #1600bb;
}

/*ESTILO CABEÇALHO*/
header{
    padding: 40px 4%;
}
header > .interface{
    display: flex;
    align-items: center;
    justify-content: space-between;
}
header a{
    color: #5c5c5c;
    text-decoration: none;
    display: inline-block;
    transition: .2s;
}

/*MENU*/

header .menu-desktop a:hover{
    color: #4594ef;
    transform: scale(1.05);

}
header nav ul {
    list-style-type: none;
}
header .menu-desktop ul li {
    display: inline-block;
    padding: 0 40px;
}

/*MENU MOBILE*/

.menu-mobile {
    background-color: #1600bb;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 99999;
    width: 100%;
    transition: right 0.3s ease-in-out;
    overflow: hidden;
}
.menu-mobile.ativo {
    right: 0;
}
.menu-mobile nav ul {
    text-align: center;
    padding-top: 50px;
}
.menu-mobile nav ul li a {
    color: #fff;
    font-size: 15px;
    font-weight: 300;
    padding: 20px 4%;
    display: block;
}
.menu-mobile nav ul li a:hover {
    background-color: #4594ef;
}
.menu-mobile .btn-fechar {
    padding: 20px;
    cursor: pointer;
    text-align: right;
}
.btn-abrir {
    cursor: pointer;
    display: block;
}

/*ESTILO DO TOPO DO SITE*/

section .topo-do-site{
    padding: 40px 4%;
}
section .topo-do-site .flex{
    align-items: center;
    justify-content: center;
}
.topo-do-site h1{
    color: black;
    font-size: 42px;
    line-height: 40px;
    margin-top: 100px;
}
.topo-do-site .txt-topo-site h1 span{
    color: #1600bb;
}
.topo-do-site .txt-topo-site p{
    color: black;
    margin: 40px 0;
}
.topo-do-site .img-topo-site img{
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;

}

/*IMG FLUTUANDO*/

@keyframes flutuar{
    0%{
        top: 0;
    }
    100%{
        top: 30px;
    }
}

/*ESTILO SOBRE*/

section .sobre{
    padding: 40px 4%;
}
section .sobre .flex{
    align-items: center;
    justify-content: center;
    gap: 90px;
}
.sobre h1{
    color: black;
    font-size: 42px;
    line-height: 30px;
    margin-top: 60px;
    margin-bottom: 60px;
}
.sobre .txt-sobre h1 span{
    color: #1600bb;
}
.sobre .txt-sobre p{
    color: black;
    margin: 40px 0;
    font-size: 20px;

}
.sobre .img-sobre img{
    margin-top: 200px;
    position: relative;
    animation: flutuar 2s ease-in-out infinite alternate;

}

/*IMG FLUTUANDO*/

@keyframes flutuar{
    0%{
        top: 0;
    }
    100%{
        top: 30px;
    }
}

/*ESTILO DAS ESPECIALIDADES*/

section .especialidades{
    padding: 40px 4%;
}
section .especialidades .flex{
    gap: 60px;
}
.especialidades .especialidades-box{
    color: rgb(0, 0, 0);
    padding: 30px;
    border-radius: 20px;
    margin-top: 40px;
    transition: .5s;
    margin-bottom: 180px;
}
.especialidades .especialidades-box:hover{
    transform: scale(1.1);
    box-shadow: 0 0 20px rgb(143, 143, 143);
}
.especialidades .especialidades-box h3{
    font-size: 28px;
    margin: 20px 0;
}

/* ESTILO PAGE SERVIÇOS*/

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin: 20px auto;
    max-width: 1200px;
    padding: 10px;
    margin-bottom: 150px;
}
.service-card {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 600px;
}
.service-card a {
    text-decoration: none;
    color: inherit;

}
.service-card ul li {
    line-height: 2.5;
    border-bottom: 1px solid #ddd;
    list-style-type: none;
}
.service-info {
    padding: 20px;
    display: flex;
    background: #280f91;
    color: #fff;
    text-align: center;
    flex-grow: 1; 
}
.service-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}
.service-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}
.service-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}
.clique {
    padding: 10px 40px;
    margin-top: 20px;
    margin: 0 auto;
    margin-bottom: 5px;
    background-color: #ed1c24;
    color: white;
    border: 0;
    cursor: pointer;
    font-size: 16px;
    border-radius: 30px;
    transition: .2s;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.clique:hover {
    background-color: #4594ef;
    box-shadow: 0 0 20px black;
    transform: scale(1.05);
}

/*ESTILO GALERIA*/

section.galeria{
    padding: 80px 4%;
    margin-bottom: 100px;
}
section.galeria .flex{
    justify-content: space-around;
    gap: 90px;
}
.img-port{
    width: 360px;
    height: 460px;
    background-color: #cbcbcb;
}

/*ESTILO FORMULARIO*/

body .fale-conosco{
    background-image: url("../img/faleconosco.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.fale-conosco{
    height: 100vh; 
    width: 100vw;
}
section.formulario{
    padding: 80px 4%;
}
form{
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
form input, form textarea{
    width: 100%;
    background-color: #4594ef;
    border: none;
    outline: none;
    padding: 20px 15px;
    border-radius: 15px;
    color: #000000;

}
form textarea{
    resize: none;
    height: 200px;
}
form input::placeholder, form textarea::placeholder{
    color: #fff;
}
form .btn-enviar{
    margin-top: 20px;
    text-align: center;
    margin-bottom: 100px;
}
form .btn-enviar input {
    width: 120px;
    color: #ffffff;
    background-color: #1600bb;
    cursor: pointer;
    transition: .2s;
}

/* ESTILO RODAPE */

footer {
    padding: 40px 4%;
    background-color: rgb(255, 255, 255);
    box-shadow: 0 0 40px 10px rgba(191, 191, 191, 0.9);
}
footer .flex{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}
footer .menu-desktop ul{
    display: flex; /* Garante que os itens fiquem na mesma linha */
    gap: 20px; /* Espaçamento entre os itens */
    list-style: none; /* Remove os marcadores de lista */
    padding: 0;
    margin: 0;
}
.logo-footer{
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.logo-footer img{
    width: auto;
    height: 50px;
    margin: 0;
}
.footer-divider {
    height: 100px;
    border-left: 2px solid #5c5c5c;
    margin-right: 5px;
}
.footer-bar {
    width: 100%; /* Garante que a faixa ocupe toda a largura da tela */
    background-color: #1600bb; /* Cor de fundo */
    color: white; /* Cor do texto */
    text-align: center;
    padding: 5px 0; /* Espaçamento interno */
    font-size: 14px;
    font-weight: bold;
    position: absolute; /* Mantém no fluxo normal, mas cobre todo o rodapé */
    left: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer{
    position: relative;
}
footer a{
    color: #5c5c5c;
    text-decoration: none;
    text-align: center;
    transition: .2s;
}
footer a:hover{
    color: #4594ef;
    transform: scale(1.05);

}
footer nav ul {
    list-style-type: none;
}
footer nav ul li {
    display: flex;
    padding: 0 40px;
    gap: 20px;
}
body.fale-conosco {
    font-family: 'Chakra Petch', sans-serif;
    margin: 0;
    padding: 0;
    background-image: url('../img/faleconosco.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
}

/*MOBILE*/

@media screen and (max-width: 1106px){

    /*CLASSES GERAIS*/

    .flex{
        flex-direction: column-reverse;
    }

    /*CABEÇALHO*/

    .menu-desktop{
        display: none;
    }
    header .btn-contato{
        display: none;
    }
    .logo img{
        width: 100px;
    }
    
    /*TOPO DO SITE*/

    h2.titulo{
        font-size: 25px;
    }
    section .topo-do-site{
        padding: 20px 8%;
    }
    .img-topo-site{
        margin-top: 70px;
        margin-bottom: 70px;
    }
    .topo-do-site h1{
        font-size: 28px;
        line-height: 30px;
        margin-bottom: 30px;
        margin: 0 20px;
    
    }
    .topo-do-site .txt-topo-site p{
        margin: 0 20px;
        font-size: 14px;
        margin-top: 30px;
        margin-bottom: 60px;
    }
    .topo-do-site .img-topo-site img{
        width: 100%;
    }
    .txt-topo-site .btn-contato{
        margin: 0 20px;
    }
    section.galeria{
        padding: 20px 8%;
    }
    section.galeria .flex{
        flex-direction: column;
        align-items: center;
    }
    .img-port img{
        width: 150px;
        height: auto;
    }

    /*ESPECIALIDADES*/
    .sobre h1{
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 30px;
    }
    .sobre .txt-sobre p{
        margin: 20px 0;
        font-size: 14px;
    }
    section .especialidades{
        padding: 20px 8%;
    }
    section .especialidades .flex{
        gap: 30px;
    }
    .sobre .img-sobre img{
        width: 100%;
    }
    .especialidades .especialidades-box:hover{
        transform: scale(0.9);
    }
    .especialidades .especialidades-box{

        padding: 30px;
        border-radius: 20px;
        margin-top: 20px;
        margin-bottom: 90px;
    }
    .especialidades .especialidades-box h3{
        font-size: 16px;
        margin: 10px 0;
    }

    /*SERVIÇOS*/
    .services-grid {
        flex-direction: column; /* Empilha os cards verticalmente */
        align-items: center; /* Centraliza os itens */
    }
    .service-card {
        flex: 1 1 100%;
        max-width: 100%; 
        min-height: 500px;
        display: flex;
        flex-direction: column;
    }
    .service-card h3{
        font-size: 15px;
    }
    .service-card ul li{
        font-size: 10px;
    }
    .service-info{
        padding: 15px;
        flex-grow: 1;
    }
    .clique {
        width: 100%; /* Garante que o botão fique proporcional */
        font-size: 14px;
    }

    /*RODAPÉ*/
    footer {
        padding: 20px 4%;
    }
    footer > .flex{
        gap: 0px;
        flex-direction: column-reverse;
    }
    footer .flex{
        gap: 10px;
    }
    footer .logo{
        order: 2;
    }
    footer .logo-footer{
      order: 1;
      display: flex;
      flex-direction: row;
      justify-content: center;
      align-items: center;
      gap: 60px;
    }
    .footer-divider{
        display: none;
    }
    .logo img{
        margin-bottom: 0px;
        margin-top: 0px;
    }
    .logo-footer img{
        width: 35px;
        height: auto;
        margin-bottom: 20px;
    }
    .footer-bar {
        font-size: 10px;
    }
}

@media screen and (min-width: 1107px) {
    .btn-abrir {
        display: none;
    }
}