@import url('https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

html{
    scroll-behavior: smooth;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
header{
    background-color: #F9F8F6;
    min-height: 200px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
}

header img{
    height: auto;
    max-height: 500px;
    max-width: 100%;
}
nav{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background-color:#F9F8F6;
    border: 1px solid black;
    flex-wrap: wrap;
  
}
nav ul{
       display: flex;
       list-style: none;
       margin: 0;
       padding: 0;
       gap: 100px;
       flex-wrap: wrap;
}
nav ul li:hover{
    /* background-color:  #C26F4D; */
    color: #FFFFFF;
    transform: scale(1.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1)
    
}
nav ul li {
    transition: all 0.3s ease;
    cursor: pointer;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

nav a{
    text-decoration: none;
    color: #153147;
    font-weight: bold;
    transition: color 0.3s ease;
    font-size: 1.5rem;
    font-family: "poppins", sans-serif;
    
}
nav a:hover {
    color: #153147;
    border-width: 100px;
    border: 1px solid black;
    border-radius: 0.5rem;
    
}


.whatsapp button{
    background-color: #ADB8BA;
    color: white;
    border-radius: 15px;
    box-shadow: white 3px 3px 0px 0px;
    font-size: 2rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding: 10px;
    border-color: white;
}
.whatsapp{
    margin: 40px;
}

.whatsapp img, footer img{
    width: 30px;
    height: 30px;
}

.contatos{
    display: flex;

}



footer{
    color: #153147;
    background-color: #F9F8F6;
    justify-content: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.tituloFooter{
    display: flex;
}

footer h2{
    font-size: 2rem;
    font-family: Georgia, 'Times New Roman', Times, serif;
    padding: 15px;
    align-self: center;
}

.logoRodape{
    height: 200px;
    width: auto;
    border-left: 1px solid #153147;
}

#areaDeAtuacao{
    display: flex;
    padding: 30px;
    background-color:#ADB8BA;
    justify-content: space-evenly;
}
.cardAtuacao{
    border-radius: 10px;
    border: 1px solid black;
    width: 300px;
    height: 400px;
    background-color: #153147;
    color: white;
    /* padding: 20px; */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cardAtuacao:hover{
    transform: scale(1.05);
    transition: 0.3s;
}



#registro {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0.5, 0.5)), 
                url("https://imgs.jusbr.com/publications/images/06449bfbb0c750fca6a47c2c50e35b34");
    background-size: cover;
    background-position: -100px;
    background-position-y: -150px;
}
#preventiva {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0.5, 0.5)), 
                url("https://www.ggsadv.com/wp-content/uploads/2021/11/Design-sem-nome-2021-11-22T123217.871.jpg");
    background-size: cover;
    background-position: center;
    /* background-position-y: -150px; */
}
#contrato {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0.5, 0.8)), 
                url("https://conceito.de/wp-content/uploads/2022/11/contract-4085336_1280.jpg");
    background-size: cover;
    background-position: center;
    /* background-position-y: -150px; */
}




.cardAtuacao p{
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: justify;
    margin: 20px;
}

.cardAtuacao h3{
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: center;
    margin: 20px;
    font-size: 2rem;

}

.cardAtuacao img{
    width: 100%;
    
    overflow: hidden;
    border-top: 1px;
    border-radius: 10px;
    
}


.cardAtuacao h3{
    font-weight: bold;
    margin: 10px;
    font-size: larger;
}

header img{
    height: 100%;
    width: auto;
}
header #logo{
    margin-left: 100px;
}
#sobre{
    /* background-image: linear-gradient(to bottom, #F9F8F6 5%, #153147); */
    padding: 7px;
    background-color: #153147;
}
#sobre h2{
    margin: 30px;
    padding: 20px;
    font-size: 2.5rem;
    font-family: "poppins", sans-serif;
    color: #F9F8F6;
    font-weight: 300;
    font-style: normal;
}

#formulario-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px;
    gap: 20px;
    background-color: #153147;
}

#formulario{
    color: #153147;
    background-color: #ADB8BA;
    border-radius: 25px;
    display: flex;
    flex-direction: column;
}

#formulario-section h2{
    font-family: "poppins", sans-serif;
    color: #F9F8F6;
    font-size: 2.5rem;
}

.form-group{
    margin: 10px;
    padding: 10px 50px 10px 50px;
    font-size: 1.5rem;
    
}

.form-group input{
    border: 1px solid #153147;
    border-radius: 10px;
    width: 100%;
    padding: 13px;
    margin: 5px;
}

.form-group textarea{
    border: 1px solid #153147;
    border-radius: 1px;
    width: 100%;
    padding: 13px;
    margin: 5px;
}
.form-group select{
    border: 1px solid #153147;
    border-radius: 10px;
    width: 100%;
    padding: 13px;
    margin: 5px;
}

