/* DMAT — movimento editorial da Home (carregado por último) */

.hero-simple .hero-media-inner {
    opacity: 1;
    animation: dmatKenBurns 14s ease-in-out infinite alternate !important;
}

.hero-simple .hero-kicker,
.hero-simple .hero-content h1,
.hero-simple .hero-content .btn {
    animation: dmatFadeUp 0.85s cubic-bezier(0.22, 1, 0.36, 1) both !important;
}
.hero-simple .hero-kicker { animation-delay: 0.15s; }
.hero-simple .hero-content h1 { animation-delay: 0.35s; }
.hero-simple .hero-content .btn { animation-delay: 0.6s; }

.hero-simple .hero-overlay {
    animation: dmatOverlay 10s ease-in-out infinite alternate;
}

.js-ok [data-reveal]:not(.is-in) {
    opacity: 0;
    transform: translate3d(0, 56px, 0);
}
.js-ok [data-reveal="left"]:not(.is-in) { transform: translate3d(-56px, 0, 0); }
.js-ok [data-reveal="right"]:not(.is-in) { transform: translate3d(56px, 0, 0); }
.js-ok [data-reveal="zoom"]:not(.is-in) { transform: scale(1.08) translate3d(0, 32px, 0); }
.js-ok [data-reveal="group"]:not(.is-in) { opacity: 1; transform: none; }

.js-ok [data-reveal] {
    transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--stagger, 0ms);
}
.js-ok [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

.js-ok .office-copy:not(.is-in) > *,
.js-ok .pro-feature-copy:not(.is-in) > * {
    opacity: 0;
    transform: translate3d(40px, 0, 0);
}
.js-ok .office-copy > *,
.js-ok .pro-feature-copy > * {
    transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-ok .office-copy.is-in > *,
.js-ok .pro-feature-copy.is-in > * { opacity: 1; transform: none; }
.js-ok .office-copy.is-in > *:nth-child(1),
.js-ok .pro-feature-copy.is-in > *:nth-child(1) { transition-delay: 0.05s; }
.js-ok .office-copy.is-in > *:nth-child(2),
.js-ok .pro-feature-copy.is-in > *:nth-child(2) { transition-delay: 0.18s; }
.js-ok .office-copy.is-in > *:nth-child(3),
.js-ok .pro-feature-copy.is-in > *:nth-child(3) { transition-delay: 0.32s; }

.js-ok .photo-reveal::after {
    transform: scaleY(1);
    transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-ok .photo-reveal.is-in::after {
    transform: scaleY(0);
    transform-origin: top;
}
.js-ok .photo-reveal img {
    transform: scale(1.1);
    transition: transform 1.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-ok .photo-reveal.is-in img { transform: scale(1.03); }

.js-ok .has-draw::after {
    transform: scaleX(0);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.12s;
}
.js-ok .has-draw.is-in::after { transform: scaleX(1); }

.js-ok .person:not(.is-in) .portrait img { transform: scale(1.08); }
.js-ok .person .portrait img { transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1); }
.js-ok .person.is-in .portrait img { transform: scale(1); }
.js-ok .person:not(.is-in) h3,
.js-ok .person:not(.is-in) .card-meta,
.js-ok .person:not(.is-in) p,
.js-ok .person:not(.is-in) .link-more {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
}
.js-ok .person h3,
.js-ok .person .card-meta,
.js-ok .person p,
.js-ok .person .link-more {
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.js-ok .person.is-in h3,
.js-ok .person.is-in .card-meta,
.js-ok .person.is-in p,
.js-ok .person.is-in .link-more {
    opacity: 1;
    transform: none;
}
.js-ok .person.is-in h3 { transition-delay: 0.12s; }
.js-ok .person.is-in .card-meta { transition-delay: 0.2s; }
.js-ok .person.is-in p { transition-delay: 0.28s; }
.js-ok .person.is-in .link-more { transition-delay: 0.36s; }

.js-ok [data-reveal].is-in.area-card:hover,
.js-ok .content-list article.is-in:hover {
    transition-delay: 0s;
    transform: translate3d(0, -6px, 0);
}

@keyframes dmatKenBurns {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to { transform: scale(1.2) translate3d(-2.8%, -1.8%, 0); }
}
@keyframes dmatFadeUp {
    from { opacity: 0; transform: translate3d(0, 36px, 0); }
    to { opacity: 1; transform: none; }
}
@keyframes dmatOverlay {
    from { opacity: 0.85; }
    to { opacity: 1; }
}

@media (max-width: 700px) {
    .hero-simple .hero-media-inner { animation: none !important; }
    .js-ok [data-reveal]:not(.is-in),
    .js-ok [data-reveal="left"]:not(.is-in),
    .js-ok [data-reveal="right"]:not(.is-in) {
        transform: translate3d(0, 32px, 0);
    }
    .js-ok .office-copy:not(.is-in) > * { transform: translate3d(0, 24px, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-simple .hero-media-inner,
    .hero-simple .hero-kicker,
    .hero-simple .hero-content h1,
    .hero-simple .hero-content .btn,
    .hero-simple .hero-overlay {
        animation: none !important;
    }
}
