/* ====================================================
   PORTAL VAGAS + RH PORTAL - CSS UNIFICADO
   Identidade clara do Sanma Hotel — fundo branco em
   todas as páginas do portal (vagas, login, meu portal,
   candidatura). Antes era um tema escuro; os nomes das
   variáveis foram mantidos (--ink, --gold, --card-bg...)
   pra não precisar tocar no restante do arquivo nem nas
   páginas .cshtml, só os VALORES viraram claros.
   ==================================================== */

/* ---------- RESET & VARIÁVEIS ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Cores principais - identidade Sanma (tema claro) */
    --ink: #14181f;
    --ink-2: #454b59;
    --ink-3: #6b7280;
    --gold: #a9762f;
    --gold-2: #8a5f22;
    --gold-pale: rgba(169, 118, 47, 0.09);
    --cream: #f7f3ea;
    --cream-2: #efe9db;
    --muted: #6b7280;
    --border: rgba(15, 23, 42, 0.1);
    --border-light: rgba(15, 23, 42, 0.06);
    --card-bg: #ffffff;
    --pill-bg: #f4f5f7;
    --radius: 18px;
    --radius-sm: 10px;
    --nav-height: 140px;

    /* Cores do portal RH */
    --portal-surface: rgba(15, 23, 42, 0.03);
    --portal-surface-strong: rgba(15, 23, 42, 0.05);
    --portal-surface-card: #ffffff;
    --portal-text: #14181f;
    --portal-muted: rgba(15, 23, 42, 0.5);
    --portal-accent: var(--gold);
    --portal-accent-2: var(--gold-2);

    /* Status de candidatura */
    --status-pending: #3b6ea5;
    --status-pending-bg: rgba(59, 110, 165, 0.1);
    --status-approved: var(--gold-2);
    --status-approved-bg: rgba(138, 95, 34, 0.1);
    --status-rejected: #b1503a;
    --status-rejected-bg: rgba(177, 80, 58, 0.1);
    --status-pool: #6b57a8;
    --status-pool-bg: rgba(107, 87, 168, 0.1);
    --status-finalized: #2f7a4c;
    --status-finalized-bg: rgba(47, 122, 76, 0.1);
}

/* ---------- BASE ---------- */
html {
    scroll-behavior: smooth;
}

body.talent-portal {
    font-family: "Albert Sans", sans-serif;
    background: #ffffff;
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---------- BLOBS (decoração de fundo do tema escuro — desligadas
   no tema claro; a marcação continua no .cshtml, só não renderiza) ---------- */
.blob {
    display: none;
}

/* ---------- NAVEGAÇÃO ---------- */
.talent-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.925rem 4.375rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    height: var(--nav-height);
}

.talent-nav-brand {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transition: opacity 0.2s;
    justify-self: start;
}

.talent-nav-brand:hover {
    opacity: 0.7;
}

.talent-nav-brand-logo {
    height: 46px;
    width: auto;
    display: block;
}

.talent-nav-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.talent-nav-brand-sanma {
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.04em;
}

.talent-nav-brand-talentos {
    color: var(--gold);
    font-weight: 500;
    font-style: normal;
    font-size: 0.42em;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 0.3em;
}

.talent-nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    display: inline-block;
    box-shadow: 0 0 8px rgba(169, 118, 47, 0.4);
}

.talent-nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-self: center;
}

.talent-nav-links a {
    color: var(--muted);
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s;
}

.talent-nav-links a:hover {
    color: var(--ink);
}

.talent-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-self: end;
}

/* ---------- BOTÃO HAMBÚRGUER (mobile) ---------- */
.talent-nav-toggler {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    justify-self: end;
    transition: border-color 0.2s, background 0.2s;
}

.talent-nav-toggler:hover {
    border-color: rgba(15, 23, 42, 0.3);
    background: var(--pill-bg);
}

.talent-nav-toggler span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
}

/* ---------- MENU MOBILE (offcanvas) ---------- */
.talent-nav-offcanvas {
    background: #ffffff;
    color: var(--ink);
    width: min(320px, 85vw);
}

.talent-nav-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
}

.talent-nav-offcanvas-logo {
    height: 30px;
    width: auto;
    display: block;
}

.talent-nav-offcanvas .btn-close {
    box-shadow: none;
}

.talent-nav-offcanvas .offcanvas-body {
    padding: 1.5rem;
    gap: 0.25rem;
}

.talent-nav-offcanvas-menu {
    display: flex;
    flex-direction: column;
}

.talent-nav-offcanvas-link {
    padding: 0.85rem 0.25rem;
    font-size: 1rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--border-light);
    transition: color 0.2s;
}

.talent-nav-offcanvas-link:hover {
    color: var(--gold-2);
}

.talent-nav-offcanvas-divider {
    height: 1px;
    background: var(--border);
    margin: 1.25rem 0;
}

