/* =========================================================
   Wesley Films — roxo-escuro · gelo · degradê magenta/violeta
   ========================================================= */
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url(../assets/fonts/barlow-400.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url(../assets/fonts/barlow-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url(../assets/fonts/barlow-600.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 500; font-display: swap; src: url(../assets/fonts/barlow-condensed-500.woff2) format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url(../assets/fonts/barlow-condensed-600.woff2) format("woff2"); }
:root {
  --bg: #17121e;
  --bg-2: #0c0710;
  --surface: #20192a;
  --line: rgba(240, 246, 255, .08);
  --line-2: rgba(240, 246, 255, .16);
  --text: #f0f6ff;
  --muted: #cfcfda;
  --accent: #ff6ad5;
  --accent-2: #a838ff;
  --grad: linear-gradient(90deg, #bf2b93, #7f2ada);
  --grad-bright: linear-gradient(90deg, #ff6ad5, #c98bff);
  --radius: 4px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  --sans: "Barlow", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: .005em; line-height: 1.02; text-transform: uppercase; }
h2 { font-size: clamp(2.6rem, 5.6vw, 4.6rem); margin-bottom: 1.6rem; }
h3 { font-size: 1.3rem; letter-spacing: .015em; }
p { margin: 0 0 1.1rem; color: var(--muted); font-weight: 500; }
/* sombra escura: mantém o texto legível quando a fumaça passa por trás */
main h1, main h2, main h3, main p, main li, main dd, main dt { text-shadow: 0 1px 14px rgba(12, 7, 16, .9), 0 0 2px rgba(12, 7, 16, .6); }
::selection { background: var(--accent-2); color: #fff; }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.label { font-size: .72rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; font-variant-numeric: tabular-nums; }
.accent {
  font-style: normal; text-shadow: none; background: var(--grad-bright); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { display: flex; align-items: center; gap: 14px; color: var(--muted); margin-bottom: 1.4rem; }
.eyebrow .idx { color: var(--accent); }
.eyebrow .idx::after { content: ""; display: inline-block; width: 28px; height: 1px; background: var(--line-2); vertical-align: middle; margin-left: 14px; }
.eyebrow .rule { width: 38px; height: 1px; background: var(--accent); }
.lead { color: var(--text); font-size: clamp(1.1rem, 1.7vw, 1.3rem); line-height: 1.6; font-weight: 400; }
.section { padding: clamp(96px, 13vw, 170px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }

/* fumaça de fundo (fixa, atrás do conteúdo) */
.smoke { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 2.5s ease; }
body.ready .smoke { opacity: .5; }
main, .footer { position: relative; z-index: 1; }

/* grão de filme */
body::after {
  will-change: transform;
  content: ""; position: fixed; inset: -50%; z-index: 300; pointer-events: none; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .9s steps(3) infinite;
}
/* desfoque do menu só onde há mouse (computador); no celular o fundo sólido rola mais leve */
@media (hover: hover) { .nav.scrolled { background: rgba(12, 7, 16, .78); backdrop-filter: blur(16px) saturate(1.2); } }
/* em telas de toque o grão fica parado: animar uma camada do tamanho da tela custa caro no celular */
@media (hover: none) { body::after { animation: none; } }
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-2%,1.5%)} 66%{transform:translate(1.5%,-2%)} }

/* ===== Botões e links ===== */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 34px; border-radius: 100px; overflow: hidden; isolation: isolate;
  background: var(--grad); color: #fff; font: 600 .84rem var(--sans); letter-spacing: .14em; text-transform: uppercase;
  transition: transform .5s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #7f2ada, #bf2b93); border-radius: inherit;
  transform: scale(0, 1); transform-origin: right; transition: transform .6s var(--ease);
}
.btn:hover::before { transform: scale(1, 1); transform-origin: left; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 10px; font: 500 .84rem var(--sans); letter-spacing: .14em; text-transform: uppercase;
  padding-bottom: 6px; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 1px no-repeat, linear-gradient(var(--line-2), var(--line-2)) 0 100% / 100% 1px no-repeat;
  transition: background-size .6s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px, 100% 1px; }
.link-arrow span[aria-hidden] { transition: transform .5s var(--ease); }
.link-arrow:hover span[aria-hidden] { transform: translateX(5px); }

/* ===== Abertura (barras de cinema) ===== */
.intro { position: fixed; inset: 0; z-index: 250; pointer-events: none; }
.intro__bar { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--bg); transition: transform 1.3s var(--ease-io); }
.intro__bar--top { top: 0; } .intro__bar--bottom { bottom: 0; }
.intro__center { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 26px; transition: opacity .5s; }
.intro__logo { width: min(320px, 70vw); opacity: 0; animation: introIn 1.2s var(--ease) .1s forwards; }
.intro__line { width: min(320px, 70vw); height: 1px; background: var(--line); }
.intro__line span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .25s linear; }
.intro__meta { width: min(320px, 70vw); display: flex; justify-content: space-between; color: var(--muted); font-size: .70rem; }
@keyframes introIn { from { opacity: 0; letter-spacing: .3em; filter: blur(8px); } to { opacity: 1; filter: none; } }
.intro.done .intro__center { opacity: 0; }
.intro.done .intro__bar--top { transform: translateY(-100%); }
.intro.done .intro__bar--bottom { transform: translateY(100%); }

/* ===== Progresso ===== */
.progress { position: fixed; top: 0; left: 0; height: 1px; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); z-index: 120; }

