/* =====================================================
   TRABALHE-CONOSCO.CSS — Estilos exclusivos de trabalhe-conosco.html
   Projeto: Confiança FIDC
   ===================================================== */




/* =====================================================
   BASE INTERNALIZADA — exclusiva do trabalhe-conosco
   (hero, seções, reveal e botão). Antes vinham do style.css.
   Cabeçalho, rodapé, redes sociais e WhatsApp continuam no style.css.
   ===================================================== */

/* Animação de entrada (scroll reveal) */
.tc-reveal        { opacity: 0; transform: translateY(28px); transition: opacity 0.75s ease, transform 0.75s ease; }
.tc-reveal-left   { opacity: 0; transform: translateX(-36px); transition: opacity 0.75s ease, transform 0.75s ease; }
.tc-reveal-right  { opacity: 0; transform: translateX(36px); transition: opacity 0.75s ease, transform 0.75s ease; }
.tc-reveal.visible, .tc-reveal-left.visible, .tc-reveal-right.visible { opacity: 1; transform: translate(0); }
.tc-reveal-delay-1 { transition-delay: 0.1s; }
.tc-reveal-delay-2 { transition-delay: 0.2s; }
.tc-reveal-delay-3 { transition-delay: 0.3s; }
.tc-reveal-delay-4 { transition-delay: 0.4s; }

/* Seções internas */
.tc-section        { padding: 40px var(--page-pad); }
.tc-section--dark  { background: var(--color-black); }
.tc-section--white { background: var(--color-white); }

.tc-section-label {
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.35);
    margin-bottom: 14px;
    display: block;
}
.tc-section-label--dark { color: rgba(0,0,0,0.38); }

.tc-section-title {
    font-size: var(--fs-xl);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.015em;
    text-transform: uppercase;
    margin-bottom: clamp(14px, 2vw, 24px);
}
.tc-section-title--light { color: var(--color-white); }
.tc-section-title--dark  { color: #0a0a0a; }

/* Botão (hero e CTA) */
.tc-btn {
    position: relative;
    display: inline-block;
    width: fit-content;
    padding: clamp(10px, 1vw, 16px) clamp(42px, 3.8vw, 68px);
    background: rgba(255, 255, 255, 0.178);
    backdrop-filter: blur(5px);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    color: rgba(255, 255, 255, 0.88);
    font-size: var(--fs-sm);
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: 50px;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease, box-shadow 0.4s ease;
    overflow: visible;
}
.tc-btn::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.75);
    opacity: 0;
    transform: scale(1);
    pointer-events: none;
}
.tc-btn:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: transparent;
    color: var(--color-black);
    box-shadow: 0 0 0 5px rgba(255, 255, 255, 0.1), 0 0 28px rgba(255, 255, 255, 0.22);
}
.tc-btn:hover::after { animation: tcBtnRipple 0.52s ease forwards; }
@keyframes tcBtnRipple {
    0%   { opacity: 0.65; transform: scale(1); }
    100% { opacity: 0; transform: scale(1.22); }
}

/* Hero (base) */
.tc-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}
.tc-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    transition: transform 1.4s ease;
}
.tc-hero.loaded .tc-hero-bg { transform: scale(1); }
.tc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.92) 0%,
        rgba(0,0,0,0.80) 45%,
        rgba(0,0,0,0.68) 100%
    );
}
.tc-hero-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: stretch;
    gap: clamp(8px, 1vw, 14px);
    padding: clamp(18px, 2.2vw, 28px) var(--page-pad);
    border-top: 1px solid rgba(255,255,255,0.07);
    background: rgba(0,0,0,0.28);
    backdrop-filter: blur(6px);
}
.tc-hero-bar-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: clamp(12px, 1.4vw, 18px) clamp(14px, 1.6vw, 22px);
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.tc-hero-bar-card:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.22);
}
.tc-hero-bar-label {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}
.tc-hero-bar-card p {
    font-size: var(--fs-xs);
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin: 0;
}
@media (max-width: 768px) {
    .tc-hero-bar { flex-wrap: wrap; }
    .tc-hero-bar-card { flex: 1 1 calc(50% - 8px); }
}

/* =====================================================
   TC HERO — split layout: esquerda (texto) | direita (gráfico)
   ===================================================== */