.talent-nav-offcanvas-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.talent-nav-offcanvas-actions .talent-btn,
.talent-nav-offcanvas-actions form {
    width: 100%;
}

.talent-nav-offcanvas-actions .talent-btn {
    justify-content: center;
    padding: 0.75rem 1rem;
}

/* ---------- BOTÕES ---------- */
.talent-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 1.1rem;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.talent-btn-primary {
    border: 1px solid var(--gold);
    background: var(--gold);
    color: #fff;
}

.talent-btn-primary:hover {
    background: var(--gold-2);
    border-color: var(--gold-2);
}

.talent-btn-secondary {
    border: 1px solid var(--border);
    color: var(--ink);
    background: transparent;
}

.talent-btn-secondary:hover {
    border-color: rgba(15, 23, 42, 0.3);
    background: var(--pill-bg);
}

.tp-btn-apply,
.tp-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

.tp-btn-apply {
    border: 1px solid rgba(169, 118, 47, 0.4);
    background: transparent;
    color: var(--gold-2);
    font-size: 0.82rem;
}

.tp-btn-apply:hover {
    background: var(--gold);
    color: #fff;
    border-color: var(--gold);
}

.tp-btn-primary {
    background: var(--gold);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    padding: 1rem 2.2rem;
}

.tp-btn-primary:hover {
    background: var(--gold-2);
    transform: translateY(-2px);
}

/* ---------- HERO (página de vagas) ---------- */
.hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 3.5rem;
    max-width: 1320px;
    margin: 0 auto;
    padding: calc(var(--nav-height) + 3rem) 2.5rem 5rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-visual {
    position: relative;
}

/* ---------- CARROSSEL DO HERO ---------- */
.hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.14);
    background: var(--cream);
}

.hero-carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.9s ease;
}

.hero-carousel-slide.is-active {
    opacity: 1;
}

.hero-carousel-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.1rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.hero-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.15);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.hero-carousel-dot:hover {
    transform: scale(1.15);
}

.hero-carousel-dot.is-active {
    background: #ffffff;
    box-shadow: 0 0 0 1px var(--gold);
    transform: scale(1.2);
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--gold-2);
    background: var(--gold-pale);
    border: 1px solid rgba(169, 118, 47, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.75rem;
}

.hero-kicker::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.hero h1 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2.6rem, 4.2vw, 4rem);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin-bottom: 1rem;
}

.hero h1 em {
    font-style: italic;
    color: var(--gold-2);
}

.hero-sub {
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 460px;
    line-height: 1.7;
    margin-bottom: 2.25rem;
}

.hero-cta-row {
    display: flex;
    align-items: center;
    gap: 1.75rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-link-secondary {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    padding-bottom: 3px;
    transition: border-color 0.2s, color 0.2s;
}

.hero-link-secondary:hover {
    color: var(--gold-2);
    border-color: var(--gold-2);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.hero-stat {
    text-align: left;
}

.hero-stat-num {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--ink);
    display: block;
}

.hero-stat.is-text .hero-stat-num {
    font-size: 1.15rem;
    white-space: nowrap;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- SEÇÃO DE VAGAS ---------- */
.jobs-section {
    position: relative;
    z-index: 1;
    padding: 2rem 2.5rem 8rem;
    max-width: 1260px;
    margin: 0 auto;
    border-top: 1px solid var(--border);
}

.jobs-section-head {
    max-width: 620px;
    margin: 3.5rem auto 3rem;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 0.75rem;
}

.jobs-section-head h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.6rem;
}

.jobs-section-head p {
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
}

.filter-bar {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-search {
    flex: 1;
    min-width: 220px;
    position: relative;
}

.filter-search input {
    width: 100%;
    height: 48px;
    padding: 0 1rem 0 3rem;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--card-bg);
    color: var(--ink);
    font-size: 0.9rem;
    outline: none;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.filter-search input:focus {
    border-color: rgba(169, 118, 47, 0.5);
}

.filter-search input::placeholder {
    color: var(--muted);
}

.filter-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
}

.filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--pill-bg);
    color: var(--muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-pill:hover {
    border-color: rgba(15, 23, 42, 0.25);
    color: var(--ink);
}

.filter-pill.active {
    border-color: var(--gold);
    background: var(--gold-pale);
    color: var(--gold-2);
}

.filter-count {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--muted);
}

/* ---------- GRID DE VAGAS ---------- */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 1.25rem;
}

.job-card {
    position: relative;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    background: var(--card-bg);
    padding: 1.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
    cursor: pointer;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.job-card:hover {
    border-color: rgba(169, 118, 47, 0.4);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    transform: translateY(-3px);
}

.job-card.featured {
    border-color: rgba(169, 118, 47, 0.35);
    background: linear-gradient(165deg, rgba(169, 118, 47, 0.07) 0%, #ffffff 40%);
}

.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    border: 1px solid var(--border);
    background: var(--gold-pale);
    color: var(--gold-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.job-card:hover .card-icon {
    transform: scale(1.06);
}

.card-featured-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold-2);
    background: var(--gold-pale);
    border: 1px solid rgba(169, 118, 47, 0.25);
    padding: 0.32rem 0.7rem;
    border-radius: 999px;
    margin-top: 0.2rem;
    white-space: nowrap;
}

.card-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 0.2rem;
}