/* ===== Navegação ===== */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 90; display: flex; align-items: center; justify-content: space-between;
  padding: 28px max(16px, calc((100% - 1240px) / 2));
  transition: padding .5s var(--ease), background .5s, border-color .5s, transform .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { padding-block: 14px; background: rgba(12, 7, 16, .94); border-color: var(--line); }
.nav.hidden { transform: translateY(-100%); }
.nav__logo img { height: 38px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 34px; font-size: .92rem; font-weight: 500; letter-spacing: .04em; }
.nav__links a { position: relative; color: var(--muted); transition: color .4s; }
.nav__links a:hover, .nav__links a.active { color: var(--text); }
.nav__links a:not(.nav__cta)::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 4px; height: 4px; margin-top: -2px; border-radius: 50%;
  background: var(--accent); transform: scale(0); transition: transform .4s var(--ease);
}
.nav__links a.active::before { transform: scale(1); }
.nav__cta { color: var(--text) !important; padding: 10px 20px; border: 1px solid var(--line-2); border-radius: 100px; transition: border-color .4s, background .4s, color .4s !important; }
.nav__cta:hover { border-color: transparent; background: var(--grad); color: #fff !important; }
.nav__toggle { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 8px; right: 8px; height: 1px; background: var(--text); transition: transform .5s var(--ease); }
.nav__toggle span:first-child { top: 16px; } .nav__toggle span:last-child { top: 24px; }
.nav__toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__toggle { display: block; z-index: 2; }
  .nav__links {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 30px; font-size: 1.6rem; font-weight: 400;
    background: var(--bg); clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
  }
  .nav__links.open { clip-path: inset(0 0 0 0); }
  .nav__links a:not(.nav__cta)::before { left: -18px; }
  .nav__cta { font-size: 1rem; }
  .nav__logo img { height: 32px; }
}

/* ===== Hero ===== */
.hero { position: relative; min-height: min(100svh, 820px); display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__light {
  position: absolute; left: -20%; right: -20%; top: 36%; height: 2px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(253,57,195,.0) 20%, rgba(253,57,195,.55) 50%, rgba(253,57,195,0) 80%, transparent);
  filter: blur(1px); box-shadow: 0 0 40px 6px rgba(168,56,255,.18);
  opacity: 0; animation: flare 9s var(--ease) 2.2s infinite;
}
@keyframes flare { 0% { opacity: 0; transform: translateX(-30%) scaleX(.4); } 25% { opacity: .9; } 60% { opacity: 0; transform: translateX(30%) scaleX(1); } 100% { opacity: 0; } }
.hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 80% at 50% 0%, transparent 40%, rgba(12,7,16,.85)); }
.hero__content { position: relative; z-index: 2; }
.hero__title { font-size: clamp(3.3rem, 10vw, 8.8rem); letter-spacing: -.005em; line-height: 1; margin-bottom: clamp(32px, 5vw, 56px); }
.hero__title .line { display: block; overflow: hidden; padding-block: .1em .08em; margin-top: -.1em; }
.hero__title .line > span { display: inline-block; transform: translateY(110%); transition: transform 1.4s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
body.ready .hero__title .line > span { transform: none; }
.hero__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 30px 60px; border-top: 1px solid var(--line); padding-top: 28px; }
.hero__lead { max-width: 480px; margin: 0; font-size: 1rem; }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 30px; }
.split-in { opacity: 0; transform: translateY(18px); transition: opacity 1.2s var(--ease) .5s, transform 1.2s var(--ease) .5s; }
.hero__cta.split-in { transition-delay: .65s; }
body.ready .split-in { opacity: 1; transform: none; }
.hero__scroll { position: absolute; right: max(16px, calc((100% - 1240px) / 2)); bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .6rem; }
.hero__scroll-line { width: 40px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); animation: slide 2.4s var(--ease-io) infinite; }
@keyframes slide { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }

