/* ==========================================================================
   Vinnero Vinícolas — Design System & Editorial Styles
   Paleta: Alabastro (#F9F6F0), Verde Musgo (#353B25), Bordô (#4A0D17),
           Areia (#E4DCCF) e Terracota pontual (#B85A3A)
   ========================================================================== */

:root {
  --v-alabaster: #F9F6F0;
  --v-surface: #FFFFFF;
  --v-sand-light: #F3EEE4;
  --v-sand: #E4DCCF;
  --v-sand-dark: #CEC3B0;
  --v-moss: #353B25;
  --v-moss-dark: #272C1B;
  --v-moss-soft: #EDF0E7;
  --v-wine: #4A0D17;
  --v-wine-dark: #330810;
  --v-wine-soft: #F7ECEE;
  --v-terracotta: #B85A3A;
  --v-terracotta-soft: #FBF0EC;
  --v-ink: #1F1D1A;
  --v-muted: #696359;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--v-alabaster);
  color: var(--v-ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.font-editorial {
  font-family: 'Cinzel', Georgia, serif;
}

.font-brand {
  font-family: 'Montserrat', 'Inter', sans-serif;
}

/* Scrollbars sutis para barras horizontais de filtros */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Safe areas mobile */
header.v-header {
  padding-top: max(env(safe-area-inset-top), 0px);
}

.v-safe-bottom {
  padding-bottom: max(env(safe-area-inset-bottom), 1rem);
}

/* Textura editorial muito sutil de papel mineral */
.v-paper-bg {
  background-color: var(--v-alabaster);
  background-image: radial-gradient(rgba(53, 59, 37, 0.03) 1px, transparent 0);
  background-size: 24px 24px;
}

/* Destaque sutil para vinícolas no plano Ecossistema */
.v-card-ecossistema {
  border-color: rgba(184, 90, 58, 0.35);
  box-shadow: 0 8px 28px -12px rgba(74, 13, 23, 0.12), 0 1px 2px rgba(31, 29, 26, 0.04);
}

/* Transições de gaveta e modal */
.v-drawer-backdrop {
  transition: opacity 220ms ease;
}
.v-drawer-panel {
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Skeleton shimmer suave */
@keyframes v-pulse-warm {
  0%, 100% { opacity: 0.55; }
  50% { opacity: 1; }
}
.v-skeleton {
  background: linear-gradient(90deg, #EFE9DE 0%, #E7DFD1 50%, #EFE9DE 100%);
  animation: v-pulse-warm 1.6s ease-in-out infinite;
}

/* Indicadores de cor por tipo de vinho */
.wine-dot-tinto { background-color: #5E1422; }
.wine-dot-branco { background-color: #D5BA6E; }
.wine-dot-rose { background-color: #D48A91; }
.wine-dot-espumante { background-color: #C7B27B; }
.wine-dot-sobremesa { background-color: #B4783A; }
