/* =========================================================================
   Mostremais — Modern Index (site institucional + onboarding)
   Design system autocontido. Namespace .mm- para não conflitar com o
   Bootstrap 3 legado (styles.full.min.css / adicionais.css).
   ========================================================================= */

:root {
    --mm-brand-700: #5a2fd9;
    --mm-brand-600: #6a3dfa;
    --mm-brand-500: #7c4dff;
    --mm-brand-400: #9370ff;
    --mm-indigo-600: #4d7cff;
    --mm-indigo-500: #6b93ff;
    --mm-cyan: #22d3ee;
    --mm-pink: #f472b6;

    --mm-ink: #0d0b1f;
    --mm-ink-2: #171432;
    --mm-text: #1f2430;
    --mm-muted: #6b7280;
    --mm-muted-2: #9aa2b1;

    --mm-bg: #ffffff;
    --mm-bg-soft: #f6f5fb;
    --mm-line: #e9e7f2;

    --mm-grad: linear-gradient(135deg, #7c4dff 0%, #4d7cff 100%);
    --mm-grad-soft: linear-gradient(135deg, #9370ff, #6b93ff);
    --mm-grad-warm: linear-gradient(120deg, #f472b6, #7c4dff);

    --mm-shadow-sm: 0 2px 8px rgba(24, 16, 64, .06);
    --mm-shadow: 0 18px 40px -18px rgba(51, 30, 120, .28);
    --mm-shadow-lg: 0 40px 80px -30px rgba(40, 22, 110, .45);

    --mm-radius: 16px;
    --mm-radius-lg: 26px;
    --mm-radius-pill: 999px;

    --mm-container: 1180px;
    --mm-ease: cubic-bezier(.16, .84, .44, 1);

    --mm-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --mm-font-head: 'Sora', var(--mm-font);
}

/* ---------- Reset escopado ---------- */
.mm-scope,
.mm-scope * {
    box-sizing: border-box;
}

.mm-scope {
    font-family: var(--mm-font);
    color: var(--mm-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.mm-scope img {
    max-width: 100%;
    display: block;
}

/* :not(.mm-btn) pra nao brigar de especificidade com as cores dos
   utilitarios .mm-btn-* (ex.: .mm-btn-light), que sao so uma classe e
   perderiam pra "a" + classe se este reset cobrisse os botoes tambem. */
.mm-scope a:not(.mm-btn) {
    text-decoration: none;
    color: inherit;
}

.mm-scope a.mm-btn {
    text-decoration: none;
}

.mm-scope h1,
.mm-scope h2,
.mm-scope h3,
.mm-scope h4 {
    font-family: var(--mm-font-head);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.02em;
    margin: 0;
    color: var(--mm-ink);
}

.mm-scope p {
    margin: 0;
}

/* Neutraliza o body legado quando estamos no site index */
body.mm-body {
    background: var(--mm-bg);
    color: var(--mm-text);
    font-family: var(--mm-font);
    overflow-x: hidden;
}

.mm-container {
    width: 100%;
    max-width: var(--mm-container);
    margin: 0 auto;
    padding: 0 22px;
}

/* =========================================================================
   Botões
   ========================================================================= */
.mm-btn {
    --_bg: var(--mm-grad);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--mm-font);
    font-weight: 600;
    font-size: 15px;
    line-height: 1;
    padding: 15px 26px;
    border-radius: var(--mm-radius-pill);
    border: 0;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .35s var(--mm-ease), box-shadow .35s var(--mm-ease), background .3s;
    white-space: nowrap;
}

.mm-btn-primary {
    color: #fff;
    background: var(--mm-grad);
    background-size: 180% 180%;
    box-shadow: 0 14px 30px -12px rgba(99, 60, 220, .7);
}

.mm-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px -14px rgba(99, 60, 220, .85);
    background-position: 100% 50%;
}

/* brilho passando no botão */
.mm-btn-primary::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: skewX(-18deg);
    transition: left .7s var(--mm-ease);
}

.mm-btn-primary:hover::after {
    left: 140%;
}

.mm-btn-ghost {
    color: var(--mm-ink);
    background: rgba(255, 255, 255, .7);
    border: 1px solid var(--mm-line);
    backdrop-filter: blur(6px);
}

.mm-btn-ghost:hover {
    transform: translateY(-3px);
    border-color: var(--mm-brand-400);
    color: var(--mm-brand-600);
    box-shadow: var(--mm-shadow-sm);
}

.mm-btn-light {
    color: var(--mm-brand-700);
    background: #fff;
    box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5);
}

.mm-btn-light:hover {
    transform: translateY(-3px);
}

.mm-btn-outline-light {
    color: #fff;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .35);
}

.mm-btn-outline-light:hover {
    background: rgba(255, 255, 255, .16);
    transform: translateY(-3px);
}

.mm-btn-block {
    width: 100%;
}

.mm-btn-lg {
    padding: 18px 34px;
    font-size: 16px;
}

/* =========================================================================
   Header
   ========================================================================= */
.mm-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background .4s var(--mm-ease), box-shadow .4s var(--mm-ease), padding .4s var(--mm-ease);
    padding: 18px 0;
}

.mm-header.mm-scrolled {
    background: rgba(255, 255, 255, .82);
    backdrop-filter: saturate(180%) blur(14px);
    box-shadow: 0 6px 26px -18px rgba(30, 18, 80, .55);
    padding: 10px 0;
    border-bottom: 1px solid rgba(233, 231, 242, .7);
}

.mm-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.mm-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -.02em;
}

.mm-logo__dot {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    background: var(--mm-grad);
    display: inline-grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 8px 20px -8px rgba(99, 60, 220, .8);
}

/* Logo oficial (imagens/geral/mostremais_inverse.png — arte preta, PNG com alpha).
   Por padrao aplicamos um filtro pra virar branca, pois a maioria dos contextos
   onde ela aparece (hero escuro, footer, aside de auth) tem fundo escuro.
   Nos contextos com fundo claro (header rolado, logo mobile das paginas de auth)
   removemos o filtro e ela volta a cor original (preta). */
