/* Juan Ramirez · Site · versão 2.0.0
   Cores e fontes do Manual de Marca v1.0 */

:root {
  --breu: #0D0E18;
  --indigo: #272370;
  --grafite: #2C2E36;
  --nevoa: #E7E6EA;
  --ardosia: #7A7D8C;
  --luz: #A4A0F5;

  --line: rgba(231, 230, 234, .12);
  --pad: clamp(16px, 5vw, 72px);
  --radius: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --f-title: "Manrope", system-ui, sans-serif;
  --f-text: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--breu);
  color: var(--nevoa);
  font: 400 17px/1.6 var(--f-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--f-title); font-weight: 600; letter-spacing: -.035em; margin: 0; line-height: 1.04; }
p { margin: 0; }
::selection { background: var(--indigo); color: var(--nevoa); }

.label {
  font: 700 12px/1 var(--f-text);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--ardosia);
}

/* Grão de 5% sobre tudo */
.grain {
  position: fixed; inset: -10%;
  z-index: 90; pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -1%); }
  80% { transform: translate(3%, 3%); }
}

/* Abertura */
/* Painel Breu com o monograma; uma linha Luz se desenha e o painel sobe */
.loader { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
body.is-loading .loader { pointer-events: auto; }
.no-intro .loader { display: none; }
.loader__panel {
  position: absolute; inset: 0; background: var(--breu);
  clip-path: inset(0 0 0 0);
  transition: clip-path .75s cubic-bezier(.77, 0, .18, 1) .1s;
}
body.is-loaded .loader__panel { clip-path: inset(0 0 100% 0); }
.loader__mark {
  position: absolute; inset: 0;
  display: grid; place-content: center; justify-items: center; gap: 20px;
  transition: opacity .3s ease, transform .5s var(--ease);
}
body.is-loaded .loader__mark { opacity: 0; transform: translateY(-24px); }
.loader__mono { width: 58px; animation: mono .6s var(--ease) .05s both; }
.loader__name {
  font: 700 12px/1 var(--f-text); color: var(--nevoa);
  letter-spacing: .5em; text-transform: uppercase; text-indent: .5em;
  animation: track .8s var(--ease) .1s both;
}
.loader__line {
  display: block; width: 120px; height: 1px; background: var(--luz);
  transform-origin: left; animation: line .45s var(--ease) .05s both;
}
@keyframes mono { from { opacity: 0; transform: translateY(16px) scale(.92); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes track { from { opacity: 0; letter-spacing: 1.2em; } to { opacity: .8; letter-spacing: .5em; } }
@keyframes line { from { transform: scaleX(0); } }

/* Cursor */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 150;
  width: 10px; height: 10px; margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--nevoa);
  pointer-events: none;
  mix-blend-mode: difference;
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), background .3s;
  opacity: 0;
}
.cursor span { font: 700 11px var(--f-text); letter-spacing: .14em; text-transform: uppercase; color: var(--breu); opacity: 0; transition: opacity .2s; }
.cursor.is-on { opacity: 1; }
.cursor.is-view { width: 84px; height: 84px; margin: -42px 0 0 -42px; mix-blend-mode: normal; }
.cursor.is-view span { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: transparent; border: 1px solid var(--nevoa); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Topo */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 80;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px var(--pad);
  transition: padding .4s var(--ease), background .4s, backdrop-filter .4s, transform .5s var(--ease);
}
.header.is-scrolled {
  padding-top: 14px; padding-bottom: 14px;
  background: rgba(13, 14, 24, .72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__logo img { height: 22px; width: auto; min-width: 120px; }
.header__right { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.nav { display: flex; gap: 34px; }
.lang {
  font: 700 11px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ardosia);
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px;
  transition: color .3s, border-color .3s, background .3s;
}
.lang:hover, .lang:focus-visible { color: var(--nevoa); border-color: rgba(231,230,234,.35); background: rgba(231,230,234,.05); }
.nav a {
  position: relative;
  font-size: 14px; font-weight: 500; color: var(--ardosia);
  transition: color .3s;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--nevoa);
  transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav a:hover { color: var(--nevoa); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
@media (max-width: 760px) { .nav { display: none; } }

/* Botões */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px;
  font: 600 15px/1 var(--f-text);
  border: 1px solid var(--nevoa);
  color: var(--nevoa);
  padding: 18px 28px;
  transition: color .45s var(--ease), border-color .45s, transform .35s var(--ease);
}
.btn:hover { will-change: transform; }
.btn__fill {
  position: absolute; inset: 0; z-index: -1;
  background: var(--nevoa);
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn__label { display: inline-flex; align-items: center; gap: 10px; transition: transform .35s var(--ease); }
.btn:hover { color: var(--breu); }
.btn:hover .btn__fill { transform: translateY(0); }
.btn:active { transform: scale(.97); }
.btn .icon { width: 19px; height: 19px; fill: currentColor; }
.btn__arrow { display: inline-block; transition: transform .45s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(6px); }

.btn--small { padding: 12px 20px; font-size: 14px; }

/* Primário: Névoa cheio, varre Índigo */
.btn--primary { background: var(--nevoa); color: var(--breu); }
.btn--primary .btn__fill { background: var(--indigo); }
.btn--primary:hover { color: var(--nevoa); border-color: var(--indigo); }

/* Grande: no bloco Índigo */
.btn--big {
  padding: 26px 44px;
  font-size: clamp(16px, 2vw, 20px);
  background: var(--nevoa); color: var(--breu); border-color: var(--nevoa);
}
.btn--big .btn__fill { background: var(--breu); }
.btn--big:hover { color: var(--nevoa); border-color: var(--breu); }
.btn--big .icon { width: 24px; height: 24px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 500; font-size: 15px; color: var(--nevoa);
}
.link-arrow__icon {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .3s, background .3s;
}
.link-arrow:hover .link-arrow__icon { transform: translateY(4px); border-color: var(--nevoa); background: rgba(231,230,234,.06); }

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: 130px var(--pad) 90px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 60% at 80% 40%, rgba(39, 35, 112, .55), transparent 70%);
}
.hero__text .label { margin-bottom: 28px; }
.hero__title { font-size: clamp(42px, 6.2vw, 96px); max-width: 11ch; }
.hero__sub { margin-top: 28px; max-width: 470px; color: var(--ardosia); font-size: clamp(16px, 1.4vw, 19px); }
.hero__actions { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }

.hero__media { position: relative; margin: 0; }
.hero__frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  clip-path: inset(100% 0 0 0 round var(--radius));
  transition: clip-path 1.4s var(--ease) .5s;
}
body.is-loaded .hero__frame { clip-path: inset(0 0 0 0 round var(--radius)); }
.hero__frame::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(39,35,112,.05) 30%, rgba(13,14,24,.75));
  mix-blend-mode: multiply;
}
.hero__frame img {
  width: 100%; height: 118%; object-fit: cover; object-position: 55% 30%;
  transform: scale(1.15);
  transition: transform 2.4s var(--ease) .5s;
  filter: saturate(.8) contrast(1.05) brightness(.92);
}
body.is-loaded .hero__frame img { transform: scale(1); }
.hero__chip {
  position: absolute; left: -22px; bottom: 36px;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(44, 46, 54, .78);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  font-size: 13px; font-weight: 500;
  animation: float 6s ease-in-out infinite;
}
/* Luz: a única aparição da cor no site */
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--luz); }
.dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: var(--luz);
  animation: ping 2s var(--ease) infinite;
}
@keyframes ping { to { transform: scale(3.2); opacity: 0; } }
@keyframes float { 50% { transform: translateY(-8px); } }

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; translate: -50% 0;
  width: 22px; height: 36px; border-radius: 12px;
  border: 1px solid var(--line);
}
.scroll-hint span {
  position: absolute; left: 50%; top: 7px; translate: -50% 0;
  width: 2px; height: 7px; border-radius: 2px; background: var(--nevoa);
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; }
  .hero__media { max-width: 460px; }
  .hero__chip { left: 12px; }
  .scroll-hint { display: none; }
}

