      * {
        box-sizing: border-box;
      }

      /* ===== RAIZ — anti-travamento iOS/Android dentro do Wix =====
     overflow-x:clip (não 'hidden') evita que a raiz vire um container de
     scroll que prende o toque no Safari. Sem 100vh, sem altura fixa. */
      html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
        overflow-x: hidden;
        overflow-x: clip;
      }
      body {
        margin: 0;
        max-width: 100%;
        overflow-x: hidden;
        overflow-x: clip;
        font-family:
          "Manrope",
          system-ui,
          -apple-system,
          BlinkMacSystemFont,
          sans-serif;
        color: #0e1a2b;
        background: #ffffff;
        -webkit-font-smoothing: antialiased;
        -webkit-tap-highlight-color: transparent;
        text-rendering: optimizeLegibility;
      }

      h1,
      h2,
      h3,
      h4 {
        font-family: "Sora", sans-serif;
        margin: 0;
      }
      h1,
      h2,
      h3 {
        text-wrap: balance;
      }
      p {
        margin: 0;
        text-wrap: pretty;
      }
      a {
        text-decoration: none;
        color: inherit;
      }
      ul {
        margin: 0;
        padding: 0;
        list-style: none;
      }
      img {
        max-width: 100%;
      }

      /* Respeita usuários que pedem menos animação */
      @media (prefers-reduced-motion: reduce) {
        * {
          animation: none !important;
          transition: none !important;
        }
      }

      /* Hover leve só onde há mouse (não dispara no toque) */
      @media (hover: hover) {
        .mj-btn-primary:hover {
          filter: brightness(1.05);
        }
        .mj-card-lift {
          transition:
            transform 0.15s ease,
            box-shadow 0.15s ease;
        }
        .mj-card-lift:hover {
          transform: translateY(-3px);
          box-shadow: 0 16px 34px rgba(16, 38, 66, 0.12);
        }
        .mj-foot-link {
          transition: color 0.15s ease;
        }
        .mj-foot-link:hover {
          color: #5bb6ff;
        }
        .mj-soc:hover {
          background: #1e8fef;
          border-color: #1e8fef;
          color: #fff;
        }
      }
      .mj-soc {
        transition:
          background 0.15s ease,
          border-color 0.15s ease,
          color 0.15s ease;
      }

      /* ===== TABLET (≤880px) ===== */
      @media (max-width: 880px) {
        .mj-headinner {
          padding: 12px 18px !important;
        }
        .mj-footer-grid {
          grid-template-columns: 1fr 1fr !important;
          gap: 28px !important;
        }
      }

      /* ===== CELULAR (≤600px) — COMPACTO, SEM ESCONDER CONTEÚDO ===== */
      @media (max-width: 600px) {
        .mj-sec {
          padding-top: 40px !important;
          padding-bottom: 40px !important;
        }
        .mj-sec-mt {
          margin-top: 40px !important;
        }

        /* HERO compacto (mantém badge, subtítulo, checklist e botões) */
        .mj-hero-wrap {
          padding-top: 26px !important;
          padding-bottom: 6px !important;
        }
        .mj-hero-grid {
          gap: 22px !important;
        }
        .mj-hero-h1 {
          font-size: clamp(26px, 8vw, 33px) !important;
          line-height: 1.12 !important;
          letter-spacing: -0.6px !important;
          margin-top: 14px !important;
        }
        .mj-hero-sub {
          font-size: 15px !important;
          margin-top: 12px !important;
          line-height: 1.5 !important;
        }
        .mj-hero-list {
          gap: 10px 18px !important;
          margin-top: 18px !important;
        }
        .mj-hero-list li {
          font-size: 13px !important;
        }
        .mj-hero-actions {
          margin-top: 20px !important;
          gap: 10px !important;
        }
        .mj-hero-actions > a {
          flex: 1 1 100% !important;
          justify-content: center !important;
          padding: 14px 18px !important;
        }

        /* TRUST empilha com separador no topo */
        .mj-trust-card {
          padding: 18px 16px !important;
        }
        .mj-trust-cell {
          border-left: none !important;
          border-top: 1px solid #eef2f7 !important;
          padding-top: 14px !important;
          padding-bottom: 2px !important;
        }

        .mj-h2 {
          font-size: clamp(22px, 6.4vw, 26px) !important;
        }
        .mj-eyebrow-sub {
          font-size: 15px !important;
          margin-top: 10px !important;
        }

        /* FUNCIONALIDADES — 2 colunas, com descrição mantida */
        .mj-feat-grid {
          grid-template-columns: 1fr 1fr !important;
          gap: 10px !important;
          margin-top: 26px !important;
        }
        .mj-feat-card {
          padding: 14px !important;
          flex-direction: column !important;
          align-items: flex-start !important;
          gap: 10px !important;
        }
        .mj-feat-ic {
          width: 36px !important;
          height: 36px !important;
          font-size: 18px !important;
        }
        .mj-feat-h {
          font-size: 14px !important;
        }
        .mj-feat-desc {
          font-size: 12px !important;
          line-height: 1.4 !important;
        }

        /* SOLUÇÕES e DEPOIMENTOS — 1 coluna (todos os cards visíveis) */
        .mj-grid-1 {
          grid-template-columns: 1fr !important;
          gap: 16px !important;
          margin-top: 28px !important;
        }
        .mj-sol-banner {
          height: 140px !important;
        }

        /* CTA compacto (parágrafo mantido) */
        .mj-cta-card {
          padding: 24px 18px !important;
          gap: 16px !important;
        }
        .mj-cta-h {
          font-size: 21px !important;
        }
        .mj-cta-p {
          font-size: 14.5px !important;
        }

        /* FOOTER compacto (todas as colunas e links mantidos) */
        .mj-footer-grid {
          grid-template-columns: 1fr !important;
          gap: 24px !important;
          padding-top: 30px !important;
        }
        .mj-footer-bottom {
          flex-direction: column !important;
          align-items: flex-start !important;
          gap: 12px !important;
        }
      }

      /* ===== CELULAR ESTREITO (≤380px) ===== */
      @media (max-width: 380px) {
        .mj-feat-grid {
          grid-template-columns: 1fr !important;
        }
        .mj-feat-card {
          flex-direction: row !important;
          align-items: flex-start !important;
        }
        .mj-hero-h1 {
          font-size: 25px !important;
        }
      }