.card-company {
    font-size: 0.8rem;
    color: var(--muted);
}

.card-meta {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

.meta-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    padding: 0.32rem 0.75rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    background: var(--pill-bg);
}

.meta-tag.type-clt {
    border-color: rgba(31, 157, 92, 0.25);
    color: #1f9d5c;
    background: rgba(31, 157, 92, 0.08);
}

.meta-tag.type-pj {
    border-color: rgba(59, 91, 219, 0.25);
    color: #3b5bdb;
    background: rgba(59, 91, 219, 0.08);
}

.meta-tag.type-temp {
    border-color: rgba(193, 103, 12, 0.25);
    color: #c1670c;
    background: rgba(193, 103, 12, 0.08);
}

.card-description {
    font-size: 0.84rem;
    color: var(--muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-skills {
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.skill-tag {
    font-size: 0.7rem;
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    background: var(--pill-bg);
    color: var(--muted);
    border: 1px solid var(--border);
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.card-salary {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gold-2);
}

.card-salary-label {
    display: block;
    font-size: 0.68rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.1rem;
}

.card-date {
    font-size: 0.75rem;
    color: var(--muted);
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 5rem 2rem;
    color: var(--muted);
}

/* ---------- CTA STRIP ---------- */
.cta-strip {
    position: relative;
    z-index: 1;
    max-width: 1260px;
    margin: 0 auto 8rem;
    border-radius: 28px;
    border: 1px solid rgba(169, 118, 47, 0.25);
    background: linear-gradient(135deg, rgba(169, 118, 47, 0.08), #ffffff);
    padding: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-text h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.5rem;
}

.cta-text p {
    font-size: 0.9rem;
    color: var(--muted);
    max-width: 440px;
    line-height: 1.7;
}

/* ---------- SOBRE ---------- */
.sobre-secao {
    padding: 6rem 2.5rem;
    background: var(--cream);
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.sobre-container {
    max-width: 900px;
    margin: 0 auto;
}

.sobre-container h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    color: var(--ink);
}

.sobre-historia {
    max-width: 760px;
    margin: 2.5rem 0;
}

.sobre-historia h3 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 1.1rem;
}

.sobre-historia p {
    font-size: 1rem;
    color: var(--ink-2);
    line-height: 1.8;
    margin-bottom: 1.1rem;
}

.sobre-historia p:last-child {
    margin-bottom: 0;
}

.sobre-social {
    display: flex;
    gap: 0.9rem;
    margin-top: 2.5rem;
}

.sobre-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-pale);
    border: 1px solid transparent;
    color: var(--gold-2);
    font-size: 1.15rem;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s, color 0.2s;
}

.sobre-social-btn:hover,
.sobre-social-btn:focus-visible {
    border-color: var(--gold);
    color: var(--gold-2);
    transform: translateY(-2px);
}

/* ---------- FOOTER ---------- */
footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

footer p {
    font-size: 0.85rem;
    color: var(--ink-2);
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-info p {
    margin: 0;
}

.footer-info p:last-child {
    color: var(--muted);
    font-size: 0.8rem;
}

.footer-email {
    color: var(--ink-2);
}

.footer-dev {
    font-size: 0.85rem;
    color: var(--muted);
    white-space: nowrap;
}

.dev-link {
    color: var(--ink);
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.2s;
}

.dev-link:hover {
    color: var(--gold-2);
    text-decoration: underline;
}

/* ---------- POPUP DO DESENVOLVEDOR ---------- */
.dev-popup {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 500;
    padding: 1.5rem;
}

.dev-popup-content {
    background: #ffffff;
    border-radius: 24px;
    max-width: 420px;
    width: 100%;
    padding: 2.5rem 2rem 2rem;
    position: relative;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.dev-popup-close {
    position: absolute;
    top: 0.75rem;
    right: 0.9rem;
    background: none;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--muted);
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.dev-popup-close:hover {
    color: var(--ink);
    background: var(--pill-bg);
}

.dev-popup-body {
    text-align: center;
}

.dev-popup-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold);
    box-shadow: 0 8px 24px rgba(169, 118, 47, 0.25);
    margin-bottom: 1rem;
}

.dev-popup-name {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.25rem;
}

.dev-popup-email {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0.5rem 0;
}

.dev-popup-email i {
    color: var(--gold-2);
}

.dev-popup-links {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.5rem 0;
}

.dev-popup-linkedin,
.dev-popup-github {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: background 0.2s, transform 0.1s;
}

.dev-popup-linkedin {
    background: #0a66c2;
}

.dev-popup-linkedin:hover {
    background: #004182;
    color: #ffffff;
    transform: scale(1.02);
}

.dev-popup-github {
    background: #24292e;
}

.dev-popup-github:hover {
    background: #000000;
    color: #ffffff;
    transform: scale(1.02);
}

.dev-popup-role {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.75rem;
    font-weight: 500;
}

/* ---------- MODAL ---------- */
.cv-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    /* padding-top reserva o espaço do menu fixo (--nav-height) — sem isso, um card
       alto (descrição longa, muitos requisitos/benefícios) fica centralizado na tela
       inteira e o topo dele acaba nascendo atrás do menu, cortado e inacessível mesmo
       rolando, porque o menu (position:fixed) sempre desenha por cima. */
    padding: calc(var(--nav-height) + 1.5rem) 1.5rem 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.cv-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.cv-modal {
    display: block;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    width: 100%;
    max-width: 580px;
    /* Cabe sempre no espaço abaixo do menu (ver padding-top do overlay acima) — nunca
       encosta no menu fixo, então o overflow-y sempre tem uma sobra real pra rolar. */
    max-height: calc(100vh - var(--nav-height) - 3rem);
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s;
    padding: 2.5rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(15, 23, 42, 0.15) transparent;
    position: relative;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.25);
}