/* Viewfinder */
.viewfinder { position: absolute; inset: 104px max(16px, calc((100% - 1300px) / 2)) 28px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 1.5s .9s; }
body.ready .viewfinder { opacity: 1; }
.vf { position: absolute; width: 18px; height: 18px; border: 0 solid rgba(240,246,255,.35); }
.vf--tl { top: 0; left: 0; border-width: 1px 0 0 1px; }
.vf--tr { top: 0; right: 0; border-width: 1px 1px 0 0; }
.vf--bl { bottom: 0; left: 0; border-width: 0 0 1px 1px; }
.vf--br { bottom: 0; right: 0; border-width: 0 1px 1px 0; }
.vf__rec { position: absolute; top: 12px; left: 30px; display: flex; align-items: center; gap: 8px; color: var(--text); font-size: .70rem; }
.vf__rec b { width: 6px; height: 6px; border-radius: 50%; background: #d8442f; animation: blink 1.6s steps(2) infinite; }
.vf__meta { position: absolute; top: 12px; right: 30px; display: flex; gap: 22px; color: var(--muted); font-size: .70rem; }
@keyframes blink { 50% { opacity: .15; } }
@media (max-width: 640px) { .viewfinder { inset: 84px 12px 16px; } .vf__meta span:not(:last-child) { display: none; } .hero__scroll { display: none; } }

/* ===== Marquee ===== */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 50s linear infinite; }
.marquee span { display: flex; align-items: center; font: 500 clamp(1.5rem, 3vw, 2.4rem) var(--display); text-transform: uppercase; letter-spacing: .03em; color: var(--muted); padding-inline: 30px; white-space: nowrap; }
.marquee span::after { content: ""; width: 5px; height: 5px; background: var(--accent); border-radius: 50%; margin-left: 60px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ===== Sobre =====
   A cena lê quatro variáveis, de 0 a 1, que main.js atualiza conforme a rolagem:
   --a onda e logo entram · --m pessoa surge · --l linha desenha · --b textos entram · --p progresso total */
.about { --a: 1; --m: 1; --l: 1; --b: 1; --p: .5; position: relative; z-index: 1; height: 200vh; background: var(--bg-2); border-top: 1px solid var(--line); }
.about__scene { position: sticky; top: 0; height: 100vh; min-height: 620px; overflow: hidden; }
.about__stage { position: absolute; inset: 0; overflow: hidden; clip-path: polygon(0 0, 54% 0, 36% 100%, 0 100%); }
.about__wave { position: absolute; left: 0; top: 0; width: 56%; height: 100%; opacity: var(--a); }
.about__logo {
  position: absolute; left: 4vw; top: 50%; width: min(40vw, 72vh); max-width: none; opacity: calc(var(--a) * .3);
  transform: translateY(-50%) scale(calc(1.1 - var(--a) * .1)); will-change: transform;
}
.about__person {
  position: absolute; left: clamp(16px, 5vw, 110px); bottom: 0; width: auto; max-width: none; height: min(90vh, 60vw);
  transform-origin: 50% 100%; opacity: var(--m); will-change: transform;
  /* surge de baixo para cima conforme a página desce */
  transform: translateY(calc((1 - var(--m)) * 34%)) scale(calc(1.03 - var(--m) * .03));
  /* a foto termina no busto: a base se dissolve no fundo em vez de mostrar o corte */
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.about__line { position: absolute; inset: 0; pointer-events: none; overflow: visible; filter: drop-shadow(0 0 8px rgba(253, 57, 195, .9)); }
.about__line line { stroke: #ff4fd0; stroke-width: 3; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--l)); vector-effect: non-scaling-stroke; }
.about__line--h { display: none; }
.about__text {
  position: absolute; left: 57%; right: max(24px, calc((100% - 1240px) / 2)); top: 50%;
  opacity: var(--b); transform: translateY(calc(-50% + (1 - var(--b)) * 26px));
}
.about__text h2 { font-size: clamp(3rem, min(6.4vw, 10.5vh), 6rem); line-height: .98; margin-bottom: 1.5rem; }
.about__text h2 .accent { display: block; }
.about__intro { color: var(--text); font-size: clamp(1.05rem, 1.4vw, 1.2rem); line-height: 1.5; margin-bottom: .8rem; }
.about__desc { line-height: 1.55; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 20px; margin: clamp(22px, 4vh, 40px) 0 0; padding-top: clamp(18px, 3vh, 28px); border-top: 1px solid var(--line); }
.stat { display: flex; flex-direction: column; }
.stat dt { order: 2; max-width: 9ch; color: var(--text); font: 600 .76rem/1.25 var(--sans); letter-spacing: .08em; text-transform: uppercase; }
.stat dd { margin: 0 0 8px; font: 600 clamp(2.8rem, 4.6vw, 4.2rem)/1 var(--display); font-variant-numeric: tabular-nums; }

/* celular e tablet: sem cena fixa, foto em cima e texto embaixo */
@media (max-width: 880px), (max-height: 620px) {
  .about { height: auto; }
  .about__scene { position: relative; height: auto; min-height: 0; overflow: hidden; padding-top: min(118vw, 620px); }
  .about__stage { inset: 0 0 auto; height: min(118vw, 620px); clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
  .about__wave { width: 100%; }
  .about__logo { left: 50%; top: 42%; width: min(96vw, 560px); translate: -50% 0; }
  .about__person { left: 50%; bottom: auto; top: 28px; height: calc(min(118vw, 620px) - 28px); translate: -50% 0; clip-path: polygon(0 0, 100% 0, 100% 90.6%, 0 98.7%); }
  .about__line { inset: 0 0 auto; height: min(118vw, 620px); }
  .about__line--v { display: none; }
  .about__line--h { display: inline; }
  .about__text { position: static; opacity: 1; transform: none; padding: 40px 16px 72px; }
  .about__text h2 { font-size: clamp(3rem, 13vw, 5rem); }
}

/* ===== Trabalhos ===== */
.section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 60px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head h2 { margin-bottom: 0; }
.section__intro { max-width: 380px; margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  font: 400 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 100px; padding: 9px 16px; transition: color .4s, border-color .4s, background .4s;
}
.filters button:hover { color: var(--text); border-color: var(--line-2); }
.filters button[aria-selected="true"] { color: var(--bg); background: var(--text); border-color: var(--text); }

/* galeria: larguras, alturas e ordem vêm de alinharVideos() em main.js */
.work__grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: clamp(14px, 1.6vw, 22px); }
.work-card { flex: 0 0 auto; min-width: 0; cursor: pointer; outline: none; container-type: inline-size; }
.work-card.hide { display: none; }
.work-card__media { position: relative; overflow: hidden; background: var(--surface); clip-path: inset(0 0 0 0); transition: clip-path .9s var(--ease); }
/* vídeo que não cabe na tela preenchendo a linha: aparece inteiro sobre a própria capa desfocada */
.work-card.is-fill .work-card__media::before { content: ""; position: absolute; inset: -40px; background: var(--capa) center / cover; filter: blur(28px) brightness(.45); }
.work-card.is-fill .work-card__media > img, .work-card.is-fill .work-card__media > video { object-fit: contain; }
/* cards estreitos (vídeos verticais): texto mais enxuto */
@container (max-width: 260px) {
  .work-card__tc { left: 12px; right: 12px; bottom: 12px; font-size: .60rem; }
  .work-card__tc .cat { display: none; }
  .work-card__info { flex-direction: column; align-items: stretch; gap: 2px; padding-top: 12px; }
  .work-card__info h3 { font-size: 1.15rem; line-height: 1.1; }
  .work-card__info p { font-size: .84rem; line-height: 1.4; }
  .work-card__info small { display: none; }
}
.work-card:hover .work-card__media, .work-card:focus-visible .work-card__media { clip-path: inset(8px 8px 8px 8px); }
.work-card__media > img, .work-card__media > video, .work-card__art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter 1s, opacity .8s; filter: saturate(.85); }
.work-card__media > video { opacity: 0; }
.work-card__media > video.playing { opacity: 1; }
.work-card:hover .work-card__media > img, .work-card:hover .work-card__media > video, .work-card:hover .work-card__art { transform: scale(1.05); filter: saturate(1.05); }
.work-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 55%, rgba(12,7,16,.88)); }
.work-card__scan { position: absolute; left: 0; right: 0; top: 0; height: 1px; z-index: 1; background: var(--accent); box-shadow: 0 0 18px 2px rgba(168,56,255,.5); opacity: 0; }
.work-card:hover .work-card__scan { animation: scan 2.2s var(--ease-io) infinite; }
@keyframes scan { 0% { top: 0; opacity: 0; } 15% { opacity: .8; } 85% { opacity: .8; } 100% { top: 100%; opacity: 0; } }
.work-card__tc { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: flex; justify-content: space-between; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.9); font-size: .6rem; transition: transform .9s var(--ease); }
.work-card:hover .work-card__tc { transform: translate(0, -8px); }
.work-card__info { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.work-card__info > div { min-width: 0; }
.work-card__info h3, .work-card__info p { overflow-wrap: anywhere; word-break: break-word; }
.work-card__info h3 { font-size: clamp(1.25rem, 1.8vw, 1.55rem); transition: color .4s; }
.work-card:hover .work-card__info h3 { color: var(--accent); }
.work-card__info p { margin: 4px 0 0; font-size: .86rem; }
.work-card__info small { color: var(--muted); white-space: nowrap; font-size: .6rem; }
@media (max-width: 600px) {
  .work__grid { gap: 12px; }
  .work-card__info { flex-direction: column; align-items: stretch; gap: 2px; padding-top: 12px; }
  .work-card__info h3 { font-size: 1.15rem; }
  .work-card__info p { font-size: .84rem; }
  .work-card__tc { left: 12px; right: 12px; bottom: 12px; font-size: .5rem; }
}

/* ===== Serviços (lista editorial) ===== */
.svc { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc__item {
  position: relative; display: grid; grid-template-columns: 80px 1.1fr 1.4fr auto; align-items: baseline; gap: 24px;
  padding: 34px 0; border-bottom: 1px solid var(--line); overflow: hidden;
}
.svc__item::before {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--accent);
  transform: scaleX(0); transform-origin: right; transition: transform .9s var(--ease);
}
.svc__item:hover::before { transform: scaleX(1); transform-origin: left; }
.svc__n { color: var(--accent); }
.svc__item h3 { font-size: clamp(1.6rem, 2.8vw, 2.4rem); letter-spacing: .01em; transition: transform .7s var(--ease); }
.svc__item:hover h3 { transform: translateX(10px); }
.svc__item p { margin: 0; }
.svc__tags { color: var(--muted); font-size: .66rem; text-align: right; }
@media (max-width: 880px) {
  .svc__item { grid-template-columns: 48px 1fr; gap: 6px 16px; padding: 26px 0; }
  .svc__item p, .svc__tags { grid-column: 2; text-align: left; }
}

/* ===== Processo ===== */
.timeline { list-style: none; padding: 0; margin: 3.4rem 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.timeline::before, .timeline::after { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 1px; background: var(--line-2); }
.timeline::after { background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
.timeline li { position: relative; padding-top: 44px; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); z-index: 1; transition: background .5s; }
.timeline li.lit::before { background: var(--accent); box-shadow: 0 0 0 5px rgba(168,56,255,.15); }
.timeline__n { display: block; color: var(--accent); margin-bottom: 10px; }
.timeline h3 { font-size: 1.7rem; margin-bottom: .7rem; }
.timeline p { font-size: .93rem; }
@media (max-width: 880px) {
  .timeline { grid-template-columns: 1fr; gap: 6px; }
  .timeline::before, .timeline::after { top: 0; bottom: 0; left: 5px; right: auto; width: 1px; height: auto; }
  .timeline::after { transform: scaleY(var(--p, 0)); transform-origin: top; }
  .timeline li { padding: 0 0 26px 44px; }
}

/* ===== Equipamento / clientes ===== */
.gear { background: rgba(12, 7, 16, .5); }
.gear__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(56px, 8vw, 130px); }
.gear__list { list-style: none; padding: 0; margin: 0; }
.gear__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 17px 0; border-bottom: 1px solid var(--line); transition: padding .5s var(--ease); }
.gear__list li:hover { padding-inline: 8px; }
.gear__list span { color: var(--muted); font-size: .70rem; }
.gear__list b { font-weight: 400; font-size: .95rem; text-align: right; }
@media (max-width: 880px) { .gear__grid { grid-template-columns: 1fr; } }

