/* =========================================================
   SALA1 FILMES — rolagem Siena com a cara da Vetor Zero
   Fontes: Zalando Sans Expanded (títulos/menu, caixa alta) + Outfit (texto)
   ========================================================= */
:root {
  --bg: #060606;
  --ink: #f4f2ee;
  --muted: rgba(244, 242, 238, .58);
  --line: rgba(244, 242, 238, .16);
  --red: #ed1f24;
  --side: 4.4vw;
  --card-top: 0px;      /* home em tela cheia, como a Vetor Zero */
  --card-h: 100vh;
  --gap: 0px;
  --radius: 0px;
  --ease: cubic-bezier(.16, 1, .3, 1);       /* power4.out */
  --ease-io: cubic-bezier(.76, 0, .24, 1);   /* power4.inOut */
  --f-display: "Zalando Sans Expanded", "Arial", sans-serif;
  --f-ui: "Outfit", system-ui, sans-serif;
  /* ajustáveis pelo editor (?editar) */
  --name-size: 3.9vw;     /* nome do cliente na home */
  --credit-size: 15px;    /* linha "Filme - Tipo - 30s por ..." */
  --nav-size: 15px;       /* menu do topo */
  --shade: .72;           /* escurecimento embaixo do vídeo */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--f-ui); font-weight: 400;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
img, video { display: block; }
ul { list-style: none; }
.clip { overflow: hidden; padding-top: .18em; margin-top: -.18em; }
.ln { display: block; overflow: hidden; padding-top: .18em; margin-top: -.18em; }
.ln > span { display: block; will-change: transform; }

/* tipografia Vetor Zero */
.display, .title, .nav-link, .nav-menu a, .enter, .work-title, .work-tabs button,
.tile-client, .watch-title, .back, .contact-title, .contact-list a {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em;
}
.credit { font-family: var(--f-ui); font-size: var(--credit-size); font-weight: 400; margin-top: 10px; }
.credit b { font-weight: 700; }

/* ================= ABERTURA ================= */
#intro { position: fixed; inset: 0; z-index: 80; background: #000; display: grid; place-items: center; }
.intro-logo { width: min(96vw, 1500px); aspect-ratio: 16 / 9; position: relative; }
.intro-logo video, .intro-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.intro-logo img { width: 20%; left: 40%; opacity: 0; }
.intro-tag {
  position: absolute; top: calc(50% + min(13vw, 190px));
  font-family: var(--f-display); font-weight: 600; font-size: 11px; letter-spacing: .4em; padding-left: .4em; opacity: 0;
}
.enter {
  position: absolute; bottom: 7vh; opacity: 0;
  font-size: 13px; height: 46px; padding: 0 30px; border-radius: 999px;
  border: 1px solid rgba(244,242,238,.4);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.enter:hover { background: var(--ink); color: #000; border-color: var(--ink); }

/* ================= TOPO ================= */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 30px var(--side); pointer-events: none;
  visibility: hidden;
}
.top > * { pointer-events: auto; }
/* página aberta (Projetos / Quem Somos): fundo atrás do topo para o texto rolado não se misturar ao menu */
.top::before {
  content: ""; position: absolute; inset: 0 0 -30px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, var(--bg) 62%, rgba(6,6,6,0)); opacity: 0; transition: opacity .5s var(--ease);
}
.page-open .top::before { opacity: 1; }
.brand { position: relative; display: block; }
.brand img { width: 70px; height: auto; display: block; }
/* mouse na logo: o símbolo abre virando "sala1" (animação do After, quadro a quadro) */
.brand-anim { position: absolute; left: 0; top: 0; pointer-events: none; visibility: hidden; }
.brand.anim-ready img { visibility: hidden; }
.brand.anim-ready .brand-anim { visibility: visible; }
/* aberta, a área do mouse cobre a palavra inteira (não fecha sozinha ao deslizar) */
.brand::after { content: ""; position: absolute; left: 0; top: -10px; bottom: -10px; width: 100%; }
.brand.open::after { width: var(--brand-open-w, 100%); }
.nav { display: flex; align-items: center; gap: 44px; }
.nav-item { position: relative; }
.nav-link { font-size: var(--nav-size); position: relative; padding: 4px 0; }
.nav-search { width: 22px; height: 22px; display: grid; place-items: center; transition: transform .5s var(--ease); }
.nav-search svg { width: 18px; height: 18px; }
.nav-search:hover { transform: scale(1.12); }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav-link:hover::after, .nav-link[aria-expanded="true"]::after, .nav-link.on::after { transform: scaleX(1); transform-origin: left; }
.nav-menu {
  position: absolute; right: -18px; top: calc(100% + 14px); min-width: 220px;
  padding: 10px; border-radius: 14px;
  background: rgba(10,10,10,.82); backdrop-filter: blur(18px); border: 1px solid var(--line);
  clip-path: inset(0 0 100% 0 round 14px); transition: clip-path .7s var(--ease);
}
.nav-item.open .nav-menu { clip-path: inset(0 0 0 0 round 14px); }
.nav-menu a {
  display: block; font-size: 14px; padding: 12px 12px; border-radius: 9px;
  transition: background-color .35s var(--ease), padding .5s var(--ease);
}
.nav-menu a:hover { background: var(--line); padding-left: 18px; }

