/* ============================================================
   clic.IA — Design System
   Fonte única de verdade para tokens e componentes.
   Importado por main.css (app) e landing.ejs (landing).
   Para mudar cor, tamanho ou comportamento de botão:
   edite APENAS este arquivo.
   ============================================================ */

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

/* ── TOKENS ─────────────────────────────────────────────────
   Nomenclatura padrão usada em todo o produto.
   landing.ejs usa aliases: --blue → --primary, --purple → --primary-hover
   ---------------------------------------------------------- */
:root {
  /* Cores principais */
  --primary:         #2EC5FF;
  --primary-hover:   #2A7BFF;
  --primary-dim:     rgba(46,197,255,0.12);

  /* Superfícies */
  --bg:              #f5f6fa;
  --surface:         #ffffff;
  --surface-2:       #f1f5f9;

  /* Bordas e texto */
  --border:          #e2e4ea;
  --text:            #1a1d27;
  --text-muted:      #6b7080;
  --text-mid:        #374151;

  /* Semânticas */
  --danger:          #dc2626;
  --success:         #16a34a;

  /* Superfície azulada (cards com destaque primário) */
  --surface-primary: #f0f7ff;
  --border-primary:  rgba(46,197,255,0.25);

  /* Utilitários */
  --radius:          10px;
  --shadow:          0 1px 4px rgba(0,0,0,0.08);
  --shadow-md:       0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg:       0 8px 30px rgba(42,123,255,0.25);
}

/* ── TIPOGRAFIA ─────────────────────────────────────────────
   .section-title — título de seção: igual em todo o app
   .field-label   — label de campo: hierarquia abaixo do título
   ---------------------------------------------------------- */
.section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
}

.field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* ── LINKS DE TEXTO ──────────────────────────────────────────
   Para links inline e de navegação (footer, header, login).
   Não usar em botões — use .btn para isso.
   ---------------------------------------------------------- */
.text-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.text-link:hover { color: var(--primary-hover); }

/* ── BOTÕES ─────────────────────────────────────────────────
   Padrão: fundo azul (#2EC5FF), hover roxo (#2A7BFF).
   Nunca redefinir .btn-primary fora deste arquivo.
   ---------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: none;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}

.btn:disabled { opacity: 0.35; cursor: not-allowed; }

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--surface-2);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover:not(:disabled) {
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}
.btn-danger:hover:not(:disabled) {
  opacity: 0.88;
}

/* Modificadores de tamanho */
.btn-sm   { padding: 6px 14px;  font-size: 13px; }
.btn-lg   { padding: 14px 28px; font-size: 15px; }
.btn-full { width: 100%; text-align: center; }

/* Alias de retrocompatibilidade */
.btn-large { padding: 12px 28px; font-size: 15px; }
