/* Aquamarine Elegant Animations */
:root {
    --aqa-duration: 760ms;
    --aqa-duration-fast: 360ms;
    --aqa-delay: 0ms;
    --aqa-distance: 18px;
    --aqa-ease: cubic-bezier(.22, 1, .36, 1);
    --aqa-mx: 0px;
    --aqa-my: 0px;
    --aqa-parallax-y: 0px;
}

html.aqa-intensity-soft {
    --aqa-duration: 560ms;
    --aqa-distance: 12px;
}

html.aqa-intensity-premium {
    --aqa-duration: 920ms;
    --aqa-distance: 26px;
}

html.aqa-js body:not(.aqa-anim-ready) [data-aqa-reveal] {
    opacity: 1;
    transform: none;
}

body.aqa-anim-ready [data-aqa-reveal] {
    opacity: 0;
    will-change: opacity, transform, filter;
    transition:
        opacity var(--aqa-duration) var(--aqa-ease),
        transform var(--aqa-duration) var(--aqa-ease),
        filter var(--aqa-duration) var(--aqa-ease);
    transition-delay: var(--aqa-delay);
}

body.aqa-anim-ready [data-aqa-reveal="fade-up"] {
    transform: translate3d(0, var(--aqa-distance), 0);
}

body.aqa-anim-ready [data-aqa-reveal="fade-down"] {
    transform: translate3d(0, calc(var(--aqa-distance) * -1), 0);
}

body.aqa-anim-ready [data-aqa-reveal="fade-left"] {
    transform: translate3d(var(--aqa-distance), 0, 0);
}

body.aqa-anim-ready [data-aqa-reveal="fade-right"] {
    transform: translate3d(calc(var(--aqa-distance) * -1), 0, 0);
}

body.aqa-anim-ready [data-aqa-reveal="scale-soft"] {
    transform: translate3d(0, 12px, 0) scale(.982);
    filter: blur(1.5px);
}

body.aqa-anim-ready [data-aqa-reveal="clip-up"] {
    transform: translate3d(0, 16px, 0);
    clip-path: inset(0 0 14% 0 round 0);
}

body.aqa-anim-ready [data-aqa-reveal].is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: blur(0);
    clip-path: inset(0 0 0 0 round 0);
}

/* Segurança: os banners principais não recebem parallax nem deslocação vertical. */
html.aqa-static-page-heroes body.aqa-anim-ready .hero__slide--active .hero__image,
html.aqa-static-page-heroes body.aqa-anim-ready .archive-hero__img,
html.aqa-static-page-heroes body.aqa-anim-ready .about__hero .hero__image,
html.aqa-static-page-heroes body.aqa-anim-ready .catalog__banner-img {
    transform: none !important;
}

html.aqa-parallax body.aqa-anim-ready .contacts__image img,
html.aqa-parallax body.aqa-anim-ready .tech__image img,
html.aqa-parallax body.aqa-anim-ready .product__main-img,
html.aqa-parallax body.aqa-anim-ready .product__main-img-only {
    transform: translate3d(0, var(--aqa-parallax-y), 0) scale(1.025);
    transition: transform 180ms linear;
    will-change: transform;
}

html.aqa-hero-entrance body.home.aqa-anim-ready .hero__title,
html.aqa-hero-entrance body.home.aqa-anim-ready .hero__btn {
    animation: aqaHeroIn 860ms var(--aqa-ease) both;
}

html.aqa-hero-entrance body.home.aqa-anim-ready .hero__btn {
    animation-delay: 130ms;
}

html.aqa-hero-entrance body.home.aqa-anim-ready .hero__water-vector {
    animation: aqaWaterGlow 5s ease-in-out infinite;
}

@keyframes aqaHeroIn {
    from {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
        filter: blur(2px);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
        filter: blur(0);
    }
}

@keyframes aqaWaterGlow {
    0%, 100% {
        opacity: .82;
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate3d(0, -3px, 0) scale(1.01);
    }
}

html.aqa-magnetic [data-aqa-magnetic] {
    --aqa-mx: 0px;
    --aqa-my: 0px;
    transform: translate3d(var(--aqa-mx), var(--aqa-my), 0);
    transition:
        transform 240ms var(--aqa-ease),
        box-shadow 240ms var(--aqa-ease),
        border-color 240ms var(--aqa-ease),
        background-color 240ms var(--aqa-ease),
        color 240ms var(--aqa-ease);
    will-change: transform;
}