/* ================= HOME ================= */
#app { position: fixed; inset: 0; visibility: hidden; }
#bg { position: absolute; inset: -10%; width: 120%; height: 120%; filter: blur(46px) saturate(1.15); opacity: .5; }
.bg-shade {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,0,0,.1), rgba(0,0,0,.85)), rgba(0,0,0,.25);
}

.slider { position: absolute; inset: 0; z-index: 5; touch-action: none; }
.card {
  position: absolute; left: 0; right: 0;
  top: var(--card-top); height: var(--card-h); height: 100dvh;
  border-radius: var(--radius); overflow: hidden; background: #0b0b0b;
  box-shadow: 0 40px 120px rgba(0,0,0,.55);
  will-change: transform; isolation: isolate; cursor: pointer;
}
.card-media { position: absolute; inset: 0; }
.card-media video, .card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card-media video { z-index: 1; }
.card-shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(0deg, rgba(0,0,0,var(--shade)) 0%, rgba(0,0,0,calc(var(--shade) * .25)) 40%, rgba(0,0,0,0) 60%),
              linear-gradient(180deg, rgba(0,0,0,.3), rgba(0,0,0,0) 25%);
}
.card::after {
  content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06);
}
.card-dim { position: absolute; inset: 0; z-index: 9; background: #000; opacity: .4; pointer-events: none; }

.card-content { position: absolute; inset: 0; z-index: 6; display: flex; align-items: flex-end; justify-content: space-between; padding: 0 var(--side) 7vh; }
.c-bottom { max-width: 72%; }
.c-cat { font-family: var(--f-display); font-weight: 600; font-size: 11px; letter-spacing: .14em; margin-bottom: 14px; color: var(--muted); }

/* título em fatias (efeito que você gostou) */
.title { position: relative; font-size: max(28px, var(--name-size)); line-height: .92; white-space: nowrap; padding-top: .16em; }
.title .t-base { visibility: hidden; display: inline-block; }
.title .strip { position: absolute; inset: 0; display: block; }
.title .strip-in { display: block; padding-top: .16em; will-change: transform; }

/* play limpo: só o triângulo, como na Vetor Zero */
.play {
  width: 64px; height: 64px; flex: none; margin-bottom: 4px;
  display: grid; place-items: center; color: #fff;
  transition: transform .6s var(--ease), opacity .5s var(--ease);
  opacity: .92;
}
.play svg { width: 40px; height: 40px; filter: drop-shadow(0 2px 14px rgba(0,0,0,.35)); }
.play:hover { transform: scale(1.12); opacity: 1; }

/* bolinhas à esquerda (Vetor Zero) */
.dots {
  position: absolute; left: var(--side); top: 0; bottom: 0; z-index: 20;
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
}
.dots button { width: 14px; height: 14px; display: grid; place-items: center; }
.dots button i { width: 4px; height: 4px; border-radius: 50%; background: var(--muted); transition: transform .6s var(--ease), background-color .6s var(--ease); }
.dots button.on i { transform: scale(2.2); background: var(--ink); }
.dots button:hover i { background: var(--ink); }

/* ================= PROJETOS (grade) ================= */
.work {
  position: fixed; inset: 0; z-index: 30; background: var(--bg);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 130px var(--side) 60px;
  visibility: hidden;
}
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; flex-wrap: wrap; }
.work-title { font-size: clamp(48px, 8vw, 140px); line-height: .9; }
.work-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.work-tabs button {
  font-size: 12px; height: 38px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line);
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.work-tabs button:hover { border-color: var(--ink); }
.work-tabs button.on { background: var(--ink); color: #000; border-color: var(--ink); }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.tile { position: relative; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: #111; cursor: pointer; text-align: left; }
.tile img, .tile video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile video { opacity: 0; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.tile.playing video { opacity: 1; }
.tile:hover img, .tile:hover video { transform: scale(1.04); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.7), rgba(0,0,0,0) 55%); pointer-events: none; }
.tile-text { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 2; }
.tile-client { display: block; font-size: clamp(17px, 1.5vw, 24px); line-height: 1; }
.tile-film { display: block; margin-top: 6px; font-size: 13px; font-weight: 500; }
.tile-cat { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--f-display); font-weight: 700; font-size: 10px; letter-spacing: .12em; padding: 6px 10px; border-radius: 999px; background: rgba(0,0,0,.45); backdrop-filter: blur(8px); }
.tiles-empty { grid-column: 1 / -1; color: var(--muted); font-size: 15px; padding: 40px 0; }

