.contact-form .curriculo-option {
    display: block;
    margin-top: 20px;
    cursor: pointer;
    user-select: none;
}

.contact-form .curriculo-option input[type=checkbox] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-form .curriculo-option__content {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 12px 16px;
    border: 1px solid rgba(218, 218, 218, 0.55);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 600;
    font-family: "Open Sans", sans-serif;
    line-height: 1.3;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease, color .25s ease;
}

.contact-form .curriculo-option__mark {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    border: 2px solid #dadada;
    border-radius: 5px;
    background: transparent;
    transition: border-color .25s ease, background-color .25s ease, transform .2s ease;
}

.contact-form .curriculo-option__mark::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 6px;
    height: 11px;
    border-right: 2px solid transparent;
    border-bottom: 2px solid transparent;
    transform: rotate(45deg) scale(0);
    transform-origin: center;
    transition: transform .2s ease, border-color .2s ease;
}

.contact-form .curriculo-option__label {
    flex: 1;
}

.contact-form .curriculo-option:hover .curriculo-option__content {
    border-color: #fcdb5a;
    background: rgba(252, 219, 90, 0.08);
}

.contact-form .curriculo-option input[type=checkbox]:focus-visible + .curriculo-option__content {
    outline: 2px solid #fcdb5a;
    outline-offset: 2px;
}

.contact-form .curriculo-option input[type=checkbox]:checked + .curriculo-option__content {
    border-color: #fcdb5a;
    background: rgba(252, 219, 90, 0.14);
    box-shadow: 0 0 0 1px rgba(252, 219, 90, 0.25);
    color: #fcdb5a;
}

.contact-form .curriculo-option input[type=checkbox]:checked + .curriculo-option__content .curriculo-option__mark {
    border-color: #fcdb5a;
    background: #fcdb5a;
    transform: scale(1.05);
}

.contact-form .curriculo-option input[type=checkbox]:checked + .curriculo-option__content .curriculo-option__mark::after {
    border-right-color: #262d97;
    border-bottom-color: #262d97;
    transform: rotate(45deg) scale(1);
}

.contact-form .file-upload {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.contact-form .file-upload__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid #fcdb5a;
    color: #fcdb5a;
    background: transparent;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: "Open Sans", sans-serif;
    cursor: pointer;
    overflow: hidden;
    transition: background-color .25s ease-in-out, color .25s ease-in-out, border-color .25s ease-in-out;
}

.contact-form .file-upload__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.contact-form .file-upload__btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.contact-form .file-upload__btn:hover,
.contact-form .file-upload__btn:focus-within {
    background-color: #fcdb5a;
    color: #262d97;
    outline: none;
}

.contact-form .file-upload__btn svg {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: currentColor;
}

.contact-form .file-upload__name {
    flex: 1 1 200px;
    min-width: 0;
    color: #dadada;
    font-size: 1.3rem;
    line-height: 1.4;
    word-break: break-word;
}

.contact-form .file-upload__name.is-selected {
    color: #ffffff;
}

.contact-form .upload-info {
    display: block;
    width: 100%;
    margin-top: 8px;
    color: #dadada;
    font-size: 1.2rem;
    line-height: 1.4;
}

.contact-form .box_curriculo .input-wrp {
    margin-top: 12px;
}

.contact-form__alerts {
    margin-bottom: 20px;
}

.contact-form__alert {
    display: none;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 1.4rem;
    line-height: 1.5;
    font-family: "Open Sans", sans-serif;
    animation: contactAlertIn .25s ease;
}

.contact-form__alert.is-visible {
    display: flex;
}

.contact-form__alert-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin-top: 1px;
}

.contact-form__alert-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-form__alert-text {
    flex: 1;
}

.contact-form__alert--success {
    color: #ffffff;
    background: rgba(22, 116, 80, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.contact-form__alert--error {
    color: #ffffff;
    background: rgba(255, 25, 30, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.contact-form__alert--loading {
    color: #ffffff;
    background: rgba(38, 45, 151, 0.95);
    border: 1px solid rgba(252, 219, 90, 0.35);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.contact-form__alert-body {
    flex: 1;
    min-width: 0;
}

.contact-form__alert-icon--spin svg {
    animation: contactSpin 1s linear infinite;
}

.contact-form__progress {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.contact-form__progress[hidden] {
    display: none !important;
}

.contact-form__progress-track {
    flex: 1;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
}

.contact-form__progress-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fcdb5a 0%, #ffe58a 100%);
    transition: width .2s ease;
}

.contact-form__progress-label {
    flex: 0 0 42px;
    font-size: 1.2rem;
    font-weight: 700;
    text-align: right;
    color: #fcdb5a;
}

.contact-form.is-sending {
    opacity: 0.72;
    pointer-events: none;
}

.contact-form.is-sending .custom-btn.is-loading {
    opacity: 1;
}

#gravar.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

#gravar.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 22px;
    margin: -11px 0 0 -11px;
    border: 2px solid rgba(252, 219, 90, 0.35);
    border-top-color: #fcdb5a;
    border-radius: 50%;
    animation: contactSpin .8s linear infinite;
}

@keyframes contactSpin {
    to {
        transform: rotate(360deg);
    }
}

.contact-form .textfield.is-invalid,
.contact-form select.textfield.is-invalid {
    border-bottom-color: #ff6b6f !important;
    color: #ffb3b5;
}

.contact-form .field-error {
    display: block;
    min-height: 18px;
    margin-top: 6px;
    color: #ffb3b5;
    font-size: 1.2rem;
    line-height: 1.3;
}

.contact-form .field-error:not(:empty) {
    animation: contactAlertIn .2s ease;
}

@keyframes contactAlertIn {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767.98px) {
    .contact-form .curriculo-option {
        margin-bottom: 8px;
    }

    .contact-form .curriculo-option__content {
        width: 100%;
    }

    .contact-form .file-upload {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-form .file-upload__btn {
        width: 100%;
    }
}
