/* Ajustes de responsividade para qualquer tela (celular deitado, telas baixas, telas muito estreitas).
   Arquivo separado: não mexe no app.css / landing.css. Carregado em todas as páginas do site. */

/* nada de rolagem lateral em nenhuma tela */
body{max-width:100%;overflow-x:clip}
img,svg,video,canvas,audio{max-width:100%}

/* ---------- celular deitado / telas baixas: o chat usa a tela toda e fica compacto ---------- */
@media (max-height:540px) and (orientation:landscape){
  .chat-overlay{align-items:stretch;background:var(--wa-bg,#0b0d12)}
  .chat{max-width:none;height:100%;border-radius:0}
  .chat-head{padding-top:max(5px,env(safe-area-inset-top));padding-bottom:5px}
  .chat-head img{width:30px;height:30px}
  .chat-progress{padding:6px 14px}
  .chat-progress .cp-steps{display:none}
  .chat-progress .cp-bar{margin:0}
  .chat-body{padding-top:8px}
  .chat-actions{max-height:42vh;padding-top:4px;padding-bottom:6px}
  .chat-actions .btn,.chat-actions button{min-height:42px}
  /* barra fixa de baixo mais baixinha */
  body .mnav{padding:6px 12px calc(6px + env(safe-area-inset-bottom))}
  body .mnav-btn{min-height:40px;padding:4px 10px}
  body .mnav-ic{width:28px;height:28px}
  body .mnav-tx small{display:none}
  html body{padding-bottom:calc(56px + env(safe-area-inset-bottom))}
  /* faixa de Natal da página principal numa linha só */
  .nb-in{flex-wrap:nowrap;padding:7px 16px;font-size:13.5px;text-align:left}
  .nb-tx{flex:1 1 auto}
  body .support-fab{bottom:calc(64px + env(safe-area-inset-bottom))!important}
}

/* ---------- telas muito estreitas (até 360px) ---------- */
@media (max-width:360px){
  .topbar .brand img,.topbar .brand svg{max-width:112px;height:auto}
  body .mnav{gap:6px;padding-left:8px;padding-right:8px}
  body .mnav-btn{gap:6px;padding:6px 8px}
  body .mnav-tx b{font-size:13.5px}
  body .mnav-tx small{display:none}
}

/* ---------- telas muito largas: conteúdo não estica demais ---------- */
@media (min-width:2000px){
  html{font-size:17px}
}
