/* Semana ENEF — complementos (layout principal: para-empresa) */

/* Hero: imagem no fluxo do documento — no mobile fica logo abaixo do header (evita centralização vertical do background em 100vh) */
.enef-hero {
    position: relative;
    box-sizing: border-box;
    background-color: var(--main-bg-blue);
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.enef-hero-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 120px);
    object-fit: contain;
    object-position: top center;
}

/* Só mobile: preenche o vazio do .header (min-height: 100vh) com texto útil */
.enef-hero-mobile-intro {
    display: none;
}

@media (max-width: 1100px) {
    /* Hero só com a altura do conteúdo — evita “buraco” azul até a seção de baixo */
    .header:has(.enef-hero) {
        min-height: 0;
    }

    .header:has(.enef-hero) .overlay {
        max-height: none;
    }

    .enef-hero {
        min-height: 0;
        padding-top: 88px;
        padding-bottom: 1.25rem;
        align-items: stretch;
    }

    .enef-hero-img {
        max-height: none;
        object-fit: scale-down;
        object-position: top center;
        align-self: center;
        flex-shrink: 0;
    }

    .enef-hero-mobile-intro {
        display: block;
        flex: 0 0 auto;
        align-self: stretch;
        padding: 1rem 1.25rem 0;
        text-align: left;
    }

    .enef-page .first {
        margin: 1.25rem auto 2.5rem auto;
    }

    .enef-hero-mobile-intro__dates {
        margin: 0 0 0.35rem;
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.02em;
        color: var(--title-yellow);
    }

    .enef-hero-mobile-intro__title {
        margin: 0 0 0.85rem;
        font-size: 1.35rem;
        font-weight: 900;
        line-height: 1.25;
        color: var(--main-white);
    }

    .enef-hero-mobile-intro__lead,
    .enef-hero-mobile-intro__theme {
        margin: 0 0 0.85rem;
        font-size: 0.95rem;
        line-height: 1.5;
        color: rgba(255, 255, 255, 0.92);
    }

    .enef-hero-mobile-intro__theme strong,
    .enef-hero-mobile-intro__lead strong {
        color: var(--main-white);
        font-weight: 700;
    }
}

.empresa-page .items .text .description strong {
    color: var(--main-white);
    font-weight: 700;
}

a.enef-inline-link {
    color: var(--main-white);
    text-decoration: underline;
    font-weight: 600;
}

a.enef-inline-link:hover {
    color: var(--title-yellow);
    text-decoration: underline;
}

/* Ajuste do <mark> no hero quando o tema é longo */
.empresa-slideshow mark {
    display: inline-block;
    max-width: 920px;
    line-height: 1.35;
}

/* Botão flutuante — mesmo padrão de para-voce / para-investir */
.call-btn {
    z-index: 8;
    position: fixed;
    bottom: 30px;
    right: 180px;
}

.call-btn a {
    text-decoration: none;
}

.call {
    width: 260px;
    margin: auto;
    border-radius: 60px;
    min-height: 90px;
    min-width: 90px;
    background-color: lightgray;
    border: none;
    color: white;
    transition: 0.6s;
    cursor: pointer;
}

.call:focus {
    outline: none;
}

.call:hover {
    opacity: 1;
    background-color: white;
}

.call .call-title {
    font-size: 19px;
    margin: 0 auto;
    font-weight: 900;
    color: var(--menu-blue);
}

@media (max-width: 1800px) {
    .call-btn {
        right: 140px;
    }

    .call {
        width: 200px;
        border-radius: 40px;
        min-width: 65px;
        min-height: 65px;
    }

    .call .call-title {
        font-size: 14px;
    }
}

@media (max-width: 1100px) {
    /* Mesma linha do WhatsApp (header: bottom 20px, right 20px, círculo 60px) — Simulador à esquerda */
    .call-btn {
        right: calc(20px + 60px + 12px);
        bottom: 20px;
        z-index: 999;
    }

    .call {
        width: 180px;
        min-height: 72px;
    }

    .call .call-title {
        font-size: 13px;
        padding: 0 8px;
    }
}