.mm-logo__img {
    height: 42px;
    width: auto;
    display: block;
    filter: brightness(0) invert(1);
    transition: filter .3s;
}

.mm-header.mm-scrolled .mm-logo__img,
.mm-logo-mobile .mm-logo__img {
    filter: none;
}

.mm-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mm-nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, .85);
    padding: 9px 14px;
    border-radius: var(--mm-radius-pill);
    transition: color .25s, background .25s;
    position: relative;
}

.mm-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, .12);
}

.mm-header.mm-scrolled .mm-nav a {
    color: var(--mm-text);
}

.mm-header.mm-scrolled .mm-nav a:hover {
    color: var(--mm-brand-600);
    background: rgba(124, 58, 237, .08);
}

.mm-nav__divider {
    width: 1px;
    height: 22px;
    background: rgba(255, 255, 255, .25);
    margin: 0 8px;
}

.mm-header.mm-scrolled .mm-nav__divider {
    background: var(--mm-line);
}

.mm-nav__cta {
    margin-left: 6px;
    padding: 11px 22px !important;
    color: #fff !important;
    background: var(--mm-grad);
    background-size: 180% 180%;
    box-shadow: 0 10px 24px -12px rgba(99, 60, 220, .8);
}

.mm-nav__cta:hover {
    background-position: 100% 50% !important;
    transform: translateY(-2px);
}

.mm-nav__login {
    color: #fff;
}

/* Botão hamburguer */
.mm-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .3);
    background: rgba(255, 255, 255, .1);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.mm-header.mm-scrolled .mm-burger {
    border-color: var(--mm-line);
    background: #fff;
}

.mm-burger span {
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .3s, opacity .3s;
}

.mm-header.mm-scrolled .mm-burger span {
    background: var(--mm-ink);
}

/* Menu mobile */
.mm-mobile {
    position: fixed;
    inset: 0;
    z-index: 1100;
    background: rgba(13, 11, 31, .6);
    backdrop-filter: blur(6px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
}

.mm-mobile.mm-open {
    opacity: 1;
    pointer-events: auto;
}

.mm-mobile__panel {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: min(340px, 84vw);
    background: #fff;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    transform: translateX(105%);
    transition: transform .4s var(--mm-ease);
    overflow-y: auto;
}

.mm-mobile.mm-open .mm-mobile__panel {
    transform: translateX(0);
}

.mm-mobile__close {
    align-self: flex-end;
    background: var(--mm-bg-soft);
    border: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 18px;
    cursor: pointer;
    color: var(--mm-ink);
    margin-bottom: 8px;
}

.mm-mobile a {
    padding: 13px 14px;
    border-radius: 12px;
    font-weight: 500;
    color: var(--mm-text);
    transition: background .2s, color .2s;
}

.mm-mobile a:hover {
    background: var(--mm-bg-soft);
    color: var(--mm-brand-600);
}

.mm-mobile .mm-btn {
    margin-top: 10px;
}

/* =========================================================================
   Hero
   ========================================================================= */
.mm-hero {
    position: relative;
    background: radial-gradient(120% 120% at 80% -10%, #241a52 0%, #0d0b1f 55%);
    color: #fff;
    padding: 170px 0 120px;
    overflow: hidden;
    isolation: isolate;
}

.mm-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .55;
    z-index: -1;
    animation: mm-float 14s ease-in-out infinite;
}

.mm-hero__blob--1 {
    width: 460px;
    height: 460px;
    background: radial-gradient(circle, #7c3aed, transparent 65%);
    top: -80px;
    left: -80px;
}

.mm-hero__blob--2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #22d3ee, transparent 65%);
    bottom: -120px;
    right: -60px;
    animation-delay: -5s;
}

.mm-hero__blob--3 {
    width: 340px;
    height: 340px;
    background: radial-gradient(circle, #f472b6, transparent 65%);
    top: 40%;
    left: 55%;
    opacity: .35;
    animation-delay: -8s;
}

/* grid sutil */
.mm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

.mm-hero__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.mm-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 16px;
    border-radius: var(--mm-radius-pill);
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .16);
    font-size: 13px;
    font-weight: 500;
    color: #e7e2ff;
    margin-bottom: 26px;
}

.mm-badge__pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, .7);
    animation: mm-pulse 2s infinite;
}

.mm-hero h1 {
    color: #fff;
    font-size: clamp(2.4rem, 5.2vw, 4rem);
    margin-bottom: 22px;
}

.mm-grad-text {
    background: linear-gradient(100deg, #c4b5fd, #67e8f9 60%, #f9a8d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mm-hero__sub {
    font-size: clamp(1.05rem, 1.6vw, 1.2rem);
    color: rgba(255, 255, 255, .78);
    max-width: 520px;
    margin-bottom: 34px;
}

/* =========================================================================
   Page hero (Sobre / Portfólio / Pesquisar / Tutorial etc.)
   Mesma linguagem visual do .mm-hero, porém mais baixo — usado como topo
   das páginas internas. Sem isto o cabeçalho fixo (texto branco, transparente
   até rolar) ficava sem contraste sobre o fundo branco padrão da página.
   ========================================================================= */
.mm-page-hero {
    position: relative;
    background: radial-gradient(120% 160% at 80% -20%, #241a52 0%, #0d0b1f 60%);
    color: #fff;
    padding: 152px 0 68px;
    overflow: hidden;
    isolation: isolate;
}

.mm-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 30% 20%, #000 0%, transparent 75%);
}

.mm-page-hero__inner {
    max-width: 720px;
}

.mm-page-hero__inner h1 {
    color: #fff;
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 14px 0 16px;
}

.mm-page-hero__inner p {
    font-size: 1.08rem;
    color: rgba(255, 255, 255, .78);
    max-width: 600px;
}

.mm-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, .55);
    margin-bottom: 16px;
}

