
/*
 * Animações genéricas de flutuação em Y
 */
.float-y {
    animation: floatY 6.8s ease-in-out .4s infinite;
}

.float-y--slow {
    animation-duration: 7.6s;
    animation-delay: 1.1s;
}

.float-y--reverse {
    animation-name: floatYReverse;
    animation-duration: 7.4s;
    animation-delay: .8s;
}

.hero-pro-01.is-visible .hero-pro-01__image_animate {
    animation: floatYMain 5.5s ease-in-out 1s infinite;
}

@keyframes floatYMain {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -25px, 0) scale(1);
    }
}

@keyframes floatY {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, -28px, 0) scale(1.035);
    }
}

@keyframes floatYReverse {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(0, 24px, 0) scale(1.025);
    }
}

/*
 * Parallax genérico
 */
.js-parallax,
.js-parallax-bg,
[data-hero-parallax] {
    will-change: transform, translate;
}


/*
 * HERO 01
 * Mobile first
 */
.hero-pro-01 {
    position: relative;
    display: block;
    isolation: isolate;
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 150px;
    overflow: hidden;
}

.hero-pro-01--slides {
    padding-top: 0;
}

.hero-pro-01__slide {
    height: 100vh;
    height: 100svh;
    min-height: 100vh;
    min-height: 100svh;
    padding-top: 110px;
}

/*
 * Background e overlay
 */
.hero-pro-01__bg,
.hero-pro-01__overlay {
    position: absolute;
    inset: 0;
}

.hero-pro-01__bg {
    z-index: 0;
    /*inset: -18%;*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
    will-change: transform;
}

.hero-pro-01__overlay_ {
    z-index: 1;
    pointer-events: none;
    background:
            radial-gradient(
                    circle at 72% 48%,
                    rgba(0, 0, 0, .04) 0%,
                    rgba(0, 0, 0, .09) 18%,
                    rgba(0, 0, 0, .32) 48%,
                    rgba(0, 0, 0, .51) 100%
            ),
            linear-gradient(
                    90deg,
                    rgba(0, 0, 0, .54) 0%,
                    rgba(0, 0, 0, .42) 34%,
                    rgba(0, 0, 0, .18) 62%,
                    rgba(0, 0, 0, .27) 100%
            ),
            linear-gradient(
                    180deg,
                    rgba(0, 0, 0, .45) 0%,
                    rgba(0, 0, 0, .14) 28%,
                    rgba(0, 0, 0, .23) 100%
            );
}

/*
 * Estrutura
 */
.hero-pro-01__container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
}

.hero-pro-01__row {
    min-height: 100vh;
    min-height: 100svh;
    align-items: center;
}

.hero-pro-01__eyebrow-wrap {
    display: inline-flex !important;
    align-items: center;
    padding: 7px 12px;
}

