@import url('https://fonts.googleapis.com/css2?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');

:root{
    --preto: #000;
    --cinza: #2A3340;
    --cinzaTransparente: #2a33407e;
    --branco: #EBEFF2;
    --verdeEscuro: #38401E;
    --verdeMedio: #CCD96C;
    --verdeClaro: #E8F29B; 
}

* { /*toda a página*/
    margin: 0;
    padding: 0;
    font-family: "Poppins";
}
html, body {
    overflow-x: hidden;
  }

body{
    margin: 0;
    padding: 0;
    min-height: 100vh;/*o vh se adapta a altura da janela de navegação - 100vh cobre a tela toda*/
    font-family: "Poppins";
    color: var(--preto);

    overflow-y: scroll;
}

header {
    position: absolute; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
}
 

/*MENU SUPERIOR*/
nav{
    display: flex; /*alinha horizontal*/
    justify-content: flex-end; /*alinha no lado direito*/
    
}

nav ul{
    width: 100%;
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    /*background: var(--cinza);*/
    background: #0000000f;
    backdrop-filter: blur(15px);
}

nav li{
    height: 60px;
}
nav li:first-child{ /*o 1 item do li, o 1 item*/
   margin-right: auto;
}

nav a{
    height: 100%;
    padding: 0 30px;
    text-decoration: none;
    display: flex;
    align-items: center;
   /* color: var(--branco); */
    color: var(--preto);
}

.icon{
    fill: black;  
}

.logotipo{
    font-weight: bold; /*negrito*/
    font-size: 1.6rem;
}

.sidebar{
    position: fixed; /*sempre colado do lado direito*/
    top: 0;
    right: 0;
    height: 100vh;
    width: 230px;
    z-index: 999; 
    background-color: var(--cinzaTransparente);
    display: none;
    flex-direction: column; /*menu coluna*/
    align-items: flex-start;
    justify-content: flex-start; /*começa do lado esquerdo*/
    backdrop-filter: blur(15px); /*filtro de lente borrada, borra o fundo de tras do menu*/
}
.sidebar a{
    color: var(--branco);
}
.sidebar .icon{
   fill: var(--branco);
}
.sidebar a:hover{
    color: #dcdcdc;
}


.tituloCentral{
    width: 100%;
    text-align: center;
    color: black;
    font-size: 25px;
    margin-top: 5px; /*45*/
}

.imgInicial {
    position: relative;
    height: 60vh;
    overflow: hidden;
    display: block;
}


section div.background-section{
    width: 100%;
    height: 60vh;
    position: absolute;
    z-index: 0;
}

section div.background-section video{
    width: 100%;
    height: 60vh;
    object-fit: cover;
    object-position: center;
}

section div.box{
    width: 50%;
    height: 60vh;
    position: relative;
    z-index: 1;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    align-items: center;
    justify-content: center;
}

section div.box div.conteudo{
    width: 80%;
}

section div.box p{
    color: #fff;
    font-size: 24px;
    line-height: 32px;
}

@media screen and (max-width: 1024px){
    nav .icon{
        fill: var(--branco); 
    }

    section div.box{
        width: 100%;
        padding: 2%;
        background: rgba(0, 0, 0, 0.4);
        height: 50vh;
    }
    
    section div.box div.conteudo{
        width: 100%;
    }

    .imgInicial {
        height: 40vh;
    }
    section div.background-section{
        height: 40vh;
    }
    section div.background-section video{
        height: 40vh;
    }

}



/* IMOVEIS DESTAQUES*/
.imoveisDestaques {
    height: 100vh;
    min-height: 100vh;
    background-color: #EDDFD4;
    display: flex;
    justify-content: center;
}

#containerImoveisDest {
    width: 100%;
    display: grid;
    column-gap: 12px;
    align-content: center;

    max-width: 1450px;
    grid-template-columns: 5% 30% 65%;
}



.imoveisInfo {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;

    justify-self: end;
}

.textoInfo{
    display: grid;
    grid-template-columns: 50% 50%; /* esquerda - direita */
    align-items: center;
    gap: 10px;
}

.divIconeInfo{
    display: flex;
    align-items: center;
}

.imoveisCarrossel {
    width: 100%;
    overflow: hidden;
}

/* BARRA */
.statusBar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    padding-left: 20px;
}

/* BOTÕES */
.statusBtn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.statusBtn.ativoStt {
    opacity: 1;
}

.statusBtn .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cinza);
    transition: background 0.3s;
}

.statusBtn .label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

#btnLancamento.ativoStt .dot {
    background-color: #CD0000;
}
#btnLancamento.ativoStt .label {
    color: #CD0000;
}

