/* ============================================================
   BL FILMES · "O FILME" — página de 15 anos
   Direção de arte: produção cinematográfica.
   Tipos: Instrument Serif (display) · Space Grotesk (texto) · Space Mono (claquete)
   ============================================================ */

:root {
  --bg: #0c0a08;
  --bg-raise: #14110c;
  --bg-card: #17130d;
  --ink: #ece4d4;
  --ink-dim: #9c917d;
  --ink-faint: #6b6250;
  --line: rgba(236, 228, 212, .13);
  --line-strong: rgba(236, 228, 212, .26);
  --frame: rgba(236, 228, 212, .34);
  --gold: #d9a441;
  --gold-hi: #f1dcac;
  --gold-deep: #b07f2b;
  --rec: #ff4438;
  --shadow: 0 40px 90px -40px rgba(0, 0, 0, .8);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ease: cubic-bezier(.19, 1, .22, 1);
  --pad: clamp(22px, 5.5vw, 96px);
  --maxw: 1240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: .005em;
  min-height: 100vh;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
}
em { font-style: italic; }

::selection { background: var(--gold); color: #191203; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.mono {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------------- grão + vinheta de película ---------------- */
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none;
  opacity: .045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}
.vignette {
  position: fixed; inset: 0; z-index: 88; pointer-events: none;
  background: radial-gradient(130% 90% at 50% 42%, transparent 45%, rgba(0, 0, 0, .5) 100%);
}
/* ---- desempenho no mobile: corta efeitos caros de compositing ---- */
@media (max-width: 820px) {
  .grain { display: none; }
  .fmt__foil { display: none; }
}

/* ---------------- crop marks (moldura de corte) ---------------- */
.crop { position: fixed; inset: 0; z-index: 40; pointer-events: none; }
.crop i {
  position: absolute; width: 20px; height: 20px;
  border: 0 solid var(--frame);
}
.crop i:nth-child(1) { top: 18px; left: 18px; border-top-width: 1px; border-left-width: 1px; }
.crop i:nth-child(2) { top: 18px; right: 18px; border-top-width: 1px; border-right-width: 1px; }
.crop i:nth-child(3) { bottom: 18px; left: 18px; border-bottom-width: 1px; border-left-width: 1px; }
.crop i:nth-child(4) { bottom: 18px; right: 18px; border-bottom-width: 1px; border-right-width: 1px; }
@media (max-width: 800px) { .crop { display: none; } }

