/* PRÓXIMAINVEST — responsividade das páginas secundárias */
:root { color-scheme: dark; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding-top: max(24px, env(safe-area-inset-top, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
  padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  overflow-wrap: anywhere;
}
main { width: min(100%, 760px); min-width: 0; margin-inline: auto; }
h1 { font-size: clamp(1.55rem, 6vw, 2.15rem); line-height: 1.2; text-wrap: balance; }
h2, h3 { line-height: 1.3; text-wrap: balance; }
p, li { overflow-wrap: anywhere; }
img, svg, video, canvas, iframe { max-width: 100%; }
img, video, canvas { height: auto; }
table { display: block; width: 100%; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
pre { max-width: 100%; overflow-x: auto; }
button, input, select, textarea { max-width: 100%; font: inherit; }
button, input, select, textarea, summary { touch-action: manipulation; }
input:not([type="checkbox"]):not([type="radio"]), select, textarea { min-height: 44px; font-size: 16px; }
button, .btn, a.btn, [role="button"] { min-height: 44px; }
a.btn, .btn { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; text-align: center; }
.card, .box { min-width: 0; padding: clamp(14px, 4vw, 20px); }
@media (max-width: 480px) {
  body { padding-top: max(20px, env(safe-area-inset-top, 0px)); }
  main { width: 100%; }
  h1 { font-size: clamp(1.5rem, 7vw, 1.9rem); }
  .card, .box { margin-block: 14px; }
  a.btn, .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
