/* Página principal (abertura "Órbita" = opcoes/a.html + seções). */

/* ---------------------------------------------------------------- aviso (painel > Site) */
.aviso { position: relative; z-index: 5; padding: 10px 16px; text-align: center; font-weight: 700; font-size: .95rem; border-bottom: 2px solid var(--painel); }
.aviso.info { background: #12324a; color: #cfe8ff; }
.aviso.alerta { background: #4a2a12; color: #ffe1c2; }

/* ---------------------------------------------------------------- abertura */
.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; overflow: hidden; --kr: 3; }
.miolo {
  position: relative; z-index: 2; min-height: inherit;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 48px 16px 72px; text-align: center; pointer-events: none;
}
.miolo > * { pointer-events: auto; }
.palco { position: relative; width: min(820px, 94vw); height: calc(52px * var(--k) + 120px); display: flex; align-items: center; justify-content: center; --k: 4; }
.palco #logo { position: relative; z-index: 2; width: calc(40px * var(--k)); height: calc(52px * var(--k)); }
.hero h1 { margin: 8px 0; font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.hero h1 em { font-style: normal; color: var(--lilas); }
.hero .sub { margin: 0 auto 28px; max-width: 34em; color: var(--branco-s); font-size: 1.05rem; }
.acoes { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.rodape-hero { margin-top: 26px; display: flex; gap: 22px; align-items: center; flex-wrap: wrap; justify-content: center; }
.rodape-hero a { color: var(--branco-s); text-decoration: none; font-size: .95rem; }
.rodape-hero a:hover { color: var(--branco); }
.descer {
  position: absolute; left: 50%; bottom: 18px; z-index: 2; transform: translateX(-50%);
  color: var(--texto-fraco); text-decoration: none; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}
.descer:hover { color: var(--branco-s); }
@media (min-width: 1400px) and (min-height: 860px) { .palco { --k: 5; } .hero { --kr: 4; } }
@media (max-width: 640px) {
  .palco { --k: 3; } .hero { --kr: 2; }
  .acoes { width: min(100%, 360px); flex-direction: column; }
  .acoes .btn { width: 100%; }
  .descer { display: none; }
}

/* ---------------------------------------------------------------- seções */
.secao { position: relative; padding: 96px 16px; }
.secao.alt { background: linear-gradient(180deg, #0b0f1f, #0d1124); border-top: 2px solid #151a30; border-bottom: 2px solid #151a30; }
.largura { max-width: 1100px; margin: 0 auto; }
.chapeu { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--lenda); margin-bottom: 10px; }
.secao h2 { margin: 0 0 14px; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; letter-spacing: -.01em; line-height: 1.15; }
.secao h2 em { font-style: normal; color: var(--lilas); }
.secao .lead { margin: 0 0 40px; max-width: 40em; color: var(--branco-s); font-size: 1.08rem; }
.centro { text-align: center; }
.centro .lead { margin-left: auto; margin-right: auto; }

/* cartões em estilo de janela Royale: painel escuro, borda dura, sombra dura */
.cartoes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.cartao {
  position: relative; padding: 24px 22px 22px;
  background: rgba(13, 13, 19, .72); border: 2px solid var(--anel);
  box-shadow: 0 6px 0 #070910;
}
.cartao .ic { display: block; width: 45px; height: 51px; margin-bottom: 16px; filter: drop-shadow(0 0 10px var(--cor, transparent)); }
.cartao h3 { margin: 0 0 8px; font-size: 1.12rem; font-weight: 800; }
.cartao p { margin: 0; color: var(--branco-s); font-size: .98rem; }

/* passos: prepare -> entre -> extraia */
.passos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: passo; }
.passo { position: relative; padding: 0 22px; text-align: center; }
.passo + .passo::before { /* trilho entre os passos */
  content: ""; position: absolute; top: 27px; left: -50%; width: 100%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--anel) 0 8px, transparent 8px 14px);
}
.passo b {
  counter-increment: passo; position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 16px;
  font-size: 1.4rem; font-weight: 900; color: #04130f; background: var(--lenda);
  border: 2px solid var(--painel); box-shadow: 0 4px 0 var(--lenda-escuro), 0 4px 0 2px var(--painel);
}
.passo:nth-child(2) b { background: var(--lilas); box-shadow: 0 4px 0 #7a68c0, 0 4px 0 2px var(--painel); }
.passo:nth-child(3) b { background: #f2b640; box-shadow: 0 4px 0 #9a6c14, 0 4px 0 2px var(--painel); }
.passo b::before { content: counter(passo); }
.passo h3 { margin: 0 0 6px; font-size: 1.15rem; font-weight: 800; }
.passo p { margin: 0; color: var(--branco-s); }
@media (max-width: 760px) {
  .passos { grid-template-columns: 1fr; gap: 36px; }
  .passo + .passo::before { display: none; }
}

/* downloads */
.plataformas { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.plataforma { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 22px; background: rgba(13, 13, 19, .72); border: 2px solid var(--anel); box-shadow: 0 6px 0 #070910; }
.plataforma.ativa { border-color: var(--lenda); box-shadow: 0 6px 0 var(--lenda-escuro); }
.plataforma h3 { margin: 0; font-size: 1.2rem; font-weight: 800; }
.plataforma p { margin: 0 0 8px; color: var(--branco-s); flex: 1; }
.plataforma .btn { align-self: stretch; }
@media (max-width: 860px) { .plataformas { grid-template-columns: 1fr; } }

/* faixa do Discord */
.discord { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; justify-content: space-between; padding: 32px; background: #121637; border: 2px solid #2c3270; box-shadow: 0 6px 0 #070910; }
.discord h2 { margin: 0 0 4px; font-size: 1.5rem; }
.discord p { margin: 0; color: var(--branco-s); }
.discord .btn { --cor: #5865f2; --tinta: #fff; --sombra: #3640a8; }

/* rodapé */
.rodape { padding: 56px 16px 40px; background: #06080f; color: var(--texto-fraco); font-size: .9rem; border-top: 2px solid #151a30; }
.rodape .colunas { display: grid; grid-template-columns: auto 1fr 1fr; gap: 40px; align-items: start; }
.rodape .marca img { width: 80px; height: 104px; }
.rodape h4 { margin: 0 0 10px; color: var(--branco-s); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; }
.rodape ul { margin: 0; padding: 0; list-style: none; }
.rodape li { margin-bottom: 6px; }
.rodape a { color: var(--branco-s); }
.rodape .legal { margin-top: 36px; padding-top: 20px; border-top: 1px solid #151a30; font-size: .82rem; line-height: 1.6; }
@media (max-width: 760px) { .rodape .colunas { grid-template-columns: 1fr; gap: 28px; } }
