:root {
  --fundo: #070505;
  --fundo-2: #151110;
  --fundo-3: #231c1a;
  --creme: #ece5d8;
  --apagado: #a89f93;
  --vermelho: #ff3b24;
  --verde: #5fd38a;
  --seguro-baixo: env(safe-area-inset-bottom, 0px);
  --seguro-topo: env(safe-area-inset-top, 0px);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; background: var(--fundo); color: var(--creme); }
body { font: 500 16px/1.45 Barlow, system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
h1, h2, h3 { font-family: "Barlow Condensed", Impact, sans-serif; margin: 0; font-weight: 800; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--creme); outline-offset: 2px; }

.topo {
  position: absolute; inset: 0 0 auto 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + var(--seguro-topo)) 16px 14px;
}
.topo img { height: 38px; width: auto; display: block; }
.link-topo { font-weight: 600; font-size: 14px; padding: 8px 12px; border: 1px solid #ece5d84d; border-radius: 99px; background: #07050566; }

.heroi { position: relative; padding: min(44svh, 350px) 16px 20px; overflow: hidden; }
.heroi img.fundo { position: absolute; top: 0; left: 0; width: 100%; height: min(66svh, 520px); object-fit: cover; object-position: center 30%; }
.heroi::after { content: ""; position: absolute; top: 0; left: 0; right: 0; height: min(66svh, 520px); background: linear-gradient(to bottom, #07050599 0, #07050500 22%, #07050500 48%, #070505d9 72%, var(--fundo) 100%); }
.heroi > div { position: relative; z-index: 1; max-width: 620px; }
@media (min-width: 900px) {
  .heroi { min-height: 620px; display: flex; flex-direction: column; justify-content: flex-end; padding: 96px 48px 28px; }
  .heroi img.fundo { left: auto; right: 0; width: 58%; height: 100%; object-position: center 34%; }
  .heroi::after { height: 100%; background: linear-gradient(to right, var(--fundo) 42%, #07050500 72%), linear-gradient(to bottom, #07050500 72%, var(--fundo) 100%); }
  .topo { padding-left: 48px; padding-right: 48px; }
  .secao h2 { padding-left: 48px; }
  .fileira { padding-left: 48px; padding-right: 48px; }
  .rodape { padding-left: 48px; }
}
.selo { display: inline-block; font: 800 15px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; color: var(--vermelho); margin-bottom: 8px; }
.heroi h1 { font-size: clamp(46px, 14vw, 84px); line-height: .92; font-weight: 900; text-transform: uppercase; }
.sinopse { color: #d8d0c4; margin: 12px 0 18px; font-size: 16px; }
.acoes { display: flex; flex-direction: column; gap: 10px; }
.botao { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 18px; border-radius: 8px; font-weight: 600; font-size: 17px; width: 100%; text-decoration: none; }
.botao.principal { background: var(--vermelho); color: #fff; font-weight: 600; }
.botao.claro { background: var(--creme); color: #120d0c; }
.botao.vazado { border: 1px solid #ece5d866; }
.botao[disabled] { opacity: .55; cursor: wait; }
@media (min-width: 640px) { .acoes { flex-direction: row; } .botao { width: auto; min-width: 240px; } }

.secao { padding: 22px 0 6px; }
.secao h2 { font-size: 26px; padding: 0 16px 12px; }
.fileira { display: flex; gap: 10px; overflow-x: auto; padding: 0 16px 10px; scroll-snap-type: x proximity; scrollbar-width: none; }
.fileira::-webkit-scrollbar { display: none; }
.cartao { position: relative; flex: 0 0 132px; aspect-ratio: 9 / 16; border-radius: 8px; overflow: hidden; background: var(--fundo-2); scroll-snap-align: start; text-align: left; padding: 0; }
@media (min-width: 640px) { .cartao { flex-basis: 170px; } }
.cartao img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cartao .sem-capa { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 10px; background: linear-gradient(160deg, var(--fundo-3), #0d0a09 70%); }
.cartao .numero { font: 900 62px/1 "Barlow Condensed", sans-serif; color: #ece5d82b; position: absolute; top: 8px; left: 10px; }
.cartao .hora { font: 800 13px/1.1 "Barlow Condensed", sans-serif; color: var(--vermelho); letter-spacing: .05em; }
.cartao .nome { font: 800 19px/1.05 "Barlow Condensed", sans-serif; }
.etiqueta { position: absolute; top: 7px; right: 7px; z-index: 2; padding: 3px 7px; border-radius: 4px; font: 800 12px/1.2 "Barlow Condensed", sans-serif; letter-spacing: .04em; background: #070505cc; }
.etiqueta.gratis { color: var(--verde); }
.barra { position: absolute; inset: auto 0 0 0; height: 3px; background: #ffffff33; z-index: 2; }
.barra i { display: block; height: 100%; background: var(--vermelho); }
.bloqueado img { filter: brightness(.62); }

.rodape { padding: 30px 16px calc(30px + var(--seguro-baixo)); color: var(--apagado); font-size: 14px; }
.rodape nav { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 10px; }

/* player */
.player { position: fixed; inset: 0; z-index: 10; background: #000; display: flex; align-items: center; justify-content: center; }
.player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.player-topo { position: absolute; inset: 0 0 auto 0; z-index: 2; display: flex; align-items: center; gap: 10px; padding: calc(10px + var(--seguro-topo)) 10px 22px; background: linear-gradient(to bottom, #000b, #0000); }
.icone { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: #0007; flex: none; }
.player-titulo { min-width: 0; }
.player-titulo b { display: block; font: 800 19px/1.1 "Barlow Condensed", sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-titulo span { font: 800 13px/1 "Barlow Condensed", sans-serif; color: var(--vermelho); letter-spacing: .05em; }
.proximo { position: absolute; right: 12px; bottom: calc(92px + var(--seguro-baixo)); z-index: 2; background: var(--creme); color: #120d0c; border-radius: 8px; padding: 11px 16px; font-weight: 600; }
.aviso-player { position: absolute; left: 16px; right: 16px; top: 45%; text-align: center; z-index: 2; }

/* folha de compra */
.folha { position: fixed; inset: 0; z-index: 20; background: #000000b8; display: flex; align-items: flex-end; justify-content: center; }
.folha[hidden] { display: none; }
.folha-corpo { position: relative; width: 100%; max-width: 480px; max-height: 94vh; max-height: 94dvh; overflow-y: auto; background: var(--fundo-2); border-radius: 16px 16px 0 0; padding: 22px 18px calc(22px + var(--seguro-baixo)); border-top: 2px solid var(--vermelho); }
@media (min-width: 640px) { .folha { align-items: center; } .folha-corpo { border-radius: 14px; } }
.fechar { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; font-size: 22px; line-height: 1; color: var(--apagado); }
.folha h2 { font-size: 33px; line-height: 1; padding-right: 36px; }
.folha p { margin: 10px 0; color: #d8d0c4; }
.pequeno { font-size: 14px; color: var(--apagado) !important; }
.preco { font: 900 46px/1 "Barlow Condensed", sans-serif; margin: 14px 0 2px; color: var(--creme); }
.lista { margin: 12px 0; padding: 0; list-style: none; }
.lista li { padding: 5px 0 5px 22px; position: relative; color: #d8d0c4; }
.lista li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 9px; height: 9px; background: var(--vermelho); border-radius: 50%; }
label { display: block; margin: 12px 0 5px; font-weight: 600; font-size: 15px; }
input { width: 100%; min-height: 50px; padding: 11px 13px; border-radius: 8px; border: 1px solid #ece5d840; background: var(--fundo); font-size: 17px; }
select, textarea { width: 100%; min-height: 50px; padding: 11px 13px; border-radius: 8px; border: 1px solid #ece5d840; background: var(--fundo); font: inherit; font-size: 17px; color: inherit; }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--creme); outline: none; }
.escondido { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.codigo-aparelho { font: 800 34px/1 "Barlow Condensed", sans-serif; letter-spacing: .12em; text-align: center; padding: 14px; margin: 12px 0 2px; border: 1px dashed #ece5d866; border-radius: 8px; user-select: all; }
.erro { color: #ff8b7d !important; font-weight: 600; margin: 10px 0 0; }
.folha .botao { margin-top: 14px; width: 100%; }
.qr { display: block; width: 210px; height: 210px; margin: 12px auto 4px; background: #fff; border-radius: 8px; padding: 6px; image-rendering: pixelated; }
.codigo-pix { font-size: 14px; min-height: 44px; color: #d8d0c4; text-overflow: ellipsis; }
.campo-senha { position: relative; }
.campo-senha input { padding-right: 84px; }
.ver-senha { position: absolute; right: 4px; top: 3px; height: 44px; padding: 0 12px; color: var(--apagado); font-size: 14px; }
.espera { display: flex; align-items: center; gap: 10px; margin: 14px 0 0; font-weight: 600; }
.ponto { width: 10px; height: 10px; border-radius: 50%; background: var(--vermelho); animation: pulsa 1.2s infinite; flex: none; }
@keyframes pulsa { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .ponto { animation: none; } }
.linha-link { display: block; width: 100%; text-align: center; margin-top: 12px; padding: 10px; color: var(--apagado); text-decoration: underline; font-size: 15px; }
.teste { margin-top: 14px; border: 1px dashed var(--apagado); border-radius: 8px; padding: 10px; color: var(--apagado); font-size: 14px; }

.texto { max-width: 720px; margin: 0 auto; padding: 84px 16px 40px; }
.texto h1 { font-size: 40px; margin-bottom: 12px; }
.texto h2 { font-size: 24px; margin: 22px 0 6px; }
.texto p { color: #d8d0c4; }
