/* =========================================================================
   Green Company — folha de estilos
   Conceito: a página é o visor de uma câmera. Um HUD fixo (cantos, REC,
   linha do tempo) acompanha a rolagem, e cada seção é uma "cena".

   Índice
   01. Variáveis (cores, fontes, curvas)
   02. Base
   03. HUD: cantos do visor, barra do topo, linha do tempo
   04. Cursor de foco (desktop)
   05. Abertura (tela de "ligando a câmera")
   06. Seções e animação de entrada
   07. Cena 01 · Abertura (hero + celular com stories)
   08. Faixa em movimento
   09. Cena 02 · O problema
   10. Cena 03 · Serviços (seletor de modos)
   11. Cena 04 · Processo
   12. Cena 05 · Trabalhos (cards de reels)
   13. Player de reel
   14. Cena 06 · Feedbacks (conversas)
   15. Cena 07 · Contato (formulário em takes)
   16. Rodapé
   17. Claquete de cena (celular)
   18. Animações
   19. Responsivo
   20. Acessibilidade: movimento reduzido
   ========================================================================= */


/* 01. Variáveis ---------------------------------------------------------- */
:root {
  --ink: #050705;
  --panel: #0A0E0A;
  --panel-2: #0F150F;
  --line: #19221A;
  --line-2: #273428;
  --fg: #EEF4EE;
  --mute: #A0ADA2;
  --dim: #5F6C61;
  --green: #2EF25C;
  --green-soft: #8FF8A9;
  --green-ink: #03140A;
  --green-glow: rgba(46, 242, 92, 0.18);
  --rec: #FF4848;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --ease: cubic-bezier(.2, .8, .2, 1);
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));

  color-scheme: dark;
}


/* 02. Base --------------------------------------------------------------- */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; background: var(--ink); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--fg);
  font: 400 16px/1.6 var(--body);
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* faixa atrás da barra de status do celular */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 90; background: var(--ink); }

::selection { background: var(--green); color: var(--green-ink); }
a { color: var(--green); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, label:focus-within { outline: 2px solid var(--green); outline-offset: 3px; }
h1, h2, h3 { text-wrap: balance; margin: 0; }
p { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* atraso da animação de entrada (usado com .rv) */
.d1 { --d: 1; }
.d2 { --d: 2; }
.d3 { --d: 3; }
.d4 { --d: 4; }


/* 03. HUD ---------------------------------------------------------------- */

/* cantos do visor */
.vf-c { position: fixed; z-index: 70; width: 28px; height: 28px; border: 2px solid var(--green); pointer-events: none; transition: transform .55s var(--ease), border-color .3s; }
.vf-tl { top: calc(10px + env(safe-area-inset-top, 0px)); left: calc(10px + env(safe-area-inset-left, 0px)); border-right: 0; border-bottom: 0; border-top-left-radius: 8px; }
.vf-tr { top: calc(10px + env(safe-area-inset-top, 0px)); right: calc(10px + env(safe-area-inset-right, 0px)); border-left: 0; border-bottom: 0; border-top-right-radius: 8px; }
.vf-bl { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); left: calc(10px + env(safe-area-inset-left, 0px)); border-right: 0; border-top: 0; border-bottom-left-radius: 8px; }
.vf-br { bottom: calc(10px + env(safe-area-inset-bottom, 0px)); right: calc(10px + env(safe-area-inset-right, 0px)); border-left: 0; border-top: 0; border-bottom-right-radius: 8px; }

/* "ajuste de foco" ao trocar de cena */
.snap .vf-tl { transform: translate(14px, 14px); }
.snap .vf-tr { transform: translate(-14px, 14px); }
.snap .vf-bl { transform: translate(14px, -14px); }
.snap .vf-br { transform: translate(-14px, -14px); }

/* barra do topo */
.topbar {
  position: fixed; z-index: 60; top: env(safe-area-inset-top, 0px); left: 0; right: 0;
  padding: 18px calc(var(--gutter-r) + 30px) 18px calc(var(--gutter) + 30px);
  display: flex; align-items: center; gap: 22px;
  background: linear-gradient(var(--ink) 30%, rgba(5, 7, 5, 0));
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--fg); flex-shrink: 0; }
.brand svg { width: 30px; height: 30px; fill: var(--green); }
.brand b { font: 800 15px/1 var(--display); font-stretch: 112%; letter-spacing: -0.01em; }

