/* =========================================================
   MAMBORÊ CONECTA — CADASTRO DE EMPRESAS v1.0.0
   ========================================================= */

.mc-cadastro,
.mc-cadastro *,
.mc-cadastro *::before,
.mc-cadastro *::after {
    box-sizing: border-box;
}

.mc-cadastro {
    --mc-orange: #f28a24;
    --mc-orange-light: #f6b45f;
    --mc-black: #2f2f37;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 20px 64px;
    color: var(--mc-black);
    font-family: Arial, Helvetica, sans-serif;
}

.mc-cadastro__intro {
    max-width: 760px;
    margin-bottom: 30px;
}

.mc-cadastro__intro > span {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff1df;
    color: #c85e00;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.mc-cadastro__intro h1 {
    margin: 0 0 12px;
    font-size: 38px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -1px;
}

.mc-cadastro__intro p {
    margin: 0;
    color: #666a70;
    font-size: 16px;
    line-height: 1.55;
}

.mc-cadastro__form {
    display: grid;
    gap: 22px;
}

.mc-cadastro__section {
    padding: 26px;
    border: 1px solid #e3e6e9;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(35, 40, 46, .06);
}

.mc-cadastro__section > header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.mc-cadastro__section > header > span {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mc-orange);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.mc-cadastro__section h2 {
    margin: 0 0 4px;
    font-size: 22px;
    line-height: 1.2;
}

.mc-cadastro__section header p {
    margin: 0;
    color: #72777d;
    font-size: 13px;
}

.mc-cadastro__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.mc-cadastro__field {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.mc-cadastro__field--full {
    grid-column: 1 / -1;
}

.mc-cadastro__field > span {
    font-size: 13px;
    font-weight: 700;
}

.mc-cadastro input[type="text"],
.mc-cadastro input[type="email"],
.mc-cadastro input[type="url"],
.mc-cadastro input[type="search"],
.mc-cadastro input[type="file"],
.mc-cadastro textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #d9dde1;
    border-radius: 8px;
    outline: none;
    background: #fff;
    color: #2f2f37;
    font: inherit;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.mc-cadastro textarea {
    resize: vertical;
}

.mc-cadastro input:focus,
.mc-cadastro textarea:focus {
    border-color: var(--mc-orange);
    box-shadow: 0 0 0 3px rgba(242, 138, 36, .14);
}

.mc-cadastro__field small {
    color: #81868b;
    font-size: 11px;
    line-height: 1.4;
}

.mc-cadastro__category-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
}

.mc-cadastro__category-toolbar strong {
    color: #6b7075;
    font-size: 12px;
}

.mc-cadastro__categories {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 8px;
}

.mc-cadastro__category-group {
    padding: 16px 0;
    border-top: 1px solid #edf0f2;
}

.mc-cadastro__category-group:first-child {
    padding-top: 0;
    border-top: 0;
}

.mc-cadastro__category-group h3 {
    margin: 0 0 12px;
    color: #22242a;
    font-size: 15px;
    font-weight: 800;
}

.mc-cadastro__category-options {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mc-cadastro__category-options label {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 42px;
    padding: 9px 11px;
    border: 1px solid #e1e4e7;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.mc-cadastro__category-options label:has(input:checked) {
    border-color: var(--mc-orange);
    background: #fff7ed;
}

.mc-cadastro__category-options input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    accent-color: var(--mc-orange);
}

.mc-cadastro__category-options span {
    overflow: hidden;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 600;
    text-overflow: ellipsis;
}

.mc-cadastro__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 18px;
    border-radius: 10px;
    background: #f7f8f9;
    color: #555b61;
    font-size: 13px;
    line-height: 1.45;
}

.mc-cadastro__consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    accent-color: var(--mc-orange);
}

.mc-cadastro__submit {
    display: flex;
    align-items: center;
    gap: 18px;
}

