/**
 * Theme CSS - Landing Page Pretinho
 * Variáveis de tema extraídas do sistema principal
 * Suporte a Dark Mode via classe .dark
 */

/* ===== FONTES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ===== VARIÁVEIS CSS - LIGHT MODE (padrão) ===== */
:root {
  /* Fontes */
  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Inter", var(--font-sans);

  /* Cores Primárias - Verde Pretinho */
  --color-primary: #78BF8A;
  --color-primary-hover: #5FA872;
  --color-primary-light: #99F2AF;
  --color-primary-dark: #4A8F5C;

  /* Cores de Destaque - Verde Pretinho */
  --color-accent: #99F2AF;
  --color-accent-hover: #78BF8A;
  --color-accent-light: #B8F5C5;
  --color-accent-dark: #78BF8A;

  /* Cores de Estado */
  --color-success: #99F2AF;
  --color-success-hover: #78BF8A;
  --color-success-light: #B8F5C5;
  --color-success-dark: #78BF8A;
  --color-warning: #f59e0b;
  --color-warning-hover: #d97706;
  --color-error: #ef4444;
  --color-error-hover: #dc2626;
  --color-info: #3b82f6;
  --color-info-hover: #2563eb;

  /* Cores de Superfície - Light Mode */
  --color-background: #fafafa;
  --color-surface: #ffffff;
  --color-surface-elevated: #ffffff;
  --color-muted: #f4f4f5;

  /* Cores de Texto - Light Mode */
  --color-foreground: #18181b;
  --color-foreground-muted: #71717a;
  --color-foreground-subtle: #a1a1aa;

  /* Bordas */
  --color-border: #e4e4e7;
  --color-border-muted: #f4f4f5;

  /* Sombras */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* Espaçamentos */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Transições */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
}

/* ===== DARK MODE ===== */
.dark {
  /* Cores de Superfície - Dark Mode */
  --color-background: #09090b;
  --color-surface: #18181b;
  --color-surface-elevated: #27272a;
  --color-muted: #27272a;

  /* Cores de Texto - Dark Mode */
  --color-foreground: #fafafa;
  --color-foreground-muted: #a1a1aa;
  --color-foreground-subtle: #71717a;

  /* Bordas - Dark Mode */
  --color-border: #3f3f46;
  --color-border-muted: #27272a;

  /* Cores Primárias - Verde Pretinho (melhor contraste no dark) */
  --color-primary: #99F2AF;
  --color-primary-hover: #B8F5C5;
  --color-primary-light: #78BF8A;

  /* Cores de Destaque/Sucesso - Verde Pretinho (melhor contraste no dark) */
  --color-accent: #99F2AF;
  --color-accent-hover: #78BF8A;
  --color-success: #99F2AF;
  --color-success-hover: #78BF8A;

  /* Sombras mais sutis no dark mode */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.4), 0 1px 2px -1px rgb(0 0 0 / 0.4);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.4), 0 2px 4px -2px rgb(0 0 0 / 0.4);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4), 0 4px 6px -4px rgb(0 0 0 / 0.4);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.5), 0 8px 10px -6px rgb(0 0 0 / 0.5);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.5);
}

/* ===== RESET BÁSICO ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem; /* Compensar header fixo */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-foreground);
  background-color: var(--color-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* ===== TRANSIÇÃO SUAVE PARA TEMA ===== */
.theme-transitioning,
.theme-transitioning *,
.theme-transitioning *::before,
.theme-transitioning *::after {
  transition: none !important;
}