/* ================= BUSCA ================= */
/* a lupa vira um campo no topo; o menu sai de cena */
.nav { transition: opacity .45s var(--ease), transform .6s var(--ease); }
.searching .nav { opacity: 0; transform: translateX(-24px); pointer-events: none; }
.find {
  position: absolute; right: var(--side); top: 50%; z-index: 2;
  width: min(330px, calc(100vw - 2 * var(--side) - 90px)); height: 46px;
  display: flex; align-items: center; gap: 14px; padding: 0 16px;
  background: rgba(38,38,38,.92); border-radius: 2px;   /* bloco quadrado, como na Vetor Zero */
  opacity: 0; visibility: hidden; transform: translateY(-50%); clip-path: inset(0 0 0 100%);
  transition: opacity .3s var(--ease), clip-path .7s var(--ease), visibility 0s .7s;
}
.searching .find { opacity: 1; visibility: visible; clip-path: inset(0 0 0 0); transition: opacity .3s var(--ease), clip-path .7s var(--ease), visibility 0s; }
.find-icon { width: 17px; height: 17px; flex: none; color: var(--ink); }
.find-input {
  flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: none; color: var(--ink);
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .01em;
  caret-color: var(--ink);
}
.find-input::placeholder { color: rgba(244,242,238,.42); }
.find-input::-webkit-search-cancel-button { display: none; }
.find-close { display: none; }   /* fecha com Esc ou clicando fora, como na Vetor Zero */
.searching .menu-btn { opacity: 0; pointer-events: none; }

/* resultados: faixa abaixo do topo */
.find-panel {
  position: fixed; z-index: 45; top: 92px; left: var(--side); right: var(--side);
  max-height: calc(100dvh - 120px); overflow-y: auto; overscroll-behavior: contain;
  padding: 18px; border-radius: 2px;
  background: rgba(14,14,14,.9); backdrop-filter: blur(22px);
  visibility: hidden; opacity: 0;
}
.find-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.find-grid .tile-client { font-size: 15px; }
.search-count { margin: 0 0 14px; font-size: 13px; color: var(--muted); }

