/* ====================================
   ARMAZÉM DA LIMPEZA - Stylesheet Principal
   ==================================== */

/* Variáveis CSS - Design Profissional Limpo */
:root {
  /* Cores Principais */
  --azul-escuro: #0A1D4A;   /* fundo */
  --laranja: #fbbf24;       /* laranja nobre - faixa/logo */
  --amarelo: #fbbf24;       /* mantido para compatibilidade */

  /* Cores Auxiliares (tons detectados) */
  --azul-medio: #0F2F6F;
  --azul-logo: #1FA4A7;
  --azul-claro: #2B74D9;
  --branco: #FFFFFF;
  --cinza-azul: #CFE2F0;
  --azul-petrol: #0B2A5B;
  
  /* Mapeamento para compatibilidade */
  --bg: var(--branco);
  --text: var(--azul-escuro);
  --muted: #6b7280;
  --brand: var(--azul-claro);
  --brand-weak: var(--cinza-azul);
  --border: #e5e7eb;
  --card: var(--branco);
  --shadow: 0 10px 30px rgba(10, 29, 74, .08);
  --radius: 18px;
  
  /* Cores principais mapeadas */
  --primary-blue: var(--azul-escuro);
  --primary-cyan: var(--azul-logo);
  --primary-yellow: var(--laranja);
  --white: var(--branco);
  
  /* Cores complementares */
  --accent-success: #10b981;
  --accent-warning: #f59e0b;
  --accent-danger: #dc2626;
  
  /* Gradientes modernos */
  --gradient-brand: linear-gradient(135deg, var(--azul-claro), var(--azul-logo));
  --gradient-primary: linear-gradient(135deg, var(--azul-claro), var(--azul-medio));
  
  /* Sistema de Sombras Profissional */
  --shadow-card: 0 10px 30px rgba(10, 29, 74, .08);
  --shadow-hover: 0 16px 36px rgba(10, 29, 74, .12);
  --shadow-brand: 0 12px 26px rgba(43, 116, 217, .28);
  --shadow-drawer: -20px 0 50px rgba(10, 29, 74, .12);
  --shadow-modal: 0 25px 50px rgba(10, 29, 74, .15);
  
  /* Tipografia */
  --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  
  /* Espaçamentos */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 5rem;
  --spacing-5xl: 6rem;
  
  /* Bordas Orgânicas - Clean Modern */
  --radius-organic-sm: 0.375rem;
  --radius-organic-md: 0.75rem;
  --radius-organic-lg: 1rem;
  --radius-organic-xl: 1.5rem;
  --radius-organic-2xl: 2rem;
  --radius-organic-3xl: 2.5rem;
  --radius-pill: 50rem;
  --radius-circle: 50%;
  
  /* Transições */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset e Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  scroll-behavior: smooth;
}

body {
  font: 500 16px/1.6 Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--azul-escuro);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  box-sizing: border-box;
}


/* Tipografia Profissional */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--azul-escuro);
  margin: 0;
}

* {
  box-sizing: border-box;
}

a {
  color: inherit;
  text-decoration: none;
}

h1 { 
  font-size: clamp(2rem, 4vw, 3rem); 
  font-weight: 700;
  letter-spacing: -0.025em;
}
h2 { 
  font-size: clamp(1.75rem, 3.5vw, 2.5rem); 
  font-weight: 600;
  letter-spacing: -0.025em;
}
h3 { 
  font-size: clamp(1.5rem, 3vw, 2rem); 
  font-weight: 700;
}
h4 { 
  font-size: clamp(1.25rem, 2.5vw, 1.75rem); 
  font-weight: 600;
}
h5 { 
  font-size: clamp(1.125rem, 2vw, 1.5rem); 
  font-weight: 600;
}
h6 { 
  font-size: clamp(1rem, 1.5vw, 1.25rem); 
  font-weight: 600;
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
}

p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--azul-escuro);
}

a {
  color: var(--azul-logo);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--azul-claro);
}

/* Container */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container--narrow {
  max-width: 900px;
}

.container--wide {
  max-width: 1600px;
}

.container--full {
  max-width: none;
  padding: 0;
}

@media (min-width: 640px) {
  .container { padding: 0 var(--spacing-lg); }
}

@media (min-width: 1024px) {
  .container { padding: 0 var(--spacing-xl); }
}

  animation: whatsapp-pulse 1s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .card, .media img, .drawer {
    transition: none !important;
  }
}
}

/* Estilos para fallback de imagens */
.product-card__image .fallback-icon {
  font-size: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--muted);
}
