/* Página inicial e de privacidade. Independente do site.css (que fica só para a página de convite /c). */
:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #475569;
  --header: #0f172a;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --ok: #16a34a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, sans-serif;
}

a { color: var(--accent); }

.top {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--header);
  color: #fff;
}
.top a { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand { font-weight: 700; letter-spacing: .5px; }

.wrap { width: calc(100% - 32px); max-width: 1040px; margin: 0 auto; }

/* Destaque */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0 32px;
}
.hero h1 { margin: 0 0 12px; font-size: 36px; line-height: 1.2; }
.hero .sub { margin: 0 0 24px; font-size: 18px; color: var(--muted); }
.hero img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, .12);
}
.note { margin: 10px 0 0; font-size: 14px; color: var(--muted); }

.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
}
.btn:hover { background: var(--accent-dark); }

/* Seções */
section { padding: 32px 0; }
section h2 { margin: 0 0 20px; font-size: 26px; text-align: center; }

.steps, .features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.features { grid-template-columns: repeat(2, 1fr); }

.steps li, .features li {
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.steps .num {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}
.steps h3, .features h3 { margin: 0 0 4px; font-size: 18px; }
.steps p, .features p { margin: 0; color: var(--muted); }

.cta { text-align: center; padding-bottom: 48px; }

/* Texto longo (privacidade) */
.doc {
  max-width: 760px;
  margin: 32px auto 48px;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.doc h1 { margin-top: 0; font-size: 28px; }
.doc h2 { margin: 28px 0 8px; font-size: 20px; }
.doc .updated { color: var(--muted); font-size: 14px; }
.doc ul { margin: 0; padding-left: 22px; }
.doc li { margin-bottom: 8px; }

.foot {
  padding: 24px 20px;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.foot a { margin: 0 8px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .hero h1 { font-size: 28px; }
  .steps, .features { grid-template-columns: 1fr; }
  .doc { padding: 20px; }
}
