/* Módulo: página Trabalhe Conosco e bloco de carreiras do rodapé. */

/* =========================================
   33. TRABALHE CONOSCO
========================================= */
.careers-page {
    background: #ffffff;
    color: var(--text);
}

.careers-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.careers-page section {
    padding: 100px 6%;
}

.careers-kicker {
    margin: 0 0 18px;
    color: #8ac7f0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    line-height: 1.4;
    text-transform: uppercase;
}

.careers-kicker--blue {
    color: var(--ocean);
}

.careers-hero {
    min-height: 720px;
    padding-top: 190px !important;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(115deg, rgba(3, 16, 29, 0.99) 0%, rgba(5, 36, 60, 0.96) 55%, rgba(0, 90, 156, 0.86) 100%),
        radial-gradient(circle at 85% 15%, rgba(66, 153, 225, 0.3), transparent 36%);
    color: #ffffff;
}

.careers-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to right, transparent 0%, #000 48%, #000 100%);
}

.careers-hero__content {
    position: relative;
    z-index: 2;
}

.careers-hero__content h1 {
    max-width: 880px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.9rem, 6vw, 5.5rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.98;
    text-wrap: balance;
}

.careers-hero__lead {
    max-width: 730px;
    margin: 32px 0 0;
    color: #d8e7f2;
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    line-height: 1.75;
}

.careers-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.careers-button {
    min-height: 52px;
    padding: 14px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 6px;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.3;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.careers-button--primary {
    background: #0875bd;
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(0, 90, 156, 0.25);
}

.careers-button--primary:hover {
    transform: translateY(-2px);
    background: #005a9c;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(0, 90, 156, 0.34);
}

.careers-button--ghost {
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

.careers-button--ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.careers-button:focus-visible,
.careers-job__details summary:focus-visible,
.footer-careers-link:focus-visible {
    outline: 3px solid var(--focus-ring);
    outline-offset: 4px;
}

.careers-hero__highlights {
    margin: 70px 0 0;
    padding: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 18px 42px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    color: #cfe1ee;
    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    list-style: none;
    text-transform: uppercase;
}

.careers-hero__highlights li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.careers-hero__highlights li::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34a8f3;
    box-shadow: 0 0 0 5px rgba(52, 168, 243, 0.12);
}

.careers-hero__glow {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(10px);
    pointer-events: none;
}

.careers-hero__glow--one {
    width: 420px;
    height: 420px;
    right: -120px;
    top: 120px;
    background: rgba(24, 140, 218, 0.18);
}

.careers-hero__glow--two {
    width: 260px;
    height: 260px;
    right: 28%;
    bottom: -140px;
    background: rgba(48, 112, 151, 0.14);
}

.careers-section-heading {
    margin-bottom: 52px;
}

.careers-section-heading h2,
.careers-application__intro h2 {
    max-width: 760px;
    margin: 0;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.08;
    text-wrap: balance;
}

.careers-section-heading > p:last-child {
    max-width: 720px;
    margin: 20px 0 0;
    color: #526477;
    font-size: 1.05rem;
}

.careers-section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 80px;
    align-items: end;
}

.careers-section-heading--split > p {
    margin: 0;
    color: #526477;
    font-size: 1.08rem;
    line-height: 1.8;
}

.careers-section-heading--centered {
    text-align: center;
}

.careers-section-heading--centered h2,
.careers-section-heading--centered > p:last-child {
    margin-left: auto;
    margin-right: auto;
}

.careers-values-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.careers-value-card {
    min-height: 300px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    border: 1px solid #dce6ee;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 12px 34px rgba(5, 22, 38, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.careers-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 90, 156, 0.36);
    box-shadow: 0 20px 42px rgba(5, 22, 38, 0.09);
}