/* ===== Cabecalho (acrescentado na migracao) ===== */
/* Compensa a altura da barra fixa quando um link "#ancora" rola a pagina. */
html {
  scroll-padding-top: 74px;
}

/* Tres cores independentes, de proposito:

   --mj-marca  cor do logotipo, que acompanha a PAGINA: laranja no restaurante,
               azul nas demais. Amostrada do proprio arquivo do simbolo, para o
               texto "Solucoes" ficar no mesmo tom do desenho ao lado.
   --aba       cor de cada ABA, fixa por segmento. Assim passar o mouse numa aba
               azul nao a deixa laranja so porque a pagina e do restaurante.
   --mj-ui     azul da interface, usado no botao do revendedor. Nunca muda: o
               botao nao pertence a nenhum segmento. */
.mj-topnav {
  --mj-marca: #2cbefd;
  --mj-ui: #1e8fef;
  --mj-ui-fraco: color-mix(in srgb, #1e8fef 12%, #fff);
}

/* Atencao a especificidade: ".mj-topnav-abas a" vale 0-1-1 (classe + elemento) e
   venceria ".mj-aba-restaurante", que vale 0-1-0. Por isso a excecao tambem e
   escrita com o seletor completo, 0-2-1 — senao o azul padrao sobrescreve o
   laranja e a aba ativa do restaurante sai na cor errada. */
.mj-topnav-abas a {
  --aba: #1e8fef;
  --aba-fraco: color-mix(in srgb, #1e8fef 12%, #fff);
}

.mj-topnav-abas a.mj-aba-restaurante {
  --aba: #e85d04;
  --aba-fraco: color-mix(in srgb, #e85d04 12%, #fff);
}

@supports not (background: color-mix(in srgb, red 10%, #fff)) {
  .mj-topnav {
    --mj-ui-fraco: #eaf4fe;
  }
  .mj-topnav-abas a {
    --aba-fraco: #eaf4fe;
  }
  .mj-topnav-abas a.mj-aba-restaurante {
    --aba-fraco: #fdefe4;
  }
}

.mj-topnav {
  position: sticky;
  top: 0;
  z-index: 900;
  background: #ffffff;
  border-bottom: 1px solid #e6ecf3;
}

.mj-topnav-caixa {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  height: 66px;
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Marca: o simbolo "mj" mais a palavra, formando o logotipo horizontal. */
.mj-topnav-marca {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  text-decoration: none;
  color: var(--mj-marca);
}

.mj-topnav-marca img {
  height: 34px;
  width: 34px;
  display: block;
}

.mj-topnav-marca span {
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--mj-marca);
}

/* Abas centralizadas entre a marca e o botao. */
.mj-topnav-abas {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  height: 100%;
}

.mj-topnav-abas a {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 100%;
  padding: 0 16px;
  font-family: "Manrope", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  color: #5b6b7c;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.mj-topnav-abas svg {
  width: 18px;
  height: 18px;
  flex: none;
}

@media (hover: hover) {
  .mj-topnav-abas a:hover {
    color: var(--aba);
    background: #f5f9fd;
  }
}

/* Aba ativa: fundo claro e traco embaixo, na cor da propria aba. */
.mj-topnav-abas a[aria-current="page"] {
  color: var(--aba);
  background: var(--aba-fraco);
  border-bottom-color: var(--aba);
}

/* Botao da area do revendedor. */
.mj-topnav-revenda {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: none;
  padding: 9px 15px;
  border: 1.5px solid #bfdcf7;
  border-radius: 9px;
  font-family: "Manrope", sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--mj-ui);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.mj-topnav-revenda svg {
  width: 17px;
  height: 17px;
  flex: none;
}

@media (hover: hover) {
  .mj-topnav-revenda:hover {
    background: var(--mj-ui-fraco);
    border-color: var(--mj-ui);
  }
}

.mj-topnav a:focus-visible {
  outline: 3px solid var(--mj-ui);
  outline-offset: -3px;
}

/* No desktop vale o rotulo completo. */
.mj-nav-curto {
  display: none;
}

/* Telas medias: o rotulo do botao sai, sobra o icone. */
@media (max-width: 900px) {
  .mj-topnav-revenda span {
    display: none;
  }
  .mj-topnav-revenda {
    padding: 9px 11px;
  }
  .mj-topnav-abas a {
    padding: 0 12px;
  }
}

/* Celular: as tres abas dividem a largura em partes iguais, com icone em cima do
   rotulo. Medido antes de escolher — uma fileira horizontal de rotulos nao cabia
   em 390px e o ultimo segmento ficava fora da tela. Em partes iguais, os tres
   sempre aparecem, sem arrastar e sem esconder nada atras de menu sanfona. */
@media (max-width: 640px) {
  html {
    scroll-padding-top: 66px;
  }
  .mj-topnav-caixa {
    gap: 8px;
    padding: 0 10px;
    height: 60px;
  }
  .mj-topnav-marca span {
    display: none;
  }
  .mj-topnav-abas {
    flex: 1;
    gap: 2px;
    margin: 0;
  }
  .mj-topnav-abas a {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 0 2px;
    font-size: 11px;
    letter-spacing: -0.01em;
    text-align: center;
  }
  .mj-topnav-abas svg {
    width: 19px;
    height: 19px;
  }
  .mj-topnav-revenda {
    padding: 9px 10px;
  }
  .mj-nav-longo {
    display: none;
  }
  .mj-nav-curto {
    display: inline;
  }
}
