* {
  margin: 0;
  padding: 0;
}

:root {
  --color-1: #104573;
  --color-2: #104D73;
  --color-3: #29A7D9;
  --color-4: #25B8D9;
  --color-5: #F0F2F2;
}

html {
  font-family: 'Rubik';
  scroll-behavior: smooth;
}

/* ---------------- HEADER ---------------- */
.start-landing {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 10em;
}

.logo {
  margin-left: 2.3em;
}

.logo a img {
  background-size: cover;
  width: 239,38px;
  height: 150px;
}

.contact {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 220px;
  height: 60px;
  margin-right: 5em;
  border-radius: 20px;
  background-color: var(--color-1);
}

.contact:hover {
  transform: scale(1.02);
  transition: all 0.3s ease;
}

.contact img {
  background-size: cover;
  height: 50px;
  margin-left: 10px;
}

.contact a {
  display: flex;
  align-items: center;
  padding: 15px;
  text-decoration: none;
  color: var(--color-5);
}

/* ---------------- MENU ---------------- */
.menu {
  display: flex;
  align-items: center;
  height: 37px;
  background-color: var(--color-1);
  border: solid 2px black;
}

.menu ul {
  display: flex;
  justify-content: space-around;
  width: 100vw;
  list-style: none;
  text-transform: capitalize;
}

.menu ul li a {
  text-decoration: none;
  color: var(--color-5);
}

.menu ul li a:hover {
  color: var(--color-4);
  transition: all 0.5s ease;
}

.menu-inicial {
  width: 100%;
  height: 400px;
  background: var(--color-3);
}

.menu-inicial img {
  background-size: cover;
  min-height: 400px;
  width: auto;
}

/* ---------------- MAIN ---------------- */
.main-content {
  height: 500px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.div-main-content-bg {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  max-height: 100%;
  background-color: #fff;
}

.div-main-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 80vw;
  max-height: 80%;
}

.titulo-main-content {
  max-width: 100%;
  max-height: 100%;
  margin-bottom: 1em;
  font-size: 2em;
  font-weight: 800;
  color: var(--color-1);
}

.text-main-content,
.text-main-content-two {
  font-size: 1.4em;
  text-align: justify;
}

.text-main-content-two {
  margin-top: 1em;
  max-width: 100%;
}

/* ---------------- SERVICES ---------------- */
.services {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  height: 500px;
  background-color: var(--color-1);
}

.service-container-content {
  display: grid;
  justify-items: center;
  align-items: center;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 30px;
  width: 100%;
  max-width: 820px;
  height: 500px;
  margin: 0 70px;
}

.service-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 132px;
  height: 153px;
  border-radius: 10px;
  background-color: #fff;
}

.service-item a {
  text-decoration: none;
}

.service-item:hover {
  transform: scale(1.1);
  transition: all 0.3s ease;
}

.img-service-item {
  position: relative;
  background-size: cover;
  width: 100px;
  height: 100px;
  padding: 2px;
}

.text-service-item {
  font-weight: 500;
  color: var(--color-1);
}

.text-service-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60%;
  height: 100%;
  background-color: var(--color-5);
}

.text-service-container h1 {
  position: relative;
  font-size: 2em;
  color: var(--color-1);
  text-transform: uppercase;
  padding-bottom: 5px;
}

.text-service-container h1::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60%;
  height: 5px;
  background: var(--color-3);
}

/* ---------------- DIFERENCIAIS ---------------- */
.diferenciais {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  max-height: auto;
  overflow: hidden;
}

.comp-title {
  display: flex;
  align-items: center;
}

.comp-title h2 {
  margin: 30px 0px;
  font-size: 3em;
  color: var(--color-5);
  border-radius: 10px;
  padding: 20px;
  background-color: var(--color-1);
}

.comp-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin-bottom: 50px;
}

.comp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 250px;
  height: 500px;
  margin: 0 20px;
  border-radius: 20px;
  background-color: var(--color-5);
  box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
              rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
}

