/* Hallmark · shape: app screen · theme: custom (BFLIX revenda, versão B do site) · genre: modern-minimal · posture: restrained · states: full · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S4 R4 V4 · weakest: E, é uma tela de mostrar como o app fica; a assinatura é o nome digitado aparecendo ao vivo na TV e no celular */

@font-face { font-family: 'Sora'; src: url('../fonts/sora-latin.woff2') format('woff2'); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --f: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fundo: #efeeeb;
  --sup: #fdfbf7;
  --linha: #e4e2dd;
  --linha-forte: #c9c5bd;
  --tinta: #121110;
  --texto: #3d3a35;
  --suave: #67625a;
  --acento: #d10004;
  --noite: #151413;
  --noite-2: #24221f;
  --noite-titulo: #f3eadc;
  --noite-texto: #cfc7ba;
  /* tela do app (escura, igual ao BFLIX de verdade) */
  --app-fundo: #0b0908;
  --app-folha: #17120f;
  --app-linha: #3a302b;
  --app-creme: #f3ebdb;
  --app-texto: #cfc6b4;
  --app-vermelho: #ff5a5d;
  --app-botao: #c40004;
  --zap: #25d366;
  --sobre-zap: #05220f;
  --qr-fundo: #fdfbf7;
  --foco: #d10004;
  --sombra-cor: rgba(40, 30, 20, .2);
  --raio: 16px;
  --dur-micro: 120ms;
  --curva: cubic-bezier(.2, .8, .2, 1);
  --t-1: .833rem; --t0: 1rem; --t1: 1.2rem; --t2: 1.44rem; --t3: 1.728rem; --t4: 2.488rem;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { -webkit-text-size-adjust: 100%; background: var(--fundo); }
body { margin: 0; background: var(--fundo); color: var(--texto); font-family: var(--f); font-size: var(--t0); line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; color: var(--tinta); font-weight: 700; letter-spacing: -.03em; line-height: 1.08; overflow-wrap: break-word; min-width: 0; }
input { font: inherit; }
:focus-visible { outline: 2px solid var(--foco); outline-offset: 2px; transition: none; }

.barra { background: var(--noite); }
.barra__n { display: flex; align-items: center; max-width: 1200px; height: 60px; margin: 0 auto; padding: 0 20px; color: var(--noite-texto); font-size: var(--t-1); }
.barra__n img { width: 56px; height: 22px; margin-right: 8px; }

.area { max-width: 1200px; margin: 0 auto; padding: 40px 20px 80px; }
.cabeca { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 20px; margin-bottom: 32px; }
.cabeca h1 { font-size: var(--t4); }
.cabeca h1 span { display: block; margin-top: .12em; font-size: .6em; letter-spacing: -.03em; }
.cabeca p { max-width: 46ch; margin-top: 12px; font-size: var(--t1); }
.campos { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 12px; align-self: end; }
.campo { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 6px; }
.campo label { color: var(--suave); font-size: var(--t-1); font-weight: 600; }
.campo input { height: 44px; padding: 0 16px; border: 1px solid var(--linha-forte); border-radius: 999px; background: var(--sup); color: var(--tinta); transition: border-color var(--dur-micro) var(--curva); }
.campo input:hover { border-color: var(--suave); }
.campo input:focus { outline: 0; border-color: var(--tinta); }
.campo input:focus-visible { outline: 2px solid var(--foco); outline-offset: 2px; }

.telas { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 20px; }
.quadro { padding: 20px; border: 1px solid var(--linha); border-radius: 24px; background: var(--sup); }
.quadro h2 { font-size: var(--t1); letter-spacing: -.02em; }
.quadro > p { margin: 4px 0 16px; color: var(--suave); }

/* TV: a tela de vencido do app */
.tv { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; border: 6px solid var(--noite); border-radius: 12px; background: var(--app-fundo); font-size: 5.5px; }
.tv > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; -webkit-filter: blur(3px) brightness(.32); filter: blur(3px) brightness(.32); }
.tv__c { position: absolute; left: 11%; right: 11%; top: 50%; display: flex; align-items: center; padding: 4.5% 5%; border: 1px solid var(--app-linha); border-radius: 1.4em; background: var(--app-folha); color: var(--app-creme); -webkit-transform: translateY(-50%); transform: translateY(-50%); }
.tv__t { flex: 1 1 auto; min-width: 0; padding-right: 5%; }
.tv__t small { display: block; color: var(--app-vermelho); font-size: 1.15em; font-weight: 700; }
.tv__t b { display: block; margin: .3em 0; font-size: 2.3em; line-height: 1.12; letter-spacing: -.02em; }
.tv__t p { color: var(--app-texto); font-size: 1.25em; }
.tv__rv { display: flex; align-items: center; margin-top: 1.4em; font-size: 1.25em; color: var(--app-texto); }
.tv__rv i { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 2.6em; height: 2.6em; margin-right: .7em; border-radius: 50%; background: var(--zap); }
.tv__rv i svg { width: 58%; height: 58%; fill: var(--sobre-zap); }
.tv__rv b { display: block; color: var(--app-creme); font-size: 1.1em; }
.tv__bt { display: inline-block; margin-top: 1.3em; padding: .75em 1.3em; border-radius: .6em; background: var(--app-botao); color: var(--app-creme); font-size: 1.2em; font-weight: 700; }
.tv__qr { flex: 0 0 26%; padding: 2.5%; border-radius: .8em; background: var(--qr-fundo); color: var(--tinta); text-align: center; font-size: 1em; font-weight: 700; }
.tv__qr img { width: 100%; margin-bottom: .3em; }