/* Grade de valores — os 4 cards na mesma linha */
.values-grid.values-grid-4 {
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
}
.values-grid-4 .value-card {
    padding: 25px;
}
@media (max-width: 1000px) {
    .values-grid.values-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
    .values-grid.values-grid-4 { grid-template-columns: 1fr; }
}

/* Corpo do hero: flex row acima da barra */
.tc-hero-body {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: end;
    padding: 115px var(--page-pad) 40px;
    gap: 80px;
}

/* Esquerda — conteúdo */
.tc-hero-content {
    position: static;
    padding: 0;
    max-width: 560px;
    flex: 1 1 56%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.tc-hero-content h1 {
    font-size: 30px;
    font-weight: 800;
    color: var(--color-white);
    line-height: 1.07;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    margin-bottom: 18px;
}

.tc-hero-content p {
    font-size: var(--fs-base);
    line-height: 1.65;
    max-width: 520px;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    line-height: 1.4;
    margin-bottom: 18px;
}

/* =====================================================
   TC HERO — painel do selo GPTW
   ===================================================== */
.tc-gptw-panel {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.tc-gptw-seals {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
}

.tc-gptw-seals img {
    height: 160px;
    width: auto;
    display: block;
    filter: drop-shadow(0 14px 32px rgba(0,0,0,0.5));
}

.tc-gptw-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.tc-gptw-caption-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.10em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* =====================================================
   TC MANIFESTO — mensagem estratégica (abaixo do hero)
   ===================================================== */
.tc-manifesto {
    background-color: #000000;
    padding: 40px var(--page-pad);
    justify-items: center;
    text-align: center;
    border-bottom: 1px solid #272727ce;
}

.tc-manifesto-text {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.42;
    color: rgb(255, 255, 255);
    width: 85%;
    margin-bottom: 0px;
}


/* =====================================================
   VALUES GRID (migrado do pages.css)
   ===================================================== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.value-card {
    background: #111;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 40px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.value-card:hover {
    background: #161616;
    border-color: rgba(255,255,255,0.18);
}

.value-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.6);
}

.value-card h3 {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.value-card p {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
}

/* Card único full-width com todas as tags (padrão do projeto, .modal-tag) */
.tc-tags-card {
    margin-top: 28px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 6px;
    padding: 36px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}
.tc-tag {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-gray-border);
    background: rgba(255, 255, 255, 0.04);
    white-space: nowrap;
    cursor: default;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.tc-tag:hover {
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.38);
    color: rgba(255, 255, 255, 0.90);
}








/* =====================================================
   PALAVRA DO RH — foto (selo) | texto
   ===================================================== */
.tc-rh-inner {
    display: flex;
    align-items: center;
    gap: clamp(36px, 5vw, 72px);
}

.tc-rh-photo {
    flex: 0 0 42%;
    max-width: 460px;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 24px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.tc-rh-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.tc-rh-text { flex: 1; min-width: 0; }

.tc-rh-text p {
    font-size: var(--fs-sm);
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-top: 16px;
    max-width: 560px;
}

.tc-rh-sign {
    display: block;
    margin-top: 24px;
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.78);
}

.tc-rh-text .tc-btn {
    display: inline-flex;
    margin-top: 26px;
}

/* =====================================================
   BENEFITS GRID (migrado + definido)
   ===================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(10px, 1vw, 14px);
}

/* Card vertical — padrão do projeto para fundo claro */
.benefit-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: clamp(11px, 1.1vw, 15px) clamp(14px, 1.3vw, 18px);
    background: #f4f4f4;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.055);
    transition:
        background 0.32s ease,
        border-color 0.32s ease,
        box-shadow 0.32s ease,
        transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
    cursor: default;
}

.benefit-item:hover {
    background: #0a0a0a;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.benefit-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    color: rgba(0,0,0,0.25);
    transition: color 0.32s ease;
}
.benefit-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.benefit-item:hover .benefit-icon {
    color: rgba(255,255,255,0.7);
}

.benefit-text h4 {
    font-size: var(--fs-xs);
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.3;
    transition: color 0.32s ease;
}

.benefit-item:hover .benefit-text h4 {
    color: #fff;
}

.benefit-text p {
    font-size: 11px;
    color: rgba(0,0,0,0.45);
    line-height: 1.6;
    transition: color 0.32s ease;
}

.benefit-item:hover .benefit-text p {
    color: rgba(255,255,255,0.55);
}

