/* Movimentos do site: aparecer ao rolar, cards que reagem ao mouse e botões de WhatsApp pulsando.
   Para desligar tudo, basta remover os links para motion.css e motion.js das páginas. */

/* 1. Aparecer suave ao rolar (classes colocadas pelo motion.js) */
.motion .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--rv-delay, 0ms);
}
.motion .reveal.is-in { opacity: 1; transform: none; }

/* 2. Cards que reagem ao mouse (só em telas com mouse, para não "grudar" no toque) */
.product-image img { transition: transform .45s ease; }
.review-card, .pd-benefit, .customer-grid > * { transition: transform .25s ease, box-shadow .25s ease; }

@media (hover: hover) {
  .product-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .12); }
  .product-card:hover .product-image img { transform: scale(1.06); }
  .review-card:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 0, 0, .10); }
  .pd-benefit:hover { transform: translateY(-4px); }
  .pd-rel:hover { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 0, 0, .10); }
  .product-cta:hover, .pd-btn-green:hover { transform: translateY(-2px); }
}

/* 3. Botões de WhatsApp pulsando */
@keyframes wa-ring {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
}
@keyframes buy-glow {
  0%, 60%, 100% { box-shadow: 0 0 0 0 rgba(34, 176, 75, 0); }
  20% { box-shadow: 0 0 0 7px rgba(34, 176, 75, .28); }
  40% { box-shadow: 0 0 0 12px rgba(34, 176, 75, 0); }
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
  animation: wa-ring 2.4s ease-out infinite;
}
#pd-buy, #pd-sticky-buy { animation: buy-glow 3.2s ease-in-out infinite; }

/* Quem pediu menos movimento no celular/computador não vê nada disso */
@media (prefers-reduced-motion: reduce) {
  .motion .reveal { opacity: 1; transform: none; }
  .whatsapp-float::after, #pd-buy, #pd-sticky-buy { animation: none; }
  .product-card:hover .product-image img { transform: none; }
}
