/* Santa Luz Films. Cores e fontes do manual da marca v1. Para trocar, mude só este primeiro bloco. */
:root {
  --papel: #F4F2EE;
  --tinta: #121212;
  --grafite: #2A2A28;
  --prata: #8D8B87;
  --vermelhao: #E2422B;          /* o ponto da marca */

  --fundo: #121212;
  --fundo-fundo: #0C0C0B;        /* rodapé */
  --superficie: #1A1A19;
  --superficie-2: #232321;
  --texto-2: #BDBAB4;            /* texto de apoio */
  --texto-3: #8D8B87;            /* legendas pequenas */
  --linha: rgba(244, 242, 238, .09);
  --linha-forte: rgba(244, 242, 238, .17);
  --vidro: rgba(14, 14, 13, .52);

  --fala: 'Schibsted Grotesk', Arial, sans-serif;
  --medida: 'IBM Plex Mono', 'Courier New', monospace;

  --lado: clamp(16px, 4.2vw, 56px);
  --largura: 1320px;
  --miolo: max(var(--lado), calc((100% - var(--largura)) / 2));
  --secao: clamp(88px, 11vw, 168px);
  --r1: 14px;
  --r2: 22px;
  --r3: 30px;
  --curva: cubic-bezier(.22, 1, .36, 1);
}

