/* ==========================================================================
   IGNIS Audiovisual — "A chama que guarda"
   CSS puro, sem build. Ordem: tokens · base · utilitários · sistema de cinema
   (grão, letterbox, slate, legendas) · header/menu · cursor · preloader/cortina
   · componentes · páginas · movimento reduzido.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #0D0B0A;
  --ink-2: #14110F;
  --ink-3: #1D1916;
  --line: rgba(238, 231, 220, .14);
  --line-2: rgba(238, 231, 220, .26);
  --paper: #EEE7DC;
  --paper-2: #E4DBCD;
  --bone-dim: #B3A797;       /* secundário sobre o preto: 8.1:1 */
  --mute: #A39686;           /* terciário sobre o preto: 6.6:1 */
  --ink-mute: #5B5148;       /* secundário sobre o papel: 6.4:1 */
  --ember-1: #F39A1E;
  --ember-2: #D9301A;
  --ember: linear-gradient(100deg, #F39A1E 0%, #EC6A1C 50%, #D9301A 100%);
  --ember-v: linear-gradient(180deg, #F59A1A 0%, #F2721A 50%, #D2281A 100%);

  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --header-h: 76px;
  --section: clamp(96px, 11vw, 180px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --cine: 2.39;
}
@media (max-width: 767px) { :root { --header-h: 64px; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--ember-2); color: var(--paper); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--ember-1); outline-offset: 4px; border-radius: 2px; }
.is-paper :focus-visible { outline-color: var(--ember-2); }

.skip {
  position: fixed; left: var(--gutter); top: 12px; z-index: 1000; transform: translateY(-200%); opacity: 0; pointer-events: none;
  background: var(--paper); color: var(--ink); padding: 12px 18px; font: 500 13px/1 var(--mono);
  letter-spacing: .08em; text-transform: uppercase; transition: transform .3s var(--ease);
}
.skip:focus, .skip:focus-visible { transform: none; opacity: 1; pointer-events: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---------- Tipografia ---------- */
.serif { font-family: var(--serif); font-weight: 400; }
.display {
  font-family: var(--serif); font-weight: 400; line-height: .9; letter-spacing: -.02em;
  font-size: clamp(64px, 12vw, 260px);
}
.display em, .serif em, .h2 em, .h3 em, .lead em, .quote em { font-style: italic; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(48px, 7.4vw, 140px); line-height: .94; letter-spacing: -.015em; }
.h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4vw, 64px); line-height: 1; letter-spacing: -.01em; }
.lead { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 44px); line-height: 1.16; letter-spacing: -.005em; }
.body-l { font-size: clamp(17px, 1.25vw, 20px); line-height: 1.65; color: var(--bone-dim); max-width: 38em; }
.is-paper .body-l { color: var(--ink-mute); }
.mono, .slate, .meta { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.ember-text {
  background: var(--ember); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-right: .06em;
}
.mute { color: var(--mute); }
/* Máscaras de linha: folga para descendentes (g, j, p) e itálicos não serem cortados */
.line-mask { overflow: hidden; display: block; padding: 0 .14em .22em; margin: 0 -.14em -.22em; }
.sl-mask { padding: 0 .14em .22em; margin: 0 -.14em -.22em; }
.nowrap { white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap { padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }
.is-paper { background: var(--paper); color: var(--ink); }
.grid-12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); }
main { display: block; position: relative; z-index: 1; }

/* ---------- Sistema de cinema ---------- */
/* Slate: numeração de cena + rótulo + timecode */
.slate { display: flex; align-items: baseline; gap: 14px; color: var(--mute); }
.slate__n { color: var(--paper); }
.is-paper .slate { color: var(--ink-mute); }
.is-paper .slate__n { color: var(--ink); }
.slate__rule { flex: 1; height: 1px; background: currentColor; opacity: .35; align-self: center; min-width: 24px; }
.slate__tc { font-variant-numeric: tabular-nums; }

/* Grão de filme: um ladrilho de ruído gerado em canvas, animado por passos */
.grain {
  position: fixed; inset: -100%; width: 300%; height: 300%; z-index: 900; pointer-events: none;
  opacity: .075; mix-blend-mode: overlay; background-repeat: repeat; background-size: 180px 180px;
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 17% { transform: translate(-6%, 4%); } 33% { transform: translate(5%, -7%); }
  50% { transform: translate(-3%, 8%); } 67% { transform: translate(8%, 2%); } 83% { transform: translate(-7%, -4%); } 100% { transform: translate(2%, 6%); }
}
.vignette::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 50%, transparent 55%, rgba(13, 11, 10, .55) 100%);
}

/* Mídia */
.media { position: relative; overflow: hidden; background: var(--ink-3); }
.media > img, .media > video, .media__inner > img, .media__inner > video { width: 100%; height: 100%; object-fit: cover; }
.media__inner { position: absolute; inset: -8% 0; will-change: transform; }
.media video { position: absolute; inset: 0; opacity: 0; transition: opacity .8s var(--ease); }
.media video.is-playing { opacity: 1; }
.media > img { position: absolute; inset: 0; }

/* Legenda estilo filme */
.subtitle {
  font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.5vw, 24px); line-height: 1.3;
  color: var(--paper); text-align: center; text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
.figcap { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; color: var(--mute); }
.figcap em { font-family: var(--serif); font-size: 19px; letter-spacing: 0; text-transform: none; color: var(--paper); }

