/* ============================================
   Parallax Effect — substitui Stellar.js
   background-attachment: fixed = parallax nativo
   ============================================ */

.parallax {
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;

  /* fallback: mobile nao suporta fixed direito */
}

/* Força hardware acceleration no Chrome/Safari */
.parallax, .parallax > * {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Mobile: fixed nao funciona bem, volta pra scroll normal */
@supports (-webkit-overflow-scrolling: touch) {
  .parallax {
    background-attachment: scroll;
  }
}

/* Queries especificas pra mobile */
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
  }
}