/* Faixa */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  padding: 22px 0;
}
.marquee__track {
  display: flex; width: max-content; align-items: center; gap: 36px;
  animation: marquee 32s linear infinite;
  font: 600 clamp(22px, 3vw, 40px)/1 var(--f-title);
  letter-spacing: -.035em;
  color: var(--ardosia);
}
.marquee__track span { transition: color .3s; }
.marquee__track span:hover { color: var(--nevoa); }
.marquee__track i { font-style: normal; font-size: .5em; color: var(--indigo); }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Seções */
.section { padding: clamp(90px, 13vw, 170px) var(--pad); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--pad { padding: 0 var(--pad); margin-bottom: 32px; }
.section__head .label { margin-bottom: 22px; }
.section__title { font-size: clamp(34px, 5.2vw, 76px); max-width: 15ch; }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip {
  position: relative; overflow: hidden; isolation: isolate;
  cursor: pointer;
  font: 500 14px/1 var(--f-text);
  color: var(--ardosia);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 20px;
  transition: color .35s, border-color .35s;
}
.chip::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--indigo);
  transform: scale(0); border-radius: inherit;
  transition: transform .45s var(--ease);
}
.chip:hover { color: var(--nevoa); border-color: rgba(231,230,234,.35); }
.chip.is-active { color: var(--nevoa); border-color: var(--indigo); }
.chip.is-active::before { transform: scale(1); }
.chip sup { font-size: 10px; margin-left: 4px; opacity: .6; }

