/* Landing pública — branco / azul, traços finos, bordas arredondadas */
:root {
  --white: #ffffff;
  --bg: #f8fafc;
  --ink: #0f172a;
  --muted: #475569;
  --blue: #1d4ed8;
  --blue-bright: #2563eb;
  --blue-soft: #dbeafe;
  --line: #cbd5e1;
  --line-blue: rgba(37, 99, 235, 0.35);
  --hero-bg: #0f172a;
  --radius: 12px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.5;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  border-radius: 8px;
}
.nav-link:hover { color: var(--blue); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.btn-primary {
  background: var(--blue-bright);
  color: var(--white);
  border-color: var(--blue-bright);
}
.btn-primary:hover { background: var(--blue); border-color: var(--blue); }
.btn-outline {
  background: var(--white);
  color: var(--blue);
  border-color: var(--line-blue);
}
.btn-outline:hover { background: var(--blue-soft); }
.btn-ghost {
  background: transparent;
  color: #e2e8f0;
  border-color: rgba(226, 232, 240, 0.45);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(226, 232, 240, 0.7);
}

.hero {
  position: relative;
  min-height: min(78vh, 640px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: var(--hero-bg);
  border-bottom: 1px solid var(--line);
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-overlay {
  position: relative;
  z-index: 1;
  max-width: 40rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  color: #f1f5f9;
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  letter-spacing: -0.03em;
  color: #93c5fd;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 700;
  margin: 0 0 0.75rem;
  line-height: 1.2;
}

.hero-lead {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: #cbd5e1;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.site-main {
  max-width: 960px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.feature {
  padding: 1.5rem 1.35rem;
  border-right: 1px solid var(--line);
}
.feature:last-child { border-right: 0; }
.feature h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--blue);
}
.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--white);
  padding: 1.25rem 1.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
.site-footer p { margin: 0; }

@media (max-width: 800px) {
  .features {
    grid-template-columns: 1fr;
  }
  .feature {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .feature:last-child { border-bottom: 0; }
}
