/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
      overflow-x: hidden; /* Desativa o scroll lateral */
      width: 100%; /* Garante que a largura seja sempre 100% */
    }

/* Corpo */
body {
    font-family: "dunbar-tall", sans-serif;
    font-weight: 500;
}

/* Header */
header {
  display: flex;
  justify-content: flex-end;  /* Alinha os itens à direita */
  align-items: center;
  padding: 20px;
  background-color: white;  /* Fundo branco */
  color: black;  /* Texto preto */
  position: relative;
}

.logo {
  margin-top: 4%;
  position: absolute;
  left: 20px;  /* Alinha a logo à esquerda */
}

header .logo img {
  height: 50px; /* Ajuste do tamanho da logo */
}

/* Menu */
header .menu ul {
  display: flex;
  list-style-type: none;
  justify-content: flex-end;  /* Alinha os itens do menu à direita */
  margin: 0;
  padding: 0;
}

header .menu li {
  margin-left: 60px;  /* Espaço entre os itens */
}

header .menu a {
    text-decoration: none;
    color: black;  /* Cor preta para os links */
    font-family: "dunbar-tall", sans-serif;
    font-weight: 500;
    font-style: normal;
    transition: color 0.3s ease;  /* Transição suave na cor ao passar o mouse */
}

/* Efeito de hover nos itens do menu */
/*header .menu a:hover {
  color: #007BFF; 
}*/

.menu{
    margin-right: 5%;
}

/* Seção do título */
h1 {
    color: #f29b3a;
    font-weight: 600;
    font-size: 2em;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  height: 20px;
  width: 25px;
}

.hamburger span {
  background-color: black; /* Cor do ícone hamburguer */
  height: 3px;
}

/* Sections */
section {
  padding: 50px 0;
}

/* Section 1 - Carrossel */
.carrossel img {
  width: 100%;
  object-fit: cover;
}

/* Section 1 */
#section1 {
  padding: 0;
}

/* Section 2 */
.section2 {
  display: flex;
  justify-content: space-between;
  position: relative;  /* Necessário para o posicionamento das imagens fixas */
  /*min-height: 800px;  */
}

.section2 .left, .section2 .right {
  width: 48%;
}

.section2 img {
  /*width: 100%;*/
}

/* Section 3 */
.section3 {
  display: flex;
  position: relative;  /* Necessário para o posicionamento das imagens fixas */
  min-height: 320px;  /* Altura mínima para a section 3 */
}

.section3 .left, .section3 .right {
  width: 50%;
}

.section3 img {
  width: 100%;
}

/* Section 4 */
.section4 {
    background-color: #21409a;
    display: flex;
    color: white;
    z-index: 10;
    position: relative;
    margin-top: 5%;
}

.section4 .left, .section4 .right {
  width: 50%;
}

.section4 img {
  width: 100%;
}

/* Section 5 */
.section5 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section5 .top img {
  width: 100%;
}

.section5 .bottom {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.section5 .left-bottom, .section5 .right-bottom {
  width: 48%;
  position: relative;
}

.section5 img {
  width: 100%;
}

/* Section 6 */
.section6 {
  display: flex;
  background-color: #FFA500;
  padding: 40px 0;
  flex-wrap: wrap;
  position: relative; /* Necessário para posicionar o título */
}

.section6 h1 {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) !important;
  font-size: 36px;
  color: white;
  font-weight: bold;
  text-align: center;
  margin: 0;
}

.section6 .box {
    width: 15%;
    margin-left: 4%;
    margin-top: 3%;
    margin-bottom: 20px;
}

.section6 img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Adicionando as imagens fixas nas laterais das sections 2 e 3 */
.fixed-left, .fixed-right {
  position: absolute;  /* Não é fixed, é absolute dentro das sections */
  top: 0;
  height: auto;
  object-fit: cover;
  z-index: 10;
}

.fixed-left {
  left: 0;
  top: 0;  /* Fica alinhada no topo da section 2 */
  height: 150%;
}

.fixed-right {
    right: 0;
    /*top: -0.4%;*/
    height: 150.5%;

}

.sec2-left{
    margin-left: 14%;
    margin-top: 7%;
}

