@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

@font-face {
  font-family: "bold";
  src: url('fonts/bold-regular.woff2') format('woff2'),
       url('fonts/bold-regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "brook";
  src: url('fonts/brook.woff2') format('woff2'),
       url('fonts/brook.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body{
  user-select: none;
  background: #050505;
}

html{
  background: #050505;
}

#home{
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.parallax-slider .swiper-slide {
  position: relative;
  overflow: hidden;
}

.parallax-slider .img-container {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-position: center;
  background-size: cover;
}

.slider-controls{
  position: absolute;
  right: 5%;
  bottom: 10%;
  height: auto;
  width: auto;
  display: flex;
  flex-direction: row;
}

.prev-ctrl,
.next-ctrl{
  height: auto;
  width: auto;
  text-align: center;
  padding: 10px;
  background: transparent;
  outline: none;
  position: relative;
  left: auto;
  right: auto;
  cursor: pointer;
}

.slider-controls{
  background: rgb(0,0,0,.4);
  z-index: 10;
  margin-left: 10px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: 8px;
}

.parallax-slider{
  height: 100vh;
  width: 100%;
}

.parallax-slider .img-container.one {
  background: url(../images/header-image-one.webp);
  background-position: center;
  background-size: cover;
}

.parallax-slider .img-container.two {
  background: url(../images/header-image-two.webp);
  background-position: center;
  background-size: cover;
}

.parallax-slider .img-container.three {
  background: url(../images/header-image-three.webp);
  background-position: center;
  background-size: cover;
}

.parallax-slider .img-container.four {
  background: url(../images/header-image-four.webp);
  background-position: center;
  background-size: cover;
}

.navigation{
  position: absolute;
  left: 0;
  top: 0;
  z-index:10;
  color: rgb(245, 245, 245);
  font-family: 'brook', sans-serif;
  
  /* Substitua os paddings antigos por esta única linha: */
  padding: 100px; 
  
  font-size: 18px;
  width: 100%;
}

.logo{
  display: inline-block;
  z-index: 10;
  color: rgb(245, 245, 245);
  font-family: brook;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  border-radius: 4px;
}

.about-link a {
  font-size: 26px;
}

.navigation-links{
  float: right;
}

a{
  color: inherit;
  text-decoration: none;
  outline: none;
}

a:hover{
  color: inherit;
  text-decoration: none;
  outline: none;
}

li{
  list-style: none;
  padding-left: 40px;
}

.links{
  opacity: .9;
  transition: all .4s ease;
}

.links:hover{
  opacity: 1;
}

.cursor{
  height: 50px;
  width: 50px;
  background: transparent;
  border-radius: 50%;
  pointer-events: none;
  border: 1px solid rgb(245, 245, 245);
  position: fixed;
  z-index: 10;
  top: -25px;
  left: -25px;
  opacity: 1;
  overflow: hidden;
  font-family: brook;
  text-align: center;
  color: black;
  font-size: 16px;
}

.cursor-two{
  height: 8px;
  width: 8px;
  background: rgb(245, 245, 245);
  border-radius: 50%;
  pointer-events: none;
  position: fixed;
  z-index: 10;
  opacity: 1;
  top: -4px;
  left: -4px;
  transition: all .05s ease;
}

ul{
  display: flex;
  flex-direction: row;
}

.swiper-pagination-container{
  position: relative;
  width: 100px;
  height: 70px;
  z-index: 10;
  padding: 10px;
}

.swiper-pagination{
  width: 100px;
  height: 2px;
  background: rgb(245, 245, 245,.2);
  opacity: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.slider-control-image{
  height: 50px;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{
  background: rgb(245, 245, 245);
}

.about-link{
  padding-left: 0px;
}

.slide-text{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(245, 245, 245);
  font-size: 90px;
  text-align: center;
  font-family: bold;
  font-weight: 900;
}

#home .social-media-links {
  position: absolute;
  right: 8%;
  bottom: 12%;
  color: rgb(245, 245, 245);
  z-index: 9;
}

.project .social-media-links{
  position: absolute;
  left: 2%;
  bottom: 5%;
  color: rgb(245, 245, 245);
  z-index: 0;
}

#about .social-media-links {
  position: absolute;
  right: 5%;
  bottom: 5%;
  color: rgb(245, 245, 245);
  z-index: 9;
}

#home .social-media-links ul,
#about .social-media-links ul,
.project .social-media-links ul{
  display: flex;
  flex-direction: row;
  font-size: 18px;
}

#home .social-media-links ul li,
#about .social-media-links ul li,
.project .social-media-links ul li{
  font-family: brook;
  font-size: 18px;
}

#about{
  position: relative;
  width: 100vw;
  min-height: 100vh;
  height: 100vh;
  z-index: 9;
  display: none;
  transform: scale(.9);
  overflow: hidden;
  background: #000;
}

#about .row {
  margin-right: 0;
  margin-left: 0;
}