.careers-value-card__number {
    color: var(--ocean);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.careers-value-card h3 {
    margin: auto 0 12px;
    color: var(--navy);
    font-size: 1.25rem;
    line-height: 1.25;
}

.careers-value-card p {
    margin: 0;
    color: #617184;
    font-size: 0.94rem;
    line-height: 1.7;
}

.careers-openings {
    background: var(--navy);
    color: #ffffff;
}

.careers-section-heading--light h2 {
    color: #ffffff;
}

.careers-section-heading--light > p:last-child {
    color: #b8c9d7;
}

.careers-jobs-list {
    display: grid;
    gap: 18px;
}

.careers-job {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
    overflow: hidden;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.careers-job:has(.careers-job__details[open]),
.careers-job:hover {
    border-color: rgba(77, 175, 238, 0.42);
    background: rgba(255, 255, 255, 0.075);
}

.careers-job__summary {
    padding: 30px 32px 25px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 38px;
    align-items: center;
}

.careers-job__area {
    margin: 0 0 8px;
    color: #61b8ee;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.careers-job h3 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    line-height: 1.25;
}

.careers-job__excerpt {
    max-width: 720px;
    margin: 12px 0 0;
    color: #bdcad4;
    font-size: 0.94rem;
    line-height: 1.7;
}

.careers-job__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    list-style: none;
}

.careers-job__meta li {
    min-width: 110px;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #e2ebf2;
    font-size: 0.78rem;
    line-height: 1.35;
}

.careers-job__meta span {
    margin-bottom: 2px;
    display: block;
    color: #7f9aab;
    font-size: 0.63rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.careers-job__details {
    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.careers-job__details summary {
    padding: 17px 32px;
    color: #e5eef5;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    list-style: none;
    text-transform: uppercase;
}

.careers-job__details summary::-webkit-details-marker {
    display: none;
}

.careers-job__details summary::after {
    content: '+';
    margin-left: 10px;
    color: #56b5ef;
    font-size: 1.25rem;
    line-height: 0;
}

.careers-job__details[open] summary::after {
    content: '−';
}

.careers-job__description {
    padding: 28px 32px 34px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    color: #c9d5de;
    font-size: 0.95rem;
}

.careers-job__description h2,
.careers-job__description h3,
.careers-job__description h4 {
    margin: 28px 0 12px;
    color: #ffffff;
}

.careers-job__description h2:first-child,
.careers-job__description h3:first-child,
.careers-job__description h4:first-child {
    margin-top: 0;
}

.careers-job__description p,
.careers-job__description ul,
.careers-job__description ol {
    max-width: 850px;
    margin-bottom: 18px;
}

.careers-job__description ul,
.careers-job__description ol {
    padding-left: 22px;
}

.careers-job__description .careers-apply-button {
    margin-top: 12px;
}

.careers-empty-state {
    padding: 38px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 24px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.055);
}

.careers-empty-state__icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(93, 185, 241, 0.35);
    border-radius: 50%;
    color: #5db9f1;
    font-size: 2rem;
}

.careers-empty-state h3 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 1.25rem;
}

.careers-empty-state p {
    margin: 0;
    color: #b8c9d7;
    font-size: 0.94rem;
}

.careers-process {
    background: #f3f7fa;
}

.careers-process-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    counter-reset: careers-step;
}

.careers-process-list li {
    min-height: 190px;
    padding: 0 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 28px;
    border-left: 1px solid #d5e1e9;
}

.careers-process-list li:last-child {
    border-right: 1px solid #d5e1e9;
}

.careers-process-list li > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--navy);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 800;
}

.careers-process-list h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 1.12rem;
}

.careers-process-list p {
    margin: 0;
    color: #667789;
    font-size: 0.9rem;
    line-height: 1.65;
}

.careers-application {
    background: #ffffff;
}

.careers-application__layout {
    display: grid;
    grid-template-columns: minmax(300px, 0.82fr) minmax(440px, 1.18fr);
    gap: 78px;
    align-items: start;
}

.careers-application__intro {
    position: sticky;
    top: 125px;
}

.careers-application__intro > p:not(.careers-kicker) {
    margin: 24px 0 0;
    color: #5f7182;
    font-size: 1rem;
    line-height: 1.8;
}

.careers-privacy-note {
    margin-top: 34px;
    padding: 22px;
    display: grid;
    gap: 6px;
    border-left: 3px solid var(--ocean);
    background: #f1f6fa;
    color: #5b6c7d;
    font-size: 0.82rem;
    line-height: 1.6;
}

.careers-privacy-note strong {
    color: var(--navy);
}

.careers-privacy-note a {
    color: var(--ocean);
    font-weight: 700;
}

.careers-form-card {
    padding: 42px;
    border: 1px solid #dce6ee;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 20px 55px rgba(5, 22, 38, 0.09);
}

.careers-form-card h2,
.careers-form-card h3 {
    margin: 0 0 12px;
    color: var(--navy);
}

