/* ── Banner do Evento (Home) ─────────────────────────────────────────────── */
.mhe-banner {
    display: flex;
    align-items: stretch;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,.12);
    min-height: 320px;
    margin-bottom: 2rem;
    background: #1a1a2e;
}

.mhe-banner__imagem {
    flex: 0 0 42%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 280px;
}

.mhe-banner__conteudo {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2.5rem 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    color: #fff;
    gap: .6rem;
}

.mhe-banner__conteudo--sem-imagem {
    border-radius: 12px;
}

.mhe-banner__header {
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .6rem;
}

.mhe-countdown {
    font-size: .82rem;
    font-weight: 600;
    color: rgba(255,255,255,.85);
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px;
    padding: .3rem .9rem;
    letter-spacing: .02em;
}

.mhe-countdown__label {
    opacity: .75;
    margin-right: .3rem;
}

.mhe-badge {
    display: inline-block;
    padding: .3rem .9rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}
.mhe-badge--aberto    { background: rgba(46,213,115,.18); color: #2ed573; border: 1px solid #2ed573; }
.mhe-badge--encerrado { background: rgba(255,71,87,.18);  color: #ff4757; border: 1px solid #ff4757; }
.mhe-badge--breve     { background: rgba(255,165,2,.18);  color: #ffa502; border: 1px solid #ffa502; }

.mhe-banner__titulo {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 .4rem;
}

.mhe-banner__meta {
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.mhe-meta-item {
    font-size: .92rem;
    color: rgba(255,255,255,.82);
    line-height: 1.4;
}

.mhe-banner__percursos {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .4rem;
}

.mhe-percurso-tag {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 6px;
    padding: .25rem .7rem;
    font-size: .82rem;
    font-weight: 600;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: .15rem;
}

.mhe-percurso-tag small {
    font-weight: 400;
    opacity: .8;
}

.mhe-percurso-vagas {
    font-size: .8rem;
    font-weight: 500;
    color: rgba(255,255,255,.7);
    display: block;
}

.mhe-banner__acoes {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1rem;
}

.mhe-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .75rem 1.6rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s, opacity .15s;
    white-space: nowrap;
}

.mhe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
    text-decoration: none;
}

.mhe-btn--primario {
    background: #e94560;
    color: #fff;
}

.mhe-btn--primario:hover {
    background: #d03050;
    color: #fff;
}

.mhe-btn--secundario {
    background: rgba(255,255,255,.12);
    color: #fff;
    border: 1.5px solid rgba(255,255,255,.3);
}

.mhe-btn--secundario:hover {
    background: rgba(255,255,255,.22);
    color: #fff;
}

.mhe-vazio {
    text-align: center;
    color: #999;
    padding: 2rem;
}

/* ── Cronograma ────────────────────────────────────────────────────────────── */
.mhe-cronograma {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    padding: 2rem 2.5rem;
    margin-bottom: 2rem;
}

.mhe-cronograma__titulo {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 1.5rem;
    padding-bottom: .75rem;
    border-bottom: 2px solid #f0f0f0;
}

.mhe-cronograma__lista {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mhe-cronograma__item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid #f4f4f4;
    position: relative;
}

.mhe-cronograma__item:last-child {
    border-bottom: none;
}

.mhe-cronograma__icone {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
    width: 2.2rem;
    text-align: center;
    margin-top: .1rem;
}

.mhe-cronograma__info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .2rem;
}

.mhe-cronograma__item-titulo {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
}

.mhe-cronograma__data {
    font-size: .82rem;
    color: #e94560;
    font-weight: 600;
}

.mhe-cronograma__desc {
    font-size: .88rem;
    color: #555;
    line-height: 1.5;
    margin: .2rem 0 0;
}

/* ── Responsivo ────────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .mhe-banner {
        flex-direction: column;
        min-height: auto;
    }

    .mhe-banner__imagem {
        flex: 0 0 auto;
        height: 220px;
        width: 100%;
    }

    .mhe-banner__conteudo {
        padding: 1.5rem 1.25rem;
    }

    .mhe-banner__titulo {
        font-size: 1.3rem;
    }

    .mhe-cronograma {
        padding: 1.25rem 1rem;
    }

    .mhe-banner__acoes {
        flex-direction: column;
    }

    .mhe-btn {
        justify-content: center;
    }
}

.mhe-badge-camiseta {
    display: inline-block;
    background: #e8f5e9;
    color: #1a6b3c;
    font-size: .75rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 20px;
    margin-left: 4px;
    vertical-align: middle;
}