#about-color{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000e1a;
  opacity: .5;
}

#breaker{
  background: #000000;
  position: fixed;
  height: 150vh;
  display: none;
  width: 100%;
  z-index: 11;
  transform: translateY(-100%);
  animation: breaker 2.5s;
}

@keyframes breaker{
  0%{
    transform: translateY(-100%);
  }
  100%{
    transform: translateY(100%);
  }
}

.about-img{
  position: relative;
  width: 100%;
  min-height: 100vh;
  height: 100%;
  background: url(../images/tacs1.jpg) center center / cover no-repeat;
}

.navigation-close-line{
  height: 22px;
  width: 2px;
  border-radius: 10px;
  background: rgb(245, 245, 245);
  position: absolute;
  transform: rotate(-45deg);
}

.navigation-close{
  padding: 20px;
  padding-top: 0px;
  cursor: pointer;
}

.navigation-close-line:nth-child(2){
  transform: rotate(45deg);
}

.about-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  /* 1. Travamos a altura exatamente no tamanho da tela */
  height: 100vh; 
  width: 100%;
  
  padding: 100px;
  padding-bottom: 60px;
  
  /* 2. Zeramos a margem que estava vazando para os lados */
  margin: 0; 
  
  position: relative;
  z-index: 5;
  color: rgb(209, 209, 209);
  font-family: poppins;
  
  /* 3. Ativamos a rolagem apenas aqui dentro se o texto for muito grande */
  overflow-y: auto;
  
  /* 4. Escondemos a barra visualmente (Firefox e Edge antigo) */
  -ms-overflow-style: none;  
  scrollbar-width: none;  
}

/* 5. Escondemos a barra visualmente no Chrome, Safari e Edge novo */
.about-text::-webkit-scrollbar {
  display: none; 
}

.about-text-container {
  max-width: 80%;
  margin-right: auto;
  margin-left: 0;
  padding-right: 40px;
  overflow: visible;
}

.about-text-header{
  font-size: 28px;
  padding-bottom: 30px;
}

.about-text-button{
  padding-top: 20px;
  text-align: left;
  margin: 10px;
}

.about-text-paragraph{
  padding-bottom: 10px;
  font-size: 16px;
  opacity: .9;
  font-weight: 400;
  max-width: 650px;
  line-height: 1.6;
}

.contact-button{
  padding: 10px 20px;
  background: rgb(245, 245, 245);
  outline: none;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  opacity: .8;
  color: #041b4e;
  transition: all .4s ease;
}

.contact-button:hover{
  opacity: 1;
  transform: scale(1.05);
}

.project{
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #050505;
  position: relative;
}

.slideshow{
  width: 95%;
  margin: auto;
  overflow: hidden;
  height: 80vh;
}

.slides,
.forest-slides,
.wildlife-slides,
.city-slides{
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all .5s ease;
  position: absolute;
}

.controls{
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: auto;
  height: auto;
  cursor: pointer;
}

.hover{
  cursor: pointer;
}

.imgs{
  cursor: pointer;
  height: 26px;
  width: 26px;
  transition: all .4s ease;
}

.controls button:hover img{
  transform: scale(1.4);
}

.slides img,
.forest-slides img,
.wildlife-slides img,
.city-slides img{
  width: auto;
  max-height: 70vh;
  position: absolute;
  margin: auto;
  pointer-events: none;
  border-radius: 6px;
}

