@media (min-width: 761px) {
  .mobile-page {
    display: none;
  }
}

@media (max-width: 760px) {
  html {
    background: #ffffff;
  }

  body {
    min-width: 0;
    background:
      radial-gradient(circle at 82% 10%, rgba(47, 109, 246, 0.12), transparent 30%),
      linear-gradient(180deg, #ffffff 0%, #f3fbff 52%, #ffffff 100%);
    overflow-x: hidden;
  }

  .page-mockup {
    display: none;
  }

  .mobile-page {
    display: block;
    min-height: 100vh;
    color: #07194b;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  }

  .mobile-header {
    position: sticky;
    top: 0;
    z-index: 10;
    min-height: 62px;
    padding: 14px 18px 10px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(7, 25, 75, 0.08);
    backdrop-filter: blur(16px);
  }

  .mobile-logo {
    display: inline-flex;
    align-items: center;
    position: absolute;
    left: 14px;
    top: 15px;
    width: 132px;
    min-width: 0;
    overflow: hidden;
  }

  .mobile-logo img {
    display: block;
    width: 132px;
    max-width: none;
    height: 32px;
    object-fit: contain;
    object-position: left center;
  }

  .mobile-actions {
    display: inline-flex;
    align-items: center;
    position: absolute;
    right: 10px;
    top: 13px;
    gap: 6px;
  }

  .mobile-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 10px;
    border: 1px solid rgba(7, 25, 75, 0.2);
    border-radius: 999px;
    color: #07194b;
    font-size: 13px;
    font-weight: 800;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    background: #ffffff;
  }

  .mobile-button.primary {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #2f6df6 0%, #7444f2 100%);
    box-shadow: 0 12px 28px rgba(72, 75, 232, 0.2);
  }

  .mobile-nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 18px 14px;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid rgba(7, 25, 75, 0.06);
    scrollbar-width: none;
  }

  .mobile-nav::-webkit-scrollbar {
    display: none;
  }

  .mobile-nav a {
    flex: 0 0 auto;
    padding: 8px 13px;
    border: 1px solid rgba(7, 25, 75, 0.12);
    border-radius: 999px;
    color: #07194b;
    font-size: 13px;
    font-weight: 800;
    line-height: 18px;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.86);
  }

  .mobile-nav a.active {
    color: #5c3fe1;
    border-color: rgba(109, 91, 208, 0.28);
    background: #eeedfe;
  }

  .mobile-shell {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 26px 18px 32px;
  }

  .mobile-hero {
    display: grid;
    gap: 22px;
    padding: 8px 0 26px;
  }

  .mobile-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 8px 14px;
    border-radius: 999px;
    color: #6447e8;
    background: #eeedfe;
    font-size: 14px;
    font-weight: 850;
    line-height: 20px;
  }

  .mobile-title {
    margin: 0;
    color: #07194b;
    font-size: clamp(34px, 10.4vw, 44px);
    font-weight: 900;
    letter-spacing: -0.035em;
    line-height: 1.02;
    overflow-wrap: normal;
  }

  .mobile-title span {
    color: #10a985;
  }

  .mobile-copy {
    margin: 18px 0 0;
    color: rgba(7, 25, 75, 0.84);
    font-size: 18px;
    font-weight: 500;
    line-height: 1.42;
  }

  .mobile-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
  }

  .mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border: 1px solid rgba(7, 25, 75, 0.18);
    border-radius: 999px;
    color: #07194b;
    font-size: 17px;
    font-weight: 850;
    line-height: 22px;
    text-decoration: none;
    background: #ffffff;
  }

  .mobile-cta.primary {
    color: #ffffff;
    border-color: transparent;
    background: linear-gradient(135deg, #2f6df6 0%, #7444f2 100%);
    box-shadow: 0 16px 32px rgba(47, 109, 246, 0.22);
  }

  .mobile-cta.green {
    color: #ffffff;
    border-color: transparent;
    background: #09a477;
    box-shadow: 0 16px 32px rgba(9, 164, 119, 0.18);
  }

  .mobile-visual {
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    background: #ffffff;
  }

  .mobile-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 25, 75, 0) 52%, rgba(7, 25, 75, 0.62) 100%);
    pointer-events: none;
  }

  .mobile-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* aspect-ratio bate com o recorte real de cada imagem -mobile.png,
     ja enquadrado sem nav/rodape — evita salto de layout (CLS) */
  .mobile-visual.home {
    aspect-ratio: 721 / 690;
  }

  .mobile-visual.mundo {
    aspect-ratio: 1156 / 660;
  }

  .mobile-visual.prova {
    aspect-ratio: 570 / 690;
  }

  .mobile-visual.sobre {
    aspect-ratio: 948 / 420;
  }

  .mobile-visual.parcerias {
    aspect-ratio: 566 / 635;
  }

  .mobile-strip {
    display: grid;
    gap: 12px;
    margin: 4px 0 30px;
  }

  .mobile-strip span,
  .mobile-list li,
  .mobile-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #07194b;
    font-size: 16px;
    font-weight: 800;
    line-height: 22px;
  }

  .mobile-strip span::before,
  .mobile-list li::before {
    content: "";
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 999px;
    background:
      linear-gradient(#ffffff, #ffffff) padding-box,
      linear-gradient(135deg, #09a477, #6d5bd0) border-box;
    border: 2px solid transparent;
  }

  .mobile-section {
    margin-top: 22px;
    padding: 24px;
    border: 1px solid rgba(7, 25, 75, 0.1);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 38px rgba(7, 25, 75, 0.07);
  }

  .mobile-section h2,
  .mobile-section h3 {
    margin: 0;
    color: #07194b;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1.16;
  }

  .mobile-section p {
    margin: 12px 0 0;
    color: rgba(7, 25, 75, 0.78);
    font-size: 16px;
    line-height: 1.55;
  }

  .mobile-card-grid {
    display: grid;
    gap: 12px;
    margin-top: 18px;
  }

  .mobile-card {
    padding: 18px;
    border: 1px solid rgba(7, 25, 75, 0.1);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(7, 25, 75, 0.05);
  }

  .mobile-card strong {
    display: block;
    color: #07194b;
    font-size: 17px;
    font-weight: 900;
    line-height: 1.3;
  }

  .mobile-card p {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.5;
  }

  .mobile-list {
    display: grid;
    gap: 13px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
  }

  .mobile-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
  }

  .mobile-chip {
    padding: 11px 14px;
    border: 1px solid rgba(7, 25, 75, 0.1);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(7, 25, 75, 0.05);
  }

  .mobile-footer {
    margin-top: 28px;
    padding: 26px 22px;
    border-radius: 30px 30px 0 0;
    color: #ffffff;
    background: #002f68;
  }

  .mobile-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-footer-icon {
    display: block;
    width: 30px;
    height: 30px;
    flex: none;
  }

  .mobile-footer-wordmark {
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.01em;
    color: #ffffff;
  }

  .mobile-footer p {
    margin: 14px 0 20px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
  }

  .mobile-footer nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 18px;
  }

  .mobile-footer a {
    color: #ffffff;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
  }

  /* footer minimalista (variante so desta pagina, via .mobile-footer--light)
     — so logo + contato por e-mail, empilhados e centralizados. */
  .mobile-footer--light {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 22px 20px 26px;
    border-radius: 0;
    color: #07194b;
    background: #ffffff;
    border-top: 1px solid rgba(7, 25, 75, 0.1);
    text-align: center;
  }

  .mobile-footer--light .mobile-footer-wordmark {
    color: #07194b;
  }

  .mobile-footer--light .mobile-footer-contact {
    color: rgba(7, 25, 75, 0.72);
    font-size: 14px;
    font-weight: 600;
  }

  /* ==========================================================================
     Prova adaptada e lei — componentes específicos desta página (aditivo).
     ========================================================================== */

  .mobile-highlight {
    padding-left: 14px;
    border-left: 3px solid #6a34d3;
    color: rgba(7, 25, 75, 0.8);
    font-size: 15px;
    line-height: 1.5;
  }

  .mobile-highlight + .mobile-highlight {
    margin-top: 12px;
  }

  .mobile-highlight strong {
    display: inline;
    color: #07194b;
    font-weight: 800;
  }

  .mobile-compliance {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
    padding: 10px 14px;
    border-radius: 14px;
    border: 1px solid rgba(7, 25, 75, 0.12);
    background: #f7f8fd;
    color: rgba(7, 25, 75, 0.7);
    font-size: 12.5px;
    font-weight: 700;
  }

  .mobile-compliance svg {
    flex: none;
    color: #08a994;
  }

  /* passos "Como funciona" no mobile — coerentes com a arte do desktop:
     cards lilás claro arredondados, ligados por uma seta discreta. */
  .mobile-steps {
    display: flex;
    flex-direction: column;
    gap: 26px;
    margin-top: 18px;
    padding: 0;
    list-style: none;
  }

  .mobile-step {
    position: relative;
    padding: 16px;
    border: 1px solid rgba(106, 52, 211, 0.12);
    border-radius: 18px;
    background: #f5f3fd;
    box-shadow: 0 10px 24px -16px rgba(7, 25, 75, 0.12);
  }

  /* seta (chevron) discreta ligando um passo ao próximo */
  .mobile-step + .mobile-step::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -19px;
    width: 11px;
    height: 11px;
    transform: translateX(-50%) rotate(45deg);
    border-right: 2.5px solid rgba(106, 52, 211, 0.6);
    border-bottom: 2.5px solid rgba(106, 52, 211, 0.6);
  }

  .mobile-step-head {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .mobile-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #6a34d3;
    color: #ffffff;
    font-size: 13px;
    font-weight: 800;
  }

  .mobile-step-head strong {
    color: #07194b;
    font-size: 16px;
    font-weight: 800;
  }

  .mobile-step p {
    margin: 8px 0 0;
    color: rgba(7, 25, 75, 0.7);
    font-size: 14px;
    line-height: 1.5;
  }

  .mobile-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0 0;
    padding: 0;
    list-style: none;
  }

  .mobile-step-tags li {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(106, 52, 211, 0.16);
    color: #4a2fa0;
    font-size: 12px;
    font-weight: 700;
  }

  .mobile-step-tags li::before {
    content: "";
    flex: none;
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #08a994;
  }

  .mobile-step-approve {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    width: fit-content;
    margin-top: 10px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #08a994;
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
  }

  .mobile-media-pending.hero {
    margin-top: 20px;
    border-radius: 24px;
  }

  .mobile-media-pending {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1.5px dashed rgba(106, 52, 211, 0.35);
    background: linear-gradient(135deg, rgba(106, 52, 211, 0.07), rgba(8, 169, 148, 0.07));
    color: rgba(7, 25, 75, 0.55);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
  }

  /* mesma caixa de proporção do placeholder, agora para a <img> real */
  .mobile-media-box.hero {
    margin-top: 20px;
    border-radius: 24px;
  }

  .mobile-media-box {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    margin-top: 12px;
    border-radius: 16px;
  }

  .mobile-media-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* seção "O que diz a lei?" no mobile — painel lilás único, balança em cima,
     3 blocos empilhados com separadores (scoped por .mobile-law, sem afetar as
     outras .mobile-section da página). */
  .mobile-law {
    background: #f5f3fd;
    border-color: rgba(106, 52, 211, 0.14);
  }

  .mobile-law-figure {
    margin: 14px 0 4px;
  }

  .mobile-law-scale {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: #eae6fb;
    color: #6a34d3;
  }

  .mobile-law-points {
    margin-top: 16px;
  }

  .mobile-law-point {
    padding: 16px 0;
    border-top: 1px solid rgba(106, 52, 211, 0.14);
  }

  .mobile-law-point:first-child {
    padding-top: 8px;
  }

  .mobile-law-point strong {
    display: block;
    margin-top: 9px;
    color: #07194b;
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.3;
  }

  .mobile-law-point p {
    margin-top: 6px;
    color: rgba(7, 25, 75, 0.7);
    font-size: 14px;
    line-height: 1.5;
  }

  .mobile-law-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #ffffff;
    color: #6a34d3;
  }

  .mobile-law-note {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: #eeedfe;
    color: rgba(7, 25, 75, 0.78);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.5;
  }

  .mobile-law-note svg {
    flex: none;
    margin-top: 1px;
    color: #6a34d3;
  }

  /* fluxo "da prova original a versao adaptada" — paleta propria (verde
     #508870, laranja #f5a33f, neutros), sem roxo/teal, fonte Inter. */
  .mobile-flow {
    font-family: "Inter", "Nunito", system-ui, sans-serif;
  }

  .mobile-flow-subtitle {
    margin: 4px 0 16px;
    color: #5b6b63;
    font-size: 14px;
    line-height: 1.5;
  }

  .mobile-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 14px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e6e9e7;
  }

  .mobile-flow-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: #f0eaff;
    color: #6a34d3;
  }

  .mobile-flow-num {
    position: absolute;
    right: -3px;
    bottom: -3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border-radius: 999px;
    background: #6a34d3;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    border: 2px solid #ffffff;
  }

  .mobile-flow-step strong {
    display: block;
    color: #07194b;
    font-size: 15.5px;
    font-weight: 700;
  }

  .mobile-flow-step p {
    margin: 5px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: #55645c;
  }

  .mobile-flow-footnote {
    margin: 16px 0 0;
    color: #6b7a72;
    font-size: 12.5px;
    line-height: 1.5;
    font-style: italic;
  }

  .mobile-benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
  }

  .mobile-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #eeedfe;
    color: #6a34d3;
  }

  .mobile-benefit strong {
    display: block;
    color: #07194b;
    font-size: 15px;
    font-weight: 800;
  }

  .mobile-benefit p {
    margin: 4px 0 0;
    font-size: 13.5px;
    line-height: 1.5;
  }

  .mobile-final-cta {
    margin-top: 22px;
    padding: 26px 22px;
    border-radius: 26px;
    background: linear-gradient(120deg, #6a34d3 0%, #2f6df6 100%);
    color: #ffffff;
    text-align: center;
  }

  .mobile-final-cta h2 {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
  }

  .mobile-final-cta p {
    margin: 10px 0 18px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 14.5px;
    line-height: 1.5;
  }

  .mobile-final-cta .mobile-cta {
    width: 100%;
    border-color: transparent;
    background: #08a994;
    color: #ffffff;
  }

  @media (max-width: 420px) {
    .mobile-header {
      min-height: 58px;
      padding: 12px 10px 9px;
    }

    .mobile-logo {
      left: 10px;
      top: 14px;
      width: 120px;
    }

    .mobile-logo img {
      width: 120px;
      height: auto;
    }

    .mobile-actions {
      right: 8px;
      top: 12px;
      gap: 6px;
    }

    .mobile-button {
      min-height: 34px;
      padding: 0 9px;
      font-size: 12px;
    }

    .mobile-shell {
      padding-inline: 18px;
    }

    .mobile-title {
      font-size: clamp(34px, 10vw, 40px);
      letter-spacing: -0.03em;
    }
  }

}