.mc-cadastro__submit button {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(180deg, #f6a13e 0%, #ee7c15 100%);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(238, 124, 21, .22);
}

.mc-cadastro__submit button svg {
    width: 18px;
    height: 18px;
}

.mc-cadastro__submit p {
    margin: 0;
    color: #777c82;
    font-size: 12px;
}

.mc-cadastro__notice,
.mc-cadastro__success {
    max-width: 1180px;
    margin: 24px auto;
    padding: 18px 20px;
    border-radius: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

.mc-cadastro__notice--error {
    border: 1px solid #efb7b7;
    background: #fff1f1;
    color: #8f2f2f;
}

.mc-cadastro__notice ul {
    margin: 10px 0 0 20px;
}

.mc-cadastro__success {
    border: 1px solid #d8b06a;
    background: #fff7e8;
    color: #57380b;
}

.mc-cadastro__success strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.mc-cadastro__success p {
    margin: 0;
}

.mc-cadastro__category-group.is-hidden,
.mc-cadastro__category-options label.is-hidden {
    display: none !important;
}

@media (max-width: 900px) {
    .mc-cadastro__category-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .mc-cadastro {
        padding: 28px 12px 48px;
    }

    .mc-cadastro__intro h1 {
        font-size: 30px;
    }

    .mc-cadastro__section {
        padding: 20px 16px;
    }

    .mc-cadastro__grid,
    .mc-cadastro__category-toolbar {
        grid-template-columns: 1fr;
    }

    .mc-cadastro__category-options {
        grid-template-columns: 1fr;
    }

    .mc-cadastro__submit {
        display: grid;
    }

    .mc-cadastro__submit button {
        width: 100%;
    }
}

.mc-cadastro__success{
max-width:760px;margin:42px auto;padding:34px 28px;border:1px solid #f1c37d;
border-radius:14px;background:#fff8ed;color:#3f2a0d;text-align:center;
box-shadow:0 8px 24px rgba(84,54,10,.08)
}
.mc-cadastro__success-icon{
width:58px;height:58px;margin:0 auto 16px;display:inline-flex;align-items:center;
justify-content:center;border-radius:50%;background:#f28a24;color:#fff;
font-size:30px;font-weight:800
}
.mc-cadastro__success strong{display:block;margin-bottom:10px;font-size:24px;line-height:1.2}
.mc-cadastro__success p{max-width:560px;margin:0 auto 22px;color:#66543a;font-size:14px;line-height:1.55}
.mc-cadastro__success-button{
min-height:46px;display:inline-flex;align-items:center;justify-content:center;padding:0 20px;
border-radius:8px;background:#2f2f37;color:#fff;font-size:13px;font-weight:800;text-decoration:none
}
.mc-cadastro__success-button:hover{color:#fff;background:#17171b}

.mc-cadastro__success-button{transition:background .18s ease,transform .18s ease}
.mc-cadastro__success-button:hover{transform:translateY(-1px)}

.mc-planos{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mc-planos label{border:1px solid #ddd;padding:14px;border-radius:10px;font-weight:600}.mc-planos input{margin-right:8px}@media(max-width:768px){.mc-planos{grid-template-columns:1fr}}

/* Preservação e validação — v1.1.2 */
.mc-cadastro .mc-field-error{
    border-color:#c62828!important;
    box-shadow:0 0 0 2px rgba(198,40,40,.12)!important;
}
.mc-cadastro__notice--client{margin-bottom:22px}
.mc-cadastro__notice--error p{margin:10px 0 0;font-weight:600}


/* Confirmação e prevenção de reenvio — v1.2.0 */
.mc-cadastro__success-lead{font-size:16px!important;color:#3f2a0d!important;margin-bottom:14px!important}.mc-cadastro__success-alert{max-width:590px;margin:0 auto 20px;padding:16px 18px;border-radius:10px;background:#fff0d5;border:2px solid #f28a24;color:#2f2f37}.mc-cadastro__success-alert b,.mc-cadastro__success-alert span{display:block}.mc-cadastro__success-alert b{font-size:17px;margin-bottom:5px}.mc-cadastro__success-alert span{font-size:15px;font-weight:800}.mc-cadastro__submit button.is-submitting,.mc-cadastro__submit button:disabled{opacity:.72;cursor:not-allowed;pointer-events:none}@media(max-width:767px){.mc-cadastro__success{margin:22px 12px;padding:28px 18px}.mc-cadastro__success strong{font-size:22px}.mc-cadastro__success-alert{padding:15px 12px}}
