/* ─────────────────────────────────────────────────────────────────
   Vektor AI — Design System
   ───────────────────────────────────────────────────────────────── */

:root {
  --navy-900: #0d3a5c;
  --navy-800: #134a72;
  --navy-700: #1a5a8a;
  --blue-400: #5d8baf;
  --blue-300: #8fb1cf;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 32px rgba(13, 58, 92, 0.12);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--slate-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ─────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--slate-100);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--slate-900);
  font-weight: 600;
  font-size: 17px;
}

.brand img { width: 32px; height: 32px; border-radius: 7px; }

.nav { display: flex; gap: 28px; align-items: center; }

.nav a {
  color: var(--slate-700);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.15s;
}

.nav a:hover { color: var(--navy-900); }

/* ─── Hero ───────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 96px 0 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(93, 139, 175, 0.15) 0%, transparent 50%),
                    radial-gradient(circle at 80% 30%, rgba(143, 177, 207, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content { position: relative; }

.hero img.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
}

.hero h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p.tagline {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--blue-300);
  max-width: 620px;
  margin: 0 auto 40px;
  font-weight: 400;
}

.cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--white);
  color: var(--navy-900);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

/* ─── Features ───────────────────────────────────────────────── */
.section { padding: 96px 0; }

.section-title {
  text-align: center;
  margin-bottom: 64px;
}

.section-title .eyebrow {
  display: inline-block;
  color: var(--blue-400);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  margin-bottom: 16px;
}

.section-title p {
  color: var(--slate-500);
  font-size: 17px;
  max-width: 620px;
  margin: 0 auto;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px;
  background: var(--white);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: var(--blue-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--slate-500);
  font-size: 15px;
}

/* ─── CTA Section ────────────────────────────────────────────── */
.cta-section {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
}

.cta-box {
  text-align: center;
  padding: 64px 32px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-lg);
  color: var(--white);
}

.cta-box h2 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 12px;
}

.cta-box p { color: var(--blue-300); margin-bottom: 28px; }

/* ─── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--slate-900);
  color: var(--slate-300);
  padding: 48px 0 32px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 32px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }

.footer-grid a {
  color: var(--slate-300);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-grid a:hover { color: var(--white); }

.footer-brand p { max-width: 320px; color: var(--slate-500); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--slate-500);
}

@media (max-width: 768px) {
  .nav { gap: 16px; }
  .nav a:not(.btn) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 0; }
}

/* ─── Documentos legais (Política/Termos) ────────────────────── */
.doc-hero {
  background: linear-gradient(180deg, var(--slate-50), var(--white));
  padding: 64px 0 32px;
  border-bottom: 1px solid var(--slate-100);
}

.doc-hero .eyebrow {
  color: var(--blue-400);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.doc-hero h1 {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.doc-hero .updated {
  color: var(--slate-500);
  font-size: 14px;
}

.doc-content {
  padding: 48px 0 96px;
  color: var(--slate-700);
  font-size: 16px;
}

.doc-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 48px 0 16px;
  letter-spacing: -0.01em;
}

.doc-content h2:first-child { margin-top: 0; }

.doc-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy-800);
  margin: 32px 0 12px;
}

.doc-content p { margin-bottom: 16px; }
.doc-content ul, .doc-content ol { margin: 16px 0 16px 24px; }
.doc-content li { margin-bottom: 8px; }

.doc-content a { color: var(--navy-700); text-decoration: underline; }
.doc-content a:hover { color: var(--navy-900); }

.doc-content strong { color: var(--slate-900); font-weight: 600; }

.doc-content .callout {
  background: var(--slate-50);
  border-left: 4px solid var(--blue-400);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  color: var(--slate-700);
}

.doc-content .toc {
  background: var(--slate-50);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 48px;
}

.doc-content .toc h2 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin: 0 0 12px 0;
}

.doc-content .toc ol {
  margin: 0;
  font-size: 15px;
}

.doc-content .toc a { text-decoration: none; }
.doc-content .toc a:hover { text-decoration: underline; }