/* Grid de trabalhos: todos os cards no mesmo formato, nada se sobrepõe */
.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}
.work {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius);
  aspect-ratio: 4 / 5;
  background: var(--grafite);
  cursor: pointer;
  opacity: 0; transform: translateY(40px);
  transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .5s var(--ease);
}
.work.is-in { opacity: 1; transform: none; }
.work.is-out { display: none; }
.work:hover { box-shadow: 0 24px 60px -24px rgba(39, 35, 112, .9); }
.work__media { position: absolute; inset: 0; overflow: hidden; }
.work__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.04);
  filter: saturate(.85) brightness(.85);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), filter .6s;
}
.work__media img.is-active { opacity: 1; transform: scale(1); }
.work:hover .work__media img.is-active { transform: scale(1.06); filter: saturate(1) brightness(.75); }
.work::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(13,14,24,.35) 0%, transparent 25%, transparent 50%, rgba(13,14,24,.94) 100%);
}
.work__info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: clamp(18px, 2vw, 26px);
}
.work__info .label { color: var(--nevoa); opacity: .7; margin-bottom: 10px; }
.work__title { font-size: clamp(20px, 1.8vw, 28px); }
.work__client {
  margin-top: 8px; font-size: 14px; color: var(--nevoa); opacity: .65;
  transition: opacity .4s, transform .5s var(--ease);
}
.work.is-group:hover .work__client { opacity: 1; transform: translateX(4px); }
.work__count {
  position: absolute; top: clamp(16px, 2vw, 22px); left: clamp(16px, 2vw, 22px); z-index: 2;
  padding: 8px 12px; border-radius: 999px;
  font: 700 11px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase;
  background: rgba(13,14,24,.55); color: var(--nevoa);
  border: 1px solid rgba(231,230,234,.2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.work__play {
  position: absolute; top: clamp(14px, 2vw, 20px); right: clamp(14px, 2vw, 20px); z-index: 2;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(231,230,234,.12);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(231,230,234,.25);
  transition: transform .5s var(--ease), background .3s;
}
.work__play svg { width: 14px; height: 14px; fill: var(--nevoa); margin-left: 2px; transition: transform .5s var(--ease); }
.work:hover .work__play { transform: scale(1.12) rotate(90deg); background: var(--indigo); }
.work:hover .work__play svg { transform: rotate(-90deg); }
.work:focus-visible { outline: 2px solid var(--nevoa); outline-offset: 4px; }

@media (max-width: 980px) { .works { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .works { grid-template-columns: 1fr; }
  .work { aspect-ratio: 4 / 4.6; }
}

/* Ver todos */
.works-more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
.works-more[hidden] { display: none; }
.works-more__count { font-size: 12px; opacity: .6; margin-left: 2px; }

/* Método */
.method { border-top: 1px solid var(--line); }
.method__line { height: 1px; background: var(--line); margin-bottom: 48px; }
.method__line span { display: block; height: 100%; width: 100%; background: var(--nevoa); transform: scaleX(0); transform-origin: left; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); }
.step { padding-top: 8px; }
.step__num {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--line);
  font: 700 12px var(--f-text); letter-spacing: .14em;
  color: var(--ardosia);
  margin-bottom: 28px;
  transition: background .5s var(--ease), color .5s, border-color .5s;
}
.step:hover .step__num { background: var(--indigo); color: var(--nevoa); border-color: var(--indigo); }
.step h3 { font-size: clamp(22px, 2.2vw, 30px); margin-bottom: 14px; }
.step p { color: var(--ardosia); max-width: 34ch; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* Sobre */
.about {
  display: grid; grid-template-columns: .85fr 1fr;
  gap: clamp(36px, 7vw, 110px); align-items: center;
  border-top: 1px solid var(--line);
}
.about__media { margin: 0; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; }
.about__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform 1.4s var(--ease); }
.about__media:hover img { transform: scale(1.04); }
.about__text .label { margin-bottom: 22px; }
.about__text h2 { margin-bottom: 30px; }
.about__text p:not(.label) { color: var(--ardosia); font-size: clamp(16px, 1.4vw, 19px); max-width: 52ch; }
.about__text p + p { margin-top: 18px; }
.tags { list-style: none; padding: 0; margin: 36px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li {
  padding: 9px 16px; border-radius: 999px;
  background: var(--grafite);
  font-size: 13px; font-weight: 500;
  transition: transform .4s var(--ease), background .3s;
}
.tags li:hover { transform: translateY(-3px); background: var(--indigo); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } .about__media { max-width: 460px; } }

/* Bastidor */
.bts { padding-bottom: clamp(90px, 13vw, 170px); }
.bts__viewport { overflow: hidden; cursor: grab; }
.bts__viewport:active { cursor: grabbing; }
.bts__track { display: flex; gap: 16px; width: max-content; padding: 0 var(--pad); }
.bts__track img {
  height: clamp(240px, 34vw, 440px); width: auto;
  border-radius: var(--radius);
  object-fit: cover;
  user-select: none; -webkit-user-drag: none;
  filter: grayscale(.4) brightness(.85);
  transition: filter .6s, transform .6s var(--ease);
}
.bts__track img:hover { filter: none; transform: translateY(-6px); }

/* Contato */
.cta {
  position: relative; overflow: hidden;
  margin: 0 clamp(8px, 1.5vw, 20px);
  border-radius: calc(var(--radius) * 2);
  background: radial-gradient(120% 120% at 50% 0%, #332e8f 0%, var(--indigo) 45%, #15134a 100%);
  padding: clamp(90px, 14vw, 190px) var(--pad);
  text-align: center;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(closest-side, transparent 60%, rgba(13,14,24,.55));
  pointer-events: none;
}
.cta__inner { position: relative; display: flex; flex-direction: column; align-items: center; }
.cta .label { color: rgba(231,230,234,.6); margin-bottom: 26px; }
.cta__title { font-size: clamp(40px, 7.5vw, 116px); max-width: 13ch; }
.cta__sub { margin: 28px 0 48px; max-width: 46ch; color: rgba(231,230,234,.72); font-size: clamp(16px, 1.4vw, 19px); }

.cta__alt {
  margin-top: 22px; font-size: 14px; color: rgba(231,230,234,.7);
  border-bottom: 1px solid rgba(231,230,234,.3); padding-bottom: 2px;
  transition: color .3s, border-color .3s;
}
.cta__alt:hover { color: var(--nevoa); border-color: var(--nevoa); }

/* Rodapé */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 48px var(--pad) 56px;
}
.footer__mono { height: 34px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 14px; }
.footer__links a { color: var(--ardosia); transition: color .3s; }
.footer__links a:hover { color: var(--nevoa); }
.footer__copy { font-size: 13px; color: var(--ardosia); }

/* Botão flutuante */
.float-whats {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 85;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--nevoa);
  box-shadow: 0 12px 36px rgba(0,0,0,.4);
  transform: translateY(120px) scale(.6);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .5s, background .35s;
}
.float-whats.is-visible { transform: none; opacity: 1; }
.float-whats svg { width: 28px; height: 28px; fill: var(--breu); transition: fill .35s, transform .5s var(--ease); }
.float-whats::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid var(--nevoa);
  animation: ring 2.6s var(--ease) infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.float-whats:hover { background: var(--indigo); }
