/* Cubo Player · site. Cores do app (Azul) e fundo "Chama de luz". Celular primeiro. */
:root {
  --fundo: #00040a; --azul1: #07101f; --azul2: #0c1a30; --risco: #1b2f4d; --texto: #eef4ff; --apagado: #a3b4d0;
  --cor: #22d3ee; --sobre: #02131a; --raio: 14px; --mono: Consolas, "Cascadia Mono", ui-monospace, monospace;
  color-scheme: dark;
}
*, ::before, ::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--fundo); color: var(--texto); font: 400 17px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", sans-serif; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.018em; text-wrap: balance; font-weight: 700; }
h1 { font-size: clamp(34px, 8.6vw, 56px); }
h2 { font-size: clamp(26px, 5.6vw, 38px); }
h3 { font-size: 20px; }
p { text-wrap: pretty; }
a { color: var(--cor); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cor); outline-offset: 3px; border-radius: 6px; }
.caixa { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pular { position: absolute; left: -9999px; }
.pular:focus { left: 12px; top: 12px; z-index: 9; background: #fff; color: #000; padding: 10px 14px; }
.previa { background: #facc15; color: #241a00; font-size: 14px; font-weight: 600; text-align: center; padding: 6px 16px; }
.bt { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 10px 24px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.bt.cheio { background: var(--cor); color: var(--sobre); }
.bt.cheio:hover { background: #67e8f9; }
.bt.linha { color: var(--texto); border-color: #35517a; }
.bt.linha:hover { border-color: var(--cor); background: rgba(34, 211, 238, .08); }
.acoes { display: flex; flex-wrap: wrap; gap: 12px; }
.cod { font-family: var(--mono); color: var(--cor); white-space: nowrap; }

/* topo */
.topo { position: sticky; top: 0; z-index: 5; background: rgba(0, 4, 10, .93); border-bottom: 1px solid rgba(27, 47, 77, .7); }
.topo .caixa { display: flex; align-items: center; min-height: 66px; gap: 12px; }
.marca { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 21px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.marca b { color: var(--cor); background: linear-gradient(90deg, #22d3ee, #7c3aed); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.abre { margin-left: auto; width: 46px; height: 46px; border: 0; background: none; display: grid; place-content: center; gap: 8px; cursor: pointer; }
.abre i { display: block; width: 24px; height: 2px; background: #fff; transition: transform .2s; }
.abre[aria-expanded=true] i:first-child { transform: translateY(5px) rotate(45deg); }
.abre[aria-expanded=true] i:last-child { transform: translateY(-5px) rotate(-45deg); }
.topo nav { display: none; position: absolute; left: 0; right: 0; top: 100%; padding: 8px 20px 22px; background: #020a16; border-bottom: 1px solid var(--risco); }
.topo nav.on { display: grid; }
.topo nav a:not(.bt) { color: var(--texto); text-decoration: none; padding: 13px 0; border-bottom: 1px solid #10203a; font-size: 18px; }
.topo nav .bt { margin-top: 16px; }
.topo nav a[aria-current] { color: var(--cor); }

/* capa */
.capa { background: var(--fundo) url(/img/fundo-cel.webp) center top / cover no-repeat; overflow: hidden; }
.capa .caixa { padding-top: 44px; padding-bottom: 56px; display: grid; gap: 44px; }
.capa-txt { position: relative; }
.capa-txt p { margin: 18px 0 26px; color: #d3e0f5; font-size: 18px; max-width: 34em; }
.capa-txt .acoes { margin: 0; }
.capa .bt.linha { background: rgba(0, 4, 10, .6); }
.tv { position: relative; border: clamp(5px, 1vw, 9px) solid #05070d; border-radius: clamp(10px, 1.6vw, 16px); box-shadow: 0 0 0 2px #475d7d, 0 24px 60px rgba(0, 0, 0, .7); background: #05070d; }
.tv img { width: 100%; border-radius: 5px; }
.aparelhos { position: relative; padding-bottom: 13%; }
.aparelhos .tv { width: 96%; margin: 0 auto; }
.note { display: none; }
.cel { position: absolute; right: 0; bottom: 0; width: 50%; border: clamp(4px, .8vw, 7px) solid #05070d; border-radius: clamp(12px, 2.2vw, 22px); box-shadow: 0 0 0 2px #64789a, 0 18px 44px rgba(0, 0, 0, .8); overflow: hidden; background: #05070d; }

.legal { background: var(--azul1); border-block: 1px solid var(--risco); color: var(--apagado); font-size: 15.5px; }
.legal .caixa { padding-top: 16px; padding-bottom: 16px; }
.legal b { color: var(--texto); }

/* blocos com tela */
.bloco { padding: 64px 0 0; }
.dupla { display: grid; gap: 26px; align-items: center; }
.dupla p { color: var(--apagado); margin-top: 14px; max-width: 34em; }
.tela { border: 1px solid #2a4468; border-radius: var(--raio); overflow: hidden; }
.tela img { width: 100%; }
.meio { text-align: center; }
/* no celular a tela aparece de perto, para dar para ler */
@media (max-width: 699px) { .perto img { aspect-ratio: 1.3; object-fit: cover; object-position: 100% 0; } }

/* cores */
.cores { margin-top: 72px; padding: 64px 0; background: var(--azul1); border-block: 1px solid var(--risco); }
.cores-cab p { color: var(--apagado); margin-top: 12px; max-width: 38em; }
.cores-palco { display: grid; gap: 26px; margin-top: 30px; }
.cores .tv { box-shadow: 0 0 0 2px var(--cor), 0 24px 60px rgba(0, 0, 0, .6); transition: box-shadow .3s; }
.bolas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.bolas button { display: grid; justify-items: center; gap: 8px; padding: 12px 2px 10px; border: 2px solid transparent; border-radius: 12px; background: none; color: var(--apagado); font: inherit; font-size: 14.5px; cursor: pointer; }
.bolas button::before { content: ""; width: 34px; height: 34px; border-radius: 50%; background: var(--c); }
.bolas button:hover { background: rgba(255, 255, 255, .05); }
.bolas [aria-pressed=true] { color: #fff; border-color: var(--c); font-weight: 700; }

/* como começa */
.comeca { display: grid; gap: 30px; margin-top: 32px; align-items: center; }
.comeca ol { list-style: none; counter-reset: n; display: grid; gap: 24px; }
.comeca li { counter-increment: n; position: relative; padding-left: 58px; }
.comeca li::before { content: counter(n); position: absolute; left: 0; top: -2px; width: 40px; height: 40px; display: grid; place-content: center; border-radius: 50%; border: 2px solid var(--cor); color: var(--cor); font-weight: 700; }
.comeca li p { color: var(--apagado); margin-top: 5px; }
.jeitos { display: grid; gap: 16px; margin-top: 44px; }
.jeitos article { background: var(--azul2); border-radius: var(--raio); padding: 24px; }
.jeitos p { color: var(--apagado); margin: 8px 0 14px; }
.selo { display: inline-block; vertical-align: 2px; font-size: 13px; font-weight: 600; letter-spacing: 0; line-height: 1.5; color: #e4d7ff; background: #3b1f7a; border-radius: 99px; padding: 3px 11px; white-space: nowrap; }

/* revenda */
.revenda { margin-top: 72px; padding: 64px 0; background: linear-gradient(120deg, #17143f, #0a1230 60%, #07101f); }
.revenda .rev-marca { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; color: #fff; font-weight: 700; font-size: 20px; }
.revenda ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 12px; }
.revenda li { position: relative; padding-left: 26px; color: #d5def3; }
.revenda li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 12px; height: 6px; border: solid #a5b4fc; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.revenda .acoes { margin: 0; }
.revenda .bt.cheio { background: #818cf8; color: #0a0b25; }
.revenda .bt.cheio:hover { background: #a5b4fc; }

/* baixar */
.cab { padding: 48px 0 28px; background: linear-gradient(rgba(0, 4, 10, .55), var(--fundo)), url(/img/fundo-cel.webp) center 30% / cover; }
.cab p { color: #d3e0f5; margin-top: 12px; max-width: 40em; }
.apps { display: grid; gap: 16px; }
.app { background: var(--azul2); border: 1px solid var(--risco); border-radius: var(--raio); padding: 24px; display: grid; gap: 22px; }
.app-txt { display: grid; gap: 10px; justify-items: start; align-content: start; }
.app-txt > p { color: var(--apagado); }
.app .versao { font-size: 15px; min-height: 3.2em; }
.app .bt { margin-top: 6px; }
.down { background: #04101f; border-radius: 10px; padding: 20px; text-align: center; align-self: stretch; display: grid; align-content: center; }
.down strong { font: 700 clamp(40px, 12vw, 58px)/1.2 var(--mono); color: var(--cor); letter-spacing: .04em; }
.down .pq { font-size: 15px; color: var(--apagado); }
.breve { margin-top: 52px; }
.breve h2, .passos h2 { font-size: 26px; }
.breve ul { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 14px; }
.breve li { border: 1px dashed #35517a; border-radius: 12px; padding: 14px 16px; display: grid; align-content: start; }
.breve li span, .breve > p { color: var(--apagado); font-size: 15px; }
.passos { margin-top: 52px; }
.passos h2 { margin-bottom: 12px; }
details { border-bottom: 1px solid var(--risco); }
summary { cursor: pointer; padding: 17px 34px 17px 0; font-weight: 700; font-size: 18px; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; position: absolute; right: 8px; top: 25px; width: 9px; height: 9px; border: solid var(--cor); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); transition: transform .2s; }
[open] > summary::after { transform: translateY(5px) rotate(225deg); }
details ol { padding-left: 24px; display: grid; gap: 8px; color: #d3def2; max-width: 46em; margin-bottom: 22px; }
details > p { margin: -8px 0 22px; color: var(--apagado); max-width: 46em; }
.depois-inst { margin-top: 26px; font-weight: 600; }

/* área do cliente: entrada */
.entrar main { background: linear-gradient(transparent 300px, var(--fundo) 620px), url(/img/fundo-cel.webp) center top / 100% auto no-repeat; }
.porta { display: grid; gap: 40px; padding-top: 40px; }
.porta-form { background: #07101f; border: 1px solid #2a4468; border-radius: 18px; padding: 28px 22px; }
.porta-form h1 { font-size: 32px; }
.porta-form > p { color: var(--apagado); margin-top: 8px; }
.porta-form > .aviso-previa { color: #fde68a; margin-top: 14px; }
form { margin-top: 22px; display: grid; }
label { font-weight: 600; margin: 14px 0 7px; }
input { width: 100%; min-height: 56px; border: 2px solid #35517a; border-radius: 12px; background: #020a16; color: #fff; padding: 8px 16px; font: 700 24px/1 var(--mono); letter-spacing: .08em; }
input::placeholder { color: #7f93b5; font-weight: 400; }
input:focus { outline: none; border-color: var(--cor); }
input[aria-invalid=true] { border-color: #f87171; }
.com-olho { position: relative; }
.com-olho input { padding-right: 112px; }
.com-olho button { position: absolute; right: 6px; top: 6px; bottom: 6px; border: 0; border-radius: 9px; background: var(--azul2); color: var(--texto); font: inherit; font-size: 15px; padding: 0 14px; cursor: pointer; }
.erro { color: #fca5a5; font-size: 15px; margin-top: 6px; }
.robo { margin: 20px 0; border: 1px dashed #35517a; border-radius: 12px; padding: 14px 16px; display: grid; }
.robo span { color: var(--apagado); font-size: 14.5px; }
.aviso-previa { margin-top: 14px; background: #3a2f06; color: #fde68a; border-radius: 10px; padding: 12px 14px; font-size: 15.5px; }
.porta-form .outros { margin-top: 18px; }
.porta-lado h2 { font-size: 22px; }
.porta-lado > p { color: #c9d6ec; margin-top: 8px; }
.cartao { margin: 18px 0 32px; max-width: 340px; border-radius: 14px; padding: 18px 20px; background: linear-gradient(120deg, #0b4a66, #2b1d66); border: 1px solid #2a7f9f; }
.cartao small { color: #c9f3fc; }
.cartao > b { display: block; font: 700 32px/1.3 var(--mono); color: #67e8f9; letter-spacing: .08em; }
.cartao dl { display: grid; grid-template-columns: auto auto; justify-content: space-between; font-size: 15px; margin-top: 8px; row-gap: 3px; }
.cartao dd { text-align: right; font-weight: 700; }
.cartao .ativo { color: #6ee7b7; }
.porta-lado ul { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 7px; color: #d3def2; }
.porta-lado > .nota { margin-top: 24px; background: #07101f; border: 1px solid var(--risco); border-radius: 12px; padding: 16px 18px; }
.nota b { color: #fff; }
.depois { padding-top: 80px; padding-bottom: 60px; }
.depois p { margin: 16px 0 26px; color: var(--apagado); max-width: 36em; }

/* pé */
.pe { margin-top: 72px; border-top: 1px solid var(--risco); background: #020812; font-size: 16px; }
.inicio .pe { margin-top: 0; }
.pe .caixa { padding-top: 40px; padding-bottom: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 30px 20px; }
.pe h2 { font-size: 16px; letter-spacing: 0; margin-bottom: 8px; }
.pe div > a:not(.marca) { display: block; color: var(--apagado); text-decoration: none; padding: 5px 0; }
.pe div > a:not(.marca):hover { color: var(--cor); }
.pe-marca, .pe-fim { grid-column: 1 / -1; }
.pe-marca p { color: var(--apagado); font-size: 15px; margin-top: 12px; max-width: 44em; }
.pe-fim { color: var(--apagado); font-size: 15px; border-top: 1px solid #10203a; padding-top: 18px; overflow-wrap: anywhere; }

@media (min-width: 700px) {
  .jeitos { grid-template-columns: 1fr 1fr; gap: 20px; }
  .bolas { grid-template-columns: repeat(8, 1fr); }
  .breve ul { grid-template-columns: repeat(4, 1fr); }
  .app.grande { grid-template-columns: 1fr 1fr; align-items: center; }
  .capa { background-image: url(/img/fundo.webp); }
  .entrar main { background-image: linear-gradient(transparent 200px, var(--fundo) 760px), url(/img/fundo.webp); }
  .cab { background-image: linear-gradient(rgba(0, 4, 10, .55), var(--fundo)), url(/img/fundo.webp); }
}
@media (min-width: 980px) {
  .caixa { padding: 0 32px; }
  .abre { display: none; }
  .topo .caixa { min-height: 74px; }
  .topo nav, .topo nav.on { display: flex; position: static; align-items: center; gap: 4px; margin-left: auto; padding: 0; background: none; border: 0; }
  .topo nav a:not(.bt) { padding: 10px 13px; border: 0; font-size: 16px; border-radius: 9px; }
  .topo nav a:not(.bt):hover { background: rgba(255, 255, 255, .07); }
  .topo nav .bt { margin: 0 0 0 10px; min-height: 44px; padding: 6px 18px; font-size: 16px; }
  .capa .caixa { grid-template-columns: 5fr 7fr; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 84px; }
  .capa-txt::before { content: ""; position: absolute; inset: -60px -60px -60px -120px; background: radial-gradient(closest-side, rgba(0, 4, 10, .88), transparent); }
  .capa-txt > * { position: relative; }
  .capa-txt p { font-size: 19px; }
  .aparelhos { padding: 0 0 9% 6%; margin-right: -40px; }
  .aparelhos .tv { width: 92%; margin: 0; }
  .note { display: block; position: absolute; left: 0; bottom: 2%; width: 45%; border: 6px solid #0a0e18; border-radius: 10px 10px 0 0; box-shadow: 0 0 0 2px #64789a, 0 20px 50px rgba(0, 0, 0, .8); }
  .note::after { content: ""; position: absolute; left: -9%; right: -9%; top: 100%; height: 13px; margin-top: 6px; background: linear-gradient(#a2b1c7, #3a4a61); border-radius: 2px 2px 14px 14px; }
  .cel { width: 38%; right: 0; bottom: 1%; }
  .bloco { padding-top: 104px; }
  .dupla { grid-template-columns: 7fr 5fr; gap: 56px; }
  .dupla.inv { grid-template-columns: 5fr 7fr; }
  .dupla.inv figure { order: 2; }
  .revenda .dupla { grid-template-columns: 1fr 1fr; }
  .cores, .revenda { margin-top: 104px; padding: 88px 0; }
  .cores-palco { grid-template-columns: 1fr 190px; gap: 44px; align-items: center; }
  .bolas { grid-template-columns: 1fr; gap: 2px; }
  .bolas button { grid-template-columns: 34px 1fr; justify-items: start; align-items: center; gap: 14px; padding: 8px 14px; font-size: 17px; }
  .comeca { grid-template-columns: 7fr 5fr; gap: 56px; margin-top: 44px; }
  .jeitos { margin-top: 60px; }
  .jeitos article { padding: 30px; }
  .cab { padding: 72px 0 36px; }
  .apps { grid-template-columns: 8fr 5fr; gap: 20px; }
  .app { padding: 32px; }
  .passos, .breve { margin-top: 76px; }
  .porta { grid-template-columns: 460px 1fr; gap: 72px; padding-top: 72px; align-items: start; max-width: 1100px; }
  .porta-form { padding: 36px; }
  .porta-lado { padding: 26px; background: rgba(2, 8, 18, .93); border-radius: 18px; }
  .pe { margin-top: 110px; }
  .pe .caixa { grid-template-columns: 2.2fr repeat(4, 1fr); }
  .pe-marca { grid-column: auto; padding-right: 30px; }
}
@media (min-width: 980px) and (max-width: 1140px) { .topo nav a:not(.bt) { padding: 10px 8px; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
