/* ── Seleção de tipo de inscrição ─────────────────────────────────────────── */
.mfi-tipo-selecao {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin: 24px 0;
    justify-content: center;
}

.mfi-tipo-btn {
    flex: 1;
    min-width: 240px;
    max-width: 340px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 28px 20px;
    border: 2px solid #dcdcde;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    text-decoration: none;
    color: inherit;
}

.mfi-tipo-btn:hover {
    border-color: #2271b1;
    box-shadow: 0 4px 16px rgba(34,113,177,.12);
    transform: translateY(-2px);
    color: inherit;
    text-decoration: none;
}

.mfi-tipo-btn--menor:hover {
    border-color: #1a6b3c;
    box-shadow: 0 4px 16px rgba(26,107,60,.12);
}

.mfi-tipo-btn__icon {
    font-size: 2.4rem;
    line-height: 1;
}

.mfi-tipo-btn__titulo {
    font-size: 1.05rem;
    font-weight: 700;
    text-align: center;
}

.mfi-tipo-btn__desc {
    font-size: .85rem;
    color: #646970;
    text-align: center;
    line-height: 1.4;
}

/* ── Tela de Termos ───────────────────────────────────────────────────────── */
.mfi-termos {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 24px;
    margin: 20px 0;
}

.mfi-termos__titulo {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 16px;
    color: #1a6b3c;
}

.mfi-termos__texto {
    max-height: 260px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
    font-size: .92rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.mfi-termos__aceite {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 20px;
    cursor: pointer;
}

.mfi-termos__aceite input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    cursor: pointer;
}

.mfi-termos__acoes {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ── Badge menor ──────────────────────────────────────────────────────────── */
.mfi-badge-menor {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #e8f5e9;
    color: #1a6b3c;
    font-size: .8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 16px;
}

/* ── Seção de menores existentes ─────────────────────────────────────────── */
.mfi-menores-existentes {
    background: #f0f6fc;
    border: 1px solid #c3d9f0;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.mfi-menores-existentes__titulo {
    font-size: .9rem;
    font-weight: 700;
    margin: 0 0 10px;
    color: #2271b1;
}

.mfi-menores-existentes select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #dcdcde;
    border-radius: 4px;
    font-size: .92rem;
}

/* ── Ajuste de step labels ────────────────────────────────────────────────── */
.mfi-acomp-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 16px;
}

.mfi-acomp-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.mfi-acomp-campos {
    background: #f6f7f7;
    border: 1px solid #dcdcde;
    border-radius: 6px;
    padding: 16px;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .mfi-tipo-selecao {
        flex-direction: column;
        align-items: center;
    }
    .mfi-tipo-btn {
        max-width: 100%;
        width: 100%;
    }
}
