/* ==========================================================
   FORGED CORE — HERO
   Controle responsivo integrado ao painel FORGED Core
   ========================================================== */

.forged-hero {
    --forged-hero-gold: #c9a34a;
    --forged-hero-text: #ffffff;
    --forged-hero-font: Inter, Montserrat, "Helvetica Neue", Arial, sans-serif;
    --forged-hero-image: none;

    /* Valores de segurança caso o painel ainda não os envie */
    --forged-hero-height-desktop: 700px;
    --forged-hero-height-tablet: 620px;
    --forged-hero-height-mobile: 600px;

    --forged-hero-title-desktop: 120px;
    --forged-hero-title-tablet: 82px;
    --forged-hero-title-mobile: 54px;

    --forged-hero-highlight-desktop: 130px;
    --forged-hero-highlight-tablet: 90px;
    --forged-hero-highlight-mobile: 58px;

    --forged-hero-content-width: 650px;
    --forged-hero-overlay: .35;
    --forged-hero-image-position: center center;

    position: relative;
    width: 100%;
    min-height: var(--forged-hero-height-desktop);

    display: flex;
    flex-direction: column;

    overflow: hidden;
    isolation: isolate;

    color: var(--forged-hero-text);

    background:
        radial-gradient(
            circle at 72% 32%,
            rgba(201,163,74,.16),
            transparent 24%
        ),
        radial-gradient(
            circle at 58% 80%,
            rgba(255,255,255,.05),
            transparent 25%
        ),
        linear-gradient(
            115deg,
            #020202 0%,
            #080808 55%,
            #111111 100%
        );

    font-family: var(--forged-hero-font);
}


/* ==========================================================
   IMAGEM
   ========================================================== */

.forged-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    z-index: -4;

    background-image: var(--forged-hero-image);
    background-size: cover;
    background-position: var(--forged-hero-image-position);
    background-repeat: no-repeat;

    transform: scale(1.03);

    filter:
        saturate(.8)
        contrast(1.08);
}


/* ==========================================================
   MARCA D'ÁGUA FORGED
   ========================================================== */

.forged-hero::after {
    content: "FORGED";

    position: absolute;

    right: -.02em;
    top: 50%;

    z-index: -2;

    transform: translateY(-54%);

    color: rgba(255,255,255,.018);

    font-family:
        Impact,
        "Arial Narrow",
        Arial,
        sans-serif;

    font-size: clamp(160px,24vw,430px);

    line-height: .8;
    letter-spacing: .01em;

    pointer-events: none;
}


/* ==========================================================
   OVERLAY
   ========================================================== */

.forged-hero__overlay {
    position: absolute;
    inset: 0;

    z-index: -3;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.98) 0%,
            rgba(0,0,0,.84) 42%,
            rgba(0,0,0,var(--forged-hero-overlay)) 78%,
            rgba(0,0,0,.50) 100%
        ),
        linear-gradient(
            0deg,
            rgba(0,0,0,.78),
            transparent 42%
        );
}


/* ==========================================================
   GLOW
   ========================================================== */

.forged-hero__glow {
    position: absolute;

    right: 8%;
    top: 14%;

    width: 38vw;
    height: 38vw;

    z-index: -1;

    border:
        1px solid
        rgba(201,163,74,.08);

    border-radius: 50%;

    box-shadow:
        0 0 120px rgba(201,163,74,.08),
        inset 0 0 100px rgba(201,163,74,.03);
}


/* ==========================================================
   CONTEÚDO
   ========================================================== */

.forged-hero__inner {
    width: min(1440px,100%);

    flex: 1;

    margin: 0 auto;

    padding:
        clamp(110px,13vw,190px)
        clamp(28px,6vw,92px)
        105px;

    display: flex;
    align-items: center;
}


.forged-hero__content {
    width: min(
        var(--forged-hero-content-width),
        100%
    );

    opacity: 0;

    transform: translateY(28px);

    transition:
        opacity .85s ease,
        transform .85s cubic-bezier(.2,.8,.2,1);
}


