/* ============================================================
   🎨 ESTILOS GERAIS (GLOBAL)
   Design System & Reset
   ============================================================ */

:root {
  /* 🎨 Paleta de Cores */
  --primary-color: #2563EB;       /* Azul Primário */
  --primary-dark: #1E40AF;        /* Azul Escuro (Hover) */
  --secondary-color: #0F172A;     /* Azul Noturno (Texto/Detalhes) */
  --accent-color: #3B82F6;        /* Azul Destaque */
  
  --background-color: #F8FAFC;    /* Fundo Geral (Slate 50) */
  --surface-color: #FFFFFF;       /* Fundo de Cards/Seções */
  
  --text-color: #334155;          /* Texto Principal (Slate 700) */
  --text-light: #64748B;          /* Texto Secundário (Slate 500) */
  
  --border-color: #E2E8F0;        /* Bordas (Slate 200) */
  
  /* 📐 Espaçamentos e Tamanhos */
  --border-radius: 8px;
  --border-radius-lg: 12px;
  --border-radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-card: 0 4px 12px rgba(0,0,0,0.08);

  /* 🔤 Tipografia */
  --font-family: 'Inter', sans-serif;
}

/* ============================================================
   🛠️ RESET & BASE
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary-color);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================================================
   🧩 COMPONENTES GERAIS
   ============================================================ */

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: #EFF6FF; /* Blue 50 */
}

/* Cards */
.card {
  background-color: var(--surface-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  border: 1px solid var(--border-color);
}

/* Inputs */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select,
textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--secondary-color);
  background-color: var(--surface-color);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Utilitários de Texto */
.text-center { text-align: center; }
.text-primary { color: var(--primary-color); }
.font-bold { font-weight: 700; }
.mb-4 { margin-bottom: 1rem; }
.mt-4 { margin-top: 1rem; }