.mm-crumb a {
    color: rgba(255, 255, 255, .85);
    transition: color .25s;
}

.mm-crumb a:hover {
    color: #fff;
}

.mm-crumb i {
    font-size: 10px;
}

.mm-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.mm-hero__trust {
    display: flex;
    gap: 34px;
    flex-wrap: wrap;
}

.mm-hero__trust .mm-stat__num {
    font-family: var(--mm-font-head);
    font-size: 30px;
    font-weight: 700;
    color: #fff;
    display: block;
    line-height: 1;
}

.mm-hero__trust .mm-stat__label {
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    margin-top: 6px;
}

/* Mockup de navegador */
.mm-mock {
    position: relative;
    perspective: 1400px;
}

.mm-mock__window {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--mm-shadow-lg);
    overflow: hidden;
    transform: rotateY(-12deg) rotateX(6deg);
    transform-style: preserve-3d;
    animation: mm-tilt 9s ease-in-out infinite;
}

.mm-mock__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    background: #f2f1f8;
    border-bottom: 1px solid #e7e5f0;
}

.mm-mock__bar i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.mm-mock__bar i:nth-child(1) { background: #ff5f57; }
.mm-mock__bar i:nth-child(2) { background: #febc2e; }
.mm-mock__bar i:nth-child(3) { background: #28c840; }

.mm-mock__url {
    flex: 1;
    margin-left: 12px;
    height: 22px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid #e7e5f0;
    display: flex;
    align-items: center;
    padding: 0 10px;
    font-size: 11px;
    color: #9aa2b1;
}

.mm-mock__body {
    padding: 18px;
    background: linear-gradient(180deg, #ffffff, #faf9ff);
}

.mm-mock__hero {
    height: 96px;
    border-radius: 12px;
    background: var(--mm-grad-soft);
    background-size: 200% 200%;
    animation: mm-grad-move 6s ease infinite;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
}

.mm-mock__hero::after {
    content: "";
    position: absolute;
    left: 16px;
    bottom: 16px;
    width: 46%;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 22px 0 -4px rgba(255, 255, 255, .5);
}

.mm-mock__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.mm-mock__card {
    height: 74px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #eeecf7;
    box-shadow: 0 6px 14px -10px rgba(40, 22, 110, .4);
    position: relative;
}

.mm-mock__card::before {
    content: "";
    position: absolute;
    inset: 10px 10px 30px;
    border-radius: 7px;
    background: linear-gradient(120deg, #ede9fe, #e0f2fe);
}

.mm-mock__card::after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 12px;
    width: 60%;
    height: 7px;
    border-radius: 4px;
    background: #e5e3f0;
}

/* Cartões flutuantes ao redor do mockup */
.mm-mock__float {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: var(--mm-shadow);
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mm-ink);
    animation: mm-float 6s ease-in-out infinite;
}

.mm-mock__float i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 15px;
}

.mm-mock__float small {
    display: block;
    font-weight: 500;
    color: var(--mm-muted);
    font-size: 11px;
}

.mm-mock__float--a {
    top: 8%;
    left: -40px;
}

.mm-mock__float--a i { background: linear-gradient(135deg, #34d399, #059669); }

.mm-mock__float--b {
    bottom: 10%;
    right: -34px;
    animation-delay: -3s;
}

.mm-mock__float--b i { background: linear-gradient(135deg, #f472b6, #db2777); }

/* =========================================================================
   Seções genéricas
   ========================================================================= */
.mm-section {
    padding: 96px 0;
    position: relative;
}

.mm-section--soft {
    background: var(--mm-bg-soft);
}

.mm-section--ink {
    background: radial-gradient(120% 140% at 50% 0%, #1b1640 0%, #0d0b1f 60%);
    color: #fff;
}

.mm-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 58px;
}

.mm-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mm-brand-600);
    margin-bottom: 14px;
}

.mm-section--ink .mm-eyebrow {
    color: #a5f3fc;
}

.mm-head h2 {
    font-size: clamp(1.9rem, 3.4vw, 2.7rem);
    margin-bottom: 16px;
}

.mm-section--ink .mm-head h2 {
    color: #fff;
}

.mm-head p {
    font-size: 1.08rem;
    color: var(--mm-muted);
}

.mm-section--ink .mm-head p {
    color: rgba(255, 255, 255, .7);
}

/* =========================================================================
   Steps (como funciona)
   ========================================================================= */
.mm-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    position: relative;
}

.mm-steps::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 16%;
    right: 16%;
    height: 2px;
    background: repeating-linear-gradient(90deg, var(--mm-brand-300, #c4b5fd) 0 8px, transparent 8px 18px);
    opacity: .6;
    z-index: 0;
}

.mm-step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 12px;
}

.mm-step__num {
    width: 88px;
    height: 88px;
    margin: 0 auto 22px;
    border-radius: 26px;
    display: grid;
    place-items: center;
    font-size: 30px;
    color: #fff;
    background: var(--mm-grad);
    background-size: 180% 180%;
    box-shadow: var(--mm-shadow);
    position: relative;
    transition: transform .4s var(--mm-ease);
}

.mm-step:hover .mm-step__num {
    transform: translateY(-6px) scale(1.04);
}

.mm-step__badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    color: var(--mm-brand-600);
    font-family: var(--mm-font-head);
    font-weight: 700;
    font-size: 14px;
    display: grid;
    place-items: center;
    box-shadow: var(--mm-shadow-sm);
}

.mm-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.mm-step p {
    color: var(--mm-muted);
    font-size: .98rem;
}

/* =========================================================================
   Cards (benefícios + funcionalidades)
   ========================================================================= */
.mm-grid {
    display: grid;
    gap: 24px;
}

.mm-grid--4 { grid-template-columns: repeat(4, 1fr); }
.mm-grid--3 { grid-template-columns: repeat(3, 1fr); }

.mm-card {
    background: #fff;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-lg);
    padding: 30px 26px;
    transition: transform .4s var(--mm-ease), box-shadow .4s var(--mm-ease), border-color .4s;
    position: relative;
    overflow: hidden;
}

.mm-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--mm-grad);
    opacity: 0;
    transition: opacity .4s;
    z-index: 0;
}

