:root {
    --mm-azul: #1C11C6;
    --mm-azul-escuro: #150da3;
    --mm-azul-claro: rgba(28, 17, 198, 0.06);
    --mm-texto: #1a1d21;
    --mm-muted: #5c6370;
    --mm-borda: rgba(0, 0, 0, 0.08);
    --mm-radius: 16px;
}

* { box-sizing: border-box; }

body.landing-mm {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--mm-texto);
    background: #fff;
    line-height: 1.6;
}

/* Navbar */
.landing-nav {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mm-borda);
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-nav .navbar-brand img {
    height: 38px;
}

.btn-mm-primary {
    background: var(--mm-azul);
    border: 2px solid var(--mm-azul);
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: transform 0.2s, background 0.2s;
}

.btn-mm-primary:hover {
    background: var(--mm-azul-escuro);
    border-color: var(--mm-azul-escuro);
    color: #fff;
    transform: translateY(-1px);
}

.btn-mm-outline {
    background: transparent;
    border: 2px solid var(--mm-azul);
    color: var(--mm-azul);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: all 0.2s;
}

.btn-mm-outline:hover {
    background: var(--mm-azul-claro);
    color: var(--mm-azul);
    transform: translateY(-1px);
}

.btn-mm-dark {
    background: #1a1d21;
    border: 2px solid #1a1d21;
    color: #fff;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    transition: transform 0.2s, background 0.2s;
}

.btn-mm-dark:hover {
    background: #2d3239;
    border-color: #2d3239;
    color: #fff;
    transform: translateY(-1px);
}

.btn-mm-ghost {
    color: var(--mm-muted);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.btn-mm-ghost:hover { color: var(--mm-azul); }

/* Hero */
.hero-mm {
    background: linear-gradient(165deg, #f8f9ff 0%, #fff 45%, #f4f7fc 100%);
    padding: 4rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.hero-mm::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(28, 17, 198, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-mm h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--mm-texto);
}

.hero-mm .lead {
    font-size: clamp(1.05rem, 2.5vw, 1.25rem);
    color: var(--mm-muted);
    max-width: 540px;
}

.hero-badge {
    display: inline-block;
    background: var(--mm-azul-claro);
    color: var(--mm-azul);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.hero-visual {
    background: #fff;
    border: 1px solid var(--mm-borda);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 50px rgba(28, 17, 198, 0.08);
}

.hero-stat {
    text-align: center;
    padding: 1rem;
}

.hero-stat .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--mm-azul);
    display: block;
}

.hero-stat .lbl {
    font-size: 0.8rem;
    color: var(--mm-muted);
    font-weight: 600;
}

/* Sections */
.section-mm {
    padding: 4.5rem 0;
}

.section-mm.alt {
    background: #f8f9fc;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--mm-azul);
    margin-bottom: 0.5rem;
}

.section-mm h2 {
    font-weight: 800;
    letter-spacing: -0.02em;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    margin-bottom: 0.75rem;
}

.section-mm .section-desc {
    color: var(--mm-muted);
    max-width: 560px;
    margin-bottom: 2.5rem;
}

/* Steps */
.step-card {
    background: #fff;
    border: 1px solid var(--mm-borda);
    border-radius: var(--mm-radius);
    padding: 1.75rem;
    height: 100%;
    transition: box-shadow 0.2s, transform 0.2s;
}

.section-mm.alt .step-card {
    background: #fff;
}

.step-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.step-num {
    width: 36px;
    height: 36px;
    background: var(--mm-azul);
    color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--mm-muted);
    margin: 0;
}

/* Profile cards */
.profile-card {
    border: 1px solid var(--mm-borda);
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    background: #fff;
    display: flex;
    flex-direction: column;
}

.profile-card.comprador {
    border-top: 4px solid var(--mm-azul);
}

.profile-card.fornecedor {
    border-top: 4px solid #1a1d21;
}

.profile-card .icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
}

.profile-card.comprador .icon-wrap {
    background: var(--mm-azul-claro);
    color: var(--mm-azul);
}

.profile-card.fornecedor .icon-wrap {
    background: rgba(26, 29, 33, 0.08);
    color: #1a1d21;
}

.profile-card h3 {
    font-weight: 800;
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

.profile-card .tagline {
    color: var(--mm-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.profile-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    flex-grow: 1;
}

.profile-card ul li {
    padding: 0.45rem 0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
}

.profile-card ul li i {
    color: #198754;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

/* Features grid */
.feature-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: var(--mm-radius);
    transition: background 0.2s;
}

.feature-item:hover {
    background: var(--mm-azul-claro);
}

.feature-item .fi-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid var(--mm-borda);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mm-azul);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--mm-muted);
    margin: 0;
}

/* FAQ */
.faq-mm .accordion-item {
    border: 1px solid var(--mm-borda);
    border-radius: 12px !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.faq-mm .accordion-button {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 1.1rem 1.25rem;
    box-shadow: none !important;
}

.faq-mm .accordion-button:not(.collapsed) {
    background: var(--mm-azul-claro);
    color: var(--mm-azul);
}

.faq-mm .accordion-body {
    font-size: 0.92rem;
    color: var(--mm-muted);
    padding-top: 0;
}

/* CTA final */
.cta-final {
    background: linear-gradient(135deg, var(--mm-azul) 0%, #2a1fd4 100%);
    color: #fff;
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
}

.cta-final h2 {
    font-weight: 800;
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.75rem;
}

.cta-final p {
    opacity: 0.9;
    max-width: 480px;
    margin: 0 auto 1.75rem;
}

.cta-final .hero-ctas {
    justify-content: center;
}

.cta-final .btn-mm-outline {
    border-color: #fff;
    color: #fff;
}

.cta-final .btn-mm-outline:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.cta-final .btn-mm-dark {
    background: #fff;
    border-color: #fff;
    color: var(--mm-azul);
}

.cta-final .btn-mm-dark:hover {
    background: #f0f0ff;
    border-color: #f0f0ff;
    color: var(--mm-azul-escuro);
}

/* Footer links */
.landing-legal {
    border-top: 1px solid var(--mm-borda);
    padding: 1.5rem 0;
    background: #f8f9fc;
}

.landing-legal a {
    color: var(--mm-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin: 0 0.75rem;
}

.landing-legal a:hover { color: var(--mm-azul); }

@media (max-width: 991px) {
    .hero-mm { padding: 2.5rem 0 3rem; }
    .hero-visual { margin-top: 2rem; }
    .section-mm { padding: 3rem 0; }
}

@media (max-width: 576px) {
    .hero-ctas .btn-mm-primary,
    .hero-ctas .btn-mm-dark {
        width: 100%;
        text-align: center;
    }
}