@font-face { font-family: 'Schibsted Grotesk'; src: url('/assets/fontes/schibsted-grotesk.woff2') format('woff2'); font-weight: 400 900; font-display: swap; }
@font-face { font-family: 'IBM Plex Mono'; src: url('/assets/fontes/ibm-plex-mono.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@property --raio { syntax: '<length>'; inherits: false; initial-value: 0px; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; color-scheme: dark; }
body { margin: 0; overflow-x: clip; background: var(--fundo); color: var(--papel); font: 400 1.0625rem/1.6 var(--fala); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--papel); color: var(--tinta); }
:focus-visible { outline: 2px solid var(--papel); outline-offset: 3px; }
p, dd { text-wrap: pretty; }
h1, h2 { font-weight: 500; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
h2 { font-size: clamp(2.375rem, 5.2vw, 4.5rem); }
h3, h4, dt { font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.pular { position: absolute; left: var(--lado); top: -80px; z-index: 40; padding: 12px 18px; border-radius: 999px; background: var(--papel); color: var(--tinta); }
.pular:focus { top: 12px; }
.ic { width: 1.3em; height: 1.3em; flex: none; }
.junto { white-space: nowrap; }
.frase { display: inline-block; }
.ponto { display: inline-block; width: .2em; height: .2em; margin-left: .05em; border-radius: 50%; background: var(--vermelhao); color: transparent; font-size: 1em; line-height: 0; overflow: hidden; vertical-align: -.01em; }
.etiqueta { font: 400 .8125rem/1.4 var(--medida); letter-spacing: .04em; color: var(--texto-3); }

.marca { display: block; color: inherit; }
.logo { display: block; width: auto; height: 38px; overflow: visible; }
.logo-ponto { fill: var(--vermelhao); }
.logo-films { font-family: var(--medida); fill: currentColor; fill-opacity: .78; }

/* ---------------------------------------------------------------- Botões e selos */
.botao { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 54px; padding: 0 1.6em; border: 0; border-radius: 999px; font-size: 1rem; font-weight: 500; letter-spacing: -.005em; text-decoration: none; white-space: nowrap; cursor: pointer; transition: transform .15s var(--curva), background-color .25s, box-shadow .25s, color .25s; }
.botao:active { transform: scale(.97); }
.claro { background: var(--papel); color: var(--tinta); }
.contorno { background: rgba(244, 242, 238, .05); color: var(--papel); box-shadow: inset 0 0 0 1px var(--linha-forte); }
.pequeno { min-height: 44px; padding: 0 1.15em; font-size: .9375rem; }
.vidro, .selo, .redondo, .assistir, .tempo, .rotulo {
  background: var(--vidro); color: var(--papel);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .16);
}
.selo { display: inline-flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; font-size: .75rem; font-weight: 500; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.redondo { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; }
.halo { position: absolute; z-index: -1; pointer-events: none; filter: blur(46px) saturate(1.5); opacity: .42; transform: translateZ(0); }

/* ---------------------------------------------------------------- Barra do topo */
.topo { position: sticky; top: 0; z-index: 30; padding: 10px var(--lado) 0; pointer-events: none; }
.barra { display: flex; align-items: center; gap: 4px; max-width: var(--largura); min-height: 60px; margin: 0 auto; padding: 6px 6px 6px 18px; border-radius: 999px; background: rgba(18, 18, 18, .7); -webkit-backdrop-filter: blur(20px) saturate(1.5); backdrop-filter: blur(20px) saturate(1.5); box-shadow: inset 0 0 0 1px var(--linha), 0 12px 32px rgba(0, 0, 0, .28); pointer-events: auto; }
.barra .marca { margin-right: auto; padding: 4px 0; }
.barra .logo { height: 36px; }
.barra nav { display: flex; }
.barra nav a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 999px; color: var(--texto-2); font-size: .9375rem; text-decoration: none; transition: color .2s, background-color .2s; }
.barra nav a:nth-child(2), .barra nav a:nth-child(3), .barra .botao { display: none; }

/* ---------------------------------------------------------------- Abertura: o ponto acende e a cena ganha cor */
.abertura { display: grid; gap: 26px; padding: 12px var(--miolo) 8px; }
.cena-caixa { position: relative; isolation: isolate; }
.cena-caixa .halo { inset: 10% 4% -5%; }
.cena-caixa .halo img { width: 100%; height: 100%; object-fit: cover; }
.cena { position: relative; height: min(58svh, 36rem); min-height: 300px; overflow: hidden; border-radius: var(--r3); background: var(--superficie); transform: translateZ(0); }
.cena::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .1); pointer-events: none; }
.cena picture img, .cena video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.cena video { opacity: 0; transition: opacity .6s; }
.cena video.tocando { opacity: 1; }
.cena .selo { position: absolute; left: 14px; top: 14px; z-index: 2; }
.apagado { position: absolute; inset: 0; display: none; --x: 20%; --y: 120%; }
.pausar { position: absolute; right: 12px; bottom: 12px; z-index: 2; }
.chamada { padding: 0 2px; }
.chamada h1 { font-size: clamp(3rem, 14.5vw, 5.25rem); line-height: .94; }
.chamada .etiqueta + h1 { margin-top: 14px; }
.chamada .frase { margin-top: 16px; max-width: 26em; color: var(--texto-2); font-size: 1.125rem; line-height: 1.5; }
.acoes { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.acoes .botao { flex: 1 1 15rem; }

@media (prefers-reduced-motion: no-preference) {
  @supports ((backdrop-filter: grayscale(1)) or (-webkit-backdrop-filter: grayscale(1))) {
    .apagado {
      display: block;
      -webkit-backdrop-filter: grayscale(1) brightness(.8);
      backdrop-filter: grayscale(1) brightness(.8);
      -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), transparent var(--raio), #000 calc(var(--raio) + 18vmax));
      mask-image: radial-gradient(circle at var(--x) var(--y), transparent var(--raio), #000 calc(var(--raio) + 18vmax));
      animation: luz 1.6s .95s cubic-bezier(.45, 0, .2, 1) both;
    }
  }
  .abertura .ponto { animation: acende .12s .85s linear both; }
}
@media (max-width: 1023px) and (min-height: 541px) {
  .abertura { grid-template-areas: 'pilha'; padding-bottom: 0; }
  .cena-caixa, .chamada { grid-area: pilha; }
  .cena { height: calc(100svh - 82px); min-height: 34rem; max-height: 62rem; }
  .cena::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(12, 12, 11, .95) 10%, rgba(12, 12, 11, .72) 42%, rgba(12, 12, 11, .3) 62%, rgba(12, 12, 11, 0) 76%); pointer-events: none; }
  .cena picture img, .cena video { object-position: 50% 30%; }
  .pausar { top: 10px; bottom: auto; right: 10px; width: 40px; height: 40px; }
  .pausar .ic { width: 1.1em; height: 1.1em; }
  .chamada { position: relative; z-index: 2; align-self: end; padding: 0 20px 20px; }
  .chamada .etiqueta { color: var(--texto-2); }
  .chamada .frase { color: #D6D3CD; }
}

