/* 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; }

  /* portfolio: CTAs do hero lado a lado em vez de empilhados */
  .hero-ctas { flex-wrap: nowrap !important; gap: 10px !important; }
  .hero-ctas .cta { flex: 1 1 0; min-width: 0; justify-content: center; text-align: center; padding: 13px 8px !important; font-size: 13px !important; }
  .hero-ctas .cta svg { width: 15px !important; height: 15px !important; flex-shrink: 0; }

  /* portfolio: carrossel de cultura */
  .car-arrow { display: none !important; }
  .car-tabs { flex-wrap: nowrap !important; overflow-x: auto; justify-content: flex-start !important; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 2px; }
  .car-tabs::-webkit-scrollbar { display: none; }
  .car-tab { flex-shrink: 0; }
  .obt-grid { grid-template-columns: 1fr 1fr !important; }
  .obt-card.expanded { grid-column: 1 / -1 !important; }
  .cult-chip { height: 52px !important; min-width: 88px !important; padding: 6px 10px !important; }
}
