/* ============================================================
   vagas.css — segue o padrão visual do projeto EAD
   Light mode: branco / #101010 / #fdc202
   Dark mode:  body:not(.light-theme) — mesma lógica do style.css
   ============================================================ */

/* ---- Seção principal ---------------------------------------- */
.vagas-area {
    background: #fff;
    padding: 100px 0 120px;
    position: relative;
}

/* ---- Cabeçalho de seção (igual ao padrão .section-title.upper) */
.vagas-section-title {
    text-align: center;
    margin-bottom: 60px;
}

.vagas-section-title .depo-vagas {
    opacity: 0.04;
    font-size: 70px;
    line-height: 58px;
    color: #101010;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 30px;
    display: block;
}

.vagas-section-title h2,
.vagas-section-title h1 {
    font-size: 42px;
    line-height: 52px;
    color: #101010;
    font-weight: 600;
    margin: 0;
    position: relative;
    top: -52px;
}

.vagas-section-title h2 span,
.vagas-section-title h1 span {
    color: #fdc202;
}

.vagas-section-title h2::before,
.vagas-section-title h1::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -20px;
    width: 75px;
    height: 2px;
    background: #fdc202;
    margin: 0 auto;
}

.vagas-section-desc {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    max-width: 600px;
    margin: -30px auto 0;
}

/* ---- Card de vaga ------------------------------------------- */
.vaga-card {
    background: #fff;
    border: 1px solid #e9ebec;
    border-top: 3px solid #fdc202;
    margin-bottom: 50px;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.vaga-card:last-child {
    margin-bottom: 0;
}

.vaga-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
}

/* ---- Header do card ----------------------------------------- */
.vaga-header {
    padding: 36px 40px 28px;
    border-bottom: 1px solid #f0f0f0;
}

.vaga-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.vaga-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid #101010;
    background: transparent;
    color: #101010;
}

.vaga-tag.home {
    border-color: #fdc202;
    color: #fdc202;
}

.vaga-title {
    font-size: 26px;
    line-height: 1.3;
    color: #101010;
    font-weight: 700;
    margin: 0 0 12px;
}

.vaga-intro {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    max-width: 680px;
}

/* ---- Corpo do card ------------------------------------------ */
.vaga-body {
    padding: 32px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.vaga-block {
    grid-column: 1 / -1;
    padding-bottom: 28px;
    margin-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
}

.vaga-block-half {
    padding-right: 40px;
    padding-bottom: 28px;
    margin-bottom: 28px;
}

.vaga-block-half:nth-child(even) {
    padding-right: 0;
    padding-left: 40px;
    border-left: 1px solid #f0f0f0;
}

.vaga-block-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #101010;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #fdc202;
    display: inline-block;
}

.vaga-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vaga-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 15px;
    line-height: 1.55;
    color: #333;
}

.vaga-list li i {
    color: #fdc202;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ---- Remuneração -------------------------------------------- */
.vaga-remuneracao {
    grid-column: 1 / -1;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-left: 4px solid #fdc202;
    padding: 24px 28px;
    margin-top: 0;
    margin-bottom: 0;
}

.vaga-salary-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.vaga-salary-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #777;
}

.vaga-salary-value {
    font-size: 30px;
    font-weight: 800;
    color: #101010;
    letter-spacing: -0.5px;
    line-height: 1;
}

.vaga-salary-period {
    font-size: 14px;
    color: #777;
}

.vaga-bonus-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vaga-bonus-item {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 14px;
    line-height: 1.5;
    color: #444;
}

