/**
 * Portal Trabalhe Conosco — Lojas Gomes
 * Overrides e identidade visual
 * (Não desabilitar overflow do body — necessário para GSAP/scroll do template)
 */

/* —— Por que trabalhar aqui (storytelling) —— */
.portal-porque-trabalhar {
    --portal-story-font: 'Lexend', sans-serif;
    --portal-story-viewport-h: clamp(320px, 52vh, 440px);
    position: relative;
    padding-bottom: 0;
    font-family: var(--portal-story-font);
}

.portal-porque-header {
    padding-top: 2.5rem;
    padding-bottom: 1.5rem;
    text-align: center;
}

.portal-porque-header .portal-porque-subtitle {
    margin-left: auto;
    margin-right: auto;
}

.portal-porque-eyebrow {
    font-family: var(--portal-story-font);
    letter-spacing: 0.04em;
}

.portal-porque-title {
    font-family: var(--portal-story-font);
    color: var(--dark, #1a1a1a);
    letter-spacing: -0.01em;
}

.portal-porque-title.custom-font-1 {
    font-weight: 400;
}

.portal-porque-subtitle {
    font-family: var(--portal-story-font);
    font-size: 1rem;
    font-weight: 400;
    max-width: 36rem;
}

.portal-story-pin-wrap {
    width: 100%;
    max-width: 100%;
    min-height: calc(var(--portal-story-viewport-h) + 8rem);
    padding-bottom: 2rem;
    box-sizing: border-box;
}

/* GSAP pin: manter bloco centralizado na viewport (margin auto do .container deixa de funcionar) */
.portal-porque-trabalhar .portal-story-pin-wrap[style*="position: fixed"] {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.portal-story-stage {
    position: relative;
    width: 100%;
    max-width: 1320px;
    margin-left: auto !important;
    margin-right: auto !important;
    justify-content: center;
}

.portal-story-stage.is-layout-swapped .portal-story-media-col {
    order: 2;
}

.portal-story-stage.is-layout-swapped .portal-story-text-col {
    order: 1;
}

@media (max-width: 991.98px) {
    .portal-story-stage.is-layout-swapped .portal-story-media-col,
    .portal-story-stage.is-layout-swapped .portal-story-text-col {
        order: unset;
    }
}

.portal-story-media-viewport {
    position: relative;
    min-height: var(--portal-story-viewport-h);
    display: flex;
    align-items: center;
    justify-content: center;
}

.portal-story-img-stack {
    position: relative;
    width: min(100%, 420px);
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.portal-story-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    visibility: hidden;
    will-change: transform, opacity;
}

.portal-story-img.is-active {
    visibility: visible;
}

.portal-story-media-glow {
    position: absolute;
    inset: 10% 5%;
    background: radial-gradient(ellipse at center, rgba(30, 90, 168, 0.14) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.portal-story-text-col {
    position: relative;
}

.portal-story-text-viewport {
    position: relative;
    height: var(--portal-story-viewport-h);
    overflow: hidden;
    border-radius: 16px;
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 255, 0.88) 100%);
    border: 1px solid rgba(30, 90, 168, 0.1);
    box-shadow: 0 18px 48px rgba(13, 61, 122, 0.08);
}

.portal-story-text-track {
    position: relative;
    will-change: transform;
}

.portal-story-slide {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2rem 2.25rem;
    box-sizing: border-box;
}

.portal-story-kicker {
    font-family: var(--portal-story-font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--lg-accent);
    margin-bottom: 0.65rem;
}

.portal-story-heading {
    font-family: var(--portal-story-font);
    line-height: 1.1;
    font-weight: 400;
    color: var(--dark, #1a1a1a);
    margin-bottom: 1.35rem;
    letter-spacing: -0.01em;
}

.portal-story-heading.custom-font-2 {
    font-size: clamp(28px, 14.6666666667px + 0.0277777778 * 100vw, 48px);
}

.portal-story-lines {
    margin: 0;
    padding: 0;
}

.portal-story-line {
    margin: 0 0 0.85rem;
    padding: 0;
    overflow: hidden;
    line-height: 1.35;
}

.portal-story-line:last-child {
    margin-bottom: 0;
}

.portal-story-line span {
    display: block;
    font-family: var(--portal-story-font);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 400;
    line-height: 1.45;
    color: var(--dark, #1a1a1a);
    transform-origin: left center;
    will-change: transform, opacity;
}

.portal-story-fade {
    position: absolute;
    left: 0;
    right: 0;
    height: 3.5rem;
    pointer-events: none;
    z-index: 2;
}

.portal-story-fade--top {
    top: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), transparent);
}

.portal-story-fade--bottom {
    bottom: 0;
    background: linear-gradient(to top, rgba(248, 250, 255, 0.95), transparent);
}

.portal-story-progress {
    height: 3px;
    max-width: 100%;
    margin-top: 1rem;
    margin-left: auto;
    margin-right: auto;
    background: rgba(30, 90, 168, 0.12);
    border-radius: 999px;
    overflow: hidden;
}

.portal-story-progress-bar {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--lg-primary), var(--lg-accent));
    border-radius: inherit;
    transition: width 0.15s linear;
}