.navigation-project{
  position: absolute;
  z-index: 2;
}

.controls button{
  padding: 10px 10px;
  padding-left: 50px;
  background: transparent;
  color: rgb(245, 245, 245);
  transition: all .4s ease;
  outline: none;
  border: none;
  margin: 5px;
}

.project-link{
  padding: 300px;
  padding-left: 350px;
  padding-right: 350px;
}

.marine-project,
.forest-project,
.wildlife-project,
.city-project{
  display: none;
  transform: scale(.9);
  overflow: hidden;
}

.project-name{
  font-size: 80px;
  font-family: bold;
  color: rgb(245, 245, 245);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgb(0,0,0,.4);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  pointer-events: none;
  font-weight: 900;
  z-index: 5;
}

.view-project{
  font-size: 18px;
  font-weight: 200;
  font-family: brook;
  margin-top: -10px;
  opacity: .9;
  padding: 0;
}

.pace {
  pointer-events: none;
  user-select: none;
  z-index: 2000;
  position: fixed;
  margin: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  border: 0px;
  height: 1px;
  overflow: hidden;
  background: #1b1b1b;
}

.pace .pace-progress {
  box-sizing: border-box;
  transform: translate3d(0, 0, 0);
  max-width: 400px;
  position: fixed;
  z-index: 2000;
  display: block;
  position: absolute;
  top: 0;
  right: 100%;
  height: 100%;
  width: 100%;
  background: grey;
}

.pace.pace-inactive {
  display: none;
}

#preloader{
  width: 100%;
  height: 100vh;
  background: #050505;
  overflow: hidden;
  z-index: 1000;
  position: fixed;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}

.p {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: bold;
  font-size: 30px;
  color: rgb(245, 245, 245);
}

#contact{
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #050505;
  position: relative;
  z-index: 5;
  color: rgb(245, 245, 245);
  font-family: brook;
  font-weight: 100;
  display: none;
  transform: scale(.9);
}

.contact-social-media-links{
  padding-top: 30px;
  font-family: brook;
  z-index: 5;
}

.contact-social-media-links ul li:nth-child(1) {
  padding-left: 0px;
}

.contact-social-media-links ul li:nth-child(3) {
  padding-right: 30px;
}

.contact-header{
  height: auto;
  padding: 40px;
  padding-top: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  width: 100%;
}

.form{
  min-height: 70vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.input-line{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

input{
  background: transparent;
  border-radius: 0px;
  border: none;
  border-bottom: 1px solid rgb(255,255,255,.3);
  outline: none;
  margin: 10px;
  padding: 10px 20px;
  margin-bottom: 20px;
  font-size: 18px;
  width: 80%;
  color: rgb(245, 245, 245);
  transition: all .2s ease;
}

.input-line-column{
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.input-line-column input{
  width: 84%;
}

.input-same-line{
  width: 41%;
}

::placeholder{
  color: rgb(245, 245, 245,.8);
}

form{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: brook;
  justify-content: center;
  height: auto;
}

#submit{
  background: transparent;
  outline: none;
  border: 1px solid rgb(255,255,255,.3);
  color: rgb(245, 245, 245);
  padding: 10px 30px;
  font-size: 18px;
  margin: 20px;
  font-family: brook;
  cursor: pointer;
  transition: all .4s ease;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

#submit:after{
  content: "";
  background: rgb(245, 245, 245);
  color: #000000;
  left: 0;
  top: 100%;
  z-index: -1;
  width: 100%;
  height: 100%;
  position: absolute;
  transition: all .4s cubic-bezier(0.19, 1, 0.22, 1);
}

#submit:hover{
  color: black;
}

#submit:hover::after{
  top: 0;
}

.textarea{
  width: 84%;
  height: 150px;
  outline: none;
  background: transparent;
  border-radius: 0px;
  border: none;
  border-bottom: 1px solid rgb(255,255,255,.3);
  padding: 10px 20px;
  margin: 10px;
  margin-bottom: 20px;
  font-size: 18px;
  color: rgb(245, 245, 245);
  font-family: brook;
  transition: all .2s ease;
}