.rec { display: flex; align-items: center; gap: 9px; font: 600 12.5px/1 var(--mono); letter-spacing: .08em; color: var(--mute); }
.rec i { width: 9px; height: 9px; border-radius: 50%; background: var(--rec); animation: blink 1.1s steps(1) infinite; }
.rec .lbl { color: #FF7C7C; }
.cut .rec i { animation: none; background: var(--dim); border-radius: 2px; }

.scene { font: 600 12.5px/1 var(--mono); letter-spacing: .12em; color: var(--green); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }

.topnav { margin-left: auto; display: flex; align-items: center; gap: 24px; }
.topnav a { color: var(--mute); text-decoration: none; font-size: 14px; transition: color .2s; }
.topnav a:hover { color: var(--fg); }
.topnav .cta { white-space: nowrap; color: var(--green-ink); background: var(--green); padding: 11px 18px; border-radius: 10px; font: 700 14px/1 var(--display); }
.topnav .cta:hover { color: var(--green-ink); background: var(--green-soft); }
.cta-s { display: none; } /* texto curto "Contato", só no celular */

/* linha do tempo (rodapé fixo) */
.timeline {
  position: fixed; z-index: 60; left: 0; right: 0; bottom: env(safe-area-inset-bottom, 0px);
  padding: 22px calc(var(--gutter-r) + 30px) 16px calc(var(--gutter) + 30px);
  background: linear-gradient(rgba(5, 7, 5, 0), var(--ink) 70%);
  display: flex; align-items: center; gap: 16px;
}
.tl-track { position: relative; flex: 1; height: 22px; }
.tl-rail { position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--line-2); border-radius: 2px; }
.tl-fill { position: absolute; left: 0; top: 10px; height: 2px; background: var(--green); width: calc(var(--p, 0) * 100%); border-radius: 2px; }
.tl-head { position: absolute; top: 2px; left: calc(var(--p, 0) * 100%); width: 2px; height: 18px; background: var(--green); transform: translateX(-1px); box-shadow: 0 0 12px var(--green); }
.tl-mark { position: absolute; top: 0; width: 22px; height: 22px; transform: translateX(-11px); border: 0; background: none; padding: 0; cursor: pointer; }
.tl-mark::after { content: ""; position: absolute; left: 8px; top: 7px; width: 6px; height: 6px; border-radius: 1px; background: var(--dim); transform: rotate(45deg); transition: background .25s, transform .25s; }
.tl-mark.on::after { background: var(--green); transform: rotate(45deg) scale(1.5); }
.tl-mark span { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(4px); font: 600 11px/1 var(--mono); letter-spacing: .1em; color: var(--fg); background: var(--panel-2); border: 1px solid var(--line-2); padding: 6px 8px; border-radius: 6px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; }
.tl-mark:hover span, .tl-mark:focus-visible span { opacity: 1; transform: translateX(-50%); }
.tl-time { font: 500 12px/1 var(--mono); color: var(--mute); letter-spacing: .06em; min-width: 92px; text-align: right; font-variant-numeric: tabular-nums; }


/* 04. Cursor de foco ----------------------------------------------------- */
.af { position: fixed; z-index: 80; left: 0; top: 0; pointer-events: none; opacity: 0; transition: opacity .25s; }
.af.show { opacity: 1; }
.af i { position: absolute; width: 9px; height: 9px; border: 1.5px solid var(--green); }
.af i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.af i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.af i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.af i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.af.lock i { border-color: var(--green-soft); }


/* 05. Abertura ----------------------------------------------------------- */
.boot { position: fixed; inset: 0; z-index: 100; background: var(--ink); display: grid; place-items: center; cursor: pointer; transition: opacity .45s ease .1s; }
.boot.out { opacity: 0; pointer-events: none; }
.boot-box { position: relative; width: 160px; height: 160px; display: grid; place-items: center; transition: width .55s var(--ease), height .55s var(--ease); }
.boot.out .boot-box { width: 100vw; height: 100vh; }
.boot-box i { position: absolute; width: 22px; height: 22px; border: 2px solid var(--green); }
.boot-box i:nth-child(1) { left: 0; top: 0; border-right: 0; border-bottom: 0; }
.boot-box i:nth-child(2) { right: 0; top: 0; border-left: 0; border-bottom: 0; }
.boot-box i:nth-child(3) { left: 0; bottom: 0; border-right: 0; border-top: 0; }
.boot-box i:nth-child(4) { right: 0; bottom: 0; border-left: 0; border-top: 0; }
.boot svg { width: 64px; height: 64px; fill: var(--green); animation: focusin .7s var(--ease) both; }
.boot p { position: absolute; top: calc(100% + 18px); left: 50%; transform: translateX(-50%); font: 600 12px/1 var(--mono); letter-spacing: .18em; color: var(--green); white-space: nowrap; }
.boot.out svg, .boot.out p { opacity: 0; transition: opacity .2s; }


/* 06. Seções e animação de entrada -------------------------------------- */
main { padding-top: 84px; padding-bottom: 70px; }
section { scroll-margin-top: 70px; }
.sec { padding-block: clamp(72px, 10vw, 128px); border-top: 1px solid var(--line); }