.form-group input:hover, .form-group textarea:hover, .form-group select:hover{
    outline: none;
    background-color: #e4e4e4;
}

#formulario-section button{
    background-color: #C26F4D;
    border: thin solid #153147;
    border-radius: 10px;
    border-top-left-radius: none ;
    border-top-right-radius: none ;
    border-top: none;
    color: #ffffff;
    padding: 20px;
    font-size: 1rem;
    
    /* margin-bottom: 30px; */
}

#formulario-section button:hover{
    background-color: #7cb1da;
    border: thin solid #F9F8F6;
    /* padding: 10px; */
    font-size: 1rem;
    color: #153147;
}

.contato h2{
    /* margin: 30px; */
    padding: 20px;
    font-size: 2.5rem;
    color: #F9F8F6;
}
.contato p{

    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 20px;
}

.contato a{
    text-decoration: none;
    color:inherit
}
.contato{
    margin-right:30px;
    margin-left: 30px;
    font-family: Georgia, 'Times New Roman', Times, serif;
}   

@media only screen and (max-width: 1200px) {
    #areaDeAtuacao {
        padding: 20px;
    }
    header{
        /* height: 100px; */
        /* flex-direction: column; */
        align-items: center;
        text-align: center;
    }
    
    #sobre h2 {
        font-size: 1.8rem;
    }
    header #logo {
        margin: 10px;
        width: 40%;
    }
}

/* Dispositivos médios (tablets, 768px e acima) */
@media only screen and (max-width: 992px) {
    header {
        /* flex-direction: column; */
        align-items: center;
        text-align: center;
        flex-direction: row
    }
    header #logo {
        margin: 10px;
        width: 40%;
    }
    header #logo {
        margin: 20px 0;
    }
    
    .tituloFooter {
        flex-direction: column;
    }
    
    #areaDeAtuacao {
        justify-content: center;
    }
    
    .cardAtuacao {
        width: 280px;
    }
    
    #sobre h2 {
        font-size: 1.5rem;
        padding: 10px;
    }
    
    .whatsapp button {
        font-size: 1.2rem;
    }
}

/* Dispositivos pequenos (celulares em paisagem, 576px e acima) */
@media only screen and (max-width: 768px) {
    .contatos {
        /* flex-direction: column; */
        align-items: center;
        flex-direction: row;
    }
    header #fotosentada{
        margin-top: 0;
        width: 40%;
    }
    header #logo{
        margin-left: 30px;
    }

    
    .contato {
        margin: 5px 0;
    }
    
    footer h2 {
        font-size: 1.5rem;
    }
    
    .whatsapp {
        margin: 20px;
        display: flex;
        justify-content: center;
    }
    
    .cardAtuacao {
        height: 350px;
    }
    
    .cardAtuacao h3 {
        font-size: 1.3rem;
    }
    
    .cardAtuacao p {
        font-size: 0.9rem;
    }

    nav {
        padding: 0.5rem;
        width: 100%;
    }

    nav ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        align-items: center;
    }

    nav ul li {
        width: 100%;
        text-align: center;
    }

    .contatos {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contato {
        margin: 10px 0;
        text-align: center;
        width: 100%;
    }

    .tituloFooter {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logoRodape {
        border-left: none;
        border-top: 1px solid #153147;
        margin-top: 15px;
        padding-top: 15px;
    }
}

/* Dispositivos muito pequenos (celulares em retrato) */
@media only screen and (max-width: 576px) {
    header {
        /* height: 100%;  */
        flex-direction: row
    }
    
    header img {
        max-width: 50%;
    }
    

    header #logo {
        margin: 20px;
        width: 80%;
        margin-top: 0;
    }
    header #fotosentada{
        margin-top: 0;
        width: 35%;
        height: 100%;
    }
    
    #sobre h2 {
        font-size: 1.2rem;
        margin: 10px;
        padding: 10px;
    }
    
    .whatsapp button {
        font-size: 1rem;
        padding: 8px;
    }
    
    .whatsapp img {
        width: 20px;
        height: 20px;
    }
    
    #areaDeAtuacao {
        padding: 10px;
        display: flex;
        flex-wrap: wrap;
        gap:10px;
    }
    
    .cardAtuacao {
        width: 90%;
        max-width: 300px;
        height: 300px;

    }
    
    footer {
        padding: 10px;
    }
    
    .logoRodape {
        max-height: 150px;
    }

    nav a {
        font-size: 1.2rem;
    }

    .contato p {
        font-size: 16px;
    }

    footer h2 {
        font-size: 1.5rem;
        text-align: center;
    }
}