/* Cappers: ajustes para celular. As páginas usam estilos inline; aqui eles são sobrescritos por largura. */
body > div:first-of-type { overflow-x: clip; }
.ch-burger { display: none; }
a[href^="tel:"] { color: inherit; text-decoration: none; }

@media (max-width: 760px) {
  /* topo compacto: só o acesso do devedor na faixa escura, logo + "Seja cliente" + menu */
  header > div:nth-of-type(2) > div { padding: 4px 16px !important; justify-content: center !important; font-size: 12px !important; gap: 8px !important; }
  header > div:nth-of-type(2) > div > span { display: none !important; }
  header > div:nth-of-type(2) a { min-height: 28px !important; }
  header > div:nth-of-type(3) { padding: 10px 16px !important; gap: 10px !important; }
  header > div:nth-of-type(3) img { width: 124px !important; }
  header > div:nth-of-type(3) > div { margin-left: auto; gap: 8px !important; }
  header .ch-soc { display: none !important; }
  header > div:nth-of-type(3) > div > a[style*="border-radius: 999px"] { min-height: 40px !important; padding: 0 14px !important; font-size: 13px !important; margin-left: 0 !important; }
  .ch-burger { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1.5px solid #D5DDE2; border-radius: 50%; background: #ffffff; color: #022435; cursor: pointer; }
  .ch-burger svg { display: block; }
  header nav { display: none !important; order: 4; width: 100%; flex-direction: column !important; gap: 0 !important; margin: 0 !important; padding: 4px 0 6px; border-top: 1px solid #E1E6EA; font-size: 14px !important; }
  header.aberto nav { display: flex !important; }
  header nav a { padding: 13px 2px; border-bottom: 1px solid #F0F3F5; }
  header nav a:last-child { border-bottom: 0; }
  header nav a::after { display: none; }

  /* respiro das seções */
  [style*="padding: 96px 24px"], [style*="padding: 88px 24px"], [style*="padding: 104px 24px"], [style*="padding: 80px 24px"], [style*="padding: 72px 24px"], [style*="padding: 56px 24px"], [style*="padding: 64px 24px"] {
    padding-top: 52px !important; padding-bottom: 56px !important; padding-left: 16px !important; padding-right: 16px !important;
  }
  [style*="padding: 48px 24px"] { padding-left: 16px !important; padding-right: 16px !important; }
  [style*="gap: 56px"], [style*="gap: 48px"] { gap: 32px !important; }
  section[style*="min-height: 620px"] { min-height: 0 !important; }
  section[style*="min-height: 620px"] p { font-size: 18px !important; }
  [data-wix-form] { padding: 20px !important; }
  [role="tabpanel"] { padding: 24px !important; }

  /* método personas: grade de pessoas */
  [style*="repeat(6, minmax(0, 1fr))"] { padding: 24px 14px !important; gap: 14px 4px !important; }

  /* números em bolhas: duas por linha */
  #ch-bolhas { gap: 22px 14px !important; padding: 8px 0 !important; }
  #ch-bolhas > div { width: 42vw !important; height: 42vw !important; max-width: 200px !important; max-height: 200px !important; }
  #ch-bolhas b { font-size: clamp(22px, 7vw, 30px) !important; }
  #ch-bolhas span { font-size: 12px !important; }

  /* omnichannel: órbita cabe na tela */
  [style*="aspect-ratio: 1 / 1"] { width: calc(100% - 84px) !important; }
  [style*="aspect-ratio: 1 / 1"] button { min-height: 38px !important; padding: 0 10px !important; font-size: 12px !important; }
  [style*="aspect-ratio: 1 / 1"] > div[style*="width: 120px"] { width: 84px !important; height: 84px !important; margin: -42px 0 0 -42px !important; }
  [style*="aspect-ratio: 1 / 1"] > div[style*="width: 120px"] svg { width: 38px; height: 38px; }

  /* transformação digital: cartões flutuantes dentro da tela */
  [style*="right: -12px"], [style*="left: -8px"] { position: relative !important; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: fit-content; margin-top: 12px; }
  [style*="flex: 999 1 560px"][style*="padding: 28px 0"] { padding: 0 !important; }
  svg[style*="left: -40px"] { display: none !important; }

  /* funil da leitura: o indicador já aparece no quadro acima */
  #funil button > span:last-child { display: none; }
  #funil button { font-size: 15px !important; padding: 0 16px !important; }

  /* rodapé e WhatsApp */
  footer > div:first-child { padding: 32px 16px 20px !important; gap: 20px !important; }
  footer > div:last-child { padding: 0 16px 96px !important; }
  a[href*="wa.me"] { width: 52px !important; height: 52px !important; right: 16px !important; bottom: 16px !important; }
}
/* celulares muito estreitos */
@media (max-width: 360px) { h1 { font-size: 34px !important; } }