.cv-modal-overlay.open .cv-modal {
    transform: translateY(0);
}

.cv-modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--pill-bg);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
    line-height: 1;
}

.cv-modal-close:hover {
    background: rgba(15, 23, 42, 0.08);
    color: var(--ink);
}

.cv-modal-kicker {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold-2);
    margin-bottom: 0.75rem;
}

.cv-modal-title {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.7rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.cv-modal-company {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

.cv-modal-meta {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.cv-modal-section {
    margin-bottom: 1.5rem;
}

.cv-modal-section h4 {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.75rem;
}

.cv-modal-section p,
.cv-modal-section li {
    font-size: 0.88rem;
    color: var(--ink-2);
    line-height: 1.75;
}

.cv-modal-section ul {
    padding-left: 1.2rem;
}

.cv-modal-section li {
    margin-bottom: 0.3rem;
}

.cv-modal-footer {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cv-modal-salary {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--gold-2);
}

.cv-modal-salary span {
    display: block;
    font-family: "Albert Sans", sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--muted);
    font-weight: 400;
    margin-bottom: 0.15rem;
}

/* ====================================================
   PORTAL RH - Componentes do tema claro
   ==================================================== */

/* ---------- SHELL DO PORTAL ---------- */
.portal-shell {
    width: min(1180px, calc(100vw - 2rem));
    margin: 0 auto;
    padding: calc(var(--nav-height) + 2rem) 0 4rem;
    position: relative;
    z-index: 1;
}

.portal-auth-shell {
    min-height: calc(100vh - 96px);
    display: grid;
    place-items: center;
}

/* ---------- CARDS DO PORTAL ---------- */
.portal-auth-card,
.portal-card {
    background: var(--portal-surface-card);
    border-radius: 28px;
    border: 1px solid var(--border);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}

.portal-auth-card {
    width: min(560px, 100%);
    padding: 2rem;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.12);
}

.portal-card {
    padding: 1.5rem;
}

.portal-card-header h1,
.portal-card-header h2 {
    margin-bottom: 0.35rem;
    font-weight: 600;
}

.portal-card-header h1 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.8rem;
    color: var(--ink);
}

.portal-card-header h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.4rem;
    color: var(--ink);
}

.portal-kicker {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.92rem;
    color: var(--gold-2);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* ---------- HERO DO PORTAL ---------- */
.portal-hero {
    background: var(--cream);
    color: var(--ink);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-top: 0.5rem;
}

.portal-hero h1 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

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

.portal-hero p,
.portal-hero .portal-kicker {
    color: var(--ink-2);
}

.portal-hero .portal-kicker {
    color: var(--gold-2);
}

.portal-hero-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

/* ---------- BOTÕES DO PORTAL ---------- */
.btn-light {
    background: var(--gold);
    color: #fff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-light:hover {
    background: var(--gold-2);
    transform: translateY(-2px);
    color: #fff;
}

.btn-outline-light {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--border);
    padding: 0.6rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-outline-light:hover {
    border-color: rgba(15, 23, 42, 0.3);
    background: var(--pill-bg);
    color: var(--ink);
}

/* ---------- GRID DO PORTAL ---------- */
.portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}

.portal-card-wide {
    grid-column: 1 / -1;
}

/* ---------- DADOS DO PORTAL ---------- */
.portal-card p {
    color: var(--ink-2);
    font-size: 0.9rem;
    line-height: 1.7;
}

.portal-card p strong {
    color: var(--ink);
}

.portal-card .text-muted {
    color: var(--muted) !important;
}