form .textarea:focus,
form .textarea:valid{
  border-bottom: 1px solid rgb(255,255,255,1);
}

input:focus,
input:valid{
  border-bottom: 1px solid rgb(255,255,255,1);
}

#projects .swiper-container{
  width: 100%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  max-height: 70vh;
}

#projects .swiper-wrapper{
  height: 70vh;
}

.align-center{
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
}

#projects .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  max-width: 60%;
  position: relative;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

#projects .swiper-slide img{
  width: auto;
  max-height: 70vh;
  position: absolute;
  margin: auto;
  pointer-events: none;
  border-radius: 6px;
}

.gg-mouse {
  box-sizing: border-box;
  position: relative;
  display: block;
  transform: scale(var(--ggs,1));
  width: 16px;
  height: 24px;
  border: 2px solid rgb(245, 245, 245);
  border-radius: 10px;
}

.gg-mouse::after {
  content: "";
  display: block;
  box-sizing: border-box;
  position: absolute;
  border-radius: 3px;
  width: 2px;
  height: 6px;
  background: rgb(245, 245, 245);
  top: 3px;
  animation: mouse 2s linear infinite;
  left: 5px;
}

#projects .scroll-icon{
  bottom: 7%;
}

.scroll-icon{
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 2;
}

@keyframes mouse {
  0%{
    transform: translateY(0%);
  }
  50%{
    transform: translateY(50%);
  }
  100%{
    transform: translateY(0%);
  }
}

@-webkit-keyframes mouse{
  0%{
    transform: translateY(0%);
  }
  50%{
    transform: translateY(50%);
  }
  100%{
    transform: translateY(0%);
  }
}

/*
FOR MOBILES
*/
@media all and (max-width: 576px) {
  .navigation{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 35px;
    width: 100%;
  }

  .logo{
    font-size: 22px;
    padding: 0;
    margin: 0;
  }

  .navigation-links{
    float: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .navigation-links ul {
    padding: 0;
    margin: 0;
  }

  .about-link {
    padding: 0;
    margin: 0;
  }

  .about-link a {
    font-size: 24px;
    display: block;
  }

  .cursor,
  .cursor-two{
    display: none;
  }

  .project-link{
    padding: 40px;
    padding-left: 40px;
    padding-right: 40px;
  }

  .slider-controls{
    position: absolute;
    right: 15%;
    bottom: 10%;
    height: auto;
    width: auto;
    display: flex;
    flex-direction: row;
  }

  .slide-text{
    font-size: 70px;
  }

  #home .social-media-links{
    display: flex;
    justify-content: center;
    width: 100%;
    bottom: 5%;
    left: 0;
    z-index: 99;
  }

  #home .social-media-links ul {
    padding: 0;
    margin: 0;
    justify-content: center;
  }

  .about-img{
    display: none;
  }

 #about{
  background: url(../images/tacs1.jpg) center center / cover no-repeat;
  background-attachment: scroll;
  min-height: 100vh;
  height: auto;
  overflow: visible;
}

  .about-text{
    padding: 88px 20px 84px;
    margin: 0;
    min-height: auto;
    height: auto;
    justify-content: flex-start;
  }

  .about-text-container{
    max-width: 100%;
    padding-right: 0;
  }

  .about-text-header{
    font-size: 20px;
    padding-bottom: 14px;
  }

  .about-text-paragraph{
    padding-bottom: 10px;
    font-size: 14px;
    line-height: 1.6;
    max-width: 100%;
  }

  .navigation-close-line{
    height: 16px;
    width: 2px;
  }

  #about .social-media-links ul li{
    font-family: brook;
    font-size: 16px;
  }

  .slides img,
  .forest-slides img,
  .wildlife-slides img,
  .city-slides img{
    width: auto;
    max-width: 95%;
    position: absolute;
    margin: auto;
    border-radius: 8px;
  }

  .controls button{
    padding: 10px 10px;
    margin: 5px;
  }

  .controls button:hover img{
    transform: scale(1);
  }

  .view-project{
    display: block;
  }

  .input-line{
    flex-direction: column;
  }

  .input-same-line{
    width: 83%;
  }

  .pace{
    width: 200px;
  }

  .textarea{
    height: 80px;
  }

  .form{
    height: auto;
  }

  .contact-header{
    padding: 10px;
    padding-top: 80px;
    font-size: 24px;
  }

  #projects .swiper-slide img{
    width: 100%;
    max-height: 70vh;
    position: absolute;
    margin: auto;
    pointer-events: none;
    border-radius: 6px;
  }

  .gg-mouse{
    display: none;
  }



  /* =========================================
     CORREÇÃO DA BARRA DO NAVEGADOR (MOBILE)
     ========================================= */
     
  #home, .parallax-slider {
    height: 100dvh !important; 
  }

  /* 1. Redes Sociais (Subiu para 80px) */
  #home .social-media-links {
    position: fixed !important;
    bottom: 110px !important; 
  }

  /* 2. Som (Subiu para 75px) */
  .sound-toggle {
    position: fixed !important;
    bottom: 75px !important; 
    right: 50px !important;
  }

  /* 3. Botão "Ver Projetos" (Subiu para 140px) */
  #recButton, .btn-central {
    position: fixed !important;
    top: auto !important; 
    bottom: 170px !important; 
    left: 50% !important; 
    transform: translateX(-50%) !important; 
    width: max-content !important; 
    white-space: nowrap !important; 
    z-index: 9999 !important; 
  }


