/* ============================================================
   Italiano de Viagem — style.css
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  background: #F0F0EC;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

#root {
  max-width: 420px;
  margin: 0 auto;
  min-height: 100vh;
  background: #FAFAF7;
  position: relative;
}

/* Scrollbar discreta */
#root::-webkit-scrollbar { width: 4px; }
#root::-webkit-scrollbar-track { background: transparent; }
#root::-webkit-scrollbar-thumb { background: #D4A843; border-radius: 2px; }

/* Evita zoom em inputs no iOS */
input, button, select, textarea {
  font-size: 16px;
}

/* Tap highlight removido em mobile */
* {
  -webkit-tap-highlight-color: transparent;
}

/* Animação suave de entrada nas telas */
.screen-enter {
  animation: fadeSlideIn 0.18s ease-out;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Utility: esconde scrollbar mas mantém scroll */
.scroll-hidden {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scroll-hidden::-webkit-scrollbar { display: none; }