.float-whats:hover svg { fill: var(--nevoa); transform: rotate(-12deg) scale(1.08); }
.float-whats__tip {
  position: absolute; right: calc(100% + 14px); top: 50%;
  white-space: nowrap;
  padding: 10px 16px; border-radius: 999px;
  background: var(--grafite); color: var(--nevoa);
  font-size: 13px; font-weight: 500;
  border: 1px solid var(--line);
  opacity: 0; transform: translate(10px, -50%);
  transition: opacity .35s, transform .45s var(--ease);
  pointer-events: none;
}
.float-whats:hover .float-whats__tip, .float-whats.is-hint .float-whats__tip { opacity: 1; transform: translate(0, -50%); }
body.at-contact .float-whats { transform: translateY(120px) scale(.6); opacity: 0; }

/* Aba do projeto: player à esquerda, lista à direita */
.modal {
  position: fixed; inset: 0; z-index: 120;
  display: grid; place-items: center;
  padding: clamp(16px, 3vw, 40px);
  background: rgba(13,14,24,.92);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; transition: opacity .45s var(--ease);
}
.modal[hidden] { display: none; }
.modal.is-open { opacity: 1; }
.modal__body {
  width: min(1280px, 100%);
  height: min(84svh, 860px);
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(20px, 3vw, 40px);
  transform: translateY(30px) scale(.98);
  transition: transform .6s var(--ease);
}
.modal.is-open .modal__body { transform: none; }

.modal__stage { position: relative; min-width: 0; min-height: 0; display: grid; place-items: center; }
.modal__media { position: relative; overflow: hidden; border-radius: var(--radius); background: #000; }
.modal__media.is-vertical { height: 100%; aspect-ratio: 9 / 16; max-width: 100%; }
.modal__media.is-horizontal { width: 100%; aspect-ratio: 16 / 9; max-height: 100%; }
.modal__media.is-photo { width: 100%; height: 100%; background: transparent; }
.modal__media iframe, .modal__media video, .modal__media img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: contain; }
.modal__media img { animation: fadeIn .5s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: scale(.985); } }

.modal__arrow {
  position: absolute; top: 50%; z-index: 2; translate: 0 -50%;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(13,14,24,.6); color: var(--nevoa);
  border: 1px solid rgba(231,230,234,.25); font-size: 16px; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: background .3s, transform .4s var(--ease);
  display: none;
}
.modal.is-multi .modal__arrow { display: block; }
.modal__arrow:hover { background: var(--indigo); transform: scale(1.08); }
.modal__prev { left: 0; }
.modal__next { right: 0; }

.modal__info { display: flex; flex-direction: column; min-height: 0; min-width: 0; align-self: center; max-height: 100%; }
.modal.is-multi .modal__info { align-self: stretch; }
.modal__info .label { margin-bottom: 14px; }
.modal__title { font-size: clamp(26px, 2.6vw, 38px); margin-bottom: 10px; }
.modal__desc { color: var(--ardosia); margin-bottom: 22px; }
.modal__desc:empty { display: none; }
.modal__nowline { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--nevoa); margin-bottom: 12px; }
.modal__nowline:has(span:empty + span:empty) { display: none; }
.modal__counter { color: var(--ardosia); white-space: nowrap; }

.playlist {
  list-style: none; margin: 0 0 22px; padding: 0 6px 0 0;
  flex: 1; min-height: 0; overflow-y: auto;
  display: grid; gap: 8px; align-content: start;
  scrollbar-width: thin; scrollbar-color: var(--grafite) transparent;
}
.playlist:empty { display: none; }
.playlist__item {
  width: 100%; display: flex; align-items: center; gap: 14px;
  padding: 8px; border-radius: 12px;
  background: transparent; border: 1px solid transparent; color: var(--nevoa);
  text-align: left; cursor: pointer;
  transition: background .3s, border-color .3s;
}
.playlist__item:hover { background: rgba(231,230,234,.05); }
.playlist__item.is-active { background: var(--grafite); border-color: rgba(231,230,234,.12); }
.playlist__item img { width: 54px; height: 72px; border-radius: 8px; object-fit: cover; flex: none; }
.playlist__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.playlist__text strong { font: 600 15px/1.25 var(--f-title); letter-spacing: -.02em; }
.playlist__text small { font-size: 12px; color: var(--ardosia); }

/* Galeria de fotos: miniaturas em grade */
.modal.is-photos .playlist { grid-template-columns: repeat(3, 1fr); gap: 6px; }
.modal.is-photos .playlist__item { padding: 0; border-width: 2px; overflow: hidden; }
.modal.is-photos .playlist__item img { width: 100%; height: auto; aspect-ratio: 1; border-radius: 10px; opacity: .55; transition: opacity .3s; }
.modal.is-photos .playlist__item:hover img, .modal.is-photos .playlist__item.is-active img { opacity: 1; }
.modal.is-photos .playlist__item.is-active { border-color: var(--nevoa); background: transparent; }

.modal__info .btn { align-self: flex-start; }
.modal__close {
  position: absolute; top: clamp(12px, 2vw, 22px); right: clamp(12px, 2vw, 22px); z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--grafite); color: var(--nevoa);
  border: 1px solid var(--line); font-size: 16px; cursor: pointer;
  transition: transform .5s var(--ease), background .3s;
}
.modal__close:hover { transform: rotate(90deg); background: var(--indigo); }