/* Diminuindo os botões centrais / Ver Projetos no mobile */
  #recButton, 
  .btn-central {
    padding: 11px 23px !important; /* Diminui o "gordinho" do botão (antes era ~14px 32px) */
    font-size: 13px !important;    /* Diminui o texto dentro dele */
  }

  .view-project {
    font-size: 15px !important; /* Se o seu botão for apenas o texto limpo */
  }

}



/*
FOR EXTRA SMALL DEVICES
*/
@media all and (max-width: 375px) and (min-width: 0px){

  .project-link{
    padding: 20px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-text{
    padding: 84px 16px 80px;
    margin: 0;
    min-height: auto;
    height: auto;
    justify-content: flex-start;
  }

  .about-text-header{
    font-size: 18px;
    padding-bottom: 12px;
  }

  .about-text-paragraph{
    padding-bottom: 10px;
    font-size: 13px;
    line-height: 1.6;
    max-width: 100%;
  }

  .contact-button{
    padding: 8px 16px;
    background: #b61071;
    outline: none;
    font-size: 12px;
    border: none;
    border-radius: 5px;
    color: rgb(245, 245, 245);
  }

  #about .social-media-links ul li,
  .project .social-media-links ul li{
    font-size: 14px;
  }

  .slides img,
  .forest-slides img,
  .wildlife-slides img,
  .city-slides img{
    width: 95%;
    position: absolute;
    margin: auto;
    border-radius: 8px;
  }

  .contact-info-content{
    min-height: 50vh;
  }

  .contact-info{
    min-height: auto;
  }

  .contact-header{
    padding: 10px;
    padding-top: 80px;
    font-size: 18px;
  }

  input{
    font-size: 15px;
  }

  .textarea{
    font-size: 15px;
    height: 50px;
    padding-bottom: 10px;
  }

  #button{
    margin: 0px;
  }

}