.image-comp {
  height: 170px;
  background-size: cover;
  width: 250px;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
}
.comp-item-text {
  height: 300px;
  padding: 10px;
  text-align: center;
}

.comp-item-text h3 {
  text-align: left;
}

.comp-item-text p {
  padding-top: 10px;
  text-align: left;
  line-height: 1.5em;
  color: rgb(116, 115, 115);
}

.comp-item:hover {
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.wave-comp {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
}

/* ---------------- ATENDIMENTO ---------------- */
.atendimento {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  min-height: 500px;
  background-color: var(--color-5);
}

.aten-map {
  display: flex;
  align-items: center;
}

.aten-map-img {
  max-height: 450px;
  margin-left: 80px;
}

.aten-text {
  width: 100%;
  margin: 0 70px 0 50px;
  text-align: left;
}

.aten-text h2 {
  margin-bottom: 5px;
  font-size: 35px;
  text-transform: uppercase;
  color: var(--color-3);
}

.aten-text h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.aten-text p {
  color: rgb(116, 115, 115);
}

  

/* Footer */

.footer{
  border-top: solid 1px rgb(116, 115, 115);
  border-bottom: solid 1px rgb(116, 115, 115);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 400px;
  background-color: #fff;
}

.logo-footer img{
  background-size: cover;
  height: 250px;
}


.footer-item h4{
  color: var(--color-3);
  font-size: 20px;  
  margin-left: 70px;
}

.footer-item p{
  color: rgb(116, 115, 115);
  font-size: 18px;  
  margin-left: 70px;
}

.link-number a{
  text-decoration: none;
  color: rgb(116, 115, 115);
}

.end-site{
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-right: 20px;
  margin-left: 20px;
  color: rgb(116, 115, 115);
}

.end-site a{
  text-decoration: none;
  color: #104573;
}

/* Media - Query */


@media (max-width: 670px){
    .start-landing{
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 15em
    }
    
    .logo{
        margin: 0px;
    }


    .contact{
        margin-right: 0px;
    }
}

@media (max-width: 1170px){
  
  /* Competencias (breakpoint in 1170px) */
  .comp-title {
    display: flex;
    align-items: center;
    height: 170px;
  }

  .comp-title h2 {
    font-size: 2.8em;
    color: var(--color-5);
    border-radius: 10px;
    padding: 18px;
    background-color: var(--color-1);
  }

  .comp-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .comp-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 230px;
    height: 460px;
    margin-bottom: 20px;
    border-radius: 20px;
    background-color: var(--color-5);
    box-shadow: rgba(0, 0, 0, 0.16) 0px 10px 36px 0px,
                rgba(0, 0, 0, 0.06) 0px 0px 0px 1px;
  }

  .image-comp {
    background-size: cover;
    width: 230px;
    height: 150px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  }

  .comp-item-text {
    height: 300px;
    margin: 0 3px;
    padding: 10px;
    text-align: center;
  }

  .comp-item-text h3 {
    text-align: left;
    font-size: 18px;
  }

  .comp-item-text p {

    font-size: 15.5px;
    padding-top: 5px;
    text-align: left;
    line-height: 1.5em;
    color: rgb(116, 115, 115);
  }

  .logo-footer img{
    height: 200px;
  }

  .footer-loc{
    margin: 0px 70px 0px 0px;
    text-align: right;
  }

  .footer-loc h4, p{
    margin-left: 0px;
  }
  .footer{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-footer{
    display: flex;
    justify-content: center;
    grid-column: span 2;
  }
  
}
  /* initial section(bp in 1170px) */

@media(max-width:1058px){

.comp-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.comp-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 800px;
  height: 180px;
  margin:  20px;
}

.image-comp {
  display: block;
  height: 180px;
  width: 250px;
  border-radius: 10px 0px 0px 10px;
}

.comp-item-text {
  height: 100%;
}

.comp-item-text h3 {
  padding-top: 20px;
}

.wave-comp {
  width: 230%;
}

.aten-map-img{
  height: 380px;
}

.aten-text{
  margin: 0 70px 0 30px;
}

}