.forged-hero.is-visible
.forged-hero__content {
    opacity: 1;
    transform: none;
}


/* ==========================================================
   ALINHAMENTO
   ========================================================== */

.forged-hero--center
.forged-hero__inner {
    justify-content: center;
    text-align: center;
}


.forged-hero--center
.forged-hero__content {
    margin-inline: auto;
}


/* ==========================================================
   EYEBROW
   ========================================================== */

.forged-hero__eyebrow {
    display: flex;
    align-items: center;

    gap: 15px;

    margin-bottom: 24px;

    color: #dddddd;

    font-size: 11px;
    font-weight: 900;

    letter-spacing: .42em;
}


.forged-hero__eyebrow::before {
    content: "";

    width: 62px;
    height: 2px;

    background:
        var(--forged-hero-gold);
}


.forged-hero--center
.forged-hero__eyebrow {
    justify-content: center;
}


/* ==========================================================
   TÍTULO
   ========================================================== */

.forged-hero__title {
    margin: 0;

    font-family:
        Impact,
        "Arial Narrow",
        Arial,
        sans-serif;

    font-size:
        var(--forged-hero-title-desktop);

    line-height: .91;

    letter-spacing: .005em;

    text-transform: uppercase;
}


.forged-hero__title
.forged-hero__line {
    display: block;
    margin: 0;
}


.forged-hero__title
.forged-hero__line--white {
    color: #f4f4f4;

    font-weight: 900;
}


.forged-hero__title
.forged-hero__line--gold {
    margin-top: .09em;

    color:
        var(--forged-hero-gold);

    font-size:
        var(--forged-hero-highlight-desktop);

    font-weight: 900;
}


.forged-hero__title
.forged-hero__line--final {
    margin-top: .12em;

    color:
        var(--forged-hero-gold);

    font-size:
        var(--forged-hero-highlight-desktop);

    font-weight: 900;

    text-shadow:
        0 16px 50px
        rgba(201,163,74,.16);
}


.forged-hero__title
.forged-hero__line--final:first-letter {
    color: #f4f4f4;
}


/* ==========================================================
   SUBTÍTULO
   ========================================================== */

.forged-hero__subtitle {
    margin: 26px 0 0;

    color: #e5e5e5;

    font-size:
        clamp(11px,1.2vw,16px);

    font-weight: 800;

    letter-spacing: .35em;
}


/* ==========================================================
   BOTÕES
   ========================================================== */

.forged-hero__actions {
    display: flex;
    flex-wrap: wrap;

    gap: 18px;

    margin-top: 34px;
}


.forged-hero--center
.forged-hero__actions {
    justify-content: center;
}


.forged-btn {
    min-height: 58px;

    padding:
        0 31px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid transparent;

    text-decoration: none;
    text-transform: uppercase;

    font-size: 10px;
    font-weight: 900;

    letter-spacing: .16em;

    transition:
        transform .22s,
        background .22s,
        color .22s,
        border-color .22s;
}


.forged-btn:hover {
    transform:
        translateY(-3px);
}


.forged-btn--primary {
    background:
        var(--forged-hero-gold);

    color: #050505;
}


.forged-btn--primary:hover {
    background: #e0bd68;
}


.forged-btn--ghost {
    border-color:
        rgba(255,255,255,.45);

    color: #ffffff;

    background:
        rgba(0,0,0,.2);
}


.forged-btn--ghost:hover {
    border-color:
        var(--forged-hero-gold);

    color:
        var(--forged-hero-gold);
}


/* ==========================================================
   SELO
   ========================================================== */

.forged-hero__badge {
    width: max-content;
    max-width: 100%;

    margin-top: 24px;

    padding: 14px 19px;

    display: flex;

    align-items: center;

    gap: 12px;

    border-left:
        2px solid
        var(--forged-hero-gold);

    color: #a9a9a9;

    background:
        rgba(0,0,0,.28);

    font-size: 9px;
    font-weight: 900;

    letter-spacing: .2em;
}


.forged-hero--center
.forged-hero__badge {
    margin-inline: auto;
}