/* ===== Agendamento ===== */
.booking__grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.booking__steps { list-style: none; margin: 2.2rem 0 0; padding: 0; counter-reset: passo; }
.booking__steps li { counter-increment: passo; display: flex; gap: 16px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--line); color: var(--muted); }
.booking__steps li::before { content: "0" counter(passo); font: 600 1.1rem var(--display); color: var(--accent); }
.booking__form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding: clamp(22px, 3vw, 38px); background: rgba(32, 25, 42, .9); border: 1px solid var(--line); border-radius: 10px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 500; color: var(--text); }
.field label small { font-size: inherit; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; font: 400 1rem var(--sans); color: var(--text); color-scheme: dark;
  background: rgba(12, 7, 16, .65); border: 1px solid var(--line-2); border-radius: 6px; transition: border-color .3s, box-shadow .3s;
}
/* iPhone: data e hora têm largura própria e ignoram width:100% sem isto */
.field input[type="date"], .field input[type="time"] { -webkit-appearance: none; appearance: none; display: block; max-width: 100%; }
.field input::-webkit-date-and-time-value { text-align: left; min-height: 1.5em; }
.field textarea { resize: vertical; min-height: 110px; }
.field select option { background: var(--surface); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .75; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent-2); box-shadow: 0 0 0 3px rgba(168, 56, 255, .22); }
.field input:user-invalid, .field select:user-invalid { border-color: var(--accent); }
.booking__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 4px; }
.booking__form .btn { border: 0; cursor: pointer; }
.booking__note { flex: 1 1 240px; margin: 0; font-size: .86rem; line-height: 1.45; }
.booking__status { grid-column: 1 / -1; margin: 0; font-size: .95rem; color: var(--text); }
.booking__status a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 880px) { .booking__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .booking__form { grid-template-columns: minmax(0, 1fr); } .booking__form .btn { width: 100%; } }