/*
FOR TABLETS & TELAS GRANDES EM PÉ (Portrait)
*/
/* O gatilho duplo: Ativa se for tamanho de tablet normal OU se for tela grande segurada em pé */
@media all and (max-width: 991px) and (min-width: 576px), all and (orientation: portrait) and (min-width: 576px) {
  
  .cursor,
  .cursor-two{
    display: none;
  }

  /* 1. Reduz a barra de navegação para não invadir o texto */
  .navigation {
    padding: 50px 40px !important;
  }

  /* 2. Anula o Bootstrap: Força as colunas a usarem 100% da largura na vertical */
  #about .col-lg-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .about-img{
    display: none;
  }

  #about{
    background: url(../images/about-pic.webp);
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    height: auto;
    overflow: visible;
  }

  .about-text{
    min-height: auto;
    height: auto;
    margin: 0;
    /* 3. Empurra o texto para baixo para não chocar com a logo (era 80px, agora 140px) */
    padding: 140px 36px 70px;
    justify-content: flex-start;
  }

  .about-text-container{
    max-width: 100%;
    padding-right: 0;
  }

  .about-text-header{
    font-size: 24px;
    padding-bottom: 18px;
  }

  .about-text-paragraph{
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
  }

  .slides img,
  .forest-slides img,
  .wildlife-slides img,
  .city-slides img{
    width: auto;
    max-width: 95%;
    position: absolute;
    margin: auto;
    border-radius: 8px;
  }

  .view-project{
    display: block;
    font-size: 20px;
  }

  .pace{
    width: 300px;
  }

  .project-link{
    padding: 100px;
    padding-left: 100px;
    padding-right: 100px;
  }

  .gg-mouse{
    display: none;
  }

  #projects .swiper-slide img{
    width: 100%;
    max-height: 70vh;
    position: absolute;
    margin: auto;
    pointer-events: none;
    border-radius: 6px;
  }
/* =========================================
     TRAZENDO A CORREÇÃO DA BARRA PARA TABLETS
     Garante que a interface não suma no iPad
     ========================================= */
     
  #home, .parallax-slider {
    height: 100dvh !important; 
  }

  /* Redes Sociais */
  #home .social-media-links {
    position: fixed !important;
    bottom: 110px !important; 
  }

  /* Botão de Som visível e seguro */
  .sound-toggle {
    position: fixed !important;
    bottom: 75px !important; 
    right: 50px !important;
  }

  /* Botão Ver Projetos cravado na tela */
  #recButton, .btn-central {
    position: fixed !important;
    top: auto !important; 
    bottom: 170px !important; 
    left: 50% !important; 
    transform: translateX(-50%) !important; 
    width: max-content !important; 
    white-space: nowrap !important; 
    z-index: 9999 !important; 
  }

}

.hero-video {
  position: absolute;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  top: 0;
  left: 0;
}


/* ===== CINEMA MODE (HOME) ===== */
body.cinema-mode #home .navigation,
body.cinema-mode #home .slide-text,
body.cinema-mode #home .scroll-icon,
body.cinema-mode #home .social-media-links{
  opacity: 0 !important;
  pointer-events: none !important;
}

body.cinema-mode .cursor,
body.cinema-mode .cursor-two{
  opacity: 0 !important;
}

.contact-links{
  display: flex;
  align-items: center;
  gap: 22px;
}

/* DESKTOP */
.contact-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  color: #fff;
  text-decoration: none;
  opacity: .85;
  transition: opacity .28s ease, transform .28s ease;
}

.contact-icon svg{
  width: 100%;
  height: 100%;
}