/* ---------------- claquete fixa (header) ---------------- */
.slate {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px;
  padding: 14px var(--pad);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s, padding .4s var(--ease);
}
.slate__brand { justify-self: start; min-width: 0; overflow: hidden; }
.slate__tc { justify-self: center; }
.slate.stuck {
  background: rgba(12, 10, 8, .82);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
  padding-top: 10px; padding-bottom: 10px;
}
.slate__brand { display: flex; align-items: center; gap: 13px; }
.slate__logo {
  position: relative; width: 82px; height: 82px; flex: none;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease);
}
.slate.stuck .slate__logo { width: 64px; height: 64px; }
.slate__logo img {
  position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 2px 9px rgba(217, 164, 65, .3));
  transition: filter .3s;
}
.slate__brand:hover .slate__logo img { filter: drop-shadow(0 2px 14px rgba(241, 220, 172, .55)); }
.slate__brand b { font-family: var(--mono); font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-dim); font-weight: 400; }
.slate__tc { font-family: var(--mono); font-size: .9rem; letter-spacing: .16em; color: var(--ink); display: flex; align-items: center; gap: 13px; }
.slate__play {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none;
  border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer;
  transition: border-color .3s, color .3s, background .3s;
}
.slate__play:hover { border-color: var(--gold); color: var(--gold-hi); background: rgba(217, 164, 65, .1); }
.slate__play svg { width: 16px; height: 16px; }
.slate__play .ic-play { display: none; }
.slate__tc.paused .slate__play .ic-play { display: block; }
.slate__tc.paused .slate__play .ic-pause { display: none; }
.slate__rec {
  width: 13px; height: 13px; border-radius: 50%; background: var(--rec); flex: none;
  box-shadow: 0 0 16px 2px rgba(255, 68, 56, .6);
  animation: recPulse 1.5s ease-in-out infinite;
}
.slate__reclabel { color: var(--rec); font-weight: 700; letter-spacing: .24em; }
.slate__tc.paused .slate__rec { animation: none; background: var(--ink-faint); box-shadow: none; }
.slate__tc.paused .slate__reclabel { color: var(--ink-faint); }
.slate__tc.paused #tc { color: var(--ink-dim); }
@keyframes recPulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.8); } }
@media (max-width: 620px) {
  .slate__brand b { display: none; }
  .slate { padding-top: 10px; padding-bottom: 10px; gap: 10px; }
  .slate__logo { width: 66px; height: 66px; }
  .slate.stuck .slate__logo { width: 54px; height: 54px; }
  .slate__tc { font-size: .72rem; gap: 9px; }
  .slate__reclabel { display: none; }
  .slate__play { width: 31px; height: 31px; }
  .slate__play svg { width: 14px; height: 14px; }
  .slate__rec { width: 11px; height: 11px; }
}
@media (max-width: 380px) { .slate__tc #tc { display: none; } }

/* ---------------- índice de capítulos ---------------- */
.chapters {
  position: fixed; right: 26px; top: 50%; transform: translateY(-50%); z-index: 60;
  display: flex; flex-direction: column; gap: 14px;
}
.chapters a {
  display: flex; align-items: center; gap: 10px; justify-content: flex-end;
  font-family: var(--mono); font-size: .58rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-faint); transition: color .3s;
}
.chapters a span { opacity: 0; transform: translateX(6px); transition: opacity .3s, transform .3s; white-space: nowrap; }
.chapters a i { width: 22px; height: 1px; background: currentColor; transition: width .3s, background .3s; }
.chapters a:hover, .chapters a.active { color: var(--gold-hi); }
.chapters a:hover span, .chapters a.active span { opacity: 1; transform: translateX(0); }
.chapters a.active i { width: 40px; background: var(--gold); }
@media (max-width: 1400px) { .chapters { display: none; } }

/* ---------------- botões ---------------- */
.btn {
  --btn-fg: #191203;
  position: relative;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 26px;
  font-family: var(--mono); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--btn-fg); background: var(--gold);
  border: 1px solid var(--gold);
  overflow: hidden; cursor: pointer;
  transition: color .35s var(--ease), border-color .35s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold-hi); transform: translateX(-101%);
  transition: transform .4s var(--ease);
}
.btn:hover::after { transform: translateX(0); }
.btn svg { width: 13px; height: 13px; flex: none; }

.btn--ghost {
  --btn-fg: var(--ink);
  background: transparent; border-color: var(--line-strong);
}
.btn--ghost::after { background: rgba(236, 228, 212, .07); }
.btn--ghost:hover { --btn-fg: var(--gold-hi); border-color: var(--gold); }

