/* ==========================================================
   CSS ANTIGO SEPARADO - BLOCO STORY HERO
   Origem: home2(8).css
   Uso: importar depois dos tokens globais do tema ou manter os tokens abaixo.
   HTML-alvo: .ef-story-hero, .ef-story-hero__title,
              .ef-story-hero__description, .ef-story-hero__chips,
              .ef-story-chip, .ef-story-hero__button
========================================================== */

:root {
    --ef-black: #000000;
    --ef-white: #ffffff;
    --ef-gold: #e0b84a;
    --ef-gold-2: #e2bf54;
    --ef-gold-3: #e6bf4c;
    --gold-grad-rich: linear-gradient(90deg, #F9F295 0%, #F3D97A 20%, #EBC15A 40%, #E1AC41 50%, #EBC15A 60%, #F3D97A 80%, #F9F295 100%);
    --gold-grad-soft: linear-gradient(90deg, #F9F295 0%, #E1AC41 100%);
}


/* ==========================================================
   STORY HERO
========================================================== */

.ef-story-hero {
    position: relative;
    overflow: hidden;
    background: #050505;
    display: flex;
    align-items: center;

    min-height: calc(100svh - 112px);

    padding: clamp(24px, 2.6vw, 58px) 0 clamp(30px, 3vw, 68px);
}

.ef-story-hero::before,
.ef-story-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ef-story-hero::before {
    background-image:
        radial-gradient(circle at 50% 0%, rgba(225, 173, 66, .18) 0%, rgba(225, 173, 66, 0) 58%),
        linear-gradient(180deg, rgba(0, 0, 0, .36) 0%, rgba(0, 0, 0, .78) 100%),
        var(--ef-story-hero-image);
    background-position: center top, center, center;
    background-repeat: no-repeat;
    background-size: cover, cover, cover;
    opacity: .94;
    object-fit: cover;
}

.ef-story-hero::after {
    background: linear-gradient(90deg, transparent 0%, rgba(249, 242, 149, .11) 50%, transparent 100%);
    mix-blend-mode: screen;
    opacity: .42;
}

.ef-story-hero__inner {
    position: relative;
    z-index: 1;

    width: 100%;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    max-width: 1320px;
}

.ef-story-hero__inner .ef-home-title {
    font-family: 'Bebas Neue', sans-serif;
    margin: 0 0 14px 0;
    font-weight: 800;
    color: #ffffff !important;
    font-size: clamp(38px, 3.75vw, 86px);
    line-height: .9;
    letter-spacing: 0.02em;
    margin: 0 0 clamp(12px, 1.4vw, 26px);
}


.ef-story-hero__description a {
    font-family: 'Inter', sans-serif;
}

.ef-story-hero__title {
    max-width: 980px;
    margin: 0 auto 14px;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: 1px;
    font-size: clamp(32px, 8vw, 72px);
}

.ef-story-hero__title span {
    background: var(--gold-grad-rich);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.ef-story-hero__description {
    background: transparent;
    padding: 20px 0;
    margin: auto;
    text-align: center;
    font-family: "Open Sans", Arial, sans-serif;
    font-weight: 400;
    color: #FFFFFF;
    padding: clamp(10px, 1.2vw, 18px) 0;
    margin: 0 auto clamp(14px, 1.3vw, 24px);
    max-width: 980px;
    width: min(100%, 1040px);
    font-size: clamp(14px, 1vw, 20px);
    line-height: 1.5;
}

.ef-story-hero__description strong {
    color: #fff;
    font-weight: 800;
}

/* ==========================================================
   CHIPS
========================================================== */

.ef-story-hero__chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px 0;
    opacity: 1;
    transform: none;
    filter: none;
    transition: opacity .6s ease, transform .6s ease, filter .6s ease;
    padding: clamp(8px, 1vw, 16px) 0;
    margin-bottom: clamp(14px, 1.5vw, 28px);
    gap: clamp(8px, 1vw, 14px);
}

.ef-story-chip {
    position: relative;
    align-items: center;
    isolation: isolate;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .02);
    display: flex;
    gap: 10px;
    border-radius: 14px;
    background: linear-gradient(#151515, #151515) padding-box, var(--ef-gold) border-box;
    border: 1px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .03), 0 8px 22px rgba(0, 0, 0, .45);
    color: #FFFFFF;
    cursor: pointer;
    user-select: none;
    overflow: hidden;
    min-height: 52px;
    padding: 0 22px;
    font-size: clamp(13px, .85vw, 16px);
    min-height: clamp(42px, 3vw, 52px);
    padding: 0 clamp(14px, 1.2vw, 22px);
}

.ef-story-hero__action .ef-btn {
    min-width: clamp(220px, 18vw, 320px);
    min-height: clamp(46px, 3.4vw, 58px);
    font-size: clamp(15px, .95vw, 20px);
}

.ef-story-chip::before {
    content: "";
    position: absolute;
    inset: -80% -45%;
    z-index: 0;
    pointer-events: none;
    background: linear-gradient(120deg,
            transparent 0%,
            rgba(248, 236, 142, .04) 38%,
            rgba(248, 236, 142, .38) 50%,
            rgba(248, 236, 142, .04) 62%,
            transparent 100%);
    filter: blur(10px);
    transform: translateX(-160%) skewX(-12deg);
    opacity: 0;
    animation: ef-chip-sheen 4.8s ease-in-out infinite;
}

.ef-story-chip:nth-child(1)::before {
    animation-delay: 0s;
}

.ef-story-chip:nth-child(2)::before {
    animation-delay: .28s;
}

.ef-story-chip:nth-child(3)::before {
    animation-delay: .56s;
}

.ef-story-chip>* {
    position: relative;
    z-index: 1;
}

.ef-story-chip svg {
    width: 18px;
    height: 18px;
    color: #efcb59;
    flex: 0 0 auto;
}

.ef-story-chip strong {
    font: 700 14px/1.3 "Open Sans", Arial, sans-serif;
    font-size: clamp(12px, .8vw, 14px);
}

.ef-story-chip:hover {
    transform: translateY(-3px);
    background: rgba(224, 184, 74, 0.08);
    border-color: rgba(224, 184, 74, 0.6);
    box-shadow: 0 8px 25px rgba(224, 184, 74, 0.15);
}

/* ==========================================================
   BOTÃO
========================================================== */

.ef-story-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 292px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    background: var(--gold-grad-rich);
    background-size: 200% auto;
    color: #000;
    font: 700 15px/1 "Open Sans", Arial, sans-serif;
    box-shadow: 0 16px 35px -22px rgba(225, 173, 66, .42);
    transition: all .5s;
}

