/* =====================================================
   HERO
===================================================== */

.portal-hero {
    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            var(--portal-blue-dark),
            var(--portal-blue)
        );
}


.portal-hero-container {
    max-width: 1180px;

    min-height: 380px;

    margin: 0 auto;

    padding: 60px 24px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    position: relative;
}


.portal-hero-content {
    max-width: 650px;

    position: relative;

    z-index: 2;
}


.portal-hero-label {
    display: inline-block;

    margin-bottom: 16px;

    color: var(--portal-yellow);

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.portal-hero h1 {
    margin: 0;

    color: white;

    font-size: 48px;

    line-height: 1.1;

    font-weight: 700;

    letter-spacing: -1px;
}


.portal-hero h1 strong {
    color: var(--portal-yellow);
}


.portal-hero p {
    max-width: 560px;

    margin: 22px 0 0;

    color: #DCE8F6;

    font-size: 17px;

    line-height: 1.6;
}


.portal-hero-info {
    display: flex;

    margin-top: 28px;
}


.portal-hero-info span {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 9px 14px;

    border: 1px solid rgba(255,255,255,0.18);

    border-radius: 30px;

    background: rgba(255,255,255,0.08);

    color: white;

    font-size: 13px;

    font-weight: 600;
}


/* =====================================================
   ELEMENTO DECORATIVO
===================================================== */

.portal-hero-decoration {
    width: 360px;

    height: 300px;

    position: relative;

    flex-shrink: 0;
}


.hero-circle {
    position: absolute;

    border-radius: 50%;
}


.hero-circle-1 {
    width: 250px;

    height: 250px;

    right: 25px;

    top: 25px;

    border: 30px solid rgba(255,255,255,0.08);
}


.hero-circle-2 {
    width: 120px;

    height: 120px;

    right: 10px;

    bottom: 10px;

    background: rgba(253,107,4,0.18);
}


.hero-icon {
    position: absolute;

    top: 75px;

    right: 85px;

    width: 130px;

    height: 130px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: white;

    color: var(--portal-blue);

    font-size: 55px;

    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}


/* =====================================================
   LISTAGEM
===================================================== */

.portal-vagas {
    background: var(--portal-background);
}


.portal-vagas-container {
    max-width: 1180px;

    margin: 0 auto;

    padding: 50px 24px 70px;
}


.portal-section-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    margin-bottom: 26px;
}


.portal-section-label {
    display: block;

    margin-bottom: 7px;

    color: var(--portal-orange);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;
}


.portal-section-header h2 {
    margin: 0;

    color: var(--portal-text);

    font-size: 29px;

    font-weight: 800;
}


.portal-section-header p {
    margin: 7px 0 0;

    color: var(--portal-text-secondary);

    font-size: 14px;
}


.portal-vagas-count {
    padding: 9px 14px;

    border-radius: 30px;

    background: #E8F0FA;

    color: var(--portal-blue);

    font-size: 14px;

    font-weight: 800;
}


.portal-vagas-count span {
    font-weight: 600;
}


/* =====================================================
   CARDS
===================================================== */

.portal-vagas-lista {
    display: grid;

    gap: 16px;
}


.portal-vaga-card {
    padding: 23px;

    background: white;

    border: 1px solid var(--portal-border);

    border-radius: 12px;

    transition:
        transform 0.2s,
        box-shadow 0.2s,
        border-color 0.2s;
}


.portal-vaga-card:hover {
    transform: translateY(-2px);

    border-color: #BDD2E9;

    box-shadow:
        0 10px 30px rgba(7,70,143,0.08);
}


.portal-vaga-main {
    display: flex;

    gap: 17px;
}


.portal-vaga-icon {
    width: 50px;

    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: #EAF2FB;

    color: var(--portal-blue);

    font-size: 21px;
}


.portal-vaga-info {
    min-width: 0;
}


.portal-vaga-info h3 {
    margin: 1px 0 6px;

    color: var(--portal-text);

    font-size: 19px;

    font-weight: 750;
}


.portal-vaga-empresa {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: var(--portal-text-secondary);

    font-size: 13px;
}


.portal-vaga-detalhes {
    display: flex;

    flex-wrap: wrap;

    gap: 17px;

    margin-top: 17px;
}


.portal-vaga-detalhes span {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    color: var(--portal-text-secondary);

    font-size: 13px;
}


.portal-vaga-detalhes i {
    color: var(--portal-blue);
}


.portal-vaga-salario {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 15px;

    color: var(--portal-blue);

    font-size: 14px;

    font-weight: 800;
}


.portal-vaga-footer {
    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 21px;

    padding-top: 17px;

    border-top: 1px solid #EEF2F6;
}

/* =====================================================
   PRAZO DAS INSCRIÇÕES
===================================================== */

.portal-vaga-prazo {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 14px;

    padding: 7px 10px;

    border-radius: 7px;

    background: #EEF5FC;

    color: var(--portal-blue);

    font-size: 12px;

    line-height: 1.3;

    font-weight: 600;
}


.portal-vaga-prazo i {
    flex-shrink: 0;

    font-size: 14px;
}


.portal-vaga-prazo strong {
    font-weight: 800;
}


/* =====================================================
   INSCRIÇÕES ENCERRADAS
===================================================== */

.portal-vaga-prazo.encerrado {
    background: #F1F5F9;

    color: #64748B;
}


.portal-vaga-prazo.encerrado i {
    color: #94A3B8;
}


.portal-vaga-data {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    color: #94A3B8;

    font-size: 12px;
}


.portal-btn-vaga {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 10px 16px;

    border-radius: 8px;

    background: var(--portal-orange);

    color: white;

    text-decoration: none;

    font-size: 13px;

    font-weight: 800;

    transition: 0.2s;
}


.portal-btn-vaga:hover {
    background: #E85E00;
}


/* =====================================================
   ESTADO VAZIO
===================================================== */

.portal-vagas-vazio {
    padding: 80px 20px;

    text-align: center;

    background: white;

    border: 1px dashed #CBD5E1;

    border-radius: 12px;
}


.portal-vazio-icon {
    width: 64px;

    height: 64px;

    margin: 0 auto 15px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #EAF2FB;

    color: var(--portal-blue);

    font-size: 27px;
}


.portal-vagas-vazio h3 {
    margin: 0 0 6px;

    color: var(--portal-text);

    font-size: 18px;
}


.portal-vagas-vazio p {
    margin: 0;

    color: var(--portal-text-secondary);

    font-size: 14px;
}


/* =====================================================
   RESPONSIVO
===================================================== */

@media (max-width: 760px) {

    .portal-hero-container {
        min-height: 340px;

        padding: 50px 20px;
    }


    .portal-hero h1 {
        font-size: 35px;
    }


    .portal-hero p {
        font-size: 15px;
    }


    .portal-hero-decoration {
        display: none;
    }


    .portal-vagas-container {
        padding: 35px 16px 50px;
    }


    .portal-section-header {
        align-items: flex-start;

        gap: 15px;
    }


    .portal-section-header h2 {
        font-size: 24px;
    }


    .portal-vaga-card {
        padding: 18px;
    }


    .portal-vaga-footer {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .portal-btn-vaga {
        width: 100%;

        justify-content: center;
    }

}