@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
.inter-text {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}
a {
  text-decoration: none;
}
body,
html {
  margin: 0;
  padding: 0;
}
body {
  font-family: Inter, sans-serif;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: white;
}
.menu a {
  text-transform: uppercase;
  display: inline-block;
  color: white;
}
header {
  height: 1rem;
}
.menu {
  display: flex;
  gap: 2rem;
  justify-content: center;
}
.menu li {
  list-style: none;
}
.container-main {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0 5rem;
  box-sizing: border-box;
}
.apresentacao {
  grid-column: 1 / span 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
  padding-right: 3rem;
}
.apresentacao h1 {
  font-size: 2.5rem;
  margin: 0;
}

.apresentacao p {
  font-size: 1.2rem;
}

.myface {
  grid-column: 8 / span 5;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.girar-wrapper img {
  width: 300px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 1s ease-in-out;
  transform-style: preserve-3d;
}
.girar-wrapper img.girar {
  transform: rotateY(360deg);
}

.girar-wrapper {
  display: inline-block;
  animation: flutuar 4s ease-in-out infinite;
}
@keyframes flutuar {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* sobe */
  }
  100% {
    transform: translateY(0); /* volta */
  }
}
.apresentacao p {
  color: white;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

.texto-info p {
  line-height: 2;
}

.typewriter {
  overflow: hidden;
  border-right: 0.15em solid white;
  white-space: nowrap;
  animation: typing 2s steps(30, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink-caret {
  from,
  to {
    border-color: transparent;
  }
  50% {
    border-color: white;
  }
}

.titulo {
  width: 15rem;
}

.js-scroll {
  opacity: 0;
  transform: translate3d(-30px, 0, 0);
  transition: opacity 0.6s, transform 0.6s;
}

.js-scroll.ativo {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.projetos {
  position: relative;
  grid-column: 2 / span 10;
  border-radius: 20px;
  margin-top: 5rem;
  padding: 0;
  opacity: 1; /* visível desde o início */
  transform: translateY(0);
  transition: background-color 1s ease;
  background-color: transparent; /* começa transparente */
  z-index: 5000;
  width: 100%;
}

.projetos.js-scroll.ativo {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.titulo-exp {
  text-align: center;
  margin: 5rem;
}

.hemominas,
.pbh {
  flex: 1;
  width: 0; /* garante divisão igual */
  min-width: 0;
  height: 100%;
  margin: 0; /* remova margens laterais se necessário */
}

.hemominas p,
.pbh p {
  letter-spacing: 2px;
  line-height: 2; /* ou 1.6 – um pouco menor já suaviza */
}
.titulo-hemominas {
  text-align: center;
}
.titulo-pbh {
  text-align: center;
}
.gaia {
  margin: 5rem;
  text-align: center;
}

/* MODAL GAIA */
.btn-ver {
  background-color: transparent;
  border: 1px solid #888;
  color: #fff;
  padding: 6px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  margin-top: 8px;
  text-align: center;
}
.btn {
  text-align: center;
}

.btn-ver:hover {
  background-color: #1b1a69;
  color: white;
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}
.modal-content {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}
/*teste*/
.modal-content2{
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
}

.modal-content2 img  {
  width: 80vw;
  max-width: 900px;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 15px;
  transition: transform 0.3s ease;
}
.modal-content img {
  width: 250px;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.modal-content img:hover {
  transform: scale(1.05);
}

.close {
  color: #fff;
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 35px;
  cursor: pointer;
}
/* FIM MODAL GAIA */
/* GALERIA DE IMAGENS */ 
.image-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}




.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  cursor: pointer;
  z-index: 3;
}

.center-img {
  width: 60vw;
  max-width: 900px;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(255,255,255,0.3);
  transition: all 0.5s ease;
  z-index: 3;
}




.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  cursor: pointer;
  z-index: 4;
}

 .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.2);
  color: white;
  border: none;
  font-size: 35px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s;
  z-index: 4;
}
.next:hover {
  background-color: rgba(255,255,255,0.4);
}


.next { right: 2%; }


.prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255,255,255,0.2);
  color: white;
  border: none;
  font-size: 35px;
  padding: 12px 18px;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s;
  z-index: 4;
  left: 2%;
}

.prev:hover {
  background-color: rgba(255,255,255,0.4);
}

.carousel {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slide {
  display: none;
  width: 100%;
  max-height: 80vh;
  object-fit: contain; 
  border-radius: 10px;
  background-color: #000; 
  
}

.slide.active {
  display: block;
}



#space {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* fica atrás do resto do site */
  background: radial-gradient(ellipse at bottom, #0d1d31 0%, #000 100%);
}

#blackhole-section {
  position: relative;
  width: 100%; /* OK */
  margin: 0;
  padding: 0;
  top: -5rem;
}

#blackhole-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;

  background: 
    /* Fade no topo (azul → transparente pra baixo) */ linear-gradient(
      to bottom,
      rgba(9, 19, 33, 1) 0%,
      rgba(9, 19, 33, 0) 20%
    ),
    /* Fade na base (azul → transparente pra cima) */
      linear-gradient(to top, rgba(9, 19, 33, 1) 0%, rgba(9, 19, 33, 0) 20%);

  background-repeat: no-repeat;
  background-size: 100% 20%, 100% 20%; /* controla altura das faixas */
  background-position: top, bottom;
}

#blackhole {
  position: relative; /* relativo à seção */
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

#blackhole canvas {
  display: block;
  width: 100% !important;
  height: auto; /* mantém proporção */
  margin: 0;
  padding: 0;
}
#blackhole {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

#blackhole.show {
  opacity: 1;
}

.blackhole-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#blackhole-section {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
}

.experiencias {
  padding: 4rem 2rem;
  display: flex;
  gap: 2rem;
}
.cosmic-eye {
  position: fixed;
  top: 25px;
  right: 35px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 30%,
    #ffdd77,
    #ff8800 70%,
    #000 100%
  );
  box-shadow: 0 0 20px 5px rgba(255, 180, 70, 0.5);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.4s ease;
  z-index: 10;
}

.cosmic-eye:hover {
  box-shadow: 0 0 40px 15px rgba(255, 200, 120, 0.8);
  transform: scale(1.1);
}

.eye-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  background: radial-gradient(circle, #000, #331a00 80%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.6s ease;
}

.eye-lid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.8) 0%, transparent 75%);
  border-radius: 50%;
  animation: blink 8s infinite ease-in-out;
  pointer-events: none;
}

@keyframes blink {
  0%,
  4%,
  100% {
    transform: scaleY(1);
  }
  2% {
    transform: scaleY(0.1);
  }
}

.cosmic-eye::after {
  content: "Entrar no portal";
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: #ffd57a;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 11px;
  opacity: 0;
  transition: opacity 0.3s ease;
  white-space: nowrap;
  font-family: "Orbitron", sans-serif;
}

.cosmic-eye:hover::after {
  opacity: 1;
}

/* footer */

.footer {
  background-color: #0d1117; /* fundo escuro */
  background-image: url("./img/footer-bg.png");
  height: 10rem;
  color: #fff;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.contato {
  display: flex;
  align-items: center;
}

.footer .contato a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 8px;
  background-color: #fff;
  border-radius: 50%; 
  transition: background-color 0.3s ease, transform 0.3s ease;
  
}

.footer .contato a:hover {
  background-color: #ccc;
  transform: translateY(-3px);
}

.footer .contato img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  filter: invert(0); /* deixa o ícone escuro */
}

.footer .copyright {
  color: #777;
  font-size: 15px;
  padding-top: 20px;
}