.eyebrow { display: flex; align-items: center; gap: 12px; font: 600 12.5px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--green); margin-bottom: 20px; }
.eyebrow b { color: var(--fg); background: var(--panel-2); border: 1px solid var(--line-2); padding: 6px 9px; border-radius: 6px; font-weight: 600; }
.h2 { font: 800 clamp(34px, 5.2vw, 60px)/1.02 var(--display); font-stretch: 115%; letter-spacing: -0.035em; max-width: 16ch; }
.lead { font-size: clamp(16px, 1.6vw, 18px); line-height: 1.65; color: var(--mute); max-width: 54ch; }
.small { font-size: 13px; color: var(--dim); }

/* botões */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; gap: 10px; font: 700 16px/1 var(--display); padding: 18px 26px; border-radius: 12px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s, background .2s, border-color .2s; }
.btn:active { transform: scale(.97); }
.btn-g { background: var(--green); color: var(--green-ink); animation: pulse 2.6s ease-out infinite; }
.btn-g:hover { background: var(--green-soft); color: var(--green-ink); }
.btn-o { color: var(--fg); border-color: var(--line-2); background: none; }
.btn-o:hover { border-color: var(--green); color: var(--fg); }
.btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.link-btn { background: none; border: 0; padding: 0; color: var(--green); font: inherit; text-decoration: underline; cursor: pointer; }

/* entrada das seções: o JS só aplica .pre ao que está abaixo da dobra */
.rv { transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.pre .rv { opacity: 0; transform: translateY(34px); filter: blur(10px); }
.pre.in .rv { opacity: 1; transform: none; filter: none; }


/* 07. Cena 01 · Abertura ------------------------------------------------- */
.hero { padding-block: 24px 80px; }
.hero-frame { position: relative; border: 1px solid var(--line-2); border-radius: 28px; background: var(--panel); padding: clamp(28px, 5vw, 64px); overflow: hidden; }

/* grade de terços */
.grid3 {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, transparent calc(33.33% - .5px), var(--line) calc(33.33% - .5px), var(--line) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), var(--line) calc(66.66% - .5px), var(--line) calc(66.66% + .5px), transparent calc(66.66% + .5px)),
    linear-gradient(transparent calc(33.33% - .5px), var(--line) calc(33.33% - .5px), var(--line) calc(33.33% + .5px), transparent calc(33.33% + .5px), transparent calc(66.66% - .5px), var(--line) calc(66.66% - .5px), var(--line) calc(66.66% + .5px), transparent calc(66.66% + .5px));
}
/* luz verde que segue o mouse */
.spot { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(var(--green-glow), transparent 65%); left: var(--mx, 70%); top: var(--my, 40%); transform: translate(-50%, -50%); pointer-events: none; transition: left .6s var(--ease), top .6s var(--ease); }

.hero-hud { position: relative; display: flex; flex-wrap: wrap; gap: 12px 22px; justify-content: space-between; font: 500 12px/1 var(--mono); letter-spacing: .1em; color: var(--dim); margin-bottom: clamp(36px, 5vw, 56px); }
.hero-hud span { display: inline-flex; align-items: center; gap: 8px; }
.hero-hud .g { color: var(--green); }

.hero-row { position: relative; display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero-copy { flex: 999 1 520px; min-width: 0; }
.hero-copy .lead { margin-bottom: 36px; }

.pill { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line-2); background: var(--panel-2); padding: 8px 14px; border-radius: 999px; font-size: 13px; color: var(--mute); margin-bottom: 28px; }
.pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); }

.h1 { font: 800 clamp(40px, 6.4vw, 82px)/.98 var(--display); font-stretch: 118%; letter-spacing: -0.045em; margin-bottom: 26px; }
.h1 .w { display: inline-block; }
.h1 .hl { color: var(--green); }
.h1.focus .w { animation: focusin 1s var(--ease) both; animation-delay: calc(var(--i) * 70ms + 200ms); }

