.contact-form .form-control,
.work-form .form-control {
    min-height: 48px;
}

.contact-form textarea.form-control,
.work-form textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.phone-help {
    display: block;
    margin: -8px 0 14px;
    color: #777;
    font-size: 12px;
}

.recaptcha-wrap {
    margin: 4px 0 15px;
    overflow: hidden;
}

.contact-card {
    background: #fff;
    padding: 18px 20px;
    box-shadow: 0 0 5px 0 #a5a5a5;
    border-radius: 20px;
    margin-top: 20px;
    text-align: center;
}

.contact-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #333;
}

.contact-card p {
    margin: 0;
    color: #3e0e79;
    font-size: 18px;
    line-height: 1.5;
}

.schedule-inline {
    margin-top: 9px;
    padding-top: 9px;
    border-top: 1px solid #e4e4e4;
}

.schedule-inline h3 {
    margin: 0 0 5px;
}

.schedule-inline p {
    margin-bottom: 3px;
}

.work-button-card {
    padding: 0;
    overflow: hidden;
}

.work-button {
    display: block;
    width: 100%;
    padding: 20px;
    border: 0;
    background: #3e0e79;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.work-button:hover,
.work-button:focus {
    background: #6102dc;
    color: #fff;
    outline: none;
}

.form-alert {
    padding: 13px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    line-height: 1.45;
}

.form-alert-success {
    color: #245c2d;
    background: #e3f5e6;
    border: 1px solid #a8d7af;
}

.form-alert-error {
    color: #8a2525;
    background: #fde9e9;
    border: 1px solid #e5aeae;
}

.form-alert ul {
    margin: 0;
    padding-left: 18px;
}

.work-modal,
.feedback-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000000000000000;
    padding: 25px 15px;
    overflow-y: auto;
    background: rgba(0, 0, 0, .68);
}

.work-modal.is-open {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.feedback-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-modal-dialog {
    width: 100%;
    max-width: 660px;
    margin: auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .35);
    overflow: hidden;
}

.work-modal-header {
    position: relative;
    padding: 22px 62px 20px 24px;
    background: #3e0e79;
    color: #fff;
}

.work-modal-header h2 {
    margin: 0 0 5px;
    color: #fff;
    text-align: left;
    font-size: 27px;
    text-transform: none;
}

.work-modal-header p {
    margin: 0;
}

.work-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 30px;
    line-height: 35px;
    cursor: pointer;
}

.work-modal-close:hover,
.work-modal-close:focus {
    background: rgba(255, 255, 255, .32);
    outline: none;
}

.work-modal-body {
    padding: 24px;
}

.work-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.file-upload-box {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 10px;
    border: 1px dashed #3e0e79;
    border-radius: 10px;
    background: #fff9f5;
}

.file-upload-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.file-upload-button {
    flex: 0 0 auto;
    margin: 0;
    padding: 11px 15px;
    border-radius: 8px;
    background: #3e0e79;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease;
}

.file-upload-button:hover,
.file-upload-button:focus {
    background: #6102dc;
}

.file-upload-name {
    min-width: 0;
    color: #555;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.file-help {
    display: block;
    margin-top: 6px;
    color: #777;
    font-size: 12px;
}

.feedback-modal-dialog {
    width: 100%;
    max-width: 440px;
    padding: 30px 26px 26px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 55px rgba(0, 0, 0, .35);
    text-align: center;
}

.feedback-modal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #e3f5e6;
    color: #2b8838;
    font-size: 34px;
}

.feedback-modal-dialog h2 {
    margin: 0 0 12px;
    color: #333;
    font-size: 25px;
    text-transform: none;
}

.feedback-modal-dialog p {
    margin: 0 0 20px;
    color: #555;
    font-size: 16px;
    line-height: 1.55;
}

.feedback-modal-button {
    min-width: 130px;
    padding: 11px 24px;
    border: 0;
    border-radius: 9px;
    background: #3e0e79;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.feedback-modal-button:hover,
.feedback-modal-button:focus {
    background: #6102dc;
    outline: none;
}

.body-modal-open {
    overflow: hidden;
}

.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media (max-width: 767px) {
    .box-contato {
        padding-top: 30px;
    }

    .box-contato h2 {
        font-size: 25px;
    }

    .recaptcha-wrap {
        max-width: 100%;
    }

    .recaptcha-wrap .g-recaptcha {
        transform: scale(.88);
        transform-origin: left top;
        width: 304px;
        height: 70px;
    }

    .work-modal {
        padding: 12px;
    }

    .work-modal-body {
        padding: 18px;
    }

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

    .file-upload-button {
        text-align: center;
    }

    .feedback-modal {
        padding: 15px;
    }
}

@media (max-width: 360px) {
    .recaptcha-wrap .g-recaptcha {
        transform: scale(.78);
        height: 62px;
    }
}
