/* ===================================================================
   ZZULA BEER TRUCK — DESIGN SYSTEM PREMIUM & CLEAN (KOMBLUE STANDARD)
   Tokens: Petrol Green (#0A2B32 / #00615F), Amber Gold (#C8973E / #EEB245),
           Warm Organic Canvas (#F6F4EE / #FAF8F3), Neutral Text (#0A242B)
   Tipografia: Plus Jakarta Sans (Headlines & UI) + Inter (Corpo & Textos)
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
  /* Paleta Nobre & Clean */
  --bg-canvas: #F6F4EE;
  --bg-canvas-subtle: #FAF8F3;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;

  /* Cores de Marca */
  --primary-dark: #0A242B;
  --primary-main: #0A2B32;
  --primary-container: #061D22;
  --primary-fixed: #D3EAE8;
  --primary-fixed-dim: #A7D4D0;

  --secondary-main: #C8973E;
  --secondary-hover: #B2822E;
  --secondary-light: #EEB245;
  --secondary-fixed: #FBF5EB;

  --emerald-main: #10B981;
  --emerald-dark: #059669;

  /* Texto & Hierarquia */
  --text-heading: #0A242B;
  --text-body: #334155;
  --text-muted: #4F646A;
  --text-light: #9AA7A8;

  /* Bordas */
  --border-subtle: #E2DCD1;
  --border-focus: #0A2B32;

  /* Safe Area Mobile */
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

/* ===================================================================
   1. VIEWPORT, CONTAINMENT & TIPOGRAFIA RESPONSIVA
   ================================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Previne zoom automático invasivo no iOS Safari ao focar inputs */
@media screen and (max-width: 640px) {
  input[type="text"],
  input[type="tel"],
  input[type="date"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

h1, h2, h3, h4, .text-balance {
  text-wrap: balance;
}

p, .text-pretty {
  text-wrap: pretty;
}

/* ===================================================================
   2. SCROLLBAR ESTILIZADA & SUAVE
   ================================================================== */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #EFECE2;
}
::-webkit-scrollbar-thumb {
  background: #C8973E;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #0A2B32;
}

/* ===================================================================
   3. ENQUADRAMENTO RESPONSIVO DA FOTO HERO (KOMBI + MODELO + TORNEIRAS)
   ================================================================== */
.hero-photo-bg {
  object-fit: cover;
  object-position: 72% 38%; /* Mobile: Foco perfeito na mulher e torneiras */
}

@media (min-width: 640px) {
  .hero-photo-bg {
    object-position: 66% 40%; /* Tablets */
  }
}

@media (min-width: 1024px) {
  .hero-photo-bg {
    object-position: center bottom; /* Desktop: Visão panorâmica */
  }
}

/* ===================================================================
   4. NAVBAR FLUTUANTE (FLOATING PILL NAVBAR) & SCROLL STATES
   ================================================================== */
.site-header {
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.96) !important;
  box-shadow: 0 16px 40px -6px rgba(10, 43, 50, 0.12), 0 0 0 1px rgba(200, 151, 62, 0.25) !important;
  border-color: rgba(200, 151, 62, 0.35) !important;
}

/* ===================================================================
   5. BOTÕES DA CALCULADORA (ACTIVE / INACTIVE STATES)
   ================================================================== */
.calc-btn-active {
  background-color: #0A2B32 !important;
  color: #FFFFFF !important;
  border-color: #0A2B32 !important;
  box-shadow: 0 4px 14px rgba(10, 43, 50, 0.25) !important;
}

.calc-btn-active span,
.calc-btn-active .btn-title,
.calc-btn-active .btn-sub,
.calc-btn-active .material-symbols-outlined {
  color: #FFFFFF !important;
}

.calc-btn-inactive {
  background-color: #FFFFFF !important;
  color: #0A242B !important;
  border-color: #E2DCD1 !important;
}

.calc-btn-inactive:hover {
  background-color: #FAF8F3 !important;
  border-color: #C8973E !important;
}

/* iOS Tap Animation Utility */
.ios-tap-active:active {
  transform: scale(0.96);
  transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ===================================================================
   6. MODAIS, DRAWERS E LIGHTBOX ANIMATIONS
   ================================================================== */
.modal-backdrop,
.lightbox-backdrop,
.mobile-drawer-backdrop {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active,
.lightbox-backdrop.active,
.mobile-drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container,
.lightbox-image-container {
  transform: scale(0.95);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active .modal-container,
.lightbox-backdrop.active .lightbox-image-container {
  transform: scale(1);
}

/* Drawer Mobile Transition */
.mobile-drawer-panel {
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-backdrop.active .mobile-drawer-panel {
  transform: translateY(0);
}

@media (min-width: 640px) {
  .mobile-drawer-panel {
    transform: translateX(100%);
  }
  .mobile-drawer-backdrop.active .mobile-drawer-panel {
    transform: translateX(0);
  }
}

/* ===================================================================
   7. GLOW & BOTÕES DE ALTA CONVERSÃO
   ================================================================== */
.glow-amber {
  box-shadow: 0 4px 18px rgba(222, 155, 82, 0.35), 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-amber:hover {
  box-shadow: 0 8px 28px rgba(222, 155, 82, 0.55), 0 0 0 2px rgba(255, 221, 185, 0.4);
  transform: translateY(-2px);
}

.glow-amber-lg {
  box-shadow: 0 6px 24px rgba(133, 83, 24, 0.4), 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glow-amber-lg:hover {
  box-shadow: 0 10px 36px rgba(133, 83, 24, 0.6), 0 0 0 3px rgba(251, 184, 113, 0.5);
  transform: translateY(-2px);
}

/* Safe Area Insets for iOS Home Indicator */
.pb-safe {
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
}

/* Scrollbar oculta para carrossel horizontal mantendo funcionalidade de toque e rolagem */
.scrollbar-none {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.scrollbar-none::-webkit-scrollbar {
  display: none;
}