/* ================= VÍDEO EM TELA CHEIA ================= */
/* player estilo Vetor Zero: caixa de vídeo no centro, linha de crédito no topo */
.watch {
  position: fixed; inset: 0; z-index: 60; color: #fff; visibility: hidden;
  background: rgba(0,0,0,.92); backdrop-filter: blur(6px);
}
.w-top {
  position: absolute; top: 0; left: 0; right: 0; height: 74px;
  display: flex; align-items: center; justify-content: center; padding: 0 70px;
}
.w-info { display: flex; align-items: baseline; gap: 22px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 19px; }
.w-info b { font-family: var(--f-display); font-weight: 800; font-size: 21px; text-transform: uppercase; }
.w-info span { font-weight: 500; }
.w-info .who { color: rgba(255,255,255,.72); font-weight: 400; }
.w-close { position: absolute; right: 22px; top: 50%; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; opacity: .9; transition: transform .5s var(--ease), opacity .3s; }
.w-close svg { width: 22px; height: 22px; }
.w-close:hover { transform: rotate(90deg); opacity: 1; }
.w-arrow { position: absolute; top: 50%; width: 46px; height: 80px; margin-top: -40px; display: grid; place-items: center; opacity: .75; transition: opacity .3s, transform .5s var(--ease); }
.w-arrow svg { width: 16px; height: 30px; }
.w-arrow.prev { left: 10px; } .w-arrow.next { right: 10px; }
.w-arrow:hover { opacity: 1; }
.w-arrow.prev:hover { transform: translateX(-4px); } .w-arrow.next:hover { transform: translateX(4px); }
.w-box {
  position: absolute; left: 50%; top: calc(50% + 18px); transform: translate(-50%, -50%);
  width: min(84vw, calc((100vh - 130px) * 16 / 9)); aspect-ratio: 16 / 9; background: #000;
}
.w-box video { width: 100%; height: 100%; object-fit: contain; display: block; background: #000; }
.w-box:fullscreen { width: 100vw; height: 100vh; }
.w-controls {
  position: absolute; left: 0; right: 0; bottom: 0; height: 46px; padding: 0 16px;
  display: flex; align-items: center; gap: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,0));
  transition: opacity .5s var(--ease);
}
.watch.idle .w-controls { opacity: 0; }
.watch.idle .w-box { cursor: none; }
.w-btn { width: 22px; height: 22px; display: grid; place-items: center; flex: none; }
.w-btn svg { width: 15px; height: 15px; }
.w-time { font-size: 12px; font-weight: 500; font-variant-numeric: tabular-nums; flex: none; }
.w-bar { position: relative; flex: 1; height: 14px; cursor: pointer; }
.w-bar::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: rgba(255,255,255,.25); }
.w-bar i { position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: #fff; transform-origin: left; transform: scaleX(0); }
.watch .i-play, .watch.paused .i-pause { display: none; }
.watch.paused .i-play { display: block; }
.watch .i-mute, .watch.muted .i-wave { display: none; }
.watch.muted .i-mute { display: block; }
.back {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 14px; height: 44px; padding: 0 20px 0 16px; border-radius: 999px;
  background: rgba(255,255,255,.12); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,.22);
  transition: background-color .5s var(--ease), color .5s var(--ease), gap .6s var(--ease);
}
.back svg { width: 16px; height: 16px; }
.back:hover { background: #fff; color: #000; gap: 16px; }

/* ================= QUEM SOMOS ================= */
.about {
  position: fixed; inset: 0; z-index: 30; background: var(--bg);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 140px var(--side) 90px; visibility: hidden;
}
.about-in { max-width: 1400px; }
.about-kicker { font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .14em; color: var(--muted); margin-bottom: 22px; }
.about-kicker-2 { margin: 110px 0 26px; }
.about-title, .about-do h3, .about-close, .about-cta {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase; letter-spacing: -.005em;
}
.about-title { font-size: clamp(32px, 4.4vw, 76px); line-height: .98; max-width: 19ch; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 46px; max-width: 1100px; }
.about-text p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.6; color: var(--muted); }
.about-text p:last-child { color: var(--ink); }
.about-do { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); }
.about-do li {
  position: relative; padding: 26px 22px 30px 0; margin-right: 22px;
  opacity: 0; transform: translateY(26px);
  transition: opacity .9s var(--ease) var(--d, 0s), transform 1.1s var(--ease) var(--d, 0s), background-color .6s var(--ease);
}
.about-do li.in { opacity: 1; transform: none; }
.about-do li:last-child { margin-right: 0; }
/* linha divisória que se desenha de cima para baixo */
.about-do li::after {
  content: ""; position: absolute; top: 0; right: 0; width: 1px; height: 100%; background: var(--line);
  transform: scaleY(0); transform-origin: top; transition: transform 1.2s var(--ease) calc(var(--d, 0s) + .25s);
}
.about-do li.in::after { transform: scaleY(1); }
.about-do li:last-child::after { display: none; }
/* linha vermelha do topo (aparece no hover) */
.about-do li::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 22px; height: 2px; background: var(--red);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease);
}
.about-do li:last-child::before { right: 0; }
.about-do .n { display: block; font-family: var(--f-display); font-weight: 700; font-size: 12px; color: var(--red); margin-bottom: 34px; transition: transform .6s var(--ease); }
.about-do h3 { font-size: clamp(15px, 1.15vw, 19px); line-height: 1.15; margin-bottom: 14px; transition: transform .6s var(--ease); }
.about-do p { font-size: 14px; line-height: 1.55; color: var(--muted); transition: color .6s var(--ease); }
@media (hover: hover) {
  .about-do li:hover { background: linear-gradient(180deg, rgba(244,242,238,.045), rgba(244,242,238,0) 85%); }
  .about-do li:hover::before { transform: scaleX(1); }
  .about-do li:hover .n { transform: translateX(10px); }
  .about-do li:hover h3 { transform: translateY(-6px); }
  .about-do li:hover p { color: var(--ink); }
  .about-do:hover li.in:not(:hover) { opacity: .42; }   /* os outros blocos recuam */
}
.about-end { margin-top: 120px; padding-top: 50px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; }
.about-close { font-size: clamp(28px, 3.6vw, 62px); line-height: .98; max-width: 16ch; }
.about-cta {
  font-size: 13px; height: 52px; padding: 0 34px; border-radius: 999px; border: 1px solid rgba(244,242,238,.4); color: var(--ink);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.about-cta:hover { background: var(--ink); color: #000; border-color: var(--ink); }

/* ================= CONTATO ================= */
.contact {
  position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 16px;
  background: rgba(6,6,6,.82); backdrop-filter: blur(22px);
  visibility: hidden; opacity: 0;
}
.contact-card { width: min(720px, 100%); }
.back.small { height: 38px; font-size: 12px; }
.contact-title { margin-top: 30px; font-size: clamp(48px, 8vw, 120px); line-height: .9; }
.contact-text { margin-top: 22px; font-size: 16px; line-height: 1.6; color: var(--muted); max-width: 54ch; }
.contact-list { margin-top: 28px; border-top: 1px solid var(--line); }
.contact-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: 14px; color: var(--muted); }
.contact-list a { font-size: clamp(14px, 1.6vw, 20px); transition: color .4s; }
.contact-list a:hover { color: var(--red); }

/* ================= GRÃO ================= */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06; mix-blend-mode: overlay; animation: grain .8s steps(5) infinite; }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-6%, 3%); } 40% { transform: translate(5%, -5%); }
  60% { transform: translate(-3%, 6%); } 80% { transform: translate(6%, 2%); } 100% { transform: translate(0, 0); }
}

