/* Marketing Resistente — formulário de contato (sem CF7) */

.mr-formulario-contato {
    width: 100%;
}

.mr-form {
    width: 100%;
}

.mr-form p {
    margin: 0;
    padding: 0;
    border-left: none;
}

.mr-form__grupo {
    margin-bottom: 0;
}

.mr-form__controle {
    display: block;
    width: 100%;
}

.mr-form__input,
.mr-form__select,
.mr-form__textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 34px;
    padding: 6px 12px;
    margin: 0;
    border: 1px solid #ccc;
    border-radius: 3px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.42857143;
}

.mr-form__select {
    padding-right: 32px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px 8px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.mr-form__select:disabled {
    color: #999;
    cursor: not-allowed;
}

.mr-form__textarea {
    min-height: 160px;
    resize: vertical;
}

.mr-form__input:focus,
.mr-form__select:focus,
.mr-form__textarea:focus {
    border-color: #355c9a;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 4px rgba(53, 92, 154, 0.25);
}

.mr-form__titulo-comentario {
    margin: 0 0 8px;
    font-size: 1em;
    font-weight: 600;
}

.mr-form__recaptcha {
    margin: 0 0 16px;
}

.mr-form__submit {
    display: inline-block;
    min-width: 180px;
    padding: 10px 24px;
    border: none;
    border-radius: 3px;
    background: #355c9a;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease;
}

.mr-form__submit:hover {
    background: #2a4a7d;
}

.mr-form__submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.mr-form__feedback {
    margin: 0 0 16px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}

.mr-form__feedback--sucesso {
    border: 1px solid #b8dfc1;
    background: #f3fbf5;
    color: #1e6b32;
}

.mr-formulario-contato--sucesso .mr-form__feedback-area {
    margin: 0;
}

.mr-form__feedback--destaque {
    margin: 0;
    padding: 28px 32px;
    border: 2px solid #7bc492;
    border-radius: 8px;
    background: linear-gradient(135deg, #f3fbf5 0%, #fff 100%);
    box-shadow: 0 8px 24px rgba(30, 107, 50, 0.12);
    color: #1e6b32;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    animation: mrFormSucessoEntrada 0.35s ease-out;
}

.mr-form__feedback--destaque::before {
    content: "✓";
    display: block;
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #1e6b32;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    line-height: 48px;
    text-align: center;
}

@keyframes mrFormSucessoEntrada {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mr-form__feedback--erro {
    border: 1px solid #f5c2c0;
    background: #fff8f8;
    color: #b32d2e;
}

.mr-form-erros-resumo {
    display: block !important;
    position: relative;
    margin: 0 0 16px;
    padding: 16px 18px 16px 52px;
    border: 1px solid #f5c2c0;
    border-left: 4px solid #d63638;
    border-radius: 6px;
    background: linear-gradient(135deg, #fff8f8 0%, #fff 100%);
    box-shadow: 0 4px 14px rgba(214, 54, 56, 0.08);
    color: #444;
    font-size: 14px;
    line-height: 1.5;
    text-align: left;
    animation: mrFormErroEntrada 0.25s ease-out;
}

.mr-form-erros-resumo::before {
    content: "!";
    position: absolute;
    left: 16px;
    top: 18px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #d63638;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 24px;
    text-align: center;
}

.mr-form-erros-resumo strong {
    display: block;
    margin-bottom: 10px;
    color: #b32d2e;
    font-size: 15px;
    font-weight: 600;
}

.mr-form-erros-resumo ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mr-form-erros-resumo li {
    position: relative;
    margin: 0 0 8px;
    padding-left: 18px;
    color: #555;
}

.mr-form-erros-resumo li:last-child {
    margin-bottom: 0;
}

.mr-form-erros-resumo li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d63638;
    transform: translateY(-50%);
}

.mr-form__campo.mr-campo-erro .mr-form__input,
.mr-form__campo.mr-campo-erro .mr-form__select,
.mr-form__campo.mr-campo-erro .mr-form__textarea {
    border-color: #d63638 !important;
    box-shadow: 0 0 0 1px rgba(214, 54, 56, 0.12);
}

@keyframes mrFormErroEntrada {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 992px) {
    .mr-form .row.m-x-3:has([data-mr-campo="estado"]) > .col-md-2:has([data-mr-campo="estado"]) {
        width: 28%;
    }

    .mr-form .row.m-x-3:has([data-mr-campo="estado"]) > .col-md-4:has([data-mr-campo="cidade"]) {
        width: 22%;
    }
}

@media (max-width: 991px) {
    .mr-form .row.m-x-3:has([data-mr-campo="estado"]) > .col-md-2,
    .mr-form .row.m-x-3:has([data-mr-campo="estado"]) > .col-md-4,
    .mr-form .row.m-x-3:has([data-mr-campo="estado"]) > .col-md-6 {
        width: 100%;
        float: none;
    }

    .mr-form__select {
        margin-bottom: 10px;
    }
}
