/*
|--------------------------------------------------------------------------
| CTA Patrocinador
|--------------------------------------------------------------------------
*/

.igor-sponsor-cta {
    position: relative;
    overflow: hidden;
    background: #050505;
}

/*
|--------------------------------------------------------------------------
| Background Parallax
|--------------------------------------------------------------------------
*/

.igor-sponsor-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center -15%;
    opacity: 0.96;
    filter:
        contrast(1.1)
        brightness(1)
        saturate(0.9);
    will-change: background-position;
}

.igor-sponsor-cta__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.98) 0%,
            rgba(0, 0, 0, 0.92) 28%,
            rgba(0, 0, 0, 0.62) 58%,
            rgba(0, 0, 0, 0.22) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.34) 50%,
            rgba(0, 0, 0, 0.82) 100%
        ),
        radial-gradient(circle at 24% 24%, rgba(196, 27, 27, 0.18), transparent 36%),
        radial-gradient(circle at 86% 68%, rgba(163, 23, 23, 0.13), transparent 34%);
}

.igor-sponsor-cta__texture {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.14;
    background-image:
        linear-gradient(rgba(255,255,255,0.026) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.026) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(circle at center, #000, transparent 76%);
}

/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.igor-sponsor-cta__container {
    position: relative;
    z-index: 5;
    display: grid;
    gap: clamp(28px, 5vw, 58px);
    align-items: center;
    width: min(var(--igor-container-fluid, 90%), var(--igor-container, 1180px));
    max-width: var(--igor-container, 1180px);
    margin-right: auto;
    margin-left: auto;
}

.igor-sponsor-cta__content {
    max-width: 680px;
}

/*
|--------------------------------------------------------------------------
| Cabeçalho
|--------------------------------------------------------------------------
*/

.igor-sponsor-cta .igor-eyebrow {
    display: inline-flex;
    justify-content: flex-start;
    width: auto;
    max-width: 100%;
}

.igor-sponsor-cta .igor-eyebrow::before,
.igor-sponsor-cta .igor-eyebrow::after {
    display: none !important;
    content: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    background: none !important;
}

.igor-sponsor-cta__title {
    max-width: 690px;
    margin-top: 18px;
    color: var(--igor-white);
    font-family: var(--igor-font-title);
    font-size: clamp(38px, 5.8vw, 72px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.igor-sponsor-cta__title span {
    color: var(--igor-red-3);
}

.igor-sponsor-cta__text {
    max-width: 610px;
    margin-top: 18px;
    color: var(--igor-muted);
    font-size: clamp(15px, 1.45vw, 17px);
    line-height: 1.75;
}

/*
|--------------------------------------------------------------------------
| Botões
|--------------------------------------------------------------------------
*/

.igor-sponsor-cta__actions {
    display: grid;
    gap: 14px;
    align-content: center;
    justify-items: stretch;
    width: 100%;
    max-width: 350px;
}

.igor-sponsor-cta__actions .igor-btn {
    width: 100%;
}

.igor-sponsor-cta__actions .igor-btn:first-child {
    animation: igorSponsorWhatsappPulse 2100ms ease-in-out infinite;
}

.igor-sponsor-cta__actions .igor-btn:first-child i {
    animation: igorSponsorWhatsappIcon 1600ms ease-in-out infinite;
}

.igor-sponsor-cta__actions .igor-btn:nth-child(2) i {
    animation: igorSponsorCtaArrow 1400ms ease-in-out infinite;
}

@keyframes igorSponsorWhatsappPulse {
    0%,
    100% {
        transform: translateY(0) scale(1);
        box-shadow: var(--igor-shadow-red);
    }

    50% {
        transform: translateY(-2px) scale(1.018);
        box-shadow: 0 26px 84px rgba(196, 27, 27, 0.34);
    }
}

@keyframes igorSponsorWhatsappIcon {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.13);
    }
}

@keyframes igorSponsorCtaArrow {
    0%,
    100% {
        transform: translateY(0);
    }

    45% {
        transform: translateY(5px);
    }

    70% {
        transform: translateY(0);
    }
}

/*
|--------------------------------------------------------------------------
| Desktop
|--------------------------------------------------------------------------
*/

@media (min-width: 992px) {
    .igor-sponsor-cta__container {
        grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.34fr);
    }

    .igor-sponsor-cta__actions {
        justify-self: end;
    }
}

/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 991px) {
    .igor-sponsor-cta__container {
        text-align: center;
    }

    .igor-sponsor-cta .igor-eyebrow {
        justify-content: center;
        margin-right: auto;
        margin-left: auto;
    }

    .igor-sponsor-cta__content {
        max-width: 760px;
        margin-right: auto;
        margin-left: auto;
    }

    .igor-sponsor-cta__title,
    .igor-sponsor-cta__text {
        margin-right: auto;
        margin-left: auto;
    }

    .igor-sponsor-cta__actions {
        max-width: 420px;
        margin-right: auto;
        margin-left: auto;
    }
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {
    .igor-sponsor-cta__bg {
        opacity: 0.9;
        background-image: var(--igor-sponsor-cta-bg-mobile, var(--igor-sponsor-cta-bg-desktop)) !important;
        background-size: cover;
        background-position: center 12%;
        filter:
            contrast(1.04)
            brightness(0.98)
            saturate(0.88);
    }

    .igor-sponsor-cta__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.76) 0%,
                rgba(0, 0, 0, 0.58) 52%,
                rgba(0, 0, 0, 0.26) 100%
            ),
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.72) 0%,
                rgba(0, 0, 0, 0.34) 50%,
                rgba(0, 0, 0, 0.74) 100%
            ),
            radial-gradient(circle at 50% 24%, rgba(196, 27, 27, 0.12), transparent 44%);
    }

    .igor-sponsor-cta__texture {
        opacity: 0.1;
    }

    .igor-sponsor-cta__container {
        width: 90%;
        max-width: 90%;
        gap: 28px;
    }

    .igor-sponsor-cta__title {
        font-size: clamp(34px, 10.8vw, 52px);
        line-height: 0.96;
    }

    .igor-sponsor-cta__text {
        margin-top: 16px;
        font-size: 15px;
    }

    .igor-sponsor-cta__actions {
        max-width: 100%;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .igor-sponsor-cta__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, 0.74) 0%,
                rgba(0, 0, 0, 0.56) 52%,
                rgba(0, 0, 0, 0.24) 100%
            ),
            linear-gradient(
                180deg,
                rgba(0, 0, 0, 0.7) 0%,
                rgba(0, 0, 0, 0.32) 50%,
                rgba(0, 0, 0, 0.72) 100%
            );
    }
}