.vaga-bonus-item i {
    color: #fdc202;
    font-size: 13px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* ---- Rodapé do card (candidatura) --------------------------- */
.vaga-footer {
    padding: 28px 40px;
    background: #f8f8f8;
    border-top: 1px solid #f0f0f0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 28px;
}

.vaga-candidatar-info {
    flex: 1;
    min-width: 200px;
}

.vaga-candidatar-title {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #101010;
    margin: 0 0 10px;
}

.vaga-candidatar-items {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vaga-candidatar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.vaga-candidatar-item i {
    color: #fdc202;
    font-size: 13px;
    flex-shrink: 0;
}

.vaga-entrevista-note {
    margin-top: 10px;
    font-size: 13px;
    color: #888;
    font-style: italic;
}

/* Botão WhatsApp — mesmo estilo de .home-five-button a do projeto */
.vaga-cta-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    padding: 14px 32px !important;
    border: 1px solid #101010 !important;
    border-radius: 40px !important;
    background-color: #101010 !important;
    color: #fff !important;
    text-decoration: none !important;
    transition: border-color 300ms ease, background-color 300ms ease, color 300ms ease !important;
    white-space: nowrap;
    align-self: center;
}

.vaga-cta-btn:hover {
    background-color: #fdc202 !important;
    border-color: #fdc202 !important;
    color: #101010 !important;
    text-decoration: none !important;
}

.vaga-cta-btn i {
    font-size: 18px;
}

/* ================================================================
   DARK MODE — body:not(.light-theme)
   segue exatamente o mesmo padrão do style.css
   ================================================================ */

body:not(.light-theme) .vagas-area {
    background: #0a0a0a;
}

body:not(.light-theme) .vagas-section-title .depo-vagas {
    color: #fff;
}

body:not(.light-theme) .vagas-section-title h2,
body:not(.light-theme) .vagas-section-title h1 {
    color: #fff;
}

body:not(.light-theme) .vagas-section-desc {
    color: #999;
}

body:not(.light-theme) .vaga-card {
    background: #111111;
    border-color: #222;
    border-top-color: #fdc202;
}

body:not(.light-theme) .vaga-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: #2a2a2a;
}

body:not(.light-theme) .vaga-header {
    border-bottom-color: #1e1e1e;
}

body:not(.light-theme) .vaga-tag {
    border-color: #fff;
    color: #fff;
}

body:not(.light-theme) .vaga-tag.home {
    border-color: #fdc202;
    color: #fdc202;
}

body:not(.light-theme) .vaga-title {
    color: #fff;
}

body:not(.light-theme) .vaga-intro {
    color: #999;
}

body:not(.light-theme) .vaga-block {
    border-bottom-color: #1e1e1e;
}

body:not(.light-theme) .vaga-block-half:nth-child(even) {
    border-left-color: #1e1e1e;
}

body:not(.light-theme) .vaga-block-title {
    color: #fff;
}

body:not(.light-theme) .vaga-list li {
    color: #ccc;
}

body:not(.light-theme) .vaga-remuneracao {
    background: #0f0f0f;
    border-color: #1e1e1e;
    border-left-color: #fdc202;
}

body:not(.light-theme) .vaga-salary-value {
    color: #fdc202;
}

body:not(.light-theme) .vaga-salary-label,
body:not(.light-theme) .vaga-salary-period {
    color: #777;
}

body:not(.light-theme) .vaga-bonus-item {
    color: #aaa;
}

body:not(.light-theme) .vaga-footer {
    background: #0d0d0d;
    border-top-color: #1e1e1e;
}

body:not(.light-theme) .vaga-candidatar-title {
    color: #fff;
}

body:not(.light-theme) .vaga-candidatar-item {
    color: #999;
}

body:not(.light-theme) .vaga-cta-btn {
    border-color: #fdc202 !important;
    background-color: #fdc202 !important;
    color: #101010 !important;
}

body:not(.light-theme) .vaga-cta-btn:hover {
    background-color: #fff !important;
    border-color: #fff !important;
    color: #101010 !important;
}

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

@media (max-width: 991px) {
    .vagas-area {
        padding: 80px 0 100px;
    }

    .vaga-body {
        grid-template-columns: 1fr;
        padding: 28px 28px;
    }

    .vaga-block,
    .vaga-block-half,
    .vaga-remuneracao {
        grid-column: 1 / -1;
    }

    .vaga-block-half {
        padding-right: 0;
        padding-left: 0;
        border-left: none !important;
    }

    .vaga-header,
    .vaga-footer {
        padding-left: 28px;
        padding-right: 28px;
    }

    .vaga-footer {
        flex-direction: column;
    }

    .vaga-cta-btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 575px) {
    .vagas-area {
        padding: 60px 0 80px;
    }

    .vagas-section-title h2,
.vagas-section-title h1 {
        font-size: 30px;
        line-height: 40px;
    }

    .vagas-section-title .depo-vagas {
        font-size: 48px;
    }

    .vaga-header,
    .vaga-footer,
    .vaga-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .vaga-title {
        font-size: 22px;
    }

    .vaga-salary-value {
        font-size: 26px;
    }
}