/* ---------- MINHAS CANDIDATURAS ---------- */
.portal-app-list {
    display: grid;
    gap: 0.75rem;
}

.portal-app-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: var(--pill-bg);
    border: 1px solid var(--border);
    flex-wrap: wrap;
}

.portal-app-item.is-approved {
    border-color: rgba(169, 118, 47, 0.4);
    background: rgba(169, 118, 47, 0.07);
}

.portal-app-item .fw-semibold {
    font-weight: 600;
    color: var(--ink);
}

.portal-app-item .small {
    font-size: 0.8rem;
    color: var(--muted);
}

.portal-app-item-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-wrap: wrap;
}

.portal-app-item .badge {
    background: var(--gold-pale) !important;
    color: var(--gold-2) !important;
    border: 1px solid rgba(169, 118, 47, 0.2);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    font-weight: 500;
    font-size: 0.7rem;
}

/* ---------- RESUMO EM NÚMEROS ---------- */
.portal-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

.portal-stat {
    background: var(--pill-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.1rem 1.25rem;
}

.portal-stat .n {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.9rem;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: var(--ink);
}

.portal-stat.is-pending .n { color: var(--status-pending); }
.portal-stat.is-approved .n { color: var(--status-approved); }

.portal-stat .label {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    color: var(--portal-muted);
}

/* ---------- CARDS DE CANDIDATURA (com trilha de etapas) ---------- */
.portal-app-card {
    background: var(--portal-surface-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

.portal-app-card.is-approved {
    background: linear-gradient(160deg, rgba(169, 118, 47, 0.09), var(--portal-surface-card) 65%);
    border-color: rgba(169, 118, 47, 0.35);
    box-shadow: 0 0 0 1px rgba(169, 118, 47, 0.06), 0 18px 40px rgba(169, 118, 47, 0.06);
}

.portal-app-card.is-rejected {
    opacity: 0.72;
    transition: opacity 0.2s;
}

.portal-app-card.is-rejected:hover {
    opacity: 1;
}

.portal-app-card.is-finalized {
    background: linear-gradient(160deg, rgba(47, 122, 76, 0.1), var(--portal-surface-card) 65%);
    border-color: rgba(47, 122, 76, 0.35);
    box-shadow: 0 0 0 1px rgba(47, 122, 76, 0.06), 0 18px 40px rgba(47, 122, 76, 0.06);
}

.portal-app-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.portal-app-card-vaga {
    font-weight: 600;
    font-size: 1.02rem;
    color: var(--ink);
}

.portal-app-card-date {
    color: var(--portal-muted);
    font-size: 0.8rem;
    margin-top: 0.2rem;
}

.portal-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    white-space: nowrap;
}

.portal-status-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.portal-status-badge.is-pending { background: var(--status-pending-bg); color: var(--status-pending); }
.portal-status-badge.is-approved { background: var(--status-approved-bg); color: var(--status-approved); }
.portal-status-badge.is-rejected { background: var(--status-rejected-bg); color: var(--status-rejected); }
.portal-status-badge.is-pool { background: var(--status-pool-bg); color: var(--status-pool); }
.portal-status-badge.is-finalized { background: var(--status-finalized-bg); color: var(--status-finalized); }

.portal-track {
    display: flex;
    align-items: center;
    margin-top: 1.1rem;
}

.portal-track-seg {
    flex: 1;
    height: 3px;
    background: rgba(15, 23, 42, 0.1);
    border-radius: 2px;
    margin: 0 -1px;
}

.portal-track-seg.is-done { background: var(--portal-muted); }
.portal-track-seg.is-done.is-approved { background: var(--status-approved); }
.portal-track-seg.is-done.is-rejected { background: var(--status-rejected); }
.portal-track-seg.is-done.is-finalized { background: var(--status-finalized); }

.portal-track-step {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.1);
    flex-shrink: 0;
}

.portal-track-step.is-done { background: var(--portal-muted); }
.portal-track-step.is-current { background: var(--status-pending); box-shadow: 0 0 0 4px var(--status-pending-bg); }
.portal-track-step.is-approved { background: var(--status-approved); box-shadow: 0 0 0 4px var(--status-approved-bg); }
.portal-track-step.is-rejected { background: var(--status-rejected); box-shadow: 0 0 0 4px var(--status-rejected-bg); }
.portal-track-step.is-pool { background: var(--status-pool); box-shadow: 0 0 0 4px var(--status-pool-bg); }
.portal-track-step.is-finalized { background: var(--status-finalized); box-shadow: 0 0 0 4px var(--status-finalized-bg); }

.portal-track-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.68rem;
    color: var(--portal-muted);
    margin-top: 0.4rem;
}

.portal-track-labels span:last-child { text-align: right; }
.portal-track-labels span.is-on { color: var(--ink); font-weight: 600; }

