/* ============================================================
   FILMEIRO — site
   ============================================================ */

:root {
  --bg:        #0a0a0b;
  --bg-2:      #121214;
  --fg:        #f4f3ee;
  --muted:     #8c8b84;
  --line:      rgba(244, 243, 238, 0.12);
  --accent:    #e8a02e;        /* amarelo mostarda / quase laranja */
  --accent-dim:#c9851f;
  --maxw:      1320px;
  --ease:      cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--accent); color: #000; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1.2rem, 4vw, 3.5rem); }

/* Display type */
.display {
  font-family: 'Anton', 'Inter', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
}

/* ---------- NAV ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 4vw, 3.5rem);
  mix-blend-mode: difference;
}
.nav__brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: 'Anton', sans-serif; text-transform: uppercase;
  font-size: 1.15rem; letter-spacing: 0.02em; color: #fff;
}
.brand-mark { height: 0.82em; width: auto; fill: currentColor; flex-shrink: 0; display: block; }
.nav__links { display: flex; gap: 1.6rem; }
.nav__links a {
  font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: #fff; font-weight: 500; position: relative; padding: 0.2rem 0;
}
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: #fff; transition: width 0.35s var(--ease);
}
.nav__links a:hover::after { width: 100%; }
@media (max-width: 720px) { .nav__links { display: none; } }

/* ---------- HERO ---------- */
.hero {
  position: relative; height: 100svh; min-height: 600px;
  display: flex; flex-direction: column; justify-content: flex-end;
  overflow: hidden;
}
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; filter: saturate(1.05) contrast(1.02);
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.05) 30%, rgba(10,10,11,0.15) 60%, rgba(10,10,11,0.95) 100%);
}
.hero__inner { position: relative; z-index: 2; width: 100%; padding-bottom: clamp(2.5rem, 6vh, 5rem); }
.hero__title {
  font-size: clamp(4.5rem, 19vw, 17rem);
  color: var(--fg);
  margin-bottom: 0.4rem;
}
.hero__title .char { display: inline-block; transform: translateY(110%); }
.hero__row {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.1rem;
}
.hero__tag { font-size: clamp(0.95rem, 2vw, 1.3rem); font-weight: 300; color: var(--fg); }
.hero__tag b { color: var(--accent); font-weight: 600; }
.hero__meta { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
.scrollcue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); z-index: 3;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted);
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,6px); } }

/* ---------- SECTION SHELL ---------- */
.section { padding: clamp(5rem, 12vh, 9rem) 0; position: relative; }
.section__head {
  display: flex; align-items: baseline; gap: 1rem;
  margin-bottom: clamp(2rem, 5vh, 3.5rem);
}
.section__num {
  font-family: 'Space Grotesk', monospace; font-size: 0.78rem; color: var(--accent);
  letter-spacing: 0.1em;
}
.section__title { font-size: clamp(2.2rem, 6vw, 4.5rem); color: var(--fg); }

/* ---------- PORTFÓLIO ---------- */
.grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(0.7rem, 1.4vw, 1.1rem);
}
.card {
  position: relative; grid-column: span 4; aspect-ratio: 16/10;
  overflow: hidden; border-radius: 6px; background: var(--bg-2);
  cursor: pointer; isolation: isolate;
}
.card--big { grid-column: span 6; aspect-ratio: 16/9; }
.card__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.85) brightness(0.78);
}
.card:hover .card__img { transform: scale(1.06); filter: saturate(1.05) brightness(0.92); }
.card__grad {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.05) 55%);
}
.card__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 1rem 1.1rem; }
.card__client { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.16em; color: var(--accent); margin-bottom: 0.25rem; }
.card__title { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 1.15rem; line-height: 1.1; }
.card__year { position: absolute; top: 0.9rem; right: 1rem; z-index: 2; font-size: 0.7rem; color: rgba(255,255,255,0.65); font-family: 'Space Grotesk', monospace; }
.card__play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center;
  opacity: 0; transition: opacity 0.4s var(--ease);
}
.card__play span {
  width: 60px; height: 60px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.7);
  display: grid; place-items: center; backdrop-filter: blur(4px);
}
.card__play span::after { content: ''; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.card:hover .card__play { opacity: 1; }
.card__soon {
  position: absolute; top: 0.85rem; left: 1rem; z-index: 2;
  font-size: 0.58rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6); border: 1px solid rgba(255,255,255,0.25);
  padding: 0.15rem 0.45rem; border-radius: 20px;
}
@media (max-width: 860px) {
  .card, .card--big { grid-column: span 6; aspect-ratio: 16/10; }
}
@media (max-width: 540px) {
  .card, .card--big { grid-column: span 12; aspect-ratio: 16/10; }
}