.sec2-right{
    margin-right: 14%;
    margin-top: 7%;
}

.dura_azul{
    width: 100%;
    margin-top: 25%;
    padding-right: 5%;
}

.sec2-p{
    margin-top: 10%;
    margin-right: 15%;

}

.sec3-p{
    margin-right: 15%;
    margin-top: 5%;
}

.plano{
    width: 100%;
}

.sec2-right-h1{
    margin-top: 10%;
}

.sec3-left{
    margin-left: 14%;
}

.sec3-right{
    margin-right: 14%;
}

#section3{
    padding: 0px !important;
}

.livro{
    width: 70%;
    position: relative;
    margin-top: -20%;
    margin-left: 18%;
    z-index: 10;
}

#section4 h1{
    color: white;
}

.sec4-right{
    margin-right: 10%;
    margin-left: 10%;
}

.sec4-right p{
    margin-top: 5%;
}

.moldura_video_esquerda{
    width: 15% !important;
}

.moldura_video_direita{
    width: 15% !important;
}

.video_1{
    width: 40% !important;
}

#section5{
    margin-left: 5%;
    margin-right: 5%;
}

#section5 .top{
    position: relative;
    left: 13%;
}

/*#section5 h1{
    margin-left: 22%;
}*/

#section5 .bottom{
    margin-top: 5%;
}

#section5 .bottom img{
    width: 84%;
    margin-left: 13%;
}

.curiosidade_1 {
    display: block; /* ou inline, depende de como você quer que a imagem original se comporte */
}

.curiosidade_1_hover {
    display: none;
    pointer-events: none;
    position: absolute;
    pointer-events: none;
    top: 21%;
    width: 16% !important;
}

.curiosidade_2_hover {
    display: none;
    pointer-events: none;
    position: absolute;
    pointer-events: none;
    top: 21%;
    width: 16% !important;
    left: 22%;
}

.curiosidade_3_hover {
    display: none;
    pointer-events: none;
    position: absolute;
    pointer-events: none;
    top: 21%;
    width: 16% !important;
    left: 42%;
}

.curiosidade_4_hover {
    display: none;
    pointer-events: none;
    position: absolute;
    pointer-events: none;
    top: 21%;
    width: 16% !important;
    left: 61%;
}

.curiosidade_5_hover {
    display: none;
    pointer-events: none;
    position: absolute;
    pointer-events: none;
    top: 21%;
    width: 16% !important;
    left: 80%;
}

#section7{
    padding: 0px !important;
}


.carousel-control-prev:hover, .carousel-control-next:hover {
  /*background-color: rgba(0, 0, 0, 0.7);*/
}

.carousel-control-prev {
  left: 10px;
}

.carousel-control-next {
  right: 10px;
}

.carousel button.prev, .carousel button.next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    display: block; /* Assegura que as setas sejam visíveis */
}

.carousel-item img {
    width: 100%;           /* Faz a imagem ocupar toda a largura da tela */
    object-fit: cover;     /* Garante que a imagem ocupe o espaço sem distorcer, cortando o excesso se necessário */
    object-position: center; /* Centra a imagem para cortar partes indesejadas (se necessário) */
}


.construcao-tipologia{
  text-align: center;
}

.h1-tipologia{
  margin-left: 15%;
}

.h1-livro{
  margin-left: 26% !important;
}

footer {
  background-color: #e5e5e5;
  padding: 20px 0;
}

.footer-top {
    margin-top: 5%;
    margin-bottom: 5%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px; /* Espaço entre o logo e o link "Contate-nos" */
}

.footer-logo {
  max-width: 150px;
  margin-right: 10%;
}

.footer-top p {
  margin: 0;
  font-size: 16px;
}

footer hr {
  border: 0;
  border-top: 1px solid #000;
  width: 80%;
  margin: 20px auto;
}

.footer-menu {
  text-align: center;
  color: #666;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 20px;
}

.footer-menu li a {
  text-decoration: none;
  color: #666;
}

.footer-menu li a:hover {
  color: #333; /* Um pouco mais escuro quando passa o mouse */
}

.footer-top h1{
    font-size: 1.5em;
}