.contact-icon svg *{
  stroke: currentColor;
  stroke-width: 1.25;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.contact-icon:hover{
  opacity: 1;
  transform: translateY(-2px);
}

/* MOBILE */
@media (max-width:768px){
  .contact-links{
    gap: 28px;
  }

  .contact-icon{
    width: 44px;
    height: 44px;
    opacity: .95;
  }

  .contact-icon:hover{
    transform: none;
  }

  /* Força a interface a ficar visível no mobile, ignorando o modo cinema */
  body.cinema-mode #home .navigation,
  body.cinema-mode #home .slide-text,
  body.cinema-mode #home .scroll-icon,
  body.cinema-mode #home .social-media-links {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}


.contact-info{
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 60px 40px 60px 0;
  gap: 28px;
}

.contact-info-block{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-info-label{
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: .5;
}

.contact-info-link{
  position: relative;
  display: inline-block;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  transition: opacity .3s ease, transform .3s ease;
}

/* Ajuste específico para que o balão não fique colado no texto longo */
.contact-info-link .info-tooltip {
  bottom: 130%; 
}

.contact-info-link:hover{
  opacity: .7;
  transform: translateX(4px);
}

@media (max-width: 991px){
  .contact-info{
    padding: 20px 0 40px 0;
    gap: 22px;
  }

}

.about-social{
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
}

.apple-social{
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 520px;
}

.apple-social-item{
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  min-height: 78px;
  height: auto;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.03);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .28s ease, border-color .28s ease, background .28s ease, opacity .28s ease;
  overflow: visible;
}

.apple-social-item:hover{
  transform: translateX(6px);
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.06);
  opacity: 1;
}

.apple-social-icon{
  width: 46px;
  height: 46px;
  min-width: 46px;
  min-height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  flex-shrink: 0;
}

.apple-social-icon svg{
  width: 22px;
  height: 22px;
}

.apple-social-icon svg *{
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.apple-social-text{
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  overflow: visible;
}

.apple-social-label{
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  opacity: .55;
  line-height: 1.2;
}

.apple-social-handle{
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  line-height: 1.4;
  opacity: .95;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 991px){
  .apple-social{
    max-width: 100%;
    gap: 14px;
  }

  .apple-social-item{
    min-height: 74px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .apple-social-icon{
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }

  .apple-social-handle{
    font-size: 15px;
  }

  .apple-social-item:hover{
    transform: none;
  }
}

@media (max-width: 768px){
  .apple-social{
    max-width: 100%;
    gap: 12px;
  }

  .apple-social-item{
    min-height: 72px;
    padding: 13px 14px;
    border-radius: 15px;
    gap: 14px;
  }

  .apple-social-icon{
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 12px;
  }

  .apple-social-icon svg{
    width: 20px;
    height: 20px;
  }

  .apple-social-label{
    font-size: 11px;
    letter-spacing: 1.4px;
  }

  .apple-social-handle{
    font-size: 14px;
    line-height: 1.35;
  }

  .apple-social-item:hover{
    transform: none;
  }
}

@media (max-width: 480px){
  .apple-social-item{
    padding: 12px 13px;
    min-height: 68px;
  }

  .apple-social-icon{
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
  }

  .apple-social-handle{
    font-size: 13px;
  }
}

.cursor{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
}

.rec-dot{
  width: 8px;
  height: 8px;
  background: #ff2b2b;
  border-radius: 50%;
  display: inline-block;
  animation: recPulse 1s infinite;
}

@keyframes recPulse{
  0%{opacity:1;}
  50%{opacity:0.4;}
  100%{opacity:1;}
}

.sound-toggle{
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: .7;
  transition: opacity .3s ease, transform .3s ease;
}

.sound-toggle:hover{
  opacity: 1;
  transform: scale(1.1);
}

.sound-toggle svg{
  width: 22px;
  height: 22px;
  stroke: white;
  fill: none;
  stroke-width: 1.5;
}

.sound-toggle{
  position: absolute;
  right: 40px;
  bottom: 40px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 30;
  pointer-events: auto;
}

.sound-toggle svg{
  width: 22px;
  height: 22px;
  fill: none;
  stroke: #fff;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#preloader{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

#preloader .p{
  color: white;
  font-size: 2rem;
  letter-spacing: 6px;
  font-weight: 300;
}

#preloader{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: black;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 80px;
  z-index: 9999;
}

.rec-loader{
  font-size: 28px;
  letter-spacing: 6px;
  color: white;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* BOTÃO REC */
#recButton{
  position: fixed;
  left: 50%;
  bottom: 18vh;
  transform: translateX(-50%) scale(.7);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border: 2px solid white;
  border-radius: 40px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 4px;
  color: white;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  z-index: 10000;
  white-space: nowrap;
  transition: transform .3s ease, background .3s ease;
}

#recButton:hover{
  transform: translateX(-50%) scale(1.05);
  background: rgba(0,0,0,.75);
}

#recButton .dot{
  width: 10px;
  height: 10px;
  background: #ff2b2b;
  border-radius: 50%;
  animation: recBlink 1s infinite;
}

@keyframes recBlink{
  0%{opacity:1}
  50%{opacity:.3}
  100%{opacity:1}
}