/* ---------- AUTORAL: fileira de cartazes (Netflix-style) ---------- */
.row-stage { position: relative; width: 100vw; margin-left: calc(50% - 50vw); }
.row {
  display: flex; gap: clamp(0.7rem, 1.4vw, 1.1rem);
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x proximity; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0.5rem clamp(1.2rem, 4vw, 3.5rem) 1.4rem;
}
.row::-webkit-scrollbar { display: none; }
.row-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(10,10,11,0.72); border: 1px solid var(--line); color: var(--fg);
  display: grid; place-items: center; cursor: pointer;
  opacity: 0; transition: opacity 0.3s var(--ease), background 0.25s var(--ease), color 0.25s;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.row-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.row-arrow:hover { background: var(--accent); color: #000; }
.row-arrow--prev { left: clamp(0.5rem, 2vw, 1.2rem); }
.row-arrow--next { right: clamp(0.5rem, 2vw, 1.2rem); }
.row-stage:hover .row-arrow { opacity: 1; }
.row-arrow[disabled] { opacity: 0 !important; pointer-events: none; }
@media (hover: none) { .row-arrow { display: none; } }
.poster {
  flex: 0 0 auto; width: clamp(210px, 30vw, 320px);
  aspect-ratio: 2 / 3; border-radius: 12px; overflow: hidden;
  position: relative; cursor: pointer; isolation: isolate;
  background: var(--bg-2); scroll-snap-align: start;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.poster:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 26px 60px rgba(0,0,0,0.55); }
.poster__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.5s var(--ease);
  filter: saturate(0.95) brightness(0.9);
}
.poster:hover .poster__img { transform: scale(1.06); filter: saturate(1.06) brightness(1); }
.poster__grad { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 46%); }
.poster__body { position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0.9rem 1rem; }
.poster__title { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: clamp(1rem, 2.4vw, 1.25rem); line-height: 1; letter-spacing: 0.01em; }
.poster__sub { margin-top: 0.35rem; font-size: 0.72rem; line-height: 1.25; color: rgba(255,255,255,0.78); font-weight: 400; }
.poster__year { position: absolute; top: 0.7rem; right: 0.8rem; z-index: 2; font-size: 0.65rem; font-family: 'Space Grotesk', monospace; color: rgba(255,255,255,0.7); }
.poster__soon {
  position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
  font-size: 0.52rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.28);
  padding: 0.13rem 0.4rem; border-radius: 20px;
}
.poster__play { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; opacity: 0; transition: opacity 0.35s var(--ease); }
.poster__play span { width: 54px; height: 54px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,0.8); display: grid; place-items: center; backdrop-filter: blur(3px); }
.poster__play span::after { content: ''; border-left: 11px solid #fff; border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.poster:hover .poster__play { opacity: 1; }
.row__hint { margin-top: 0.6rem; font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--muted); }
@media (hover: none) { .row__hint { opacity: 1; } }

/* ---------- MANIFESTO / SOBRE ---------- */
.manifesto { border-top: 1px solid var(--line); }
.manifesto__lead {
  font-size: clamp(1.7rem, 4.2vw, 3.3rem); font-weight: 300; line-height: 1.18;
  letter-spacing: -0.015em; max-width: 18ch;
}
.manifesto__lead b { font-weight: 600; }
.manifesto__lead .hl { color: var(--accent); }
.manifesto__grid {
  margin-top: clamp(2.5rem, 6vh, 4rem); display: grid;
  grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 4vw, 3rem);
  border-top: 1px solid var(--line); padding-top: 2.2rem;
}
.manifesto__col h4 { font-family: 'Space Grotesk', sans-serif; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--accent); margin-bottom: 0.7rem; }
.manifesto__col p { font-size: 0.95rem; color: var(--muted); }
.manifesto__col p b { color: var(--fg); font-weight: 600; }
@media (max-width: 720px) { .manifesto__grid { grid-template-columns: 1fr; gap: 1.8rem; } }

