/*NOT depend on html font-size in media queries! Instead, 1rem = 1em = 16px */

/***********************************
RESOLUÇÕES

480px - 768px = tablet
768px - 1024px = telas menores - laptops
1024px - 200px = desktop
1200px e = telas maiores, tvs

BREAKPOINTS

0 - 600px = phones
600 - 900 = tablet portrait
900 - 1200 = tablet landscape
1200 - 1800 = desktop
1800+ = big desktop


***********************************/

/***    Mobile First    **/
/* @media (min-witdh: --px){
  //
} */
/* Abaixo disso é celular, criar regras globais.  */

/* @mixin for-phone-only {
  @media (max-width: 599px) { 
}
@mixin for-tablet-portrait-up {
  @media (min-width: 600px) { 
} */
/* @mixin for-tablet-landscape-up {
  @media (min-width: 900px) { 
    
} */
/* @mixin for-desktop-up {
  @media (min-width: 1200px) {
    html{
      font-size: 66.5%;
    } 
  }
} */
/* @mixin for-big-desktop-up {
  @media (min-width: 1800px) { 
    html{
      font-size: 70.5%;
    }
  }
} */

@media(min-width: 3500px){
  html{
    font-size: 83.5%;
  }
 
}


@media(min-width: 2560px){
  html{
    font-size: 73.5%;
  }

  /*CHAMADA PARA A AÇÃO DA SESÃO HERO*/
/* .cta-hero {
  width:54%;
  height: 80px;
} */

/* .cta-hero-left {
  font-size: 32px;
  width: 25%;
  padding: 20px;
}
.cta-hero-right {
  width: 30%;
}

.cta-hero-right a {
  background-color: #1f2227;
  text-decoration: none;
  color: #fff;
  font-size: 22px;
  font-weight: 300;
} */
}


@media(max-width: 2000px){
  html{
    font-size: 70.5%;
  }
  .card-holding {
    height: 36%;
    width: 60%;
  }

  .descricao{
    font-size: 10px;;
  }

  /* .cta-hero{
    left:27%;
    width: 45%
  } */

  .cta-hero-left{
    font-size: medium;
    width: auto;
  }
  .cta-hero-right a {
    font-size: small;
  }
}

@media(max-width: 1680px){


  .sidebar{
    width: 32rem;
  }


}



@media(max-width: 1440px){
  html{
    font-size: 66.5%;
  }

  .cta-hero {
    left: 29%;
    width: 48%;
}

  .sidebar{
    width: 32rem;
  }


}

/**************************/
/* Telas até 1344px (Smaller desktops) */
/**************************/

@media (max-width: 84em) {
  html{
    font-size: 62.5%;
  }

  .cta-hero {
    left: 32%;
    width: 45%;
}

}
/**************************/
/* Telas até 1200px (Landscape Tablets) */
/**************************/

@media (max-width: 75em) {
  html {
    /* 9px / 16px  */
    font-size: 56.25%;
  }

.link-menu{
    font-size: 1.2rem;
}

.urban-box{
  width: 30%;
  height: 100%;
}
.urban-box{
  width: 30%;
  height: 100%;
}

.step-description{
  padding: 1rem;
}


/* Slides*/


figure{
  width: 100%;
  height: 300px;
}

.arrow{
  position: absolute;
  height: 45px;
  width: 45px;
  color: #384852;
}

.arrow-left{
  top: 25%;
  left: 0;
  transform: translate(-10%,-25%);
}
.arrow-right{
  top: 25%;
  right: 0;
  transform: translate(10%, -25%);
}

.descricao{
  font-size: 8px;;
}

.lk-ns-hst{
  margin-bottom: 1rem;
}


.fab.fa-whatsapp{
  position: fixed;
  bottom: 0;
  right: 0;
  font-size: 2em;
  font-weight: bold;
  padding: 2rem 1rem;
  border: none;
  color: #77da55;
}

.about-img-box{
  width: 90%;
  height: 90%;
}
}



/**************************/
/* Telas até 944px (Tablets) */
/**************************/