.portal-approved-flag {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.8rem;
    color: var(--gold-2);
    margin-top: 0.9rem;
    padding-top: 0.9rem;
    border-top: 1px dashed rgba(169, 118, 47, 0.3);
}

.portal-approved-flag svg { flex-shrink: 0; }

.portal-approved-flag.is-finalized {
    color: var(--status-finalized);
    border-top-color: rgba(47, 122, 76, 0.3);
}

.portal-app-card-cta {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
}

.portal-apply-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    border: 1px dashed var(--border);
    border-radius: 18px;
    padding: 1.1rem 1.4rem;
    color: var(--portal-muted);
    font-size: 0.88rem;
}

.portal-apply-more a {
    color: var(--gold-2);
    font-weight: 600;
}

@media (max-width: 620px) {
    .portal-stats { grid-template-columns: 1fr; }
}
/**/
/* ---------- FORMULÁRIOS ---------- */
.portal-form .form-control,
.portal-form .form-select {
    background: #ffffff;
    border: 1px solid var(--border);
    color: var(--ink);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s;
}

.portal-form .form-control:focus,
.portal-form .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(169, 118, 47, 0.15);
    background: #ffffff;
    color: var(--ink);
}

.portal-form .form-control::placeholder {
    color: var(--muted);
}

.portal-form label {
    color: var(--ink-2);
    font-weight: 500;
    font-size: 0.9rem;
}

.portal-form .btn {
    border-radius: 16px;
    padding: 0.75rem 2rem;
}

.portal-form .btn-primary {
    background: var(--gold);
    border: none;
    color: #fff;
    font-weight: 600;
}

.portal-form .btn-primary:hover {
    background: var(--gold-2);
    transform: translateY(-2px);
}

/* ---------- ALERTAS ---------- */
.alert {
    border-radius: 16px;
    padding: 1rem 1.5rem;
    border: 1px solid var(--border);
}

.alert-danger {
    background: rgba(220, 38, 38, 0.08);
    border-color: rgba(220, 38, 38, 0.25);
    color: #b42318;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.25);
    color: #15803d;
}

/* ---------- UTILITÁRIOS ---------- */
.mt-4 {
    margin-top: 1.5rem;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.text-muted {
    color: var(--muted) !important;
}

.fw-semibold {
    font-weight: 600;
}

.small {
    font-size: 0.8rem;
}

/* ====================================================
   RESPONSIVIDADE
   ==================================================== */

/* Tablets (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .jobs-section {
        padding: 0 1.5rem 6rem;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: calc(var(--nav-height) + 2rem) 1.5rem 3rem;
        max-width: 620px;
    }

    .hero-visual {
        max-width: 480px;
    }
}

/* Menu com hambúrguer (até 1024px) — mesmo padrão do menu principal do
   sistema: abaixo do breakpoint, links e ações desktop somem e dão lugar
   ao botão hambúrguer + painel lateral (offcanvas). */
@media (max-width: 1024px) {
    :root {
        --nav-height: 92px;
    }

    .talent-nav {
        grid-template-columns: 1fr auto;
        padding: 1rem 1.25rem;
        height: auto;
        min-height: 76px;
    }

    .talent-nav-links,
    .talent-nav-actions {
        display: none;
    }

    .talent-nav-toggler {
        display: flex;
    }

    .talent-nav-brand-logo {
        height: 38px;
    }
}

/* Mobile (até 991px) - Ajustes do Portal RH */
@media (max-width: 991px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }

    .portal-hero {
        align-items: start;
        flex-direction: column;
    }

    .portal-hero-actions {
        width: 100%;
    }

    .portal-hero-actions .btn-light,
    .portal-hero-actions .btn-outline-light {
        flex: 1;
        justify-content: center;
    }
}