.ef-story-hero__button:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 0 20px 38px -20px rgba(225, 173, 66, .55);
}

/* ==========================================================
   ANIMAÇÃO DOS CHIPS
========================================================== */

@keyframes ef-chip-sheen {

    0%,
    18% {
        transform: translateX(-160%) skewX(-12deg);
        opacity: 0;
    }

    34% {
        opacity: .35;
    }

    48% {
        opacity: .85;
    }

    62% {
        opacity: .35;
    }

    80%,
    100% {
        transform: translateX(160%) skewX(-12deg);
        opacity: 0;
    }
}

/* ==========================================================
   RESPONSIVO
========================================================== */

@media (max-width: 991px) {
    .ef-story-hero__inner {
        max-width: 760px;
    }

    .ef-story-hero__description {
        max-width: 700px;
    }

    .ef-story-hero__title {
        font-size: clamp(30px, 8vw, 58px);
    }

    .ef-story-hero {
        padding: 70px 0 72px;
    }

    .ef-story-hero__chips {
        gap: 8px;
    }

    .ef-story-chip {
        width: 100%;
        margin: 2px 0;
    }
}

@media (max-width: 560px) {

    .ef-story-hero {
        padding-top: 48px;
        padding-bottom: 44px;
    }

    .ef-story-hero__title {
        font-size: clamp(2rem, 11vw, 3.1rem);
    }

    .ef-story-hero__button {
        width: 100%;
        min-width: 0;
    }

    .ef-story-hero__chips {
        justify-content: flex-start;
    }


    .ef-story-hero__description {
        text-align: left;
        margin: 0;
        font-size: clamp(14px, 3vw, 18px);
        line-height: 1.7;
        color: #FFFFFF;
    }
}