.manifesto__body {
  margin-top: clamp(2rem, 5vh, 3.2rem); max-width: 70ch;
  display: grid; gap: 1.25rem;
  border-top: 1px solid var(--line); padding-top: clamp(1.8rem, 4vh, 2.6rem);
}
.manifesto__body p { font-size: clamp(1.02rem, 1.6vw, 1.18rem); line-height: 1.66; color: #d3d1c9; }
.manifesto__body p b { color: var(--fg); font-weight: 600; }
.manifesto__body .hl { color: var(--accent); }
.manifesto__body a { color: var(--fg); border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: color 0.25s var(--ease); }
.manifesto__body a:hover { color: var(--accent); }

/* Salcity — banner em destaque */
.salcity-banner {
  position: relative; overflow: hidden;
  width: 100vw; margin-left: calc(50% - 50vw);
  min-height: clamp(440px, 64vh, 640px);
  display: flex; align-items: flex-end;
  isolation: isolate;
}
.salcity-banner__bg {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 42%;
  transition: transform 1.4s var(--ease);
}
.salcity-banner:hover .salcity-banner__bg { transform: scale(1.04); }
.salcity-banner__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(90% 120% at 12% 100%, rgba(232,160,46,0.34), transparent 55%),
    linear-gradient(to top, rgba(10,10,11,0.95) 0%, rgba(10,10,11,0.55) 34%, rgba(10,10,11,0.18) 62%, rgba(10,10,11,0.45) 100%);
}
.salcity-banner__inner { position: relative; z-index: 2; padding-top: clamp(3rem, 8vh, 6rem); padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.salcity-banner__k { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--accent); margin-bottom: 0.8rem; text-shadow: 0 2px 12px rgba(0,0,0,0.7); }
.salcity-banner__title {
  font-family: 'Bungee', 'Anton', sans-serif; font-weight: 400;
  font-size: clamp(3.2rem, 11vw, 8.5rem); line-height: 0.9; letter-spacing: 0.005em;
  color: var(--fg); text-shadow: 0 8px 50px rgba(0,0,0,0.5); margin-bottom: 1rem;
}
.salcity-banner__p { max-width: 50ch; font-size: clamp(1rem, 1.9vw, 1.25rem); color: rgba(244,243,238,0.9); margin-bottom: 1.8rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem; white-space: nowrap;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 0.85rem;
  background: var(--accent); color: #000; padding: 0.8rem 1.3rem; border-radius: 40px;
  transition: transform 0.3s var(--ease), background 0.3s var(--ease);
}
.btn:hover { transform: translateX(4px); background: #fff; }
.btn--ghost { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.btn--ghost:hover { background: var(--fg); color: #000; border-color: var(--fg); }
.btn--lg { font-size: 0.95rem; padding: 1rem 1.7rem; }

/* ---------- CASE (projeto sob medida) ---------- */
.case { border-top: 1px solid var(--line); }
.case__grid { display: grid; grid-template-columns: 360px 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.case__video {
  position: relative; display: block; width: 100%; aspect-ratio: 3 / 4;
  border-radius: 14px; overflow: hidden; border: 1px solid var(--line);
  background: var(--bg-2); cursor: pointer; padding: 0; isolation: isolate;
}
.case__video img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.5s var(--ease); filter: brightness(0.92); }
.case__video:hover img { transform: scale(1.04); filter: brightness(1); }
.case__play { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.case__play::before {
  content: ''; width: 70px; height: 70px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.85); background: rgba(10,10,11,0.3);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.case__play::after { content: ''; position: absolute; border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; margin-left: 5px; }
.case__video:hover .case__play::before { background: rgba(232,160,46,0.35); transform: scale(1.06); }
.case__k { font-family: 'Space Grotesk', sans-serif; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.18em; color: var(--accent); margin-bottom: 0.8rem; }
.case__title { font-size: clamp(1.9rem, 4.6vw, 3.2rem); color: var(--fg); line-height: 1; margin-bottom: 1.4rem; }
.case__text p { font-size: clamp(1rem, 1.5vw, 1.12rem); line-height: 1.62; color: #d3d1c9; margin-bottom: 1rem; max-width: 60ch; }
.case__text p:last-child { margin-bottom: 0; }
.case__text p b { color: var(--fg); font-weight: 600; }
@media (max-width: 800px) {
  .case__grid { grid-template-columns: 1fr; gap: 2rem; }
  .case__media { max-width: 320px; }
}

/* ---------- CLIPAGEM ---------- */
.clip { border-top: 1px solid var(--line); }
.clip__grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: clamp(0.8rem, 1.6vw, 1.2rem);
}
.clip__item {
  position: relative; border-radius: 6px; overflow: hidden; background: var(--bg-2);
  aspect-ratio: 4/3; display: block; cursor: pointer;
}
.clip__item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.3) brightness(0.92); transition: transform 0.6s var(--ease), filter 0.5s var(--ease); }
.clip__item:hover img { transform: scale(1.05); filter: grayscale(0) brightness(1); }
.clip__cap {
  position: absolute; inset: auto 0 0 0; z-index: 2; padding: 0.7rem 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem;
}
.clip__cap b { font-family: 'Space Grotesk', sans-serif; font-size: 0.8rem; font-weight: 600; }
.clip__cap span { font-size: 0.65rem; color: var(--muted); letter-spacing: 0.06em; }

/* ---------- CONTATO / FOOTER ---------- */
.contact { border-top: 1px solid var(--line); }
.contact__big {
  font-size: clamp(2.6rem, 9vw, 7rem); color: var(--fg); margin-bottom: 1.6rem;
}
.contact__icons { display: flex; gap: 0.9rem; margin-bottom: 2.5rem; }
.contact__icons a {
  width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid var(--line); display: grid; place-items: center;
  color: var(--fg);
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
}
.contact__icons a:hover { background: var(--accent); color: #000; border-color: var(--accent); transform: translateY(-3px); }
.contact__icons svg { width: 24px; height: 24px; }
.contact__big a { transition: color 0.3s var(--ease); }
.contact__big a:hover { color: var(--accent); }
.contact__row {
  display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center;
  border-top: 1px solid var(--line); padding-top: 1.6rem;
}
.contact__row a { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); transition: color 0.3s; }
.contact__row a:hover { color: var(--fg); }
.footer {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding: 2.5rem 0 3rem; color: var(--muted); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* ---------- LIGHTBOX ---------- */
.lb {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(5,5,6,0.94); backdrop-filter: blur(8px);
  align-items: center; justify-content: center; padding: clamp(1rem, 5vw, 4rem);
}
.lb.open { display: flex; }
.lb__frame { position: relative; width: 100%; max-width: 1100px; aspect-ratio: 16/9; }
.lb__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: 8px; }
/* modo imagem (clipagem) */
.lb--img .lb__frame { aspect-ratio: auto; width: auto; max-width: 92vw; display: flex; flex-direction: column; align-items: center; }
.lb--img #lbFrame { position: static !important; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; }
.lb__img { max-width: 92vw; max-height: 82vh; width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
/* modo vertical (Shorts 9:16) */
.lb--vert .lb__frame { aspect-ratio: 9 / 16; width: auto; height: 86vh; max-width: 92vw; max-height: 86vh; }
.lb__caption { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.lb__close {
  position: absolute; top: -2.6rem; right: 0; background: none; border: none; color: #fff;
  font-size: 1.6rem; cursor: pointer; line-height: 1;
}
.lb__toast {
  font-family: 'Space Grotesk', sans-serif; color: var(--muted); text-align: center;
  font-size: 1rem; border: 1px solid var(--line); padding: 2rem 2.5rem; border-radius: 10px;
}
.lb__toast b { color: var(--fg); }

/* ---------- REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__title .char { transform: none; }
}
