/* Fonte */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* ===== Design tokens — base neutra + acento kiwi (verde), usado com parcimônia ===== */
:root {
  color-scheme: light;

  /* Superfícies */
  --bg: #f6f6f4;
  --surface: #ffffff;
  --surface-2: #f0f0ec;
  --border: #e6e6e0;
  --border-strong: #d7d7d0;

  /* Texto */
  --text: #1b1b19;
  --text-secondary: #6a6a64;
  --text-muted: #9b9b94;

  /* Acento kiwi */
  --accent: #3f9d52;
  --accent-hover: #368746;
  --accent-soft: #eaf5ec;
  --accent-strong: #2b6b39;

  /* Semânticos */
  --positive: #2f8f4e;
  --negative: #c15236;
  --danger-soft: #fbece7;
  --danger-strong: #9a3b22;

  /* Forma / tipografia */
  --radius: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(20, 20, 18, 0.05);
  --shadow: 0 4px 16px rgba(20, 20, 18, 0.06);
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Dark mode (tokens reais — substituirá o hack de filtro ao reskinar o app) ===== */
body.dark-theme {
  color-scheme: dark;

  --bg: #16171a;
  --surface: #1e2024;
  --surface-2: #24262b;
  --border: #2e3138;
  --border-strong: #3a3e46;

  --text: #eceded;
  --text-secondary: #a9adb4;
  --text-muted: #7b7f87;

  --accent: #55b169;
  --accent-hover: #63bd76;
  --accent-soft: #1e2a22;
  --accent-strong: #9ad9a8;

  --positive: #5bbf77;
  --negative: #e0795e;
  --danger-soft: #3a201a;
  --danger-strong: #f0a892;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

/* Ícones do app são SVG inline (currentColor) e se adaptam ao tema sozinhos.
   Logos coloridos (Kiwi) permanecem como estão no dark mode. */