/* ---------- Links e botões ---------- */
.link {
  position: relative; display: inline-flex; align-items: center; gap: .6em; padding-block: 6px;
  font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase;
}
.link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform-origin: right; transition: transform .6s var(--ease);
}
.link:hover::after { transform: scaleX(0); }
.link .arw { display: inline-block; transition: transform .5s var(--ease); }
.link:hover .arw { transform: translateX(4px); }
.link--big { font: 400 clamp(28px, 3vw, 46px)/1.05 var(--serif); letter-spacing: -.01em; text-transform: none; padding-bottom: 10px; }
.link--big::after { height: 1px; }
.pill {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 99px;
  border: 1px solid var(--line-2); font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase;
  transition: background .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.pill:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.is-paper .pill { border-color: rgba(13, 11, 10, .3); }
.is-paper .pill:hover { background: var(--ink); color: var(--paper); }
.pill--ember { border: 0; background: var(--ember); color: #160805; }
.pill--ember:hover { background: var(--paper); color: var(--ink); }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 14px; }
.logo__flame { width: 21px; height: 30px; flex: none; }
.logo__word { width: 62px; height: 20px; color: inherit; }
.flame-glow { filter: drop-shadow(0 0 22px rgba(240, 110, 30, .38)); }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; padding-inline: var(--gutter);
  color: var(--paper); transition: transform .7s var(--ease), color .5s var(--ease);
}
.header.on-paper { color: var(--ink); }
.header.on-paper::before { background: linear-gradient(180deg, rgba(238, 231, 220, .9), rgba(238, 231, 220, 0)); }
.header.on-paper .nav a sup { color: var(--ink-mute); }
.menu-open .header { color: var(--paper); }
.menu-open .header::before { opacity: 0; }
.header::before {
  content: ''; position: absolute; inset: 0 0 -40px; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(13, 11, 10, .82), rgba(13, 11, 10, 0)); transition: opacity .5s var(--ease);
}
.header.is-scrolled::before { opacity: 1; }
.header.is-hidden { transform: translateY(-110%); }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 44px); }
.nav a {
  position: relative; font-size: 14px; letter-spacing: .01em; padding: 8px 0; color: inherit;
  display: inline-flex; align-items: baseline; gap: 6px;
}
.nav a sup { font: 10px/1 var(--mono); color: var(--mute); letter-spacing: .04em; }
.nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"]::before {
  content: ''; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--ember);
}
.menu-btn { display: none; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; height: 44px; padding: 0 2px; }
.menu-btn__lines { position: relative; width: 22px; height: 8px; }
.menu-btn__lines::before, .menu-btn__lines::after { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.menu-btn__lines::before { top: 0; }
.menu-btn__lines::after { top: 7px; }
.menu-open .menu-btn__lines::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-btn__lines::after { top: 4px; transform: rotate(-45deg); }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}

/* Menu em tela cheia (celular) */
.mmenu {
  position: fixed; inset: 0; z-index: 450; background: var(--ink); display: flex; flex-direction: column;
  padding: calc(var(--header-h) + 32px) var(--gutter) 28px; visibility: hidden;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io), visibility 0s .8s;
}
.menu-open .mmenu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path .8s var(--ease-io), visibility 0s 0s; }
.mmenu__list { display: flex; flex-direction: column; gap: 4px; }
.mmenu__list a { display: flex; align-items: baseline; gap: 14px; font: 400 clamp(46px, 13vw, 76px)/1.02 var(--serif); letter-spacing: -.015em; }
.mmenu__list a span { font: 11px/1 var(--mono); color: var(--mute); letter-spacing: .08em; transform: translateY(-1.4em); }
.mmenu__list a em { font-style: italic; }
.mmenu__list li { overflow: hidden; }
.mmenu__list li > a { transform: translateY(105%); transition: transform .9s var(--ease); }
.menu-open .mmenu__list li > a { transform: none; }
.menu-open .mmenu__list li:nth-child(1) > a { transition-delay: .18s; }
.menu-open .mmenu__list li:nth-child(2) > a { transition-delay: .24s; }
.menu-open .mmenu__list li:nth-child(3) > a { transition-delay: .30s; }
.menu-open .mmenu__list li:nth-child(4) > a { transition-delay: .36s; }
.menu-open .mmenu__list li:nth-child(5) > a { transition-delay: .42s; }
.mmenu__foot { margin-top: auto; display: grid; gap: 18px; color: var(--mute); opacity: 0; transition: opacity .6s var(--ease) .5s; }
.menu-open .mmenu__foot { opacity: 1; }
.mmenu__foot .mmenu__row { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.mmenu__foot a { color: var(--paper); }
.mmenu__flame { position: absolute; right: var(--gutter); bottom: 116px; width: 56px; height: 80px; opacity: 0; transition: opacity .8s var(--ease) .6s; }
.menu-open .mmenu__flame { opacity: .95; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 950; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor__dot {
  position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--paper);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: width .5s var(--ease), height .5s var(--ease), left .5s var(--ease), top .5s var(--ease), background .4s var(--ease), opacity .3s;
}
.cursor__label { font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); opacity: 0; white-space: nowrap; transition: opacity .3s; }
.cursor.is-label .cursor__dot { width: 104px; height: 104px; left: -52px; top: -52px; background: var(--paper); }
.cursor.is-label .cursor__label { opacity: 1; transition-delay: .12s; }
.cursor.is-link .cursor__dot { width: 44px; height: 44px; left: -22px; top: -22px; background: rgba(238, 231, 220, .14); backdrop-filter: blur(2px); }
.cursor.is-hidden .cursor__dot { opacity: 0; }
/* Sobre fundos claros (.is-paper, botões ativos etc.) o cursor inverte */
.cursor.on-light .cursor__dot { background: var(--ink); }
.cursor.on-light .cursor__label { color: var(--paper); }
.cursor.on-light.is-link .cursor__dot { background: rgba(13, 11, 10, .14); }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.has-cursor input, .has-cursor textarea, .has-cursor select { cursor: text; }
.has-cursor select, .has-cursor input[type="checkbox"], .has-cursor input[type="range"] { cursor: pointer; }

/* ---------- Preloader (só na primeira visita da sessão) ---------- */
.preloader { position: fixed; inset: 0; z-index: 990; background: var(--ink); display: none; align-items: center; justify-content: center; }
.is-preloading .preloader { display: flex; animation: failsafe 0s 7s forwards; }
.preloader__flame { width: 84px; height: 120px; overflow: visible; }
.preloader__flame .pf-fill { opacity: 0; }
.preloader__flame .pf-line { fill: none; stroke: var(--ember-1); stroke-width: .6; stroke-linejoin: round; }
.preloader__tc { position: absolute; left: var(--gutter); bottom: 28px; font: 400 13px/1 var(--mono); letter-spacing: .08em; color: var(--paper); font-variant-numeric: tabular-nums; }
.preloader__meta { position: absolute; right: var(--gutter); bottom: 28px; font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.preloader__brand { position: absolute; left: 50%; top: calc(50% + 92px); transform: translateX(-50%); width: 74px; color: var(--paper); opacity: 0; }
@keyframes failsafe { to { visibility: hidden; opacity: 0; pointer-events: none; } }

/* ---------- Cortina de transição entre páginas ---------- */
.curtain { position: fixed; inset: 0; z-index: 980; pointer-events: none; visibility: hidden; }
.curtain__panel { position: absolute; inset: 0; background: var(--ink-2); transform: translateY(100%); }
.curtain__flame { position: absolute; left: 50%; top: 50%; width: 56px; height: 80px; margin: -40px 0 0 -28px; opacity: 0; }
.curtain__label { position: absolute; left: 50%; top: calc(50% + 64px); transform: translateX(-50%); font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); opacity: 0; white-space: nowrap; }
.is-arriving .curtain { visibility: visible; pointer-events: auto; animation: failsafe 0s 3.5s forwards; }
.is-arriving .curtain__panel { transform: none; }
.is-arriving .curtain__flame { opacity: 1; }