/* Smartphones (até 768px) */
@media (max-width: 768px) {
    :root {
        --nav-offset: 70px;
        --nav-height: 60px;
    }

    /* Menu */
    .talent-nav {
        padding: 0.6rem 1rem;
        min-height: var(--nav-height);
        background: rgba(255, 255, 255, 0.96);
    }

    .talent-nav-brand {
        font-size: 0.95rem;
        flex: 1;
    }

    .talent-nav-brand-logo {
        height: 30px;
    }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: calc(var(--nav-offset) + 2rem) 1rem 2.5rem !important;
    }

    .hero-visual {
        order: -1;
    }

    .hero-carousel {
        border-radius: 18px;
    }

    .hero-carousel-dots {
        bottom: 0.8rem;
    }

    .hero h1 {
        font-size: clamp(2rem, 9vw, 2.6rem);
        line-height: 1.15;
    }

    .hero-sub {
        font-size: 0.9rem;
        max-width: 100%;
    }

    .hero-kicker {
        font-size: 0.6rem;
        padding: 0.3rem 0.8rem;
        margin-bottom: 1.25rem;
    }

    .hero-cta-row {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .hero-stats {
        gap: 1.5rem;
    }

    .hero-stat-num {
        font-size: 1.5rem;
    }

    .hero-stat.is-text .hero-stat-num {
        font-size: 1rem;
    }

    .hero-stat-label {
        font-size: 0.6rem;
    }

    /* Seção de vagas */
    .jobs-section-head {
        margin: 2.5rem auto 2rem;
    }

    .jobs-section-head h2 {
        font-size: 1.5rem;
    }

    /* Filter Bar */
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .filter-search {
        min-width: unset;
        width: 100%;
    }

    .filter-search input {
        height: 42px;
        font-size: 0.85rem;
        padding: 0 0.75rem 0 2.5rem;
        border-radius: 12px;
    }

    .filter-pills {
        gap: 0.4rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .filter-pill {
        font-size: 0.7rem;
        padding: 0.3rem 0.7rem;
        border-radius: 999px;
    }

    .filter-count {
        margin-left: 0;
        text-align: center;
        font-size: 0.7rem;
    }

    /* Jobs Section */
    .jobs-section {
        padding: 0 1rem 4rem !important;
        margin: calc(var(--nav-offset) + 0.5rem) auto 0 !important;
    }

    .jobs-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Job Card */
    .job-card {
        padding: 1.25rem;
        border-radius: 14px;
        gap: 0.85rem;
    }

    .card-featured-badge {
        font-size: 0.55rem;
        padding: 0.24rem 0.6rem;
    }

    .card-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 12px;
    }

    .card-title {
        font-size: 1rem;
        line-height: 1.3;
        word-break: break-word;
    }

    .card-company {
        font-size: 0.75rem;
    }

    .card-meta {
        gap: 0.4rem;
        flex-wrap: wrap;
    }

    .meta-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .card-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        line-height: 1.5;
    }

    .card-skills {
        gap: 0.35rem;
    }

    .skill-tag {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .card-footer {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
        padding-top: 0.75rem;
    }

    .card-salary {
        font-size: 0.95rem;
        text-align: center;
    }

    .card-salary-label {
        font-size: 0.6rem;
    }

    .card-date {
        font-size: 0.65rem;
        text-align: center;
    }

    .tp-btn-apply {
        justify-content: center;
        width: 100%;
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }

    /* CTA Strip */
    .cta-strip {
        margin: 0 1rem 3rem !important;
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        border-radius: 20px;
        gap: 1.25rem;
    }

    .cta-text h2 {
        font-size: 1.5rem;
        margin-bottom: 0.25rem;
    }

    .cta-text p {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .cta-strip .tp-btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    /* Sobre */
    .sobre-secao {
        padding: 2.5rem 1rem 2rem !important;
        margin-top: 0.5rem;
    }

    .sobre-container h2 {
        font-size: 1.5rem;
        text-align: center;
    }

    .sobre-container > p {
        font-size: 0.85rem;
        text-align: center;
        color: var(--muted);
        line-height: 1.6;
    }

    .sobre-historia {
        margin: 1.75rem 0;
    }

    .sobre-historia h3 {
        font-size: 1.25rem;
        text-align: center;
    }

    .sobre-historia p {
        font-size: 0.88rem;
        line-height: 1.65;
    }

    .sobre-social {
        justify-content: center;
        margin-top: 2rem;
    }

    /* Portal RH */
    .portal-shell {
        padding: calc(var(--nav-offset) + 1rem) 0.75rem 2rem !important;
        width: 100%;
    }

    .portal-hero {
        flex-direction: column;
        align-items: stretch;
        padding: 1.25rem;
        border-radius: 20px;
        gap: 1rem;
    }

    .portal-hero h1 {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
        word-break: break-word;
        line-height: 1.2;
    }

    .portal-hero p {
        font-size: 0.85rem;
        color: var(--ink-2);
        margin-bottom: 0;
    }

    .portal-hero .portal-kicker {
        font-size: 0.65rem;
    }

    .portal-hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 0.5rem;
    }

    .portal-hero-actions .btn-light,
    .portal-hero-actions .btn-outline-light {
        width: 100%;
        justify-content: center;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        border-radius: 12px;
    }

    .portal-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .portal-card {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .portal-card-header h1,
    .portal-card-header h2 {
        font-size: 1.1rem;
    }

    .portal-card p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 0.25rem;
    }

    .portal-card .portal-kicker {
        font-size: 0.65rem;
    }

    .portal-card-wide {
        grid-column: 1;
    }

    .portal-app-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
        border-radius: 14px;
    }

    .portal-app-item .fw-semibold {
        font-size: 0.85rem;
    }

    .portal-app-item .small {
        font-size: 0.7rem;
    }

    .portal-app-item .badge {
        align-self: flex-start;
        font-size: 0.6rem;
        padding: 0.3rem 0.7rem;
    }

    .portal-auth-card {
        padding: 1.25rem;
        margin: 0 0.5rem;
        border-radius: 20px;
    }

    /* Modal — vira bottom-sheet no mobile, mas ainda reserva o espaço do menu fixo
       no topo (mesma lógica do desktop) pra nunca nascer atrás dele. */
    .cv-modal-overlay {
        padding: 0.75rem;
        padding-top: calc(var(--nav-height) + 0.75rem);
        align-items: flex-end;
    }

    .cv-modal {
        padding: 1.5rem;
        max-width: 100%;
        max-height: calc(100vh - var(--nav-height) - 1.5rem);
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        transition: transform 0.3s ease-out;
    }

    .cv-modal-overlay.open .cv-modal {
        transform: translateY(0);
    }

    .cv-modal-title {
        font-size: 1.3rem;
        padding-right: 2rem;
    }

    .cv-modal-company {
        font-size: 0.8rem;
    }

    .cv-modal-kicker {
        font-size: 0.6rem;
    }

    .cv-modal-section h4 {
        font-size: 0.65rem;
    }

    .cv-modal-section p,
    .cv-modal-section li {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .cv-modal-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        padding-top: 1rem;
    }

    .cv-modal-footer .tp-btn-primary {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .cv-modal-salary {
        font-size: 1.2rem;
        text-align: center;
    }

    .cv-modal-salary span {
        font-size: 0.6rem;
    }

    .cv-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
        border-radius: 50%;
    }

    /* Footer */
    footer {
        padding: 1.5rem 1rem;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }

    footer p {
        font-size: 0.7rem;
        margin: 0;
    }

    /* Alertas */
    .alert {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        border-radius: 12px;
        margin: 0.75rem 0.75rem 0;
    }

    /* Empty State */
    .empty-state {
        padding: 3rem 1rem;
        font-size: 0.9rem;
    }

    /* Utilitários */
    .mt-4 {
        margin-top: 1rem;
    }

    .mb-0 {
        margin-bottom: 0;
    }

    .mb-1 {
        margin-bottom: 0.2rem;
    }

    .text-muted {
        font-size: 0.8rem;
    }
}

