
html, body {
  overflow-x: hidden;
}

/* ==================================================
   HOME
================================================== */

.animate-left,
.animate-right {
  opacity: 0;
}

.animate-left {
  transform: translateX(-80px);
}

.animate-right {
  transform: translateX(80px);
}

.animate-left.animate {
  animation: slideLeft 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-right.animate {
  animation: slideRight 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ==================================================
   PRODUTOS
================================================== */
/* Hover – movimento sutil no eixo Y */
#produtos .product-card .card {
  transition: transform 0.3s ease;
}

#produtos .product-card:hover .card {
  transform: translateY(-8px);
}

#produtos .product-card {
  opacity: 0;
  transform: translateY(40px);
}

#produtos .product-card.animate {
  animation: cardUp 0.8s ease-out forwards;
}

#produtos .product-card[data-delay="0"].animate { animation-delay: 0.0s; }
#produtos .product-card[data-delay="1"].animate { animation-delay: 0.15s; }
#produtos .product-card[data-delay="2"].animate { animation-delay: 0.30s; }
#produtos .product-card[data-delay="3"].animate { animation-delay: 0.45s; }
#produtos .product-card[data-delay="4"].animate { animation-delay: 0.60s; }
#produtos .product-card[data-delay="5"].animate { animation-delay: 0.75s; }
#produtos .product-card[data-delay="6"].animate { animation-delay: 0.90s; }
#produtos .product-card[data-delay="7"].animate { animation-delay: 1.05s; }
#produtos .product-card[data-delay="8"].animate { animation-delay: 1.20s; }

@keyframes cardUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==================================================
   SOBRE-NÓS
================================================== */

#sobre-nos .animate-from-left,
#sobre-nos .animate-from-right {
  opacity: 0;
}

.animate-from-left {
  transform: translateX(-70px);
}

.animate-from-right {
  transform: translateX(70px);
}

.animate-from-left.animate {
  animation: slideFromLeft 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-from-right.animate {
  animation: slideFromRight 1s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: 0.2s;
}

@keyframes slideFromLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideFromRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ==================================================
   CTA ORANGE
================================================== */

.cta-orange .animate-from-left,
.cta-orange .animate-from-right {
  opacity: 0;
}


/* ==================================================
   EMBALAGENS + CONTATO (FADE)
================================================== */

#embalagens .fade-in,
#contato .fade-in {
  opacity: 0;
}

#embalagens .fade-in.animate,
#contato .fade-in.animate {
  animation: fadeInSoft 1.2s ease-in-out forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInSoft {
  to { opacity: 1; }
}