@keyframes luz { from { --raio: -18vmax; } 99% { visibility: visible; } to { --raio: 160vmax; visibility: hidden; } }
@keyframes acende { from { opacity: 0; } }

/* ---------------------------------------------------------------- Cabeçalho de cada seção */
.filmes, .servicos, .porque, .passos, .contato { padding-top: var(--secao); }
.cabeca { display: grid; gap: 16px; padding-inline: var(--miolo); }
.cabeca p { max-width: 32em; color: var(--texto-2); }

/* ---------------------------------------------------------------- Filmes */
.abas { display: flex; width: fit-content; max-width: calc(100% - 2 * var(--lado)); margin: 28px 0 0 var(--miolo); padding: 4px; border-radius: 999px; background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); }
.aba { display: flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; color: var(--texto-2); font-size: .9375rem; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color .35s var(--curva), color .35s; }
.aba[aria-selected="true"] { background: var(--papel); color: var(--tinta); }
.aba .longo { display: none; }
.grupo { display: flex; gap: 14px; padding: 30px var(--miolo) 44px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding-inline: var(--miolo); scrollbar-width: none; }
.grupo::-webkit-scrollbar { display: none; }
.peca { position: relative; isolation: isolate; flex: 0 0 min(76vw, 21rem); scroll-snap-align: start; }
.peca > .halo { left: 7%; top: 9%; width: 86%; aspect-ratio: 9 / 16; object-fit: cover; opacity: 0; transition: opacity .9s var(--curva); }
.peca.acesa > .halo { opacity: .5; }
.quadro { position: relative; display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--r2); background: var(--superficie); color: var(--papel); text-decoration: none; transform: translateZ(0); }
.quadro::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: linear-gradient(to top, rgba(10, 10, 10, .5), transparent 30%); box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .1); pointer-events: none; }
.quadro:focus-visible { outline-offset: 4px; }
.deitada .quadro { aspect-ratio: 16 / 9; }
.quadro img, .quadro video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--curva), opacity .5s; }
.quadro video { opacity: 0; }
.quadro video.tocando { opacity: 1; }
.quadro .selo { position: absolute; left: 12px; top: 12px; z-index: 2; }
.assistir { position: absolute; left: 12px; bottom: 12px; z-index: 2; display: flex; align-items: center; gap: .5em; min-height: 44px; padding: 0 1.1em 0 .95em; border-radius: 999px; font-size: .9375rem; font-weight: 500; transition: background-color .25s, color .25s, transform .2s var(--curva); }
.assistir .ic { width: 1em; height: 1em; }
.quadro:active .assistir { transform: scale(.96); }
.tempo { position: absolute; right: 12px; bottom: 18px; z-index: 2; display: flex; align-items: center; min-height: 30px; padding: 0 10px; border-radius: 999px; font: 400 .75rem/1 var(--medida); letter-spacing: .03em; }
.legenda { padding: 18px 2px 0; }
.legenda h4 { margin-top: 6px; font-size: 1.25rem; }
.legenda p:last-child { margin-top: 8px; color: var(--texto-2); font-size: .96875rem; line-height: 1.55; }
.convite-caixa { display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; aspect-ratio: 9 / 16; padding: 26px 22px; border-radius: var(--r2); background: radial-gradient(90% 60% at 50% 0%, rgba(226, 66, 43, .14), transparent 70%), linear-gradient(180deg, var(--superficie-2), var(--superficie)); box-shadow: inset 0 0 0 1px var(--linha); }
.convite-titulo { font-size: clamp(1.75rem, 7vw, 2.25rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; }
.convite-caixa p:not(.convite-titulo) { color: var(--texto-2); font-size: .96875rem; }
.convite-caixa .botao { margin-top: 8px; padding: 0 1.2em; }

/* ---------------------------------------------------------------- Serviços, com o antes e depois */
.comparar { display: grid; gap: 14px; margin-top: 30px; padding-inline: var(--miolo); }
.comparar figure { display: grid; gap: 14px; }
.antes-depois { --p: 50%; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r3); background: var(--superficie); isolation: isolate; transform: translateZ(0); }
.antes-depois::after { content: ''; position: absolute; inset: 0; z-index: 3; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(244, 242, 238, .1); pointer-events: none; }
.antes-depois img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.antes-depois .antes { clip-path: inset(0 calc(100% - var(--p)) 0 0); }
.antes-depois .linha { position: absolute; top: 0; bottom: 0; left: var(--p); z-index: 2; width: 2px; margin-left: -1px; background: rgba(244, 242, 238, .92); }
.antes-depois .linha::after { content: ''; position: absolute; left: 50%; top: 58%; width: 42px; height: 42px; margin: -21px; border-radius: 50%; background: var(--vermelhao); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.rotulo { position: absolute; top: 14px; z-index: 2; display: flex; align-items: center; min-height: 28px; padding: 0 11px; border-radius: 999px; font: 400 .75rem/1 var(--medida); letter-spacing: .04em; pointer-events: none; }
.rotulo-antes { left: 14px; }
.rotulo-depois { right: 14px; }
.antes-depois input { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.antes-depois:has(input:focus-visible) { outline: 2px solid var(--papel); outline-offset: 4px; }
figcaption { display: grid; gap: 2px; padding: 0 2px; color: var(--texto-2); font-size: .96875rem; }
.trocar { display: flex; width: fit-content; padding: 4px; border-radius: 999px; background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); }
.trocar button { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: none; color: var(--texto-2); font-size: .9375rem; font-weight: 500; cursor: pointer; transition: background-color .35s var(--curva), color .35s; }
.trocar [aria-pressed="true"] { background: var(--papel); color: var(--tinta); }
.planos { display: grid; gap: 14px; margin-top: clamp(40px, 6vw, 72px); padding-inline: var(--miolo); }
.plano { padding: 26px 22px 8px; border-radius: var(--r3); background: linear-gradient(180deg, var(--superficie-2), var(--superficie) 55%); box-shadow: inset 0 0 0 1px var(--linha); }
.plano h3 { font-size: 1.375rem; letter-spacing: -.03em; }
.plano dl { margin-top: 18px; }
.plano dl > div { padding: 18px 0; border-top: 1px solid var(--linha); }
.plano dt { font-size: 1.125rem; }
.plano dd { margin-top: 6px; color: var(--texto-2); font-size: .96875rem; }

/* ---------------------------------------------------------------- Por que IA com edição */
.porque { padding-inline: var(--miolo); }
.porque-painel { display: grid; gap: 28px; padding: 12px; border-radius: calc(var(--r3) + 8px); background: radial-gradient(120% 70% at 0% 0%, #262624, var(--superficie) 62%); box-shadow: inset 0 0 0 1px var(--linha); }
.montagem-caixa { position: relative; isolation: isolate; }
.montagem-caixa .halo { inset: 8% 6% -4%; width: 88%; height: auto; object-fit: cover; opacity: 0; transition: opacity 1s var(--curva); }
.montagem-caixa.acesa .halo { opacity: .38; }
.montagem { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r3); background: var(--tinta); transform: translateZ(0); }
.montagem img, .montagem video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.montagem video { opacity: 0; transition: opacity .6s; }
.montagem video.tocando { opacity: 1; }
.montagem .selo { position: absolute; left: 14px; top: 14px; z-index: 2; }
.porque-texto { padding: 6px 10px 14px; }
.porque h2 { font-size: clamp(2.125rem, 4.4vw, 3.75rem); }
.porque-texto > p { margin-top: 18px; max-width: 32em; color: var(--texto-2); }
.beneficios { margin-top: 28px; }
.beneficios > div { padding: 16px 0; border-top: 1px solid var(--linha); }
.beneficios > div:last-child { padding-bottom: 0; }
.beneficios dt { font-size: 1.125rem; }
.beneficios dd { margin-top: 4px; color: var(--texto-2); font-size: .96875rem; }

/* ---------------------------------------------------------------- Como funciona: uma linha liga os quatro passos */
.passos ol { position: relative; display: grid; gap: 34px; margin-top: clamp(36px, 5vw, 72px); padding-inline: var(--miolo); }
.passos ol::before { content: ''; position: absolute; left: calc(var(--miolo) + 27px); top: 28px; bottom: 40px; width: 1px; background: linear-gradient(var(--linha-forte), var(--linha)); }
.passos li { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 18px; align-content: start; }
.icone { grid-row: 1 / span 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: linear-gradient(180deg, #282826, #1A1A19); box-shadow: inset 0 0 0 1px var(--linha-forte), 0 10px 24px rgba(0, 0, 0, .35); color: var(--papel); }
.icone .ic { width: 26px; height: 26px; }
.numero { padding-top: 3px; font: 400 .8125rem/1.4 var(--medida); letter-spacing: .04em; color: var(--texto-3); }
.passos h3 { margin-top: 2px; font-size: 1.375rem; letter-spacing: -.025em; }
.passos li p { margin-top: 8px; max-width: 30em; color: var(--texto-2); font-size: .96875rem; }

/* ---------------------------------------------------------------- Contato */
.contato { padding-inline: var(--miolo); }
.cartaz { position: relative; display: grid; overflow: hidden; border-radius: calc(var(--r3) + 6px); background: var(--superficie); box-shadow: inset 0 0 0 1px var(--linha); isolation: isolate; }
.cartaz-foto { position: relative; }
.cartaz-foto img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 30%; }
.cartaz-foto::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, var(--superficie), transparent 45%); }
.cartaz-texto { position: relative; padding: 0 22px 26px; margin-top: -28px; }
.cartaz h2 { font-size: clamp(2.375rem, 10vw, 4.75rem); }
.cartaz-texto > p { margin-top: 18px; max-width: 30em; color: var(--texto-2); }
.cartaz-texto > .botao { width: 100%; margin-top: 26px; }
.redes { display: grid; gap: 10px; margin-top: 14px; }
.redes a { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 10px 16px 10px 10px; border-radius: 18px; background: rgba(244, 242, 238, .04); box-shadow: inset 0 0 0 1px var(--linha); text-decoration: none; transition: background-color .25s; }
.redes .ic { width: 44px; height: 44px; padding: 10px; border-radius: 13px; background: rgba(244, 242, 238, .07); }
.redes a > span { display: grid; min-width: 0; }
.redes .etiqueta { font-size: .75rem; }
.usuario { font-weight: 500; overflow-wrap: anywhere; }

/* ---------------------------------------------------------------- Rodapé */
.rodape { margin-top: var(--secao); padding: 52px var(--miolo) calc(104px + env(safe-area-inset-bottom)); border-radius: 34px 34px 0 0; background: var(--fundo-fundo); box-shadow: inset 0 1px 0 var(--linha); color: var(--texto-2); }
.rodape-corpo { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; }
.rodape-marca { grid-column: 1 / -1; }
.rodape .logo { height: 58px; color: var(--papel); }
.rodape-marca p { margin-top: 20px; max-width: 24em; font-size: .96875rem; }
.rodape .etiqueta { margin-bottom: 10px; }
.rodape ul a { display: inline-block; padding: 7px 0; text-decoration: none; transition: color .2s; }
.rodape-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 32px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--linha); color: var(--texto-3); font-size: .875rem; }
.rodape-base p:first-child { max-width: 40em; }

