/* Banner “Queima de estoque” — página Promoções do Mês */

.promocoes-fire-banner {
    --fire-cream: #ffffff;
    --fire-gold: #ffc107;
    --fire-orange: #ff5722;
    --fire-deep: #121212;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 100%;
    min-height: clamp(148px, 22vw, 210px);
    margin: 0 0 28px;
    padding: clamp(22px, 3.2vw, 36px) clamp(16px, 3vw, 32px);
    border-radius: 6px;
    background: #121212;
    box-shadow:
        inset 0 0 0 1px rgba(255, 87, 34, 0.28),
        0 18px 40px rgba(0, 0, 0, 0.35);
    container-type: inline-size;
    container-name: promo-banner;
}

.promocoes-fire-banner__stage {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.promocoes-fire-banner__base {
    position: absolute;
    inset: 0;
    background: #121212;
}

.promocoes-fire-banner__heat {
    position: absolute;
    inset: auto 0 0;
    height: 55%;
    background: radial-gradient(ellipse 70% 90% at 50% 120%, rgba(255, 87, 34, 0.22) 0%, rgba(255, 87, 34, 0) 70%);
    animation: promoFireHeat 3.2s ease-in-out infinite alternate;
}

.promocoes-fire-banner__heat--alt {
    height: 70%;
    opacity: 0.45;
    filter: blur(12px);
    animation-duration: 2.4s;
    animation-direction: alternate-reverse;
    background: radial-gradient(ellipse 90% 80% at 50% 110%, rgba(255, 87, 34, 0.16) 0%, transparent 72%);
}

.promocoes-fire-banner__tongue {
    position: absolute;
    bottom: -20%;
    width: 28%;
    height: 55%;
    border-radius: 50%;
    filter: blur(34px);
    mix-blend-mode: screen;
    transform-origin: 50% 100%;
    opacity: 0.35;
}

.promocoes-fire-banner__tongue--a {
    left: 8%;
    background: radial-gradient(circle at 50% 80%, rgba(255, 87, 34, 0.45) 0%, transparent 70%);
    animation: promoFireLick 1.55s ease-in-out infinite alternate;
}

.promocoes-fire-banner__tongue--b {
    left: 36%;
    width: 32%;
    background: radial-gradient(circle at 48% 82%, rgba(255, 121, 0, 0.28) 0%, transparent 70%);
    animation: promoFireLick 1.2s ease-in-out infinite alternate-reverse;
}

.promocoes-fire-banner__tongue--c {
    right: 6%;
    left: auto;
    width: 26%;
    background: radial-gradient(circle at 50% 80%, rgba(255, 87, 34, 0.38) 0%, transparent 72%);
    animation: promoFireLick 1.85s ease-in-out infinite alternate;
}

.promocoes-fire-banner__glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(255, 87, 34, 0.12) 0%, rgba(0, 0, 0, 0) 70%);
    animation: promoFirePulse 4s ease-in-out infinite alternate;
}

.promocoes-fire-banner__texture {
    position: absolute;
    inset: 0;
    opacity: 0.16;
    background-image:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.12) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.12) 50%,
            rgba(255, 255, 255, 0.12) 75%,
            transparent 75%,
            transparent
        );
    background-size: 6px 6px;
}

.promocoes-fire-banner__vignette {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 42%, rgba(10, 10, 10, 0.45) 100%);
}

.promocoes-fire-banner__particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.promocoes-fire-particle {
    position: absolute;
    bottom: -30px;
    left: var(--x, 50%);
    width: var(--size, 56px);
    height: var(--size, 56px);
    margin-left: calc(var(--size, 56px) / -2);
    border-radius: 50%;
    background: radial-gradient(
        ellipse at center,
        rgba(255, 121, 0, 0.9) 0%,
        rgba(255, 87, 34, 0.55) 40%,
        rgba(255, 0, 0, 0) 70%
    );
    filter: blur(0.4px);
    opacity: 0;
    animation: promoFireRise var(--dur, 3.2s) ease-out var(--delay, 0s) infinite;
}

.promocoes-fire-banner__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.6vw, 16px);
    width: 100%;
    min-width: 0;
    min-height: inherit;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
}

.promocoes-fire-banner__headline {
    margin: 0;
    width: 100%;
    max-width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(14px, 5.6cqi, 34px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0.02em;
    color: var(--fire-cream);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: visible;
    text-shadow: 0 0 18px rgba(255, 87, 34, 0.25);
}

.promocoes-fire-banner__accent {
    color: var(--fire-orange);
    text-shadow: 0 0 16px rgba(255, 87, 34, 0.7);
}

.promocoes-fire-banner__rule {
    display: block;
    width: min(52%, 280px);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--fire-orange) 18%, var(--fire-orange) 82%, transparent);
    opacity: 0.85;
}

