/* ==========================================================================
   LUMIÈRE ATELIER FOTOGRÁFICO — ANIMACIONES Y MICROINTERACCIONES
   ========================================================================== */

/* ==============================
   1. APARICIÓN PROGRESIVA (SCROLL REVEAL)
================================== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Escalonamiento suave para listas de tarjetas */
.services__grid .reveal:nth-child(2),
.portfolio__grid .reveal:nth-child(2),
.pricing__cards .reveal:nth-child(2),
.testimonials__grid .reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.services__grid .reveal:nth-child(3),
.portfolio__grid .reveal:nth-child(3),
.pricing__cards .reveal:nth-child(3),
.testimonials__grid .reveal:nth-child(3) {
    transition-delay: 0.16s;
}

.services__grid .reveal:nth-child(4),
.portfolio__grid .reveal:nth-child(4) {
    transition-delay: 0.22s;
}

.services__grid .reveal:nth-child(5),
.portfolio__grid .reveal:nth-child(5) {
    transition-delay: 0.28s;
}

.services__grid .reveal:nth-child(6) {
    transition-delay: 0.34s;
}

/* ==============================
   2. PULSO SUTIL EN ELEMENTOS DESTACADOS
================================== */
@keyframes badgeFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.hero__badge {
    animation: badgeFloat 5s ease-in-out infinite;
}

/* ==============================
   3. RESPETO A PREFERENCIAS DE ACCESIBILIDAD
================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
