/* Nível +2 · cinema. Três ideias grandes, o resto herda do +1:
   1) o hero é um filme curto (linha do tempo única, dá pra pausar);
   2) o ponto laranja da marca desce a página com você e vira o ponto final do "bruno.";
   3) cada seção segura a tela enquanto a cena acontece, comandada pela rolagem. */
#page { position: relative; }
.eb .d { opacity: .35; }
[data-hero] { position: relative; z-index: 1; transform-origin: 50% 0; }
.sec:not([data-hero]), .band { position: relative; z-index: 2; }
.band { background: var(--lt); color: var(--ink); border-radius: 36px 36px 0 0; box-shadow: 0 -30px 60px -20px rgba(0,0,0,.55); padding: 44px 0 20px; overflow: hidden; }
.band + .sec { }
.mq { display: flex; gap: .5em; white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 92px; letter-spacing: -.04em; line-height: 1.05; will-change: transform; }
.mq span { display: inline-flex; align-items: center; gap: .5em; }
.mq span::after { content: ""; width: .16em; height: .16em; border-radius: 50%; background: var(--accent-lt); }
.mq .o { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }

/* filme do hero */
.film { position: relative; width: 100%; max-width: 560px; margin: 0 auto; aspect-ratio: 440 / 584; border-radius: 24px; overflow: hidden; background: #111110; border: 1px solid var(--dk-line); box-shadow: 0 40px 90px -40px rgba(0,0,0,.8); }
.stage { position: absolute; left: 0; top: 0; width: 440px; height: 520px; transform-origin: 0 0; perspective: 1100px; }
.film-ui { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; align-items: center; gap: 12px; z-index: 5; }
.fbtn { width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.fbtn:hover { background: rgba(255,255,255,.2); }
.fbar { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.14); overflow: hidden; }
.fbar i { display: block; height: 100%; background: var(--dk-ink); transform-origin: left; transform: scaleX(0); }
.flabel { font-size: 12px; color: var(--dk-ink4); white-space: nowrap; }
.abs { position: absolute; }

/* filme · pra-onde */
.fp-world { position: absolute; inset: 0; transform-origin: 0 0; }
.fp-line { position: absolute; left: 26px; width: 388px; height: 30px; display: flex; align-items: center; gap: 12px; font-size: 16px; letter-spacing: .05em; color: #8A8A82; white-space: nowrap; }
.fp-line .sw { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; opacity: 0; }
.fp-line .t { overflow: hidden; text-overflow: ellipsis; }
.fp-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255,122,71,.18); left: 0; top: 0; z-index: 3; }
.fp-chip { font-size: 14px; font-weight: 700; padding: 5px 10px; border-radius: 8px; background: rgba(91,141,239,.2); color: #B9CEFA; transform-origin: left center; }
.fp-bars { left: 26px; top: 44px; width: 388px; display: flex; flex-direction: column; gap: 16px; opacity: 0; }
.fp-bars .hd { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; color: var(--dk-ink3); font-weight: 600; }
.fp-bars .tot { font-family: var(--display); font-size: 44px; font-weight: 700; letter-spacing: -.03em; color: var(--dk-ink); }
.fp-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; font-size: 16px; }
.fp-bar b { font-weight: 600; }
.fp-bar .tr { grid-column: 1 / -1; height: 12px; border-radius: 6px; background: rgba(255,255,255,.07); overflow: hidden; }
.fp-bar .fl { display: block; height: 100%; border-radius: 6px; transform-origin: left; }

/* filme · sem-planilha */
.fs-day { left: 30px; top: 30px; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; color: var(--dk-ink); }
.fs-sheet { left: 30px; top: 86px; width: 380px; background: #F7F7F4; color: var(--ink); border-radius: 14px; overflow: hidden; transform-origin: 50% 0; }
.fs-r { display: grid; grid-template-columns: 34px minmax(0, 1fr) 110px; height: 46px; align-items: center; border-top: 1px solid rgba(0,0,0,.08); font-size: 16px; }
.fs-r:first-child { border-top: 0; background: #ECEBE6; height: 34px; font-size: 13px; color: var(--ink4); font-weight: 600; }
.fs-r > span { padding: 0 10px; height: 100%; display: flex; align-items: center; border-left: 1px solid rgba(0,0,0,.08); }
.fs-r > span:first-child { border-left: 0; justify-content: center; color: var(--ink4); font-size: 13px; background: #F1F0EC; }
.fs-cur { box-shadow: inset 0 0 0 2px #1B5BBA; }
.fs-caret { display: inline-block; width: 2px; height: 20px; background: var(--ink); margin-left: 1px; animation: caret 1s steps(1) infinite; }
.fs-list { left: 30px; top: 30px; width: 380px; background: var(--dk-elev); border: 1px solid var(--dk-line); border-radius: 18px; padding: 16px 18px; opacity: 0; }
.fs-lh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; font-size: 15px; color: var(--dk-ink3); font-weight: 600; }
.fs-lh b { font-family: var(--display); font-size: 26px; color: var(--dk-ink); }
.fs-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--dk-line); font-size: 16px; }
.fs-row .n { display: flex; align-items: center; gap: 10px; min-width: 0; white-space: nowrap; overflow: hidden; }
.fs-row .n i { width: 10px; height: 10px; border-radius: 3px; flex-shrink: 0; }
.fs-row .n small { font-size: 14px; color: var(--dk-ink3); }
.fs-foot { display: flex; justify-content: space-between; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.16); font-weight: 700; font-size: 16px; }