/* ---------------- WhatsApp flutuante (pulsante) ---------------- */
.wa-fixed {
  position: fixed; right: 22px; bottom: 22px; z-index: 65;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  color: #fff; isolation: isolate;
  transition: transform .3s var(--ease);
}
.wa-fixed span { display: none; }
.wa-fixed svg { position: relative; z-index: 2; width: 32px; height: 32px; }
/* face sólida do botão */
.wa-fixed::after {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: 50%;
  background: #25d366;
  box-shadow: 0 10px 26px -8px rgba(0, 0, 0, .55);
}
/* anel pulsante (só transform/opacity — sem repaint) */
.wa-fixed::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: 50%;
  background: #25d366;
  animation: waPulse 2.2s cubic-bezier(.4, 0, .2, 1) infinite;
}
.wa-fixed:hover { transform: scale(1.07); }
.wa-fixed:hover::after { background: #22c55e; }
@keyframes waPulse {
  0% { transform: scale(1); opacity: .55; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
@media (max-width: 620px) { .wa-fixed { right: 16px; bottom: 16px; width: 56px; height: 56px; } .wa-fixed svg { width: 30px; height: 30px; } }
@media (prefers-reduced-motion: reduce) { .wa-fixed::before { animation: none; opacity: 0; } }

/* ---------------- estrutura ---------------- */
main { position: relative; z-index: 2; }
.chapter { position: relative; overflow: hidden; padding: clamp(84px, 15vh, 190px) var(--pad); }
.chapter--raise { background: var(--bg-raise); }
.wrap { max-width: var(--maxw); margin: 0 auto; position: relative; }

/* número gigante da seção */
.chapter__no { display: none; }
.chapter__head { position: relative; z-index: 1; max-width: 40rem; }
.kicker {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px;
  font-family: var(--mono); font-size: .66rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
}
.kicker::before { content: ""; width: 30px; height: 1px; background: var(--gold); }
.h-xl { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.h-lg { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
.lead { color: var(--ink-dim); font-size: clamp(1rem, 1.5vw, 1.16rem); max-width: 52ch; margin-top: 22px; }

/* ---------------- reveal (wipe cinematográfico) ---------------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-wipe {
  opacity: 0; clip-path: inset(0 100% 0 0);
  transition: opacity .5s var(--ease), clip-path 1s var(--ease);
}
.rv-wipe.in { opacity: 1; clip-path: inset(0 0 0 0); }
.rv-d1 { transition-delay: .08s; }
.rv-d2 { transition-delay: .16s; }
.rv-d3 { transition-delay: .24s; }
.rv-d4 { transition-delay: .32s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 120px var(--pad) clamp(78px, 13vh, 138px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; background: #0c0a08; overflow: hidden; }
.hero__media img,
.hero__media video {
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  filter: brightness(.9) contrast(1.03) saturate(1.16);
  animation: heroKen 42s ease-in-out infinite alternate;
}
@keyframes heroKen { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.hero__media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 10, 8, .26) 0%, rgba(12, 10, 8, .1) 26%, rgba(12, 10, 8, .52) 60%, rgba(12, 10, 8, .9) 86%, var(--bg) 100%),
    radial-gradient(130% 75% at 50% 100%, rgba(12, 10, 8, .5), transparent 62%);
}
/* barras de letterbox */
.hero__bar {
  position: absolute; left: 0; right: 0; height: 44px; z-index: 3; background: var(--bg);
  transform-origin: center;
}
.hero__bar--top { top: 0; animation: barOut 1.1s var(--ease) .2s forwards; }
.hero__bar--bot { bottom: 0; animation: barOut 1.1s var(--ease) .2s forwards; }
@keyframes barOut { to { transform: scaleY(0); } }

.hero__inner {
  position: relative; z-index: 4; width: 100%; max-width: 720px; margin: 0; text-align: left;
  text-shadow: 0 2px 34px rgba(0, 0, 0, .5);
}

/* kicker */
.hero__kick {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .28em; text-transform: uppercase; color: var(--gold);
  margin-bottom: clamp(15px, 2.6vh, 24px); overflow: hidden;
}
.hero__kick span {
  display: inline-block; opacity: 0; transform: translateY(120%);
  animation: heroUp .9s var(--ease) .55s forwards;
}

/* título — Syne */
.hero__title {
  font-family: "Syne", var(--sans); font-weight: 700;
  font-size: clamp(1.55rem, 4.6vw, 3rem); line-height: 1.32; letter-spacing: -.02em;
}
.hero__title .l { display: block; overflow: hidden; padding-top: .16em; margin-top: -.16em; padding-bottom: .16em; margin-bottom: -.1em; }
.hero__title .l > span {
  display: block; opacity: 0; transform: translateY(112%);
  animation: heroUp 1s cubic-bezier(.16, 1, .3, 1) forwards;
}
.hero__title .l:nth-child(1) > span { animation-delay: .66s; }
.hero__title .l:nth-child(2) > span { animation-delay: .76s; }
.hero__title .l:nth-child(3) > span { animation-delay: .86s; }
.hero__title .l:nth-child(4) > span { animation-delay: .96s; }
.hero__title em { font-style: normal; color: var(--gold); text-transform: uppercase; }
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

.hero__sub {
  margin: clamp(18px, 3vh, 28px) 0 0; max-width: 54ch;
  font-family: var(--mono); font-size: clamp(.6rem, .95vw, .72rem); letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-dim); line-height: 1.95;
  opacity: 0; animation: fade .9s var(--ease) 1.2s forwards;
}
.hero__cta {
  margin-top: clamp(26px, 4vh, 40px);
  display: flex; flex-wrap: wrap; justify-content: flex-start; align-items: center; gap: 14px 22px;
  opacity: 0; animation: fade .9s var(--ease) 1.35s forwards;
}
.hero__link {
  font-family: var(--mono); font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink);
  border-bottom: 1px solid var(--line-strong); padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.hero__link span { display: inline-block; transition: transform .3s var(--ease); }
.hero__link:hover { color: var(--gold-hi); border-color: var(--gold); }
.hero__link:hover span { transform: translateX(4px); }

.hero__scroll { display: none; }

@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ============================================================
   MANIFESTO
   ============================================================ */
/* vídeo de fundo (logo BL animada) */
.chapter-media {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.chapter-media__video {
  width: min(780px, 80%); height: auto; margin: 0;
  opacity: .3; filter: saturate(1.05) drop-shadow(0 0 100px rgba(217, 164, 65, .34));
}
.manifesto > .wrap { position: relative; z-index: 2; }
.manifesto::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(18, 15, 10, .84) 0%, rgba(18, 15, 10, .5) 34%, rgba(18, 15, 10, .16) 58%, transparent 78%),
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(18, 15, 10, .5) 100%);
}
@media (max-width: 640px) {
  .chapter-media__video { width: 96%; opacity: .2; }
  .manifesto::before { background: linear-gradient(180deg, rgba(18, 15, 10, .55), rgba(18, 15, 10, .82)); }
}

.manifesto .h-lg { max-width: 18ch; }
.manifesto p { color: var(--ink-dim); font-size: clamp(1rem, 1.6vw, 1.16rem); max-width: 50ch; margin-top: 24px; }
.manifesto blockquote {
  margin-top: 30px; border: 0; max-width: 22ch;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 4vw, 2.7rem);
  line-height: 1.24; color: var(--gold-hi);
}
.manifesto blockquote cite { display: block; margin-top: 18px; font-style: normal; }
.manifesto blockquote + p { margin-top: 34px; }

/* ============================================================
   PACOTES  ·  tipografia display: Syne
   ============================================================ */
.formats__title {
  font-family: "Syne", var(--sans);
  font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  line-height: .95; letter-spacing: -.035em; text-transform: uppercase;
  color: var(--ink);
}
.formats .chapter__head { max-width: none; text-align: center; }
.formats .kicker { justify-content: center; }
.formats__title { margin-inline: auto; }
.formats__note { margin: 20px auto 0; color: var(--ink-faint); font-size: .88rem; max-width: 52ch; text-align: center; }
.formats__grid {
  margin-top: clamp(52px, 7vw, 82px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  align-items: stretch; perspective: 1500px;
}
@media (max-width: 1080px) { .formats__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .formats__grid { grid-template-columns: 1fr; perspective: none; } }

.fmt {
  --rx: 0; --ry: 0; --gx: 50%; --gy: 50%;
  position: relative; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 30px 26px 26px;
  border: 1px solid rgba(217, 164, 65, .15);
  background: linear-gradient(180deg, #1a140c, #110c06);
  box-shadow: 0 22px 46px -32px rgba(0, 0, 0, .85);
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--rx) * 1deg)) rotateY(calc(var(--ry) * 1deg));
  transition: transform .6s cubic-bezier(.19, 1, .22, 1), box-shadow .5s, opacity .45s, filter .45s, border-color .5s;
}
/* canto chanfrado dourado */
.fmt__corner {
  position: absolute; top: 0; right: 0; z-index: 4;
  border-top: 16px solid var(--gold); border-left: 16px solid transparent;
  opacity: .55; transform: translateZ(1px);
  transition: opacity .4s, border-width .4s;
}
.fmt:hover .fmt__corner { opacity: 1; border-top-width: 22px; border-left-width: 22px; }
/* brilho seguindo o cursor */
.fmt__sheen {
  position: absolute; inset: 0; z-index: 6; pointer-events: none;
  background: radial-gradient(300px circle at var(--gx) var(--gy), rgba(255, 242, 214, .13), transparent 55%);
  opacity: 0; transition: opacity .45s; transform: translateZ(60px);
}

