*,
*::before,
*::after,
:root {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

html, body {
  height: 100%;
}

body{
    overflow-x: hidden;
    background: #F5F5F5;
}

nav{
   overflow: hidden; 
   display: flex;
   justify-content: space-between;
   align-items: center;
   margin: 25px auto;
   max-width: 1200px;
}

nav .first{
    display: flex;
    align-items: center;
    gap: 40px;
}

nav .logo{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-transform: capitalize;
    letter-spacing: 0.7px;
    font-weight: 900;
    color:  #30332E;
}

nav .logo img{
    width: 30px;
    height: 30px;
}

.itens{
    display: flex;
    align-items: center;
    gap: 20px;
    color: #30332E;
}

.itens a{
    cursor: pointer;
    font-size: 20px;
}

.contatoButton button, #contato button{
   background-image: linear-gradient(90deg, #5dc1e6, #004aad);
   color: #FFF;
   font-weight: 600;
   padding: 10px 25px;
   border-radius: 30px;
   font-size: 20px;
   border: none;
   cursor: pointer;
}

main {
    padding: 50px 80px;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

#home{
    display: grid;
    grid-template-columns: 60% 40%;
}

#home .first .title{
    font-size: 45px;
    font-weight: 600;
    width:40vw;
    letter-spacing: 2px;
    line-height: 55px;
    margin-bottom: 20px;
}

#home .first .text{
    font-size: 18px;
    text-align: justify;
    width: 30vw;
    letter-spacing: 0.9px;
    line-height: 27px;
    color: #3c3c3c;
    margin-bottom: 20px;
}

#home .first button{
    background-image: linear-gradient(90deg, #5dc1e6, #004aad);
   color: #FFF;
   font-weight: 600;
   padding: 10px 25px;
   border-radius: 30px;
   border: none;
   cursor: pointer; 
   font-size: 20px;
   margin-bottom: 50px;
}

#home img{
    width: 40vw;
    margin-top: -20px;
    max-width: 450px;
}

.container .desc{
    font-size: 18px;
    color: #696666;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
    
    margin-top: -100px;
}

.container .empresas{
    width: 200px;
    height: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.empresas img{
    height: 30px;
}

#services{
    margin-top: 100px;
}

#services .detail, #contato .detail{
    border-left: 3px solid #2f85f5;
    padding-left:8px;
    margin-bottom: 15px;
    font-size: 20px;
}

#services .title, #contato .title{
    font-size: 25px;
    font-weight: 600;
    letter-spacing: 1.8px;
}

#services .desc{
    width: 500px;
    margin-top: 8px;
}

#contato .desc{
margin-top: 15px;
}

.services{
    margin-top: 50px;
    display: grid;
    width: 100%;
    align-items: center;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.services .card {
    background-color: #fff;
    border: 2px solid #f0f0f0;
    width: 100%;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 1px 6px hsla(0, 0, 0, 0.3);
}

.services .card .icon{
    width: 30px;
    height: 30px;
    background-color: #a3cede;
    border-radius: 100%;
    margin-bottom: 20px;
    justify-content: center;
    align-items: center;
    display: flex;
    color: #fff;
    font-weight: 600;
}

.services .card .title_card{
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.services .card .desc_card{
    font-size: 18px;
    color: #696666;
    line-height: 22px;
    text-align: left;
}

#cellphone{
    width: 100vw;
    padding: 20px 50px ;
    display: flex;
    align-items: center;
    max-width: 1300px;
    margin: auto;
}

#cellphone .fundo2{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#cellphone img{
    width: 40vw;
    max-width: 530px;
}

#cellphone .title, #primeiro_text{
    color: #30332E;
    font-weight: 500;
    font-size: 27px;
    letter-spacing: 2px;
    line-height: 32px;
    z-index: 2;
    margin-bottom: 20px;
    max-width: 50vw;
}

#cellphone .text{
    color: #3c3c3c;
    font-size: 18px;
    text-align: justify;
    letter-spacing: 0.9px;
    line-height: 23px;
    margin-bottom: 20px;
}

.card_h{
    padding: 20px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: center ;
}

.especial{
    background-image:linear-gradient(90deg, #5dc1e6, #004aad);
}

.especial .circle{
    background-color: #F5F5F5 !important;
}

.especial .circle .center{
    background-color: #5dc1e6 !important;
}

.especial .title_h, .especial .desc{
    color: #F5F5F5 !important;
}

.card_h .circle{
    width: 20px;
    height: 20px;
    background-color: #4674b1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    padding: 5px;
}

.card_h .circle .center{
    width: 10px;
    height: 10px;
    border-radius: 100%;
    background-color: #F5F5F5;
}

.card_h .title_h{
    color: #30332E;
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 8px;
}

.card_h .desc{
    font-size: 16px;
    color: #3c3c3c;
}

#contato{
    margin: 50px 80px;
}

