/* ═══════════════════════════════════════════════
   ProfiSaison — Animations CSS
   Reveal on scroll, transitions
   ═══════════════════════════════════════════════ */

/* ── Reveal on Scroll ─────────────────────────── */

.ps-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: calc(var(--i, 0) * 0.1s);
}

.ps-reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ── Fade In ──────────────────────────────────── */

@keyframes ps-fade-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.ps-fade-in {
  animation: ps-fade-in 0.6s ease-out forwards;
}

/* ── Pulse (for loading states) ───────────────── */

@keyframes ps-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

.ps-pulse {
  animation: ps-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* ── Scale Hover ──────────────────────────────── */

.ps-hover-lift {
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.ps-hover-lift:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 60, 49, 0.08);
}
