/* Site do Conexão — mesmos tokens do launcher e do painel (verde-lima, preto e branco) */
:root {
  color-scheme: dark;
  --lime: #b7fe00;
  --lime-hi: #cbff4a;
  --lime-soft: rgba(183, 254, 0, 0.1);
  --lime-line: rgba(183, 254, 0, 0.38);
  --white: #f2f6ef;
  --bg: #0a0f11;
  --bg-soft: #0e1518;
  --card: #131c1f;
  --hover: #1a2629;
  --line: #213034;
  --line-strong: #2d4146;
  --text: var(--white);
  --text-dim: #a3b1ad;
  --text-faint: #6a7a76;
  --ink: #0a0f11;
  --font-display: 'Fredoka', 'Inter', system-ui, sans-serif;
  --font-pixel: 'Silkscreen', 'Inter', monospace;
  --radius: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(1000px 460px at 70% -120px, rgba(183, 254, 0, 0.12), transparent 70%),
    linear-gradient(rgba(183, 254, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(183, 254, 0, 0.03) 1px, transparent 1px);
  background-size: auto, 44px 44px, 44px 44px;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--lime); color: var(--ink); }
a { color: var(--lime); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.12; margin: 0; }
h2 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 28px; }
h3 { font-size: 20px; margin-bottom: 6px; }
p { margin: 0; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.estreito { max-width: 820px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--lime); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }

/* Botões */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid transparent;
  font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: transform .12s ease, background-color .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lime { background: var(--lime); color: var(--ink); box-shadow: 0 0 0 1px rgba(183, 254, 0, .45), 0 10px 30px rgba(183, 254, 0, .18); }
.btn-lime:hover { background: var(--lime-hi); box-shadow: 0 0 0 1px rgba(183, 254, 0, .6), 0 12px 36px rgba(183, 254, 0, .3); }
.btn-ghost { background: var(--card); color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { background: var(--hover); border-color: var(--lime-line); }
.btn-sm { height: 36px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn-lg { height: 54px; padding: 0 26px; font-size: 17px; border-radius: 14px; }

/* Rótulo em pixel, como no launcher */
.rotulo {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px;
  font-family: var(--font-pixel); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--lime);
}
.pix { width: 10px; height: 10px; background: var(--lime); box-shadow: 4px -4px 0 -2px var(--lime); }

/* Topo */
.topo {
  position: sticky; top: 0; z-index: 20;
  background: rgba(10, 15, 17, .82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topo-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.marca { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.marca-nome { width: 92px; }
.menu { display: flex; gap: 24px; margin-left: auto; }
.menu a { color: var(--text-dim); text-decoration: none; font-weight: 600; font-size: 14px; }
.menu a:hover { color: var(--text); }

/* Hero */
.hero { padding: 72px 0 88px; }
.hero-in { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); letter-spacing: -.01em; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.lead { font-size: 18px; color: var(--text-dim); max-width: 540px; }
.lead strong { color: var(--text); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.meta { margin-top: 14px; font-size: 14px; color: var(--text-faint); }
.aviso-so {
  margin-top: 14px; padding: 10px 14px; border-radius: 10px; font-size: 14px; max-width: 520px;
  background: rgba(255, 201, 74, .1); border: 1px solid rgba(255, 201, 74, .35); color: #ffc94a;
}

/* Janela do launcher com cantoneiras */
.janela { position: relative; margin: 0; padding: 10px; }
.janela img {
  border-radius: 14px; border: 1px solid var(--line-strong);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 80px rgba(183, 254, 0, .1);
}
.canto { position: absolute; width: 26px; height: 26px; border: 3px solid var(--lime); }
.c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

/* Seções */
.secao { padding: 80px 0; border-top: 1px solid var(--line); }

.passos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.passos li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.passos p, .card p { color: var(--text-dim); font-size: 15px; }
.passos strong { color: var(--text); }
.num {
  display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px;
  border-radius: 10px; background: var(--lime); color: var(--ink);
  font-family: var(--font-pixel); font-size: 18px;
}

.grade { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px;
  transition: border-color .15s ease, transform .15s ease;
}
.card:hover { border-color: var(--lime-line); transform: translateY(-2px); }
.ico {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 18px; border-radius: 12px;
  fill: var(--lime); background: var(--lime-soft); border: 1px solid var(--lime-line);
}

.parceiro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.parceiro h2 { margin-bottom: 16px; }
.parceiro-texto > p:not(.rotulo) { color: var(--text-dim); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before {
  content: ''; position: absolute; left: 0; top: 5px; width: 18px; height: 18px; border-radius: 6px;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230a0f11' d='M9.5 16.2 5.3 12l-1.4 1.4 5.6 5.6L21 7.5l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.faq { display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 14px; }
.faq details[open] { border-color: var(--lime-line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-weight: 700; font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 22px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-pixel); font-size: 20px; color: var(--lime);
}
.faq details[open] summary::after { content: '−'; }
.faq details p { padding: 0 22px 20px; color: var(--text-dim); }
.faq details strong { color: var(--text); }

.final {
  padding: 110px 0; text-align: center; border-top: 1px solid var(--line);
  background:
    linear-gradient(rgba(10, 15, 17, .88), rgba(10, 15, 17, .95)),
    url('/assets/og.jpg') center / cover no-repeat;
}
.final h2 { font-size: clamp(36px, 6vw, 60px); color: var(--lime); margin-bottom: 10px; text-transform: uppercase; }
.final p { color: var(--text-dim); font-size: 18px; margin-bottom: 30px; }

.rodape { border-top: 1px solid var(--line); padding: 36px 0 44px; }
.rodape-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.rodape-marca { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 20px; margin-left: auto; }
.rodape nav a { color: var(--text-dim); text-decoration: none; font-size: 14px; }
.rodape nav a:hover { color: var(--text); }
.legal { width: 100%; font-size: 13px; color: var(--text-faint); }

/* Aviso depois de clicar em Baixar */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50;
  width: min(560px, calc(100% - 32px)); padding: 16px 48px 16px 18px; border-radius: 14px;
  background: var(--card); border: 1px solid var(--lime-line); box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  display: grid; gap: 4px; font-size: 14px; color: var(--text-dim);
}
.toast[hidden] { display: none; }
.toast strong { color: var(--lime); font-size: 15px; }
.toast em { font-style: normal; color: var(--text); font-weight: 600; }
.toast-x {
  position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; border-radius: 8px;
  background: transparent; color: var(--text-dim); font-size: 22px; line-height: 1; cursor: pointer;
}
.toast-x:hover { background: var(--hover); color: var(--text); }

/* Página 404 */
.erro { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 20px; }
.erro h1 { font-size: 44px; margin: 18px 0 10px; }
.erro p { color: var(--text-dim); margin-bottom: 26px; }
.erro img { margin: 0 auto; }

/* Responsivo */
@media (max-width: 960px) {
  .hero { padding: 48px 0 64px; }
  .hero-in, .parceiro { grid-template-columns: 1fr; gap: 40px; }
  .grade { grid-template-columns: repeat(2, 1fr); }
  .passos { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .menu { display: none; }
  .topo-in { justify-content: space-between; }
  .grade { grid-template-columns: 1fr; }
  .secao { padding: 60px 0; }
  .wrap { padding: 0 16px; }
  .btn-lg { width: 100%; }
  .rodape nav { margin-left: 0; }
}