#btnObra.ativoStt .dot {
    background-color: #FFB90F;
}
#btnObra.ativoStt .label {
    color: #FFB90F;
}

#btnPronto.ativoStt .dot {
    background-color: #698B22;
}
#btnPronto.ativoStt .label {
    color: #698B22;
}


.imoveisDestaques.lancamento {
    background-color: #EDDFD4;
  }
.imoveisDestaques.obra {
    background-color: #FFF5D6;
}
.imoveisDestaques.pronto {
background-color: #E9EDD2;
}


/*CARROSSEL*/
.carrosselBox {
    display: none;
}

.carrosselBox.ativo {
    display: block;
}

.swiper {
    display: flex;
    width: 100%;
    max-width: 100%; 
    height: auto;
    padding-bottom: 40px; 
    overflow: visible;     
    padding-top: 60px;
  }

  .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .swiper-slide a,  .swiper-slide img{
    width: 100%;
    max-width: 100%;
    display: block;
    border-radius: 7px;
  }

  .swiper-pagination {
    position: absolute;
    bottom: 0;
  }

  
/* Badge permanente */
.badgeClick {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 5px;
    pointer-events: none; 
    white-space: nowrap;
}


 /*BTN MAIS IMOVEIS*/
 .divMaisImoveis{
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;   
    grid-column: 1 / -1; /* ocupa todas as colunas */
    align-self: end;     /* vai para o final */
    margin-bottom: 20px;
    margin-top: 20px;
 }

button.btnMaisImoveis {
    font-size: 18px;
    color: white;
    background: var(--cinza);
    padding: 0.7em 1em;
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    font-weight: 550;
    display: block;
    margin: 0 auto;  
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
  }
  button.btnMaisImoveis:hover {
    background: var(--cinzaTransparente);
    transform: scale(1.1);
  }
  button.btnMaisImoveis a{
      text-decoration: none;
      display: flex;
      align-items: center;
      color: #fff;
  }
  button.btnMaisImoveis svg {
    display: block;
    transform-origin: center center;
    transition: transform 0.3s ease-in-out;
  }
  
  button.btnMaisImoveis:hover .svg-wrapper {
    transform: scale(1.20);
    transition: 0.5s linear;
  }




/*SOBRE*/

.sobre {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
  /*  margin-top: 35px;*/

    padding: 60px 0;         
    margin-top: 0;
}

.conteudoSobre {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
    height: auto;
}

.div_sobre {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;  
    height: 100%;            
  }

.div_sobre p {
    opacity: 0;
    transform: translateY(40px);
    font-size: 20px;
    margin-bottom: 20px;
}

.imgSobre {
    width: 50%;
}

.imgSobre img {
    width: 80%;
    border-radius: 12px;
}

.linkSobre{
    text-decoration: none;
    background: var(--cinza);
    color: white;
    border-radius: 5px;
    display: inline-block;
    /*width: 100%;*/
    font-size: 16px;
    padding: 0.6em 1.5em;
    text-align: center;

    width: fit-content;
    margin-top: auto;   /* mantém no final */
    align-self: flex-start;
}
.linkSobre:hover{
    background: var(--cinzaTransparente);
}




/*BLOG*/

        
section.blog-caprem{
    width: 100%;
    color: black;
    gap: 30px;
    text-align: center;
    align-items: center;
    max-width: 700px;    
    margin: 0 auto 150px; /* centraliza o grid na página */
    display: flex;
    flex-direction: column;
}

section.blog-caprem h2.blogue{
    grid-column: 1 / -1; /*faz o h2 ocupar as 2 colunas*/
    justify-self: center; 
    margin-top: 45px;
    font-size: 25px;
}

.blogue-conteudos{
    display: flex;
    flex-direction: column;
    align-items: center;   /* centraliza tudo dentro do bloco esquerdo */
    gap: 10px;

    width: 100%;
    max-width: 300px;
}

.blogue-conteudos a{
    text-decoration: none;
    /*background: #77b177;*/
    background: var(--cinza);
    color: white;
    border-radius: 5px;
    
    display: block;/*vira bloco */
    width: 100%;         
    text-align: center;  
    padding: 7px 0;   
}
.blogue-conteudos a:hover{
    background: var(--cinzaTransparente);
}

.blogue-novidades{
    display: flex;         
    /* inputs um embaixo do outro */
    align-items: center;
    gap: 7px;

    width: 100%;
    max-width: 310px;flex-direction: column;
}
.blogue-novidades input{
    border-radius: 5px;
    border: 1px solid #dcdcdc; 
    padding: 10px;  
    width: 100%;             
    max-width: 290px;         
}

