/* ==========================================================================
   GROWTH AI OS — DESIGN SYSTEM & ESTILOS RESPONSIVOS (Reconstrução V3)
   Paleta Dark Enterprise + Acentos Neon Emerald (#00F5A0) & Electric Cyan (#00D9F5)
   ========================================================================== */

:root {
  --bg-deep: #07090e;
  --bg-surface: #0d111a;
  --bg-card: #121824;
  --bg-card-hover: #172030;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(0, 245, 160, 0.35);
  --brand-primary: #00f5a0;
  --brand-accent: #00d9f5;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --danger: #f43f5e;
  --warning: #f59e0b;
  --success: #10b981;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-glow: 0 0 35px rgba(0, 245, 160, 0.14);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

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

/* Utilitários de Layout */
.container {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 245, 160, 0.1);
  color: var(--brand-primary);
  border: 1px solid rgba(0, 245, 160, 0.28);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: #04070b;
  font-weight: 700;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--brand-primary);
  background: rgba(0, 245, 160, 0.06);
}

.btn-sm {
  padding: 7px 13px;
  font-size: 0.82rem;
}

/* Navbar Pública */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 9, 14, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  cursor: pointer;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  box-shadow: 0 0 12px var(--brand-primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.15s;
  background: none;
  border: none;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-primary);
}

/* Hero Section */
.hero-section {
  padding: 84px 0 64px;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 245, 160, 0.11), transparent 40%),
    radial-gradient(circle at 80% 20%, rgba(0, 217, 245, 0.09), transparent 40%);
  border-bottom: 1px solid var(--border-subtle);
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.7rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  max-width: 960px;
  margin: 20px 0;
}

.text-gradient {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin-bottom: 28px;
}

.thesis-callout {
  background: linear-gradient(135deg, rgba(18, 24, 36, 0.95), rgba(13, 17, 26, 0.95));
  border: 1px solid var(--border-highlight);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 32px 0;
}

/* Grid e Cards */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 22px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: rgba(0, 245, 160, 0.3);
}

.section-block {
  padding: 72px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.section-title {
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

/* Formulários e Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-input, .form-select, .form-textarea {
  background: #090d14;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font-size: 0.92rem;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--brand-primary);
}

/* Layout do Sistema Operacional Autenticado (Growth AI OS App) */
.os-shell {
  display: grid;
  grid-template-columns: 265px 1fr;
  min-height: calc(100vh - 74px);
}

.os-sidebar {
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.os-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  margin-bottom: 4px;
}

.os-nav-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.os-nav-item.active {
  background: rgba(0, 245, 160, 0.12);
  color: var(--brand-primary);
  border-color: rgba(0, 245, 160, 0.3);
  font-weight: 700;
}

.os-main {
  padding: 28px;
  overflow-x: auto;
}

/* Tabelas e Kanban */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.data-table th, .data-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
}

.data-table th {
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.05em;
}

.score-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(0, 245, 160, 0.15);
  color: var(--brand-primary);
}

/* Notificação Toast */
.toast-banner {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: #111927;
  border: 1px solid var(--brand-primary);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glow);
  max-width: 420px;
  font-size: 0.9rem;
}

/* Rodapé */
.site-footer {
  background: #05070b;
  padding: 56px 0 36px;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.88rem;
}

@media (max-width: 900px) {
  .os-shell {
    grid-template-columns: 1fr;
  }
  .os-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .header-inner {
    height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