.flutuante { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 25; width: 60px; height: 60px; min-height: 0; padding: 0; border-radius: 50%; font-size: 1.3rem; box-shadow: 0 14px 34px rgba(0, 0, 0, .5); transition: transform .35s var(--curva), visibility .35s; }
.flutuante span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.flutuante:not(.pronto) { visibility: hidden; }
.flutuante.escondido { transform: translateY(160%); visibility: hidden; }

/* ---------------------------------------------------------------- Player em tela cheia */
.player { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: #0A0A0A; color: var(--papel); overflow: hidden; }
.player[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.player::backdrop { background: #0A0A0A; }
.palco { position: relative; min-height: 0; touch-action: none; }
.palco video { width: 100%; height: 100%; object-fit: contain; cursor: pointer; }
.acabou { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; background: rgba(10, 10, 10, .92); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.acabou p { margin-bottom: 10px; font-size: clamp(1.875rem, 8vw, 3rem); font-weight: 500; letter-spacing: -.04em; line-height: 1.05; text-align: center; }
.acabou .botao { min-width: 15rem; }
.acabou button:not(.contorno) { background: none; color: var(--papel); }
.player > .selo { position: absolute; left: 14px; top: calc(16px + env(safe-area-inset-top)); }
.player .fechar { position: absolute; right: 12px; top: calc(12px + env(safe-area-inset-top)); }
.anterior, .proximo { position: absolute; top: 50%; margin-top: -24px; display: none; }
.anterior .ic { transform: scaleX(-1); }
.controles { display: flex; align-items: center; gap: 4px; width: 100%; max-width: 46rem; margin: 0 auto; padding: 4px 8px calc(6px + env(safe-area-inset-bottom)); }
.controles button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer; }
.controles input { --v: 0%; flex: 1; min-width: 0; height: 48px; margin: 0; background: none; -webkit-appearance: none; appearance: none; cursor: pointer; }
.controles input::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--papel) var(--v), #4A4946 var(--v)); }
.controles input::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--papel) var(--v), #4A4946 var(--v)); }
.controles input::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; margin-top: -6.5px; border-radius: 50%; background: var(--vermelhao); }
.controles input::-moz-range-thumb { width: 16px; height: 16px; border: 0; border-radius: 50%; background: var(--vermelhao); }
.ic-play, .ic-mudo { display: none; }
.quadro .ic-play, .acoes .ic-play { display: block; }
.parado .ic-play, .sem-som .ic-mudo { display: block; }
.parado .ic-pausa, .sem-som .ic-som { display: none; }

