﻿/* Employed UI â€” listagens, single e CTA (alinha com a home) */

:root {
    --emp-blue: #2563eb;
    --emp-blue-deep: #1d4ed8;
    --emp-ink: #0f172a;
    --emp-muted: #64748b;
    --emp-line: #e2e8f0;
    --emp-soft: #f8fafc;
    --emp-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    --emp-font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
    --primary-color: var(--emp-blue);
    --primary-hover: var(--emp-blue-deep);
    --bg-color: var(--emp-soft);
    --text-dark: var(--emp-ink);
    --text-muted: var(--emp-muted);
    --border-color: var(--emp-line);
}

.employed-archive,
.employed-single {
    font-family: var(--emp-font);
    color: var(--emp-ink);
    background: #fff;
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding-bottom: 72px;
    overflow: hidden;
}

.employed-single {
    background: var(--emp-soft);
}

/* â€”â€” Hero listagem â€”â€” */
.archive-header,
.emp-page-hero {
    position: relative;
    text-align: center;
    padding: 64px 20px 72px;
    border-bottom: 1px solid var(--emp-line);
    margin-bottom: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -10%, rgba(37, 99, 235, 0.16), transparent 55%),
        linear-gradient(180deg, #eff6ff 0%, #f8fafc 55%, #ffffff 100%);
}
.archive-header::before,
.emp-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000 35%, transparent 100%);
    pointer-events: none;
}
.archive-header > *,
.emp-page-hero > * {
    position: relative;
    z-index: 1;
}
.archive-title,
.emp-page-hero h1 {
    font-size: clamp(1.75rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--emp-ink);
    margin: 0 0 10px;
    line-height: 1.15;
}
.archive-subtitle,
.emp-page-hero p {
    font-size: 1.05rem;
    color: var(--emp-muted);
    max-width: 36em;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: 500;
}

.archive-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* â€”â€” Cards â€”â€” */
.jobs-grid,
.emp-jobs {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.emp-job {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    border: 1px solid var(--emp-line);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.emp-job:hover {
    border-color: #bfdbfe;
    box-shadow: var(--emp-shadow);
    transform: translateY(-2px);
}
.emp-job h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--emp-blue);
    letter-spacing: -0.01em;
}
.emp-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 13px;
    color: var(--emp-muted);
    font-weight: 500;
}
.emp-job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.emp-job-meta svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    opacity: 0.7;
}
.emp-job-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
.emp-tag {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: var(--emp-soft);
    color: var(--emp-muted);
}
.emp-tag--remote {
    background: #dcfce7;
    color: #166534;
}
.emp-job-cta {
    flex-shrink: 0;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--emp-soft);
    color: var(--emp-blue);
    font-weight: 700;
    font-size: 13px;
    transition: background 0.2s, color 0.2s;
}
.emp-job:hover .emp-job-cta {
    background: var(--emp-blue);
    color: #fff;
}

/* â€”â€” Empty â€”â€” */
.emp-empty {
    text-align: center;
    padding: 48px 24px;
    background: #fff;
    border: 1px solid var(--emp-line);
    border-radius: 14px;
}
.emp-empty h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--emp-ink);
}
.emp-empty p {
    margin: 0 0 18px;
    color: var(--emp-muted);
    font-weight: 500;
}
.emp-empty a {
    display: inline-flex;
    background: var(--emp-blue);
    color: #fff;
    padding: 12px 22px;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
}
.emp-empty a:hover {
    background: var(--emp-blue-deep);
}

/* â€”â€” Pagination â€”â€” */
.employed-pagination {
    margin-top: 40px;
    text-align: center;
}
.employed-pagination .nav-links,
.employed-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.employed-pagination .page-numbers {
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid var(--emp-line);
    background: #fff;
    color: var(--emp-ink);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: 0.2s;
}
.employed-pagination .page-numbers.current,
.employed-pagination .page-numbers:hover {
    background: var(--emp-blue);
    color: #fff;
    border-color: var(--emp-blue);
}
.employed-pagination .dots {
    border: none;
    background: transparent;
    color: var(--emp-muted);
}