/* =====================================================
   FRASE DE FECHAMENTO (seção proposta)
   ===================================================== */

/* Frase de fechamento */
.tc-quote { text-align: center; }
.tc-quote blockquote {
    max-width: 920px;
    margin: 0 auto;
    font-size: clamp(1.5rem, 3.4vw, 2.6rem);
    font-weight: 300;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--color-white);
}
.tc-quote blockquote strong { font-weight: 700; }
.tc-quote .tc-btn { margin-top: clamp(24px, 3vw, 34px); }

/* =====================================================
   DEPOIMENTOS — carrossel de funcionários (coverflow)
   ===================================================== */
.tc-depo { overflow: hidden; }

.emp-stage {
    --card-w: clamp(230px, 21vw, 290px);
    --gap: 26px;
    position: relative;
    height: clamp(440px, 48vw, 510px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.emp-card {
    position: absolute;
    left: 50%; top: 50%;
    width: var(--card-w);
    height: clamp(380px, 40vw, 440px);
    border-radius: 16px;
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 26px 60px rgba(0,0,0,0.25);
    padding: clamp(26px, 2.6vw, 34px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    z-index: 0;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    will-change: transform, opacity;
}
/* 3 cards inteiros no centro (esquerda, centro, direita) */
.emp-card.is-active { transform: translate(-50%, -50%) scale(1); opacity: 1; z-index: 5; }
.emp-card.is-next  { transform: translate(-50%, -50%) translateX(calc(var(--card-w) + var(--gap))) scale(1); opacity: 1; z-index: 4; }
.emp-card.is-prev  { transform: translate(-50%, -50%) translateX(calc(-1 * (var(--card-w) + var(--gap)))) scale(1); opacity: 1; z-index: 4; }
/* 2 nas extremidades — um pouco para trás */
.emp-card.is-next2 { transform: translate(-50%, -50%) translateX(calc(1.92 * var(--card-w))) scale(0.85); opacity: 0.4; z-index: 3; }
.emp-card.is-prev2 { transform: translate(-50%, -50%) translateX(calc(-1.92 * var(--card-w))) scale(0.85); opacity: 0.4; z-index: 3; }
.emp-card.is-hidden { transform: translate(-50%, -50%) scale(0.6); opacity: 0; z-index: 0; pointer-events: none; }

/* Texto do depoimento — protagonista do card (~80%) */
.emp-card-quote {
    position: relative;
    font-size: clamp(13px, 1.02vw, 14.5px);
    color: rgba(255,255,255,0.92);
    line-height: 1.55;
    padding-top: 24px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}
.emp-card-quote::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    left: -2px;
    font-size: 40px;
    line-height: 0;
    color: rgba(255,255,255,0.2);
}
/* Rodapé — imagem pequena (~20%) + nome/setor */
.emp-card-foot {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.emp-card-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,0.14);
}
.emp-card-name {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}
.emp-card-role {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-top: 4px;
}

.emp-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: clamp(22px, 3vw, 34px);
}
.emp-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.18);
    background: transparent;
    color: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.emp-arrow svg { width: 20px; height: 20px; }
.emp-arrow:hover {
    background: #0a0a0a;
    color: #fff;
    border-color: #0a0a0a;
}

@media (max-width: 1024px) {
    .emp-stage { --card-w: clamp(190px, 28vw, 260px); }
    .emp-card.is-prev2, .emp-card.is-next2 { opacity: 0; pointer-events: none; }
}
@media (max-width: 680px) {
    .emp-stage { --card-w: clamp(230px, 84vw, 320px); height: clamp(360px, 92vw, 430px); }
    .emp-card.is-prev, .emp-card.is-next { opacity: 0; pointer-events: none; }
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 980px) {
    .tc-hero-body {
        flex-direction: column;
        align-items: flex-start;
        padding-bottom: clamp(24px, 3vw, 36px);
    }
    .tc-hero-content { max-width: 100%; }
    .tc-gptw-panel { width: 100%; align-items: flex-start; }
}

@media (max-width: 1100px) {
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 860px) {
    .values-grid   { grid-template-columns: repeat(2, 1fr); }
    .benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .tc-rh-inner   { flex-direction: column; align-items: flex-start; gap: clamp(28px, 5vw, 40px); }
    .tc-rh-photo   { flex: none; width: 100%; max-width: 420px; align-self: center; }
}

@media (max-width: 600px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .values-grid   { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
