/* ===========================
   PÁGINA TRABALHE CONOSCO
=========================== */

/* Título bicolor — cada parte entra separada */
.tc-title-dark {
    display: inline-block;
    animation: nacefFadeUp .55s cubic-bezier(.22,1,.36,1) .1s both;
}
.tc-title-gold {
    display: inline-block;
    animation: nacefFadeUp .55s cubic-bezier(.22,1,.36,1) .22s both;
}
.tc-header__sub {
    animation: nacefFadeUp .5s cubic-bezier(.22,1,.36,1) .32s both;
}

/* Campos do formulário entram em cascata */
.tc-form__group {
    opacity: 0;
    animation: nacefFadeUp .45s cubic-bezier(.22,1,.36,1) both;
}
.tc-form__group:nth-child(1) { animation-delay: .38s; }
.tc-form__group:nth-child(2) { animation-delay: .46s; }
.tc-form__group:nth-child(3) { animation-delay: .54s; }
.tc-form__group:nth-child(4) { animation-delay: .62s; }
.tc-form__group:nth-child(5) { animation-delay: .70s; }
.tc-form__privacy {
    animation: nacefFadeUp .4s cubic-bezier(.22,1,.36,1) .78s both;
}
.tc-btn-submit {
    animation: nacefFadeUp .5s cubic-bezier(.22,1,.36,1) .86s both;
}

/* Animações reutilizadas do contato (nacefFadeUp) */
@keyframes nacefFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.page-template-page-trabalhe-conosco .site-footer {
    background: var(--navy);
}

.tc-section {
    padding: 100px 0 96px;
    background: var(--gray-lt);
    min-height: 100vh;
}

.tc-wrap {
    max-width: 620px;
    margin: 0 auto;
}

.tc-header {
    text-align: center;
    margin-bottom: 40px;
}

.tc-header__title {
    font-size: clamp(1.75rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 10px;
}

.tc-title-dark { color: #032446; }
.tc-title-gold { color: #c98d23; }

.tc-header__sub {
    font-size: 15px;
    color: var(--gray);
}

/* ── FORMULÁRIO ── */
.tc-form {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 48px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tc-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tc-form__group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--navy);
}

.tc-form__group label span {
    color: var(--gold);
}

.tc-form__group input,
.tc-form__group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 14px;
    color: #1f2937;
    background: var(--gray-lt);
    transition: border-color .2s, box-shadow .2s;
    outline: none;
}

.tc-form__group input:focus,
.tc-form__group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 141, 35, .12);
    background: var(--white);
}

.tc-form__group textarea {
    resize: vertical;
    min-height: 110px;
}

/* ── TELEFONE COM PREFIXO +55 ── */
.tc-input-tel {
    display: flex;
    align-items: stretch;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--gray-lt);
    transition: border-color .2s, box-shadow .2s;
}

.tc-input-tel:focus-within {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 141, 35, .12);
    background: var(--white);
}

.tc-input-tel__prefix {
    padding: 11px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy);
    background: #e9ecef;
    border-right: 1.5px solid #e5e7eb;
    white-space: nowrap;
    display: flex;
    align-items: center;
}

.tc-input-tel input {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    flex: 1;
}

/* ── UPLOAD DE ARQUIVO ── */
.tc-file-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.tc-file-input {
    display: none;
}

.tc-form__group .tc-file-btn {
    color: var(--white);
}

.tc-file-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--navy);
    color: var(--white);
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background .2s;
    white-space: nowrap;
}

.tc-file-btn:hover {
    background: var(--navy-md);
}

.tc-file-name {
    font-size: 13px;
    color: var(--gray);
    word-break: break-all;
}

.tc-file-hint {
    font-size: 12px;
    color: var(--gray);
    margin-top: 4px;
}

/* ── PRIVACIDADE ── */
.tc-form__privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tc-form__privacy input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--gold);
    cursor: pointer;
}

.tc-form__privacy label {
    font-size: 13px;
    color: var(--gray);
    cursor: pointer;
    line-height: 1.5;
}

.tc-link {
    color: var(--gold);
    font-weight: 600;
}

.tc-link:hover {
    text-decoration: underline;
}

/* ── FEEDBACK ── */
.tc-feedback {
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
}

.tc-feedback--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.tc-feedback--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

/* ── BOTÃO ── */
.tc-btn-submit {
    width: 100%;
    padding: 15px 32px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s;
}

.tc-btn-submit:hover {
    background: var(--navy-md);
}

.tc-btn-submit:disabled {
    opacity: .7;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .tc-section {
        padding: 80px 0 64px;
    }

    .tc-form {
        padding: 28px 24px;
    }
}