.blogue-novidades p{
    width: 100%;
    text-align: left;
}

.blogue-novidades button{
    border: none;
    background: var(--cinza);
    color: white;
    border-radius: 5px;
    
    display: block;/*vira bloco */
    width: 100%;         
    text-align: center;  
    padding: 7px 0;   
    font-size: 16px;
}
.blogue-novidades button:hover{
    background: var(--cinzaTransparente);
}

        
.cardsBlog {
  /*height: 100vh;*/
  min-height: 100vh; 
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blogTitulo {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 70px;
  z-index: 10;
}

.blogLink {
  position: absolute;
  width: 260px;
  border-radius: 8px;
  overflow: hidden;

  height: 260px;
}

.blogImg {
  width: 100%;
  display: block;

  height: 100%;
  object-fit: cover;   
  object-position: center;
}

.infoBlog {
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,.5);
  color: #fff;
  padding: 10px;
}

.blog_1   { transform: translate(0%, -35%) scale(.7); }
.blog_2 { transform: translate(20%, -35%) scale(.5); z-index: 3; }
.blog_3 { transform: translate(10%, -35%) scale(.75); }
.blog_4   { transform: translate(10%, -35%) scale(.6); z-index: 1; }

.swiperBlog{
    display: none;
}


.blog-rodape {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: start;
  margin-top: -50px;
}

.lerConteudo-blog{
    transform: translateX(-50%);
    color: #000;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    position: static;
    background: #fff;
    padding: 5px;
}

/*-----------------*/



/*CONTATOS*/
section.contatos{
    color: #000;
    /*background: #b0f4b06e; */
    background:  #40404038;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;

    flex-direction: column;
    gap: 15px;
}

.carrosselCtt{
    width: 100%;
    max-width: 340px;
    overflow: hidden; /*esconde os que estao fora da vista*/
    background-color: transparent;
    padding: 0;
}

.grupoCtt{
    display: flex;
     /*Tamanho de 1 card: 80+20 = 100   |  Tamanho de todos os 10 cards juntos: 100*10=1000   | tamanho do kayframe: 100*5=500 */
    width: 680px;
    animation: rolar 25s linear infinite;
}

.cardCtt{
    flex-shrink: 0;/*impede que encolha*/
    width: 50px;
    height: 50px;
    margin-right: 20px;

    /*background-color: #4CAF50;*/
    background-color: var(--cinza);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5em;
    border-radius: 8px;
    transition: transform 0.3s ease;

}

.cardCtt a{
    display: flex;
    justify-content: center;
    align-items: center;
}

.carrosselCtt:hover .grupoCtt {
    animation-play-state: paused; /*pausa a animacao*/
}

.cardCtt:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: var(--cinzaTransparente);
}

@keyframes rolar {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-500px);
    }
}


/*ENDERECO*/
.endereco{
    display: flex;         
    flex-wrap: wrap;/* permite quebrar linha */
    align-items: flex-start;
    justify-content: center; 
    width: 100%;
    max-width: 1000px;       
    margin: 0 auto;
    color: var(--cinza);
    font-weight: 700;
}
.unidade{
    /*width: 100px;
    min-width: 280px;  */     
    max-width: 500px;
    min-width: 290px;
    text-align: left;
    padding: 20px;
}
.unidade a{
    text-decoration: none;
    color: var(--cinza);
    font-weight: 700;
    font-size: 15px;
    text-align: left;         
    display: block;
    width: max-content;
}
.unidade-titulo {
    display: flex;
    align-items: center; 
    margin-bottom: 5px; 
}

.unidade-titulo span {
    font-weight: 800; 
}
.unidade p {
    text-align: left; 
    margin: 3px 0;
    padding-left: 5px; 
}




/*FOOTER*/
footer {
    background: var(--cinza); 
    color: #fff;
    padding: 15px 0;
    display: flex; 
    flex-direction: column; 
    align-items: center;
    width: 100%;
}

footer ul {
    width: 90%; 
    max-width: 1200px;
    list-style: none;
    padding: 0;
    margin: 5px 0; /*espacamento entre as 2 listas*/
    display: flex;
    justify-content: center; 
    align-items: center;
    flex-wrap: wrap; /*permite quebras de linha */
}

.footer-link {
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); 
}


footer li {
    height: auto; 
    margin: 5px 10px; 
    display: flex;
    align-items: center;
}

footer a {
    height: 100%;
    padding: 8px 15px; 
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: bold; 
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
}

footer a:hover {
    color: #dcdcdc;
    background: var(--cinzaTransparente);
}

.iconFooter {
    fill: currentColor; 
    margin-right: 8px;
}