/* ---------- Hero (letterbox 2.39:1) ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; }
.hero__media .media__inner { inset: 0; }
.hero__media img, .hero__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media video { opacity: 0; transition: opacity 1.2s var(--ease); }
.hero__media video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 11, 10, .2) 0%, rgba(13, 11, 10, 0) 40%, rgba(13, 11, 10, .55) 100%); }
.lb { position: absolute; left: 0; right: 0; height: var(--lb, max(56px, calc((100svh - 100vw / var(--cine)) / 2))); background: var(--ink); z-index: 2; }
.lb--top { top: 0; }
.lb--bot { bottom: 0; }
.hero__ui { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.hero__ui > * { pointer-events: auto; }
.hero__tagline { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(var(--header-h) + 8px); display: flex; justify-content: space-between; gap: 16px; color: var(--bone-dim); }
.hero__title {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(84px, 11vh, 132px);
  font-family: var(--serif); font-weight: 400; line-height: .88; letter-spacing: -.025em;
  font-size: clamp(60px, 11.2vw, 240px); color: var(--paper);
}
.hero__title .hl { display: block; }
.hero__title .l2 { padding-left: 1.05em; }
.hero__title em { font-style: italic; }
.hero__foot { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: var(--mute); }
.scrollcue { display: inline-flex; align-items: center; gap: 12px; color: var(--paper); }
.scrollcue__bar { position: relative; width: 1px; height: 28px; background: var(--line-2); overflow: hidden; }
.scrollcue__bar::after { content: ''; position: absolute; left: 0; top: -100%; width: 1px; height: 100%; background: var(--ember-1); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { 0% { top: -100%; } 60%, 100% { top: 100%; } }
.tc-live { font-variant-numeric: tabular-nums; color: var(--paper); }
.rec { display: inline-flex; align-items: center; gap: 8px; }
.rec::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--ember-2); animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 767px) {
  .hero { min-height: 600px; }
  .lb { height: var(--lb, 13svh); }
  .hero__tagline { flex-direction: column; gap: 6px; top: calc(var(--header-h) + 4px); font-size: 10.5px; }
  .hero__tagline .hide-m { display: none; }
  .hero__title { font-size: clamp(54px, 15.4vw, 80px); bottom: calc(13svh + 28px); line-height: .9; }
  .hero__title .l2 { padding-left: .5em; }
  .hero__foot { bottom: 18px; font-size: 10.5px; }
}

/* ---------- Home: manifesto ---------- */
.manifesto { padding-block: clamp(120px, 16vw, 260px); }
.manifesto__text {
  font-family: var(--serif); font-size: clamp(34px, 4.6vw, 86px); line-height: 1.08; letter-spacing: -.012em;
  max-width: 17.5em; margin-top: clamp(40px, 6vw, 88px); text-wrap: pretty;
}
.manifesto__text em { font-style: italic; }
.manifesto__sign { margin-top: clamp(40px, 5vw, 72px); display: flex; align-items: center; gap: 16px; color: var(--mute); }
.manifesto__sign svg { width: 16px; height: 23px; }

/* ---------- Home: galeria horizontal ---------- */
.reel { position: relative; overflow: hidden; }
.reel__head { padding: var(--section) var(--gutter) 0; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px 32px; flex-wrap: wrap; }
.reel__head .h2 { max-width: 9em; }
.reel__pin { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; }
.reel__track { display: flex; gap: clamp(20px, 3vw, 48px); padding-inline: var(--gutter); will-change: transform; align-items: flex-start; }
.card { flex: none; width: clamp(300px, 44vw, 760px); display: block; position: relative; }
.card .media { aspect-ratio: 16 / 10; }
.card:nth-child(even) { margin-top: clamp(40px, 9vh, 110px); }
.card__cap { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 18px; margin-top: 18px; }
.card__n { font: 12px/1 var(--mono); color: var(--mute); letter-spacing: .08em; }
.card__t { font: 400 clamp(30px, 3.2vw, 56px)/1 var(--serif); letter-spacing: -.012em; }
.card__m { font: 11px/1.4 var(--mono); color: var(--mute); letter-spacing: .08em; text-transform: uppercase; text-align: right; }
.card .media__inner { inset: 0 -6%; }
.card .media img, .card .media video { transition: transform 1.4s var(--ease); }
.card:hover .media img, .card:hover .media video { transform: scale(1.04); }
.card .media::after { content: ''; position: absolute; inset: 0 0 auto; height: 70px; background: linear-gradient(180deg, rgba(13, 11, 10, .45), transparent); pointer-events: none; }
.card__tc { position: absolute; left: 14px; top: 12px; z-index: 2; font: 11px/1 var(--mono); letter-spacing: .08em; color: var(--paper); text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.card--end { width: clamp(280px, 30vw, 480px); align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 28px; border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 48px); margin-top: 0 !important; }
.card--end .h3 em { font-style: italic; }
.reel__bar { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 32px; display: flex; align-items: center; gap: 18px; color: var(--mute); }
.reel__progress { flex: 1; height: 1px; background: var(--line); position: relative; }
.reel__progress i { position: absolute; inset: 0; background: var(--paper); transform-origin: left; transform: scaleX(0); }
@media (max-width: 767px) {
  .reel__pin { height: auto; display: block; padding-block: 48px var(--section); }
  .reel__track { flex-direction: column; gap: 56px; }
  .card, .card--end { width: 100%; margin-top: 0 !important; }
  .card--end { border-left: 0; border-top: 1px solid var(--line); padding: 36px 0 0; }
  .reel__bar { display: none; }
  .card__cap { grid-template-columns: auto 1fr; }
  .card__m { grid-column: 2; text-align: left; }
}