@media(max-width:950px){
  .main-content{
    height: 400px;
  }
  .titulo-main-content{
    font-size: 30px;
  }
  .text-main-content,
  .text-main-content-two{
    font-size: 20px;
  }
  .service-container-content{
    margin: 0px 30px;
  }
  .service-item{
    height: 132px;
    width: 120px;
  }

  .img-service-item{
    height: 70px;
    width: 70px;
  }

  .text-service-item{
    font-size: 14.5px;
  }
  
  .aten-map-img{
    max-height: 260px;
    margin: 0px 0px 0px 30px;
  }
}

@media(max-width:800px){
  .service-item{
    height: 120px;
    width: 100px;
  }

  .img-service-item{
    height: 60px;
    width: 60px;
  }

  .text-service-item{
    font-size: 12px;
  }

  .service-container-content{
    height: 80%;
    gap: 15px;
  }

  .comp-item {
  width: 650px;
}

.comp-item-text h3{
  font-size: 17px;
}
.comp-item-text p{
  font-size: 14px;
}
}

@media(max-width:650px){
  .comp-title{
    font-size: 13px;
  }
  .titulo-main-content{
  font-size: 20px;
  }
  .text-main-content,
  .text-main-content-two{
    font-size: 18px;
  }
  .text-service-container{
    padding: 20px;
    margin-top: 20px; 
    border-radius: 10px;
  }
  .service-item{
    display: flex;
    justify-content: center;
    width: 230px;
  }
  .services{
    height: auto;
    flex-direction: column-reverse;
  }
  .service-container-content{
    margin: 50px 0px 50px 0px;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(4, 1fr);
  }
  .comp-item {
  width: 550px;
  height: 170px;
  margin:  20px;
}

.image-comp {
  display: block;
  height: 170px;
  width: 200px;
  border-radius: 10px 0px 0px 10px;
}

.comp-item-text h3{
  padding-top: 5px;
  font-size: 15px;
}

.comp-item-text p{
  font-size: 13px;
}
.atendimento{
  flex-direction: column-reverse;
}
.aten-text{
  width: 90%;
  margin: 10px 0px 0px 0px;
}
.aten-text h2{
  font-size: 25px;
}

.aten-text h3{
  font-size: 15px;
}

.aten-text p{
  font-size: 14px;
}

.aten-map-img{
  margin: 0px 0px 20px 0px;
}

.footer{
  display: flex;
  flex-direction: column;
}

.footer-item{
  margin: 10px 0px 0px 0px;
  text-align: center;
  width: 400px;
}
.footer-loc{
  margin: 0px;
}

.footer-item p{
  margin: 0px 0px 0px 0px;
}

.footer-item h4{
  margin: 0px;
}
}

@media (max-width:550px){
  .service-container-content{
    width: auto;
    gap: 15px 20px;
  }
  .service-item{
    width: 200px;
    margin: 0px;
  }
  .comp-title{
    font-size: 10px;
  }
  .comp-item{
    flex-direction:column ;
    align-items: start;
    width: 350px;
    height: 400px;
  }

  .image-comp{
    border-radius: 10px 10px 0px 0px;
    width: 350px;
    height: 200px;
  }
}

@media (max-width:450px){
    .end-site{
     font-size: 13px;
    }
  .main-content{
    height: auto;
    margin: 50px 0px
  }
  .titulo-main-content{
    margin-bottom: 20px;
    font-size: 20px;
  }
  .text-main-content,
  .text-main-content-two{
    font-size: 14px
  }

  .text-main-content-two{
    margin-bottom: 20px;
  }

  .text-service-container {
    padding: 15px 10px; 
  }

  .text-service-container h1{
    font-size: 25px;
  }

  .service-item{
    width: 170px;
    height: 100px;
  }
}

@media (max-width:550px){
  .service-item{
    width: 150px;
  }

  .comp-title h2{
    font-size: 22px
  }

  .comp-item{
    width: 325px;
  }

  .image-comp{
    width: 325px;
  }

  .aten-map img{
    height: 220px;
  }
}