.hero-pro-01__eyebrow-icon {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.hero-pro-01__eyebrow {
    font-size: .75rem;
    letter-spacing: .12em;
    line-height: 1;
}

.hero-pro-01__title {
    font-size: clamp(2.4rem, 11.2vw, 3.28rem);
    line-height: .98;
    font-weight: 700;
    letter-spacing: -.03em;
}

.hero-pro-01__subtitle {
    max-width: 580px;
    font-size: clamp(1.05rem, 1.35vw, 1.3rem);
    line-height: 1.55;
}

.hero-pro-01__text {
    max-width: 580px;
    font-size: 1rem;
    line-height: 1.7;
}

.hero-pro-01__text p:last-child {
    margin-bottom: 0;
}

/*
 * Botões
 */
.hero-pro-01__actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/*
 * Visual lateral
 * Mobile first: base até 575.98px
 */
.hero-pro-01__visual-b {
    position: relative;
    z-index: 2;
    height: auto;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translateY(-60px);
}

.hero-pro-01__image {
    position: relative;
    z-index: 2;
    display: block;
    width: auto;
    height: clamp(320px, 92vw, 400px);
    max-width: 115%;
    max-height: none;
    object-fit: contain;
    transform-origin: center bottom;
    will-change: transform, translate;
    scale: 110%;
    bottom: -10vw;
    margin-top: 40px;
}

/*
 * Imagens flutuantes
 */
.hero-pro-01__float {
    position: absolute;
    z-index: 4;
    display: block;
    height: auto;
    pointer-events: none;
    will-change: transform, translate;
    filter: drop-shadow(0 22px 34px rgba(0, 0, 0, .18));
}

/* Ícone menor / card à esquerda da personagem */
.hero-pro-01__float--1 {
    top: 25%;
    left: 5%;
    max-width: 80px;
}

/* Ícone maior sobreposto próximo ao corpo */
.hero-pro-01__float--2 {
    bottom: 38%;
    right: 2%;
    max-width: 100px;
}

.hero-pro-01__carousel,
.hero-pro-01__carousel .carousel-inner,
.hero-pro-01__slide {
    height: inherit;
    min-height: inherit;
}

.hero-pro-01__carousel {
    width: 100%;
}

.hero-pro-01__nav {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    color: #fff;
    background: rgba(0, 0, 0, .15);
    border: 0;
    border-radius: 50%;
    transform: translateY(-50%);
    transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.hero-pro-01__nav:hover,
.hero-pro-01__nav:focus {
    background: rgba(0, 0, 0, .3);
    transform: translateY(-50%) scale(1.05);
}

.hero-pro-01__nav--prev {
    left: 1rem;
}

.hero-pro-01__nav--next {
    right: 1rem;
}

.hero-pro-01__indicators {
    right: auto;
    bottom: 40px;
    left: 50%;
    z-index: 5;
    gap: .45rem;
    margin: 0;
    transform: translateX(-50%);
}

.hero-pro-01__indicators [data-bs-target] {
    position: relative;
    width: 40px;
    height: 3px;
    margin: 0;
    overflow: hidden;
    background-color: rgba(255, 255, 255, .5);
    border: 0;
    opacity: 1;
    transition: background-color .2s ease;
}

.hero-pro-01__indicators [data-bs-target]::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    content: "";
    background-color: #fff;
    border-radius: inherit;
}

.hero-pro-01__carousel.is-cycling .hero-pro-01__indicators .active::after {
    animation: hero-pro-01-progress var(--hero-carousel-interval, 10000ms) linear forwards;
}

@keyframes hero-pro-01-progress {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/*
 * >= 576px
 */
@media (min-width: 576px) {
    .hero-pro-01__slide {
        padding-top: 150px;
    }
    .hero-pro-01__visual-b {
    }

    .hero-pro-01__image {
        height: clamp(360px, 80vw, 460px);
        max-width: 108%;
        scale: 110%;
        bottom: -5vw;
    }

    .hero-pro-01__float--1 {
        max-width: 100px;
    }

    .hero-pro-01__float--2 {
        bottom: 25%;
        right: 5%;
    }
}

/*
 * >= 768px
 */
@media (min-width: 768px) {

    .hero-pro-01__eyebrow-wrap {
        display: inline-flex !important;
        align-items: center;
        padding: 10px 15px;
    }

    .hero-pro-01__eyebrow {
        font-size: .82rem;
        letter-spacing: .22em;
    }

    .hero-pro-01__title {
        font-size: clamp(2.08rem, 8vw, 3.28rem);
    }

    .hero-pro-01__visual-b {
        transform: none;
    }

    .hero-pro-01__image {
        height: clamp(420px, 62vw, 560px);
        max-width: 100%;
        scale: 110%;
        bottom: 0;
    }

    .hero-pro-01__float--1 {
        max-width: 100px;
    }

    .hero-pro-01__float--2 {
        bottom: 35%;
        right: 0;
        max-width: 140px;
    }
}

/*
 * >= 992px
 * Desktop/tablet grande
 */
@media (min-width: 992px) {
    .hero-pro-01 {
        display: flex;
        align-items: center;
        min-height: 100vh;
        min-height: 100svh;
        padding-top: 0;
    }

    .hero-pro-01__slide {
        padding-top: 0;
    }

    .hero-pro-01__container {
        min-height: 100vh;
        min-height: 100svh;
        display: flex;
        align-items: center;
    }

    .hero-pro-01__row {
        min-height: 100vh;
        min-height: 100svh;
        align-items: center;
    }

    .hero-pro-01__title {
        font-size: clamp(3rem, 7vw, 5.8rem);
    }

    .hero-pro-01__visual-b {
        height: 100%;
        min-height: 100vh;
        min-height: 100svh;
        align-items: flex-end;
        transform: none;
    }

    .hero-pro-01__image {
        height: clamp(560px, 78vh, 700px);
        max-width: none;
        max-height: none;
        scale: 110%;
        bottom: 0;
        margin-top: 0;
    }

    .hero-pro-01__float--1 {
        top: 35%;
        left: 0;
        max-width: 100px;
    }

    .hero-pro-01__float--2 {
        bottom: 20%;
        right: -12%;
        max-width: 140px;
    }
}

/*
 * >= 1200px
 */
@media (min-width: 1200px) {
    .hero-pro-01__row {
        transform: translateY(40px);
    }

    .hero-pro-01__visual-b {
    }

    .hero-pro-01__image {
        height: clamp(620px, 86vh, 840px);
        bottom: -40px;
    }

    .hero-pro-01__float--1 {
        max-width: 100px !important;
    }

    .hero-pro-01__float--2 {
        max-width: 160px;
    }
}

/*
 * >= 1400px
 */
@media (min-width: 1400px) {

    .hero-pro-01__image {
        height: clamp(640px, 88vh, 900px);
        /* height: clamp(720px, 90vh, 960px); */
    }

    .hero-pro-01__float--1 {
        left: 5%;
    }

    .hero-pro-01__float--2 {
    }
}