.copyright li {
    height: auto;
    font-size: 13px;
    color: #fff; 
    justify-content: center;
    margin: 5px 15px;
}



/*@ MEDIAS*/


@media (max-width: 900px) {
    .hideMobile{
        display: none; 
    }
    .imgG, .imgM{
        display: none;
    }
    .imgP{
        display: block;
    }

    section.cards{
        /*flex-direction: column;*/
        max-width: 350px;  /* limite máximo */
        grid-template-columns: 1fr; /* 1 coluna */
    }
    section.cards article.card{
        margin-left: 0;
        margin-bottom: 32px;
    }

    section.cards article.card:last-child{
        margin-bottom: 0;
    }

    section.blog-caprem{
        grid-template-columns: 1fr;/*1 coluna */
        display: flex;         
        flex-direction: column;/* inputs um embaixo do outro */
        align-items: center;
    }

    .blog-rodape {
        grid-template-columns: 1fr;   /* uma coluna */
        gap: 20px;
    }

    section.contatos{
        height: 355px;
    }

    .divBtnSobre {
        display: flex;
        align-items: center;        
       /* margin-top: 60px;*/
    }



    .conteudoSobre {
      display: flex;              /* troca grid/flex */
      flex-direction: column;
      justify-content: space-between;
      text-align: center;
      height: auto;
    }
  
    .div_sobre {
      width: 100%;
      height: 100%;
      align-items: center;
      margin-top: 15px;
    }
    
    .div_sobre p {
        font-size: 18px;
    }
  
    .imgSobre {
      width: 100%;
      display: flex;
      justify-content: center;
    }
  
    .imgSobre img {
      width: 100%;
    }
  
    .conteudoSobre h2 {
        height: 80%;
    }

    .linkSobre{
        font-size: 15px;
        bottom: 12px;
    }



    /*Imoveis destaques*/
    .imoveisDestaques{
        max-height: 100svh;
    }
    #containerImoveisDest {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
        max-width: 100%;
        row-gap: 16px;
    }

    /* barra de status */
    .statusBar {
        grid-column: 1;
        grid-row: 1;
        flex-direction: row;
        justify-content: center;
        gap: 12px;
        padding-left: 0;
    }

    .statusBtn .label {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 13px;
    }

    .imoveisCarrossel {
        grid-column: 1;
        grid-row: 2;
        width: 100%;
    }

    .imoveisInfo {
        grid-column: 1;
        grid-row: 3;
        padding: 0;
        text-align: center;
        align-items: center;
        justify-self: center;
    }

    .textoInfo {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        gap: 10px;
    }

    /* botão */
    .divMaisImoveis {
        grid-column: 1;
        grid-row: 4;
        margin-top: 12px;
        align-self: center;
    }

    .swiper {
        padding-top: 0;
        padding-bottom: 35px;
    }

    .sobre{
        justify-content: flex-start;
    }
    

    /*BLOG*/
    .cardsBlog{
        display: none;
    }
    .swiperBlog{
        display: flex;
    }

    .blogTitulo{
        position: absolute;
        font-size: 30px;
        bottom: 300px;
        top: auto;
        width: 100%;
    }

    .infoBlog{
        border-radius: 7px;
    }

    .linkCarrosselBlog{
        position: relative;
        width: 260px;
        border-radius: 8px;
        height: 260px;
    }

    .pagBlog{
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .blog-rodape{
        margin-top: -25px;
    }

      
  }
  



/*TABLETS*/
@media (min-width: 901px) and (max-width: 1270px) { 
    .hideMobile{
        display: none; 
    }
    .imgG, .imgP{
        display: none;
    }
    .imgM{
        display: block;
    }


    section.cards{
        max-width: 720px;  /* limite máximo */
        grid-template-columns: repeat(2, 1fr);
    }
    section.cards article.card{
        margin-left: 0;
        margin-bottom: 32px;
    }

    .tituloDestaque {
        top: 47%;
        left: 50%;
        font-size: 3rem;
    }

    .divBtnSobre {
        display: flex;
        align-items: center;      
    }

}


/*NOTEBOOKS*/
@media (min-width: 1200px) and (max-width: 1500px){
    .hideDesktop{
        display: none; 
    }
    .imgP, .imgM{
        display: none;
    }
    .imgG{
        display: block;
    }
    section.cards{
        max-width: 1080px;  /* limite máximo */
        grid-template-columns: repeat(3, 1fr);
    }
    .linkSobre{
        font-size: 20px;
    }
    .imoveisDestaques{
        /*height: calc(100vh + 1000px);*/
        height: 100vh;
    }


    #containerImoveisDest {
        max-width: 1200px;
        grid-template-columns: 10% 40% 50%;
    }
}

