/* ponytail: overrides mobile com !important porque o site usa estilos inline */
@media (max-width: 820px) {
  h1 { font-size: 40px !important; line-height: 1.05 !important; }
  h2 { font-size: 24px !important; }

  .nav { padding: 12px 16px !important; flex-wrap: wrap; gap: 10px; }
  /* single scrollable line so all nav items stay together instead of wrapping */
  .nav-links { flex-wrap: nowrap !important; gap: 14px !important; font-size: 13px !important; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .nav-links::-webkit-scrollbar { display: none; }
  .nav-links > * { flex-shrink: 0; }

  /* lang switch (PT/EN) sits up on the logo row instead of wrapping with the links */
  .lang-switch { position: absolute !important; top: 16px; right: 16px; margin-left: 0 !important; }

  .pad { padding-left: 20px !important; padding-right: 20px !important; }
  .hero-b { padding-bottom: 48px !important; }

  .grid1 { grid-template-columns: 1fr !important; }
  .grid3 { grid-template-columns: 1fr 1fr !important; }

  .band { margin: 0 20px 56px !important; }
  .band > div { padding: 32px 24px !important; }

  /* agrorosario: cards de stats deixam de sobrepor o hero */
  .stats { margin: 24px 20px 0 !important; }

  /* empresa: timeline vira coluna */
  .tl { flex-direction: column; gap: 44px; }
  .tl:before { display: none; }
  .tl-item { padding-top: 36px; }
  .tl-item img { height: 240px !important; object-fit: cover !important; }

  /* portfolio */
  .logo-card { height: 140px !important; padding: 18px !important; }
}
