/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
/* Sessão com background fixo */
.about.fixed-bg {
  position: relative;
  background-image: url('../img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  padding: 150px 0; /* altura maior */
  overflow: hidden;
  z-index: 0;
}

/* Overlay de transparência */
.about.fixed-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 0;
}

/* Conteúdo e imagem acima do overlay */
.about.fixed-bg .content,
.about.fixed-bg .about-img {
  position: relative;
  z-index: 1;
}

/* Títulos e parágrafo */
.about .content h4 {
  font-size: 25px;
  font-weight: 700;
  line-height: 30px;
  color: white;
  font-family: 'Montserrat', sans-serif;
  padding: 0 0;
}

.about .content p {
  font-size: 16px;
  line-height: 24px;
}

/* Imagem à direita */
.about .about-img {
  text-align: right;
}

.about .about-img img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Botão da seta central na base */
.about.fixed-bg .scroll-button {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  font-weight: 300;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  z-index: 2;
  transition: 0.3s;
}

.about.fixed-bg .scroll-button:hover {
  opacity: 0.8;
}

.about.fixed-bg .scroll-button .arrow-icon {
  width: 30px;
  height: 30px;
  margin-bottom: 5px;
  stroke-width: 1.5;
  animation: arrow-bounce 1s infinite;
}

/* Animação da seta */
@keyframes arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ----------- MOBILE ----------- */
@media (max-width: 768px) {
  .about.fixed-bg {
    padding: 100px 15px; /* menos altura e padding lateral */
  }

  .about.fixed-bg .content {
    text-align: center;
  }

  .about .content h4 {
    font-size: 20px;
    line-height: 28px;
  }

  .about .content p {
    font-size: 14px;
    line-height: 22px;
  }

  .about.fixed-bg .about-img {
    text-align: center;
    margin-top: 30px;
  }

  .about.fixed-bg .about-img img {
    max-width: 80%;
    height: auto;
  }

  .about.fixed-bg .scroll-button {
    bottom: 20px;
    font-size: 14px;
  }

  .about.fixed-bg .scroll-button .arrow-icon {
    width: 24px;
    height: 24px;
  }
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  position: relative;
  width: 90vw;
  height: 90vh;
  background: #0b0b0b;
  border-radius: 16px;
  overflow: hidden;
}

/* Fechar */
.close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.1);
  color: white;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
}

/* Viewer Cube */
.viewer-cube {
  position: absolute;
  top: 24px;
  left: 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.viewer-cube button {
  background: rgba(255,255,255,0.12);
  color: white;
  border: none;
  padding: 6px 10px;
  cursor: pointer;
  border-radius: 6px;
  font-size: 12px;
}

.viewcube {
  position: absolute;
  top: 36px;
  left: 36px;
  width: 80px;
  height: 80px;
  perspective: 600px;
  z-index: 20;

  /* 🔑 escala correta */
  transform: scale(0.5);
  transform-origin: top left;
}

.cube {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-25deg) rotateY(45deg);
}

.face {
  position: absolute;
  width: 80px;
  height: 80px;
  background: #1e1e1e;
  border: 1px solid #555;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  cursor: pointer;
}



.face:hover {
  background: #6b5cff;
}

/* Faces */
.front  { transform: rotateY(0deg)   translateZ(40px); }
.back   { transform: rotateY(180deg) translateZ(40px); }
.right  { transform: rotateY(90deg)  translateZ(40px); }
.left   { transform: rotateY(-90deg) translateZ(40px); }
.top    { transform: rotateX(90deg)  translateZ(40px); }
.bottom { transform: rotateX(-90deg) translateZ(40px); }

.ar-button {
  position: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.35); /* acompanha fundo */
  color: #ffffff;
  border: 1.5px solid #ffffff;
  border-radius: 8px;
  font-weight: 400;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(107,92,255,0.35);
  z-index: 50;
}

.ar-button:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 18px;
  height: 18px;

  border: 0px solid #ffffff;
  border-radius: 4px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;

  color: #ffffff;
}