.perdida main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 24px; min-height: 100svh; padding: var(--lado); }
.perdida h1 { font-size: clamp(2.75rem, 9vw, 6rem); }
.perdida p { color: var(--texto-2); }
.perdida .ponto { animation: none; }

/* ---------------------------------------------------------------- Celulares grandes e tablets */
@media (min-width: 560px) {
  .aba .longo { display: inline; }
  .aba .curto { display: none; }
  .cartaz-texto > .botao { width: auto; }
  .redes { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 700px) {
  .barra nav a:nth-child(2) { display: flex; }
  .barra { padding-left: 22px; }
  .rodape-corpo { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .rodape-marca { grid-column: auto; }
  .rodape { padding-bottom: 36px; }
  .peca { flex-basis: 19rem; }
  .comparar { grid-template-columns: 1fr 1fr; }
  .comparar figure[hidden] { display: grid !important; }
  .trocar { display: none !important; }
  .planos { grid-template-columns: 1fr 1fr; }
  .plano { padding: 32px 30px 10px; }
  .porque-painel { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: clamp(24px, 4vw, 72px); padding: 16px; }
  .porque-texto { padding: 24px clamp(8px, 2vw, 40px) 24px 0; }
  .cartaz { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); min-height: 36rem; }
  .cartaz-foto { order: 2; }
  .cartaz-foto img { height: 100%; aspect-ratio: auto; object-position: 50% 40%; }
  .cartaz-foto::after { background: linear-gradient(to right, var(--superficie), transparent 38%); }
  .cartaz-texto { align-self: center; margin: 0; padding: clamp(36px, 5vw, 76px); padding-right: 12px; }
  .redes { grid-template-columns: 1fr; max-width: 22rem; }
}

/* ---------------------------------------------------------------- Computador */
@media (min-width: 1024px) {
  .barra nav a:nth-child(3) { display: flex; }
  .barra .botao { display: inline-flex; margin-left: 8px; }
  .barra .logo { height: 40px; }
  .abertura { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; column-gap: clamp(48px, 6vw, 112px); min-height: calc(100svh - 70px); padding-top: 24px; padding-bottom: 40px; }
  .cena-caixa { order: 2; }
  .cena { height: min(calc(100svh - 140px), 54rem); min-height: 32rem; }
  .cena .selo { left: 18px; top: 18px; }
  .pausar { right: 18px; bottom: 18px; }
  .chamada h1 { font-size: clamp(4.25rem, 7.4vw, 7.75rem); }
  .chamada .frase { margin-top: 26px; max-width: 22em; font-size: 1.25rem; }
  .acoes { margin-top: 40px; }
  .acoes .botao { flex: none; }

  .cabeca { grid-template-columns: minmax(0, 1fr) minmax(0, 25rem); align-items: end; column-gap: 64px; }
  .cabeca p { padding-bottom: 6px; }
  .abas { margin-top: 44px; }
  .grupo { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; padding-top: 36px; overflow: visible; }
  .grupo[data-qtd="4"] .convite { display: none; }
  /* Com só 1 ou 2 filmes, o convite ocupa o resto da fileira, na mesma altura dos vídeos */
  .grupo[data-qtd="2"] .convite { grid-column: span 2; container-type: inline-size; }
  .grupo[data-qtd="1"] .convite { grid-column: span 3; container-type: inline-size; }
  .grupo[data-qtd="2"] .convite-caixa { aspect-ratio: 9 / 8; width: 100%; height: calc((100cqw - 22px) * 8 / 9); padding: 40px 44px; }
  .grupo[data-qtd="1"] .convite-caixa { aspect-ratio: 27 / 16; width: 100%; height: calc((100cqw - 44px) * 16 / 27); padding: 40px 44px; }
  .grupo[data-qtd="2"] .convite-titulo, .grupo[data-qtd="1"] .convite-titulo { font-size: 3.25rem; }
  .grupo[data-qtd="2"] .convite-caixa p:not(.convite-titulo), .grupo[data-qtd="1"] .convite-caixa p:not(.convite-titulo) { max-width: 24em; font-size: 1.0625rem; }
  .grupo[data-qtd="2"] .convite-caixa .botao, .grupo[data-qtd="1"] .convite-caixa .botao { align-self: flex-start; }
  .peca.deitada { grid-column: span 2; }
  .convite-titulo { font-size: 2.25rem; }
  .comparar { margin-top: 48px; gap: 22px; }
  .antes-depois { aspect-ratio: 1; }
  .planos { gap: 22px; }
  .plano { padding: 40px 40px 14px; }
  .plano dl > div { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); column-gap: 24px; }
  .plano dd { margin-top: 0; }

  .passos ol { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; }
  .passos ol::before { left: var(--miolo); right: var(--miolo); top: 28px; bottom: auto; width: auto; height: 1px; background: linear-gradient(to right, var(--linha-forte), var(--linha)); }
  .passos li { grid-template-columns: 1fr; }
  .icone { grid-row: auto; margin-bottom: 28px; }
  .passos h3 { margin-top: 6px; }

  .flutuante { display: none; }
  .anterior, .proximo { display: grid; }
  .anterior { left: 24px; }
  .proximo { right: 24px; }
  .palco { padding: 24px 96px 8px; }
  .palco video { border-radius: var(--r2); }
}

