/* Página de instalação. Arquivo separado porque a CSP do site é
   `style-src 'self'` — <style> inline é bloqueado pelo navegador. */

:root {
  --bg: #0d141a;
  --card: #141b22;
  --line: rgba(0, 230, 118, 0.22);
  --green: #00e676;
  --txt: #fff;
  --mut: rgba(255, 255, 255, 0.72);
}

* { box-sizing: border-box; }

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

.wrap { max-width: 780px; margin: 0 auto; padding: 28px 20px 64px; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 30px; flex-wrap: wrap;
}
.logo { height: 34px; width: auto; }

h1 { font-size: 32px; line-height: 1.2; margin: 0 0 10px; font-weight: 800; }
h2 { font-size: 19px; margin: 0 0 8px; font-weight: 700; color: #fff; }
.lead { color: var(--mut); margin: 0 0 30px; font-size: 17px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: 100px; padding: 16px 28px; font-weight: 800;
  text-decoration: none; font-size: 16px; transition: .25s;
}
.btn--dl {
  background: var(--green); color: #06240f; width: 100%;
  box-shadow: 0 12px 28px rgba(0, 230, 118, .28);
}
.btn--dl:hover { background: #00ff84; transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--line); color: #fff; padding: 11px 22px; font-size: 14px; }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }

.dl {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 16px; padding: 24px; margin: 0 0 40px; text-align: center;
}
.dl small { display: block; color: var(--mut); font-size: 13px; margin-top: 12px; }

/* passos */
ol.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
ol.steps > li {
  counter-increment: s; position: relative;
  padding: 0 0 34px 60px; border-left: 2px solid var(--line); margin-left: 18px;
}
ol.steps > li:last-child { border-left-color: transparent; padding-bottom: 0; }
ol.steps > li::before {
  content: counter(s); position: absolute; left: -19px; top: -3px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: #06240f; font-weight: 800;
  display: grid; place-items: center; font-size: 16px;
}
ol.steps p { color: var(--mut); margin: 0; }

code {
  background: rgba(255, 255, 255, .08); padding: 2px 7px; border-radius: 5px;
  font-size: 14px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--green);
}

/* mockups ilustrativos */
.shot {
  margin: 14px 0 0; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px; overflow: hidden; background: #1f2530;
  max-width: 440px;
}
.shot svg { display: block; width: 100%; height: auto; }
.shot figcaption {
  font-size: 12px; color: rgba(255, 255, 255, .5);
  padding: 8px 12px; border-top: 1px solid rgba(255, 255, 255, .08);
}

.warn {
  background: rgba(0, 230, 118, .07); border: 1px solid var(--line);
  border-radius: 12px; padding: 16px 18px; margin: 28px 0 0;
}
.warn p { margin: 0; color: var(--mut); }
.warn strong { color: var(--green); }
.warn a { color: var(--green); }

.help {
  margin-top: 44px; padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, .1); text-align: center;
}
.help p { color: var(--mut); margin: 0 0 14px; }

a.inline { color: var(--green); }

/* Ajuda sempre à mão: a instalação manual é o ponto do funil onde o cliente
   mais trava. `position: fixed` não desloca conteúdo, então não custa CLS. */
.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 14px;
  border-radius: 100px;
  background: #25d366;
  color: #08210f;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
.wa:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.wa-label { display: none; }

@media (min-width: 760px) {
  .wa { right: 24px; bottom: 24px; padding: 14px 22px; }
  .wa-label { display: inline; }
}

@media (max-width: 560px) {
  h1 { font-size: 26px; }
  .lead { font-size: 16px; }
  .wrap { padding: 22px 16px 48px; }
  ol.steps > li { padding-left: 50px; }
}