.fmt > .fmt__kick, .fmt > h3, .fmt > .fmt__desc, .fmt > ul, .fmt > .btn, .fmt > .fmt__badge {
  transition: transform .6s cubic-bezier(.19, 1, .22, 1);
}
.fmt__kick {
  font-family: var(--mono); font-size: .58rem; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 13px; text-align: center;
}
.fmt h3 {
  font-family: "Syne", var(--sans); font-weight: 700;
  font-size: clamp(1.3rem, 1.4vw, 1.55rem); line-height: 1.04;
  letter-spacing: -.02em; text-transform: uppercase; color: var(--ink);
  text-align: center;
}
.fmt__desc { margin-top: 5px; font-size: .78rem; line-height: 1.5; color: var(--ink-faint); text-align: center; }
.fmt ul { align-self: stretch; }
.fmt ul {
  margin: 22px 0 24px; padding-top: 20px;
  border-top: 1px solid rgba(217, 164, 65, .16); flex: 1;
}
.fmt li {
  display: flex; gap: 12px; padding: 7px 0;
  font-size: .875rem; line-height: 1.5; color: rgba(236, 228, 212, .86);
}
.fmt li::before {
  content: ""; flex: none; width: 7px; height: 1px; margin-top: .8em; background: var(--gold);
}
.fmt .btn {
  width: 100%; justify-content: center; margin-top: auto;
  padding: 15px 16px; font-size: .6rem; letter-spacing: .2em;
}
.fmt:not(.fmt--feat) .btn { --btn-fg: var(--ink); background: transparent; border-color: var(--line-strong); }
.fmt:not(.fmt--feat) .btn::after { background: rgba(236, 228, 212, .06); }
.fmt:not(.fmt--feat) .btn:hover { --btn-fg: var(--gold-hi); border-color: var(--gold); }

