@font-face { font-family: 'Inter'; font-weight: 400; font-style: normal; font-display: swap; src: url('fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 500; font-style: normal; font-display: swap; src: url('fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-style: normal; font-display: swap; src: url('fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 700; font-style: normal; font-display: swap; src: url('fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 900; font-style: normal; font-display: swap; src: url('fonts/inter-900.woff2') format('woff2'); }

:root {
  --bg: #000000;
  --surface: #0A0A0B;
  --elevated: #101012;
  --input: #1A1A1D;
  --linha: #212125;
  --linha-forte: #2E2E34;
  --verde: #22C55E;
  --verde-claro: #4ADE80;
  --verde-escuro: #0B2415;
  --vermelho: #EF4444;
  --vermelho-escuro: #290D0D;
  --texto: #FFFFFF;
  --texto-2: #A1A1AA;
  --texto-3: #71717A;
  --fonte: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--texto);
  font-family: var(--fonte);
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

/* brilho discreto no topo, sem virar gradiente de template */
body::before {
  content: '';
  position: fixed;
  inset: -20vh 0 auto 0;
  height: 60vh;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(34, 197, 94, .13), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

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

.muted { color: var(--texto-3); }

/* ------------------------------------------------------------------ login */

.tela-login {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 28px 20px 36px;
}

.cartao {
  width: 100%;
  max-width: 404px;
  background: var(--surface);
  border: 1px solid var(--linha);
  border-radius: 20px;
  padding: 30px 28px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .6);
}

.marca { display: flex; justify-content: center; margin-bottom: 22px; }
.marca img { width: 186px; height: auto; display: block; }

.cartao h1 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -.02em;
  text-align: center;
}

.cartao .sub {
  margin-top: 6px;
  margin-bottom: 22px;
  font-size: 13px;
  color: var(--texto-2);
  text-align: center;
}

.campo { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }

.campo label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--texto-3);
}

.campo input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border-radius: 12px;
  background: var(--input);
  border: 1px solid var(--linha);
  color: var(--texto);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.campo input::placeholder { color: #52525B; }
.campo input:focus {
  outline: none;
  border-color: var(--verde);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .18);
}
.campo.erro input { border-color: var(--vermelho); }

.senha-wrap { position: relative; }
.senha-wrap input { padding-right: 54px; }
.ver-senha {
  position: absolute;
  top: 0; right: 0;
  height: 46px;
  padding: 0 14px;
  background: none;
  border: 0;
  color: var(--texto-3);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
}
.ver-senha:hover { color: var(--texto-2); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  background: var(--verde);
  color: #000;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .15s ease, transform .06s ease;
}
.btn:hover { background: var(--verde-claro); }
.btn:active { transform: translateY(1px); }
.btn:disabled { background: var(--input); color: var(--texto-3); cursor: not-allowed; }
.btn--bloco { width: 100%; margin-top: 6px; }
.btn--fantasma {
  background: transparent;
  border: 1px solid var(--linha-forte);
  color: var(--texto);
}
.btn--fantasma:hover { background: var(--elevated); border-color: var(--texto-3); }
.btn:focus-visible { outline: 2px solid var(--verde-claro); outline-offset: 3px; }

.aviso {
  margin-bottom: 14px;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--vermelho-escuro);
  border: 1px solid var(--vermelho);
  color: #FFB4B4;
  font-size: 12.5px;
}
.aviso[hidden] { display: none; }

.rodape-cartao {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--linha);
  text-align: center;
  font-size: 12px;
  color: var(--texto-3);
}
.rodape-cartao p + p { margin-top: 8px; }

.selo {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  font-size: 11.5px;
  color: var(--texto-3);
}
.selo svg { flex: 0 0 auto; }

.creditos {
  position: relative;
  z-index: 1;
  font-size: 11px;
  color: #3F3F46;
  text-align: center;
}

/* ------------------------------------------------------------- instalação */

.topo {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  background: var(--surface);
  border-bottom: 1px solid var(--linha);
}
.topo img { width: 132px; height: auto; display: block; }
.topo .quem { display: flex; align-items: center; gap: 12px; font-size: 12px; color: var(--texto-2); }
.topo .sair {
  padding: 7px 12px;
  border-radius: 9px;
  border: 1px solid var(--linha-forte);
  background: transparent;
  color: var(--texto-2);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}
.topo .sair:hover { color: var(--texto); border-color: var(--texto-3); }

.pagina {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.abertura h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.03em;
}
.abertura p {
  margin-top: 8px;
  font-size: 14px;
  color: var(--texto-2);
}

.baixar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin: 22px 0 30px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--elevated);
  border: 1px solid var(--linha-forte);
}
.baixar .info strong { display: block; font-size: 14px; font-weight: 700; }
.baixar .info span { font-size: 12px; color: var(--texto-3); }

.secao { margin-top: 34px; }
.secao > h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texto-3);
  margin-bottom: 14px;
}

.video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background: var(--elevated);
  border: 1px solid var(--linha);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video .placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--texto-3);
  font-size: 13px;
  text-align: center;
  padding: 20px;
}
.video .play {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--verde-escuro);
  border: 1px solid var(--verde);
  display: grid; place-items: center;
}
.video .play i {
  width: 0; height: 0;
  border-left: 15px solid var(--verde-claro);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
  display: block;
}

.passos { list-style: none; display: flex; flex-direction: column; gap: 10px; counter-reset: passo; }
.passos li {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--elevated);
  border: 1px solid var(--linha);
}
.passos li::before {
  counter-increment: passo;
  content: counter(passo);
  flex: 0 0 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--verde-escuro);
  border: 1px solid var(--verde);
  color: var(--verde-claro);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.passos h3 { font-size: 14px; font-weight: 700; letter-spacing: -.01em; }
.passos p { margin-top: 4px; font-size: 13px; color: var(--texto-2); }
.passos code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--input);
  border: 1px solid var(--linha-forte);
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12px;
  color: var(--verde-claro);
}

details {
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--elevated);
  border: 1px solid var(--linha);
  margin-bottom: 8px;
}
details + details { margin-top: 0; }
summary {
  cursor: pointer;
  font-size: 13.5px;
  font-weight: 600;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: ' +'; color: var(--texto-3); font-weight: 700; }
details[open] summary::after { content: ' −'; }
details p { margin-top: 10px; font-size: 13px; color: var(--texto-2); }

.rodape {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--linha);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--texto-3);
}

@media (max-width: 480px) {
  .cartao { padding: 26px 20px 22px; border-radius: 18px; }
  .marca img { width: 164px; }
  .abertura h1 { font-size: 21px; }
  .baixar { flex-direction: column; align-items: stretch; }
  .baixar .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