/* ===== Contato ===== */
.contact { text-align: center; overflow: hidden; }
.contact::before {
  content: ""; position: absolute; left: 50%; top: 60%; width: min(1000px, 140vw); aspect-ratio: 1; translate: -50% -50%; pointer-events: none;
  background: radial-gradient(circle, rgba(168,56,255,.11), transparent 62%);
}
.contact__inner { position: relative; }
.contact .eyebrow { justify-content: center; }
.contact__title { font-size: clamp(3.2rem, 9.4vw, 8rem); letter-spacing: 0; line-height: 1.02; margin-bottom: 1.8rem; }
.contact__lead { max-width: 440px; margin-inline: auto; }
.contact__actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 24px 36px; margin-top: 2.6rem; }
.contact .link-arrow { text-transform: none; letter-spacing: .02em; font-size: .95rem; font-weight: 400; }

/* ===== Footer ===== */
.footer { border-top: 1px solid var(--line); padding: 34px 0; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer__logo { height: 32px; width: auto; }
.footer p { margin: 0; font-size: .6rem; }
.footer__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; font-size: .70rem; }
.footer__social a { color: var(--muted); transition: color .3s; }
.footer__social a:hover { color: var(--accent); }

/* ===== Player ===== */
.lightbox { position: fixed; inset: 0; z-index: 280; background: rgba(12,7,16,.96); display: grid; place-content: center; gap: 20px; padding: 16px; opacity: 0; transition: opacity .5s var(--ease); }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lightbox__frame { width: min(1160px, 92vw); max-height: 78vh; aspect-ratio: 16 / 9; background: #000; display: grid; place-items: center; transform: scale(.96); transition: transform .8s var(--ease); }
.lightbox.open .lightbox__frame { transform: none; }
.lightbox__frame iframe, .lightbox__frame video { width: 100%; height: 100%; border: 0; }
.lightbox.is-v .lightbox__frame { width: auto; height: min(78vh, 160vw); aspect-ratio: 9 / 16; }
.lightbox.is-v .lightbox__info { text-align: center; }
.lightbox__empty { text-align: center; color: var(--muted); line-height: 2; }
.lightbox__info h3 { font-size: 1.5rem; }
.lightbox__info p { margin: 6px 0 0; font-size: .6rem; }
.lightbox__close { position: absolute; top: 20px; right: 24px; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; color: var(--text); font-size: 1.5rem; font-weight: 400; cursor: pointer; transition: transform .6s var(--ease), border-color .3s; }
.lightbox__close:hover { border-color: var(--accent); transform: rotate(90deg); }

/* ===== Revelação no scroll ===== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .reveal, .split-in { opacity: 1; transform: none; }
    .hero__title .line > span { transform: none; }
}
