/*
Theme Name: Mudment
Theme URI: https://mudment.com/
Author: Mudment
Author URI: https://mudment.com/
Description: Tema personalizado para a Mudment com gestão completa de conteúdo, carrosséis, grids e blocos Gutenberg reutilizáveis.
Requires at least: 6.3
Tested up to: 6.4
Requires PHP: 8.0
Version: 1.0.0
Text Domain: mudment
*/

/* O tema utiliza os utilitários do Tailwind CSS carregados via CDN configurado em inc/assets.php. */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

.site-header__cta .mudment-button {
    font-size: 0.875rem;
    /* 14px */
    line-height: 1.25;
}

.scroll-reveal {
    opacity: 0;
    transform: translate3d(0, 48px, 0);
    transition: opacity 0.6s ease, transform 0.6s ease;
    will-change: opacity, transform;
}

.scroll-reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition-duration: 0.01ms;
    }
}

.mudment-hero__pagination .swiper-pagination-bullet,
.mudment-testimonials__pagination .swiper-pagination-bullet,
.mudment-cases__pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: #10635A;
    opacity: 1;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.mudment-hero__pagination .swiper-pagination-bullet-active {
    background-color: #DBE5E3;
}

.mudment-testimonials__pagination .swiper-pagination-bullet-active {
    background-color: #DBE5E3;
}

.mudment-cases__pagination .swiper-pagination-bullet-active {
    background-color: #ffffff;
}

.mudment-manifesto__media-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.mudment-manifesto__media-image {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.mudment-ceo__photo-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.mudment-ceo__photo-image {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

/* Infinite Scroll Animation */
@keyframes infinite-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-100%, 0, 0);
    }
}

.animate-infinite-scroll {
    animation: infinite-scroll 30s linear infinite;
    will-change: transform;
}

.animate-infinite-scroll:hover {
    animation-play-state: paused;
}