@media (max-width: 900px) {
  .modal { place-items: start center; overflow-y: auto; padding: 70px 16px 24px; }
  .modal__body { grid-template-columns: minmax(0, 1fr); width: 100%; height: auto; gap: 20px; }
  .modal__stage { height: 62svh; }
  .modal__info { align-self: stretch; max-height: none; }
  .playlist { flex: none; max-height: none; overflow: visible; display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
  .playlist li { flex: none; width: 240px; }
  .modal.is-photos .playlist li { width: 84px; }
  .modal__arrow { width: 40px; height: 40px; }
}

/* Camada visual v2: texturas da marca e seções mais marcantes */

/* Hero com a textura "luz de cena" do kit */
.hero::before {
  background:
    linear-gradient(180deg, rgba(13,14,24,.15) 0%, rgba(13,14,24,0) 45%, var(--breu) 100%),
    url("/assets/img/tex/luz-de-cena.jpg") center / cover no-repeat;
}
.hero__facts {
  list-style: none; margin: 48px 0 0; padding: 26px 0 0;
  display: flex; flex-wrap: wrap; gap: 18px clamp(24px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.hero__facts li { display: flex; flex-direction: column; gap: 4px; }
.hero__facts strong { font: 600 clamp(20px, 2vw, 26px)/1 var(--f-title); letter-spacing: -.03em; }
.hero__facts span { font-size: 13px; color: var(--ardosia); }
.hero__frame { box-shadow: 0 40px 120px -40px rgba(39, 35, 112, .9); }

/* Faixa: palavras cheias e vazadas, alternando */
.marquee { background: rgba(44, 46, 54, .35); padding: 28px 0; }
.marquee__track { font-size: clamp(28px, 4.4vw, 60px); gap: 44px; color: var(--nevoa); }
.marquee__track .o { color: transparent; -webkit-text-stroke: 1px rgba(231,230,234,.55); }
.marquee__track span:hover { color: var(--nevoa); -webkit-text-stroke: 0; }

/* Cabeçalho de seção em duas colunas */
.section__head--split { display: grid; grid-template-columns: 1fr minmax(0, 340px); align-items: end; gap: 24px 48px; }
.section__aside { color: var(--ardosia); font-size: 16px; line-height: 1.55; padding-bottom: 10px; }
@media (max-width: 800px) { .section__head--split { grid-template-columns: 1fr; } }
#trabalhos { position: relative; }
#trabalhos::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 70%; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 60% at 0% 0%, rgba(39, 35, 112, .35), transparent 70%);
}

/* Método num painel índigo com vinheta */
.method { border-top: 0; padding-top: clamp(20px, 4vw, 40px); }
.method__panel {
  position: relative; overflow: hidden;
  border-radius: calc(var(--radius) * 2);
  padding: clamp(36px, 6vw, 84px);
  background:
    radial-gradient(80% 90% at 100% 0%, rgba(164, 160, 245, .14), transparent 60%),
    url("/assets/img/tex/indigo.jpg") center / cover no-repeat;
}
.method__panel .label { color: rgba(231,230,234,.65); }
.method__panel .method__line { background: rgba(231,230,234,.18); }
.method__panel .steps { gap: clamp(14px, 2vw, 22px); }
.method__panel .step {
  padding: clamp(24px, 3vw, 36px);
  border-radius: var(--radius);
  background: rgba(13, 14, 24, .32);
  border: 1px solid rgba(231,230,234,.12);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: transform .5s var(--ease), background .4s, border-color .4s;
}
.method__panel .step:hover { transform: translateY(-6px); background: rgba(13, 14, 24, .5); border-color: rgba(231,230,234,.25); }
.method__panel .step__num {
  width: auto; height: auto; border: 0; border-radius: 0; margin-bottom: 22px;
  font: 600 clamp(44px, 5vw, 64px)/1 var(--f-title); letter-spacing: -.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(231,230,234,.7);
}
.method__panel .step:hover .step__num { background: none; color: var(--nevoa); -webkit-text-stroke: 0; }
.method__panel .step p { color: rgba(231,230,234,.72); }

/* Sobre: moldura índigo deslocada atrás da foto */
.about { border-top: 0; }
.about__media { box-shadow: 18px 18px 0 0 var(--indigo); margin: 0 18px 18px 0; }

/* Bastidor: faixa maior, sobre textura grafite */
.bts {
  position: relative; padding-top: clamp(80px, 10vw, 130px);
  background:
    linear-gradient(180deg, var(--breu), rgba(13,14,24,.2) 30%, rgba(13,14,24,.2) 70%, var(--breu)),
    url("/assets/img/tex/grafite.jpg") center / cover no-repeat;
}
.bts .section__title { margin-top: 18px; }
.bts__track { gap: 18px; }
.bts__track img {
  height: clamp(300px, 40vw, 540px);
  filter: saturate(.95) brightness(.95);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.8);
}
.bts__track img:hover { filter: none; transform: translateY(-8px) scale(1.01); }

/* Contato sobre a textura índigo */
.cta {
  background:
    radial-gradient(70% 80% at 50% 0%, rgba(164, 160, 245, .18), transparent 60%),
    url("/assets/img/tex/indigo.jpg") center / cover no-repeat;
}

/* ============================================================
   Redesenho do Juan (v2.0.0): topo novo, hero em tela cheia, projetos em grade,
   filmes, reels, sobre com passos. Tudo com prefixo .v2-
   ============================================================ */
.v2-header__end {
  display: flex;
  align-items: center;
  gap: 18px;
}
.v2-lang {
  font: 700 12px/1 var(--f-text);
  letter-spacing: 0.14em;
  color: var(--ardosia);
  transition: color 0.3s;
}
.v2-lang:hover {
  color: var(--nevoa);
}
/* No celular o link de idioma continua visível (é a única forma de trocar de idioma) */
@media (max-width: 760px) {
  .v2-header__end {
    gap: 12px;
  }
  .v2-lang {
    padding: 10px 4px;
  }
}
.v2-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 120px var(--pad) 28px;
  color: var(--nevoa);
}
.v2-hero__slides img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  transition:
    opacity 1.4s ease,
    transform 7s linear;
}
.v2-hero__slides img.is-active {
  opacity: 1;
  transform: scale(1);
}
.v2-hero__shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #0d0e1899, #0d0e181a 32%, #0d0e18e0), linear-gradient(90deg, #0d0e18a6, #0d0e1800 60%);
}
.v2-hero__content {
  position: relative;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 0 0 52px 36px;
}
.v2-hero__content .label {
  color: #e7e6eabf;
}
.v2-name {
  margin: 0;
  font-family: var(--f-title);
  font-weight: 600;
  font-size: clamp(76px, 14vw, 224px);
  line-height: 0.84;
  letter-spacing: -0.05em;
}
.v2-name .w {
  display: block;
  width: max-content;
}
.v2-hero__sub {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(17px, 1.5vw, 21px);
  color: #e7e6ead9;
}
.v2-hl {
  background: linear-gradient(100deg, var(--nevoa) 0%, var(--nevoa) 40%, var(--luz) 50%, var(--nevoa) 60%, var(--nevoa) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 4.5s ease-in-out 2.2s infinite;
}
.v2-hero__bar {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px 36px 0;
  border-top: 1px solid rgba(231, 230, 234, 0.2);
  font: 700 11px/1.4 var(--f-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7e6eabf;
}
/* Linha que enche enquanto cada foto do topo fica na tela */
.v2-hero__prog {
  position: absolute;
  top: -1px;
  left: 36px;
  right: 36px;
  height: 1px;
  overflow: hidden;
}
.v2-hero__prog i {
  display: block;
  height: 100%;
  background: var(--nevoa);
  transform: scaleX(0);
  transform-origin: left;
}
.v2-hero__prog.is-run i {
  animation: prog 4.5s linear both;
}
@keyframes prog { to { transform: scaleX(1); } }
.v2-count b {
  color: var(--nevoa);
  font-weight: 700;
}
@media (max-width: 700px) {
  .v2-hero__content {
    padding-left: 0;
  }
  .v2-hero__bar {
    padding-inline: 0;
    min-height: 66px;
  }
  .v2-hero__prog {
    left: 0;
    right: 0;
  }
}
.v2-sec {
  border-top: 1px solid var(--line);
}
.v2-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.v2-row {
  width: 100%;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 150px 130px 48px;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: var(--nevoa);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition:
    padding 0.5s var(--ease),
    background 0.4s;
}
.v2-row:hover {
  padding-left: 18px;
  padding-right: 18px;
  background: #27237038;
}
.v2-row__n,
.v2-row__cat,
.v2-row__count {
  font: 700 12px/1 var(--f-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ardosia);
}
.v2-row__name {
  font-family: var(--f-title);
  font-weight: 600;
  font-size: clamp(28px, 4.2vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.035em;
}
.v2-row__go {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--line);
  transition:
    transform 0.5s var(--ease),
    background 0.3s,
    border-color 0.3s;
}
.v2-row:hover .v2-row__go {
  transform: rotate(-45deg);
  background: var(--nevoa);
  color: var(--breu);
  border-color: var(--nevoa);
}
.v2-row:focus-visible {
  outline: 2px solid var(--nevoa);
  outline-offset: 4px;
}
@media (max-width: 760px) {
  .v2-row {
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: 14px;
    padding: 20px 0;
  }
  .v2-row__cat,
  .v2-row__go {
    display: none;
  }
}
.v2-peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 60;
  pointer-events: none;
  width: 280px;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  scale: 0.85;
  transition:
    opacity 0.3s,
    scale 0.45s var(--ease);
  box-shadow: 0 30px 80px -20px #000c;
}
.v2-peek.is-on {
  opacity: 1;
  scale: 1;
}
.v2-peek img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (hover: none) {
  .v2-peek {
    display: none;
  }
}
.v2-play {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  translate: -50% -50%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  background: #e7e6eaf0;
  transition:
    transform 0.45s var(--ease),
    opacity 0.3s;
}
.v2-play svg {
  width: 30px;
  height: 30px;
  fill: var(--breu);
  margin-left: 5px;
}
.v2-play:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--nevoa);
  animation: ring 2.6s var(--ease) infinite;
}
.v2-play:hover {
  transform: scale(1.08);
}
.is-playing .v2-play,
.is-playing .v2-cinema__info {
  opacity: 0;
  pointer-events: none;
}
.v2-cinema {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}
.v2-cinema__stage {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
}
.v2-cinema__stage:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 50%, rgba(13, 14, 24, 0.88));
  transition: opacity 0.4s;
}
.is-playing .v2-cinema__stage:after {
  opacity: 0;
}
.v2-cinema__cover,
.v2-monitor__cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s;
}
.is-playing .v2-cinema__cover,
.is-playing .v2-monitor__cover {
  opacity: 0;
}
.v2-cinema__player,
.v2-monitor__player {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
.is-playing .v2-cinema__player,
.is-playing .v2-monitor__player {
  pointer-events: auto;
}
.v2-cinema__player iframe,
.v2-monitor__player iframe,
.v2-cinema__player video,
.v2-monitor__player video {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.v2-cinema__info {
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 26px;
  z-index: 2;
  color: var(--nevoa);
  transition: opacity 0.3s;
}
.v2-cinema__info .label {
  color: #e7e6eab3;
}
.v2-cinema__info h3 {
  margin: 10px 0 6px;
  font-size: clamp(26px, 3vw, 44px);
}
.v2-cinema__info p {
  margin: 0;
  color: #e7e6eabf;
}
.v2-cinema__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.v2-cinema__list button,
.v2-monitor__list button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 12px;
  background: #2c2e3659;
  border: 1px solid var(--line);
  color: var(--nevoa);
  text-align: left;
  cursor: pointer;
  font: inherit;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.v2-cinema__list button:hover,
.v2-monitor__list button:hover {
  background: #2c2e36b3;
}
.v2-cinema__list button.is-active,
.v2-monitor__list button.is-active {
  background: var(--indigo);
  border-color: var(--indigo);
}
.v2-cl__n {
  font: 700 12px/1 var(--f-text);
  letter-spacing: 0.14em;
  color: var(--ardosia);
}
.is-active .v2-cl__n {
  color: #e7e6eab3;
}
.v2-cl__t {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.v2-cl__t strong {
  font: 600 18px/1.2 var(--f-title);
  letter-spacing: -0.02em;
}
.v2-cl__t small,
.v2-cl__d {
  font-size: 13px;
  color: var(--ardosia);
}
.is-active .v2-cl__t small,
.is-active .v2-cl__d {
  color: #e7e6eabf;
}
@media (max-width: 980px) {
  .v2-cinema {
    grid-template-columns: 1fr;
  }
  .v2-play {
    width: 72px;
    height: 72px;
  }
}
/* Celular: a capa do filme é pequena. Sem o painel de câmera e sem o número do filme, o título não
   fica por cima do botão de play. */
@media (max-width: 560px) {
  .v2-cinema__info {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }
  .v2-cinema__info .label {
    display: none;
  }
  .v2-cinema__info h3 {
    margin: 0 0 2px;
    font-size: 20px;
  }
  .v2-cinema__info p {
    font-size: 13px;
  }
  .v2-play {
    width: 56px;
    height: 56px;
  }
}
.v2-monitor {
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding: clamp(18px, 2.4vw, 32px);
  border-radius: 28px;
  background: #2c2e3659;
  border: 1px solid var(--line);
}
.v2-monitor__stage {
  position: relative;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
}
.v2-monitor__panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 8px;
  min-width: 0;
}
.v2-monitor__panel .label b {
  color: var(--nevoa);
}
.v2-monitor__title {
  margin: 4px 0 0;
  font-size: clamp(32px, 3.6vw, 52px);
}
.v2-monitor__client {
  margin: 0;
  color: var(--ardosia);
}
.v2-monitor__nav {
  display: flex;
  gap: 10px;
  margin: 8px 0 18px;
}
.v2-round {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--nevoa);
  font-size: 18px;
  cursor: pointer;
  transition:
    background 0.3s,
    transform 0.4s var(--ease);
}
.v2-round:hover {
  background: var(--indigo);
  transform: scale(1.06);
}
.v2-timeline__label {
  margin-top: 10px;
}
.v2-timeline {
  display: flex;
  gap: 4px;
  height: 46px;
}
.v2-timeline button {
  flex-basis: 0;
  min-width: 14px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  background: var(--grafite);
  color: var(--ardosia);
  position: relative;
  overflow: hidden;
  font: 700 10px/1 var(--f-text);
  letter-spacing: 0.1em;
  transition:
    background 0.3s,
    color 0.3s;
}
.v2-timeline button span {
  position: absolute;
  left: 6px;
  top: 6px;
}
.v2-timeline button:hover {
  background: #3a3c46;
  color: var(--nevoa);
}
.v2-timeline button.is-active {
  background: var(--luz);
  color: var(--breu);
}
.v2-monitor__list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.v2-monitor__list button {
  justify-content: space-between;
  padding: 14px 16px;
  font-size: 14px;
}
.v2-monitor__list small {
  color: var(--ardosia);
}
@media (max-width: 860px) {
  .v2-monitor {
    grid-template-columns: 1fr;
  }
  .v2-monitor__stage {
    max-width: 380px;
    width: 100%;
    justify-self: center;
  }
  .v2-monitor__list {
    grid-template-columns: 1fr;
  }
}
.v2-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}
.v2-photos {
  columns: 4 240px;
  column-gap: 14px;
}
.v2-photo {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 14px;
  padding: 0;
  border: 0;
  background: var(--grafite);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  break-inside: avoid;
  animation: photoIn 0.7s var(--ease) both;
}
@keyframes photoIn {
  0% {
    opacity: 0;
    transform: translateY(24px);
  }
}
.v2-photo img {
  width: 100%;
  display: block;
  transition:
    transform 1s var(--ease),
    filter 0.5s;
}
.v2-photo:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}
.v2-photo span {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #0d0e18a6;
  color: var(--nevoa);
  font: 700 11px/1 var(--f-text);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.35s,
    transform 0.45s var(--ease);
}
.v2-photo:hover span,
.v2-photo:focus-visible span {
  opacity: 1;
  transform: none;
}
.v2-photo:focus-visible {
  outline: 2px solid var(--nevoa);
  outline-offset: 3px;
}
.v2-about {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(36px, 7vw, 110px);
  align-items: center;
  border-top: 1px solid var(--line);
}
.v2-about__media {
  margin: 0 18px 18px 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 18px 18px 0 0 var(--indigo);
}
.v2-about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 35%;
  transition: transform 1.4s var(--ease);
}
.v2-about__media:hover img {
  transform: scale(1.04);
}
.v2-about__text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.v2-about__text > p:not(.label) {
  margin: 0;
  color: var(--ardosia);
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 52ch;
}
.v2-steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.v2-steps li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.v2-steps b {
  font: 600 30px/1 var(--f-title);
  color: transparent;
  -webkit-text-stroke: 1px rgba(231, 230, 234, 0.7);
  min-width: 46px;
}
.v2-steps span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ardosia);
  font-size: 15px;
}
.v2-steps strong {
  font: 600 19px/1.2 var(--f-title);
  color: var(--nevoa);
  letter-spacing: -0.02em;
}
@media (max-width: 860px) {
  .v2-about {
    grid-template-columns: 1fr;
  }
  .v2-about__media {
    max-width: 460px;
  }
}
.v2-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: clamp(230px, 22vw, 330px);
  gap: 16px;
}
.v2-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  padding: 0;
  border-radius: var(--radius);
  cursor: pointer;
  background: var(--grafite);
  color: var(--nevoa);
  text-align: left;
  font: inherit;
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease),
    box-shadow 0.5s var(--ease);
}
.v2-card.is-feature {
  grid-column: span 2;
  grid-row: span 2;
}
.v2-card:hover {
  box-shadow: 0 30px 70px -30px #272370f2;
}
.v2-card:focus-visible {
  outline: 2px solid var(--nevoa);
  outline-offset: 4px;
}
.v2-card__media {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.v2-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  filter: saturate(0.9) brightness(0.85);
  transition:
    opacity 0.9s var(--ease),
    transform 1.2s var(--ease),
    filter 0.6s;
}
.v2-card__media img.is-active {
  opacity: 1;
  transform: scale(1);
}
.v2-card:hover .v2-card__media img.is-active {
  transform: scale(1.07);
  filter: saturate(1) brightness(0.75);
}
.v2-card:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg, #0d0e1873, #0d0e1800 28% 50%, #0d0e18eb);
}
.v2-card__top {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.v2-card__n {
  font: 700 12px/1 var(--f-text);
  letter-spacing: 0.14em;
  color: #e7e6eacc;
}
.v2-card__tag {
  padding: 7px 11px;
  border-radius: 999px;
  background: #0d0e188c;
  border: 1px solid rgba(231, 230, 234, 0.2);
  font: 700 10px/1 var(--f-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.v2-card__icon {
  position: absolute;
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7e6ea24;
  border: 1px solid rgba(231, 230, 234, 0.25);
  transition:
    background 0.35s,
    transform 0.5s var(--ease);
}
.v2-card__icon svg {
  width: 16px;
  height: 16px;
  fill: var(--nevoa);
}
.v2-card:hover .v2-card__icon {
  background: var(--indigo);
  transform: scale(1.1);
}
.v2-card__info {
  position: absolute;
  left: 20px;
  right: 72px;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.v2-card__cat {
  font: 700 11px/1 var(--f-text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #e7e6eab3;
}
.v2-card__name {
  font: 600 clamp(20px, 1.8vw, 26px) / 1.1 var(--f-title);
  letter-spacing: -0.03em;
}
.v2-card.is-feature .v2-card__info {
  left: 32px;
  bottom: 30px;
}
.v2-card.is-feature .v2-card__name {
  font-size: clamp(34px, 4vw, 64px);
}
.v2-card.is-feature .v2-card__top {
  top: 24px;
  left: 24px;
  right: 24px;
}
.v2-card.is-feature .v2-card__icon {
  right: 26px;
  bottom: 26px;
  width: 58px;
  height: 58px;
}
@media (max-width: 980px) {
  .v2-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
  }
}
@media (max-width: 560px) {
  .v2-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 320px;
  }
  .v2-card.is-feature {
    grid-column: auto;
    grid-row: span 1;
  }
}

/* Revelação no scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split .w > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); }
.split.is-in .w > span { transform: none; }

/* Palavra em destaque no título, com brilho que passa */
.split .w > span.hl {
  background: linear-gradient(100deg, var(--nevoa) 0%, var(--nevoa) 40%, var(--luz) 50%, var(--nevoa) 60%, var(--nevoa) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 4.5s ease-in-out 2.2s infinite;
}
@keyframes shine { 0% { background-position: 100% 0; } 45%, 100% { background-position: 0 0; } }

/* Luz que segue o mouse no topo */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx, 70%) var(--my, 40%), rgba(164, 160, 245, .14), transparent 70%);
  transition: opacity .6s;
}

/* Desempenho: títulos só aparecem já divididos; animações param fora da tela;
   seções abaixo da dobra só são montadas quando chegam perto (as imagens de fundo delas também só carregam aí) */
.split:not(.is-split) { visibility: hidden; }
.loader__mono { height: auto; }
.hero.is-off .scroll-hint span, .hero.is-off .split .w > span.hl,
.v2-hero.is-off .v2-hl, .v2-hero.is-off .v2-hero__prog i,
.v2-cinema.is-off .v2-play::before,
.v2-monitor.is-off .v2-play::before,
.marquee.is-off .marquee__track { animation-play-state: paused; }
.v2-lang:focus-visible { color: var(--nevoa); }
/* contain-intrinsic-size é o tamanho do conteúdo (sem o padding da seção), medido em 1440 e em 390 */
#projetos, #filmes, #reels, .v2-about, .method, .about, .bts, .cta { content-visibility: auto; }
#projetos { contain-intrinsic-size: auto 1245px; }
#filmes { contain-intrinsic-size: auto 700px; }
#reels { contain-intrinsic-size: auto 960px; }
.v2-about { contain-intrinsic-size: auto 705px; }
.method { contain-intrinsic-size: auto 1000px; }
.about { contain-intrinsic-size: auto 1000px; }
.bts { contain-intrinsic-size: auto 685px; }
.cta { contain-intrinsic-size: auto 555px; }
@media (max-width: 800px) {
  #projetos { contain-intrinsic-size: auto 3240px; }
  #filmes { contain-intrinsic-size: auto 680px; }
  #reels { contain-intrinsic-size: auto 1620px; }
  .v2-about { contain-intrinsic-size: auto 1165px; }
  .method { contain-intrinsic-size: auto 1200px; }
  .about { contain-intrinsic-size: auto 1120px; }
  .bts { contain-intrinsic-size: auto 400px; }
  .cta { contain-intrinsic-size: auto 425px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .reveal, .work, .split .w > span { opacity: 1; transform: none; }
  .hero__frame { clip-path: none; }
}
