/* NexaSGE - site institucional */
:root {
  --bg: #070b18;
  --bg-soft: #10162b;
  --card: rgba(17, 24, 44, .76);
  --card-strong: rgba(20, 29, 56, .94);
  --line: rgba(139, 92, 246, .26);
  --text: #eef3ff;
  --muted: #aeb8d8;
  --primary: #8b5cf6;
  --primary-2: #22d3ee;
  --accent: #f2c94c;
  --success: #34d399;
  --danger: #fb7185;
  --shadow: 0 22px 60px rgba(0,0,0,.38);
  --radius: 22px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(139,92,246,.30), transparent 34%),
    radial-gradient(circle at 82% 12%, rgba(34,211,238,.16), transparent 30%),
    linear-gradient(180deg, #070b18 0%, #091126 52%, #050814 100%);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(7, 11, 24, .75);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.brand img { height: 44px; width: auto; display: block; }
.brand-mini img { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: 14px; }
.nav-links a:hover { color: #fff; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 12px 18px; border-radius: 999px; font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #4f46e5 55%, var(--primary-2));
  color: white; border: 1px solid rgba(255,255,255,.14); box-shadow: 0 16px 40px rgba(139,92,246,.30);
  transition: transform .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 50px rgba(139,92,246,.42); }
.btn.secondary { background: rgba(255,255,255,.06); box-shadow: none; color: var(--text); }
.btn.small { min-height: 38px; padding: 9px 14px; font-size: 14px; }
.hero {
  position: relative;
  padding: 86px 0 64px;
  overflow: hidden;
}
.hero:before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .30;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black, transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px;
  background: rgba(139,92,246,.12); border: 1px solid rgba(139,92,246,.28); color: #d9ccff; font-weight: 700; font-size: 13px;
}
h1 { margin: 18px 0 16px; font-size: clamp(38px, 5vw, 68px); line-height: .98; letter-spacing: -2px; }
.gradient { background: linear-gradient(135deg, #fff, #c4b5fd 46%, #22d3ee); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 21px); color: var(--muted); line-height: 1.65; max-width: 650px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-card {
  position: relative;
  border: 1px solid rgba(255,255,255,.10); border-radius: 30px; padding: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.035)); box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-card:after { content: ""; position: absolute; inset: auto -80px -80px auto; width: 240px; height: 240px; border-radius: 999px; background: rgba(34,211,238,.20); filter: blur(40px); }
.mock-window { position: relative; z-index: 2; border: 1px solid rgba(255,255,255,.12); border-radius: 24px; overflow: hidden; background: #0b1020; box-shadow: 0 28px 80px rgba(0,0,0,.46); }
.window-top { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ef4444; }
.dot:nth-child(2){ background:#f59e0b; } .dot:nth-child(3){ background:#22c55e; }
.dashboard { display: grid; grid-template-columns: 118px 1fr; min-height: 350px; }
.sidebar { background: rgba(255,255,255,.03); border-right: 1px solid rgba(255,255,255,.08); padding: 14px; }
.logo-small { height: 42px; width: auto; margin-bottom: 14px; }
.menu-item { height: 30px; border-radius: 10px; background: rgba(255,255,255,.045); margin-bottom: 9px; }
.menu-item.active { background: linear-gradient(135deg, rgba(139,92,246,.8), rgba(34,211,238,.45)); }
.panel { padding: 18px; }
.panel h3 { margin: 0 0 14px; font-size: 22px; }
.kpis { display:grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.045); }
.kpi strong { display:block; font-size: 24px; margin-top: 6px; }
.fake-table { border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; }
.fake-row { display:grid; grid-template-columns: 1.4fr 1fr .7fr; gap: 10px; padding: 12px 14px; border-bottom: 1px solid rgba(255,255,255,.07); color: var(--muted); font-size: 13px; }
.fake-row:first-child { color:#fff; background: rgba(139,92,246,.18); font-weight: 800; }
.fake-row:last-child { border-bottom: 0; }
.section { padding: 72px 0; }
.section h2 { font-size: clamp(30px, 4vw, 46px); margin: 0 0 14px; letter-spacing: -1px; }
.section-intro { color: var(--muted); line-height: 1.65; font-size: 18px; max-width: 760px; }
.cards { display:grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 32px; }
.card { border:1px solid rgba(255,255,255,.10); border-radius: var(--radius); padding: 24px; background: var(--card); box-shadow: 0 18px 60px rgba(0,0,0,.22); }
.card .icon { width: 46px; height: 46px; display:flex; align-items:center; justify-content:center; border-radius: 16px; margin-bottom: 16px; background: linear-gradient(135deg, rgba(139,92,246,.32), rgba(34,211,238,.20)); border: 1px solid rgba(255,255,255,.10); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }
.split { display:grid; grid-template-columns: .9fr 1.1fr; gap: 32px; align-items: start; }
.info-box { background: var(--card-strong); border: 1px solid rgba(255,255,255,.10); border-radius: 28px; padding: 28px; }
ul.clean { padding: 0; margin: 20px 0 0; list-style: none; }
ul.clean li { display:flex; gap: 10px; margin: 12px 0; color: var(--muted); line-height: 1.5; }
ul.clean li:before { content: "✓"; color: var(--success); font-weight: 900; }
.cta { text-align:center; border: 1px solid rgba(255,255,255,.10); border-radius: 34px; padding: 44px; background: radial-gradient(circle at 50% 0%, rgba(139,92,246,.28), transparent 45%), rgba(255,255,255,.045); box-shadow: var(--shadow); }
.footer { padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); }
.footer-grid { display:flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.footer-links { display:flex; gap: 16px; flex-wrap: wrap; }
.legal-page { padding: 48px 0 72px; }
.legal-card { background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.10); border-radius: 28px; padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.legal-card h1 { font-size: clamp(32px, 4vw, 52px); line-height: 1.05; }
.legal-card h2 { margin-top: 32px; font-size: 24px; }
.legal-card p, .legal-card li { color: var(--muted); line-height: 1.75; }
.legal-card a { color: #bfdbfe; text-decoration: underline; }
.notice { padding: 14px 16px; border-radius: 16px; background: rgba(242,201,76,.12); border: 1px solid rgba(242,201,76,.26); color: #ffe9a8; }
@media (max-width: 900px) {
  .nav-links { display:none; }
  .hero-grid, .split { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .dashboard { grid-template-columns: 92px 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 28px, 1160px); }
  .brand img { height: 36px; }
  .hero-card { padding: 14px; border-radius: 22px; }
  .dashboard { min-height: 310px; }
  .sidebar { display:none; }
  .dashboard { grid-template-columns: 1fr; }
  .fake-row { grid-template-columns: 1fr; }
  .cta { padding: 28px; }
}