.forged-hero__lock {
    color:
        var(--forged-hero-gold);
}


/* ==========================================================
   PILARES
   ========================================================== */

.forged-hero__pillars {
    min-height: 118px;

    padding:
        20px
        clamp(28px,5vw,76px);

    display: grid;

    grid-template-columns:
        repeat(4,1fr);

    align-items: center;

    background:
        rgba(4,4,4,.96);

    border-top:
        1px solid
        rgba(255,255,255,.08);
}


.forged-hero__pillars > div {
    min-height: 62px;

    padding:
        0 30px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    border-right:
        1px solid
        rgba(201,163,74,.42);
}


.forged-hero__pillars > div:last-child {
    border-right: 0;
}


.forged-hero__pillars strong {
    color: #ffffff;

    font-size: 10px;

    letter-spacing: .2em;
}


.forged-hero__pillars span {
    margin-top: 8px;

    color: #8f8f8f;

    font-size: 13px;
}


/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width:900px) {

    .forged-hero {
        min-height:
            var(--forged-hero-height-tablet);
    }


    .forged-hero::before {
        background-position:
            var(--forged-hero-image-position);
    }


    .forged-hero__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0,0,0,.96),
                rgba(0,0,0,.72) 60%,
                rgba(0,0,0,var(--forged-hero-overlay))
            );
    }


    .forged-hero__inner {
        align-items: flex-end;

        padding-bottom: 70px;
    }


    .forged-hero__title {
        font-size:
            var(--forged-hero-title-tablet);

        line-height: .92;
    }


    .forged-hero__title
    .forged-hero__line--gold,

    .forged-hero__title
    .forged-hero__line--final {
        font-size:
            var(--forged-hero-highlight-tablet);
    }


    .forged-hero__title
    .forged-hero__line--gold {
        margin-top: .08em;
    }


    .forged-hero__title
    .forged-hero__line--final {
        margin-top: .10em;
    }


    .forged-hero__pillars {
        grid-template-columns:
            repeat(2,1fr);
    }


    .forged-hero__pillars
    > div:nth-child(2) {
        border-right: 0;
    }


    .forged-hero__pillars
    > div:nth-child(-n+2) {
        border-bottom:
            1px solid
            rgba(255,255,255,.07);
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width:560px) {

    .forged-hero {
        min-height:
            var(--forged-hero-height-mobile);
    }


    .forged-hero::after {
        font-size: 52vw;

        right: -.15em;
    }


    .forged-hero::before {
        background-position:
            var(--forged-hero-image-position);
    }


    .forged-hero__overlay {
        background:
            linear-gradient(
                0deg,
                rgba(0,0,0,.98),
                rgba(0,0,0,var(--forged-hero-overlay)) 80%
            );
    }


    .forged-hero__inner {
        padding:
            100px 18px 48px;

        align-items: flex-end;
    }


    .forged-hero__eyebrow {
        gap: 10px;

        letter-spacing: .25em;
    }


    .forged-hero__eyebrow::before {
        width: 34px;
    }


    .forged-hero__title {
        font-size:
            var(--forged-hero-title-mobile);

        line-height: .94;
    }


    .forged-hero__title
    .forged-hero__line--gold,

    .forged-hero__title
    .forged-hero__line--final {
        font-size:
            var(--forged-hero-highlight-mobile);
    }


    .forged-hero__subtitle {
        margin-top: 22px;

        letter-spacing: .2em;

        line-height: 1.6;
    }


    .forged-hero__actions {
        flex-direction: column;

        gap: 12px;
    }


    .forged-btn {
        width: 100%;
    }


    .forged-hero__badge {
        width: 100%;

        justify-content: center;

        text-align: center;

        font-size: 8px;
    }


    .forged-hero__pillars {
        grid-template-columns: 1fr;

        padding:
            0 20px;
    }


    .forged-hero__pillars > div {
        padding:
            16px 0;

        border-right: 0;

        border-bottom:
            1px solid
            rgba(255,255,255,.07);
    }


    .forged-hero__pillars
    > div:last-child {
        border-bottom: 0;
    }

}