/* =====================================================
   Shortcode: [da_form_contato]
   ===================================================== */

.da-form-wrap {
    width: 100%;
    max-width: 620px;
}

.da-form {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 80px 44px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    box-sizing: border-box;
    width: 100%;
}

/* Intro */
.da-form__intro {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #000;
    margin: 0;
}

/* Fields */
.da-form__fields {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.da-form__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
}

.da-form__label {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
}

.da-form__input,
.da-form__textarea,
.da-form__select {
    width: 100%;
    background: #fff;
    border: 1px solid #e5e5e5 !important;
    border-radius: 6px;
    padding: 12px 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #000;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.da-form__input::placeholder,
.da-form__textarea::placeholder {
    color: #737373;
}

.da-form__input:focus,
.da-form__textarea:focus,
.da-form__select:focus {
    border-color: #005ef7 !important;
}

.da-form__textarea {
    resize: vertical;
    min-height: 120px;
}

/* Select wrapper (custom arrow) */
.da-form__select-wrap {
    position: relative;
    width: 100%;
}

.da-form__select {
    cursor: pointer;
    padding-right: 44px;
    color: #737373;
    background-image: none !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

.da-form__select:focus,
.da-form__select:valid {
    color: #000;
}

.da-form__select-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

/* Footer */
.da-form__footer {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* Checkbox */
.da-form__checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.da-form__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.da-form__checkbox-box {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #4d4d4d;
    border-radius: 2px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s;
}

.da-form__checkbox:checked + .da-form__checkbox-box {
    background: #005ef7;
    border-color: #005ef7;
}

.da-form__checkbox:checked + .da-form__checkbox-box::after {
    content: '';
    display: block;
    width: 9px;
    height: 5px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
}

.da-form__checkbox-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.5;
    color: #4d4d4d;
}

.da-form__checkbox-text a {
    color: #4d4d4d;
    text-decoration: underline;
}

.da-form__checkbox-text a:hover {
    color: #005ef7;
}

/* Submit button */
.da-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 24px;
    background: #005ef7;
    border: none;
    border-radius: 100px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: #fff;
    cursor: pointer;
    transition: background 0.25s, transform 0.2s;
    white-space: nowrap;
}

.da-form__submit:hover {
    background: #0048c0;
    transform: translateY(-1px);
}

.da-form__submit img {
    display: block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

/* Feedback messages */
.da-form__success,
.da-form__error {
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.da-form__success {
    background: #e8f0ff;
    border: 1px solid #005ef7;
    color: #003fb0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.da-form__success svg { flex-shrink: 0; }
.da-form__success p,
.da-form__error p { margin: 0; }

.da-form__error {
    background: #fff0f0;
    border: 1px solid #e53e3e;
    color: #c53030;
}

/* =====================================================
   Responsive
   ===================================================== */
@media (max-width: 680px) {
    .da-form {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .da-form {
        padding: 40px 20px;
    }
    .da-form__intro {
        font-size: 16px;
    }
    .da-form__submit {
        width: 100%;
        justify-content: center;
    }
}