/* ================= TRANSIÇÕES ================= */
/* cortina em fatias: as mesmas faixas do título da home, fechando e abrindo a tela */
.curtain { position: fixed; inset: 0; z-index: 76; pointer-events: none; display: flex; flex-direction: column; }
.curtain i { flex: 1; margin: -1px 0; background: #050505; transform: scaleX(0); will-change: transform; }
.curtain.on { pointer-events: auto; }
/* vídeo que cresce do quadradinho até o player */
.fly { position: fixed; z-index: 61; pointer-events: none; overflow: hidden; background: #000 center / cover no-repeat; border-radius: 10px; }

/* ================= MENU ☰ DO CELULAR ================= */
.menu-btn { display: none; width: 30px; height: 30px; position: relative; }
.menu-btn i {
  position: absolute; left: 4px; right: 4px; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .5s var(--ease), opacity .3s var(--ease);
}
.menu-btn i:nth-child(1) { top: 8px; }
.menu-btn i:nth-child(2) { top: 14px; }
.menu-btn i:nth-child(3) { top: 20px; }
.mnav-open .menu-btn i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.mnav-open .menu-btn i:nth-child(2) { opacity: 0; }
.mnav-open .menu-btn i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.mnav {
  position: fixed; inset: 0; z-index: 48; background: #000;
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 90px var(--side) 40px; visibility: hidden; opacity: 0;
}
.mnav a, .mnav button {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  font-size: 27px; line-height: 1.25; letter-spacing: .01em; color: var(--ink);
}
.mnav a:active, .mnav button:active { opacity: .6; }
.mnav-label { font-family: var(--f-ui); font-size: 15px; color: var(--muted); margin-bottom: 4px; }
.mnav-gap { height: 22px; }
.mnav-open .top { background: transparent; }

/* ================= RESPONSIVO ================= */
@media (max-width: 1000px) {
  .tiles, .find-grid { grid-template-columns: repeat(2, 1fr); }
  .about-do { grid-template-columns: repeat(2, 1fr); }
  .about-do li { margin-right: 0; border-bottom: 1px solid var(--line); padding-right: 24px; }
  .about-do li::after { display: none; }
  .about-do li::before { right: 0; }
  .about-do .n { margin-bottom: 18px; }
}
@media (max-width: 820px) {
  :root { --side: 20px; }
  .top { padding: 20px var(--side) 34px; background: linear-gradient(180deg, var(--bg) 55%, rgba(6,6,6,0)); }
  .brand img { width: 54px; }
  .nav { display: none; }
  .menu-btn { display: block; }
  .mnav { display: flex; }
  .card-content { padding: 0 var(--side) 40px; align-items: flex-end; }
  .c-bottom { max-width: 80%; }
  .title { font-size: max(22px, calc(var(--name-size) * 2)); }
  .credit { font-size: calc(var(--credit-size) + 2px); line-height: 1.35; }
  .play { width: 50px; height: 50px; }
  .dots { gap: 9px; left: calc(var(--side) - 5px); }
  .work { padding: 100px var(--side) 40px; }
  .about { padding: 104px var(--side) 60px; }
  .about-title { font-size: min(30px, 7.6vw); }
  .about-text { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .about-kicker-2 { margin: 64px 0 18px; }
  .about-do { grid-template-columns: 1fr; }
  .about-end { margin-top: 70px; padding-top: 36px; }
  .about-close { font-size: min(26px, 6.8vw); }
  .work-title { font-size: min(48px, 11vw); }
  .find { width: calc(100vw - 2 * var(--side) - 70px); }
  .find-panel { top: 82px; padding: 12px; }
  .find-grid { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .w-top { height: auto; padding: 18px 60px 0 16px; justify-content: flex-start; }
  .w-info { flex-wrap: wrap; white-space: normal; gap: 4px 12px; font-size: 13px; }
  .w-info b { font-size: 16px; width: 100%; }
  .w-close { top: 30px; right: 10px; }
  .w-box { width: 100vw; top: 50%; }
  .w-arrow { top: auto; bottom: 18%; }
  .w-controls { gap: 10px; padding: 0 10px; }
  .intro-logo { width: 84vw; }
}
@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .nav-link::after, .nav-menu, .tile img, .tile video, .w-controls { transition-duration: .01ms; }
}
