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

.trabalhe-section {
    background-color: #ffffff;
    overflow: hidden;
    position: relative;
    padding: 0;
}

/* Container principal: imagem + formulário lado a lado */
.trabalhe-container {
    max-width: 1920px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
}

/* ------------------------------------------------- */
/* COLUNA ESQUERDA — Foto da mulher                  */
/* ------------------------------------------------- */
.trabalhe-visual {
    flex: 0 0 40%;
    max-width: 40%;
    position: relative;
    overflow: hidden;
    margin-left: clamp(16px, 2vw, 40px);
    border-radius: 0 0 0 0;
}

/* Título na col. esquerda desativado */
.visual-title {
    display: none;
}

/* Wrapper da imagem preenche toda a coluna */
.visual-composite-wrapper {
    width: 100%;
    height: 100%;
}

.composite-visual-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ------------------------------------------------- */
/* COLUNA DIREITA — Título + Formulário              */
/* ------------------------------------------------- */
.trabalhe-form-wrapper {
    flex: 1;
    padding: clamp(40px, 4vw, 80px) clamp(40px, 5vw, 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

/* Título acima do formulário — sempre visível */
.form-title {
    font-size: clamp(1.8rem, 2.5vw, 2.8rem);
    font-weight: 700;
    color: #1f3dbb;
    margin-bottom: 28px;
}

/* ------------------------------------------------- */
/* FORMULÁRIO                                        */
/* ------------------------------------------------- */
.recruitment-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row {
    display: flex;
    gap: 18px;
}

.form-group {
    flex: 1;
}

.form-group.full-width {
    flex: none;
    width: 100%;
}

/* Campos */
.recruitment-form input,
.recruitment-form select,
.recruitment-form textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid #1f3dbb;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #333;
    background-color: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.recruitment-form input:focus,
.recruitment-form select:focus,
.recruitment-form textarea:focus {
    border-color: #1146e6;
    box-shadow: 0 0 0 3px rgba(31, 61, 187, 0.1);
}

.recruitment-form input::placeholder,
.recruitment-form textarea::placeholder {
    color: #A0ABC0;
}

.recruitment-form select:invalid {
    color: #A0ABC0;
}

.recruitment-form select option {
    color: #333;
}

/* Seta do select */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #1f3dbb;
    pointer-events: none;
    font-size: 11px;
}

.recruitment-form select {
    appearance: none;
    cursor: pointer;
}

/* Textarea mensagem */
.recruitment-form textarea {
    resize: vertical;
    min-height: 100px;
}

/* ------------------------------------------------- */
/* LINHA DE AÇÕES (Currículo + Enviar)               */
/* ------------------------------------------------- */
.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-top: 4px;
}

.file-upload-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.file-label-text {
    font-weight: 600;
    color: #4A5568;
    font-size: 14px;
    white-space: nowrap;
}

.custom-file-input {
    position: relative;
    display: inline-block;
}

.custom-file-input input[type="file"] {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    border: none;
    padding: 0;
}

.btn-file-custom {
    display: inline-block;
    padding: 10px 20px;
    background-color: #eef1fb;
    color: #2D4BCC;
    border: 1px solid #2D4BCC;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.custom-file-input:hover .btn-file-custom {
    background-color: #2D4BCC;
    color: #fff;
}

/* Botão Enviar */
.form-submit {
    flex-shrink: 0;
}

.btn-submit {
    background-color: #2d4bcc;
    color: #fff;
    border: none;
    padding: 14px 52px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.2s ease;
    white-space: nowrap;
}

.btn-submit:hover {
    background-color: #1a35b0;
    transform: translateY(-2px);
}

/* ------------------------------------------------- */
/* RESPONSIVIDADE                                    */
/* ------------------------------------------------- */
@media (max-width: 1100px) {
    .trabalhe-container {
        flex-direction: column;
        min-height: unset;
    }

    .trabalhe-visual {
        flex: none;
        max-width: 100%;
        width: 100%;
        height: 320px;
        min-height: 320px;
    }

    .visual-composite-wrapper {
        min-height: 320px;
        height: 320px;
    }

    .form-title {
        display: block;
    }

    .trabalhe-form-wrapper {
        padding: 40px 24px;
    }
}

@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 14px;
    }

    .form-actions-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
    }

    .trabalhe-visual {
        height: 260px;
        min-height: 260px;
    }

    .visual-composite-wrapper {
        height: 260px;
        min-height: 260px;
    }
}