html.aqa-magnetic [data-aqa-magnetic]:hover {
    box-shadow: 0 14px 36px rgba(16, 24, 32, .12);
}

html.aqa-product-hover .product-card,
html.aqa-product-hover .category-card,
html.aqa-product-hover .value-card,
html.aqa-product-hover .highlights__item,
html.aqa-product-hover .prod-accordion-item,
html.aqa-product-hover .contact-form__card {
    transition:
        transform 340ms var(--aqa-ease),
        box-shadow 340ms var(--aqa-ease),
        border-color 340ms var(--aqa-ease),
        background-color 340ms var(--aqa-ease);
    will-change: transform;
}

html.aqa-product-hover .product-card:hover,
html.aqa-product-hover .category-card:hover,
html.aqa-product-hover .value-card:hover,
html.aqa-product-hover .highlights__item:hover,
html.aqa-product-hover .prod-accordion-item:hover,
html.aqa-product-hover .contact-form__card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 16px 38px rgba(16, 24, 32, .095);
}

html.aqa-product-hover .product-card__image-wrap,
html.aqa-product-hover .category-card__image,
html.aqa-product-hover .catalog__banner-image,
html.aqa-product-hover .product__main-image {
    overflow: hidden;
}

html.aqa-product-hover .product-card__img,
html.aqa-product-hover .category-card__image img,
html.aqa-product-hover .product__main-img,
html.aqa-product-hover .product__main-img-only {
    transition: transform 620ms var(--aqa-ease), filter 620ms var(--aqa-ease);
    will-change: transform;
}

html.aqa-product-hover .product-card:hover .product-card__img,
html.aqa-product-hover .category-card:hover .category-card__image img {
    transform: scale(1.04);
}

html.aqa-product-hover .product-card:hover .product-card__details,
html.aqa-product-hover .category-card:hover .category-card__title,
html.aqa-product-hover .catalog__link-all:hover,
html.aqa-product-hover .categories__btn:hover,
html.aqa-product-hover .hero__btn:hover,
html.aqa-product-hover .catalog__banner-btn:hover,
html.aqa-product-hover .tech__btn:hover,
html.aqa-product-hover .product__contact-link:hover,
html.aqa-product-hover .download-btn:hover,
html.aqa-product-hover .btn-submit:hover {
    letter-spacing: .018em;
}

body.aqa-anim-ready .prod-accordion-content {
    transition: grid-template-rows 340ms var(--aqa-ease), opacity 340ms var(--aqa-ease);
}

body.aqa-anim-ready .clients__slide,
body.aqa-anim-ready .hero__slide,
body.aqa-anim-ready .product__thumb {
    transition:
        opacity 500ms var(--aqa-ease),
        transform 500ms var(--aqa-ease),
        filter 500ms var(--aqa-ease);
}

body.aqa-anim-ready .product__thumb:hover {
    transform: translate3d(0, -3px, 0) scale(1.018);
}

body.aqa-anim-ready .footer__brand,
body.aqa-anim-ready .footer__menus,
body.aqa-anim-ready .footer__contacts,
body.aqa-anim-ready .footer__bottom {
    transition: opacity var(--aqa-duration) var(--aqa-ease), transform var(--aqa-duration) var(--aqa-ease);
}

@media (max-width: 767px) {
    :root {
        --aqa-distance: 14px;
    }

    html.aqa-product-hover .product-card:hover,
    html.aqa-product-hover .category-card:hover,
    html.aqa-product-hover .value-card:hover,
    html.aqa-product-hover .highlights__item:hover,
    html.aqa-product-hover .prod-accordion-item:hover,
    html.aqa-product-hover .contact-form__card:hover {
        transform: none;
        box-shadow: inherit;
    }

    html.aqa-parallax body.aqa-anim-ready .contacts__image img,
    html.aqa-parallax body.aqa-anim-ready .tech__image img,
    html.aqa-parallax body.aqa-anim-ready .product__main-img,
    html.aqa-parallax body.aqa-anim-ready .product__main-img-only {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html.aqa-js *,
    html.aqa-js *::before,
    html.aqa-js *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }

    body.aqa-anim-ready [data-aqa-reveal] {
        opacity: 1 !important;
        transform: none !important;
        filter: none !important;
        clip-path: none !important;
    }
}