/* Telas muito pequenas (até 400px) */
@media (max-width: 400px) {
    :root {
        --nav-offset: 60px;
        --nav-height: 55px;
    }

    .talent-nav-brand {
        font-size: 0.8rem;
    }

    .talent-nav-brand-logo {
        height: 26px;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 8vw, 2.2rem);
    }

    .hero-kicker {
        font-size: 0.55rem;
        padding: 0.2rem 0.6rem;
    }

    .portal-hero h1 {
        font-size: 1.2rem;
    }

    .job-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .card-title {
        font-size: 0.9rem;
    }

    .card-description {
        font-size: 0.75rem;
        -webkit-line-clamp: 2;
    }

    .card-icon {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
        border-radius: 10px;
    }

    .card-salary {
        font-size: 0.85rem;
    }

    .filter-pill {
        font-size: 0.6rem;
        padding: 0.25rem 0.6rem;
    }

    .filter-search input {
        height: 36px;
        font-size: 0.8rem;
        padding: 0 0.6rem 0 2rem;
    }

    .portal-card {
        padding: 1rem;
        border-radius: 16px;
    }

    .portal-card p {
        font-size: 0.8rem;
    }

    .cv-modal {
        padding: 1.25rem;
    }

    .cv-modal-title {
        font-size: 1.1rem;
    }

    footer p {
        font-size: 0.6rem;
    }
}

/* Orientação paisagem em mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding-top: calc(var(--nav-offset) + 1.5rem) !important;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 6vw, 2.4rem);
    }

    .hero-stats {
        gap: 1rem;
    }

    .jobs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .job-card {
        padding: 1rem;
    }

    .portal-hero {
        padding: 1rem;
    }

    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .portal-card {
        padding: 1rem;
    }

    .portal-card-wide {
        grid-column: 1 / -1;
    }
}

/* Scroll suave (opcional) */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

/* ---------- CARTA PROPOSTA (visualização no portal) ---------- */
.portal-letter {
    background: #fdfcf9;
    color: #1e293b;
    border-radius: 18px;
    padding: 2rem;
    margin-top: 0.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.portal-letter-logo {
    display: block;
    max-height: 56px;
    margin: 0 auto 1rem;
}

.portal-letter h2 {
    font-family: "Bricolage Grotesque", sans-serif;
    font-size: 1.3rem;
    color: #071d2b;
    margin-bottom: 1.25rem;
}

.portal-letter h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #071d2b;
    margin-top: 1.25rem;
    margin-bottom: 0.35rem;
}

.portal-letter p {
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 0.5rem;
}

.portal-letter ul {
    color: #334155;
    font-size: 0.92rem;
    line-height: 1.65;
    padding-left: 1.25rem;
}

.portal-letter-table {
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.portal-letter-table th {
    background: #f1f5f9;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #64748b;
}

.portal-letter-table td,
.portal-letter-table th {
    padding: 0.5rem 0.75rem;
}