.portal-story-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
    justify-content: center;
}

.portal-story-dot {
    border: 1px solid rgba(30, 90, 168, 0.25);
    background: transparent;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-family: var(--portal-story-font);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--lg-primary-dark);
    cursor: pointer;
    transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
}

.portal-story-dot:hover {
    border-color: var(--lg-primary);
    transform: translateY(-1px);
}

.portal-story-dot.is-active {
    background: var(--lg-primary);
    border-color: var(--lg-primary);
    color: #fff;
}

.portal-story-scroll-spacer {
    width: 100%;
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .portal-porque-trabalhar {
        --portal-story-viewport-h: clamp(300px, 58vh, 400px);
    }

    .portal-story-slide {
        padding: 1.5rem 1.35rem 1.75rem;
    }

    .portal-story-media-viewport {
        min-height: 240px;
    }

    .portal-story-img-stack {
        width: min(78%, 280px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .portal-story-text-track,
    .portal-story-img,
    .portal-story-line span {
        transition: none !important;
    }
}

/* Depoimentos — um slide por vez, texto legível */
.portal-depoimentos .portal-depoimentos-carousel-wrap {
    width: 100%;
    max-width: 36rem;
    min-height: 8rem;
    margin-left: auto;
    margin-right: auto;
}

.portal-depoimentos .portal-depoimentos-carousel-wrap.invisible,
.portal-depoimentos .portal-depoimentos-carousel-wrap.d-none {
    visibility: visible !important;
    opacity: 1 !important;
    display: block !important;
}

@media (min-width: 992px) {
    .portal-depoimentos .portal-depoimentos-carousel-wrap {
        max-width: none;
        margin-left: 0;
    }
}

.portal-depoimentos .owl-carousel {
    display: block;
    visibility: visible;
}

.portal-depoimentos .owl-carousel .owl-stage-outer {
    min-height: 7rem;
}

.portal-depoimentos .owl-carousel:not(.owl-loaded) > div {
    display: block !important;
}

.portal-depoimentos .owl-carousel:not(.owl-loaded) > div:not(:first-child) {
    display: none !important;
}

.portal-depoimentos .portal-depoimento-card {
    padding: 0.25rem 0.5rem 0.25rem 0;
    max-width: 36rem;
}

.portal-depoimentos .portal-depoimento-text {
    font-family: 'Lexend', sans-serif;
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    font-weight: 400;
    line-height: 1.65 !important;
    margin-bottom: 1rem;
}

.portal-depoimentos .portal-depoimento-autor {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

.portal-depoimentos .custom-owl-carousel-1 .owl-nav {
    margin-top: 0.5rem;
}
:root {
    --lg-primary: #1e5aa8;
    --lg-primary-dark: #0d3d7a;
    --lg-accent: #c41e3a;
    --lg-dark: #0a0a0a;
    --lg-gradient: linear-gradient(135deg, #1e5aa8 0%, #0d3d7a 50%, #c41e3a 100%);
}

/* Header: mantém comportamento transparente + blur do portal-layout.css */

.header-logo-portal img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
    display: block;
    border-radius: 4px;
}

@media (min-width: 992px) {
    .header-logo-portal img {
        max-height: 52px;
    }
}

/* Sticky: fundo claro do template + logo proporcional */
.sticky-header-active .header-logo-portal img {
    max-height: 44px;
}

#header .header-nav-main nav > ul > li > a.nav-link-custom-1 span {
    border-bottom-color: var(--lg-primary-dark, #0d3d7a);
}

#header .header-nav-main nav > ul > li > a.nav-link-custom-1:hover span {
    border-bottom-color: var(--lg-primary, #1e5aa8);
}

.hero-portal-vagas .custom-heading-1 strong {
    color: var(--lg-accent);
}

.marquee-portal span {
    color: var(--lg-primary-dark) !important;
}

/* Faixa de logomarcas das empresas ativas (layout do portal) */
.portal-empresas-logos-section .portal-empresa-logo {
    max-height: 73px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
    display: block;
    filter: grayscale(20%);
    opacity: 0.92;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

.portal-empresas-logos-section .portal-empresa-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.portal-aviso-sem-vagas-top {
    background: linear-gradient(90deg, rgba(196, 30, 58, 0.12), rgba(30, 90, 168, 0.12));
    border-bottom: 1px solid rgba(30, 90, 168, 0.2);
    color: var(--lg-primary-dark);
    font-size: 0.95rem;
}

.portal-sem-vagas-box {
    border: 1px dashed rgba(30, 90, 168, 0.35);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    padding: 2.5rem 2rem;
}

.portal-sem-vagas-icon {
    font-size: 2.5rem;
    color: var(--lg-primary);
    opacity: 0.85;
}

.card-vaga-portal {
    border-radius: 12px;
    border: 1px solid rgba(30, 90, 168, 0.12);
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
}

.card-vaga-portal:hover {
    border-color: var(--lg-primary);
    box-shadow: 0 8px 24px rgba(30, 90, 168, 0.12);
}

.portal-hero-sem-vagas {
    max-width: 100%;
}

.card-vaga-placeholder {
    border: 1px dashed rgba(30, 90, 168, 0.35);
    border-radius: 12px;
    background: rgba(30, 90, 168, 0.04);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.card-vaga-placeholder:hover {
    border-color: var(--lg-primary);
    box-shadow: 0 8px 24px rgba(30, 90, 168, 0.12);
}

.badge-vaga-tipo {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.section-portal-beneficios .feature-box-icon {
    border-color: rgba(30, 90, 168, 0.2) !important;
}
.section-portal-beneficios .feature-box-icon i {
    color: var(--lg-primary) !important;
}

.footer-portal-vagas {
    background: var(--lg-dark) !important;
}

/* Logomarcas no rodapé — compactas e elegantes */
.footer-empresas-logos {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 992px) {
    .footer-empresas-logos {
        margin-left: auto;
        margin-right: 0;
    }
}

.footer-empresas-logos-titulo {
    letter-spacing: 0.12em;
    font-weight: 500;
}

.footer-empresas-logos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.65rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 992px) {
    .footer-empresas-logos-grid {
        justify-content: flex-end;
    }
}

.footer-empresa-logo-item {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 10px;
    padding: 0.45rem 0.7rem;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    animation: footerLogoIn 0.45s ease both;
    animation-delay: calc(var(--footer-logo-i, 0) * 0.06s);
}

.footer-empresa-logo-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.footer-empresa-logo-img {
    display: block;
    max-height: 32px;
    max-width: 88px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
}

@keyframes footerLogoIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-portal-primary {
    background: var(--lg-primary) !important;
    border-color: var(--lg-primary) !important;
}
.btn-portal-primary:hover {
    background: var(--lg-primary-dark) !important;
    border-color: var(--lg-primary-dark) !important;
}

/* Página Aviso de Privacidade */
.portal-privacidade-page {
    background: #f4f6f9;
    font-family: 'Poppins', sans-serif;
    color: #2c3e50;
    line-height: 1.7;
}

.portal-privacidade-header {
    background: #fff;
}

.portal-privacidade-card {
    border: 1px solid rgba(30, 90, 168, 0.08);
}

.portal-privacidade-card h1,
.portal-privacidade-card h2 {
    font-family: 'Lexend', sans-serif;
    color: var(--lg-primary-dark, #153d6e);
}

.portal-privacidade-sec h3 {
    color: var(--lg-primary, #1e5aa8);
    font-weight: 600;
}

.portal-privacidade-glossario dt {
    font-weight: 600;
    color: var(--lg-primary-dark, #153d6e);
    margin-top: 1rem;
}

.portal-privacidade-glossario dd {
    margin-bottom: 0.5rem;
    margin-left: 0;
    color: #495057;
}

.portal-privacidade-tabela {
    font-size: 0.875rem;
}

.portal-privacidade-tabela th {
    background: #f8f9fb !important;
    color: var(--lg-primary-dark, #153d6e);
    font-weight: 600;
}

.portal-privacidade-intro p,
.portal-privacidade-sec p,
.portal-privacidade-sec li {
    text-align: justify;
}

.portal-privacidade-footer {
    background: var(--lg-dark, #1a1a2e);
    color: rgba(255, 255, 255, 0.7);
}

.letter-spacing-1 {
    letter-spacing: 0.08em;
}

.portal-privacidade-box {
    background: linear-gradient(135deg, rgba(30, 90, 168, 0.06), rgba(30, 90, 168, 0.02));
    border-left: 4px solid var(--lg-primary, #1e5aa8);
    border-radius: 0 0.5rem 0.5rem 0;
    padding: 1rem 1.25rem;
    margin-top: 1.25rem;
}

.portal-privacidade-sec h3.h6 {
    font-weight: 600;
}