/* ---------- Home: tríptico ---------- */
.unseen__head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); align-items: end; }
.unseen__head .h2 { grid-column: 1 / span 8; }
.unseen__head .body-l { grid-column: 9 / span 4; }
.triptych { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); margin-top: clamp(64px, 9vw, 140px); align-items: start; }
.triptych figure:nth-child(1) { grid-column: 1 / span 5; }
.triptych figure:nth-child(2) { grid-column: 7 / span 3; margin-top: clamp(80px, 16vw, 260px); }
.triptych figure:nth-child(3) { grid-column: 10 / span 3; margin-top: clamp(20px, 4vw, 60px); }
.triptych .media { aspect-ratio: 4 / 5; }
.triptych figure:nth-child(1) .media { aspect-ratio: 5 / 6; }
@media (max-width: 767px) {
  .unseen__head .h2, .unseen__head .body-l { grid-column: 1 / -1; }
  .unseen__head .body-l { margin-top: 28px; }
  .triptych figure:nth-child(1) { grid-column: 1 / span 12; }
  .triptych figure:nth-child(2) { grid-column: 1 / span 7; margin-top: 48px; }
  .triptych figure:nth-child(3) { grid-column: 6 / span 7; margin-top: 32px; }
}

/* ---------- Home: origem (seção clara) ---------- */
.origin { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); align-items: start; }
.origin__slate { grid-column: 1 / -1; margin-bottom: clamp(48px, 7vw, 110px); }
.origin__title { grid-column: 1 / span 8; }
.origin__title em { font-style: italic; }
.origin__flame { grid-column: 10 / span 3; justify-self: end; width: clamp(80px, 10vw, 170px); }
.origin__photo { grid-column: 1 / span 4; margin-top: clamp(56px, 8vw, 120px); }
.origin__text { grid-column: 6 / span 6; margin-top: clamp(56px, 8vw, 120px); display: grid; gap: 28px; align-content: start; align-self: end; }
.origin__text .lead { color: var(--ink); }
@media (max-width: 767px) {
  .origin__title { grid-column: 1 / -1; }
  .origin__flame { grid-column: 1 / -1; justify-self: start; margin-top: 36px; width: 64px; }
  .origin__photo, .origin__text { grid-column: 1 / -1; }
  .origin__text { margin-top: 40px; }
}
/* Espaço de imagem marcado TROCAR */
.placeholder {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(70% 60% at 50% 60%, rgba(243, 154, 30, .16), rgba(13, 11, 10, 0) 70%), var(--ink-2);
  color: var(--mute);
}
.placeholder svg { width: 22%; opacity: .55; }
.placeholder__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; justify-content: space-between; gap: 12px; color: var(--bone-dim); }
.placeholder--landscape { aspect-ratio: 3 / 2; }

/* ---------- Accordion de serviços ---------- */

.acc { margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.acc__item { border-bottom: 1px solid var(--line); }
.acc__btn {
  width: 100%; display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 16px; text-align: left;
  padding: clamp(18px, 2.2vw, 30px) 0; transition: color .5s var(--ease), padding .6s var(--ease);
}
.acc__n { font: 12px/1 var(--mono); color: var(--mute); letter-spacing: .08em; }
.acc__t { font: 400 clamp(40px, 6vw, 112px)/.95 var(--serif); letter-spacing: -.02em; transition: transform .7s var(--ease), color .4s; }
.acc__t em { font-style: italic; }
.acc__plus { position: relative; width: 22px; height: 22px; }
.acc__plus::before, .acc__plus::after { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform .6s var(--ease); }
.acc__plus::after { transform: rotate(90deg); }
.acc__item.is-open .acc__plus::after { transform: rotate(0); }
.acc__item.is-open .acc__t { transform: translateX(clamp(8px, 1.2vw, 20px)); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__body { display: grid; grid-template-columns: 64px minmax(0, 7fr) minmax(0, 5fr); gap: 16px clamp(24px, 3vw, 56px); padding-bottom: clamp(24px, 3vw, 44px); align-items: end; }
.acc__body .media { grid-column: 2; aspect-ratio: var(--cine); }
.acc__body .acc__copy { grid-column: 3; display: grid; gap: 20px; padding-bottom: 4px; }
.acc__copy p { color: var(--bone-dim); font-size: 17px; max-width: 26em; }
.acc--faq .acc__t { font-size: clamp(26px, 2.8vw, 46px); line-height: 1.08; }
.acc--faq .acc__body { grid-template-columns: 64px minmax(0, 1fr); }
.acc--faq .acc__body p { grid-column: 2; max-width: 40em; color: var(--ink-mute); font-size: 18px; }
.is-paper .acc, .is-paper .acc__item { border-color: rgba(13, 11, 10, .16); }
.is-paper .acc__n { color: var(--ink-mute); }
@media (hover: hover) { .acc__btn:hover .acc__t { color: var(--ember-1); } .is-paper .acc__btn:hover .acc__t { color: var(--ember-2); } }
@media (max-width: 767px) {
  .acc__btn { grid-template-columns: 36px 1fr auto; }
  .acc__body, .acc--faq .acc__body { grid-template-columns: 1fr; }
  .acc__body .media, .acc__body .acc__copy, .acc--faq .acc__body p { grid-column: 1; }
  .acc__body .media { aspect-ratio: 16 / 9; }
}

/* ---------- Depoimento ---------- */
.quote { font-family: var(--serif); font-size: clamp(36px, 5.2vw, 96px); line-height: 1.04; letter-spacing: -.015em; max-width: 15em; text-wrap: pretty; }
.quote__mark { font-family: var(--serif); font-size: clamp(110px, 12vw, 200px); line-height: 1; height: .5em; margin-bottom: .05em; display: block; width: max-content; color: transparent; background: var(--ember); -webkit-background-clip: text; background-clip: text; }
.quote__by { margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 32px; color: var(--mute); }
.quote__by strong { font-weight: 400; color: var(--paper); }

/* ---------- Convite final ---------- */
.invite { position: relative; padding-block: clamp(120px, 16vw, 260px) clamp(100px, 12vw, 200px); text-align: center; overflow: hidden; }
.invite__glow { position: absolute; left: 50%; top: 55%; width: 70vw; height: 70vw; max-width: 1100px; max-height: 1100px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(236, 106, 28, .22), rgba(217, 48, 26, .06) 55%, transparent 75%); pointer-events: none; }
.invite .display { font-size: clamp(60px, 11vw, 220px); position: relative; }
.invite__cta { margin-top: clamp(40px, 5vw, 72px); display: flex; justify-content: center; position: relative; }
.invite .slate { justify-content: center; margin-bottom: clamp(36px, 5vw, 64px); position: relative; }

/* ---------- Rodapé ---------- */
.footer { position: relative; padding: clamp(72px, 9vw, 140px) var(--gutter) 28px; border-top: 1px solid var(--line); overflow: hidden; background: var(--ink); }
.footer__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); row-gap: 40px; }
.footer__col h2 { font: 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-bottom: 20px; font-weight: 400; }
.footer__col li + li { margin-top: 8px; }
.footer__col a { font-size: 17px; position: relative; }
.footer__col a:hover { color: var(--ember-1); }
.footer__intro { grid-column: 1 / span 5; }
.footer__intro p { font: 400 clamp(26px, 2.4vw, 38px)/1.12 var(--serif); max-width: 13em; }
.footer__intro p em { font-style: italic; }
.footer__nav { grid-column: 7 / span 3; }
.footer__social { grid-column: 10 / span 3; }
.footer__mark { margin-top: clamp(64px, 9vw, 140px); color: var(--paper); }
.footer__mark svg { width: 100%; height: auto; overflow: hidden; }
.footer__base { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; color: var(--mute); }
.footer__base button:hover { color: var(--paper); }
@media (max-width: 767px) {
  .footer__intro, .footer__nav, .footer__social { grid-column: 1 / -1; }
  .footer__nav, .footer__social { grid-column: span 6; }
}

