/* ==========================================================================
   ESTILOS GLOBAIS E DESIGN SYSTEM — TREVO STORE
   Identidade: Dark Mode • Streetwear Masculino • Alta Sofisticação Urbana
   Arquivo: styles/trevo-main.css
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIÁVEIS DE SISTEMA E DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Paleta Dark Streetwear Obsidian */
  --bg-pitch: #060608;
  --bg-deep: #0a0a0d;
  --bg-surface: #111116;
  --bg-surface-elevated: #16161d;
  --bg-surface-hover: #1c1c24;
  --bg-card: rgba(17, 17, 22, 0.85);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --bg-card-border-hover: rgba(255, 255, 255, 0.22);
  
  /* Tipografia & Contrastes */
  --font-display: 'Syne', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  --text-white: #ffffff;
  --text-primary: #f4f4f6;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --text-faint: #3f3f46;

  /* Acentos da Marca TREVO STORE */
  --accent-clover: #22c55e;
  --accent-clover-glow: rgba(34, 197, 94, 0.28);
  --accent-white-glow: rgba(255, 255, 255, 0.2);
  --accent-silver: #d4d4d8;
  --accent-urban: #27272a;
  
  /* Identidade Oficial Instagram */
  --color-instagram: #e1306c;
  --grad-instagram: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
  --glow-instagram: rgba(225, 48, 108, 0.35);

  /* Gradientes Dark Streetwear */
  --grad-dark-surface: linear-gradient(180deg, #111116 0%, #0a0a0d 100%);
  --grad-text-metallic: linear-gradient(180deg, #ffffff 20%, #a1a1aa 100%);
  --grad-card-glow: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.06), transparent 70%);

  /* Raios e Formas */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Easing & Animações */
  --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.35, 1);
  --transition-fast: 0.2s var(--ease-smooth);
  --transition-normal: 0.35s var(--ease-spring);
  --transition-slow: 0.6s var(--ease-spring);
}

/* --------------------------------------------------------------------------
   2. RESET E REGRAS GLOBAIS
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  width: 100%;
  height: 100%;
  scroll-behavior: smooth;
  background-color: var(--bg-pitch);
  color: var(--text-primary);
  font-family: var(--font-body);
}

body {
  width: 100%;
  min-height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  background-color: var(--bg-pitch);
  position: relative;
  touch-action: pan-y;
  font-family: var(--font-body);
  line-height: 1.5;
}

/* Custom Scrollbar Minimalista Dark */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #08080a;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Seleção de Texto */
::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Links & Botões */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   3. CANVAS DE FUNDO AMBIENTE DARK STREETWEAR
   -------------------------------------------------------------------------- */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1;
  pointer-events: none;
  opacity: 0.75;
}

/* Ambient Radial Vignette & Dark Glows */
.ambient-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  pointer-events: none;
  background: 
    radial-gradient(circle at 50% 15%, rgba(34, 197, 94, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 85% 75%, rgba(255, 255, 255, 0.02) 0%, transparent 50%),
    radial-gradient(circle at 15% 85%, rgba(34, 197, 94, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at center, transparent 40%, rgba(6, 6, 8, 0.8) 100%);
}