.mm-card > * {
    position: relative;
    z-index: 1;
}

.mm-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--mm-shadow-lg);
    border-color: transparent;
}

.mm-card__icon {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 24px;
    color: var(--mm-brand-600);
    background: linear-gradient(135deg, #ede9fe, #e0f2fe);
    margin-bottom: 20px;
    transition: transform .4s var(--mm-ease), color .4s, background .4s;
}

.mm-card:hover .mm-card__icon {
    transform: rotate(-6deg) scale(1.08);
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

.mm-card h3 {
    font-size: 1.16rem;
    margin-bottom: 10px;
    transition: color .4s;
}

.mm-card p {
    color: var(--mm-muted);
    font-size: .96rem;
    transition: color .4s;
}

.mm-card:hover h3 { color: #fff; }
.mm-card:hover p { color: rgba(255, 255, 255, .9); }

/* variação compacta para as 12 funcionalidades */
.mm-card--sm {
    padding: 26px 22px;
}

.mm-card--sm .mm-card__icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
    border-radius: 15px;
}

/* =========================================================================
   Categorias
   ========================================================================= */
.mm-cats {
    margin-top: 44px;
}

.mm-cats__title {
    font-size: 1.15rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--mm-brand-600);
    text-align: center;
    margin: 0 0 22px;
}

.mm-cats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 46px;
}

.mm-cat {
    position: relative;
    border-radius: var(--mm-radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--mm-ink-2);
    box-shadow: var(--mm-shadow-sm);
    transition: transform .45s var(--mm-ease), box-shadow .45s var(--mm-ease);
}

.mm-cat img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s var(--mm-ease), filter .45s;
}

.mm-cat__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(13, 11, 31, .82));
    display: flex;
    align-items: flex-end;
    padding: 18px 20px;
}

.mm-cat__overlay span {
    color: #fff;
    font-family: var(--mm-font-head);
    font-weight: 600;
    font-size: 1.05rem;
    transform: translateY(6px);
    transition: transform .45s var(--mm-ease);
}

.mm-cat:hover {
    transform: translateY(-6px);
    box-shadow: var(--mm-shadow-lg);
}

.mm-cat:hover img {
    transform: scale(1.08);
}

.mm-cat:hover .mm-cat__overlay span {
    transform: translateY(0);
}

/* =========================================================================
   Regiões (chips)
   ========================================================================= */
.mm-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.mm-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    border-radius: var(--mm-radius-pill);
    background: #fff;
    border: 1px solid var(--mm-line);
    font-weight: 500;
    font-size: .95rem;
    color: var(--mm-text);
    transition: transform .3s var(--mm-ease), box-shadow .3s, border-color .3s, color .3s;
}

.mm-chip i {
    color: var(--mm-brand-500);
    transition: transform .3s var(--mm-ease);
}

.mm-chip:hover {
    transform: translateY(-4px);
    border-color: var(--mm-brand-400);
    color: var(--mm-brand-700);
    box-shadow: var(--mm-shadow);
}

.mm-chip:hover i {
    transform: translateX(3px);
}

/* =========================================================================
   CTA band
   ========================================================================= */
.mm-cta {
    position: relative;
    border-radius: var(--mm-radius-lg);
    padding: 66px 40px;
    text-align: center;
    color: #fff;
    background: var(--mm-grad);
    background-size: 200% 200%;
    animation: mm-grad-move 8s ease infinite;
    overflow: hidden;
    box-shadow: var(--mm-shadow-lg);
}

.mm-cta::before,
.mm-cta::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
}

.mm-cta::before { width: 260px; height: 260px; top: -110px; left: -60px; }
.mm-cta::after { width: 320px; height: 320px; bottom: -160px; right: -70px; }

.mm-cta__inner { position: relative; z-index: 1; }

.mm-cta h2 {
    color: #fff;
    font-size: clamp(1.8rem, 3.4vw, 2.6rem);
    margin-bottom: 14px;
}

.mm-cta p {
    color: rgba(255, 255, 255, .9);
    font-size: 1.1rem;
    max-width: 560px;
    margin: 0 auto 30px;
}

/* =========================================================================
   Contato
   ========================================================================= */
.mm-contact {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
    align-items: stretch;
}

.mm-contact__info h3 {
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.mm-contact__list {
    list-style: none;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mm-contact__list li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--mm-text);
    font-weight: 500;
}

.mm-contact__list i {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #ede9fe, #e0f2fe);
    color: var(--mm-brand-600);
    font-size: 18px;
    flex: none;
}

.mm-contact__card {
    background: #fff;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-lg);
    padding: 32px;
    box-shadow: var(--mm-shadow);
}

/* Deixa o form legado (formContatos) apresentável dentro do card */
.mm-contact__card .form-control,
.mm-contact__card input[type=text],
.mm-contact__card input[type=email],
.mm-contact__card textarea {
    width: 100%;
    border: 1px solid var(--mm-line);
    border-radius: 12px;
    padding: 13px 16px;
    font-family: var(--mm-font);
    font-size: 15px;
    margin-bottom: 14px;
    background: var(--mm-bg-soft);
    transition: border-color .25s, box-shadow .25s, background .25s;
}