/* hover: brilho + profundidade em camadas Z */
.fmt:hover {
  border-color: rgba(217, 164, 65, .55);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 228, .08),
    0 60px 100px -44px rgba(0, 0, 0, .9),
    0 0 80px -40px rgba(217, 164, 65, .45);
}
.fmt:hover .fmt__sheen { opacity: 1; }
.fmt:hover > .fmt__kick { transform: translateZ(28px); }
.fmt:hover > h3 { transform: translateZ(46px); }
.fmt:hover > .fmt__desc { transform: translateZ(30px); }
.fmt:hover > ul { transform: translateZ(18px); }
.fmt:hover > .btn { transform: translateZ(54px); }

/* efeito foco: outros cards recuam ao passar o mouse na seção */
.formats__grid:hover .fmt:not(:hover) { opacity: .42; filter: saturate(.55) brightness(.72); }

/* ---- Pacote Extra ---- */
.fmt--addon { border-style: dashed; background: linear-gradient(180deg, #16110b, #100b06); }

/* ---- destaque: Pacote Completo ---- */
.fmt--feat {
  border-color: var(--gold); overflow: hidden;
  background:
    linear-gradient(155deg, rgba(255, 246, 228, .1), transparent 26%),
    linear-gradient(180deg, rgba(217, 164, 65, .17), rgba(217, 164, 65, .03) 38%, #17110a 70%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 228, .2),
    0 0 0 1px rgba(217, 164, 65, .3),
    0 56px 110px -46px rgba(217, 164, 65, .55),
    0 30px 60px -34px #000;
  translate: 0 -18px; z-index: 3;
}
.fmt--feat .fmt__corner { border-top-color: var(--gold-hi); opacity: 1; border-top-width: 24px; border-left-width: 24px; }
.fmt--feat .fmt__kick { color: var(--gold-hi); }
.fmt--feat h3 { color: var(--gold-hi); }
.fmt--feat ul { border-top-color: rgba(217, 164, 65, .34); }
.fmt--feat li { color: var(--ink); }
.fmt--feat li::before { background: var(--gold-hi); }
/* marca d'água BL */
.fmt__mark {
  position: absolute; right: -34px; bottom: -34px; width: 190px; height: 190px;
  object-fit: contain; opacity: .06; z-index: 0; pointer-events: none;
}
.fmt:not(.fmt--feat) .fmt__mark { display: none; }
/* foil dourado varrendo */
.fmt__foil { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: hidden; transform: translateZ(40px); }
.fmt:not(.fmt--feat) .fmt__foil { display: none; }
.fmt__foil::before {
  content: ""; position: absolute; top: -60%; left: -70%; width: 42%; height: 220%;
  background: linear-gradient(100deg, transparent, rgba(255, 244, 216, .14), transparent);
  transform: rotate(9deg) translateX(0%);
  animation: foilSweep 6.5s ease-in-out infinite;
}
#formatos.is-paused .fmt__foil::before { animation-play-state: paused; }
/* varredura via transform (composta na GPU) em vez de animar "left" (força layout a cada quadro) */
@keyframes foilSweep {
  0%, 100% { transform: rotate(9deg) translateX(0%); }
  58% { transform: rotate(9deg) translateX(490%); }
}
/* selo Mais pedido — aba no canto superior esquerdo */
.fmt__badge {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 7;
  font-family: var(--mono); font-size: .55rem; font-weight: 700;
  letter-spacing: .24em; text-transform: uppercase; color: #170f02;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold));
  padding: 7px 15px;
}
.fmt:not(.fmt--feat) .fmt__badge { display: none; }
.fmt--feat:hover > .fmt__badge { transform: translateX(-50%) translateZ(56px); }

/* ---- cards não destacados: fundo claro, só o Completo fica na cor dourada/escura ---- */
.fmt:not(.fmt--feat) {
  background: #f6f0e2;
  border-color: rgba(26, 19, 8, .12);
  box-shadow: 0 22px 46px -32px rgba(0, 0, 0, .55);
}
.fmt:not(.fmt--feat):hover {
  border-color: var(--gold-deep);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6), 0 0 50px -28px rgba(217, 164, 65, .5);
}
.fmt:not(.fmt--feat) .fmt__corner { border-top-color: var(--gold-deep); }
.fmt:not(.fmt--feat) .fmt__kick { color: #93641b; }
.fmt:not(.fmt--feat) h3 { color: #1c1610; }
.fmt:not(.fmt--feat) .fmt__desc { color: rgba(26, 19, 8, .58); }
.fmt:not(.fmt--feat) ul { border-top-color: rgba(26, 19, 8, .14); }
.fmt:not(.fmt--feat) li { color: rgba(26, 19, 8, .74); }
.fmt:not(.fmt--feat) li::before { background: #a8752a; }
.fmt:not(.fmt--feat) .fmt__sheen { background: radial-gradient(300px circle at var(--gx) var(--gy), rgba(26, 19, 8, .07), transparent 55%); }
.fmt:not(.fmt--feat) .btn { --btn-fg: #1c1610; background: transparent; border-color: rgba(26, 19, 8, .3); }
.fmt:not(.fmt--feat) .btn::after { background: rgba(26, 19, 8, .06); }
.fmt:not(.fmt--feat) .btn:hover { --btn-fg: #7a5015; border-color: var(--gold-deep); }

@media (max-width: 1080px) {
  .fmt { transform: none !important; }
  .fmt--feat { translate: 0 !important; }
  .formats__grid:hover .fmt:not(:hover) { opacity: 1; filter: none; }
}
@media (max-width: 560px) { .fmt--feat { order: -1; } }
@media (prefers-reduced-motion: reduce) {
  .fmt { transform: none !important; }
  .fmt--feat { translate: 0 !important; }
  .fmt__foil { display: none !important; }
  .formats__grid:hover .fmt:not(:hover) { opacity: 1; filter: none; }
}

/* ============================================================
   PAGAMENTO
   ============================================================ */
/* vídeo em faixa própria, acima do conteúdo (não por baixo) */
.pay__video {
  position: relative; overflow: hidden;
  margin: calc(-1 * clamp(84px, 15vh, 190px)) calc(-1 * var(--pad)) clamp(48px, 7vw, 74px);
  height: clamp(420px, 68vw, 720px);
}
.pay__video video {
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  filter: grayscale(.4) contrast(1.05) brightness(.7) saturate(1.15);
}
.pay__video::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, var(--bg-raise) 0%, rgba(20, 17, 12, 0) 45%, rgba(20, 17, 12, 0) 55%, var(--bg-raise) 100%);
}
.pay__grid { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.pay__card { border: 1px solid var(--line-strong); background: var(--bg-card); padding: 28px 24px; }
.pay__card b { font-family: var(--mono); font-size: .6rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.pay__card h3 { font-size: 1.3rem; margin: 12px 0 8px; }
.pay__card p { color: var(--ink-dim); font-size: .9rem; }
.pay__note { margin-top: 24px; color: var(--ink-faint); font-size: .82rem; }
.pay__cta { margin-top: clamp(40px, 7vw, 64px); text-align: center; }
.portfolio__cta { margin-top: clamp(28px, 5vw, 44px); text-align: center; }

/* ============================================================
   PORTFÓLIO — carrossel infinito do YouTube
   ============================================================ */
.yt-rail {
  position: relative;
  margin: clamp(42px, 6vw, 62px) calc(-1 * var(--pad)) clamp(30px, 4vw, 46px);
  overflow: hidden;
}
/* bordas sumindo (mesma cor da seção) */
.yt-rail::before, .yt-rail::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 2;
  width: clamp(44px, 12vw, 150px); pointer-events: none;
}
.yt-rail::before { left: 0; background: linear-gradient(90deg, var(--bg-raise), rgba(20, 17, 12, 0)); }
.yt-rail::after { right: 0; background: linear-gradient(270deg, var(--bg-raise), rgba(20, 17, 12, 0)); }

.yt-track { display: flex; cursor: grab; touch-action: pan-y; will-change: transform; user-select: none; -webkit-user-select: none; }
.yt-track.is-dragging { cursor: grabbing; }
.yt-track img, .yt-track a { -webkit-user-drag: none; -webkit-touch-callout: none; }
.yt-set {
  flex: 0 0 auto; display: flex; gap: 16px; padding-right: 16px;
  animation: ytScroll 58s linear infinite;
}
.yt-set--jsdrive { animation: none !important; }
.yt-rail:hover .yt-set,
.yt-set:focus-within,
#portfolio.is-paused .yt-set { animation-play-state: paused; }
@keyframes ytScroll {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-100%, 0, 0); }
}
@media (max-width: 700px) { .yt-set { animation-duration: 42s; } }
@media (prefers-reduced-motion: reduce) {
  .yt-track { overflow-x: auto; }
  .yt-set { animation: none; }
  .yt-set[aria-hidden="true"] { display: none; }
}

.yt-card {
  flex: 0 0 clamp(288px, 82vw, 412px);
  text-decoration: none; color: inherit;
}
.yt-card__thumb {
  position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line-strong); background: #000;
}
.yt-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease);
}
.yt-card__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .5));
  opacity: 0; transition: opacity .4s;
}
.yt-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 62px; height: 44px; display: block;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .45));
  transition: transform .35s var(--ease);
}
.yt-card__play svg { width: 100%; height: 100%; display: block; }
.yt-card:hover .yt-card__thumb img { transform: scale(1.06); }
.yt-card:hover .yt-card__thumb::after { opacity: 1; }
.yt-card:hover .yt-card__play { transform: translate(-50%, -50%) scale(1.08); }
.yt-card__title {
  display: block; margin-top: 13px;
  font-size: .9rem; line-height: 1.35; color: var(--ink);
}
.yt-card:hover .yt-card__title { color: var(--gold-hi); }
.yt-card__meta {
  display: block; margin-top: 5px;
  font-family: var(--mono); font-size: .56rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-faint);
}