/* ---------- Cabeçalho de páginas internas ---------- */
.page-head { padding: calc(var(--header-h) + clamp(72px, 12vw, 180px)) var(--gutter) clamp(56px, 7vw, 110px); position: relative; }
.page-head .display { font-size: clamp(76px, 17vw, 330px); line-height: .84; }
.page-head .display sup { font: 400 clamp(12px, 1.1vw, 16px)/1 var(--mono); letter-spacing: .06em; vertical-align: top; position: relative; top: 1.2em; margin-left: .4em; color: var(--mute); }
.page-head__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 56px); }
.page-head__row .body-l { max-width: 30em; }

/* ---------- Filmes: índice ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  height: 40px; padding: 0 18px; border-radius: 99px; border: 1px solid var(--line-2); color: var(--bone-dim);
  font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; transition: all .4s var(--ease);
  display: inline-flex; align-items: center; gap: 8px;
}
.filters button sup { font-size: 10px; color: var(--mute); transition: color .4s; }
.filters button:hover { color: var(--paper); border-color: var(--paper); }
.filters button[aria-pressed="true"] { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.filters button[aria-pressed="true"] sup { color: var(--ink-mute); }
.index { padding: 0 var(--gutter) var(--section); }
.index__list { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row a {
  display: grid; grid-template-columns: 70px minmax(0, 1fr) 220px 110px; align-items: center; gap: 20px;
  padding: clamp(16px, 1.6vw, 26px) 0; transition: opacity .6s var(--ease);
}
.row__n { font: 12px/1 var(--mono); color: var(--mute); letter-spacing: .08em; }
.row__t { font: 400 clamp(44px, 6.4vw, 120px)/1 var(--serif); letter-spacing: -.022em; transition: transform .8s var(--ease); padding: 0 .08em .06em 0; text-wrap: balance; }
.row__c, .row__d { font: 11.5px/1.4 var(--mono); color: var(--mute); letter-spacing: .08em; text-transform: uppercase; }
.row__d { text-align: right; }
.row .media { display: none; }
.index__list.is-hovering .row a { opacity: .18; }
.index__list.is-hovering .row a.is-active { opacity: 1; }
.row a.is-active .row__t { transform: translateX(clamp(12px, 2vw, 32px)); }
.row.is-out { display: none; }
.preview {
  position: fixed; left: 0; top: 0; z-index: 40; width: clamp(280px, 26vw, 460px); aspect-ratio: 16 / 10; pointer-events: none;
  overflow: hidden; clip-path: inset(50% 0 50% 0); transition: clip-path .7s var(--ease); background: var(--ink-3);
}
.preview.is-on { clip-path: inset(0 0 0 0); }
.preview__item { position: absolute; inset: 0; opacity: 0; transition: opacity .45s var(--ease); }
.preview__item.is-active { opacity: 1; }
.preview__item img, .preview__item video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview__tc { position: absolute; left: 12px; bottom: 10px; z-index: 2; font: 11px/1 var(--mono); letter-spacing: .08em; color: var(--paper); text-shadow: 0 1px 8px rgba(0, 0, 0, .6); }
.index__empty { padding: 48px 0; color: var(--mute); }
@media (max-width: 1100px) { .row a { grid-template-columns: 56px minmax(0, 1fr) 180px; } .row__d { display: none; } }
@media (max-width: 767px) {
  .index__list { border-top: 0; display: grid; gap: 48px; }
  .row { border-bottom: 0; }
  .row a { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; padding: 0; }
  .row .media { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 10; margin-bottom: 8px; }
  .row__n { grid-row: 2; align-self: baseline; padding-top: 6px; }
  .row__t { grid-row: 2; font-size: clamp(38px, 11vw, 56px); white-space: normal; }
  .row__c { grid-column: 2; }
  .row__d { display: block; grid-column: 2; text-align: left; margin-top: -6px; }
  .preview { display: none; }
  .index__list.is-hovering .row a { opacity: 1; }
}

/* ---------- Filme: hero ---------- */
.film-hero { position: relative; padding-top: calc(var(--header-h) + clamp(32px, 4vw, 56px)); }
.film-hero__meta { display: flex; justify-content: space-between; gap: 16px; padding-inline: var(--gutter); color: var(--mute); flex-wrap: wrap; }
.film-hero__meta b { font-weight: 400; color: var(--paper); }
.film-hero__frame { position: relative; margin-top: 18px; height: min(calc(100vw / var(--cine)), 60vh); overflow: hidden; background: var(--ink-3); }
.film-hero__frame .media__inner { inset: -6% 0; }
.film-hero__frame img, .film-hero__frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-hero__frame video { opacity: 0; transition: opacity 1s var(--ease); }
.film-hero__frame video.is-playing { opacity: 1; }
.film-hero__frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 11, 10, .1), rgba(13, 11, 10, .45)); pointer-events: none; }
.film-hero__bottom { position: relative; z-index: 2; display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 24px 56px; padding-inline: var(--gutter); margin-top: calc(-1 * clamp(36px, 5.4vw, 104px)); }
.film-hero__title { flex: 1 1 520px; min-width: 0; font: 400 clamp(56px, 9.4vw, 190px)/.88 var(--serif); letter-spacing: -.028em; text-wrap: balance; }
.film-hero__title em { font-style: italic; }
.film-hero__row { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-bottom: .6vw; }
.play-btn { display: inline-flex; align-items: center; gap: 18px; }
.play-btn__ring { position: relative; width: 84px; height: 84px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; transition: background .5s var(--ease), border-color .5s; }
.play-btn__ring::before { content: ''; width: 0; height: 0; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent currentColor; margin-left: 4px; }
.play-btn:hover .play-btn__ring { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.play-btn__txt { display: grid; gap: 6px; text-align: left; }
.play-btn__txt strong { font: 400 clamp(26px, 2.4vw, 36px)/1 var(--serif); }
.play-btn__txt strong em { font-style: italic; }
.play-btn__txt span { color: var(--mute); }
.film-hero__frame .play-overlay { position: absolute; inset: 0; z-index: 2; }
@media (max-width: 767px) {
  .film-hero__frame { height: auto; aspect-ratio: 4 / 3; }
  .film-hero__bottom { margin-top: -.5em; font-size: clamp(52px, 15vw, 80px); }
  .film-hero__title { flex-basis: 100%; font-size: clamp(52px, 15vw, 80px); }
  .film-hero__row { margin-top: 8px; }
}

/* Filme: legenda e stills */
.film-story { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); align-items: start; }
.film-story .slate { grid-column: 1 / -1; margin-bottom: clamp(40px, 6vw, 96px); }
.film-story__caption { position: relative; grid-column: 2 / span 9; font: 400 clamp(34px, 4.4vw, 80px)/1.08 var(--serif); letter-spacing: -.012em; text-wrap: pretty; }
.film-story__caption::before { content: '“'; position: absolute; left: -.48em; top: -.04em; color: var(--ember-1); }
.film-story__aside { grid-column: 2 / span 9; margin-top: clamp(40px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: center; color: var(--mute); }
.stills { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); row-gap: clamp(24px, 3vw, 48px); padding-inline: var(--gutter); }
.stills figure:nth-child(1) { grid-column: 1 / -1; }
.stills figure:nth-child(1) .media { aspect-ratio: var(--cine); }
.stills figure:nth-child(2) { grid-column: 1 / span 7; }
.stills figure:nth-child(3) { grid-column: 9 / span 4; margin-top: clamp(60px, 10vw, 180px); }
.stills figure:nth-child(2) .media { aspect-ratio: 3 / 2; }
.stills figure:nth-child(3) .media { aspect-ratio: 4 / 5; }
.stills.is-two figure:nth-child(2) { grid-column: 3 / span 8; }
@media (max-width: 767px) {
  .film-story__caption, .film-story__aside { grid-column: 1 / -1; }
  .film-story__caption::before { position: static; display: block; height: .5em; }
  .stills figure:nth-child(2) { grid-column: 1 / span 12; }
  .stills figure:nth-child(3) { grid-column: 4 / span 9; margin-top: 0; }
  .stills.is-two figure:nth-child(2) { grid-column: 1 / -1; }
  .stills figure:nth-child(1) .media { aspect-ratio: 16 / 10; }
}