.mm-contact__card input:focus,
.mm-contact__card textarea:focus {
    outline: none;
    border-color: var(--mm-brand-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}

.mm-contact__card textarea {
    min-height: 130px;
    resize: vertical;
}

.mm-contact__card button,
.mm-contact__card .btn,
.mm-contact__card input[type=submit] {
    width: 100%;
    border: 0;
    color: #fff;
    background: var(--mm-grad);
    background-size: 180% 180%;
    padding: 15px 22px;
    border-radius: var(--mm-radius-pill);
    font-family: var(--mm-font);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: transform .3s var(--mm-ease), background-position .4s;
}

.mm-contact__card button:hover,
.mm-contact__card .btn:hover,
.mm-contact__card input[type=submit]:hover {
    transform: translateY(-2px);
    background-position: 100% 50%;
}

/* =========================================================================
   Footer
   ========================================================================= */
.mm-footer {
    background: var(--mm-ink);
    color: rgba(255, 255, 255, .7);
    padding: 72px 0 30px;
}

.mm-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 36px;
    padding-bottom: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.mm-footer__brand .mm-logo {
    margin-bottom: 16px;
}

.mm-footer__brand p {
    font-size: .95rem;
    max-width: 300px;
    line-height: 1.7;
}

.mm-footer h5 {
    color: #fff;
    font-family: var(--mm-font-head);
    font-size: .95rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin: 0 0 18px;
}

.mm-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mm-footer ul a {
    color: rgba(255, 255, 255, .62);
    font-size: .95rem;
    transition: color .25s, padding-left .25s;
}

.mm-footer ul a:hover {
    color: #fff;
    padding-left: 5px;
}

.mm-footer__social {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.mm-footer__social a {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: 16px;
    transition: transform .3s var(--mm-ease), background .3s;
}

.mm-footer__social a:hover {
    transform: translateY(-4px);
    background: var(--mm-grad);
}

.mm-footer__bottom {
    padding-top: 26px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .88rem;
    color: rgba(255, 255, 255, .5);
}

/* =========================================================================
   Animações scroll-reveal
   ========================================================================= */
.mm-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity .8s var(--mm-ease), transform .8s var(--mm-ease);
    will-change: opacity, transform;
}

.mm-reveal.mm-in {
    opacity: 1;
    transform: none;
}

.mm-reveal[data-mm-delay="1"] { transition-delay: .08s; }
.mm-reveal[data-mm-delay="2"] { transition-delay: .16s; }
.mm-reveal[data-mm-delay="3"] { transition-delay: .24s; }
.mm-reveal[data-mm-delay="4"] { transition-delay: .32s; }
.mm-reveal[data-mm-delay="5"] { transition-delay: .40s; }

@keyframes mm-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-22px); }
}

@keyframes mm-tilt {
    0%, 100% { transform: rotateY(-12deg) rotateX(6deg) translateY(0); }
    50% { transform: rotateY(-8deg) rotateX(3deg) translateY(-14px); }
}

@keyframes mm-grad-move {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes mm-pulse {
    0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, .7); }
    70% { box-shadow: 0 0 0 10px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* =========================================================================
   Auth (login / cadastro) — split screen
   ========================================================================= */
body.mm-auth-body #footer,
body.mm-auth-body #header,
body.mm-auth-body .mm-header,
body.mm-auth-body .subscribe-box {
    display: none !important;
}

.mm-auth {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    background: var(--mm-bg);
}

.mm-auth__aside {
    position: relative;
    background: radial-gradient(120% 120% at 20% 10%, #241a52 0%, #0d0b1f 60%);
    color: #fff;
    padding: 56px 54px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
}

.mm-auth__aside .mm-hero__blob { opacity: .5; }
.mm-auth__aside .mm-hero__blob--1 { width: 360px; height: 360px; top: -60px; left: -80px; }
.mm-auth__aside .mm-hero__blob--2 { width: 320px; height: 320px; bottom: -90px; right: -70px; }

.mm-auth__pitch h2 {
    color: #fff;
    font-size: 2.1rem;
    margin-bottom: 16px;
}

.mm-auth__pitch p {
    color: rgba(255, 255, 255, .75);
    max-width: 380px;
    margin-bottom: 30px;
}

.mm-auth__features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mm-auth__features li {
    display: flex;
    align-items: center;
    gap: 13px;
    color: rgba(255, 255, 255, .9);
    font-weight: 500;
}

.mm-auth__features i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .1);
    display: grid;
    place-items: center;
    color: #67e8f9;
    flex: none;
}

.mm-auth__main {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 28px;
}

.mm-auth__form {
    width: 100%;
    max-width: 420px;
}

.mm-auth__form .mm-logo-mobile {
    display: none;
    justify-content: center;
    margin-bottom: 24px;
}

.mm-auth__form h1 {
    font-size: 1.9rem;
    margin-bottom: 8px;
    text-align: center;
}

.mm-auth__form .mm-auth__lead {
    text-align: center;
    color: var(--mm-muted);
    margin-bottom: 30px;
}

.mm-field {
    margin-bottom: 16px;
}

.mm-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--mm-text);
    margin-bottom: 7px;
}

.mm-auth__form input[type=text],
.mm-auth__form input[type=email],
.mm-auth__form input[type=password] {
    width: 100%;
    border: 1px solid var(--mm-line);
    border-radius: 13px;
    padding: 14px 16px;
    font-family: var(--mm-font);
    font-size: 15px;
    background: var(--mm-bg-soft);
    transition: border-color .25s, box-shadow .25s, background .25s;
}

.mm-auth__form input:focus {
    outline: none;
    border-color: var(--mm-brand-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}

.mm-input-group {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--mm-line);
    border-radius: 13px;
    overflow: hidden;
    background: var(--mm-bg-soft);
    transition: border-color .25s, box-shadow .25s;
}

.mm-input-group:focus-within {
    border-color: var(--mm-brand-400);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
    background: #fff;
}

.mm-input-group__addon {
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 13px;
    color: var(--mm-muted);
    background: transparent;
    white-space: nowrap;
}

.mm-input-group__addon--btn {
    cursor: pointer;
    background: var(--mm-grad);
    color: #fff;
    font-weight: 600;
    padding: 0 18px;
    transition: filter .25s;
}

.mm-input-group__addon--btn:hover {
    filter: brightness(1.08);
}

.mm-input-group input {
    flex: 1;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 14px 12px;
    font-size: 15px;
    min-width: 0;
}

.mm-auth__links {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
    color: var(--mm-muted);
    line-height: 2;
}