/* â€”â€” CTA Telegram â€”â€” */
.emp-cta {
    margin: 48px auto 0;
    max-width: 960px;
    padding: 36px 28px;
    border-radius: 18px;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 55%, #1d4ed8 140%);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    position: relative;
    overflow: hidden;
}
.emp-cta::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    bottom: -100px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.2);
    pointer-events: none;
}
.emp-cta-copy {
    position: relative;
    z-index: 1;
    max-width: 420px;
}
.emp-cta-copy h2 {
    margin: 0 0 8px;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fff;
}
.emp-cta-copy p {
    margin: 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 500;
}
.emp-cta-actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.emp-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
    text-decoration: none;
    transition: transform 0.15s, background 0.2s;
}
.emp-cta-btn:active {
    transform: scale(0.98);
}
.emp-cta-btn--primary {
    background: #fff;
    color: var(--emp-ink);
}
.emp-cta-btn--primary:hover {
    background: #eff6ff;
}
.emp-cta-btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.emp-cta-btn--ghost:hover {
    border-color: #fff;
}

/* â€”â€” Single â€”â€” */
.single-header {
    position: relative;
    padding: 48px 20px 72px;
    border-bottom: 1px solid var(--emp-line);
    background:
        radial-gradient(ellipse 80% 60% at 20% -10%, rgba(37, 99, 235, 0.16), transparent 55%),
        linear-gradient(180deg, #eff6ff 0%, #f8fafc 60%, #ffffff 100%);
}
.single-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.04) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
    pointer-events: none;
}
.single-header-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}
.back-link {
    display: inline-flex;
    margin-bottom: 20px;
    color: var(--emp-blue);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}
.back-link:hover {
    text-decoration: underline;
}
.single-title {
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--emp-ink);
    margin: 0 0 18px;
    line-height: 1.2;
}
.single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    font-size: 15px;
    color: var(--emp-muted);
    margin-bottom: 18px;
    font-weight: 500;
}
.single-meta span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.single-meta svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    opacity: 0.7;
}
.single-meta strong {
    color: var(--emp-ink);
    font-weight: 700;
}
.badge-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.badge {
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #fff;
    color: var(--emp-muted);
    border: 1px solid var(--emp-line);
}
.badge-remote {
    background: #dcfce7;
    color: #166534;
    border-color: #bbf7d0;
}
.single-content-container {
    max-width: 900px;
    margin: -40px auto 0;
    padding: 44px;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--emp-shadow);
    border: 1px solid var(--emp-line);
    line-height: 1.75;
    font-size: 16px;
    color: #334155;
    position: relative;
    z-index: 10;
    font-family: var(--emp-font);
}
.single-content-container h2,
.single-content-container h3,
.single-content-container strong {
    color: var(--emp-ink);
}
.single-content-container h2 {
    margin-top: 36px;
    margin-bottom: 16px;
    font-size: 1.25rem;
    font-weight: 800;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}
.single-content-container ul {
    margin-bottom: 24px;
    padding-left: 20px;
}
.single-content-container li {
    margin-bottom: 8px;
}
.employed-apply-btn-container {
    margin-top: 40px !important;
    padding-top: 32px;
    border-bottom: 1px solid var(--emp-line);
    padding-bottom: 32px;
}
.emp-single-cta-wrap {
    max-width: 900px;
    margin: 28px auto 0;
    padding: 0 20px;
}

.whatsapp-floating-btn {
    display: none;
}

@media (max-width: 1024px) {
    .single-content-container {
        padding: 28px 18px;
        margin-top: -20px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    .whatsapp-floating-btn {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        background: #25d366;
        color: #fff;
        padding: 16px 24px;
        border-radius: 50px;
        font-size: 15px;
        font-weight: 800;
        text-decoration: none;
        position: fixed;
        bottom: -100px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 9999;
        box-shadow: 0 10px 25px -5px rgba(37, 211, 102, 0.45);
        width: 90%;
        max-width: 350px;
        font-family: var(--emp-font);
        transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    .whatsapp-floating-btn.show-btn {
        bottom: 30px;
    }
    .whatsapp-floating-btn:active {
        transform: translateX(-50%) scale(0.96);
    }
    .whatsapp-floating-btn svg {
        fill: #fff;
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 768px) {
    .archive-header,
    .emp-page-hero {
        padding: 48px 16px 56px;
    }
    .archive-container {
        padding: 0 16px;
    }
    .emp-job {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .emp-job-cta {
        display: none;
    }
    .emp-cta {
        margin: 36px 16px 0;
        padding: 28px 20px;
    }
    .emp-cta-btn {
        width: 100%;
    }
    .emp-single-cta-wrap {
        padding: 0 16px;
    }
}