/* ===== GRID MASONRY EXCLUSIVO PARA A PÁGINA DE STILLS ===== */
.project-stills--only-images .stills-grid {
  display: block !important;
  -webkit-column-count: 3;
  -moz-column-count: 3;
  column-count: 3;
  -webkit-column-gap: 16px;
  -moz-column-gap: 16px;
  column-gap: 16px;
}

.project-stills--only-images .tile {
  display: block;
  width: 100%;
  margin-bottom: 16px;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  -moz-page-break-inside: avoid;
  break-inside: avoid-column;
  break-inside: avoid;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden;
}

.project-stills--only-images .tile img {
  width: 100%;
  height: auto !important;
  position: static !important;
  object-fit: unset !important;
  display: block;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 992px) {
  .project-stills--only-images .stills-grid {
    column-count: 2;
  }
}

@media (max-width: 768px) {
  .project-stills--only-images .stills-grid {
    column-count: 1;
    column-gap: 0;
  }
}

.btn-central {
  position: absolute;
  top: 82%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 14px 32px;
  border-radius: 40px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
  z-index: 20;
}

.btn-central:hover {
  background: #fff;
  color: #000;
  transform: translate(-50%, -50%) scale(1.05);
}

.btn-central {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
  animation-delay: 1s;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.cursor,
.cursor-two {
  display: none !important;
}body, * {
  cursor: default !important;
}

a, button, .hover {
  cursor: pointer !important;
}

/* =========================================
   TOOLTIPS DOS ÍCONES (WHATSAPP, EMAIL, INSTA)
   ========================================= */

.contact-icon {
  position: relative; 
}

.info-tooltip {
  position: absolute;
  bottom: 120%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: #1a1a1a;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-family: 'Poppins', sans-serif;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid #333;
}

/* Setinha do balão apontando para baixo */
.info-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -6px;
  border-width: 6px;
  border-style: solid;
  border-color: #1a1a1a transparent transparent transparent;
}

/* Efeito Hover: mostra o balão quando passar o mouse em QUALQUER ícone */
.contact-icon:hover .info-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Faz o balão aparecer nos botões da seção Sobre também */
.apple-social-item:hover .info-tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Garante que o balão fique bem posicionado sobre o botão longo */
.apple-social-item .info-tooltip {
  bottom: 110%; 
}

/* =======================================================
   PROTEÇÃO PARA NOTEBOOKS (Telas largas, mas baixinhas)
   Ex: 1366x768
   ======================================================= */

@media all and (max-height: 850px) and (min-width: 992px) {
  
  .about-text {
    /* O SEGREDO: Tira o centralizado forçado que cortava o topo do texto */
    justify-content: flex-start !important; 
    padding-top: 130px; /* Dá um respiro pro menu superior */
    padding-bottom: 80px;
  }

  .about-text-header {
    font-size: 22px; /* Reduz um pouquinho o título para caber melhor */
    padding-bottom: 20px;
  }

  .about-text-paragraph {
    font-size: 14px; /* Otimiza a leitura na tela curta */
    margin-bottom: 8px;
    line-height: 1.5;
  }
  
  /* Ajusta o espaçamento dos botões sociais para não ficarem gigantes */
  .about-social {
    margin-top: 10px;
  }
  
  .apple-social {
    margin-top: 10px;
    gap: 10px;
  }
  
  .apple-social-item {
    min-height: 60px;
    padding: 10px 14px;
    border-radius: 12px;
  }
  
  .apple-social-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
  }
  
  .apple-social-icon svg {
    width: 18px;
    height: 18px;
  }

  .apple-social-handle {
    font-size: 14px;
  }
}

/* ==========================================================
   FORÇAR INTERFACE VISÍVEL APENAS EM TELAS TOUCH (DEDO)
   Ignora a resolução e foca no tipo de controle do aparelho
   ========================================================== */

/* Se o aparelho NÃO tem hover (mouse) e o ponteiro é "grosso" (dedo) */
@media (hover: none) and (pointer: coarse) {
  
  /* Ignora o modo cinema e crava a opacidade em 100% */
  body.cinema-mode #home .navigation,
  body.cinema-mode #home .slide-text,
  body.cinema-mode #home .scroll-icon,
  body.cinema-mode #home .social-media-links {
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
}