/* Entre Sets — shared styles for the static public pages
   (privacy, terms, support, about). Served straight from Firebase Hosting,
   independent of the Flutter web app. */

:root {
  --bg: #101010;
  --surface: #1a1a1a;
  --surface-2: #222222;
  --border: #2e2e2e;
  --text: #f2f2f2;
  --muted: #a6a6a6;
  --neon: #ccff00;
  --blue: #2979ff;
  --radius: 16px;
  --maxw: 780px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--neon); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header ---------- */

header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(16, 16, 16, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 19px;
}

.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.brand .dot { color: var(--neon); }

nav.site a {
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  margin-left: 18px;
}

nav.site a:hover { color: var(--neon); text-decoration: none; }

/* ---------- page content ---------- */

main { padding: 40px 0 24px; }

h1 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 0 0 8px;
}

h2 {
  font-size: 21px;
  letter-spacing: -0.01em;
  margin: 40px 0 10px;
  padding-top: 4px;
}

h3 { font-size: 17px; margin: 26px 0 6px; }

p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

strong { color: #fff; }

.updated {
  color: var(--muted);
  font-size: 15px;
  margin-bottom: 32px;
}

.lead {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 28px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin: 20px 0;
}

.card h3 { margin-top: 0; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin: 24px 0;
}

.grid .card { margin: 0; }

.tag {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 999px;
  padding: 3px 12px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 6px 8px 0;
}

.btn {
  display: inline-block;
  background: var(--neon);
  color: #101010;
  font-weight: 700;
  border-radius: 999px;
  padding: 12px 24px;
  margin: 6px 8px 6px 0;
}

.btn:hover { text-decoration: none; opacity: 0.9; }

.btn.ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

hr {
  border: 0;
  border-top: 1px solid var(--border);
  margin: 36px 0;
}

/* ---------- hero (about page) ---------- */

.hero {
  padding: 64px 0 8px;
  text-align: center;
}

.hero h1 { font-size: 44px; }

.hero p.tagline {
  font-size: 21px;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 26px;
}

.hero .neon { color: var(--neon); }

/* ---------- footer ---------- */

footer.site {
  border-top: 1px solid var(--border);
  margin-top: 48px;
  padding: 28px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

footer.site a { color: var(--muted); font-weight: 600; }
footer.site a:hover { color: var(--neon); }
footer.site .links { margin-bottom: 10px; }
footer.site .links a { margin-right: 16px; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .hero { padding-top: 40px; }
  .hero h1 { font-size: 34px; }
  .hero p.tagline { font-size: 18px; }
  nav.site a { margin-left: 0; margin-right: 16px; }
}

/* ---------- guias em vídeo (guia/*) ----------
   Segue a linguagem visual do aplicativo: fundo quase preto, cartões
   levemente mais claros, acento neon, botões em pílula e o verde escuro
   da tela de entrada no topo. */

.guia-hero {
  text-align: center;
  padding: 40px 0 28px;
  background:
    radial-gradient(115% 85% at 50% 0%, #133c1e 0%, rgba(16, 16, 16, 0) 72%);
  border-bottom: 1px solid var(--border);
}

.guia-hero img.logo {
  width: 168px;
  max-width: 52%;
  height: auto;
  display: block;
  margin: 0 auto 4px;
}

.guia-hero h1 { font-size: 32px; margin: 0 0 10px; }

.guia-hero p.tagline {
  font-size: 18px;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 18px;
}

.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(204, 255, 0, 0.10);
  border: 1px solid rgba(204, 255, 0, 0.35);
  color: var(--neon);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 700;
}

.chip.neutro {
  background: var(--surface-2);
  border-color: var(--border);
  color: var(--muted);
}

/* ---- passos ---- */

ol.passos { list-style: none; padding: 0; margin: 36px 0 0; counter-reset: passo; }

li.passo { counter-increment: passo; margin: 0 0 34px; }

li.passo > h2 {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 23px;
  margin: 0 0 6px;
  padding-top: 0;
}

li.passo > h2::before {
  content: counter(passo);
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--neon);
  color: #101010;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
}

li.passo > p.sub { color: var(--muted); margin: 0 0 16px; }
.corpo { margin-left: 44px; }

/* ---- alternativas dentro de um passo (Google/Apple ou e-mail) ---- */

.opcoes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(268px, 1fr));
  gap: 16px;
  margin-top: 4px;
}

.opcao {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 20px;
}

.opcao.destaque { border-color: rgba(204, 255, 0, 0.40); }
.opcao h3 { margin: 0 0 4px; font-size: 18px; }
.opcao > p { color: var(--muted); font-size: 15.5px; }

.ou {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 4px 0;
}

/* ---- vídeo (gravação de celular, 1080x2340) ---- */

.video {
  position: relative;
  aspect-ratio: 1080 / 2340;
  width: 100%;
  max-width: 296px;
  margin: 16px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  border: 1px solid var(--border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.55);
}

.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Vídeo gravado na horizontal, se algum dia houver. */
.video.horizontal { aspect-ratio: 16 / 9; max-width: 100%; }

/* ---- roteiro escrito ---- */

ol.roteiro { margin: 16px 0 0; padding-left: 20px; }
ol.roteiro li { margin-bottom: 9px; }
ol.roteiro li::marker { color: var(--neon); font-weight: 700; }

/* Referência a um elemento da interface: "toque em <span class="ui">Sou eu</span>" */
.ui {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 1px 7px;
  font-size: 0.92em;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.ui.neon { background: rgba(204, 255, 0, 0.12); border-color: rgba(204, 255, 0, 0.4); color: var(--neon); }

.dica {
  border-left: 3px solid var(--neon);
  background: var(--surface-2);
  border-radius: 0 12px 12px 0;
  padding: 12px 16px;
  margin: 18px 0 0;
  font-size: 15.5px;
  color: var(--muted);
}

.dica b { color: #fff; }
.dica.atencao { border-left-color: #ff9800; }

ul.checklist { list-style: none; padding: 0; margin: 14px 0 0; }
ul.checklist li { position: relative; padding-left: 26px; margin-bottom: 8px; }
ul.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  color: var(--neon);
  font-weight: 800;
}

/* ---- assinatura da marca no fim do conteúdo ---- */

.assinatura {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 40px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.assinatura img { width: 34px; height: 34px; }

@media (max-width: 520px) {
  .guia-hero { padding-top: 28px; }
  .guia-hero h1 { font-size: 26px; }
  .guia-hero p.tagline { font-size: 16.5px; }
  li.passo > h2 { font-size: 20px; gap: 10px; }
  li.passo > h2::before { flex-basis: 28px; width: 28px; height: 28px; font-size: 15px; }
  .corpo { margin-left: 0; }
  .opcao { padding: 16px; }
}

/* ---------- lista de plataformas (onde usar) ----------
   Marcadores por plataforma, em vez de reusar .checklist: a lista diz onde o
   app roda, não o que já está pronto. */

ul.plataformas { list-style: none; padding: 0; margin: 4px 0 0; }

ul.plataformas li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  line-height: 1.55;
}

ul.plataformas li:last-child { margin-bottom: 0; }

ul.plataformas li::before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 17px;
  line-height: 1.55;
}

ul.plataformas li.android::before { content: "🤖"; }
ul.plataformas li.ios::before { content: "📱"; }
ul.plataformas li.agora::before { content: "🌐"; }

ul.plataformas li.android b,
ul.plataformas li.ios b { color: var(--neon); }
ul.plataformas li.agora b { color: var(--text); }
