/* ========= BASE (DESKTOP FIRST) ========= */

.hero {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
}


.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(254deg, rgba(26,26,26,0) -2%, #313131 154%);
    opacity: 0.6;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding-inline: 80px;
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin: 0 auto;
    padding-top: 180px;
    padding-bottom: 0;
    height: auto;
    min-height: 801px;
}

.hero-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 80px;
    z-index: 9999;

    background: rgba(20,20,20,0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}




.hero-logo img {
    padding-left: 70%;
    height: 49px;
}

.hero-nav {
    padding-left: 20%;
    display: flex;
    gap: 3rem;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.hero-nav a {
    color: #878787;
    text-decoration: none;
}

.hero-nav a:hover {
    color: white;
}

.hero-social {
    display: flex;
    gap: 0.75rem;
}

.hero-social img {
    width: 25px;
    height: 25px;
}

/* PRINCIPAL BLOCO */

.hero-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-content {
    
    flex: 0 0 45%;
    margin-top: 40px;
    max-width: 564px;
}

.hero-accent-bar {
    width: 120px;
    height: 5px;
    border-radius: 25px;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    margin-bottom: 24px;
}

.hero-title {
    font-weight: 600;
    font-size: 38px;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.35;
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 21px;
    line-height: 1.4;
    padding-bottom: 1rem;
}

.hero-content p strong {
    font-weight: 520;
}

/* BOTÃO CTA */

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 2% 10%;
    height: 52px;
    border-radius: 999px;
    font-weight: 700;
    color: #1a1207;
    text-decoration: none;
    background: linear-gradient(90deg, var(--gold-start), var(--gold-end));
    box-shadow: 0 0 20px rgba(247, 206, 182, 0.25);
}

/* ========= HERO MEDIA (CORRIGIDO) ========= */

.hero-media {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 55vw;
    height: auto;
    max-height: 801px; /* ajuste fino */
    display: flex;
    align-items: flex-end;
    z-index: 1;              /* CORREÇÃO — antes era -1 */
    pointer-events: none;    /* garante que nunca bloqueia clique */
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
    pointer-events: none;    /* redundância segura */
}


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

@media (max-width: 1023px) {

    .hero-inner {
        padding: 6.5rem 1.5rem 0rem;
        gap: 2.5rem;
        height: auto;
    }

    .hero-header {     
        margin-bottom: 2rem;
        display: flex;
        flex-direction: column;
        padding-bottom: 1rem;
    }

    .hero-logo img {
        align-items: center;
        padding: 0;
        height: 44px;
    }

    .hero-nav {
        display: none;
        border: 0;
        margin: 2rem 0 0 0;
        padding: 0;
        font-size: 11px;
        gap: 1.5rem;
        align-items: center;
    }

    .hero-social img {
        display: none;
    }

    .hero-main {
        flex-direction: column;
    }

    .hero-content {
        margin-top: 0;
    }

    .hero-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-bottom: 24px;
    }

    .hero-cta {
        padding: 0;
        width: 100%;
        height: 48px;
        margin-top: 20px;
    }

    /* MOBILE MEDIA */
    .hero-media {
        position: relative;
        right: 50%;
        width: 250%;
        height: auto;
        margin-top: 1rem;
        z-index: 1;              /* garante clique */
        pointer-events: none;
    }
}