.footer-link {
    display: inline-block;  /* Garante que o link fique no mesmo bloco de linha que a imagem */
    text-decoration: none;  /* Remove qualquer estilo de link padrão */
}

.footer-icons {
    max-width: 20px;  /* Ajusta o tamanho das imagens dos ícones (você pode modificar isso) */
    transition: transform 0.3s ease;  /* Adiciona um efeito de zoom suave quando o ícone é clicado */
}

.footer-icons:hover {
    transform: scale(1.1); /* Leve zoom nos ícones ao passar o mouse */
}


.voltar{
    position: absolute;
    right: 0;
    margin-top: -4%;
    margin-right: 3%;
    width: 3%;
}

/* Estilos do Modal */
.modal {
    display: none; /* Inicialmente escondido */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 20px;
    overflow: auto;
}

/* Container principal do modal */
.modal-container {
    display: flex;
    max-width: 1200px;
    margin: auto;
    align-items: flex-start;
    justify-content: space-between;
}

/* Imagem Grande - Lado esquerdo */
.modal-image-container {
    width: 70%; /* Lado esquerdo ocupa 70% do modal */
    text-align: center;
    position: relative;
}

/* Imagem ampliada no modal */
.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 10px;
    cursor: zoom-in;
    transition: transform 0.3s ease-in-out;
}

/* Galeria de Miniaturas - Lado direito */
.gallery-thumbnails {
    width: 28%; /* Lado direito ocupa 28% do modal */
    display: flex;
    flex-direction: column;
    gap: 10px;
    overflow-y: auto;
    padding-left: 15px;
}

/* Miniaturas pequenas */
.thumbnail {
    width: 100%;
    max-width: 80px; /* Aqui, as miniaturas ficam bem menores */
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

/* Efeito de hover para as miniaturas */
.thumbnail:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Legenda da imagem */
.caption {
    /*color: white;*/
    font-size: 18px;
    margin-top: 15px;
    /*text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);*/
}

/* Fechar o modal */
.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.close:hover {
    color: #ff6347; /* Cor quando passa o mouse */
}

.bic_cristal_logo{
    position: relative;
    float: right;
    width: 12%;
    bottom: 13%;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader {
  border: 8px solid #f3f3f3; /* Cor de fundo da bolinha */
  border-top: 8px solid #3498db; /* Cor da bolinha */
  border-radius: 50%; /* Deixa a div redonda */
  width: 40px; /* Tamanho da bolinha */
  height: 40px; /* Tamanho da bolinha */
  animation: spin 1s linear infinite; /* Animação de rotação */
  position: absolute; /* Posição absoluta para centralizar */
  top: 50%; /* Posiciona a bolinha no meio verticalmente */
  left: 50%; /* Posiciona a bolinha no meio horizontalmente */
  margin-top: -20px; /* Ajuste para que o centro da bolinha fique no centro exato */
  margin-left: -20px; /* Ajuste para que o centro da bolinha fique no centro exato */
}

.view{
    width: 70% !important;
    float: left;
}

.download{
    margin-left: 30%;
    width: 27% !important;
    float: left;
}

.icons{
    position: absolute;
    right: 10%;
    /*margin-top: %;*/
}

.texto-footer{
    text-align: center;
    color: #4d4d4d;
}

.sec5-romeu{
    margin-left: 15% !important;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Efeito Zoom-in */
.zoom-in {
  opacity: 0;
  transform: scale(0.8); /* Começa com 80% do tamanho */
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.zoom-in.visible {
  opacity: 1;
  transform: scale(1); /* Vai para o tamanho original */
}

@keyframes fadeInAnimation {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Começa um pouco abaixo */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Vai para a posição normal */
  }
}

.video-background {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Isso garante que o vídeo preencha a tela sem distorção */
}

#videoContainer2{
  position: absolute;
  top: 12%;
  left: 15%;
  width: 40.2%;
  height: 87%;
}

#videoContainer3 iframe{
  position: absolute;
  left: 13%;
  width: 85%;
  height: 92%;
}


#videoContainer4 iframe {
  position: absolute;
  right: 0%;
  width: 87%;
  height: 95%;
}



  .titulo_video{
        font-size: 1.5em;
    }