/* filme · casal */
.fc-av { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--dk); font-weight: 700; font-size: 20px; top: 34px; }
.fc-nm { top: 94px; font-size: 15px; font-weight: 600; color: var(--dk-ink2); width: 54px; text-align: center; }
.fc-row { left: 30px; width: 380px; height: 54px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 0 14px; border-radius: 14px; background: var(--dk-elev); border: 1px solid var(--dk-line); font-size: 16px; }
.fc-row small { display: block; font-size: 13px; color: var(--dk-ink3); }
.fc-row.ok { background: rgba(69,212,154,.14); border-color: rgba(69,212,154,.4); }
.fc-meter { left: 30px; top: 424px; width: 380px; height: 20px; }
.fc-meter .tk { position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: rgba(255,255,255,.14); }
.fc-meter .md { position: absolute; left: 50%; top: 2px; width: 2px; height: 16px; background: rgba(255,255,255,.3); }
.fc-nt { position: absolute; inset: 0; display: flex; justify-content: center; }
.fc-needle { width: 20px; height: 20px; border-radius: 50%; background: var(--dk-ink); }
.fc-bal { left: 0; width: 440px; top: 452px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -.02em; }
.fc-pix { padding: 6px 12px; border-radius: 999px; background: var(--pos); color: var(--dk); font-size: 14px; font-weight: 700; opacity: 0; z-index: 4; }

/* filme · tudo-junto */
.ft-ph { width: 170px; height: 214px; padding: 14px; border-radius: 22px; background: var(--dk-elev); border: 1px solid rgba(255,255,255,.12); box-shadow: inset 0 3px 0 var(--c), 0 20px 40px -20px rgba(0,0,0,.7); display: flex; flex-direction: column; gap: 6px; }
.ft-ph b { font-size: 17px; }
.ft-ph small { font-size: 13px; color: var(--dk-ink3); }
.ft-ph .r { display: flex; justify-content: space-between; gap: 6px; padding: 8px 0; border-top: 1px solid var(--dk-line); font-size: 14px; color: var(--dk-ink2); }
.ft-ph .r span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ft-ph .r span:last-child { white-space: nowrap; }
.ft-flash { width: 120px; height: 120px; border-radius: 50%; left: 160px; top: 200px; background: radial-gradient(circle, rgba(255,122,71,.45), rgba(255,122,71,0) 70%); opacity: 0; }
.ft-mg { left: 30px; top: 30px; width: 380px; padding: 16px 18px; border-radius: 20px; background: var(--dk-elev); border: 1px solid rgba(255,255,255,.14); opacity: 0; }
.ft-mh { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; }
.ft-mh small { display: block; font-size: 13px; color: var(--dk-ink3); }
.ft-mh > span:first-child { min-width: 0; }
.ft-mh .s { white-space: nowrap; font-family: var(--display); font-weight: 700; font-size: 30px; letter-spacing: -.02em; }
.ft-n { display: flex; align-items: center; gap: 8px; }
.ft-r { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 0; border-top: 1px solid var(--dk-line); font-size: 16px; }
.ft-r .bt { display: inline-flex; }
.ft-r span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* narrador */
.narrator { position: absolute; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255,122,71,.16); z-index: 40; pointer-events: none; will-change: transform; }
.bigmark { padding-block: 24px 8px; }
.bigmark .wm { font-size: 300px; letter-spacing: -.065em; color: var(--dk-ink); }
.bigmark .wm i { opacity: 0; }

@media (max-width: 860px) {
  .mq { font-size: 52px; }
  .band { border-radius: 26px 26px 0 0; padding: 30px 0 12px; }
  .bigmark .wm { font-size: 34vw; }
}
@media (prefers-reduced-motion: reduce) {
  .narrator { display: none; }
  .eb .d, .bigmark .wm i { opacity: 1; }
}