/* Filme: próximo */
.next-wrap { padding-top: var(--section); }
.next { position: relative; display: block; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; color: var(--paper); }
.next .media { position: absolute; inset: 0; }
.next .media img, .next .media video { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.next:hover .media img, .next:hover .media video { transform: scale(1); }
.next::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 11, 10, .55), rgba(13, 11, 10, .25) 45%, rgba(13, 11, 10, .75)); }
.next__ui { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(28px, 4vw, 56px) var(--gutter); }
.next__title { font: 400 clamp(64px, 12vw, 240px)/.86 var(--serif); letter-spacing: -.028em; text-wrap: balance; }
.next__foot { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
.next__bar { position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--ember); transform-origin: left; transform: scaleX(0); z-index: 3; }

/* ---------- Player imersivo ---------- */
.player { position: fixed; inset: 0; z-index: 970; background: #000; display: none; color: var(--paper); }
.player.is-open { display: block; }
.player video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: #000; }
.player__top, .player__bar { position: absolute; left: 0; right: 0; z-index: 2; padding: 22px var(--gutter); display: flex; align-items: center; gap: 20px; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.player__top { top: 0; justify-content: space-between; background: linear-gradient(180deg, rgba(0, 0, 0, .65), transparent); }
.player__bar { bottom: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent); padding-top: 60px; }
.player.is-idle .player__top { opacity: 0; transform: translateY(-12px); }
.player.is-idle .player__bar { opacity: 0; transform: translateY(12px); }
.player.is-idle { cursor: none; }
.player__title { font: 400 clamp(20px, 1.8vw, 28px)/1.1 var(--serif); }
.player__title em { font-style: italic; }
.player__title small { display: block; font: 11px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); margin-top: 6px; }
.pbtn { height: 44px; min-width: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 99px; font: 500 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--paper); }
.pbtn:hover { color: var(--ember-1); }
.pbtn svg { width: 20px; height: 20px; }
.pbtn--close { border: 1px solid var(--line-2); padding: 0 18px; }
.pbtn--close:hover { background: var(--paper); color: var(--ink); }
.player__time { font: 12px/1 var(--mono); letter-spacing: .06em; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--paper); }
.player__time span { color: var(--mute); }
.player__seek { flex: 1; position: relative; height: 44px; display: flex; align-items: center; }
.player__seek input { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; position: relative; z-index: 2; }
.player__seek input::-webkit-slider-runnable-track { height: 2px; background: transparent; }
.player__seek input::-moz-range-track { height: 2px; background: transparent; }
.player__seek input::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); margin-top: -6px; transition: transform .3s var(--ease); }
.player__seek input::-moz-range-thumb { width: 14px; height: 14px; border: 0; border-radius: 50%; background: var(--paper); }
.player__seek input:hover::-webkit-slider-thumb { transform: scale(1.25); }
.player__track { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(238, 231, 220, .2); pointer-events: none; }
.player__buf, .player__prog { position: absolute; left: 0; top: 0; bottom: 0; width: 100%; transform-origin: left; transform: scaleX(0); }
.player__buf { background: rgba(238, 231, 220, .28); }
.player__prog { background: var(--ember); }
.player__big { position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; z-index: 2; opacity: 0; pointer-events: none; transition: opacity .4s; background: rgba(0, 0, 0, .3); }
.player.is-paused .player__big { opacity: 1; pointer-events: auto; }
.player__big::before { content: ''; border-style: solid; border-width: 11px 0 11px 18px; border-color: transparent transparent transparent var(--paper); margin-left: 5px; }
.player__lb { position: absolute; left: 0; right: 0; height: 0; background: #000; z-index: 1; pointer-events: none; }
.player__lb--t { top: 0; } .player__lb--b { bottom: 0; }
.player__spinner { position: absolute; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px; border-radius: 50%; border: 1px solid rgba(238, 231, 220, .2); border-top-color: var(--ember-1); animation: spin 1s linear infinite; z-index: 2; display: none; }
.player.is-waiting .player__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 767px) {
  .player__bar { flex-wrap: wrap; gap: 6px 12px; padding-bottom: 18px; }
  .player__seek { order: -1; flex-basis: 100%; }
  .player__time { margin-right: auto; }
  .player__title { font-size: 18px; }
}

