/* MarketMonitor — camada de melhorias aplicada sobre o build compilado.
   Paleta da marca: navy #252d6a · ciano #00aeef (sobre fundo claro) · ciano claro #20c4f4 (sobre fundo escuro) */

:root {
  --mm-brand-navy: #252d6a;
  --mm-brand-navy-deep: #161a42;
  --mm-brand-navy-ink: #0f1230;
  --mm-brand-cyan: #20c4f4;   /* ciano claro — sempre sobre fundo escuro */
  --mm-brand-cyan-2: #00aeef; /* ciano — sobre fundo branco/claro */
  --mm-alert: #ff5c74;

  /* Tipografia: Sora (títulos, menu, botões) + DM Sans (texto) */
  --mm-font-display: "Sora", system-ui, sans-serif;
  --mm-font-body: "DM Sans", system-ui, sans-serif;
  --font-sans: var(--mm-font-body); /* token do Tailwind usado no site */

  /* Remapeia os tokens do Tailwind do site para a paleta da marca */
  --color-mm-navy: var(--mm-brand-navy);
  --color-mm-blue: var(--mm-brand-cyan-2); /* usado em seções claras */
  --color-mm-sky: var(--mm-brand-cyan);    /* usado em seções escuras */
}

/* ---------- UX global ---------- */
html { scroll-behavior: smooth; }
main > section[id], #ao-vivo { scroll-margin-top: 84px; }

a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--mm-brand-cyan);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* CTA fixo no mobile (o menu do site esconde o botão de WhatsApp < md) */
.mm-mobile-cta {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: none; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 18px; border-radius: 14px;
  background: var(--mm-brand-cyan); color: var(--mm-brand-navy); font: 500 15px/1 var(--mm-font-display);
  text-decoration: none; box-shadow: 0 10px 30px -8px rgba(0,0,0,.45);
  transform: translateY(140%); transition: transform .35s ease;
}
.mm-mobile-cta svg { width: 20px; height: 20px; }
.mm-mobile-cta.is-visible { transform: translateY(0); }
@media (max-width: 767px) { .mm-mobile-cta { display: flex; } body { padding-bottom: 0; } footer { padding-bottom: 96px !important; } }