.mm-auth__links a {
    color: var(--mm-brand-600);
    font-weight: 500;
}

.mm-auth__links a:hover {
    text-decoration: underline;
}

.mm-alert {
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    margin-bottom: 16px;
    text-align: center;
}

.mm-alert-danger {
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.mm-alert-success {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #bbf7d0;
}

.mm-alias-valido input { border-color: #22c55e !important; }
.mm-alias-invalido input { border-color: #ef4444 !important; }

/* =========================================================================
   Páginas internas — hero compacto
   ========================================================================= */
.mm-page-hero {
    position: relative;
    background: radial-gradient(120% 130% at 78% -20%, #241a52 0%, #0d0b1f 58%);
    color: #fff;
    padding: 150px 0 90px;
    overflow: hidden;
    isolation: isolate;
    text-align: center;
}

.mm-page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 50% 20%, #000 0%, transparent 72%);
}

.mm-page-hero .mm-hero__blob { z-index: -1; }
.mm-page-hero .mm-hero__blob--1 { width: 380px; height: 380px; top: -100px; left: -60px; }
.mm-page-hero .mm-hero__blob--2 { width: 360px; height: 360px; bottom: -140px; right: -50px; }

.mm-page-hero__inner {
    position: relative;
    max-width: 780px;
    margin: 0 auto;
}

.mm-page-hero h1 {
    color: #fff;
    font-size: clamp(2.1rem, 4.4vw, 3.2rem);
    margin-bottom: 18px;
}

.mm-page-hero h1 .mm-grad-text {
    background: linear-gradient(100deg, #c4b5fd, #67e8f9 60%, #f9a8d4);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mm-page-hero p {
    font-size: clamp(1.02rem, 1.5vw, 1.18rem);
    color: rgba(255, 255, 255, .78);
    max-width: 620px;
    margin: 0 auto;
}

.mm-page-hero__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

/* Breadcrumb sutil */
.mm-crumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, .6);
    margin-bottom: 20px;
}

.mm-crumb a { color: rgba(255, 255, 255, .8); }
.mm-crumb a:hover { color: #fff; }

/* =========================================================================
   Prose (blocos de texto legíveis)
   ========================================================================= */
.mm-prose {
    max-width: 760px;
    margin: 0 auto;
}

.mm-prose p {
    color: var(--mm-muted);
    font-size: 1.08rem;
    line-height: 1.8;
    margin-bottom: 18px;
}

.mm-prose p strong { color: var(--mm-ink); }

/* =========================================================================
   Split (duas colunas: ambiente gestor x site)
   ========================================================================= */
.mm-split {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
}

.mm-split__card {
    position: relative;
    border-radius: var(--mm-radius-lg);
    padding: 38px 34px;
    background: #fff;
    border: 1px solid var(--mm-line);
    overflow: hidden;
    transition: transform .4s var(--mm-ease), box-shadow .4s var(--mm-ease);
}

.mm-split__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--mm-shadow-lg);
}

.mm-split__card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--mm-grad);
}

.mm-split__icon {
    width: 66px;
    height: 66px;
    border-radius: 20px;
    display: grid;
    place-items: center;
    font-size: 27px;
    color: #fff;
    background: var(--mm-grad);
    background-size: 180% 180%;
    box-shadow: var(--mm-shadow);
    margin-bottom: 22px;
}

.mm-split__card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.mm-split__card p {
    color: var(--mm-muted);
    margin-bottom: 18px;
}

.mm-split__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.mm-split__list li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: var(--mm-text);
    font-size: .97rem;
}

.mm-split__list i {
    color: var(--mm-brand-500);
    margin-top: 3px;
    flex: none;
}

/* =========================================================================
   Vídeo (frame em janela de navegador)
   ========================================================================= */
.mm-video {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--mm-shadow-lg);
    background: #fff;
    border: 1px solid var(--mm-line);
}

.mm-video__bar {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 13px 16px;
    background: #f2f1f8;
    border-bottom: 1px solid #e7e5f0;
}

.mm-video__bar i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
}

.mm-video__bar i:nth-child(1) { background: #ff5f57; }
.mm-video__bar i:nth-child(2) { background: #febc2e; }
.mm-video__bar i:nth-child(3) { background: #28c840; }

.mm-video__url {
    flex: 1;
    margin-left: 12px;
    height: 24px;
    border-radius: 7px;
    background: #fff;
    border: 1px solid #e7e5f0;
    display: flex;
    align-items: center;
    padding: 0 12px;
    font-size: 12px;
    color: #9aa2b1;
}

.mm-video__frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #0d0b1f;
}

.mm-video__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* =========================================================================
   Portfólio — mapa vanilla JS + Google Maps (ver portfolio-map.js)
   ========================================================================= */
.mm-portfolio-map {
    border-radius: var(--mm-radius-lg);
    overflow: hidden;
    box-shadow: var(--mm-shadow);
    border: 1px solid var(--mm-line);
    margin-top: -60px;
    position: relative;
    z-index: 2;
    background: #fff;
}

.mm-map-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 620px;
}

#div-mapa {
    height: 100%;
    background: var(--mm-bg-soft);
}

.mm-map-sidebar {
    height: 100%;
    overflow-y: auto;
    background: var(--mm-bg-soft);
    padding: 18px;
}

.mm-map-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mm-map-item {
    display: flex;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--mm-line);
    border-radius: 16px;
    padding: 12px;
    cursor: pointer;
    transition: transform .3s var(--mm-ease), box-shadow .3s, border-color .3s;
}

.mm-map-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--mm-shadow-sm);
}

.mm-map-item--active {
    border-color: var(--mm-brand-400);
    box-shadow: var(--mm-shadow);
}

.mm-map-item__img {
    flex: none;
    width: 84px;
    height: 84px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-color: var(--mm-line);
}

.mm-map-item__body {
    flex: 1;
    min-width: 0;
}

.mm-map-item__body h3 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.mm-map-item__body p {
    font-size: .85rem;
    color: var(--mm-muted);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mm-btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.mm-map-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px;
    min-width: 200px;
}