@media (min-width: 769px) and (max-width: 1224px) {
  .titulo_video {
      font-size: 1em;
  }

    
}

@media (min-width: 769px) and (max-width: 1024px) {
    h1{
        font-size: 1.3em;
    }

    .titulo_video {
      font-size: 1em;
  }

    .sec2-left {
        margin-left: 14%;
        margin-top: 12%;
    }

    .voltar{
        position: absolute;
        right: 0;
        margin-top: -13%;
        margin-right: 3%;
        width: 3%;
    }

    .fixed-left {
        height: 156%;
    }

    .fixed-right {
        height: 156.5%;
    }
}

/* Responsividade */
@media (max-width: 800px) {
    html, body {
      overflow-x: hidden; /* Desativa o scroll lateral */
      width: 100%; /* Garante que a largura seja sempre 100% */
    }
     nav {
        display: none;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #333;
      }

      nav ul {
        flex-direction: column;
        width: 100%;
      }

      nav ul li {
        text-align: center;
        margin: 10px 0;
      }

      /* Mostrar o hamburger no mobile */
      .hamburger {
        display: flex;
      }

      /* Mostrar o menu quando o hambúrguer estiver ativo */
      nav.active {
        display: block;
        z-index: 10;
      }

      header .menu a {
        color: white;
      }

      header {
        flex-direction: column;
        align-items: flex-start;
      }

      header .menu ul {
        flex-direction: column;
        width: 100%;
        text-align: left;
      }

      header .menu li {
        margin: 10px 0;
      }

      header .logo img {
        height: 25px;
    }

      #section1 {
        width: 107%;
      }

      .section2 {
        flex-direction: column;
        padding: 0;
      }

      .section2 .left, .section2 .right {
        width: 93%;
      }

      .sec2-left {
        margin-left: 10%;
        margin-top: 15%;
    }

      .section3 {
        /*flex-direction: column;*/
      }

      .section3 .left, .section3 .right {
        width: 93%;
      }

      .section5 .bottom {
        flex-direction: column;
      }

      .section5 .left-bottom, .section5 .right-bottom {
        width: 93%;
      }

      .section6 {
        /*flex-direction: column;*/
        align-items: center;
        margin-top: 10%;
      }

      .section6 .box {
        width: 25%;
        margin-bottom: 20px;
      }

      .section6 h1 {
        font-size: 28px;
        top: 40px;
      }

      #section7 img {
        height: 375px;
      }

      .hamburger {
        display: flex;
      }

      /* Esconde o menu hamburger e exibe quando clicado */
      .menu {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        /*top: 80px;*/
        left: 0;
        background-color: #333;
        padding: 10px 20px;
      }

      .menu li {
        padding: 10px 0;
      }

      /* Menu Hamburger */
      .hamburger.active + .menu {
        display: flex;
      }

    .fixed-left, .fixed-right{
      display: none;
     }

    .logo {
        top: 55%;
        position: absolute;
        left: 75%;
    }

    .titulo_video {
      font-size: 1em;
    }

    /*h1{
        font-size: 1.2em;
    }*/

    .plano {
        width: 90%;
        margin-left: 9%;
    }

    .dura_azul {
        width: 90%;
        margin-top: 20%;
        padding-right: 15%;
        margin-left: 15%;
    }

    .sec2-right-h1 {
        margin-top: 15%;
        margin-left: 10%;
    }

    .bic_cristal_logo {
        position: relative;
        float: right;
        width: 15%;
        bottom: 200px;
        right: 2%;
    }

    .texto{
        display: none;
    }

    .texto_mobile{
        display: inline !important;
    }

    .sec2-right-p{
        margin-left: 10%;
    }

    .sec3-left {
        margin-left: 10%;
    }

    .sec3-p {
        margin-right: 0px;
        margin-top: 10%;
        width: 170px;
    }

    .sec3-right {
        margin-right: 5%;
        margin-left: 4%;
    }

    .livro {
        width: 160% !important;
        position: relative;
        margin-top: -60%;
        margin-left: 20%;
        z-index: 10;
    }

    .section4 {
        margin-top: 25%;
        flex-direction: column;
    }

    .section4 .right {
        width: 70% !important;
        margin-top: 10%;
    }

    .moldura_video_esquerda{
        display: none;
    }

    .moldura_video_direita{
        display: none;
    }

    #section5 {
        margin-left: 0%; 
        margin-right: 0%; 
        padding: 0;
    }

    .video_1 {
      width: 79% !important;
      margin-top: 2%;
      margin-left: 3%;
    }

    #section5 h1 {
        /*margin-left: 15%;*/
        margin-top: 10%;
    }

    #videoContainer2 {
        position: absolute;
        top: 27%;
        left: 0%;
        width: 82%;
        height: 76%;
    }

    #videoContainer3 iframe{
      height: 78%;
    }


    #videoContainer4 iframe {
      height: 80%;
    }


    #section5 .bottom {
        margin-top: 0% !important;
    }

    .box_1{
        margin-left: 10% !important;
        margin-top: 15% !important;
    }

    .box_2{
        margin-top: 15% !important;   
    }

    .box_3{
        margin-top: 15% !important;
    }

    .box_4{
        margin-left: 25% !important;
    }

    .curiosidade_1_hover {
        /*top: 25%;*/
        /*width: 26% !important;*/
        top: 22%;
        left: 15%;
        width: 70% !important;
        z-index: 1;
    }

    .curiosidade_2_hover {
        /*top: 25%;
        width: 26% !important;
        left: 39%;*/

        top: 22%;
        left: 15%;
        width: 70% !important;
        z-index: 1;
    }

    .curiosidade_3_hover {
        /*top: 25%;
        width: 26% !important;
        left: 67%;*/

        top: 22%;
        left: 15%;
        width: 70% !important;
        z-index: 1;
    }

    .curiosidade_4_hover {
        /*top: 59%;
        width: 26% !important;
        left: 25%;*/

        top: 22%;
        left: 15%;
        width: 70% !important;
        z-index: 1;
    }

    .curiosidade_5_hover {
        /*top: 59%;
        width: 26% !important;
        left: 54%;*/

        top: 22%;
        left: 15%;
        width: 70% !important;
        z-index: 1;
    }

    .texto-footer {
        display: none;
    }

    footer hr {
        display: none !important;
    }

    .footer-menu {
        display: none !important;
    }

    .voltar{
        display: none !important;
    }

    .footer-logo {
        max-width: 150px; 
        margin-right: 0%;
        margin-left: 0%;
        width: 25%;
    }

    .footer-top h1 {
        font-size: 0.7em;
        margin-left: 5%;
        margin-top: 3%;
    }

    .footer-top {
        gap: 15px;
    }

    .footer-icons {
        max-width: 20px;
        transition: transform 0.3s ease;
        width: 75%;
    }

    #section5 .top {
        position: relative;
        left: 10%;
    }

    .section6 h1 {
        left: 50% !important;
    }

    .youtube_icon{
      margin-right: 5%;
    }

    .bic_livro{
      margin-left: 26% !important;
    }

    #videoContainer{
      margin-left: 10%;
      margin-top: 10%;
    }
  
}


@media (min-width: 2151px) and (max-width: 2560px) {
  
    .fixed-right {
        height: 139.5%;
    }

    .fixed-left {
        height: 139%;
    }
}

@media (min-width: 2001px) and (max-width: 2150px) {
    .fixed-right {
        height: 141.5%;
    }

    .fixed-left {
        height: 141%;
    }

    
}

@media (min-width: 1851px) and (max-width: 2000px) {
    .fixed-right {
        height: 143.5%;
    }

    .fixed-left {
        height: 143%;
    }

    
}


@media (min-width: 1701px) and (max-width: 1850px) {
    .fixed-right {
        height: 145.5%;
    }

    .fixed-left {
        height: 145%;
    }

    
}

@media (min-width: 1501px) and (max-width: 1700px) {
    .fixed-right {
        height: 148.5%;
    }

    .fixed-left {
        height: 148%;
    }

    h1 {
        font-size: 1.5em;
    }

    
}

@media (min-width: 1226) and (max-width: 1259px) {
   .dura_azul {
      width: 100%;
      margin-top: 15%;
      padding-right: 5%;
  }

  h1 {
        font-size: 1.5em;
    }

  
}