/* ---------- Seção Ao vivo ---------- */
.mm-live {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--mm-brand-navy) 0%, var(--mm-brand-navy-deep) 55%, var(--mm-brand-navy-ink) 100%);
  color: #fff; padding: 96px 0 112px; font-family: var(--mm-font-body);
}
.mm-live::before { /* brilho ciano */
  content: ""; position: absolute; left: 50%; top: 22%; width: 900px; height: 500px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(32,196,244,.18), transparent 70%); pointer-events: none;
}
.mm-live__inner { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.mm-live__head { text-align: center; max-width: 760px; margin: 0 auto 48px; }
.mm-live__eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(32,196,244,.35); background: rgba(32,196,244,.08);
  color: var(--mm-brand-cyan); font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase;
}
.mm-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--mm-alert); box-shadow: 0 0 0 0 rgba(255,92,116,.6); animation: mm-pulse 1.6s infinite; }
@keyframes mm-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,92,116,.55); } 70% { box-shadow: 0 0 0 8px rgba(255,92,116,0); } 100% { box-shadow: 0 0 0 0 rgba(255,92,116,0); } }
.mm-live__title { margin: 18px 0 14px; font-size: clamp(30px, 4.2vw, 48px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.mm-live__title em { font-style: normal; color: var(--mm-brand-cyan); }
.mm-live__sub { margin: 0; color: rgba(255,255,255,.72); font-size: clamp(16px, 1.6vw, 18px); line-height: 1.6; }

/* Console */
.mm-console {
  border-radius: 18px; overflow: hidden; background: #0b0e26;
  border: 1px solid rgba(32,196,244,.18);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.03) inset;
}
.mm-console__bar {
  display: flex; align-items: center; gap: 14px; padding: 12px 16px;
  background: #0e1232; border-bottom: 1px solid rgba(255,255,255,.06);
  font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .06em; color: rgba(255,255,255,.5); text-transform: uppercase;
}
.mm-console__dots { display: flex; gap: 6px; }
.mm-console__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.14); }
.mm-console__path { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mm-console__path b { color: rgba(255,255,255,.85); font-weight: 600; }
.mm-console__clock { color: var(--mm-brand-cyan); }
.mm-console__body { display: block; }

/* Câmera */
.mm-cam { position: relative; aspect-ratio: 16 / 9; background: #0d1230; overflow: hidden; isolation: isolate; }
.mm-cam svg.mm-scene, .mm-cam video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.mm-cam video { filter: saturate(.35) hue-rotate(185deg) brightness(.95) contrast(1.05); }
.mm-cam__fx { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.mm-cam__fx--scan { background: repeating-linear-gradient(0deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.mm-cam__fx--vignette { background: radial-gradient(ellipse at center, transparent 55%, rgba(5,7,25,.75) 100%); }
.mm-cam__fx--noise { opacity: .09; background-size: 160px 160px; animation: mm-noise .5s steps(4) infinite; }
@keyframes mm-noise { 0% { background-position: 0 0; } 25% { background-position: -40px 30px; } 50% { background-position: 50px -20px; } 75% { background-position: -20px -50px; } 100% { background-position: 0 0; } }
.mm-cam__hud { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; z-index: 4; pointer-events: none; }
.mm-chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 6px;
  background: rgba(8,10,30,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(4px);
  font: 600 10.5px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; color: #fff; text-transform: uppercase;
}
.mm-chip--rec { color: #ffb3bf; border-color: rgba(255,92,116,.45); }
.mm-chip + .mm-chip { margin-left: 8px; }
.mm-cam__foot { position: absolute; left: 14px; bottom: 12px; z-index: 4; font: 500 10.5px/1 ui-monospace, Menlo, monospace; color: rgba(255,255,255,.55); letter-spacing: .06em; }

/* Caixa de detecção (posicionada via JS, em % da cena) */
.mm-box { position: absolute; z-index: 2; border: 1.5px solid var(--mm-brand-cyan); border-radius: 3px; box-shadow: 0 0 0 1px rgba(32,196,244,.15), 0 0 24px rgba(32,196,244,.25) inset; transition: border-color .25s, box-shadow .25s, opacity .3s; opacity: 0; }
.mm-box.is-on { opacity: 1; }
.mm-box__tag {
  position: absolute; left: -1.5px; bottom: calc(100% + 4px); white-space: nowrap;
  padding: 4px 7px; border-radius: 3px; background: var(--mm-brand-cyan); color: #06102e;
  font: 700 10px/1.25 ui-monospace, Menlo, monospace; letter-spacing: .05em; text-transform: uppercase;
}
.mm-box__tag small { display: block; font-weight: 500; opacity: .75; letter-spacing: .03em; }
.mm-box.is-alert { border-color: var(--mm-alert); box-shadow: 0 0 0 1px rgba(255,92,116,.2), 0 0 28px rgba(255,92,116,.3) inset; }
.mm-box.is-alert .mm-box__tag { background: var(--mm-alert); color: #fff; }
.mm-box--item { border-style: dashed; border-width: 1px; border-color: #ffd36b; box-shadow: none; }
.mm-box--item .mm-box__tag { background: #ffd36b; color: #2a1c00; }

/* Painel de eventos */
.mm-feed { display: flex; flex-direction: column; border-left: 1px solid rgba(255,255,255,.06); background: #0c1030; height: 0; min-height: 100%; } /* altura acompanha a câmera */
.mm-feed__list::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: linear-gradient(transparent, #0c1030); pointer-events: none; }
.mm-feed__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
.mm-feed__title { font: 600 11px/1.2 ui-monospace, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.mm-feed__live { padding: 4px 8px; border-radius: 4px; background: rgba(32,196,244,.14); color: var(--mm-brand-cyan); font: 700 10px/1 ui-monospace, Menlo, monospace; letter-spacing: .1em; }
.mm-feed__list { list-style: none; margin: 0; padding: 0; flex: 1; overflow: hidden; position: relative; }
.mm-ev {
  padding: 14px 18px; border-bottom: 1px solid rgba(255,255,255,.05); border-left: 2px solid transparent;
  animation: mm-ev-in .45s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes mm-ev-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.mm-ev__row { display: flex; justify-content: space-between; gap: 12px; font: 600 10.5px/1 ui-monospace, Menlo, monospace; letter-spacing: .07em; text-transform: uppercase; }
.mm-ev__type { color: var(--mm-brand-cyan); }
.mm-ev__time { color: rgba(255,255,255,.4); font-weight: 500; }
.mm-ev__text { margin: 7px 0 0; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.88); }
.mm-ev__ref { margin-top: 10px; padding: 8px 10px; border-radius: 6px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); font: 500 10.5px/1.5 ui-monospace, Menlo, monospace; color: rgba(255,255,255,.6); letter-spacing: .04em; }
.mm-ev__ref b { color: #fff; font-weight: 600; }
.mm-ev--warn { border-left-color: #ffd36b; }
.mm-ev--warn .mm-ev__type { color: #ffd36b; }
.mm-ev--alert { border-left-color: var(--mm-alert); background: linear-gradient(90deg, rgba(255,92,116,.10), transparent 70%); }
.mm-ev--alert .mm-ev__type { color: #ff8b9c; }
.mm-ev--alert .mm-ev__ref b { color: #ff8b9c; }
.mm-ev--old { opacity: .38; animation: none; }
.mm-feed__foot { padding: 14px 18px; border-top: 1px solid rgba(255,255,255,.06); font-size: 12.5px; color: rgba(255,255,255,.55); line-height: 1.5; }

/* Rodapé da seção */
.mm-live__note { max-width: 760px; margin: 32px auto 0; text-align: center; }
.mm-live__cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
.mm-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; border-radius: 12px; font-weight: 600; font-size: 15px; text-decoration: none; transition: transform .2s, background .2s, border-color .2s; }
.mm-btn:hover { transform: translateY(-1px); }
.mm-btn--primary { background: #0257f7; color: #fff; box-shadow: 0 10px 30px -10px rgba(2,87,247,.7); }
.mm-btn--primary:hover { background: #1f6bff; }
.mm-btn--ghost { border: 1px solid rgba(255,255,255,.18); color: #fff; background: rgba(255,255,255,.03); }
.mm-btn--ghost:hover { border-color: rgba(255,255,255,.35); }

@media (max-width: 960px) {
  .mm-console__body { grid-template-columns: 1fr; }
  .mm-feed { border-left: 0; border-top: 1px solid rgba(255,255,255,.06); height: auto; min-height: 0; }
  .mm-feed__list { max-height: 330px; }
}
@media (max-width: 560px) {
  .mm-live { padding: 72px 0 80px; }
  .mm-live__inner { padding: 0 16px; }
  .mm-console__bar { gap: 10px; padding: 10px 12px; }
  .mm-console__dots { display: none; }
  .mm-cam { aspect-ratio: 4 / 3; }
  .mm-box__tag { font-size: 8.5px; padding: 3px 5px; }
  .mm-box__tag small { display: none; }
  .mm-btn { width: 100%; justify-content: center; }
}

/* ---------- Ordem das seções ----------
   1 hero · 2 Como funciona · 3 Ao vivo · depois o restante na ordem original.
   Feito via `order` para não mexer nos nós que o React controla. */
#root main { display: flex; flex-direction: column; }
#root main > * { order: 10; }
#root main > :first-child { order: 0; }
#root main > #como-funciona { order: 1; }
#root main > #ao-vivo { order: 2; }
#root main > #mm-equipe { order: 3; }

/* ---------- Simulações: alerta, troca de câmera e abas ---------- */
.mm-cam__toast {
  position: absolute; z-index: 5; right: 14px; bottom: 14px; max-width: min(380px, calc(100% - 28px));
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 12px;
  background: rgba(20, 8, 24, .82); border: 1px solid rgba(255,92,116,.55); backdrop-filter: blur(6px);
  box-shadow: 0 16px 40px -12px rgba(255,92,116,.45);
  opacity: 0; transform: translateY(10px); transition: opacity .35s ease, transform .35s ease; pointer-events: none;
}
.mm-cam__toast.is-on { opacity: 1; transform: none; }
.mm-cam__toast-ico { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: var(--mm-alert); color: #fff; font: 800 16px/1 var(--mm-font-body); }
.mm-cam__toast b { display: block; color: #fff; font: 700 13.5px/1.25 var(--mm-font-body); }
.mm-cam__toast small { display: block; margin-top: 3px; color: rgba(255,255,255,.72); font: 500 12px/1.4 ui-monospace, Menlo, monospace; }
.mm-cam__toast small b { display: inline; font: inherit; color: #ff9aa9; font-weight: 700; white-space: nowrap; }

.mm-cam__switch { position: absolute; inset: 0; z-index: 6; pointer-events: none; opacity: 0; background: #0b0e26; }
.mm-cam.is-switching .mm-cam__switch { animation: mm-switch .55s ease-out; }
@keyframes mm-switch { 0% { opacity: 1; } 35% { opacity: .85; } 100% { opacity: 0; } }

.mm-scen { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.06); background: #0e1232; }
.mm-scen__tab {
  position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 18px 16px; text-align: left;
  background: none; border: 0; color: rgba(255,255,255,.5); cursor: pointer; font: 500 13.5px/1.3 var(--mm-font-body);
  transition: color .2s, background .2s;
}
.mm-scen__tab + .mm-scen__tab { border-left: 1px solid rgba(255,255,255,.06); }
.mm-scen__tab:hover { color: rgba(255,255,255,.8); background: rgba(255,255,255,.02); }
.mm-scen__tab[aria-selected="true"] { color: #fff; }
.mm-scen__n { font: 700 11px/1 ui-monospace, Menlo, monospace; letter-spacing: .08em; color: rgba(255,255,255,.35); }
.mm-scen__tab[aria-selected="true"] .mm-scen__n { color: var(--mm-brand-cyan); }
.mm-scen__bar { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.06); overflow: hidden; }
.mm-scen__bar i { display: block; height: 100%; background: var(--mm-brand-cyan); transform: scaleX(0); transform-origin: left; }
.mm-scen__tab.is-done .mm-scen__bar i { transform: scaleX(1) !important; opacity: .35; }

@media (max-width: 560px) {
  .mm-scen__tab { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 12px 14px; font-size: 12px; }
  .mm-cam__toast { left: 10px; right: 10px; bottom: 10px; max-width: none; padding: 9px 12px 9px 9px; }
  .mm-cam__toast-ico { width: 24px; height: 24px; font-size: 13px; }
  .mm-cam__toast b { font-size: 12px; }
  .mm-cam__toast small { font-size: 10.5px; }
  .mm-cam__foot { display: none; }
}

/* ---------- Logo animado ---------- */
nav a img[data-mm-logo] { display: none !important; }
.mm-logo { display: block; height: 32px; width: auto; aspect-ratio: 937.74 / 145.82; overflow: visible;
  --lg-market: #fff; --lg-monitor: #20c4f4; --lg-left: #fff; --lg-right: #20c4f4; --lg-reg: rgba(255,255,255,.55); }
.mm-logo--light { --lg-market: #252d6a; --lg-monitor: #00aeef; --lg-left: #252d6a; --lg-right: #00aeef; --lg-reg: #252d6a; }
.mm-logo .mm-lg-mk { fill: var(--lg-market); }
.mm-logo .mm-lg-mn { fill: var(--lg-monitor); }
.mm-logo .mm-lg-bl { fill: var(--lg-left); }
.mm-logo .mm-lg-br { fill: var(--lg-right); }
.mm-logo .mm-lg-r  { fill: var(--lg-reg); }
.mm-logo * { transition: fill .35s ease; transform-box: fill-box; transform-origin: 50% 100%; }

/* Colchetes saem do centro e abrem; letras sobem em sequência; ® aparece no fim */
.mm-logo.is-anim .mm-lg-bl { animation: mm-lg-left .75s cubic-bezier(.22,1,.36,1) both; }
.mm-logo.is-anim .mm-lg-br { animation: mm-lg-right .75s cubic-bezier(.22,1,.36,1) both; }
.mm-logo.is-anim .mm-lg-mk { animation: mm-lg-rise .5s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(220ms + var(--i) * 45ms); }
.mm-logo.is-anim .mm-lg-mn { animation: mm-lg-rise .5s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(470ms + var(--i) * 40ms); }
.mm-logo.is-anim .mm-lg-r  { animation: mm-lg-pop .4s cubic-bezier(.34,1.56,.64,1) both; animation-delay: 900ms; transform-origin: 50% 50%; }
@keyframes mm-lg-left  { from { transform: translateX(440px); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes mm-lg-right { from { transform: translateX(-440px); opacity: 0; } 30% { opacity: 1; } to { transform: none; opacity: 1; } }
@keyframes mm-lg-rise  { from { transform: translateY(45%) scaleY(.6); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes mm-lg-pop   { from { transform: scale(0); opacity: 0; } to { transform: none; opacity: 1; } }

/* ---------- Menu: cartão retangular de cantos arredondados, solto do topo ----------
   Mesma geometria nos dois estados (transparente no hero / branco ao rolar):
   só fundo e sombra mudam, então logo e links não saem do lugar.
   O site esconde o menu ao rolar para baixo e mostra ao voltar (transform via GSAP). */
nav.fixed {
  background: transparent !important; box-shadow: none !important;
  -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  padding: 12px 16px 0; transition: none !important;
}
nav.fixed > div {
  max-width: 1232px; min-height: 64px;
  padding: 10px 10px 10px 20px !important; /* 10px em volta do botão, 20px antes do logo */
  border-radius: 18px; background-color: rgba(255,255,255,0);
  box-shadow: 0 0 0 1px rgba(37,45,106,0), 0 14px 34px -14px rgba(15,18,48,0);
  transition: background-color .35s ease, box-shadow .35s ease;
}
nav.mm-nav--solid > div {
  background-color: rgba(255,255,255,.94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 0 0 1px rgba(37,45,106,.08), 0 14px 34px -14px rgba(15,18,48,.38);
}

/* Botão WhatsApp: altura cheia do cartão menos o respiro, cantos concêntricos (18 − 10 ≈ 10) */
nav.fixed a[href*="whatsapp"] {
  height: 44px; padding: 0 20px 0 18px !important; gap: 10px;
  justify-content: center; border-radius: 10px !important;
  font-size: 14.5px; line-height: 1; letter-spacing: -.005em;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 6px 16px -8px rgba(37,211,102,.7);
  background: #25d366 !important; color: #fff !important; /* verde oficial do WhatsApp */
}
nav.fixed a[href*="whatsapp"]:hover { background: #1ebe5d !important; }
nav.fixed a[href*="whatsapp"] svg { width: 18px; height: 18px; flex: none; }
nav.fixed a[href*="whatsapp"]:hover { transform: translateY(-1px); }

@media (max-width: 767px) {
  nav.fixed { padding: 10px 12px 0; }
  nav.fixed > div { min-height: 56px; padding: 10px 16px !important; border-radius: 16px; }
  .mm-logo { height: 28px; }
}

/* ---------- Tipografia ---------- */
body { font-family: var(--mm-font-body); }
h1, h2, h3, h4, .mm-live__title,
nav a, .mm-btn, .mm-mobile-cta, .mm-scen__tab, .mm-cam__toast b,
main a[class*="rounded"], main button:not(.mm-scen__tab) { font-family: var(--mm-font-display); }
h1, h2, .mm-live__title { letter-spacing: -.025em; }
h3, h4 { letter-spacing: -.01em; }
/* Títulos montados com <span>/<div> (hero, números) — identificados pelas classes de tamanho/peso */
#root [class*="font-extrabold"], #root [class*="font-black"],
#root [class*="text-3xl"], #root [class*="text-4xl"], #root [class*="text-5xl"], #root [class*="text-6xl"], #root [class*="text-7xl"],
#root [class*="text-3xl"] *, #root [class*="text-4xl"] *, #root [class*="text-5xl"] *, #root [class*="text-6xl"] *, #root [class*="text-7xl"] *,
#root .text-2xl.font-bold { font-family: var(--mm-font-display); letter-spacing: -.025em; }
/* Pesos da Sora próximos ao logotipo: títulos 600, botões/menu 500 */
h1, h2, h3, h4, .mm-live__title,
#root [class*="font-extrabold"], #root [class*="font-black"], #root [class*="font-bold"] { font-weight: 600; }
nav a, .mm-btn, .mm-mobile-cta, .mm-scen__tab,
main a[class*="rounded"], main button:not(.mm-scen__tab) { font-weight: 500; }

/* ---------- Hero: raio-x da loja ----------
   Imagem P&B × azul da marca (multiply): preto continua preto, traços viram ciano;
   entra no hero com `screen`, então só os traços aparecem sobre o navy.
   Lente = proporção e cantos exatos do "MM - Logo Badge" (251.53 × 145.82).
   Dentro da lente, textos e botões também viram raio-x (cópia em contorno).
   Variáveis no hero: --x/--y (centro da lente), --hh (altura), --sy (varredura). */
@property --sy { syntax: "<number>"; inherits: true; initial-value: -0.6; }
.mm-xr { --x: 50%; --y: 50%; --w: 420px; --h: 243px; --s: 0; --hh: 100vh; --band: calc(var(--hh) * .46); }

.mm-xray { position: absolute; inset: 0; z-index: 2; pointer-events: none; overflow: hidden; }
.mm-xray__base, .mm-xray__img {
  position: absolute; inset: 0;
  background-image: url("/mm/xray-hero-v2.webp");
  background-size: cover; background-position: center 40%;
  background-color: #20c4f4; background-blend-mode: multiply;
  mix-blend-mode: screen; filter: contrast(1.3) brightness(1.35) saturate(1.6);
}
.mm-xray__base { opacity: .13;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 55%, #000 30%, transparent 100%);
          mask-image: radial-gradient(ellipse 75% 70% at 50% 55%, #000 30%, transparent 100%); }
/* Lente: máscara SEMPRE definida (o raio-x nunca vaza para o hero inteiro).
   --x/--y/--w/--h/--s vêm do JS; --s (0→1) controla presença/escala. */
.mm-xray__img {
  opacity: calc(var(--s) * .8);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(180deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  -webkit-mask-size: var(--w) var(--h); mask-size: var(--w) var(--h);
  -webkit-mask-position: calc(var(--x) - var(--w) / 2) calc(var(--y) - var(--h) / 2);
          mask-position: calc(var(--x) - var(--w) / 2) calc(var(--y) - var(--h) / 2);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: source-in; mask-composite: intersect;
}

/* Sombra navy atrás do bloco de texto: garante contraste de leitura sobre o raio-x */
.mm-xray__scrim { position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 46% 34% at 50% 50%, rgba(22,26,66,.82) 0%, rgba(22,26,66,.6) 45%, rgba(22,26,66,0) 100%); }
@media (max-width: 767px) { .mm-xray__scrim { background: radial-gradient(ellipse 80% 42% at 50% 52%, rgba(22,26,66,.82) 0%, rgba(22,26,66,.6) 50%, rgba(22,26,66,0) 100%); } }

/* Moldura: 4 cantos do "MM - Logo Badge" em peças separadas, então a lente
   pode mudar de formato (ex.: encaixar num botão) sem distorcer os cantos.
   --k = tamanho do canto (32% da altura, como no Badge). */
.mm-xray__frame { position: absolute; left: calc(var(--x) - var(--w) / 2); top: calc(var(--y) - var(--h) / 2);
  width: var(--w); height: var(--h); opacity: var(--s);
  --k: clamp(16px, calc(var(--h) * .32), 78px);
  filter: drop-shadow(0 0 10px rgba(32,196,244,.4)); }
.mm-xc { position: absolute; width: var(--k); height: var(--k); overflow: visible; }
.mm-xc--0 { left: 0; top: 0; } .mm-xc--1 { left: 0; bottom: 0; } .mm-xc--2 { right: 0; top: 0; } .mm-xc--3 { right: 0; bottom: 0; }
/* linha de leitura correndo dentro da lente */
.mm-xray__line { position: absolute; left: 7%; right: 7%; height: 1.5px; top: 12%;
  background: linear-gradient(90deg, transparent, rgba(32,196,244,.9) 25%, #c9f3ff 50%, rgba(32,196,244,.9) 75%, transparent);
  box-shadow: 0 0 12px 2px rgba(32,196,244,.45); animation: mm-xr-line 2.6s cubic-bezier(.45,0,.55,1) infinite alternate; }
@keyframes mm-xr-line { from { top: 12%; } to { top: 88%; } }
.is-xr-lock .mm-xray__line { opacity: 0; }

/* Cópia raio-x dos textos/botões */
.mm-xray-ghost { position: absolute; z-index: 11; pointer-events: none; opacity: var(--s);
  -webkit-mask-image: linear-gradient(#000, #000); mask-image: linear-gradient(#000, #000);
  -webkit-mask-size: var(--w) var(--h); mask-size: var(--w) var(--h);
  -webkit-mask-position: calc(var(--x) - var(--ox) - var(--w) / 2) calc(var(--y) - var(--oy) - var(--h) / 2);
          mask-position: calc(var(--x) - var(--ox) - var(--w) / 2) calc(var(--y) - var(--oy) - var(--h) / 2);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; }
.mm-xray-ghost > * { position: relative !important; width: 100%; max-width: none !important; margin: 0 !important; }
.mm-xray-ghost * {
  /* preenchimento claro + contorno ciano + halo navy: lê bem sobre a imagem */
  color: #e9f9ff !important; -webkit-text-fill-color: #e9f9ff !important;
  -webkit-text-stroke: 1px #20c4f4; paint-order: stroke fill;
  text-shadow: 0 0 2px rgba(10,13,40,.95), 0 0 10px rgba(10,13,40,.85), 0 0 18px rgba(32,196,244,.45) !important;
  background: transparent !important; box-shadow: none !important; backdrop-filter: none !important;
  border-color: #20c4f4 !important; transition: none !important; animation: none !important;
}
.mm-xray-ghost p, .mm-xray-ghost p * { -webkit-text-stroke-width: 0; color: #cfefff !important; -webkit-text-fill-color: #cfefff !important; }
.mm-xray-ghost a, .mm-xray-ghost button { outline: 1.5px dashed #20c4f4 !important; outline-offset: -1.5px; background: rgba(12,16,48,.78) !important; }
.mm-xray-ghost svg { color: #20c4f4 !important; fill: none !important; stroke: #20c4f4 !important; }
.mm-xray-ghost [class*="rounded-full"], .mm-xray-ghost [class*="rounded-md"] { outline: 1px dashed rgba(32,196,244,.6) !important; }

/* original: recorte vazado só enquanto a lente está presente (classe posta pelo JS) */
.is-xr-on .mm-xray-src {
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
          mask-image: linear-gradient(#000, #000), linear-gradient(#000, #000);
  -webkit-mask-size: 100% 100%, var(--w) var(--h); mask-size: 100% 100%, var(--w) var(--h);
  -webkit-mask-position: 0 0, calc(var(--x) - var(--ox) - var(--w) / 2) calc(var(--y) - var(--oy) - var(--h) / 2);
          mask-position: 0 0, calc(var(--x) - var(--ox) - var(--w) / 2) calc(var(--y) - var(--oy) - var(--h) / 2);
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: xor; mask-composite: exclude;
}

/* ===== Varredura (mobile) — imagem, textos e linha sincronizados por --sy ===== */
.is-xr-scan:not(.is-xr-touch) { animation: mm-xr-sweep 4.8s cubic-bezier(.45,0,.55,1) infinite; }
@keyframes mm-xr-sweep { from { --sy: -0.45; } to { --sy: 0.6; } } /* linha percorre do topo (≈0) ao pé (≈100%) */
.is-xr-scan:not(.is-xr-touch) .mm-xray__img {
  opacity: .85; -webkit-mask-composite: source-over; mask-composite: add;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.25) 30%, #000 82%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,.25) 30%, #000 82%, #000 92%, transparent 100%);
  -webkit-mask-size: 100% var(--band); mask-size: 100% var(--band);
  -webkit-mask-position: 0 calc(var(--sy) * var(--hh)); mask-position: 0 calc(var(--sy) * var(--hh));
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.is-xr-scan:not(.is-xr-touch) .mm-xray-ghost {
  opacity: 1; -webkit-mask-size: 100% var(--band);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 55%, #000 80%, #000 92%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, transparent 55%, #000 80%, #000 92%, transparent 100%);
  -webkit-mask-size: 100% var(--band); mask-size: 100% var(--band);
  -webkit-mask-position: 0 calc(var(--sy) * var(--hh) - var(--oy)); mask-position: 0 calc(var(--sy) * var(--hh) - var(--oy));
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.is-xr-scan:not(.is-xr-touch) .mm-xray-src {
  -webkit-mask-image: linear-gradient(#000, #000), linear-gradient(to bottom, transparent 0%, transparent 55%, #000 80%, #000 92%, transparent 100%);
          mask-image: linear-gradient(#000, #000), linear-gradient(to bottom, transparent 0%, transparent 55%, #000 80%, #000 92%, transparent 100%);
  -webkit-mask-size: 100% 100%, 100% var(--band); mask-size: 100% 100%, 100% var(--band);
  -webkit-mask-position: 0 0, 0 calc(var(--sy) * var(--hh) - var(--oy)); mask-position: 0 0, 0 calc(var(--sy) * var(--hh) - var(--oy));
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.mm-xray__scan { position: absolute; left: 0; right: 0; height: 2px; top: calc(var(--sy) * var(--hh) + var(--band) * .9); opacity: 0;
  background: linear-gradient(90deg, transparent, #20c4f4 20%, #bff0ff 50%, #20c4f4 80%, transparent);
  box-shadow: 0 0 18px 4px rgba(32,196,244,.45); }
.is-xr-scan:not(.is-xr-touch) .mm-xray__scan { opacity: 1; }

@media (max-width: 767px) {
  .mm-xray__base { opacity: .15; }
  .mm-xr { --w: 260px; --h: 151px; }
}
/* Hero fora da tela: pausa varredura e linha da lente */
.is-xr-off, .is-xr-off * { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .is-xr-scan { animation: none !important; }
  .mm-xray__scan, .mm-xray-ghost { display: none; }
}

/* ---------- Hero: entrada do texto ---------- */
.mm-intro > * { animation: mm-in-up .8s cubic-bezier(.2,.8,.2,1) both; }
.mm-intro > :nth-child(1) { animation-name: mm-in-down; animation-delay: 80ms; }          /* selo */
.mm-intro > :nth-child(2) { animation: none; }                                           /* título: por partes */
.mm-intro > :nth-child(3) { animation-delay: 1150ms; }                                   /* parágrafo */
.mm-intro > :nth-child(4) > * { animation: mm-in-up .7s cubic-bezier(.2,.8,.2,1) both; } /* botões */
.mm-intro > :nth-child(4) { animation: none; }
.mm-intro > :nth-child(4) > :nth-child(1) { animation-delay: 1300ms; }
.mm-intro > :nth-child(4) > :nth-child(2) { animation-delay: 1400ms; }

/* palavras da 1ª linha */
.mm-w { display: inline-block; }
.mm-intro .mm-w { animation: mm-word .75s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(250ms + var(--i) * 45ms); }
/* "A gente sabe." */
.mm-intro > :nth-child(2) > span:last-child {
  animation: mm-punch 1s cubic-bezier(.16,1,.3,1) both, mm-glow 1.6s ease-out both;
  animation-delay: calc(300ms + var(--words, 12) * 45ms), calc(900ms + var(--words, 12) * 45ms);
}
.mm-intro-done > *, .mm-intro-done .mm-w, .mm-intro-done > :nth-child(2) > span:last-child, .mm-intro-done > :nth-child(4) > * { animation: none !important; }
/* A animação do site (GSAP) podia "aprender" o estado invisível da nossa e terminar com o texto em opacity 0.
   Ao fim da entrada, tudo do hero fica visível e no lugar. */
.mm-intro-done > *, .mm-intro-done > :nth-child(4) > * { opacity: 1 !important; transform: none !important; translate: none !important; }

@keyframes mm-in-up   { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes mm-in-down { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
@keyframes mm-word    { from { opacity: 0; transform: translateY(.45em); filter: blur(8px); } to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes mm-punch   { from { opacity: 0; letter-spacing: .18em; filter: blur(14px); transform: scale(.96); } to { opacity: 1; letter-spacing: -.025em; filter: blur(0); transform: none; } }
@keyframes mm-glow    { 0% { text-shadow: 0 0 0 rgba(32,196,244,0); } 35% { text-shadow: 0 0 28px rgba(32,196,244,.75); } 100% { text-shadow: 0 0 0 rgba(32,196,244,0); } }
@media (prefers-reduced-motion: reduce) { .mm-intro *, .mm-intro > * { animation: none !important; } }


/* ---------- Cores da marca no hero (fundo escuro → ciano claro #20c4f4) ---------- */
/* Botão principal azul como na home original (#0257f7 + texto branco: contraste melhor) */
#root .min-h-screen .btn-primary { background: #0257f7; color: #fff; }
#root .min-h-screen .btn-primary:hover { background: #1f6bff; color: #fff; filter: none; }
#root .min-h-screen [class*="bg-mm-blue/20"] { background-color: rgba(32,196,244,.2); }
#root .min-h-screen [class*="bg-mm-blue/15"] { background-color: rgba(32,196,244,.15); }
#root .min-h-screen [class*="shadow-mm-blue"] { --tw-shadow-color: rgba(2,87,247,.35); }

/* ---------- Como funciona: ícones, linha de conexão e entrada animada ---------- */
/* Ícones 3D dos passos em 96px */
#como-funciona .step-card > div:first-child { position: relative; z-index: 1; }
#como-funciona .step-card > div:first-child {
  width: 96px; height: 96px;
  background: center / contain no-repeat;
  box-shadow: none; border-radius: 0;
  filter: drop-shadow(0 10px 18px rgba(37,45,106,.28));
}
#como-funciona .step-card:has(.lucide-camera) > div:first-child { background-image: url("/mm/passo-01-camera.webp"); }
#como-funciona .step-card:has(.lucide-brain) > div:first-child { background-image: url("/mm/passo-02.webp"); }
#como-funciona .step-card:has(.lucide-message-circle) > div:first-child { background-image: url("/mm/passo-03.webp"); }
#como-funciona .step-card > div:first-child > svg { display: none; }

/* Linha: sai do centro do ícone 1 e termina no centro do ícone 3 (grid de 3 colunas, gap 32px) */
#como-funciona [class*="top-14"][class*="left-[16%]"] { display: none !important; }
@media (min-width: 768px) {
  #como-funciona .mm-steps::before,
  #como-funciona .mm-steps::after {
    content: ""; position: absolute; z-index: 0; top: 47px; height: 2px; border-radius: 2px;
    left: calc((100% - 64px) / 6); right: calc((100% - 64px) / 6);
  }
  #como-funciona .mm-steps::before { background: rgba(0,174,239,.16); }
  #como-funciona .mm-steps::after {
    background: linear-gradient(90deg, #00aeef, #20c4f4);
    transform-origin: left center; transform: scaleX(1);
  }
  #como-funciona .mm-steps:not(.mm-in)::after { transform: scaleX(0); }
  #como-funciona .mm-steps.mm-in::after { transition: transform 1.2s cubic-bezier(.65,0,.35,1) .15s; }
}

/* Entrada: ícone "salta", depois selo, título e texto sobem — passo a passo, junto com a linha */
#como-funciona .mm-steps .step-card { opacity: 1 !important; transform: none !important; translate: none !important; }
#como-funciona .mm-steps .step-card > * {
  transition: opacity .55s ease, transform .6s cubic-bezier(.22,1,.36,1);
  transition-delay: calc(var(--d, 0s) + var(--o, 0s));
}
#como-funciona .mm-steps .step-card > div:first-child { --o: 0s; transition-timing-function: ease, cubic-bezier(.34,1.56,.64,1); }
#como-funciona .mm-steps .step-card > :nth-child(2) { --o: .14s; }
#como-funciona .mm-steps .step-card > :nth-child(3) { --o: .22s; }
#como-funciona .mm-steps .step-card > :nth-child(4) { --o: .30s; }
#como-funciona .mm-steps .step-card:not(.mm-in) > * { opacity: 0; transform: translateY(16px); }
#como-funciona .mm-steps .step-card:not(.mm-in) > div:first-child { transform: scale(.55) translateY(10px); }
@media (prefers-reduced-motion: reduce) {
  #como-funciona .mm-steps .step-card > *, #como-funciona .mm-steps::after { transition: none !important; }
}

/* ======================================================================
   Calculadora — fundo navy + cartão branco (sem vermelho)
   ====================================================================== */
#calculadora { position: relative; overflow: hidden; background: var(--mm-brand-navy); }
#calculadora::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 55% at 50% 10%, rgba(32,196,244,.16), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(0,0,0,.08)); }
#calculadora > div { position: relative; }
#calculadora .text-center > div:first-child { /* selo "Quanto sua loja está perdendo?" */
  border-color: rgba(32,196,244,.45); background: rgba(32,196,244,.1); color: var(--mm-brand-cyan);
  font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; padding: 8px 14px; }
#calculadora h2 { color: #fff; }

/* Card branco sólido (dentro do card: regras de fundo claro → #00aeef) */
#calculadora .calc-content > .rounded-2xl { position: relative; overflow: visible; background: #fff; border-radius: 20px;
  box-shadow: 0 30px 60px -24px rgba(10,13,40,.5); }
#calculadora .calc-content > .rounded-2xl label { color: var(--mm-brand-navy); }
#calculadora .calc-content > .rounded-2xl [class~="text-lg"][class~="text-mm-blue"] { color: var(--mm-brand-navy); font-family: var(--mm-font-display); font-weight: 600; font-size: 22px; }

/* Slider fluido (o JS desenha trilho, preenchimento e polegar) */
#calculadora .mm-range { --p: 0; --tw: 24px; position: relative; height: 32px; margin: 4px 0 2px; touch-action: none; }
#calculadora .mm-range__track { position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 99px; background: #e8ebf4; overflow: hidden; }
#calculadora .mm-range__fill { position: absolute; left: 0; top: 0; bottom: 0; border-radius: inherit;
  width: calc(var(--tw) / 2 + var(--p) * (100% - var(--tw))); background: var(--mm-brand-cyan-2); }
#calculadora .mm-range__thumb { position: absolute; top: 50%; width: var(--tw); height: var(--tw); margin-top: calc(var(--tw) / -2);
  left: calc(var(--p) * (100% - var(--tw))); border-radius: 50%; pointer-events: none;
  background: var(--mm-brand-cyan-2); border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--mm-brand-cyan-2), 0 6px 14px -4px rgba(0,174,239,.6);
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s; will-change: left; }
#calculadora .mm-range.is-gliding .mm-range__thumb { transition: left .24s cubic-bezier(.22,1,.36,1), transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s; }
#calculadora .mm-range.is-gliding .mm-range__fill { transition: width .24s cubic-bezier(.22,1,.36,1); }
#calculadora .mm-range:hover .mm-range__thumb { transform: scale(1.08); }
#calculadora .mm-range.is-active .mm-range__thumb { transform: scale(1.18); box-shadow: 0 0 0 2px var(--mm-brand-cyan-2), 0 0 0 10px rgba(0,174,239,.14), 0 8px 18px -4px rgba(0,174,239,.6); }
#calculadora .mm-range input[type="range"] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
#calculadora .mm-range input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: var(--tw); height: 32px; }
#calculadora .mm-range input[type="range"]::-moz-range-thumb { width: var(--tw); height: 32px; border: 0; }
#calculadora .mm-range:has(input:focus-visible) .mm-range__thumb { outline: 2px solid var(--mm-brand-navy); outline-offset: 3px; }

/* Resultados — perda em navy, economia em destaque ciano (sem vermelho) */
#calculadora [class~="bg-mm-rose/5"], #calculadora [class~="bg-mm-green/5"] { border-radius: 16px; border: 1px solid; }
#calculadora [class~="bg-mm-rose/5"] { background: #f5f6fb; border-color: #e6e9f3; }
#calculadora [class~="bg-mm-green/5"] { background: rgba(0,174,239,.08); border: 2px solid var(--mm-brand-cyan-2); }
#calculadora [class~="text-mm-rose"] { color: var(--mm-brand-navy); }
#calculadora [class~="text-mm-rose/70"] { color: rgba(37,45,106,.65); }
#calculadora [class~="text-mm-rose/50"] { color: rgba(37,45,106,.45); }
/* Só no quadro "Você perde hoje": título e valor em vermelho (dois tons, valor mais escuro) */
#calculadora [class~="bg-mm-rose/5"] [class~="text-mm-rose/70"] { color: #e04a5f; }
#calculadora [class~="bg-mm-rose/5"] [class~="text-mm-rose"] { color: #b3202f; }
#calculadora [class~="text-mm-green"] { color: var(--mm-brand-cyan-2); }
#calculadora [class~="text-mm-green/70"] { color: var(--mm-brand-navy); }
#calculadora [class~="text-mm-green/50"] { color: rgba(37,45,106,.5); }
#calculadora [class~="text-3xl"][class~="font-extrabold"] { font-family: var(--mm-font-display); font-weight: 600; letter-spacing: -.02em; }

/* Detalhamento */
#calculadora .calc-content > .rounded-2xl [class~="bg-mm-gray"] { background: #f5f6fb; border-radius: 16px; }
#calculadora .calc-content > .rounded-2xl [class~="bg-mm-gray"] [class~="text-mm-blue"] { color: var(--mm-brand-navy); font-family: var(--mm-font-display); font-weight: 600; }

/* Botões na cor da marca (fundo escuro → #20c4f4) */
#calculadora a[class~="bg-mm-green"], #diagnostico a[class*="bg-mm-green"] { background: var(--mm-brand-cyan); color: var(--mm-brand-navy);
  box-shadow: 0 10px 30px -10px rgba(32,196,244,.7); font-family: var(--mm-font-display); font-weight: 500; }
#calculadora a[class~="bg-mm-green"]:hover, #diagnostico a[class*="bg-mm-green"]:hover { background: var(--mm-brand-cyan); filter: brightness(1.08); }

/* ======================================================================
   Antes e Depois — coluna "Com MarketMonitor" em navy, "Sem" esmaecida
   ====================================================================== */
.mm-compare .overflow-x-auto { border-color: rgba(37,45,106,.1); border-radius: 20px;
  box-shadow: 0 30px 60px -30px rgba(37,45,106,.35); }
.mm-compare .overflow-x-auto > div > div { border-bottom: 1px solid rgba(37,45,106,.07); }
.mm-compare .overflow-x-auto > div { border-bottom: 0 !important; }
.mm-compare .overflow-x-auto > div > div:nth-child(1) { color: var(--mm-brand-navy); font-weight: 500; }
.mm-compare .overflow-x-auto > div > div:nth-child(2) { background: transparent; color: rgba(37,45,106,.5); }
.mm-compare .overflow-x-auto > div > div:nth-child(2) svg { color: rgba(37,45,106,.3); }
.mm-compare .overflow-x-auto > div > div:nth-child(3) { background: var(--mm-brand-navy); color: #fff; font-weight: 500;
  border-bottom-color: rgba(255,255,255,.08); }
.mm-compare .overflow-x-auto > div > div:nth-child(3) svg { color: var(--mm-brand-cyan); }
/* Cabeçalho da tabela */
.mm-compare .overflow-x-auto > div:first-child > div { font-family: var(--mm-font-display); font-weight: 600; }
.mm-compare .overflow-x-auto > div:first-child > div:nth-child(2) { color: rgba(37,45,106,.55); }
.mm-compare .overflow-x-auto > div:first-child > div:nth-child(3) { color: #fff; background: linear-gradient(180deg, #2b3478, var(--mm-brand-navy)); }
.mm-compare .overflow-x-auto > div:last-child > div { border-bottom: 0; }
/* Linha selecionada (hover no desktop, toque no celular): destaque claro */
.mm-compare .comp-row { border-left: 0 !important; cursor: pointer; }
.mm-compare .comp-row:hover { background: transparent; }
.mm-compare .comp-row > div { transition: background-color .2s ease, color .2s ease, box-shadow .2s ease; }
.mm-compare .comp-row > div svg { transition: transform .25s cubic-bezier(.34,1.56,.64,1), filter .25s ease; }
.mm-compare .comp-row:is(:hover, .is-active) > div:nth-child(-n+2) { background: rgba(0,174,239,.12); }
.mm-compare .comp-row:is(:hover, .is-active) > div:nth-child(1) { box-shadow: inset 4px 0 0 var(--mm-brand-cyan-2); font-weight: 700; }
.mm-compare .comp-row:is(:hover, .is-active) > div:nth-child(2) { color: rgba(37,45,106,.78); }
.mm-compare .comp-row:is(:hover, .is-active) > div:nth-child(2) svg { color: rgba(37,45,106,.55); }
.mm-compare .comp-row:is(:hover, .is-active) > div:nth-child(3) { background: var(--mm-brand-cyan); color: var(--mm-brand-navy); font-weight: 600; }
.mm-compare .comp-row:is(:hover, .is-active) > div:nth-child(3) svg { color: var(--mm-brand-navy); transform: scale(1.3); }

/* Menu sempre visível (o site escondia ao menor movimento para baixo, inclusive na inércia da rolagem) */
nav.fixed { transform: none !important; translate: none !important; }

/* Grade do hero em ciano bem discreto (antes: branco) */
#root main > div:first-child > .pointer-events-none svg path { color: var(--mm-brand-cyan); }
#root main > div:first-child > [class~="opacity-[0.05]"] { opacity: .07; }
#root main > div:first-child > [class~="opacity-40"] { opacity: .3; }

/* ======================================================================
   Perguntas frequentes — hover e item aberto (sem barra lateral)
   ====================================================================== */
#faq .space-y-2 > div { border: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease, box-shadow .3s ease; }
#faq .space-y-2 > div > button > svg { box-sizing: border-box; width: 34px; height: 34px; padding: 7px; border-radius: 50%;
  color: var(--mm-brand-navy); background: #fff; box-shadow: 0 0 0 1px rgba(37,45,106,.1);
  transition: background-color .25s ease, color .25s ease, box-shadow .25s ease, transform .35s cubic-bezier(.34,1.56,.64,1); }
/* hover (fechado) */
#faq .space-y-2 > div[class~="hover:bg-mm-gray/70"]:hover { background: rgba(0,174,239,.07); border-color: rgba(0,174,239,.25); }
#faq .space-y-2 > div[class~="hover:bg-mm-gray/70"]:hover > button > svg { background: var(--mm-brand-cyan-2); color: #fff; box-shadow: 0 6px 14px -6px rgba(0,174,239,.8); }
/* aberto */
#faq .space-y-2 > div:not([class~="hover:bg-mm-gray/70"]) { position: relative; z-index: 1; background: #fff; border-color: rgba(37,45,106,.14);
  box-shadow: 0 1px 2px rgba(37,45,106,.06), 0 6px 16px -8px rgba(37,45,106,.18); }
#faq .space-y-2 > div:not([class~="hover:bg-mm-gray/70"]) > button > span { color: var(--mm-brand-navy); }
#faq .space-y-2 > div:not([class~="hover:bg-mm-gray/70"]) > button > svg { background: var(--mm-brand-navy); color: #fff; box-shadow: none; }
#faq .space-y-2 > div:not([class~="hover:bg-mm-gray/70"]) p { color: rgba(37,45,106,.72); }


/* ======================================================================
   Desempenho
   ====================================================================== */
/* Brilhos do fundo: gradiente radial no lugar de blur(100–120px) (mesmo visual, quase sem custo) */
#root [class*="blur-[120px]"], #root [class*="blur-[100px]"] {
  filter: none !important; background: radial-gradient(closest-side, rgba(32,196,244,.22), rgba(32,196,244,.08) 55%, transparent) !important;
  transform: scale(2); }

/* Celular/toque — modo leve (o iPhone recarregava a página por falta de memória de vídeo) */
.mm-xr-lite { animation: none !important; }
.mm-xr-lite .mm-xray__base {
  background: url("/mm/xray-hero-mobile-lite.webp") center top / cover no-repeat !important;
  filter: none !important; background-blend-mode: normal !important; opacity: 1 !important;
  -webkit-mask: none !important; mask: none !important; mix-blend-mode: normal !important; }
.mm-xr-lite .mm-xray { mix-blend-mode: screen; } /* mistura com o navy do hero (dentro da camada não há fundo para misturar) */
.mm-xr-lite > [class~="opacity-[0.05]"], .mm-xr-lite > [class~="opacity-40"] { display: none !important; } /* grade animada */
@media (max-width: 767px), (hover: none) {
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  nav.mm-nav--solid > div { background-color: rgba(255,255,255,.98); }
  .mm-cam__fx--noise { animation: none !important; }
  .mm-cam__fx--scan { mix-blend-mode: normal !important; opacity: .35; }
}


/* ======================================================================
   "Quem cuida do seu mercado"
   ====================================================================== */
.mm-eq { position: relative; padding: clamp(80px, 10vw, 128px) 0; background: #f3f5fa; overflow: hidden; }
.mm-eq::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(50% 60% at 18% 50%, rgba(0,174,239,.10), transparent 70%); }
.mm-eq__in { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(36px, 6vw, 88px); align-items: center; }

.mm-eq__media { position: relative; margin: 0; border-radius: 24px; overflow: hidden; aspect-ratio: 5 / 4; background: #1b2150;
  box-shadow: 0 2px 4px rgba(37,45,106,.06), 0 40px 70px -36px rgba(37,45,106,.55); }
.mm-eq__media img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; }
.mm-eq__media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(15,18,48,0) 55%, rgba(15,18,48,.55) 100%); }
/* cantos do Badge (paths originais) como moldura de foco */
.mm-eq__frame { position: absolute; inset: 18px; z-index: 2; pointer-events: none; }
.mm-eq__c { position: absolute; width: clamp(30px, 4vw, 46px); height: auto; aspect-ratio: 1; }
.mm-eq__c--0 { top: 0; left: 0; } .mm-eq__c--1 { bottom: 0; left: 0; }
.mm-eq__c--2 { top: 0; right: 0; } .mm-eq__c--3 { bottom: 0; right: 0; }
/* card de status */
.mm-eq__status { position: absolute; left: calc(18px + clamp(30px, 4vw, 46px) + 14px); bottom: 26px; max-width: calc(100% - 2 * (18px + clamp(30px, 4vw, 46px) + 14px)); z-index: 3; display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 14px; border-radius: 14px; background: rgba(255,255,255,.96); color: var(--mm-brand-navy);
  box-shadow: 0 14px 30px -14px rgba(5,7,25,.55); }
.mm-eq__status b { display: block; font: 600 14px/1.2 var(--mm-font-display); }
.mm-eq__status small { display: block; margin-top: 3px; font: 500 11px/1.3 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .02em; color: rgba(37,45,106,.6); }
.mm-eq__live { position: relative; flex: none; width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }

.mm-eq__eyebrow { margin: 0 0 16px; font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .1em; text-transform: uppercase; color: var(--mm-brand-cyan-2); }
.mm-eq h2 { margin: 0 0 18px; font-family: var(--mm-font-display); font-weight: 600; letter-spacing: -.025em;
  font-size: clamp(32px, 3.8vw, 50px); line-height: 1.06; color: var(--mm-brand-navy); }
.mm-eq h2 em { font-style: normal; color: var(--mm-brand-cyan-2); }
.mm-eq__lead { margin: 0 0 30px; font-size: clamp(16px, 1.35vw, 18px); line-height: 1.65; color: rgba(37,45,106,.72); }
.mm-eq__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(37,45,106,.1); }
.mm-eq__list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(37,45,106,.1); }
.mm-eq__list b { display: block; margin-bottom: 3px; font: 600 16px/1.3 var(--mm-font-display); color: var(--mm-brand-navy); }
.mm-eq__list span:last-child { font-size: 15px; line-height: 1.5; color: rgba(37,45,106,.66); }
.mm-eq__ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: var(--mm-brand-navy); color: var(--mm-brand-cyan); }
.mm-eq__ico svg { width: 22px; height: 22px; }

/* entrada */
.mm-eq-rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.mm-eq-rv.is-in { opacity: 1; transform: none; }
.mm-eq__copy.mm-eq-rv { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { .mm-eq-rv { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .mm-eq__in { grid-template-columns: 1fr; padding: 0 16px; }
  .mm-eq__media { aspect-ratio: 4 / 3; }
  .mm-eq__status { left: calc(12px + 30px + 10px); bottom: 16px; max-width: calc(100% - 2 * (12px + 30px + 10px)); }
  .mm-eq__status small { white-space: normal; }
  .mm-eq__frame { inset: 12px; }
}