/* Celular deitado: texto de um lado, vídeo do outro */
@media (min-width: 560px) and (max-width: 1023px) and (max-height: 540px) {
  .topo { position: relative; }
  .abertura { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; column-gap: 24px; }
  .cena-caixa { order: 2; }
  .cena { height: calc(100svh - 96px); min-height: 250px; }
  .chamada h1 { font-size: 2.5rem; }
  .chamada .etiqueta + h1 { margin-top: 8px; }
  .chamada .frase { margin-top: 10px; font-size: 1rem; }
  .acoes { margin-top: 16px; }
  .acoes .botao { flex: none; min-height: 46px; }
  .acoes .contorno { display: none; }
}

@media (hover: hover) {
  .claro:hover { background: #fff; }
  .contorno:hover { background: rgba(244, 242, 238, .1); }
  .barra nav a:hover { color: var(--papel); background: rgba(244, 242, 238, .07); }
  .aba[aria-selected="false"]:hover, .trocar [aria-pressed="false"]:hover { color: var(--papel); }
  .quadro:hover img { transform: scale(1.035); }
  .quadro:hover .assistir { background: var(--papel); color: var(--tinta); }
  .peca:hover > .halo { opacity: .5; }
  .redes a:hover { background: rgba(244, 242, 238, .08); }
  .rodape ul a:hover { color: var(--papel); }
  .redondo:hover { background: rgba(40, 40, 38, .8); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