/* ---------- Sobre: capítulos ---------- */
.chapter { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; overflow: hidden; }
.chapter__bg { position: absolute; inset: 0; }
.chapter__bg .media__inner { inset: -10% 0; }
.chapter__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .46; filter: saturate(.85); }
.chapter__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 11, 10, .92) 0%, rgba(13, 11, 10, .55) 60%, rgba(13, 11, 10, .75) 100%); }
.chapter__inner { position: relative; z-index: 2; width: 100%; padding: var(--section) var(--gutter); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); }
.chapter__num { grid-column: 1 / span 2; font: 400 clamp(14px, 1vw, 16px)/1 var(--mono); color: var(--mute); letter-spacing: .08em; padding-top: .9em; }
.chapter__num b { display: block; font: 400 clamp(64px, 8vw, 150px)/.8 var(--serif); color: var(--paper); letter-spacing: -.02em; margin-top: 14px; }
.chapter__text { grid-column: 3 / span 9; font: 400 clamp(36px, 4.8vw, 92px)/1.06 var(--serif); letter-spacing: -.014em; text-wrap: pretty; }
.chapter__text em { font-style: italic; }
.chapter__note { grid-column: 3 / span 6; margin-top: clamp(32px, 4vw, 56px); }
.chapter--split .chapter__text { grid-column: 3 / span 6; font-size: clamp(30px, 3.4vw, 64px); }
.chapter--split .chapter__photo { grid-column: 9 / span 4; align-self: center; }
@media (max-width: 767px) {
  .chapter__num, .chapter__text, .chapter__note, .chapter--split .chapter__text, .chapter--split .chapter__photo { grid-column: 1 / -1; }
  .chapter__num { margin-bottom: 28px; }
  .chapter__num b { font-size: 64px; }
  .chapter--split .chapter__photo { margin-top: 40px; width: 78%; }
}
.lexicon { text-align: center; }
.lexicon__word { font: 400 clamp(96px, 22vw, 420px)/1.05 var(--serif); letter-spacing: -.03em; position: relative; display: inline-block; overflow: visible; padding: 0 .12em .14em .04em; }
.lexicon__word em { font-style: italic; }
.lexicon__def { margin-top: clamp(28px, 3vw, 48px); display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 28px; color: var(--mute); }
.lexicon__def b { color: var(--paper); font-weight: 400; }
.lexicon__line { font: 400 clamp(28px, 3vw, 52px)/1.15 var(--serif); max-width: 20em; margin: clamp(48px, 6vw, 96px) auto 0; text-wrap: balance; }
.lexicon__line em { font-style: italic; }
.lexicon__flame { width: clamp(70px, 7vw, 120px); margin: 0 auto clamp(40px, 5vw, 72px); }
.duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); align-items: center; }
.duo__photo { grid-column: 1 / span 5; }
.duo__copy { grid-column: 7 / span 6; display: grid; gap: 32px; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px); margin-top: clamp(56px, 7vw, 110px); border-top: 1px solid rgba(13, 11, 10, .18); }
.pillar { padding-top: 28px; display: grid; gap: 16px; align-content: start; }
.pillar .h3 { font-size: clamp(32px, 3vw, 52px); }
.pillar p { color: var(--ink-mute); max-width: 24em; }
@media (max-width: 767px) {
  .duo__photo, .duo__copy { grid-column: 1 / -1; }
  .duo__copy { margin-top: 48px; }
  .pillars { grid-template-columns: 1fr; }
}