#contato .container{
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 20px;
}

.contacts{
    margin-top: 100px;    
    font-size: 18px;
}

.form{
    background-color: #fff;
    padding: 20px;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 1px 6px hsla(0, 0, 0, 0.3);

}
.contact-form {
    margin-top: 20px;
}
  
  .form-control {
    border: 2px solid rgba(0, 0, 0, 0.27);
    border-radius: 5px;
    width: 100%;
    max-width: 100%;
    height: 3em;
    font-size: 15px;
    padding: 1em;
    margin: 5px 0;
  }

  .form-control:focus{
    border: 2px solid #4674b1 !important;
  }
  
  textarea {
    min-height: 100px;
  }
  
  label {
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 500;
  }

  .footer{
    padding: 40px 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #30332E;
    width: 100vw;
  }

  .footer .logo{
    display: flex;
    align-items: center;
    font-size: 18px;
    text-transform: capitalize;
    letter-spacing: 0.7px;
    font-weight: 800;
    color:  #30332E;
    margin-bottom: 20px;
}

.footer .logo img{
    width: 30px;
    height: 30px;
}

.footer p{
    font-size: 16px;
    letter-spacing: 1px;
    color: #696666;
}

#primeiro_text{
    display: none;
    text-align: center;
    margin: 50px 80px 30px 80px;
    max-width: 1200px;

}

@media (max-width: 1280px){
    .container .desc {
        margin-top: -20px;
     }
}

@media (max-width: 1100px){
    main{
        padding-top: 0px;
    }

    #home .first .title{
        font-size: 35px;
    }
    #home  img{
       margin-top: 35px;
       right: 6vw;
     }

     .container .desc {
        margin-top: -20px;
     }

     #cellphone img {
        width: 30vw;
    }
   }

@media (max-width: 900px){
    main{
        padding: 50px 80px;
    } 

    #home img{
        display: none;
    }

    #home{
        display: flex;
        flex-direction: column;
    }

    #home .first .title{
        width: 100%;
        font-size: 35px;
    }

    #home .first .text{
        width: 100%;
    }

    #contato .desc{
        width: 90%;
    }

    #primeiro_text{
        display: flex;
    }

    #segundo_text{
        display: none;
    }
}

@media (max-width: 700px){

    #primeiro_text{
        display: none;
    }

    #segundo_text{
        display: flex;
    }

    nav{
        margin: 20px;
    }
    
    main{
        padding: 50px 30px;
    }

    .itens{
        display: none;
    }

    #home img{
        display: none;
    }

    #home{
        display: flex;
        flex-direction: column;
    }

    #home .first .title{
        width: 100%;
        font-size: 28px;
        line-height: 38px;
    }

    #home .first .text{
        width: 100%;
    }

    #services .desc{
        width: 100%;
    }

    .services{
        display: flex;
        flex-direction: column;
    }

    #cellphone{
        flex-direction: column;
        padding-top: 0px;
        padding: 20px 30px;
    }

    #cellphone img {
        width: 80vw;
    }

    #cellphone .title{
        max-width: 100%;
        margin-top: 20px;
        font-size: 25px;
    }

    #cellphone .text {
        width: 100%;
    }

    #contato{
        margin: 50px 30px;
    }
    #contato .container{
        display: flex;
        flex-direction: column;
    }

    #contato .desc{
        width: 100%;
    }

    .contacts{
        margin: 20px 0 25px 0;
    }

    .footer{
        padding:40px;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer p{
        text-align: center;
    }

    .footer .logo{
        justify-content: center;
    }
}


@media (max-width: 500px){
    #home .first .title{
        width: 100%;
        font-size: 22px;
        line-height: 38px;
    }
}


.fundoTodo{
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    top:0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all .2s ease-in-out;
}

.popup{
    background-color: #f0f0f0;
    border-radius: 8px;
    max-width: 300px;
    min-height: 150px;
    width: 90%;
    transform: scale(0);
    transition: all .2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.confirmation{
    padding: 20px;
    display: none;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.confirmation .header{
    display: flex;
    justify-content: end;
}

.confirmation .text_confirm{
    padding-top: 20px;
    font-size: 20px;
    text-align: center;
}

.loader{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
}

svg path,
svg rect{
  fill:  #004aad;
}