.careers-form-card p {
    margin-bottom: 18px;
}

.careers-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 18px;
}

.careers-form-field--full,
.careers-form-grid > p:last-child {
    grid-column: 1 / -1;
}

.careers-form-card label {
    color: var(--navy);
    font-size: 0.84rem;
    font-weight: 700;
}

.careers-form-card input:not([type='checkbox']):not([type='radio']):not([type='submit']),
.careers-form-card select,
.careers-form-card textarea {
    width: 100%;
    margin-top: 6px;
    padding: 14px 15px;
    border: 1px solid #cbd8e2;
    border-radius: 5px;
    background: #f9fbfc;
    color: #172636;
    font: inherit;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.careers-form-card input:not([type='checkbox']):not([type='radio']):not([type='submit']):focus,
.careers-form-card select:focus,
.careers-form-card textarea:focus {
    outline: none;
    border-color: var(--ocean);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 90, 156, 0.11);
}

.careers-form-card input[type='file'] {
    padding: 11px !important;
}

.careers-form-card textarea {
    min-height: 130px;
    resize: vertical;
}

.careers-form-card input[type='submit'],
.careers-form-card button[type='submit'] {
    width: 100%;
    min-height: 54px;
    padding: 14px 22px;
    border: 0;
    border-radius: 6px;
    background: var(--navy);
    color: #ffffff;
    cursor: pointer;
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background-color 0.25s ease, transform 0.25s ease;
}

.careers-form-card input[type='submit']:hover,
.careers-form-card button[type='submit']:hover {
    transform: translateY(-1px);
    background: var(--ocean);
}

.careers-form-fallback > p {
    color: #617184;
}

.careers-admin-note {
    margin-top: 24px !important;
    padding: 14px;
    border-radius: 5px;
    background: #fff8db;
    color: #6a5313 !important;
    font-size: 0.78rem;
    line-height: 1.5;
}

@media (max-width: 1000px) {
    .careers-values-grid,
    .careers-process-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .careers-process-list li:nth-child(3) {
        border-top: 1px solid #d5e1e9;
    }

    .careers-process-list li:nth-child(4) {
        border-top: 1px solid #d5e1e9;
        border-right: 1px solid #d5e1e9;
    }

    .careers-application__layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .careers-application__intro {
        position: static;
    }
}

@media (max-width: 760px) {
    .careers-page section {
        padding: 72px 5%;
    }

    .careers-hero {
        min-height: 700px;
        padding-top: 150px !important;
    }

    .careers-hero::before {
        background-size: 48px 48px;
    }

    .careers-hero__content h1 {
        font-size: clamp(2.5rem, 12vw, 3.7rem);
    }

    .careers-hero__lead {
        margin-top: 24px;
        font-size: 1rem;
    }

    .careers-hero__actions,
    .careers-hero__actions .careers-button {
        width: 100%;
    }

    .careers-hero__highlights {
        margin-top: 48px;
        display: grid;
        gap: 13px;
    }

    .careers-section-heading--split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .careers-values-grid,
    .careers-process-list {
        grid-template-columns: 1fr;
    }

    .careers-value-card {
        min-height: 240px;
    }

    .careers-job__summary {
        padding: 26px 22px 22px;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .careers-job__meta {
        justify-content: flex-start;
    }

    .careers-job__meta li {
        min-width: calc(50% - 5px);
        flex: 1;
    }

    .careers-job__details summary,
    .careers-job__description {
        padding-left: 22px;
        padding-right: 22px;
    }

    .careers-empty-state {
        padding: 28px 22px;
        grid-template-columns: 1fr;
    }

    .careers-empty-state .careers-button {
        width: 100%;
    }

    .careers-process-list li,
    .careers-process-list li:nth-child(3),
    .careers-process-list li:nth-child(4),
    .careers-process-list li:last-child {
        min-height: 0;
        padding: 24px 0;
        flex-direction: row;
        gap: 18px;
        border: 0;
        border-bottom: 1px solid #d5e1e9;
    }

    .careers-process-list li > span {
        flex: 0 0 42px;
    }

    .careers-form-card {
        padding: 28px 20px;
    }

    .careers-form-grid {
        grid-template-columns: 1fr;
    }

    .careers-form-field--full,
    .careers-form-grid > p:last-child {
        grid-column: auto;
    }
}