/* ---------- Experiência: processo ---------- */
.process { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(12px, 2vw, 32px); }
.process__aside { grid-column: 1 / span 4; }
.process__sticky { position: sticky; top: calc(var(--header-h) + 40px); display: grid; gap: 20px; }
.process__big { font: 400 clamp(120px, 16vw, 300px)/1 var(--serif); letter-spacing: -.04em; overflow: hidden; position: relative; padding: 0 .08em .06em 0; }
.process__big span { display: block; transition: transform .8s var(--ease); }
.process__steps { grid-column: 6 / span 7; }
.step { padding-block: clamp(40px, 5vw, 80px); border-top: 1px solid var(--line); display: grid; gap: 22px; }
.step:first-child { border-top: 0; padding-top: 0; }
.step__n { color: var(--mute); }
.step .h3 em { font-style: italic; }
.step .media { aspect-ratio: var(--cine); margin-top: 12px; }
@media (max-width: 767px) {
  .process__aside { display: none; }
  .process__steps { grid-column: 1 / -1; }
}
.includes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: clamp(48px, 6vw, 96px); border-top: 1px solid var(--line); }
.include { padding: 32px clamp(16px, 2vw, 32px) 40px 0; border-right: 1px solid var(--line); display: grid; gap: 20px; align-content: start; }
.include + .include { padding-left: clamp(16px, 2vw, 32px); }
.include:last-child { border-right: 0; }
.include .h3 { font-size: clamp(30px, 2.6vw, 44px); }
.include li { padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--bone-dim); font-size: 16px; display: flex; gap: 12px; }
.include li::before { content: '—'; color: var(--mute); }
.include .note { color: var(--mute); font-size: 14px; }
.includes-note { margin-top: 32px; color: var(--mute); }
@media (max-width: 1000px) { .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); } .include:nth-child(2) { border-right: 0; } .include:nth-child(3) { padding-left: 0; } .include { border-bottom: 1px solid var(--line); } }
@media (max-width: 600px) { .includes { grid-template-columns: 1fr; } .include, .include + .include { border-right: 0; padding-left: 0; } }

/* ---------- Contato: formulário editorial ---------- */
.letter { max-width: 1280px; }
.letter__lines { font: 400 clamp(32px, 4.2vw, 76px)/1.42 var(--serif); letter-spacing: -.01em; }
.letter__lines p + p { margin-top: .35em; }
.letter__lines em { font-style: italic; }
.blank { position: relative; display: inline-block; vertical-align: baseline; }
.blank input, .blank select, .blank textarea {
  font: inherit; line-height: 1.1; letter-spacing: inherit; color: var(--ember-1); background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 0 .08em .04em; border-radius: 0; min-width: 4ch; max-width: 100%; transition: border-color .4s var(--ease);
}
.blank input::placeholder, .blank textarea::placeholder { color: rgba(238, 231, 220, .32); font-style: italic; }
.blank input:focus, .blank select:focus, .blank textarea:focus { border-bottom-color: var(--ember-1); outline: none; }
.blank input:focus-visible, .blank select:focus-visible, .blank textarea:focus-visible { outline: 2px solid var(--ember-1); outline-offset: 6px; }
.blank select { -webkit-appearance: none; appearance: none; padding-right: .7em; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%); background-position: calc(100% - .32em) 55%, calc(100% - .14em) 55%; background-size: .18em .18em; background-repeat: no-repeat; }
.blank select option { background: var(--ink-2); color: var(--paper); font-size: 18px; font-family: var(--sans); }
.blank select:invalid, .blank select.is-empty { color: rgba(238, 231, 220, .32); font-style: italic; }
.blank--names input { width: 6.2em; }
.blank--place input { width: 7.5em; }
.blank--date input { width: 5.6em; color-scheme: dark; }
.blank--date input.is-empty { color: rgba(238, 231, 220, .32); font-style: italic; }
.blank--date input::-webkit-calendar-picker-indicator { opacity: .45; width: .42em; height: .42em; cursor: pointer; filter: invert(.8) sepia(.4); }
.blank--date input::-webkit-calendar-picker-indicator:hover { opacity: .9; }
.blank--date input:disabled { opacity: .3; }
.blank--msg { display: block; margin-top: .2em; }
.blank--msg textarea { width: 100%; resize: vertical; min-height: 2.6em; font-size: .62em; line-height: 1.45; padding: .3em 0; }
.blank.is-invalid input, .blank.is-invalid select { border-bottom-color: var(--ember-2); }
.check { display: inline-flex; align-items: center; gap: 10px; font: 400 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone-dim); vertical-align: middle; cursor: pointer; margin-left: .3em; }
.check input { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 4px; display: grid; place-items: center; margin: 0; cursor: pointer; }
.check input:checked { background: var(--ember); border-color: transparent; }
.check input:checked::after { content: ''; width: 8px; height: 4px; border-left: 1.5px solid #160805; border-bottom: 1.5px solid #160805; transform: rotate(-45deg) translateY(-1px); }
.letter__send { margin-top: clamp(48px, 6vw, 88px); display: flex; flex-wrap: wrap; align-items: center; gap: 20px 36px; }
.letter__status { color: var(--mute); min-height: 1.4em; }
.letter__status.is-error { color: var(--ember-1); }
.contact-alt { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); border-top: 1px solid var(--line); padding-top: 32px; }
.contact-alt h2 { font: 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); font-weight: 400; margin-bottom: 14px; }
.contact-alt a { font: 400 clamp(26px, 2.4vw, 40px)/1.1 var(--serif); }
.contact-alt a:hover { color: var(--ember-1); }
@media (max-width: 767px) {
  .letter__lines { font-size: clamp(28px, 8.4vw, 40px); line-height: 1.5; }
  .blank--names input, .blank--place input { width: 100%; min-width: 0; }
  .blank--names, .blank--place { display: block; }
  .blank--date input { width: 7.4em; }
  .blank--msg textarea { font-size: .7em; }
  .contact-alt { grid-template-columns: 1fr; }
}

/* ---------- Revelações genéricas ---------- */
.ready [data-reveal] { opacity: 0; transform: translateY(28px); }
.ready:not(.no-anim) [data-intro], .ready:not(.no-anim) [data-intro-split], .ready:not(.no-anim) [data-intro-lines] { opacity: 0; animation: introFail 0s 7s forwards; }
@keyframes introFail { to { opacity: 1; } }
.ready [data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1.1s var(--ease), transform 1.2s var(--ease); }
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

/* ---------- Utilidades ---------- */
.mt-s { margin-top: 24px; } .mt-m { margin-top: clamp(32px, 4vw, 56px); } .mt-l { margin-top: clamp(56px, 7vw, 110px); }
.center { text-align: center; }
.row-between { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
noscript .noscript-list { padding: 24px var(--gutter); display: grid; gap: 12px; }

/* ---------- Movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
  .media video, .hero__media video, .film-hero__frame video { display: none; }
  .preview video { display: none; }
  .ready [data-reveal] { opacity: 1; transform: none; }
  .scrollcue__bar::after, .rec::before { animation: none; }
  .mmenu__list li > a { transform: none; }
}
