.ibaiti-hero {
    --ibaiti-gold: #ffca18;
    --ibaiti-gold-deep: #e89b00;
    position: relative;
    isolation: isolate;
    width: 100%;
    height: min(56.3vw, 941px);
    min-height: 700px;
    margin: -40px 0 50px;
    overflow: hidden;
    background: #050505;
    color: #fff;
    font-family: inherit;
}

.page-ibaiti-hero .main-header {
    z-index: 3;
}

.page-ibaiti-hero .ibaiti-hero {
    z-index: 2;
}

.page-ibaiti-hero .share-site,
.page-ibaiti-hero .social-contact {
    z-index: 1;
}

.ibaiti-hero__art,
.ibaiti-hero__art img,
.ibaiti-hero__shade {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.ibaiti-hero__art {
    z-index: -2;
    display: block;
}

.ibaiti-hero__art img {
    object-fit: cover;
    object-position: center;
}

.ibaiti-hero__shade {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .04) 36%, rgba(0, 0, 0, .25) 46%, rgba(0, 0, 0, .08) 82%, rgba(0, 0, 0, .16) 100%),
        linear-gradient(0deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .12) 25%, rgba(0, 0, 0, 0) 55%);
}

.ibaiti-hero__inner {
    box-sizing: border-box;
    width: min(100%, 1500px);
    height: 100%;
    min-height: inherit;
    margin: 0 auto;
    padding: 52px 40px 164px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ibaiti-hero__main {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 28px;
}

.ibaiti-hero__badge-wrap {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    justify-self: center;
    width: min(100%, 520px);
}

.ibaiti-hero__badge-wrap::before {
    position: absolute;
    z-index: -1;
    inset: 8% 5%;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(255, 190, 0, .48) 0%, rgba(255, 154, 0, .26) 42%, rgba(255, 133, 0, .12) 63%, transparent 78%);
    content: "";
    filter: blur(30px);
    opacity: .72;
    transform: scale(.9);
    animation: ibaiti-badge-aura 4.8s ease-in-out infinite;
}

.ibaiti-hero__badge-wrap::after {
    position: absolute;
    z-index: 2;
    inset: 0;
    background: linear-gradient(112deg, transparent 40%, rgba(255, 242, 177, .05) 45%, rgba(255, 247, 206, .92) 50%, rgba(255, 198, 45, .38) 54%, transparent 60%);
    background-size: 300% 100%;
    background-position: 100% 0;
    content: "";
    filter: blur(1px) drop-shadow(0 0 12px rgba(255, 208, 76, .6));
    mix-blend-mode: screen;
    opacity: 0;
    pointer-events: none;
    -webkit-mask: url("../images/banner-mega-feirao-ibaiti-brasao-v2.webp") center / 100% 100% no-repeat;
    mask: url("../images/banner-mega-feirao-ibaiti-brasao-v2.webp") center / 100% 100% no-repeat;
    animation: ibaiti-badge-shine 5s linear infinite;
}

.ibaiti-hero__badge-art {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .72)) drop-shadow(0 0 12px rgba(255, 202, 24, .4));
    animation: ibaiti-badge-glow 4.8s ease-in-out infinite;
}

@keyframes ibaiti-badge-aura {
    0%, 100% {
        opacity: .62;
        transform: scale(.9);
    }

    50% {
        opacity: .94;
        transform: scale(1.06);
    }
}

@keyframes ibaiti-badge-glow {
    0%, 100% {
        filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .72)) drop-shadow(0 0 10px rgba(255, 202, 24, .32));
    }

    50% {
        filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .72)) drop-shadow(0 0 21px rgba(255, 202, 24, .6));
    }
}

@keyframes ibaiti-badge-shine {
    0%, 8% {
        opacity: 0;
        background-position: 100% 0;
    }

    20% {
        opacity: .85;
        background-position: 75% 0;
    }

    48% {
        opacity: 0;
        background-position: 0 0;
    }

    100% {
        opacity: 0;
        background-position: 0 0;
    }
}

.ibaiti-hero__copy {
    max-width: 550px;
    padding: 19px 22px 21px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(4, 5, 7, .82), rgba(4, 5, 7, .58));
    box-shadow: 0 8px 28px rgba(0, 0, 0, .22);
}

.ibaiti-hero__eyebrow {
    margin: 0 0 10px;
    color: var(--ibaiti-gold);
    font-size: clamp(13px, 1.35vw, 20px);
    font-weight: 600;
    letter-spacing: .28em;
    text-transform: uppercase;
}

.ibaiti-hero__copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(40px, 3vw, 50px);
    font-weight: 900;
    letter-spacing: -.055em;
    line-height: .98;
    text-shadow: 0 3px 16px rgba(0, 0, 0, .55);
}