.stats { display: flex; flex-wrap: wrap; gap: 20px 44px; border-top: 1px solid var(--line); padding-top: 28px; margin-top: 44px; }
.stat b { display: block; font: 800 32px/1 var(--display); font-stretch: 112%; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { display: block; font-size: 13px; color: var(--dim); margin-top: 8px; }
.stat:last-child b { color: var(--green); }

/* celular com stories */
.phone-wrap { flex: 1 1 300px; min-width: 0; display: flex; justify-content: center; perspective: 1100px; }
.phone-wrap > div { width: min(300px, 100%); }
.phone { width: 100%; aspect-ratio: 9 / 18.6; border-radius: 42px; border: 1px solid var(--line-2); background: #0B0F0B; padding: 12px; box-sizing: border-box; transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .5s var(--ease); box-shadow: 0 40px 90px -30px rgba(46, 242, 92, .25); }
.screen { position: relative; height: 100%; border-radius: 31px; overflow: hidden; background: #111; cursor: pointer; }
.story { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.story.on { opacity: 1; }
.story img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.08); transition: transform 3.4s linear; }
.story.on img { transform: scale(1); }
.story::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .55), transparent 22%, transparent 55%, rgba(0, 0, 0, .85)); }
.st-bars { position: absolute; z-index: 3; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.st-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); overflow: hidden; }
.st-bars i::after { content: ""; display: block; height: 100%; width: calc(var(--f, 0) * 100%); background: #fff; }
.st-top { position: absolute; z-index: 3; top: 26px; left: 14px; right: 14px; display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: #fff; }
.st-top svg { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #000; fill: var(--green); box-sizing: border-box; }
.st-cap { position: absolute; z-index: 3; left: 16px; right: 16px; bottom: 18px; color: #fff; }
.st-cap b { display: block; font: 800 19px/1.15 var(--display); letter-spacing: -0.02em; margin-bottom: 10px; }
.st-cap span { display: inline-flex; align-items: center; gap: 6px; font: 600 12px/1 var(--mono); background: rgba(0, 0, 0, .6); padding: 7px 10px; border-radius: 999px; }
.st-cap span svg { width: 12px; height: 12px; fill: var(--green); }
.hint { text-align: center; font: 500 11.5px/1 var(--mono); letter-spacing: .1em; color: var(--dim); margin-top: 14px; }


/* 08. Faixa em movimento ------------------------------------------------- */
.marquee { border-block: 1px solid var(--line); padding-block: 20px; overflow: hidden; margin-inline: calc(-1 * var(--gutter)); }
.track { display: flex; gap: 40px; width: max-content; animation: slide 34s linear infinite; }
.track span { font: 800 18px/1 var(--display); font-stretch: 125%; letter-spacing: .12em; text-transform: uppercase; color: var(--line-2); white-space: nowrap; display: flex; align-items: center; gap: 40px; }
.track span::after { content: ""; width: 8px; height: 8px; background: var(--green); transform: rotate(45deg); }
.marquee:hover .track { animation-play-state: paused; }


/* 09. Cena 02 · O problema ---------------------------------------------- */
.cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.pcard { border: 1px solid var(--line); border-radius: 20px; padding: 32px; background: var(--panel); transition: filter .45s var(--ease), opacity .45s, transform .45s var(--ease), border-color .3s; }
.pcard svg { width: 28px; height: 28px; stroke: var(--green); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pcard h3 { font: 700 21px/1.2 var(--display); font-stretch: 108%; letter-spacing: -0.015em; margin: 22px 0 10px; }
.pcard p { font-size: 15px; line-height: 1.65; color: var(--mute); }
.pcard .tag { display: block; margin-top: 22px; font: 600 11px/1 var(--mono); letter-spacing: .14em; color: var(--dim); }

/* profundidade de campo: os outros cards desfocam */
@media (hover: hover) {
  .cards3:hover .pcard { filter: blur(3px); opacity: .45; transform: scale(.98); }
  .cards3:hover .pcard:hover { filter: none; opacity: 1; transform: translateY(-6px); border-color: var(--green); }
  .cards3:hover .pcard:hover .tag { color: var(--green); }
}


/* 10. Cena 03 · Serviços ------------------------------------------------- */
.svc-head { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: flex-end; justify-content: space-between; margin-bottom: 44px; }
.svc-head > * { flex: 1 1 380px; min-width: 0; }

/* seletor de modos */
.dial { position: relative; display: flex; gap: 6px; padding: 6px; border: 1px solid var(--line-2); border-radius: 999px; width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 22px; background: var(--panel); }
.dial::-webkit-scrollbar { display: none; }
.dial-ind { position: absolute; top: 6px; bottom: 6px; left: 0; width: 0; border-radius: 999px; background: var(--green); transition: transform .45s var(--ease), width .45s var(--ease); }
.mode { position: relative; z-index: 1; border: 0; background: none; color: var(--mute); font: 700 13.5px/1 var(--display); font-stretch: 112%; letter-spacing: .06em; text-transform: uppercase; padding: 15px 22px; border-radius: 999px; cursor: pointer; white-space: nowrap; transition: color .3s; }
.mode[aria-selected="true"] { color: var(--green-ink); }
.mode small { font: 600 10.5px/1 var(--mono); margin-right: 8px; opacity: .7; }

/* painel */
.stage { position: relative; border: 1px solid var(--line-2); border-radius: 24px; background: var(--panel); overflow: hidden; }
.panel { display: flex; flex-wrap: wrap; gap: 44px; padding: clamp(28px, 4vw, 52px); }
.panel-copy { flex: 999 1 420px; min-width: 0; }
.panel-copy h3 { font: 800 clamp(26px, 3vw, 34px)/1.1 var(--display); font-stretch: 112%; letter-spacing: -0.025em; margin-bottom: 16px; }
.panel-copy p { color: var(--mute); max-width: 56ch; margin-bottom: 24px; }
.panel-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.panel-copy li { display: flex; gap: 12px; align-items: baseline; color: #CDD6CE; font-size: 15.5px; }
.panel-copy li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--green); transform: rotate(45deg) translateY(-2px); }

/* ficha técnica */
.spec { flex: 1 1 280px; min-width: 0; align-self: flex-start; border: 1px solid var(--line); border-radius: 16px; background: var(--ink); padding: 26px; font: 500 13.5px/1 var(--mono); }
.spec p { color: var(--green); letter-spacing: .14em; font-size: 12px; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.spec p i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: blink 1.1s steps(1) infinite; }
.spec dl { margin: 0; display: grid; gap: 15px; }
.spec dl div { display: flex; justify-content: space-between; gap: 16px; }
.spec dt { color: var(--dim); }
.spec dd { margin: 0; color: #E3EAE3; text-align: right; }
.spec dd.g { color: var(--green); }

/* obturador na troca de modo */
.shutter { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.shutter i { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--ink); transform: scaleY(0); transition: transform .22s cubic-bezier(.7, 0, .3, 1); }
.shutter i:first-child { top: 0; transform-origin: top; border-bottom: 1px solid var(--green); }
.shutter i:last-child { bottom: 0; transform-origin: bottom; border-top: 1px solid var(--green); }
.shutter.shut i { transform: scaleY(1); }
.swipe-hint { display: none; font: 500 11.5px/1 var(--mono); color: var(--dim); letter-spacing: .1em; margin-top: 14px; }


/* 11. Cena 04 · Processo ------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 64px; padding-top: 34px; }
.steps-rail, .steps-fill { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line-2); }
.steps-fill { background: var(--green); transform-origin: left; transform: scaleX(var(--p, 0)); box-shadow: 0 0 14px var(--green); }
.step { position: relative; opacity: .38; transition: opacity .5s; }
.step.on { opacity: 1; }
.step::before { content: ""; position: absolute; top: -41px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); border: 2px solid var(--line-2); transition: border-color .4s, background .4s, box-shadow .4s; }
.step.on::before { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 6px var(--green-glow); }
.step .n { font: 600 13px/1 var(--mono); letter-spacing: .12em; color: var(--green); }
.step h3 { font: 800 26px/1.15 var(--display); font-stretch: 112%; letter-spacing: -0.02em; margin: 14px 0 12px; }
.step p { font-size: 15.5px; color: var(--mute); }


/* 12. Cena 05 · Trabalhos ------------------------------------------------ */
.works-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; }

/* bloco de cliente (Pr. Edi) */
.client-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; margin: 88px 0 40px; padding-top: 56px; border-top: 1px dashed var(--line-2); }
.client-head > div { flex: 1 1 520px; min-width: 0; }
.client-head .lead { max-width: 52ch; }
.client-h { font: 800 clamp(26px, 3.4vw, 40px)/1.08 var(--display); font-stretch: 112%; letter-spacing: -0.03em; margin-bottom: 14px; max-width: 30ch; }

/* cards de reel */
.reels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; perspective: 1200px; }
.rcard { position: relative; text-align: left; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); overflow: hidden; padding: 0; color: var(--fg); cursor: pointer; font: inherit; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .3s var(--ease), border-color .3s; transform-style: preserve-3d; }
.rcard:hover { border-color: var(--green); }
.rcard .ph { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.rcard img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform .6s var(--ease); }
.rcard img.mid { object-position: center 30%; }
.rcard:hover img { transform: scale(1.05); }
.rcard .glare { position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .16), transparent 55%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.rcard:hover .glare { opacity: 1; }
.rcard .meta { padding: 22px 24px 24px; }
.rcard h3 { font: 700 18px/1.3 var(--display); letter-spacing: -0.01em; margin-bottom: 8px; }
.rcard .meta p { font: 500 12.5px/1 var(--mono); color: var(--dim); }
.views { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 7px; background: rgba(5, 7, 5, .82); border-radius: 999px; padding: 7px 12px; font: 600 12.5px/1 var(--mono); color: #fff; }
.views svg { width: 12px; height: 12px; fill: var(--green); }
.play { position: absolute; right: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 50%; background: rgba(5, 7, 5, .8); border: 1px solid var(--green); display: grid; place-items: center; transition: background .3s, transform .3s var(--ease); }
.play svg { width: 20px; height: 20px; fill: var(--green); transition: fill .3s; }
.rcard:hover .play { background: var(--green); transform: scale(1.1); }
.rcard:hover .play svg { fill: var(--green-ink); }

/* parceiros */
.chips { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 44px; }
.chips > span:first-child { flex-basis: 100%; font: 600 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); margin-bottom: 4px; }
.chips .c { font-size: 14px; color: #CDD6CE; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 17px; transition: border-color .25s, color .25s; }
.chips .c:hover { border-color: var(--green); color: var(--green); }


/* 13. Player de reel ----------------------------------------------------- */
dialog.player { border: 0; padding: 0; background: transparent; color: var(--fg); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); overflow: visible; }
dialog.player::backdrop { background: rgba(2, 3, 2, .86); backdrop-filter: blur(8px); }
dialog.player[open] .pl { animation: pop .45s var(--ease); }
.pl { position: relative; width: min(380px, calc(100vw - 32px)); aspect-ratio: 9 / 16; max-height: calc(100dvh - 120px); border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.pl img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.pl::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .5), transparent 25%, transparent 50%, rgba(0, 0, 0, .9)); pointer-events: none; }
.pl-bar { position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .25); overflow: hidden; }
.pl-bar i { display: block; height: 100%; background: var(--green); width: 0; }
dialog.player[open] .pl-bar i { animation: grow 6s linear forwards; }
.pl-info { position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 20px; }
.pl-info h3 { font: 800 22px/1.15 var(--display); letter-spacing: -0.02em; margin-bottom: 12px; }
.pl-info p { font: 500 12.5px/1.5 var(--mono); color: #D6DED7; margin-bottom: 16px; }
.pl-info .btn { width: 100%; justify-content: center; box-sizing: border-box; animation: none; }
.pl-x { position: absolute; z-index: 3; top: 26px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(0, 0, 0, .5); color: #fff; font-size: 20px; line-height: 1; cursor: pointer; }
.pl-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.pl-nav button { flex: 1; border: 1px solid var(--line-2); background: var(--panel); color: var(--fg); padding: 13px; border-radius: 12px; font: 600 13px/1 var(--mono); letter-spacing: .08em; cursor: pointer; }
.pl-nav button:hover { border-color: var(--green); }


/* 14. Cena 06 · Feedbacks ------------------------------------------------ */
.fb-head { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.chats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 52px; }
.chat { border: 1px solid var(--line-2); border-radius: 24px; overflow: hidden; background: #0B110D; }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.chat-top .av { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--line-2); color: var(--fg); font: 700 16px/1 var(--display); flex: none; }
.chat-top b { display: block; font: 700 15.5px/1.2 var(--display); }
.chat-top small { display: block; font-size: 12.5px; color: var(--dim); margin-top: 3px; }
.chat-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 18px 26px; min-height: 250px; background-image: radial-gradient(rgba(46, 242, 92, .05) 1px, transparent 1.5px); background-size: 18px 18px; }

/* balões */
.bub { position: relative; max-width: 82%; padding: 9px 12px 20px; border-radius: 14px; font-size: 15.5px; line-height: 1.45; color: #E9EFE9; transition: opacity .35s, transform .45s var(--ease); }
.bub time { position: absolute; right: 10px; bottom: 5px; font: 500 10.5px/1 var(--mono); color: rgba(233, 239, 233, .5); }
.bub i { display: block; font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--green-soft); margin-bottom: 2px; }
.bub.out { align-self: flex-end; background: #11402A; border-bottom-right-radius: 4px; }
.bub.in { align-self: flex-start; background: #1B231D; border-bottom-left-radius: 4px; }
.bub.vid { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); padding-bottom: 20px; }
.bub.vid svg { width: 26px; height: 26px; padding: 6px; border-radius: 50%; background: rgba(0, 0, 0, .4); fill: var(--fg); box-sizing: border-box; }

/* mensagens chegando uma a uma (o JS aplica .wait e depois .on) */
.chat.wait .bub { opacity: 0; transform: translateY(10px) scale(.96); }
.chat .bub.on { opacity: 1; transform: none; }
.typing { align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px; border-radius: 14px; background: #1B231D; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--mute); animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }


/* 15. Cena 07 · Contato -------------------------------------------------- */
.contact { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.contact-copy { flex: 1 1 360px; min-width: 0; }
.contact-copy .lead { margin: 22px 0 32px; }
.checks { display: grid; gap: 16px; }
.checks div { display: flex; gap: 12px; align-items: flex-start; color: #CDD6CE; font-size: 15px; }
.checks svg { flex: none; width: 20px; height: 20px; stroke: var(--green); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; margin-top: 2px; }

/* caixa do formulário */
.studio { flex: 999 1 460px; min-width: 0; border: 1px solid var(--line-2); border-radius: 24px; background: var(--panel); overflow: hidden; }
.studio-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 26px; border-bottom: 1px solid var(--line); font: 600 12px/1 var(--mono); letter-spacing: .12em; color: var(--mute); }
.studio-head .g { color: var(--green); }
.studio-prog { height: 2px; background: var(--line); }
.studio-prog i { display: block; height: 100%; background: var(--green); width: calc(var(--p, .25) * 100%); transition: width .5s var(--ease); box-shadow: 0 0 10px var(--green); }
.studio form { padding: clamp(24px, 3.5vw, 40px); }

/* etapas (takes) */
.take { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 20px; animation: takein .5s var(--ease); }
.take legend { padding: 0; font: 800 clamp(22px, 2.6vw, 28px)/1.15 var(--display); font-stretch: 110%; letter-spacing: -0.02em; margin-bottom: 4px; }
.take-nav { display: flex; gap: 12px; justify-content: space-between; margin-top: 8px; }
.take-nav .btn { animation: none; }
.take-nav .btn-g { margin-left: auto; }

/* campos */
.fld { display: grid; gap: 8px; }
.fld label { font-size: 14px; font-weight: 500; color: #E3EAE3; }
.fld input, .fld textarea { background: var(--ink); border: 1px solid var(--line-2); border-radius: 12px; padding: 15px 16px; font: 400 15.5px/1.4 var(--body); color: var(--fg); transition: border-color .2s; width: 100%; box-sizing: border-box; }
.fld input::placeholder, .fld textarea::placeholder { color: var(--dim); }
.fld input:focus, .fld textarea:focus { border-color: var(--green); outline: none; }
.fld textarea { resize: vertical; min-height: 110px; }
.row2 { display: flex; flex-wrap: wrap; gap: 16px; }
.row2 > * { flex: 1 1 200px; min-width: 0; }
.err { color: #FF8A8A; font-size: 13.5px; min-height: 1em; }

/* opções em card */
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.opt-wide { grid-column: 1 / -1; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt label { display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; border: 1px solid var(--line-2); border-radius: 14px; padding: 18px; cursor: pointer; transition: border-color .2s, background .2s; }
.opt label b { font: 700 16px/1.2 var(--display); }
.opt label span { font-size: 13px; color: var(--dim); }
.opt label:hover { border-color: var(--mute); }
.opt input:checked + label { border-color: var(--green); background: rgba(46, 242, 92, .07); }
.opt input:checked + label b { color: var(--green); }
.opt input:focus-visible + label { outline: 2px solid var(--green); outline-offset: 3px; }

/* tela final */
.done { padding: clamp(24px, 3.5vw, 40px); display: grid; gap: 20px; animation: takein .5s var(--ease); }
.done h3 { font: 800 30px/1.1 var(--display); font-stretch: 112%; letter-spacing: -0.02em; }
.done > p { color: var(--mute); }
.done .btns .btn { animation: none; }
.msg { font: 500 13.5px/1.7 var(--mono); color: #D6DED7; background: var(--ink); border: 1px solid var(--line); border-radius: 14px; padding: 20px; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 260px; overflow-y: auto; }


/* 16. Rodapé ------------------------------------------------------------- */
footer { border-top: 1px solid var(--line); padding-block: 72px 40px; overflow: hidden; }
.bigword { font: 900 clamp(52px, 14.5vw, 210px)/.85 var(--display); font-stretch: 112%; letter-spacing: -0.05em; color: var(--panel-2); -webkit-text-stroke: 1px var(--line-2); white-space: nowrap; user-select: none; transition: color .8s; }
.bigword em { font-style: normal; color: inherit; }
footer.lit .bigword em { color: var(--green); -webkit-text-stroke: 0; }
.foot { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; margin-top: 40px; }
.foot .brand span { display: block; font-size: 12.5px; color: var(--dim); margin-top: 4px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 24px; }
.foot nav a { color: var(--mute); text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: var(--green); }


/* 17. Claquete de cena (só aparece até 900px) --------------------------- */
.slate, .cut-flash { display: none; }


/* 18. Animações ---------------------------------------------------------- */
@keyframes blink { 0%, 100% { opacity: 1 } 50% { opacity: .12 } }
@keyframes slide { to { transform: translateX(-50%) } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(46, 242, 92, .35) } 50% { box-shadow: 0 0 0 14px rgba(46, 242, 92, 0) } }
@keyframes focusin { from { opacity: 0; filter: blur(14px); transform: scale(1.06) } to { opacity: 1; filter: none; transform: none } }
@keyframes takein { from { opacity: 0; transform: translateX(24px); filter: blur(6px) } to { opacity: 1; transform: none; filter: none } }
@keyframes pop { from { opacity: 0; transform: scale(.9) translateY(20px) } to { opacity: 1; transform: none } }
@keyframes grow { to { width: 100% } }
@keyframes dot { 0%, 60%, 100% { opacity: .3; transform: none } 30% { opacity: 1; transform: translateY(-3px) } }
@keyframes clap { 0% { transform: rotate(-24deg) } 55% { transform: rotate(0) } 75% { transform: rotate(-7deg) } 100% { transform: rotate(0) } }
@keyframes flash { 0% { opacity: .09 } 100% { opacity: 0 } }


/* 19. Responsivo --------------------------------------------------------- */

/* tablet e celular */
@media (max-width: 900px) {
  /* claquete que aparece a cada cena */
  .slate {
    display: flex; align-items: center; gap: 11px; position: fixed; z-index: 65; left: 50%;
    top: calc(env(safe-area-inset-top, 0px) + 70px);
    transform: translate(-50%, -18px) scale(.92); opacity: 0; pointer-events: none;
    background: rgba(5, 7, 5, .94); border: 1px solid var(--green); border-radius: 12px;
    padding: 11px 15px 11px 11px; font: 600 12px/1 var(--mono); letter-spacing: .12em; color: var(--green);
    white-space: nowrap; box-shadow: 0 12px 40px -10px rgba(46, 242, 92, .5);
    transition: opacity .3s, transform .5s var(--ease);
  }
  .slate.show { opacity: 1; transform: translate(-50%, 0) scale(1); }
  .clap { position: relative; width: 26px; height: 17px; margin-top: 5px; border-radius: 3px; background: repeating-linear-gradient(-45deg, var(--fg) 0 4px, var(--ink) 4px 8px); }
  .clap::before { content: ""; position: absolute; left: -1px; right: -1px; top: -7px; height: 5px; border-radius: 2px; background: repeating-linear-gradient(45deg, var(--fg) 0 4px, var(--ink) 4px 8px); transform-origin: 0 100%; transform: rotate(-24deg); }
  .slate.show .clap::before { animation: clap .55s .12s var(--ease) both; }
  .cut-flash { display: block; position: fixed; inset: 0; z-index: 64; pointer-events: none; background: var(--green); opacity: 0; }
  .cut-flash.go { animation: flash .4s ease-out; }
  .pre .rv { transform: translateY(48px) scale(.96); }

  /* HUD */
  .topnav a:not(.cta) { display: none; }
  .scene { display: none; }

  /* grades viram uma coluna */
  .cards3, .chats { grid-template-columns: minmax(0, 1fr); }

  /* reels viram carrossel */
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .reels::-webkit-scrollbar { display: none; }
  .reels .rcard { flex: 0 0 78%; scroll-snap-align: start; }
  .reels .rcard .ph { aspect-ratio: 4 / 5; }

  /* processo na vertical */
  .steps { grid-template-columns: minmax(0, 1fr); padding-top: 0; padding-left: 36px; gap: 40px; }
  .steps-rail, .steps-fill { left: 6px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps-fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step::before { top: 2px; left: -36px; }

  .swipe-hint { display: block; }
}

/* celular */
@media (max-width: 560px) {
  /* barra do topo compacta e sólida */
  .topbar {
    gap: 12px;
    padding: 14px calc(var(--gutter-r) + 14px) 14px calc(var(--gutter) + 14px);
    background: rgba(5, 7, 5, .9);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .brand b { display: none; }
  .brand svg { width: 26px; height: 26px; }
  .rec { font-size: 11.5px; gap: 7px; }
  .topnav .cta { padding: 10px 14px; font-size: 13.5px; }
  .cta-l { display: none; }
  .cta-s { display: inline; }
  .vf-c { width: 16px; height: 16px; border-width: 1.5px; }

  /* linha do tempo fina */
  .timeline { padding: 16px calc(var(--gutter-r) + 14px) 12px calc(var(--gutter) + 14px); background: linear-gradient(rgba(5, 7, 5, 0), rgba(5, 7, 5, .88) 60%); }
  .tl-track { height: 14px; }
  .tl-rail, .tl-fill { top: 6px; }
  .tl-head { top: 0; height: 14px; }
  .tl-mark { height: 14px; }
  .tl-mark::after { top: 4px; width: 5px; height: 5px; }
  .tl-mark span { display: none; }
  .tl-time { min-width: 0; font-size: 10.5px; }

  /* conteúdo */
  main { padding-top: 70px; padding-bottom: 44px; }
  .client-head { margin-top: 64px; padding-top: 44px; }
  .hero-frame { border-radius: 22px; }
  .hero-hud span:nth-child(n+3) { display: none; }
  .opts { grid-template-columns: minmax(0, 1fr); }
  .btn { padding: 16px 20px; font-size: 15px; }
  .h1 { font-stretch: 105%; }
}


/* 20. Movimento reduzido ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .pre .rv { opacity: 1; transform: none; filter: none; }
}
