/* ============================================
   DevPlus — Carreiras
   Vagas, cultura, benefícios
   ============================================ */

/* --- NAVBAR INTERNA --- */
.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.back-link:hover {
    color: var(--brand-cyan);
    background: rgba(13,185,199,0.06);
}

/* --- FOOTER GRID --- */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 32px;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    padding: 4px 0;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--brand-cyan);
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    transition: all var(--transition-base);
    padding: 0;
}

.footer-socials a:hover {
    background: rgba(13,185,199,0.1);
    border-color: var(--brand-cyan);
    color: var(--brand-cyan);
    transform: translateY(-2px);
}

/* --- BG AMBIENT --- */
.bg-ambient {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(13,185,199,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(122,204,69,0.05) 0%, transparent 50%);
    background-attachment: fixed;
}

.bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, black 0%, transparent 70%);
}

/* --- HERO --- */
.careers-hero {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
}

.careers-hero::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 400px;
    background: radial-gradient(circle, rgba(122,204,69,0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.careers-hero .container {
    position: relative;
    z-index: 1;
}

.careers-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(122,204,69,0.08);
    border: 1px solid rgba(122,204,69,0.2);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--brand-green);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}

.careers-hero-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 110px;
    height: 110px;
    border-radius: 24px;
    background: rgba(122,204,69,0.08);
    border: 1px solid rgba(122,204,69,0.15);
    color: var(--brand-green);
    margin: 0 auto 28px;
}

.careers-hero-icon svg {
    width: 56px;
    height: 56px;
}

.careers-hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.careers-hero-sub {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 640px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.careers-hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- SEÇÕES GENÉRICAS --- */
.careers-section {
    padding: 80px 0;
    position: relative;
}

.careers-section-alt {
    background: rgba(255,255,255,0.01);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.careers-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.careers-section-header .section-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-cyan);
    margin-bottom: 12px;
}

.careers-section-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.careers-section-header p {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

/* --- CULTURA — VALORES --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 8px 30px rgba(13,185,199,0.08);
}

.value-card-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.value-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.value-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- BENEFÍCIOS --- */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-base);
}

.benefit-item:hover {
    border-color: var(--border-hover);
}

.benefit-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(13,185,199,0.08);
    border: 1px solid rgba(13,185,199,0.12);
    color: var(--brand-cyan);
}

.benefit-icon svg {
    width: 22px;
    height: 22px;
}

.benefit-text h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.benefit-text p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* --- VAGAS --- */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}

.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 28px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.job-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 20px rgba(13,185,199,0.06);
}

.job-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 12px;
    background: rgba(13,185,199,0.06);
    border: 1px solid rgba(13,185,199,0.12);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.job-tag svg {
    width: 12px;
    height: 12px;
    opacity: 0.7;
}

.job-apply {
    flex-shrink: 0;
}

.job-apply .btn {
    padding: 10px 24px;
    font-size: 0.85rem;
}

/* --- EMPTY STATE (sem vagas) --- */
.no-jobs {
    text-align: center;
    padding: 60px 0;
    max-width: 500px;
    margin: 0 auto;
}

.no-jobs-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.6;
}

.no-jobs h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.no-jobs p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* --- PROCESSO SELETIVO --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.process-step {
    text-align: center;
    padding: 32px 20px;
    position: relative;
}

.process-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.process-step h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- CTA --- */
.careers-cta {
    padding: 80px 0;
    text-align: center;
}

.careers-cta h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.careers-cta p {
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 32px;
    font-size: 1rem;
    line-height: 1.7;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .careers-hero h1 { font-size: 2rem; }
    .careers-hero-sub { font-size: 1rem; }
    .careers-section-header h2 { font-size: 1.7rem; }
    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .job-apply { width: 100%; }
    .job-apply .btn { width: 100%; }
    .process-steps { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
    .careers-hero { padding: 130px 0 60px; }
    .careers-hero h1 { font-size: 1.6rem; }
    .values-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
}