.portfolio__copy { margin-top: 26px; max-width: 54ch; }
.portfolio__copy p { color: var(--ink-dim); font-size: clamp(1rem, 1.5vw, 1.14rem); line-height: 1.65; }
.portfolio__copy p:first-child {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem); line-height: 1.22;
  letter-spacing: -.015em; color: var(--ink); max-width: 24ch; margin-bottom: 26px;
}
.portfolio__copy p + p { margin-top: 16px; }
.portfolio__copy p:last-child { color: var(--ink); }
.portfolio__micro {
  margin-top: 6px; text-align: center;
  font-family: var(--serif); font-style: italic; font-size: clamp(1.05rem, 1.8vw, 1.4rem);
  color: var(--gold-hi);
}

/* ============================================================
   FICHA TÉCNICA — Bruno
   ============================================================ */
.crew__row { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 6vw, 72px); align-items: start; }
.crew__photo { position: relative; }
.crew__photo img, .crew__photo video { display: block; width: 100%; height: auto; }
.crew__photo .crew__video {
  opacity: .55;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 90%, transparent 100%),
    linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.crew__meta { margin: 26px 0 24px; border-top: 1px solid var(--line); }
.crew__meta div { display: flex; justify-content: space-between; gap: 20px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.crew__meta dt { color: var(--ink-faint); } .crew__meta dd { color: var(--ink); text-align: right; }
.crew p { color: var(--ink-dim); margin-top: 18px; max-width: 46ch; }
.crew .sign { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--gold-hi); margin-top: 22px; }
@media (max-width: 820px) { .crew__row { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { margin-top: 46px; border-top: 1px solid var(--line-strong); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  list-style: none; cursor: pointer; padding: 26px 44px 26px 0; position: relative;
  font-family: var(--serif); font-size: 1.35rem; color: var(--ink);
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "＋"; position: absolute; right: 2px; top: 24px; color: var(--gold); transition: transform .3s;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { color: var(--ink-dim); padding: 0 44px 28px 0; max-width: 62ch; font-size: .95rem; }

/* ============================================================
   CTA FINAL
   ============================================================ */
.end { text-align: center; overflow: hidden; }
.end::before {
  content: ""; position: absolute; left: 50%; top: 44%; width: min(760px, 116vw); aspect-ratio: 1;
  transform: translate(-50%, -50%); filter: blur(28px);
  background: radial-gradient(circle, rgba(217, 164, 65, .18), transparent 62%);
}
.end .mono { display: block; margin-bottom: 26px; }
.end h2 { position: relative; font-size: clamp(2.6rem, 7vw, 5.2rem); max-width: 15ch; margin: 0 auto 22px; }
.end h2 em { color: var(--gold); }
.end p { position: relative; color: var(--ink-dim); max-width: 42ch; margin: 0 auto 36px; }
.end .btn { position: relative; }

/* ============================================================
   CRÉDITOS — rodapé
   ============================================================ */
.credits { padding: clamp(60px, 10vh, 110px) var(--pad) 40px; border-top: 1px solid var(--line); background: var(--bg-raise); position: relative; z-index: 2; }
.credits__in { max-width: var(--maxw); margin: 0 auto; }
.credits__roll { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px 40px; }
.credits__roll div { border-top: 1px solid var(--line); padding-top: 14px; }
.credits__roll dt { font-family: var(--mono); font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-faint); }
.credits__roll dd { margin-top: 6px; font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }
.credits__roll dd a:hover { color: var(--gold-hi); }
.credits__logo {
  display: block; width: min(440px, 68%); height: auto;
  margin: 0 auto clamp(30px, 4.5vw, 48px);
}
.credits__base {
  padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 10px 26px; justify-content: center; align-items: center; text-align: center;
  font-family: var(--mono); font-size: .6rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-faint);
}

/* ============================================================
   MOTION REDUZIDA
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .rv, .rv-wipe { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__title .l > span, .hero__kick span { transform: none !important; opacity: 1 !important; }
  .hero__sub, .hero__cta, .hero__scroll { opacity: 1 !important; }
  .hero__media img, .hero__media video { animation: none !important; transform: none !important; }
  .hero__bar { transform: scaleY(0); }
  .slate__rec { animation: none !important; }
  .grain { display: none; }
  .yt-set { animation: none !important; }
}