@media (max-width: 59em) {
  html {
    /* 8px / 16px = 0.5 = 50% */
    font-size: 50%;
  }
 
  header{
    width: 100%;
    left: 0;
  }
  .logo-box{
   flex:1 0 auto;
    width: 280px;
  }
  .link-menu{
    font-size: 1rem;
  }

  .side-bar-container{
    height: 100%;
    margin-top: 8rem;
    gap: 3rem;
  }
  .know-more{
    padding: 1rem 2rem;
  }

/* Menu mobile*/

/* MOBILE NAVIGATION */
     
.btn-mobile-nav {
  display: block;
}


.main-nav {
/*background-color: rgba(255, 255, 255, 0.9);*/
  background: rgba(0, 0, 0, 0.144);
  backdrop-filter: blur(5px);
  position: absolute;
  top: -90%;
  right: 0;
  width: 100%;
  height: 100vh;
  transform: translateX(-100%);
  transform: translateY(-100%);

  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease-in;

  /* Hide navigation */
  /* Allows NO transitions at all */
  /* display: none; */

  /* 1) Hide it visually */
  opacity: 0;

  /* 2) Make it unaccessible to mouse and keyboard */
  pointer-events: none;

  /* 3) Hide it from screen readers */
  visibility: hidden;
}

.nav-open .main-nav {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateX(0);
}

.nav-open .icon-mobile-nav[name="close-outline"] {
  display: block;
}

.nav-open .icon-mobile-nav[name="menu-outline"] {
  display: none;
}

.main-nav-list {
  flex-direction: column;
  gap: 3.2rem;
  color:black;
}

.item-menu {
width: 50%;
}

.main-nav-link:link,
.main-nav-link:visited {
  font-size: 2rem;
  padding: 1rem 2rem;
  color:white;
  background-color: #197a89 ;
  border: none;
  border-radius: 2px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-nav-link:hover{
  
  color: #f1f1f1;
}
.item-menu:hover{
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

.logo-box{
  flex: 0 0 auto;
}

  /* Seção Hero*/

.hero{
  overflow: hidden;
}


.descricao {
  position: absolute;
    padding: 4px 8px 4px 8px;
    font-size: 10px;
    margin: 0 8px 8px 0;
}



.pilares-content{
  flex-direction: column;
  align-items: center;
}

.pilares-card-box{
  width: 50%;
  height: 30rem;
  margin: 15px;
  gap: 2.5rem;
  font-size: 12px;
}
 .pilares-card-title{
  margin-top: 10%;
 } 
/* Slide hero sectio*/
.manual-navigation{
  
  width: 50%;
  bottom: 40px;
  left: 250px;
  
  }
 .navigation-auto{
  width: 50%;
  bottom: 40px;
  left: 250px;
 
  
 }
 





  /*       SLIDE    Empreendimentos      */
 
  
  
  .slider-empreendimentos{
    /* margin-bottom: 34rem; */

    width: 60%;
    height: 140em;

    overflow-y: hidden;
  }
  
  .section-others{
    overflow-x: hidden;
  }
  
 
.others{
  width: 80%;
  height: 60%;
  grid-template-columns: auto;
  margin: 0 auto;
  padding: 0;
  grid-row-gap: 180px;

}

.others-img-box P{
  margin-bottom: 10px;
  text-align: justify;
}

  .others-img-box img{
    width: 100%;
    height: 90%;
    object-fit: unset;
    border-radius: 2px;
    box-shadow: 0 1.2rem 2.4rem;
    height: inherit;
    max-height: 170px;
    
  }

  .others-img-box .text-center{
    width: 100%;
    font-size: 10px;
  }


  .others-img-box  .conheca{
    width: 50%;
    margin: 5px auto;
  }
  
  .arrow{
    position: absolute;
    height: 55px;
    width: 55px;
  }

  .slide_btn_left{
  
    transform: translate(-20%, 100%);
  }
  .slide_btn_right{
    right: 0;
    transform: translate(20%, 100%);
  }


    
    .grid-2-columns,
    .grid-3-columns{
      grid-template-columns: 1fr;
      row-gap: 4.8rem;
      justify-items: center;
    }
    .line-top{
      grid-row-start: 3;
      grid-row-end: 4;
    }
  
  .news-box{
    width: 50%;
    margin: 0;
    padding: 3.2rem;
}
.news-box h4{
    font-size: 1.8rem;
    margin-top: 10%;
}
.news-text-box{
    line-height: 1.8;
    font-size: 1.6rem;
}


.cta span {
  font-size: 13px;
}

.container.container-others h2{
  font-size: 2.4rem;
  padding-bottom: 5px;
}
.fab.fa-whatsapp{
  display: none;
}
}

/**************************/
/* BELOW 704px (Smaller tablets) */
/**************************/

@media (max-width: 44em) {
  .fab.fa-whatsapp{
    display: none;
  }
  .logo-box{
    flex: 0 0 auto;
  }
  
  .book{
        width: 100%;
    }

    .background-image{
      height: 150px;
    }
    .urban-box{
        display: none;
    }
    .about-img-box{
        width: 100%;
        justify-items: center;
    }
    

    .testimonials{
        flex-direction: column;
        align-items: center;
        gap: 5rem;
    }
    .testimonials h3{
        text-align: center;
    }
    .testimonial{
        width: 70%;
    }    

      .container{
        font-size: 1.2rem;
        max-width: 500px;
      }
      .h2{
        font-size: 2rem;
      }

      
      header{
        top: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .header-container{
        display: flex;
        align-items: center;
        justify-content: center;
      }
      
      .logo{
        width: 75px;
        height: 30px;
      }
      
      .hero{
        height: 60vh;
      }
      .sidebar{
        display: none;
      }

      /*      Slider         */
      
   
      figure{
        width: 90%;
        height: 300px;
      }
      
      .others-img-box  .conheca{
        width: 60%;
      }
  
      .arrow-left{
        top:30%;
        left: 0;
        transform: translate(30%, -30%);
      }
      .arrow-right{
        top: 30%;
        right: 0;
        transform: translate(-30%, -30%);
      }

      .cta{
        top:0;
        padding: 2px;
      }

      .cta span, .cta svg{
        top:10px;
        left: 15px;
      }
      .manual-navigation{
        width: 100%;
        left: 5px;
        bottom: 40px;
        }
       .navigation-auto{
        width: 100%;
        left: 5px;
        bottom: 40px;
       }

      .navigation-auto {
        bottom: 150px;
      }
      .manual-navigation {
        bottom: 150px;
      } 

}

/*///////////////////////////////////*/

/**************************/
/* BELOW 544px (Phones) */
/**************************/

@media (max-width: 34em) {
  
  .cta-hero {
    left: 0%;
    width: 100%;
    justify-content: center;
    text-align: center;
}

  .grid {
    row-gap: 4.8rem;
  }
  .grid-2-cols,
  .grid-3-cols{
    grid-template-columns: 1fr;
  }

  header{
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .header-container{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .logo{
    width: 50%;
    height: 50%;
  }
  
  /*Menu mobile*/
  .nav-list{
    top: -90%;
    right: 0;
    transform: translate(100%);
  }
  .btn-mobile-nav{
  right: 2%;
  top: 30%;
  color: azure;
  stroke: azure;
  }

    .main-nav-list,.main-nav-link{
      width: 100%;
    }
  .main-nav-link:link,
  .main-nav-link:visited {
    font-size: 1.6rem;
    padding: 1rem 2rem;
  }
  /* HERO  e Slide Hero*/
  .manual-navigation{
    width: 100%;
    left: 5px;
    bottom: 90px;
    }
   .navigation-auto{
    width: 100%;
    left: 5px;
    bottom: 90px;
   }
   .navigation-auto div:not(:last-child){
   margin-right: 40px;
   }
   .descricao {
      padding: 5px 10px 5px 10px;
      font-size: 10px;
      bottom: -10px;
      right: -10px;
      visibility: hidden;
  }
  
   /*Pilares*/
  .pilares-card-box{
    width: 80%;
    height: 35rem;
    padding-top: 1.5rem;
    gap: 4rem;
  }


  /*seção urban*/
  .urban-title{
    font-size: 2.4rem;
  }
  .background-image{
    height: 25%;
  }

  .about-img-box{
    width: 90%;
    justify-items: center;
}

 /* Empresdimentos      Slider         */
 .container.container-others h2{
  text-align: center;
}    
 .container.container-others p{
  font-size: 1.6rem;
  text-align: center;
}

.slider-empreendimentos{
  height: 140rem;
  width: 100%;
  margin-top: 6rem;
  margin-bottom: 0;
}
   
 figure{
  width: 80%;
  height: 280px;
}


/*Ultima do blog*/
.news{
  margin-top: -2rem;
}
.news-container{
  margin-top: 6.4rem;
}
.news-box{
  width: 80%;
  height: 50rem;
  padding: 3.2em;
}

.news-box h4{
  margin-bottom: 3.2rem;
  text-align: center;
}

.news-text-box{
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 10%;
}



/****Testmonial*****/
.section-testimonials {
  text-align: center;
  padding: 0;
  padding-top: 1rem;
}

.testimonials-container {
   margin: 0 auto;
}

.testimonials {
 padding:0;
}

.testimonial-text {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  width: 100%;
}

footer .container{
  display: flex;
  flex-direction: column;
  align-items: center;
 }

  footer .container-mob{
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
  }

  footer .margin-bottom{
    margin-top: 2rem;
  }



  footer .copy{
    font-size: 1rem;
    
}
.h2{
  
  font-size: 2.4rem;

}
.h3{
  font-size: 2.4rem;
  margin: 3.2rem 0;
}
}

/*Celares médios ou pequenos*/
@media (max-width: 23.438em){
  .h2.pilares-sec-title{
    font-size: 2.4rem;
  }
  
  .container.container-others p{
    font-size: 1.4rem;
    overflow-x: hidden;
  }

  .slider-empreendimentos{
    height: 140rem;
  }

  .button-conheca {
    font-size: 12px;
    top:15px;
    width: 90%;
   }
}