.mm-map-info img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
}

.mm-map-info h4 {
    font-size: .95rem;
    margin-bottom: 4px;
}

.mm-map-info a {
    font-size: .82rem;
    color: var(--mm-brand-600);
    font-weight: 600;
}

.mm-map-empty {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 80px 20px;
    color: var(--mm-muted);
    text-align: center;
}

.mm-map-empty i {
    font-size: 40px;
    color: var(--mm-brand-400);
}

/* =========================================================================
   Termos de Uso — card de leitura
   (não sobrescreve tipografia interna: o conteúdo legal traz seu próprio
   <style> exportado do Google Docs, com classes c0-c10/lst-kix que
   controlam numeração e indentação das listas — não mexer)
   ========================================================================= */
.mm-legal-card {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow-sm);
    padding: 50px 60px;
}

/* =========================================================================
   Busca em chat (pesquisar) — conversa com o bot, sem reload de página
   Backend: /chatbot/bot/perguntar (mesmo motor do widget global de chat)
   ========================================================================= */
.mm-chat-panel {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-lg);
    box-shadow: var(--mm-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mm-chat-panel__head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 22px;
    background: var(--mm-ink);
    color: #fff;
}

.mm-chat-panel__head .mm-logo__dot {
    width: 38px;
    height: 38px;
    font-size: 16px;
}

.mm-chat-panel__head h3 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 2px;
}

.mm-chat-panel__head span {
    font-size: 12px;
    color: rgba(255, 255, 255, .6);
    display: flex;
    align-items: center;
    gap: 6px;
}

.mm-chat-panel__head span i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #34d399;
    display: inline-block;
}

.mm-chat-thread {
    flex: 1;
    min-height: 360px;
    max-height: 520px;
    overflow-y: auto;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: var(--mm-bg-soft);
}

.mm-chat-msg {
    display: flex;
    gap: 10px;
    max-width: 88%;
    animation: mm-chat-in .35s var(--mm-ease);
}

@keyframes mm-chat-in {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.mm-chat-msg--bot { align-self: flex-start; }
.mm-chat-msg--user { align-self: flex-end; flex-direction: row-reverse; }

.mm-chat-avatar {
    flex: none;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
    background: var(--mm-grad);
}

.mm-chat-msg__bubble {
    padding: 12px 16px;
    border-radius: 16px;
    font-size: .94rem;
    line-height: 1.55;
}

.mm-chat-msg--bot .mm-chat-msg__bubble {
    background: #fff;
    border: 1px solid var(--mm-line);
    border-top-left-radius: 4px;
    color: var(--mm-text);
}

.mm-chat-msg--user .mm-chat-msg__bubble {
    background: var(--mm-grad);
    color: #fff;
    border-top-right-radius: 4px;
}

.mm-chat-typing {
    display: inline-flex;
    gap: 4px;
    padding: 4px 2px;
}

.mm-chat-typing span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--mm-muted-2);
    animation: mm-chat-typing 1.2s infinite;
}

.mm-chat-typing span:nth-child(2) { animation-delay: .15s; }
.mm-chat-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes mm-chat-typing {
    0%, 60%, 100% { transform: translateY(0); opacity: .4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.mm-chat-msg--cards {
    max-width: 100%;
    width: 100%;
}

.mm-chat-cards {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 14px;
    margin-top: 4px;
    max-width: 100%;
    scroll-snap-type: x proximity;
}

.mm-chat-cards::-webkit-scrollbar { height: 7px; }
.mm-chat-cards::-webkit-scrollbar-track { background: transparent; }
.mm-chat-cards::-webkit-scrollbar-thumb {
    background: var(--mm-line);
    border-radius: 10px;
}

.mm-chat-card {
    flex: none;
    width: 220px;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--mm-line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--mm-shadow-sm);
    transition: transform .35s var(--mm-ease), box-shadow .35s var(--mm-ease), border-color .35s;
    display: flex;
    flex-direction: column;
}

.mm-chat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--mm-shadow);
    border-color: var(--mm-brand-400);
}

.mm-chat-card__img-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--mm-bg-soft);
    overflow: hidden;
}

.mm-chat-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--mm-ease);
}

.mm-chat-card:hover .mm-chat-card__img {
    transform: scale(1.06);
}

.mm-chat-card__img--fallback {
    object-fit: contain;
    padding: 24%;
    opacity: .45;
}

.mm-chat-card__price {
    position: absolute;
    left: 10px;
    bottom: 10px;
    background: var(--mm-grad);
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    padding: 5px 11px;
    border-radius: var(--mm-radius-pill);
    box-shadow: 0 6px 14px -6px rgba(40, 22, 110, .5);
}

.mm-chat-card__body {
    padding: 13px 14px 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.mm-chat-card__body h4 {
    font-size: .88rem;
    font-weight: 600;
    color: var(--mm-ink);
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.4em;
}

.mm-chat-card__empresa {
    font-size: .74rem;
    color: var(--mm-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mm-chat-card__empresa i {
    color: var(--mm-brand-400);
    font-size: .7rem;
    flex: none;
}

.mm-chat-card__cta {
    margin-top: auto;
    padding-top: 8px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--mm-brand-600);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: gap .25s;
}

.mm-chat-card:hover .mm-chat-card__cta {
    gap: 9px;
}

/* Botoes de acao dentro de uma bolha do bot (confirmar/cancelar, fluxos guiados
   como "criar site via chat", sugestoes de categoria) — template_type "button" */
.mm-chat-msg__text {
    margin-bottom: 10px;
}

.mm-chat-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.mm-chat-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--mm-brand-400);
    background: #fff;
    color: var(--mm-brand-600);
    border-radius: var(--mm-radius-pill);
    padding: 9px 18px;
    font-family: var(--mm-font);
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform .25s var(--mm-ease), background .25s, color .25s;
}

