/* ==========================================================================
   OKA NATURAL — SISTEMA DE DESIGN & IDENTIDADE VISUAL OFICIAL
   Paleta Oficial:
     - Verde pastel:   #BCD6BB
     - Rosa coral:     #F45C69
     - Amarelo pastel: #FEED93
     - Azul pastel:    #BFE0E9
   ========================================================================== */

:root {
  /* Códigos Oficiais Invioláveis */
  --color-oka-green: #BCD6BB;   /* Verde pastel oficial */
  --color-oka-coral: #F45C69;   /* Rosa coral oficial */
  --color-oka-yellow: #FEED93;  /* Amarelo pastel oficial */
  --color-oka-blue: #BFE0E9;    /* Azul pastel oficial */

  /* Tokens Semânticos Centralizados */
  --color-primary: #F45C69;         /* Rosa coral: Botões de ação prioritários e interações */
  --color-primary-hover: #E04855;
  --color-secondary: #BCD6BB;       /* Verde pastel: Seções institucionais e superfícies */
  --color-secondary-soft: #F2F7F1;
  --color-accent: #FEED93;          /* Amarelo pastel: Selos decorativos e realces */
  --color-support: #BFE0E9;         /* Azul pastel: Seções de apoio e equilíbrio */
  --color-support-soft: #EFF7FA;
  
  --color-background: #FAFBF9;      /* Fundo natural, limpo e acolhedor */
  --color-surface: #FFFFFF;
  --color-surface-soft: #F4F8F4;
  --color-text: #172D26;            /* Neutro escuro com excelente contraste e legibilidade */
  --color-text-muted: #4B6359;
  --color-border: #E2ECE5;
  --color-dark-deep: #132A24;       /* Contrastes pontuais */

  /* Cores Harmoniosas para Barra Superior e Rodapé (Bege Claro & Verde-Oliva Suave) */
  --color-topbar-bg: #EAEFE8;
  --color-topbar-text: #172D26;
  --color-topbar-border: rgba(188, 214, 187, 0.5);

  --color-footer-bg: #EAE7DF;
  --color-footer-surface: #F3EFE6;
  --color-footer-text: #172D26;
  --color-footer-muted: #4B6359;
  --color-footer-border: #D8D4CA;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--color-text);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, .font-display {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

/* Custom smooth scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #F4F8F4;
}
::-webkit-scrollbar-thumb {
  background: #BCD6BB;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #F45C69;
}

/* Glassmorphism Navigation */
.nav-glass {
  background: rgba(250, 251, 249, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(188, 214, 187, 0.35);
}

/* Product Card animations */
.product-card {
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-color: rgba(188, 214, 187, 0.35);
}
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(188, 214, 187, 0.8);
  box-shadow: 0 16px 32px -8px rgba(23, 45, 38, 0.08);
}

.product-image-container {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
  background-color: #F4F8F4;
}

.product-image-container img {
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-container img {
  transform: scale(1.06);
}

/* Category Pill */
.category-pill {
  transition: all 0.2s ease;
  white-space: nowrap;
}
.category-pill.active {
  background-color: #BCD6BB !important;
  color: #172D26 !important;
  border-color: #BCD6BB !important;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(188, 214, 187, 0.45);
}

/* Cart slide drawer */
.cart-drawer {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cart-drawer.open {
  transform: translateX(0);
}

/* Backdrop */
.modal-backdrop {
  transition: opacity 0.3s ease;
}

/* Badges e Etiquetas da Loja */
.badge-gold, .badge-amarelo {
  background-color: #FEED93;
  color: #172D26;
  border: 1px solid rgba(226, 205, 104, 0.7);
  font-weight: 700;
}
.badge-sea, .badge-coral, .badge-destaque {
  background-color: #F45C69;
  color: #FFFFFF;
  font-weight: 700;
}
.badge-green, .badge-verde {
  background-color: #BCD6BB;
  color: #172D26;
  font-weight: 700;
}
.badge-blue, .badge-azul {
  background-color: #BFE0E9;
  color: #172D26;
  font-weight: 700;
}

/* Botão Primário Rosa Coral (#F45C69) */
.btn-primary {
  background-color: #F45C69;
  color: #FFFFFF;
  font-weight: 700;
  transition: all 0.2s ease;
}
.btn-primary:hover {
  background-color: #E04855;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(244, 92, 105, 0.35);
}

/* Toast alert */
.toast-notice {
  animation: slideInDown 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Subtle pulse for announcement bar */
.pulse-subtle {
  animation: pulseSubtle 3s infinite;
}
@keyframes pulseSubtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.02); }
}