/* celular */
.cel { position: relative; width: 260px; max-width: 100%; margin: 0 auto; padding: 8px; border-radius: 34px; background: var(--noite); }
.cel__i { position: relative; padding-top: 216.4%; overflow: hidden; border-radius: 27px; background: var(--app-fundo); }
.cel__i > img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top; -webkit-filter: blur(3px) brightness(.32); filter: blur(3px) brightness(.32); }
.folha { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 16px 24px; border-radius: 22px 22px 0 0; background: var(--app-folha); color: var(--app-creme); }
.folha small { display: block; color: var(--app-vermelho); font-size: .75rem; font-weight: 700; }
.folha b { display: block; margin: 8px 0; font-size: 1.1rem; line-height: 1.2; letter-spacing: -.02em; }
.folha p { color: var(--app-texto); font-size: .8rem; line-height: 1.45; }
.folha p strong { color: var(--app-creme); }
.folha__zap { display: flex; align-items: center; justify-content: center; margin-top: 16px; padding: 12px; border-radius: 999px; background: var(--zap); color: var(--sobre-zap); font-size: .85rem; font-weight: 700; }
.folha__zap svg { width: 16px; height: 16px; margin-right: 8px; fill: currentColor; }
.folha__q { margin-top: 12px; color: var(--app-texto); font-size: .75rem; text-align: center; }

/* as duas regras */
.regras { display: grid; grid-template-columns: minmax(0, 1fr); grid-gap: 20px; margin-top: 20px; }
.regra { padding: 24px; border-radius: 24px; background: var(--sup); border: 1px solid var(--linha); }
.regra--escura { background: var(--noite); border-color: var(--noite); color: var(--noite-texto); }
.regra--escura h2 { color: var(--noite-titulo); }
.regra h2 { font-size: var(--t1); letter-spacing: -.02em; }
.regra p { margin-top: 8px; }

.esb { position: fixed; left: 12px; bottom: 12px; z-index: 40; display: flex; padding: 4px; border-radius: 999px; background: var(--noite); font-size: var(--t-1); }
.esb a { padding: 8px 12px; border-radius: 999px; color: var(--noite-texto); text-decoration: none; transition: color var(--dur-micro) var(--curva); }
.esb a:hover { color: var(--noite-titulo); }
.esb a:active { opacity: .8; }
.campo input:disabled { opacity: .5; cursor: not-allowed; }
.esb a[aria-current="page"] { background: var(--noite-2); color: var(--noite-titulo); }

@media (min-width: 480px) { .tv { font-size: 8px; } }
@media (min-width: 700px) { .tv { font-size: 11px; } }
@media (min-width: 900px) {
  .area { padding-top: 56px; }
  .cabeca { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-gap: 48px; }
  .campos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .telas { grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: start; }
  .tv { font-size: 10px; }
  .regras { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1280px) { .tv { font-size: 12.5px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.barra__m { display: block; margin-right: 12px; }
.barra__n .barra__m img { margin-right: 0; }
.barra__volta { margin-left: auto; color: var(--noite-titulo); font-weight: 600; text-decoration: none; }
.barra__volta:hover { text-decoration: underline; }
.barra__volta:active { opacity: .8; }
