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

:root {
  color-scheme: light;
  /* Brand */
  --brand-900: #1A3C5E;
  --brand-800: #1E4B74;
  --brand-700: #2E6A93;
  --brand-600: #3A7CA5;
  --brand-500: #4A8FB8;
  /* Accent */
  --accent-500: #00D1FF;
  --accent-700: #0086AA;
  /* Neutros */
  --gray-50: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1E293B;
  --gray-900: #0F172A;
  /* Estado */
  --success: #16A34A;
  --warning: #F59E0B;
  --danger: #DC2626;
  /* Semânticos */
  --bg: var(--gray-50);
  --surface: #FFFFFF;
  --surface-2: var(--gray-100);
  --text: var(--gray-900);
  --muted: var(--gray-600);
  --border: var(--gray-200);
  --shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  --radius: 12px;
  /* Tipografia */
  --text-2xs: 11px;
  --text-xs: 12px;
  --text-sm: 14px;
  --text-md: 16px;
  --text-lg: 18px;
  --text-xl: 22px;
  --line-height-tight: 1.25;
  --line-height-normal: 1.55;
  --line-height-relaxed: 1.7;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  /* Raios */
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  /* Espaços */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-7: 32px;
  --space-8: 40px;
  /* Sombras */
  --shadow-soft: 0 6px 18px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.14);
  --shadow-sm: var(--shadow-soft);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.16);
  /* Motion */
  --t-fast: 150ms;
  --t-med: 240ms;
  --ease: cubic-bezier(.2,.8,.2,1);
  --transition-fast: var(--t-fast) var(--ease);
  --transition-base: var(--t-med) var(--ease);
  /* Layout */
  --container-max: 1280px;
  /* Aliases */
  --color-base: var(--brand-900);
  --color-depth: var(--brand-600);
  --color-cta: var(--accent-500);
  --color-text: var(--text);
  --color-bg: var(--bg);
  --color-card: var(--surface);
  --color-border: var(--border);
  --color-muted: var(--muted);
  --color-focus: rgba(0, 209, 255, 0.45);
  --color-shadow: rgba(26, 60, 94, 0.12);
  --card: var(--surface);
  --primary: var(--brand-900);
  --primary-light: rgba(0, 209, 255, 0.18);
  --primary-dark: var(--brand-800);
  --dark: var(--gray-900);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  font-size: var(--text-md);
  line-height: var(--line-height-normal);
  color: var(--text);
  background: var(--bg);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), transform var(--t-fast) var(--ease);
}

input,
select,
textarea {
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  padding: 10px 12px;
  transition: background-color var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 209, 255, 0.65);
  box-shadow: 0 0 0 3px rgba(0, 209, 255, 0.18);
  outline: none;
}

:focus-visible {
  outline: 3px solid rgba(0, 209, 255, 0.45);
  outline-offset: 2px;
}

::selection {
  background: rgba(0, 209, 255, 0.2);
}