.promocoes-fire-banner__aside {
    margin: 0;
    width: 100%;
    max-width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(11px, 2.6cqi, 16px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.16em;
    color: var(--fire-gold);
    text-transform: uppercase;
    white-space: nowrap;
}

.promocoes-fire-banner__aside .promocoes-fire-banner__accent {
    color: var(--fire-orange);
    font-weight: 600;
    letter-spacing: 0.22em;
}

@keyframes promoFireHeat {
    0% {
        transform: translate3d(-1%, 4%, 0) scale(1);
        opacity: 0.55;
    }
    100% {
        transform: translate3d(1%, 0, 0) scale(1.08);
        opacity: 0.9;
    }
}

@keyframes promoFireLick {
    0% {
        transform: translateX(-3%) scale(0.94);
        opacity: 0.22;
    }
    100% {
        transform: translateX(4%) scale(1.08);
        opacity: 0.42;
    }
}

@keyframes promoFirePulse {
    0% { opacity: 0.3; }
    50% { opacity: 0.6; }
    100% { opacity: 0.4; }
}

@keyframes promoFireRise {
    0% {
        transform: translateY(0) scale(0.55);
        opacity: 0;
    }
    16% {
        opacity: 0.95;
    }
    70% {
        opacity: 0.45;
    }
    100% {
        transform: translateY(-240px) scale(0.7);
        opacity: 0;
    }
}

@media (max-width: 767px) {
    .promocoes-fire-banner {
        min-height: 0;
        padding: 22px 16px 24px;
        margin-bottom: 22px;
    }

    .promocoes-fire-banner__headline,
    .promocoes-fire-banner__aside {
        white-space: nowrap;
    }

    .promocoes-fire-banner__headline {
        font-size: clamp(13px, 6.2cqi, 22px);
        letter-spacing: 0.01em;
    }

    .promocoes-fire-banner__aside {
        font-size: clamp(10px, 3.4cqi, 13px);
        letter-spacing: 0.12em;
    }

    .promocoes-fire-banner__rule {
        width: min(70%, 220px);
    }
}

.promocoes-fire-banner--home {
    width: 100%;
    min-height: clamp(118px, 17.6vw, 168px);
    margin: 0;
    padding: clamp(18px, 2.56vw, 29px) clamp(13px, 2.4vw, 26px);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.promocoes-fire-banner--home,
.promocoes-fire-banner--home *,
.promocoes-fire-banner--home a,
.promocoes-fire-banner--home a:hover,
.promocoes-fire-banner--home a:focus {
    text-decoration: none !important;
}

.promocoes-fire-banner--home .promocoes-fire-banner__content {
    gap: clamp(5px, 0.9vw, 10px);
}

.promocoes-fire-banner--home .promocoes-fire-banner__headline {
    font-size: clamp(11px, 3.5vw, 27px) !important;
    text-decoration: none !important;
}

.promocoes-fire-banner--home .promocoes-fire-banner__aside {
    font-size: clamp(9px, 1.7vw, 13px) !important;
    text-decoration: none !important;
}

.promocoes-fire-banner--home .promocoes-fire-banner__accent {
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .promocoes-fire-banner--home {
        min-height: 0;
        padding: 18px 13px 19px;
    }

    .promocoes-fire-banner--home .promocoes-fire-banner__headline {
        font-size: clamp(10px, 4.96cqi, 18px);
    }

    .promocoes-fire-banner--home .promocoes-fire-banner__aside {
        font-size: clamp(8px, 2.72cqi, 10px);
    }
}

.promocoes-fire-banner__cta {
    display: inline-block;
    margin-top: 4px;
    padding: 10px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(9px, 1.2cqi, 11px);
    font-weight: 800;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.45);
}

a.promocoes-fire-banner__cta,
a.promocoes-fire-banner__cta:hover,
a.promocoes-fire-banner__cta:focus,
a.promocoes-fire-banner__cta:active {
    color: #fff !important;
    text-decoration: none !important;
}

.home-queima-banner .promocoes-fire-banner__cta:hover {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    box-shadow: 0 10px 24px rgba(255, 87, 34, 0.6);
    text-decoration: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .promocoes-fire-banner__heat,
    .promocoes-fire-banner__tongue,
    .promocoes-fire-banner__glow,
    .promocoes-fire-particle {
        animation: none !important;
    }

    .promocoes-fire-banner__particles {
        display: none;
    }
}