.mm-chat-btn:hover {
    background: var(--mm-grad);
    color: #fff;
    transform: translateY(-2px);
}

.mm-chat-btn:disabled {
    cursor: default;
    opacity: .55;
    transform: none;
}

.mm-chat-btn:disabled:hover {
    background: #fff;
    color: var(--mm-brand-600);
}

.mm-chat-btn--selecionado {
    background: var(--mm-grad);
    color: #fff;
    opacity: 1;
}

.mm-chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 22px 16px;
    background: var(--mm-bg-soft);
}

.mm-chat-suggestion {
    border: 1px solid var(--mm-line);
    background: #fff;
    border-radius: var(--mm-radius-pill);
    padding: 7px 14px;
    font-size: .82rem;
    color: var(--mm-text);
    cursor: pointer;
    transition: border-color .25s, color .25s, transform .25s;
}

.mm-chat-suggestion:hover {
    border-color: var(--mm-brand-400);
    color: var(--mm-brand-600);
    transform: translateY(-2px);
}

.mm-chat-form {
    display: flex;
    gap: 10px;
    padding: 16px 18px;
    background: #fff;
    border-top: 1px solid var(--mm-line);
}

.mm-chat-form input {
    flex: 1;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-pill);
    padding: 12px 18px;
    font-family: var(--mm-font);
    font-size: 14.5px;
    background: var(--mm-bg-soft);
    transition: border-color .25s, background .25s, box-shadow .25s;
}

.mm-chat-form input:focus {
    outline: none;
    border-color: var(--mm-brand-400);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, .12);
}

.mm-chat-form button {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    color: #fff;
    background: var(--mm-grad);
    background-size: 180% 180%;
    cursor: pointer;
    transition: transform .3s var(--mm-ease), background-position .4s;
}

.mm-chat-form button:hover {
    transform: scale(1.06);
    background-position: 100% 50%;
}

.mm-chat-form button:disabled {
    opacity: .6;
    cursor: default;
    transform: none;
}

/* =========================================================================
   Busca — formulário + resultados (empresas)
   ========================================================================= */
.mm-search-box {
    max-width: 640px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-pill);
    padding: 8px 8px 8px 22px;
    box-shadow: var(--mm-shadow);
}

.mm-search-box input {
    flex: 1;
    border: 0;
    background: transparent;
    font-family: var(--mm-font);
    font-size: 15px;
    color: var(--mm-text);
}

.mm-search-box input:focus { outline: none; }

.mm-search-box button {
    border: 0;
    color: #fff;
    background: var(--mm-grad);
    background-size: 180% 180%;
    padding: 13px 24px;
    border-radius: var(--mm-radius-pill);
    font-family: var(--mm-font);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: transform .3s var(--mm-ease), background-position .4s;
    white-space: nowrap;
}

.mm-search-box button:hover {
    transform: translateY(-2px);
    background-position: 100% 50%;
}

.mm-empresa-card {
    background: #fff;
    border: 1px solid var(--mm-line);
    border-radius: var(--mm-radius-lg);
    overflow: hidden;
    transition: transform .4s var(--mm-ease), box-shadow .4s var(--mm-ease);
}

.mm-empresa-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--mm-shadow-lg);
}

.mm-empresa-card__img {
    aspect-ratio: 16 / 10;
    background-size: cover;
    background-position: center;
    background-color: var(--mm-bg-soft);
}

.mm-empresa-card__body {
    padding: 22px 24px;
}

.mm-empresa-card__body h3 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.mm-empresa-card__body p {
    color: var(--mm-muted);
    font-size: .92rem;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mm-search-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--mm-muted);
}

.mm-search-empty i {
    font-size: 42px;
    color: var(--mm-brand-400);
    margin-bottom: 16px;
    display: block;
}

/* =========================================================================
   Responsivo
   ========================================================================= */
@media (max-width: 992px) {
    .mm-hero__grid { grid-template-columns: 1fr; gap: 60px; }
    .mm-mock { max-width: 460px; margin: 0 auto; }
    .mm-nav { display: none; }
    .mm-burger { display: flex; }
    .mm-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .mm-cats__grid { grid-template-columns: repeat(2, 1fr); }
    .mm-contact { grid-template-columns: 1fr; }
    .mm-footer__grid { grid-template-columns: 1fr 1fr; }
    .mm-auth { grid-template-columns: 1fr; }
    .mm-auth__aside { display: none; }
    .mm-auth__form .mm-logo-mobile { display: flex; }
    .mm-split { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .mm-section { padding: 68px 0; }
    .mm-hero { padding: 140px 0 90px; }
    .mm-steps { grid-template-columns: 1fr; gap: 40px; }
    .mm-steps::before { display: none; }
    .mm-grid--4,
    .mm-grid--3 { grid-template-columns: 1fr; }
    .mm-cats__grid { grid-template-columns: 1fr; }
    .mm-footer__grid { grid-template-columns: 1fr; }
    .mm-hero__actions .mm-btn { width: 100%; }
    .mm-cta { padding: 48px 24px; }
    .mm-mock__float { display: none; }
    .mm-page-hero { padding: 128px 0 70px; }
    .mm-portfolio-map { margin-top: 0; }
    .mm-map-layout { grid-template-columns: 1fr; height: auto; }
    #div-mapa { height: 340px; }
    .mm-map-sidebar { max-height: 480px; }
    .mm-search-box { flex-direction: column; border-radius: 22px; padding: 16px; }
    .mm-search-box button { width: 100%; }
    .mm-legal-card { padding: 30px 22px; }
    .mm-chat-thread { min-height: 320px; max-height: 60vh; }
    .mm-chat-msg { max-width: 96%; }
    .mm-chat-card { width: 168px; }
}

/* Acessibilidade: reduz movimento */
@media (prefers-reduced-motion: reduce) {
    .mm-scope *,
    .mm-hero__blob,
    .mm-mock__window,
    .mm-mock__float,
    .mm-cta,
    .mm-mock__hero {
        animation: none !important;
    }
    .mm-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}
