/* ==========================================================================
   Redesign "Industrial Premium" (protótipo) — dark, glass, mobile-first.
   Isolado sob .pdash / .pnav / .reveal para não vazar para o resto do site.
   Reversível: basta remover os @push de premium.css / premium.js.
   ========================================================================== */

.pdash {
    --pd-bg: #001426;
    --pd-navy: #062338;
    --pd-orange: #d95727;
    --pd-orange-soft: rgba(217, 87, 39, .16);
    --pd-glass: rgba(255, 255, 255, .055);
    --pd-glass-strong: rgba(255, 255, 255, .09);
    --pd-line: rgba(255, 255, 255, .10);
    --pd-text: #eef4fb;
    --pd-muted: #93a4b8;
    --pd-green: #22c55e;
}

/* Fundo imersivo que "sangra" para as bordas no mobile (full-bleed). */
.pdash {
    position: relative;
    margin: -1rem;
    padding: 1rem 1rem 2rem;
    background:
        radial-gradient(1100px 480px at 85% -10%, rgba(217, 87, 39, .20), transparent 60%),
        radial-gradient(900px 500px at -10% 0%, rgba(0, 90, 160, .28), transparent 55%),
        linear-gradient(180deg, #001426 0%, #041c30 55%, #001426 100%);
    color: var(--pd-text);
    min-height: calc(100vh - 60px);
    overflow: hidden;
}
.pdash::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: linear-gradient(180deg, #000, transparent 70%);
    pointer-events: none;
    opacity: .6;
}
.pdash > * { position: relative; z-index: 1; }
.pdash h1, .pdash h2, .pdash h3 { color: var(--pd-text); letter-spacing: -.02em; }

/* ---- Cartão de vidro genérico ---- */
.pd-card {
    background: var(--pd-glass);
    border: 1px solid var(--pd-line);
    border-radius: 18px;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    padding: 1.15rem 1.2rem;
    box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}

/* ---- Hero ---- */
.pd-hero { padding: 1.4rem 1.3rem 1.5rem; margin-bottom: 1rem; overflow: hidden; }
.pd-hero .eyebrow {
    color: var(--pd-orange);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .68rem;
    margin: 0 0 .55rem;
}
.pd-hero h1 { font-size: 1.85rem; line-height: 1.1; margin: 0 0 .5rem; font-weight: 800; }
.pd-hero h1 .wave { display: inline-block; transform-origin: 70% 70%; animation: pd-wave 2.6s ease-in-out infinite; }
.pd-hero p { color: var(--pd-muted); margin: 0 0 1.1rem; font-size: .98rem; max-width: 34ch; }
.pd-hero-cta {
    display: inline-flex; align-items: center; gap: .5rem;
    background: linear-gradient(180deg, #e0673a, var(--pd-orange));
    color: #fff; font-weight: 700; font-size: .95rem;
    padding: .8rem 1.3rem; border-radius: 999px;
    box-shadow: 0 10px 26px -8px rgba(217, 87, 39, .7);
    transition: transform .18s ease, box-shadow .18s ease;
}
.pd-hero-cta:hover { text-decoration: none; transform: translateY(-2px); box-shadow: 0 16px 34px -8px rgba(217, 87, 39, .8); }
.pd-hero-cta:active { transform: translateY(0) scale(.98); }

/* ---- Bento ---- */
.pd-bento { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin-bottom: 1rem; }
.pd-bento .pd-ring-card { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.1rem; }
.pd-stat { padding: 1rem 1.1rem; }
.pd-stat .n { font-size: 1.9rem; font-weight: 800; line-height: 1; }
.pd-stat .l { color: var(--pd-muted); font-size: .82rem; margin-top: .35rem; display: flex; align-items: center; gap: .35rem; }
.pd-stat .ic { color: var(--pd-orange); }

/* ---- Anel de progresso ---- */
.pd-ring { flex: none; width: 118px; height: 118px; position: relative; }
.pd-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pd-ring .trk { fill: none; stroke: rgba(255, 255, 255, .10); stroke-width: 11; }
.pd-ring .val {
    fill: none; stroke: url(#pdGrad); stroke-width: 11; stroke-linecap: round;
    stroke-dasharray: var(--circ);
    stroke-dashoffset: var(--off);
    filter: drop-shadow(0 0 6px rgba(217, 87, 39, .55));
}
/* Sweep do anel ao carregar. Base já é o anel cheio, então nunca fica vazio se
   a animação não rodar (reduced-motion, device antigo, timeline pausado). */
@media (prefers-reduced-motion: no-preference) {
    .pd-ring .val { animation: pd-fill 1.3s cubic-bezier(.2, .8, .2, 1) .2s; }
}
@keyframes pd-fill { from { stroke-dashoffset: var(--circ); } to { stroke-dashoffset: var(--off); } }
.pd-ring .cap { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.pd-ring .cap b { font-size: 1.6rem; font-weight: 800; }
.pd-ring-card .info h3 { font-size: 1.02rem; margin: 0 0 .3rem; }
.pd-ring-card .info p { color: var(--pd-muted); font-size: .85rem; margin: 0; }

/* ---- Processo seletivo (stepper) ---- */
.pd-process { margin-bottom: 1rem; }
.pd-process-top { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; margin-bottom: .1rem; }
.pd-process h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.pd-process .vaga { color: var(--pd-muted); font-size: .88rem; margin: 0 0 1rem; }
.pd-chip {
    flex: none; display: inline-flex; align-items: center; gap: .4rem;
    padding: .35rem .7rem; border-radius: 999px; font-size: .76rem; font-weight: 700;
    background: var(--pd-orange-soft); color: #ffd7bd; border: 1px solid rgba(217, 87, 39, .4);
}
.pd-chip.ok { background: rgba(34, 197, 94, .16); color: #b6f3cd; border-color: rgba(34, 197, 94, .45); }

.pd-steps { display: flex; align-items: flex-start; gap: 0; margin: .3rem 0 1.1rem; }
.pd-step { flex: 1; text-align: center; position: relative; }
.pd-step .dot {
    width: 26px; height: 26px; border-radius: 50%; margin: 0 auto .45rem;
    display: grid; place-content: center; font-size: .72rem; font-weight: 800;
    background: rgba(255, 255, 255, .08); color: var(--pd-muted); border: 1px solid var(--pd-line);
    position: relative; z-index: 1; transition: all .3s ease;
}
.pd-step .lbl { font-size: .64rem; color: var(--pd-muted); line-height: 1.2; display: block; padding: 0 2px; }
.pd-step::before {
    content: ""; position: absolute; top: 13px; left: -50%; width: 100%; height: 2px;
    background: var(--pd-line); z-index: 0;
}
.pd-step:first-child::before { display: none; }
.pd-step.done .dot { background: linear-gradient(180deg, #e0673a, var(--pd-orange)); color: #fff; border-color: transparent; box-shadow: 0 0 12px rgba(217, 87, 39, .55); }
.pd-step.done::before { background: linear-gradient(90deg, var(--pd-orange), var(--pd-orange)); }
.pd-step.done .lbl { color: var(--pd-text); }
.pd-step.current .dot { transform: scale(1.15); box-shadow: 0 0 0 4px var(--pd-orange-soft), 0 0 14px rgba(217, 87, 39, .7); }

.pd-obs { background: rgba(255, 255, 255, .04); border: 1px solid var(--pd-line); border-radius: 12px; padding: .75rem .9rem; font-size: .9rem; color: #d6e2f0; margin-bottom: 1rem; }
.pd-obs b { color: var(--pd-orange); display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .25rem; }
.pd-obs a { color: #ffb98c; text-decoration: underline; }
.pd-linkbtn { display: inline-flex; align-items: center; gap: .4rem; color: var(--pd-orange); font-weight: 700; font-size: .9rem; }
.pd-linkbtn:hover { text-decoration: none; gap: .6rem; }

/* ---- Seções / listas ---- */
.pd-sec-title { display: flex; align-items: center; justify-content: space-between; margin: 1.4rem .2rem .7rem; }
.pd-sec-title h2 { font-size: 1.05rem; margin: 0; }
.pd-sec-title a { color: var(--pd-orange); font-size: .82rem; font-weight: 600; }
.pd-list { display: grid; gap: .65rem; }
.pd-row { display: flex; align-items: center; gap: .8rem; padding: .9rem 1rem; }
.pd-row .body { flex: 1; min-width: 0; }
.pd-row .body strong { display: block; font-size: .95rem; color: var(--pd-text); }
.pd-row .body span { color: var(--pd-muted); font-size: .8rem; }
.pd-row .go { flex: none; color: var(--pd-muted); font-size: 1.1rem; }
.pd-badge { flex: none; padding: .3rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--pd-orange-soft); color: #ffd0b0; border: 1px solid rgba(217, 87, 39, .35); }
.pd-empty { text-align: center; color: var(--pd-muted); padding: 1.6rem 1rem; }
.pd-empty .ic { font-size: 1.8rem; display: block; margin-bottom: .5rem; opacity: .7; }

@keyframes pd-wave { 0%,60%,100% { transform: rotate(0); } 15% { transform: rotate(16deg); } 30% { transform: rotate(-8deg); } 45% { transform: rotate(12deg); } }

/* ---- Card de aprovação (celebração) ---- */
.pd-approval { border-color: rgba(34, 197, 94, .4); background: linear-gradient(180deg, rgba(34, 197, 94, .14), rgba(255, 255, 255, .04)); margin-bottom: 1rem; position: relative; overflow: hidden; }
.pd-approval-ico { position: absolute; top: -6px; right: 6px; font-size: 3.4rem; opacity: .22; filter: saturate(1.4); }
.pd-approval .eyebrow.ok { color: #7cffb0; }
.pd-approval h2 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 .9rem; }
.pd-approval h2 strong { color: #fff; }
.pd-obs-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.pd-obs-list li { display: flex; justify-content: space-between; gap: .8rem; }
.pd-obs-list time { color: var(--pd-muted); font-size: .78rem; white-space: nowrap; }
.pd-hero-cta.ok { background: linear-gradient(180deg, #34d977, #16a34a); box-shadow: 0 10px 26px -8px rgba(22, 163, 74, .7); }

/* ---- Checklist ---- */
.pd-checklist { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.pd-check {
    display: flex; align-items: center; gap: .5rem; font-size: .84rem; color: var(--pd-muted);
    background: var(--pd-glass); border: 1px solid var(--pd-line); border-radius: 12px; padding: .7rem .8rem;
}
.pd-check .mk { flex: none; width: 20px; height: 20px; border-radius: 50%; display: grid; place-content: center; font-size: .7rem; background: rgba(255,255,255,.08); color: var(--pd-muted); }
.pd-check.ok { color: var(--pd-text); border-color: rgba(34, 197, 94, .35); }
.pd-check.ok .mk { background: linear-gradient(180deg, #34d977, #16a34a); color: #fff; }

/* ---- Entrada suave ----
   .reveal é um gancho para animação de entrada. Mantido SEM animação por padrão
   (estado base 100% visível) para robustez. Motion pode ser ligado depois. */
.reveal { opacity: 1; }

/* ==========================================================================
   Barra de navegação inferior (mobile app-like) — só aparece ≤768px.
   Adaptativa ao tema (usa as variáveis de superfície do app.css).
   ========================================================================== */
.pnav { display: none; }
@media (max-width: 768px) {
    .pnav {
        display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
        background: color-mix(in srgb, var(--superficie) 82%, transparent);
        -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
        border-top: 1px solid var(--borda);
        padding: .4rem .3rem calc(.4rem + env(safe-area-inset-bottom));
        box-shadow: 0 -8px 30px -12px rgba(0, 0, 0, .35);
    }
    .pnav a {
        display: flex; flex-direction: column; align-items: center; gap: 3px;
        padding: .35rem 0; color: var(--suave); font-size: .66rem; font-weight: 600;
        border-radius: 12px; transition: color .18s ease;
    }
    .pnav a svg { width: 23px; height: 23px; stroke: currentColor; }
    .pnav a.ativo { color: var(--cor-destaque); }
    .pnav a.ativo svg { filter: drop-shadow(0 0 8px rgba(217, 87, 39, .5)); }
    .pnav a:hover { text-decoration: none; }
    /* Espaço para o conteúdo não ficar atrás da barra. */
    .app-candidato .app-main { padding-bottom: 5.5rem; }
    .app-candidato .app-footer { display: none; }
    /* No mobile, o hero full-bleed encosta nas bordas. */
    .app-candidato .app-main { padding-left: 1rem; padding-right: 1rem; }
}

/* ==========================================================================
   Home "Industrial Premium" — hero com glow + grão, métricas em banda escura
   de vidro, CTA fixo no mobile. Tudo escopado sob .stitch-home.
   ========================================================================== */
.stitch-home .stitch-hero { background: #001426; min-height: 90vh; }
.stitch-home .stitch-hero-image { opacity: .55; }
.stitch-home .stitch-hero-overlay {
    background:
        radial-gradient(80% 55% at 80% -5%, rgba(217, 87, 39, .22), transparent 60%),
        radial-gradient(75% 65% at -5% 105%, rgba(0, 110, 190, .20), transparent 55%),
        linear-gradient(180deg, rgba(0, 20, 38, .42), rgba(0, 20, 38, .72));
}
.stitch-home .stitch-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 24px 24px; opacity: .55;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 38%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 38%, transparent);
}
.stitch-home .stitch-hero h1 { text-shadow: 0 2px 34px rgba(0, 0, 0, .45); }
.stitch-home .stitch-hero-content > p { color: #c9dcf0; }
.stitch-home .stitch-hero .stitch-primary-cta {
    background: linear-gradient(180deg, #e0673a, #d95727); color: #fff; border: 0;
    box-shadow: 0 14px 34px -8px rgba(217, 87, 39, .62);
    transition: transform .18s ease, box-shadow .18s ease;
}
.stitch-home .stitch-hero .stitch-primary-cta:hover { background: linear-gradient(180deg, #e87d4d, #c44d1f); transform: translateY(-2px); box-shadow: 0 18px 40px -8px rgba(217, 87, 39, .72); }
.stitch-home .stitch-hero .stitch-secondary-cta {
    color: #fff; border: 1px solid rgba(255, 255, 255, .42); background: rgba(255, 255, 255, .07);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.stitch-home .stitch-hero .scroll-indicator { color: #d95727; opacity: .8; }

.stitch-home .stitch-metrics { background: linear-gradient(180deg, #001426, #04203a); border-bottom: 0; }
.stitch-home .stitch-metrics-grid { gap: 1rem; padding-block: 2.7rem; }
.stitch-home .stitch-metric {
    border: 1px solid rgba(255, 255, 255, .10); border-right: 1px solid rgba(255, 255, 255, .10);
    border-radius: 16px; background: rgba(255, 255, 255, .05);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); padding: 1.4rem 1rem;
}
.stitch-home .stitch-metric strong { color: #fff; }
.stitch-home .stitch-metric span { color: #94a8bd; }

/* CTA fixo no mobile (só visitantes) */
.pd-sticky-cta { display: none; }
@media (max-width: 768px) {
    #conteudo .pd-sticky-cta {
        display: flex; align-items: center; justify-content: center; gap: .5rem;
        position: fixed; left: 1rem; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom)); z-index: 60;
        background: linear-gradient(180deg, #e0673a, #d95727); color: #fff; font-weight: 800; font-size: 1.02rem;
        padding: 1rem; border-radius: 999px; box-shadow: 0 16px 36px -10px rgba(217, 87, 39, .75);
    }
    #conteudo .pd-sticky-cta:hover { text-decoration: none; color: #fff; }
    .stitch-home .stitch-vacancies { padding-bottom: 6rem; }
}

/* ==========================================================================
   SITE PÚBLICO — elevação premium global (escopo .site-body).
   Header em vidro, heroes industriais com glow, cards arredondados com
   hover-lift, FAQ/vagas modernos. Não toca no app/admin.
   ========================================================================== */

/* Header em vidro */
.site-body .site-header { background: color-mix(in srgb, var(--superficie) 82%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 6px 26px -18px rgba(0, 20, 38, .55); }

/* Eyebrow/kicker mais vivo */
.site-body .eyebrow, .site-body .hero-kicker, .site-body .services-kicker { color: #d95727; letter-spacing: .14em; font-weight: 800; }

/* --- Hero público simples (quem-somos, faq, vagas) --- */
.site-body .public-hero { position: relative; overflow: hidden; background: radial-gradient(75% 130% at 88% -20%, rgba(217, 87, 39, .30), transparent 55%), radial-gradient(60% 120% at -10% 120%, rgba(0, 110, 190, .28), transparent 55%), linear-gradient(125deg, #001426, #013a60); }
.site-body .public-hero::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 24px 24px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 45%, transparent); mask-image: linear-gradient(180deg, transparent, #000 45%, transparent); }
.site-body .public-hero .site-container { position: relative; z-index: 1; }
.site-body .public-hero h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); letter-spacing: -.03em; text-shadow: 0 2px 30px rgba(0, 0, 0, .45); }

/* --- Heroes ricos (serviços/contato): reforça o glow laranja no overlay --- */
.site-body .services-hero-overlay { background: radial-gradient(80% 62% at 82% -5%, rgba(217, 87, 39, .30), transparent 58%), linear-gradient(180deg, rgba(0, 20, 38, .74), rgba(0, 20, 38, .92)); }
.site-body .contact-hero > div:first-of-type { background: radial-gradient(80% 62% at 82% -5%, rgba(217, 87, 39, .28), transparent 58%), linear-gradient(180deg, rgba(0, 20, 38, .74), rgba(0, 20, 38, .92)); }

/* Botões premium (laranja com glow) — especificidade vence o dark-mode 'a' */
.site-body .services-button.primary, .site-body .contact-button.primary { background: linear-gradient(180deg, #e0673a, #d95727); color: #fff; border: 0; box-shadow: 0 12px 30px -8px rgba(217, 87, 39, .6); transition: transform .18s ease, box-shadow .18s ease; }
.site-body .services-button.primary:hover, .site-body .contact-button.primary:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -8px rgba(217, 87, 39, .72); }
.site-body .services-button.secondary, .site-body .contact-button.secondary { color: #fff; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .07); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

/* --- Cards arredondados com hover-lift --- */
.site-body .card, .site-body .card-feature { border-radius: 16px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-body .section .card:hover, .site-body .card-feature:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -20px rgba(0, 64, 105, .35); border-color: rgba(217, 87, 39, .5); }
.site-body .values-grid .card { border-top-width: 4px; }

/* --- FAQ moderno (chevron +) --- */
.site-body .faq-item { border-radius: 14px; transition: border-color .2s, box-shadow .2s, transform .2s; }
.site-body .faq-item[open] { box-shadow: 0 14px 34px -18px rgba(0, 64, 105, .3); transform: translateY(-1px); }
.site-body .faq-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.site-body .faq-item summary::-webkit-details-marker { display: none; }
.site-body .faq-item summary::after { content: "+"; color: #d95727; font-size: 1.35rem; font-weight: 700; line-height: 1; transition: transform .2s ease; }
.site-body .faq-item[open] summary::after { transform: rotate(45deg); }

/* --- Vagas públicas / filtro --- */
.site-body .public-vacancy { border-radius: 14px; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.site-body .public-vacancy:hover { transform: translateY(-3px); box-shadow: 0 18px 38px -20px rgba(0, 64, 105, .3); }
.site-body .public-filter { border-radius: 16px; }
.site-body .cbsi-service-card { border-radius: 16px; }

/* --- Canais de contato --- */
.site-body .contact-channel-grid article { border-radius: 16px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-body .contact-channel-grid article:hover { transform: translateY(-4px); box-shadow: 0 20px 44px -20px rgba(0, 64, 105, .3); border-color: rgba(217, 87, 39, .5); }

/* Botão padrão com cantos suaves + espaço para o CTA fixo no mobile */
.site-body .btn { border-radius: 10px; }
@media (max-width: 768px) { .site-body .cbsi-footer-bottom { padding-bottom: 4.8rem; } }

/* ==========================================================================
   CURRÍCULO premium (escopo .curriculo-page) — banner escuro + progresso,
   nav em chips, cards arredondados e inputs modernos com foco laranja.
   ========================================================================== */
.curriculo-page .curriculo-hero {
    position: relative; overflow: hidden; flex-direction: column; align-items: flex-start; gap: .9rem;
    padding: 1.5rem 1.4rem; border-radius: 18px; color: #eef4fb; margin-bottom: 1rem;
    background: radial-gradient(90% 130% at 92% -25%, rgba(217, 87, 39, .28), transparent 55%), linear-gradient(125deg, #001426, #013a60);
    box-shadow: 0 20px 44px -24px rgba(0, 20, 38, .7);
}
.curriculo-page .curriculo-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%); mask-image: linear-gradient(180deg, #000, transparent 78%); }
.curriculo-page .curriculo-hero > * { position: relative; z-index: 1; }
.curriculo-page .curriculo-hero h2 { color: #fff; letter-spacing: -.02em; }
.curriculo-page .curriculo-hero .eyebrow { color: #d95727; letter-spacing: .14em; font-weight: 800; }
.curriculo-page .curriculo-hero .page-subtitle { color: #c9dcf0; margin: .3rem 0 0; }
.curriculo-page .curriculo-hero strong { color: #fff; background: rgba(217, 87, 39, .18); border: 1px solid rgba(217, 87, 39, .45); padding: .45rem .9rem; border-radius: 999px; font-size: .92rem; }

.curriculo-page .curriculo-progress { border-radius: 16px; border-top: 1px solid var(--borda); }
.curriculo-page .barra { height: 10px; }
.curriculo-page .barra > span { background: linear-gradient(90deg, #e0673a, #d95727); box-shadow: 0 0 12px rgba(217, 87, 39, .55); border-radius: 999px; }

.curriculo-page .curriculo-nav { border-radius: 16px; }
.curriculo-page .curriculo-nav a { background: var(--superficie-2); border: 1px solid var(--borda); color: var(--cor-texto); font-weight: 600; transition: transform .16s ease, border-color .16s ease, color .16s ease; }
.curriculo-page .curriculo-nav a:hover { border-color: #d95727; color: #d95727; transform: translateY(-1px); text-decoration: none; }

.curriculo-page .card { border-radius: 16px; box-shadow: 0 12px 32px -22px rgba(0, 20, 38, .28); }
.curriculo-page section.card > h3 { display: flex; align-items: center; gap: .55rem; }
.curriculo-page section.card > h3::before { content: ""; width: 4px; height: 1.05em; background: linear-gradient(180deg, #e0673a, #d95727); border-radius: 2px; flex: none; }

.curriculo-page .campo input, .curriculo-page .campo select, .curriculo-page .campo textarea { border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.curriculo-page .campo input:focus, .curriculo-page .campo select:focus, .curriculo-page .campo textarea:focus { border-color: #d95727; box-shadow: 0 0 0 3px rgba(217, 87, 39, .18); }
.curriculo-page .campo input:focus:not(:focus-visible), .curriculo-page .campo select:focus:not(:focus-visible), .curriculo-page .campo textarea:focus:not(:focus-visible) { outline: none; }

/* ==========================================================================
   ÁREA DO CANDIDATO — telas internas (escopo .app-candidato): vagas,
   candidaturas, notificações. Premium claro, coeso com o currículo.
   ========================================================================== */
.app-candidato .eyebrow { color: #d95727; letter-spacing: .12em; font-weight: 800; }
.app-candidato .page-heading h2 { letter-spacing: -.02em; }

/* Cards arredondados com leve profundidade */
.app-candidato .card { border-radius: 16px; box-shadow: 0 12px 32px -24px rgba(0, 20, 38, .3); }

/* Inputs premium (foco laranja) */
.app-candidato .campo input, .app-candidato .campo select, .app-candidato .campo textarea { border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.app-candidato .campo input:focus, .app-candidato .campo select:focus, .app-candidato .campo textarea:focus { border-color: #d95727; box-shadow: 0 0 0 3px rgba(217, 87, 39, .18); }
.app-candidato .campo input:focus:not(:focus-visible), .app-candidato .campo select:focus:not(:focus-visible), .app-candidato .campo textarea:focus:not(:focus-visible) { outline: none; }

/* Filtro e cards de vagas */
.app-candidato .vacancy-filter { border-radius: 16px; padding: 1.2rem; }
.app-candidato .vacancy-card { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; }
.app-candidato .vacancy-card:hover { transform: translateY(-4px); box-shadow: 0 22px 46px -22px rgba(0, 64, 105, .35); border-color: rgba(217, 87, 39, .5); }
.app-candidato .vacancy-card-footer a { color: #d95727; font-weight: 700; }
.app-candidato .favorite-button { border: 1px solid rgba(217, 87, 39, .4); background: rgba(217, 87, 39, .08); border-radius: 999px; padding: .25rem .6rem; transition: background .15s ease; }
.app-candidato .favorite-button:hover { background: rgba(217, 87, 39, .18); }

/* Back link laranja (especificidade vence o override de link do dark-mode) */
.app-candidato .app-main .back-link { color: #d95727; font-weight: 700; }
.app-candidato .app-main .back-link:hover { text-decoration: none; }

/* Timeline: acento gradiente + glow (mantém o layout existente) */
.app-candidato .tl-item.ok > .tl-marca { background: linear-gradient(180deg, #e0673a, #d95727); border-color: transparent; box-shadow: 0 0 10px rgba(217, 87, 39, .5); }
.app-candidato .tl-item.atual > .tl-marca { box-shadow: 0 0 0 4px rgba(217, 87, 39, .18), 0 0 12px rgba(217, 87, 39, .6); }
.app-candidato .tl-item.atual > .tl-corpo strong { color: #d95727; }

/* Cabeçalho de tabela discreto */
.app-candidato .tabela thead th { text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--suave); }

/* ==========================================================================
   ADMIN / RH premium (escopo .app-admin) — cards arredondados, KPIs, esteira,
   kanban, hero do candidato e inputs com foco laranja. Não toca no candidato.
   ========================================================================== */
.app-admin .eyebrow { color: #d95727; letter-spacing: .12em; font-weight: 800; }
.app-admin .page-heading h2 { letter-spacing: -.02em; }
.app-admin .app-main .back-link { color: #d95727; font-weight: 700; }
.app-admin .app-main .back-link:hover { text-decoration: none; }

/* Cards arredondados com leve profundidade */
.app-admin .card { border-radius: 16px; box-shadow: 0 12px 32px -24px rgba(0, 20, 38, .3); }
.app-admin .data-card { border-radius: 16px; }

/* Inputs premium (foco laranja) */
.app-admin .campo input, .app-admin .campo select, .app-admin .campo textarea { border-radius: 10px; transition: border-color .15s ease, box-shadow .15s ease; }
.app-admin .campo input:focus, .app-admin .campo select:focus, .app-admin .campo textarea:focus { border-color: #d95727; box-shadow: 0 0 0 3px rgba(217, 87, 39, .18); }
.app-admin .campo input:focus:not(:focus-visible), .app-admin .campo select:focus:not(:focus-visible), .app-admin .campo textarea:focus:not(:focus-visible) { outline: none; }

/* Cabeçalho de tabela discreto */
.app-admin .tabela thead th { text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--suave); }

/* Esteira do funil (dashboard) */
.app-admin .esteira-etapa { border-radius: 14px; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.app-admin .esteira-etapa:hover { transform: translateY(-3px); border-color: rgba(217, 87, 39, .5); box-shadow: 0 14px 30px -18px rgba(0, 64, 105, .3); }
.app-admin .esteira-etapa strong { color: #d95727; }

/* Kanban (pipeline) */
.app-admin .kanban-card { border-radius: 14px; box-shadow: 0 8px 22px -16px rgba(0, 20, 38, .35); transition: transform .15s ease, box-shadow .15s ease; }
.app-admin .kanban-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -18px rgba(0, 64, 105, .4); }
.app-admin .kanban-column-header { border-bottom-color: rgba(217, 87, 39, .5); }
.app-admin .kanban-count { background: rgba(217, 87, 39, .12); color: #d95727; }

/* Hero do candidato (detalhe) — reforça glow industrial */
.app-admin .rh-profile-hero { position: relative; overflow: hidden; border-radius: 18px; background: radial-gradient(90% 130% at 92% -25%, rgba(217, 87, 39, .26), transparent 55%), linear-gradient(115deg, #001426, #004069); box-shadow: 0 20px 44px -26px rgba(0, 20, 38, .7); }

/* Salário em destaque nos cards de vaga (lista pública e do candidato) */
.vaga-salario { margin: .55rem 0 0; color: var(--suave); font-size: .9rem; }
.vaga-salario strong { color: #d95727; font-size: 1.08rem; font-weight: 800; }

/* ==========================================================================
   ALINHAMENTO VISUAL CBSI — vídeo no hero, cabeçalho ao rolar, revelação
   suave ao rolar e o "ponto" laranja das seções (assinatura do site oficial).
   Tudo aprimoramento progressivo e sensível a prefers-reduced-motion.
   ========================================================================== */

/* Vídeo institucional de fundo do hero (sobre o poster, abaixo do overlay). */
.stitch-home .stitch-hero-video {
    position: absolute; inset: 0; z-index: 0;
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transition: opacity 1s ease; pointer-events: none;
}
.stitch-home .stitch-hero-video.is-playing { opacity: .68; }
/* Com movimento reduzido usa-se apenas o poster (imagem). No mobile o vídeo é
   carregado pelo JS apenas fora de conexões lentas / economia de dados. */
@media (prefers-reduced-motion: reduce) { .stitch-home .stitch-hero-video { display: none; } }

/* Cabeçalho: leve reforço de contraste/sombra depois de rolar. */
.site-body .site-header { transition: box-shadow .25s ease, background-color .25s ease; }
.site-body .site-header.is-scrolled {
    background: color-mix(in srgb, var(--superficie) 94%, transparent);
    box-shadow: 0 10px 30px -16px rgba(0, 20, 38, .6);
}

/* Revelação ao rolar — a classe base só é aplicada pelo JS (progressivo). */
.reveal-init { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; will-change: opacity, transform; }
.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .reveal-init { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* "Ponto" laranja antes do rótulo das seções — elemento de marca da CBSI. */
.stitch-home .stitch-section-heading > span { display: inline-flex; align-items: center; gap: .55rem; }
.stitch-home .stitch-section-heading > span::before {
    content: ""; width: .5rem; height: .5rem; border-radius: 50%;
    background: var(--cor-destaque, #d95727); flex: none;
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--cor-destaque, #d95727) 22%, transparent);
}

/* Transição discreta de hover nos cards de serviço (fidelidade ao site oficial). */
.site-body .cbsi-service-card { transition: transform .25s ease, box-shadow .25s ease; }
.site-body .cbsi-service-card:hover { transform: translateY(-4px); }

/* Botões do hero no estilo CBSI (cantos discretos de 4px, como o site oficial). */
.stitch-home .stitch-hero .stitch-primary-cta,
.stitch-home .stitch-hero .stitch-secondary-cta { border-radius: 4px; }