.ibaiti-hero__copy h1 span {
    display: block;
    color: var(--ibaiti-gold);
}

.ibaiti-hero__description {
    max-width: 590px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .94);
    font-size: clamp(16px, 1.35vw, 20px);
    font-weight: 400;
    line-height: 1.48;
    text-shadow: 0 2px 8px #000;
}

.ibaiti-hero__button,
.ibaiti-hero__bottom-button {
    border: 1px solid rgba(255, 237, 144, .85);
    border-radius: 8px;
    background: linear-gradient(120deg, #ffd32c, #ffbd00);
    color: #17130a;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    font-size: 16px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28), 0 1px 0 rgba(255, 255, 255, .45) inset;
    transition: transform .2s ease, filter .2s ease;
}

.ibaiti-hero__button {
    min-width: 210px;
    min-height: 54px;
    margin-top: 19px;
    padding: 12px 25px;
}

.ibaiti-hero__button:hover,
.ibaiti-hero__bottom-button:hover {
    color: #17130a;
    text-decoration: none;
    filter: brightness(1.07);
    transform: translateY(-2px);
}

.ibaiti-hero__bottom {
    position: absolute;
    left: 50%;
    bottom: 20px;
    box-sizing: border-box;
    width: min(1410px, calc(100% - 56px));
    min-height: 116px;
    transform: translateX(-50%);
    display: grid;
    grid-template-columns: 1.04fr 1.08fr 1.48fr auto;
    align-items: center;
    border: 1px solid var(--ibaiti-gold);
    border-radius: 16px;
    background: linear-gradient(110deg, rgba(6, 7, 9, .98), rgba(16, 16, 17, .96));
    box-shadow: 0 10px 32px rgba(0, 0, 0, .65), 0 0 24px rgba(255, 187, 0, .2);
    overflow: hidden;
}

.ibaiti-hero__bottom-title,
.ibaiti-hero__bottom-date,
.ibaiti-hero__bottom-benefits {
    min-height: 76px;
    padding: 12px 22px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.ibaiti-hero__bottom-title,
.ibaiti-hero__bottom-date {
    border-right: 1px solid rgba(255, 202, 24, .65);
}

.ibaiti-hero__bottom-title > i,
.ibaiti-hero__bottom-date > i,
.ibaiti-hero__bottom-benefits > i {
    flex: 0 0 auto;
    color: var(--ibaiti-gold);
    font-size: 39px;
}

.ibaiti-hero__bottom-title > span {
    color: #fff;
    font-size: clamp(17px, 1.45vw, 23px);
    font-weight: 900;
    line-height: 1.06;
}

.ibaiti-hero__bottom-title strong {
    display: block;
    color: var(--ibaiti-gold);
}

.ibaiti-hero__bottom-date > span,
.ibaiti-hero__bottom-benefits > span {
    display: flex;
    flex-direction: column;
}

.ibaiti-hero__bottom-date strong {
    color: var(--ibaiti-gold);
    font-size: clamp(22px, 2.15vw, 34px);
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.ibaiti-hero__bottom-date small {
    margin-top: 4px;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.ibaiti-hero__bottom-benefits strong,
.ibaiti-hero__bottom-benefits small {
    color: #fff;
    font-size: clamp(12px, 1.05vw, 16px);
    font-weight: 700;
    line-height: 1.4;
}

.ibaiti-hero__bottom-benefits small:nth-child(2) {
    color: var(--ibaiti-gold);
}

.ibaiti-hero__bottom-button {
    min-width: 180px;
    min-height: 54px;
    margin: 0 24px 0 8px;
    padding: 12px 18px;
    white-space: nowrap;
}

.ibaiti-hero__bottom-button i {
    font-size: 19px;
}

@media (max-width: 1199px) and (min-width: 768px) {
    .ibaiti-hero {
        min-height: 690px;
    }

    .ibaiti-hero__art img {
        object-position: right center;
    }

    .ibaiti-hero__inner {
        padding-right: 25px;
        padding-left: 25px;
        padding-bottom: 150px;
    }

    .ibaiti-hero__main {
        gap: 8px;
        grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    }

    .ibaiti-hero__badge-wrap {
        width: min(100%, 390px);
    }

    .ibaiti-hero__badge-art {
        max-height: 460px;
    }

    .ibaiti-hero__copy {
        box-sizing: border-box;
        max-width: 410px;
        padding-right: 16px;
        padding-left: 16px;
    }

    .ibaiti-hero__copy h1 {
        font-size: clamp(34px, 3.1vw, 40px);
    }

    .ibaiti-hero__bottom {
        width: calc(100% - 36px);
        min-height: 100px;
        grid-template-columns: 1fr 1fr 1.2fr auto;
    }

    .ibaiti-hero__bottom-title,
    .ibaiti-hero__bottom-date,
    .ibaiti-hero__bottom-benefits {
        padding-right: 12px;
        padding-left: 12px;
        gap: 9px;
    }

    .ibaiti-hero__bottom-title > i,
    .ibaiti-hero__bottom-date > i,
    .ibaiti-hero__bottom-benefits > i {
        font-size: 29px;
    }

    .ibaiti-hero__bottom-date small {
        font-size: 18px;
    }

    .ibaiti-hero__bottom-button {
        min-width: 140px;
        margin-right: 12px;
        padding: 10px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .ibaiti-hero {
        height: auto;
        min-height: 0;
        margin-top: -40px;
        margin-bottom: 34px;
        padding: 42px 0 20px;
    }

    .ibaiti-hero__art img {
        height: 540px;
        object-fit: cover;
        object-position: right center;
    }

    .ibaiti-hero__art {
        height: 540px;
        bottom: auto;
    }

    .ibaiti-hero__shade {
        background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .12) 28%, rgba(0, 0, 0, .75) 43%, #050505 58%);
    }

    .ibaiti-hero__inner {
        width: 100%;
        height: auto;
        min-height: 0;
        padding: 0 15px;
    }

    .ibaiti-hero__main {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .ibaiti-hero__badge-wrap {
        width: min(84vw, 340px);
        margin: 0 auto 4px;
    }

    .ibaiti-hero__badge-art {
        max-height: none;
    }

    .ibaiti-hero__copy {
        width: min(100%, 560px);
        margin: 0 auto;
        padding: 17px 18px 20px;
        border-radius: 14px;
        background: rgba(5, 6, 8, .72);
        box-shadow: 0 5px 24px rgba(0, 0, 0, .25);
        text-align: center;
    }

    .ibaiti-hero__eyebrow {
        margin-bottom: 8px;
        font-size: 11px;
        letter-spacing: .2em;
    }

    .ibaiti-hero__copy h1 {
        font-size: clamp(34px, 9vw, 46px);
        line-height: 1;
    }

    .ibaiti-hero__description {
        margin-top: 12px;
        font-size: 15px;
        line-height: 1.45;
    }

    .ibaiti-hero__button {
        min-height: 50px;
        margin-top: 15px;
    }

    .ibaiti-hero__bottom {
        position: relative;
        left: auto;
        bottom: auto;
        width: min(100%, 560px);
        min-height: 0;
        margin: 15px auto 0;
        transform: none;
        grid-template-columns: minmax(0, 1fr) auto;
        border-radius: 13px;
    }

    .ibaiti-hero__bottom-title {
        min-height: 66px;
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 202, 24, .55);
    }

    .ibaiti-hero__bottom-date,
    .ibaiti-hero__bottom-benefits {
        min-height: 74px;
        padding: 9px 11px;
        gap: 9px;
    }

    .ibaiti-hero__bottom-date {
        grid-column: 1 / -1;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 202, 24, .35);
    }

    .ibaiti-hero__bottom-date > i {
        font-size: 30px;
    }

    .ibaiti-hero__bottom-date strong {
        font-size: 25px;
    }

    .ibaiti-hero__bottom-date small {
        font-size: 16px;
    }

    .ibaiti-hero__bottom-benefits {
        grid-column: 1;
        padding-left: 13px;
    }

    .ibaiti-hero__bottom-benefits > i {
        font-size: 27px;
    }

    .ibaiti-hero__bottom-benefits strong,
    .ibaiti-hero__bottom-benefits small {
        font-size: 10px;
        line-height: 1.45;
    }

    .ibaiti-hero__bottom-button {
        grid-column: 2;
        min-width: 112px;
        min-height: 45px;
        margin: 0 10px 0 0;
        padding: 9px;
        gap: 8px;
        font-size: 12px;
    }

    .ibaiti-hero__bottom-button i {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .ibaiti-hero__inner {
        padding-right: 10px;
        padding-left: 10px;
    }

    .ibaiti-hero__badge-wrap {
        width: min(84vw, 310px);
    }

    .ibaiti-hero__copy h1 {
        font-size: 32px;
    }

    .ibaiti-hero__bottom-benefits {
        gap: 6px;
        padding-left: 8px;
    }

    .ibaiti-hero__bottom-benefits strong,
    .ibaiti-hero__bottom-benefits small {
        font-size: 9px;
    }

    .ibaiti-hero__bottom-button {
        min-width: 104px;
        margin-right: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ibaiti-hero__badge-wrap::before,
    .ibaiti-hero__badge-art {
        animation: none;
    }

    .ibaiti-hero__badge-wrap::after {
        animation: none;
        opacity: 0;
    }

    .ibaiti-hero__button,
    .ibaiti-hero__bottom-button {
        transition: none;
    }
}
