/* ==========================================================================
   Lumen Studios — folha de estilos
   Identidade: azul-noite, azul royal e ciano (as cores do logotipo), com a luz
   como fio condutor: "lumen", em latim, significa luz.

   Índice
   1. Base               6. Início             10. Sobre nós
   2. Componentes        7. Páginas internas   11. Como trabalhamos
   3. Fundo              8. Serviços           12. Contato
   4. Cabeçalho          9. Portfólio          13. Página 404
   5. Rodapé                                   14. Animações
   ========================================================================== */

:root {
  --bg: #03060e;
  --bg-2: #060b18;
  --panel: #0a1226;
  --panel-2: #0e1834;
  --royal: #1f4ae0;
  --royal-2: #3a66ff;
  --cyan: #23d0e6;
  --cyan-2: #7cefff;
  --ink: #021018;
  --text: #edf1fa;
  --muted: #9ba9c8;
  --dim: #6a7899;
  --line: rgba(140, 165, 255, 0.1);
  --line-2: rgba(140, 165, 255, 0.18);
  --line-3: rgba(140, 165, 255, 0.3);
  --ok: #3ee0a4;
  --warm: #ffcf7a;
  --paper: #f4f1ea;
  --note-1: #66dded;
  --note-2: #27bcd1;
  --grad: linear-gradient(100deg, #3a66ff 0%, #23d0e6 62%, #7cefff 100%);
  --glass: linear-gradient(180deg, rgba(18, 30, 64, 0.5), rgba(8, 13, 30, 0.5));

  --f-display: "Saira", "Segoe UI", system-ui, sans-serif;
  --f-body: "Fira Sans", "Segoe UI", system-ui, sans-serif;
  --f-mono: "Fira Code", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --f-hand: "Permanent Marker", "Comic Sans MS", cursive;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 72px;
  --radius: 20px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ==========================================================================
   1. Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
html.menu-open body { overflow: hidden; }

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure, dl, dd, blockquote { margin: 0; }
strong { color: var(--text); font-weight: 600; }
em { font-style: normal; color: var(--text); }
mark { background: none; color: var(--cyan); font-weight: 600; }

::selection { background: var(--cyan); color: var(--ink); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.i {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

main, .footer { position: relative; z-index: 1; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; left: 16px; top: -64px; z-index: 100;
  padding: 10px 16px; border-radius: 10px;
  background: var(--cyan); color: var(--ink); font-weight: 600;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* Transição suave entre as páginas (navegadores compatíveis) */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) { animation-duration: 0.35s; }

/* ==========================================================================
   2. Componentes
   ========================================================================== */

/* ---------- Tipografia ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-weight: 500; font-size: 0.78rem; line-height: 1.4;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-2);
}
.eyebrow::before {
  content: ""; flex: none; width: 28px; height: 1px;
  background: var(--grad); box-shadow: 0 0 8px var(--cyan);
}

.title {
  font-family: var(--f-display); font-weight: 700;
  font-size: clamp(2.05rem, 1.25rem + 3.1vw, 3.6rem);
  line-height: 1.04; letter-spacing: -0.02em;
  text-wrap: balance;
}
.hl {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.lead {
  color: var(--muted);
  font-size: clamp(1.04rem, 0.98rem + 0.3vw, 1.2rem);
  max-width: 58ch;
}

.copy { display: grid; gap: 20px; align-content: start; min-width: 0; }
.copy > .actions, .copy > .link-arrow { margin-top: 8px; }
.copy > p:not(.eyebrow):not(.lead) { color: var(--muted); max-width: 58ch; }

/* ---------- Seções ---------- */
.section { position: relative; padding-block: clamp(80px, 10vw, 144px); }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--band {
  background: linear-gradient(180deg, rgba(8, 14, 32, 0.62), rgba(6, 11, 24, 0.62));
  border-block: 1px solid var(--line);
}
.section__head { display: grid; gap: 20px; max-width: 780px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--split {
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  align-items: end; column-gap: clamp(32px, 6vw, 96px);
}
.section__head--split > .copy { gap: 20px; }
.section__head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section__aside { display: grid; gap: 18px; justify-items: start; }

@media (max-width: 860px) {
  .section__head--split { grid-template-columns: 1fr; row-gap: 20px; }
}

/* ---------- Botões ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-family: var(--f-body); font-weight: 600; font-size: 0.98rem; line-height: 1.2;
  text-align: center; white-space: nowrap;
  transform: translate(var(--bx), var(--by));
  transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.3s;
}
.btn .i { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--primary {
  color: var(--ink);
  background: linear-gradient(180deg, #6aeaf8, var(--cyan));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 12px 32px -12px rgba(35, 208, 230, 0.7);
}
.btn--primary:hover {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 0 0 4px rgba(35, 208, 230, 0.16), 0 18px 40px -12px rgba(35, 208, 230, 0.85);
}
.btn--ghost {
  color: var(--text);
  border: 1px solid var(--line-3);
  background: rgba(255, 255, 255, 0.02);
}
.btn--ghost:hover { border-color: rgba(35, 208, 230, 0.6); background: rgba(35, 208, 230, 0.06); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.92rem; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 560px) {
  .actions .btn { flex: 1 1 100%; }
}
/* celulares muito estreitos: o texto do botão pode quebrar em vez de vazar */
@media (max-width: 380px) {
  .btn { white-space: normal; padding: 12px 20px; }
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; color: var(--cyan-2);
  transition: color 0.2s, gap 0.3s var(--ease);
}
.link-arrow .i { width: 18px; height: 18px; }
.link-arrow:hover { color: var(--text); gap: 12px; }

.text-link { color: var(--cyan-2); text-decoration: underline; text-decoration-color: rgba(124, 239, 255, 0.4); text-underline-offset: 3px; }
.text-link:hover { text-decoration-color: currentColor; }

/* ---------- Selos e etiquetas ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content;
  padding: 7px 14px 7px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(10, 18, 40, 0.6);
  font-family: var(--f-mono); font-size: 0.74rem; line-height: 1.4;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted);
}
.dot {
  flex: none; width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 12px var(--cyan);
  animation: pulse 2.4s infinite;
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags > * {
  padding: 3px 10px; border-radius: 999px;
  font-size: 0.78rem; line-height: 1.5; color: var(--cyan-2);
  background: rgba(35, 208, 230, 0.06); border: 1px solid rgba(35, 208, 230, 0.2);
}

/* ---------- Cards ---------- */
.card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--glass);
}

/* luz que segue o cursor dentro do card */
.glow-card { position: relative; isolation: isolate; overflow: hidden; }
.glow-card::before,
.glow-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  opacity: 0; transition: opacity 0.4s;
}
.glow-card::before {
  z-index: -1;
  background: radial-gradient(420px circle at var(--x, 50%) var(--y, 0%), rgba(35, 208, 230, 0.1), transparent 45%);
}
.glow-card::after {
  padding: 1px;
  background: radial-gradient(260px circle at var(--x, 50%) var(--y, 0%), rgba(124, 239, 255, 0.55), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glow-card:hover::before,
.glow-card:hover::after { opacity: 1; }

.icon-box {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 14px;
  color: var(--cyan-2);
  background: linear-gradient(180deg, rgba(35, 208, 230, 0.14), rgba(31, 74, 224, 0.1));
  border: 1px solid rgba(35, 208, 230, 0.25);
  transition: background-color 0.3s, color 0.3s, transform 0.4s var(--ease);
}
.icon-box .i { width: 22px; height: 22px; }

/* Lista com marcadores de verificação */
.checks, .cat__list, .plan__list { display: grid; gap: 12px; }
.checks li, .cat__list li, .plan__list li { position: relative; padding-left: 32px; }
.checks li { color: var(--muted); }
.checks li::before, .cat__list li::before, .plan__list li::before {
  content: ""; position: absolute; left: 0; top: 0.2em;
  width: 20px; height: 20px; border-radius: 6px;
  border: 1px solid rgba(35, 208, 230, 0.3);
  background: rgba(35, 208, 230, 0.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237cefff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Selo "responsável": iniciais de quem cuida da frente */
.who { display: inline-flex; align-items: center; gap: 12px; }
.who__faces { display: flex; }
.who__faces i {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  font-style: normal; font-family: var(--f-display); font-weight: 700; font-size: 0.82rem; color: var(--ink);
  background: var(--grad); border: 2px solid var(--bg);
}
.who__faces i + i { margin-left: -10px; }
.who__text { display: grid; line-height: 1.3; }
.who__text small {
  font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim);
}
.who__text b { font-weight: 600; font-size: 0.96rem; }

/* Celular (moldura) */
.phone {
  flex: none; width: 214px; padding: 9px; border-radius: 34px;
  background: #05080f; border: 1px solid var(--line-3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}
.phone__screen { padding: 14px 12px 16px; border-radius: 26px; background: #070c19; overflow: hidden; }

/* ---------- Fita adesiva e post-it ---------- */
.tape {
  position: absolute; z-index: 2;
  width: 96px; height: 28px;
  background: rgba(205, 225, 255, 0.28);
  -webkit-backdrop-filter: blur(1px); backdrop-filter: blur(1px);
  clip-path: polygon(0 12%, 3% 0, 97% 6%, 100% 0, 98% 50%, 100% 92%, 96% 100%, 4% 94%, 0 100%, 2% 50%);
  box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.15);
}
.tape--royal { background: rgba(31, 74, 224, 0.92); }
.tape--cyan { background: rgba(35, 208, 230, 0.75); }

.note {
  position: relative;
  padding: 34px 24px 26px;
  font-family: var(--f-hand); font-size: 1.12rem; line-height: 1.25;
  text-transform: uppercase; color: var(--ink);
  background: linear-gradient(165deg, var(--note-1) 0%, var(--note-2) 70%, #20a9be 100%);
  box-shadow: 0 26px 40px -18px rgba(0, 0, 0, 0.85), inset 0 -24px 30px -24px rgba(0, 0, 0, 0.3);
  transform: translate3d(var(--px, 0), var(--py, 0), 0) rotate(var(--rot, -4deg));
}
.note .tape { top: -12px; left: 50%; margin-left: -48px; transform: rotate(-3deg); }

/* Título "de impacto": caixa alta pesada, como nas peças da marca */
.title--loud {
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 1.3rem + 4.2vw, 4.4rem); line-height: 0.92;
}
.glow-text { color: var(--cyan); text-shadow: 0 0 40px rgba(35, 208, 230, 0.45); }

/* ---------- Revelar ao rolar ---------- */
.js .reveal {
  opacity: 0; translate: 0 26px;
  transition: opacity 0.8s var(--ease) var(--d, 0s), translate 0.8s var(--ease) var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; translate: 0 0; }

/* ---------- Chamada final (antes do rodapé) ---------- */
.cta { position: relative; padding-block: clamp(56px, 8vw, 112px); }
.cta__panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; gap: 40px;
  padding: clamp(32px, 6vw, 80px);
  border-radius: 32px; border: 1px solid rgba(35, 208, 230, 0.22);
  background:
    radial-gradient(70% 90% at 100% 0%, rgba(35, 208, 230, 0.18), transparent 60%),
    radial-gradient(60% 80% at 0% 100%, rgba(31, 74, 224, 0.28), transparent 60%),
    linear-gradient(160deg, #0b1636, #050a18 70%);
  box-shadow: 0 60px 120px -60px rgba(35, 208, 230, 0.35);
}
.cta__panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(70% 80% at 80% 40%, #000, transparent 75%);
  mask-image: radial-gradient(70% 80% at 80% 40%, #000, transparent 75%);
}
.cta__copy { display: grid; gap: 20px; }
.cta__title {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em;
  font-size: clamp(2.3rem, 1.3rem + 4vw, 4.4rem); line-height: 1;
}
.cta__copy .actions { margin-top: 10px; }
.cta__art { position: relative; display: grid; place-items: center; aspect-ratio: 1; }
.cta__rays {
  position: absolute; inset: -10%; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 8%, rgba(35, 208, 230, 0.22) 12%, transparent 16% 33%, rgba(58, 102, 255, 0.25) 38%, transparent 43% 58%, rgba(124, 239, 255, 0.18) 63%, transparent 68% 83%, rgba(35, 208, 230, 0.2) 88%, transparent 92%);
  -webkit-mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 20%, transparent 100%);
  animation: spin 28s linear infinite;
}
.cta__mark {
  position: relative; width: 52%; height: auto; aspect-ratio: 328 / 400;
  filter: drop-shadow(0 0 30px rgba(35, 208, 230, 0.45));
}

@media (max-width: 860px) {
  .cta__panel { grid-template-columns: 1fr; }
  .cta__art { display: none; }
}

/* ---------- Botão flutuante, barra de progresso e aviso ---------- */
.fab {
  position: fixed; z-index: 40;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  color: var(--ink); background: linear-gradient(180deg, #6aeaf8, var(--cyan));
  box-shadow: 0 14px 30px -10px rgba(35, 208, 230, 0.75);
  opacity: 0; transform: translateY(16px) scale(0.9); pointer-events: none;
  transition: opacity 0.35s, transform 0.35s var(--ease), box-shadow 0.3s;
}
.fab.is-on { opacity: 1; transform: none; pointer-events: auto; }
.fab:hover { box-shadow: 0 0 0 6px rgba(35, 208, 230, 0.16), 0 18px 36px -10px rgba(35, 208, 230, 0.85); }
.fab .i { width: 24px; height: 24px; }
.menu-open .fab { opacity: 0; pointer-events: none; }

.progress { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; pointer-events: none; }
.progress span {
  display: block; height: 100%;
  background: var(--grad); box-shadow: 0 0 10px var(--cyan);
  transform: scaleX(0); transform-origin: left;
}

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 60;
  max-width: calc(100vw - 32px); padding: 12px 18px; border-radius: 12px;
  background: rgba(10, 18, 40, 0.96); border: 1px solid rgba(35, 208, 230, 0.4);
  font-size: 0.92rem; box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.9);
  opacity: 0; translate: -50% 20px; pointer-events: none;
  transition: opacity 0.3s, translate 0.3s var(--ease);
}
.toast.is-on { opacity: 1; translate: -50% 0; }

/* ==========================================================================
   3. Fundo: grade que "acende" onde o cursor passa
   ========================================================================== */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.bg__grid,
.bg__lit {
  position: absolute; inset: 0;
  background-size: 72px 72px; background-position: 50% 0;
}
.bg__grid {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(90% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(90% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.6;
}
.bg__lit {
  background-image: linear-gradient(rgba(35, 208, 230, 0.32) 1px, transparent 1px), linear-gradient(90deg, rgba(35, 208, 230, 0.32) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(240px circle at var(--mx, 70%) var(--my, 20%), #000, transparent 70%);
  mask-image: radial-gradient(240px circle at var(--mx, 70%) var(--my, 20%), #000, transparent 70%);
  opacity: 0; transition: opacity 0.6s;
}
.has-pointer .bg__lit { opacity: 1; }
.bg__glow {
  position: absolute; left: 50%; top: -42vh;
  width: min(1500px, 160vw); height: 84vh; translate: -50% 0;
  background:
    radial-gradient(closest-side, rgba(31, 74, 224, 0.34), transparent),
    radial-gradient(closest-side at 72% 64%, rgba(35, 208, 230, 0.14), transparent);
  filter: blur(10px);
}
.bg__noise {
  position: absolute; inset: 0; opacity: 0.045; mix-blend-mode: overlay;
  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='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   4. Cabeçalho
   ========================================================================== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); }
/* o desfoque fica no pseudo-elemento: no próprio cabeçalho ele prenderia o menu móvel (position: fixed) */
.header::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(3, 6, 14, 0.74);
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity 0.35s;
}
.header.is-scrolled::before,
.menu-open .header::before { opacity: 1; }
.header__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 20px; }

.brand { flex: none; display: block; }
.brand img { width: 138px; height: auto; }

.nav { margin-inline: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  height: 40px; padding: 0 14px; border-radius: 999px;
  font-size: 0.94rem; font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover,
.nav__item.is-open .nav__trigger { color: var(--text); background: rgba(255, 255, 255, 0.05); }
.nav__link[aria-current="page"],
.nav__trigger.is-current { color: var(--text); background: rgba(35, 208, 230, 0.08); }
.nav__caret { width: 16px; height: 16px; transition: transform 0.3s var(--ease); }
.nav__item.is-open .nav__caret { transform: rotate(180deg); }
.nav__foot { display: none; }

/* Menu suspenso de serviços */
.nav__item--drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 14px); left: -12px;
  width: 700px;
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 8px;
  padding: 8px; border-radius: 22px;
  background: rgba(7, 12, 26, 0.96); border: 1px solid var(--line-2);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  opacity: 0; visibility: hidden; translate: 0 8px;
  transition: opacity 0.25s, translate 0.3s var(--ease), visibility 0s 0.3s;
}
/* ponte invisível: o mouse atravessa o vão sem fechar o menu */
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__item.is-open .drop { opacity: 1; visibility: visible; translate: 0 0; transition-delay: 0s; }
.drop__list { display: grid; gap: 2px; padding: 4px; }
.drop__link {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 12px; border-radius: 14px;
  transition: background-color 0.2s;
}
.drop__link:hover { background: rgba(255, 255, 255, 0.05); }
.drop__link:hover .icon-box { background: var(--cyan); color: var(--ink); }
.drop__link .icon-box { width: 40px; height: 40px; border-radius: 12px; }
.drop__link .icon-box .i { width: 19px; height: 19px; }
.drop__link b { display: block; font-weight: 600; font-size: 0.95rem; line-height: 1.3; }
.drop__link small { display: block; font-size: 0.82rem; line-height: 1.35; color: var(--dim); }
.drop__feature {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px; border-radius: 16px;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(35, 208, 230, 0.24), transparent 60%),
    linear-gradient(160deg, #10225c, #070d22);
  border: 1px solid rgba(35, 208, 230, 0.25);
  transition: border-color 0.25s;
}
.drop__feature:hover { border-color: rgba(35, 208, 230, 0.55); }
.drop__kicker { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-2); }
.drop__feature b { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; line-height: 1.1; }
.drop__text { font-size: 0.9rem; line-height: 1.5; color: var(--muted); }
.drop__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 0.92rem; color: var(--cyan-2); }
.drop__go .i { width: 16px; height: 16px; }
.drop__all {
  grid-column: 1 / -1;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px; border-radius: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem; color: var(--muted);
  transition: color 0.2s, background-color 0.2s;
}
.drop__all:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }
.drop__all .i { width: 16px; height: 16px; color: var(--cyan-2); }

.menu-toggle { display: none; }

@media (max-width: 1100px) {
  .header__cta { margin-left: auto; }
  .menu-toggle {
    display: grid; place-content: center; gap: 6px; flex: none;
    width: 46px; height: 46px; border-radius: 14px;
    border: 1px solid var(--line-2); background: rgba(10, 18, 40, 0.6);
  }
  .menu-toggle span {
    display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--text);
    transition: transform 0.35s var(--ease);
  }
  .menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .nav {
    position: fixed; inset: var(--header-h) 0 0; margin: 0;
    display: flex; flex-direction: column; gap: 28px;
    padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom));
    overflow-y: auto; overscroll-behavior: contain;
    background: rgba(3, 6, 14, 0.97);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden;
    transition: opacity 0.3s, visibility 0s 0.3s;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transition-delay: 0s; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item {
    border-bottom: 1px solid var(--line);
    opacity: 0; translate: 0 14px;
    transition: opacity 0.4s, translate 0.5s var(--ease);
  }
  .menu-open .nav__item { opacity: 1; translate: 0 0; }
  .menu-open .nav__item:nth-child(2) { transition-delay: 0.04s; }
  .menu-open .nav__item:nth-child(3) { transition-delay: 0.08s; }
  .menu-open .nav__item:nth-child(4) { transition-delay: 0.12s; }
  .menu-open .nav__item:nth-child(5) { transition-delay: 0.16s; }
  .nav__link {
    width: 100%; height: auto; justify-content: space-between;
    padding: 18px 2px; border-radius: 0;
    font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: var(--text);
  }
  .nav__link:hover,
  .nav__link[aria-current="page"],
  .nav__trigger.is-current,
  .nav__item.is-open .nav__trigger { background: none; }
  .nav__link[aria-current="page"],
  .nav__trigger.is-current { color: var(--cyan-2); }
  .nav__caret { width: 22px; height: 22px; }

  .drop {
    position: static; width: auto; translate: none;
    display: none; grid-template-columns: 1fr; gap: 4px;
    padding: 0 0 16px; border: 0; border-radius: 0;
    background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
    opacity: 1; visibility: visible;
  }
  .drop::before { display: none; }
  .nav__item.is-open .drop { display: grid; }
  .drop__list { padding: 0; }
  .drop__link { padding: 10px 4px; }
  .drop__feature { padding: 18px; }
  .drop__all { padding: 12px 4px; border: 0; }

  .nav__foot { display: grid; gap: 18px; margin-top: auto; }
  .nav__foot .btn { width: 100%; }
  .nav__contacts { display: flex; justify-content: center; gap: 24px; color: var(--muted); font-size: 0.95rem; }
  .nav__contacts a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
  .nav__contacts .i { width: 18px; height: 18px; color: var(--cyan); }
}
@media (max-width: 560px) {
  .header__cta { display: none; }
  .menu-toggle { margin-left: auto; }
  .brand img { width: 124px; }
}

/* ==========================================================================
   5. Rodapé
   ========================================================================== */
.footer {
  overflow: hidden;
  padding-top: clamp(64px, 8vw, 100px);
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(3, 6, 14, 0), rgba(6, 11, 24, 0.92) 40%);
}
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.footer__brand img { width: 150px; height: auto; }
.footer__tag { margin: 18px 0 20px; max-width: 36ch; color: var(--muted); font-size: 0.95rem; }
.footer__social {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); color: var(--muted);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.footer__social:hover { color: var(--ink); background: var(--cyan); border-color: var(--cyan); }
.footer__title {
  margin-bottom: 16px;
  font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim);
}
.footer__col ul { display: grid; gap: 10px; }
.footer__col a, .footer__col span { color: var(--muted); font-size: 0.95rem; transition: color 0.2s; }
.footer__col a:hover { color: var(--text); }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.footer__contact .i { width: 16px; height: 16px; color: var(--cyan); }
.footer__giant {
  margin-top: clamp(48px, 7vw, 88px);
  font-family: var(--f-display); font-weight: 800; letter-spacing: -0.02em; line-height: 0.78;
  font-size: clamp(5rem, 25vw, 21rem); text-align: center;
  color: transparent; -webkit-text-stroke: 1px rgba(140, 165, 255, 0.16);
  background: radial-gradient(380px circle at var(--fx, 50%) var(--fy, 60%), rgba(124, 239, 255, 0.85), rgba(58, 102, 255, 0.35) 35%, transparent 70%);
  -webkit-background-clip: text; background-clip: text;
  user-select: none;
}
.footer__bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  margin-top: 28px; padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  font-size: 0.86rem; color: var(--dim);
}
.to-top { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; transition: color 0.2s; }
.to-top .i { width: 16px; height: 16px; }
.to-top:hover { color: var(--cyan-2); }

@media (max-width: 960px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

/* ==========================================================================
   6. Início
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 40px) 0 96px;
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: 56px; align-items: center; }
.hero__copy { min-width: 0; }

.hero__title {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.3rem, 5.3vw, 4.3rem); line-height: 0.92; letter-spacing: -0.01em;
}
.hero__title .line { display: block; white-space: nowrap; }
.hero__kicker {
  display: flex; align-items: center; gap: 10px; margin-bottom: 22px;
  font-weight: 700; font-size: clamp(0.78rem, 1.5vw, 0.92rem); line-height: 1.4;
  letter-spacing: 0.16em; color: var(--cyan-2);
}

/* Palavra que troca: some com desfoque e volta "acesa" por um feixe de luz */
.rotator {
  position: relative; display: inline-block;
  color: var(--cyan); text-shadow: 0 0 40px rgba(35, 208, 230, 0.45);
  transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), transform 0.35s var(--ease);
}
.rotator.is-out { opacity: 0; filter: blur(8px); transform: translateY(-0.1em); }
.rotator.is-lit { animation: litIn 0.8s var(--ease) backwards; }
.rotator.is-lit::after {
  content: ""; position: absolute; top: 4%; bottom: 4%; left: 0; width: 4px; border-radius: 4px;
  background: #fff; box-shadow: 0 0 12px var(--cyan-2), 0 0 32px var(--cyan);
  animation: sweep 0.8s var(--ease) both;
}

.hero__brush { width: min(100%, 520px); height: 30px; margin: 6px 0 24px; overflow: visible; }
.js .hero__brush path {
  stroke-dasharray: 560; stroke-dashoffset: 560;
  animation: draw 1.3s 0.55s var(--ease) forwards;
}

.hero__lead { max-width: 540px; color: var(--muted); font-size: 1.14rem; }
.hero__lead em { color: var(--text); font-weight: 500; }

.hero__actions { margin: 32px 0 22px; }
.hero__note {
  display: flex; align-items: flex-start; gap: 10px; max-width: 460px;
  font-size: 0.9rem; color: var(--muted); line-height: 1.5;
}
.hero__note .i { width: 18px; height: 18px; margin-top: 2px; color: var(--cyan); }

/* ---------- Antes e depois ---------- */
.ba-stage { position: relative; display: grid; justify-items: center; padding: 26px 0 0; }
.ba {
  --p: 0.5;
  position: relative; width: min(312px, 82vw);
  touch-action: pan-y; cursor: ew-resize;
  -webkit-user-select: none; user-select: none;
  transform: translate3d(var(--px, 0), var(--py, 0), 0);
}
.phone--hero {
  width: 100%; padding: 10px; border-radius: 42px;
  background: linear-gradient(160deg, #1c2333, #0a0d15);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), inset 0 0 0 2px rgba(0, 0, 0, 0.5);
}
.phone .ba__screen { position: relative; padding: 0; border-radius: 32px; overflow: hidden; background: #060a14; }
.ba__screen::before {
  content: ""; position: absolute; z-index: 3; top: 9px; left: 50%;
  width: 76px; height: 20px; margin-left: -38px; border-radius: 12px; background: #000;
}
/* luz que "vaza" do feixe para o lado iluminado */
.ba__screen::after {
  content: ""; position: absolute; z-index: 2; top: 0; bottom: 0;
  left: calc(var(--p) * 100%); width: 90px; pointer-events: none;
  background: linear-gradient(90deg, rgba(111, 240, 253, 0.22), transparent);
}
.ba__layer { padding: 40px 12px 14px; }
.ba__before { filter: grayscale(0.65) brightness(0.55) contrast(0.9); }
.ba__after {
  position: absolute; inset: 0;
  background: radial-gradient(120% 60% at 0% 30%, rgba(35, 208, 230, 0.12), transparent 60%), #071027;
  clip-path: inset(0 0 0 calc(var(--p) * 100%));
}
.ba__tag {
  position: absolute; z-index: 1; top: 12px; left: 14px;
  font-family: var(--f-display); font-weight: 800; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, 0.1); color: var(--text);
}
.ba__tag--after { left: auto; right: 14px; background: var(--cyan); color: var(--ink); }

.ba__beam {
  position: absolute; z-index: 4; top: -5%; bottom: -5%;
  left: calc(10px + (100% - 20px) * var(--p)); width: 0; pointer-events: none;
}
.ba__beam::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, transparent, var(--cyan-2) 10%, #fff 50%, var(--cyan-2) 90%, transparent);
  box-shadow: 0 0 12px var(--cyan), 0 0 42px rgba(35, 208, 230, 0.6);
}
.ba__knob {
  position: absolute; left: -24px; top: 50%; margin-top: -24px;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cyan); color: var(--ink);
  box-shadow: 0 0 0 6px rgba(35, 208, 230, 0.18), 0 0 30px rgba(35, 208, 230, 0.7);
  transition: transform 0.25s var(--ease);
}
.ba__knob .i { width: 22px; height: 22px; stroke-width: 2.2; }
.ba.is-dragging .ba__knob,
.ba:hover .ba__knob { transform: scale(1.08); }
.ba__range {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); border: 0; opacity: 0;
}
.ba__range:focus-visible + .ba__beam .ba__knob { outline: 2px solid #fff; outline-offset: 4px; }

/* ---------- Perfil fictício dentro do celular ---------- */
.pf { display: grid; gap: 10px; font-size: 11px; line-height: 1.3; color: var(--text); }
.pf__handle { text-align: center; font-weight: 600; font-size: 11.5px; }
.pf__head { display: flex; align-items: center; gap: 10px; height: 64px; }
.pf__avatar {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
}
.pf__meta { min-width: 0; }
.pf__meta b { display: block; font-size: 12px; }
.pf__meta small { display: block; height: 39px; overflow: hidden; font-size: 9.5px; line-height: 1.37; color: var(--muted); }
.pf__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.pf__actions span { padding: 5px; border-radius: 7px; text-align: center; font-size: 10px; font-weight: 600; background: #141c33; }
.pf__hl { display: flex; gap: 12px; height: 52px; }
.pf__hl span { display: grid; justify-items: center; align-content: start; gap: 4px; font-size: 8px; color: var(--muted); }
.pf__hl i { width: 36px; height: 36px; border-radius: 50%; }
.pf__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.pf__grid > span {
  position: relative; aspect-ratio: 1; overflow: hidden;
  display: grid; place-items: center; padding: 5px; text-align: center;
  font-size: 9px; line-height: 1.05;
}

/* antes: bagunçado, sem identidade */
.pf--bad .pf__avatar { background: radial-gradient(circle at 40% 35%, #8a8f99, #3d424c); filter: blur(0.6px); }
.pf--bad .pf__actions span:first-child { background: #2a3550; }
.pf--bad .pf__hl i { border: 1.5px dashed #5b6475; }
.pf--bad .pf__grid > span { color: #fff; font-family: var(--f-body); font-weight: 700; }
.pf--bad .pf__grid > span:nth-child(1) { background: #b0413e; color: #ffe14d; font-style: italic; font-size: 11px; transform: rotate(-4deg) scale(1.1); }
.pf--bad .pf__grid > span:nth-child(2) { background: radial-gradient(circle at 60% 40%, #c49a6c, #5a4632 70%); filter: blur(1.4px); }
.pf--bad .pf__grid > span:nth-child(3) { background: linear-gradient(135deg, #7b3fa0, #d05ca8); font-family: var(--f-hand); font-weight: 400; }
.pf--bad .pf__grid > span:nth-child(4) { background: #9aa0a8; color: #c8ccd2; font-size: 7px; }
.pf--bad .pf__grid > span:nth-child(5) { background: #4f8a2b; color: #f6ff7a; transform: rotate(3deg); }
.pf--bad .pf__grid > span:nth-child(6) { background: radial-gradient(circle at 30% 70%, #e07b39, #3a2a20 75%); filter: blur(1px); }
.pf--bad .pf__grid > span:nth-child(7) { background: #e85d8f; font-family: var(--f-hand); font-weight: 400; }
.pf--bad .pf__grid > span:nth-child(8) { background: linear-gradient(200deg, #626a77, #2c3038); filter: blur(1.2px); }
.pf--bad .pf__grid > span:nth-child(9) { background: #f2e9d8; color: #8a6d3b; font-weight: 500; font-size: 8px; }

/* depois: paleta coesa, bio clara e destaques organizados */
.pf--good .pf__avatar {
  font-family: var(--f-display); font-weight: 900; font-size: 22px; color: var(--cyan-2);
  background: radial-gradient(circle, #0e1b44 0 60%, transparent 62%), conic-gradient(from 200deg, var(--cyan), var(--royal-2), var(--cyan-2), var(--cyan));
}
.pf--good .pf__meta small { color: #c3cee6; }
.pf--good .pf__actions span:first-child { background: var(--cyan); color: var(--ink); }
.pf--good .pf__hl span { color: var(--text); }
.pf--good .pf__hl i { border: 2px solid var(--cyan); background: radial-gradient(circle, var(--royal-2) 0 52%, #0a1330 54%); box-shadow: inset 0 0 0 2px #071027; }
.pf--good .pf__hl span:nth-child(2) i { background: radial-gradient(circle, var(--warm) 0 52%, #0a1330 54%); }
.pf--good .pf__hl span:nth-child(3) i { background: radial-gradient(circle, var(--paper) 0 52%, #0a1330 54%); }
.pf--good .pf__hl span:nth-child(4) i { background: radial-gradient(circle, var(--cyan) 0 52%, #0a1330 54%); }
.pf--good .pf__grid > span { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; letter-spacing: 0.02em; }
.pf--good .pf__grid b { font-weight: 900; }
.pf--good .pf__grid > span:nth-child(1) { background: #10225c; font-size: 11px; box-shadow: inset 0 -4px 0 var(--cyan); }
.pf--good .pf__grid > span:nth-child(2) { background: radial-gradient(circle at 50% 55%, var(--warm) 0 26%, transparent 27%), var(--paper); }
.pf--good .pf__grid > span:nth-child(3) { background: var(--paper); color: #10225c; font-family: var(--f-body); font-weight: 600; text-transform: none; font-size: 8.5px; }
.pf--good .pf__grid > span:nth-child(3) q::before { content: "“"; display: block; font-family: var(--f-display); font-size: 20px; line-height: 0.8; color: var(--royal-2); }
.pf--good .pf__grid > span:nth-child(3) q::after { content: ""; }
.pf--good .pf__grid > span:nth-child(4) { background: var(--cyan); color: #071027; font-size: 9px; }
.pf--good .pf__grid > span:nth-child(5) { background: radial-gradient(circle at 50% 50%, var(--warm) 0 22%, rgba(255, 207, 122, 0.25) 23% 34%, transparent 35%), linear-gradient(160deg, #1f4ae0, #0a1640); }
.pf--good .pf__grid > span:nth-child(6) { background: linear-gradient(180deg, #0a1640, #1f4ae0); font-size: 9px; }
.pf--good .pf__grid > span:nth-child(7) { background: var(--paper); color: #10225c; font-size: 9px; }
.pf--good .pf__grid > span:nth-child(8) { background: radial-gradient(circle at 45% 55%, var(--paper) 0 24%, transparent 25%), linear-gradient(135deg, var(--cyan), var(--royal-2)); }
.pf--good .pf__grid > span:nth-child(9) { background: #10225c; color: var(--cyan-2); font-size: 9px; }
.pf--good .pf__grid > .reel::after {
  content: ""; position: absolute; top: 6px; right: 6px;
  border-left: 7px solid #fff; border-top: 4.5px solid transparent; border-bottom: 4.5px solid transparent;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.note--hint {
  position: absolute; z-index: 5; left: 0; bottom: 70px;
  width: 132px; padding: 26px 14px 14px; font-size: 0.98rem; text-align: center;
  pointer-events: none; transition: opacity 0.6s var(--ease);
}
.note__arrow { position: absolute; right: -58px; top: -6px; width: 70px; height: 44px; overflow: visible; }
.note__arrow path { fill: none; stroke: var(--cyan-2); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ba-stage.is-touched .note--hint { opacity: 0; }
.ba__caption { margin-top: 22px; font-size: 0.78rem; color: var(--dim); }

.scroll-cue {
  position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 0.7rem; color: var(--dim); letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-cue i {
  position: relative; width: 1px; height: 40px; overflow: hidden; background: var(--line-2);
}
.scroll-cue i::after {
  content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%;
  background: var(--cyan); animation: cue 1.8s var(--ease) infinite;
}

@media (max-width: 1080px) {
  .hero__grid { gap: 40px; }
  .note--hint { left: -10px; }
}
@media (max-width: 960px) {
  .hero { min-height: 0; padding-top: calc(var(--header-h) + 36px); }
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .ba-stage { width: 100%; }
  .note--hint { left: max(0px, calc(50% - 300px)); }
  .scroll-cue { display: none; }
}
@media (max-width: 560px) {
  .ba { width: min(286px, 78vw); }
  .note--hint { left: 0; bottom: 96px; width: 104px; font-size: 0.8rem; padding: 22px 10px 12px; }
  .note--hint .tape { width: 70px; margin-left: -35px; height: 22px; }
  .note__arrow { right: -40px; width: 50px; height: 32px; }
}

/* ---------- Faixa (marquee) ---------- */
.marquee {
  position: relative; z-index: 1; overflow: hidden;
  padding: 22px 0;
  border-block: 1px solid var(--line);
  background: rgba(6, 11, 24, 0.6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 36px; width: max-content; white-space: nowrap; will-change: transform; }
.marquee__track span {
  font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(1.35rem, 1rem + 1.5vw, 2.2rem); line-height: 1.2;
}
.marquee__track span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(160, 185, 255, 0.45); }
.marquee__track i {
  flex: none; width: 8px; height: 8px; rotate: 45deg;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}

/* ---------- Quem somos: polaroides ---------- */
.about__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.about__copy > p:not(.eyebrow) { max-width: 560px; }

.team {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start;
  max-width: 520px; width: 100%; justify-self: center; padding-top: 16px;
}
.polaroid {
  position: relative; margin: 0; padding: 12px 12px 16px;
  background: var(--paper); color: var(--ink);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.85);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.45s var(--ease);
}
.polaroid:hover { transform: rotate(0deg) translateY(-6px); }
.polaroid:nth-child(2) { margin-top: 48px; }
.polaroid .tape { top: -12px; left: 50%; margin-left: -48px; transform: rotate(-4deg); }
.polaroid__photo {
  position: relative; overflow: hidden; aspect-ratio: 4 / 5;
  display: grid; place-items: center;
  font-family: var(--f-display); font-weight: 900; font-size: clamp(2.6rem, 6vw, 4rem); letter-spacing: 0.02em;
  color: var(--cyan-2); text-shadow: 0 0 24px rgba(35, 208, 230, 0.8);
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(35, 208, 230, 0.35), transparent 70%),
    linear-gradient(165deg, #1a3cc0, #060c1c 80%);
}
.polaroid__photo img { width: 100%; height: 100%; object-fit: cover; }
.polaroid figcaption { margin-top: 12px; text-align: center; line-height: 1.15; }
.polaroid figcaption b { display: block; font-family: var(--f-hand); font-weight: 400; font-size: 1.2rem; color: var(--ink); }
.polaroid figcaption span { display: block; margin-top: 4px; font-size: 0.8rem; color: #42506d; }

@media (max-width: 960px) {
  .about__grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .team { gap: 14px; }
  .polaroid { padding: 8px 8px 12px; }
  .polaroid:nth-child(2) { margin-top: 30px; }
  .polaroid figcaption b { font-size: 1rem; }
  .polaroid figcaption span { font-size: 0.72rem; }
}

/* ---------- O que fazemos: grade de serviços ---------- */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.bento > li { grid-column: span 2; min-width: 0; }
.bento > li:nth-child(-n+2) { grid-column: span 3; }
.bento__more { margin-top: 28px; display: flex; justify-content: center; }

.svc {
  display: flex; flex-direction: column; height: 100%;
  padding: 10px; border-radius: 24px;
  border: 1px solid var(--line); background: var(--glass);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.svc:hover { border-color: var(--line-2); transform: translateY(-4px); }
.svc__viz {
  position: relative; overflow: hidden;
  height: 188px; border-radius: 16px;
  display: grid; place-items: center; place-content: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(58, 102, 255, 0.16), transparent 60%),
    rgba(4, 8, 18, 0.7);
}
.svc__viz::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(124, 239, 255, 0.12) 50%, transparent 70%);
  transform: translateX(-100%);
}
.svc:hover .svc__viz::after { animation: sweepX 1.1s var(--ease); }
.svc__body { display: flex; flex-direction: column; flex: 1; gap: 10px; padding: 20px 16px 14px; }
.svc__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.svc__num { font-family: var(--f-mono); font-size: 0.78rem; color: var(--dim); }
.svc__title { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; line-height: 1.15; }
.svc__text { color: var(--muted); font-size: 0.96rem; }
.svc__more {
  display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 8px;
  font-weight: 600; font-size: 0.94rem; color: var(--cyan-2);
}
.svc__more .i { width: 17px; height: 17px; transition: transform 0.3s var(--ease); }
.svc:hover .svc__more .i { transform: translateX(4px); }
.svc:hover .icon-box { background: var(--cyan); color: var(--ink); }

/* Social media: o feed se organiza */
.viz-social { grid-template-columns: auto auto; gap: 22px; }
.viz-social__grid { display: grid; grid-template-columns: repeat(3, 38px); gap: 5px; }
.viz-social__grid i { aspect-ratio: 1; border-radius: 7px; background: #0d1530; border: 1px solid var(--line); }
.viz-social__grid i:nth-child(1) { background: linear-gradient(135deg, #23d0e6, #1f4ae0); }
.viz-social__grid i:nth-child(2) { background: radial-gradient(circle at 30% 70%, #ffcf7a 0 18%, transparent 19%), #10225c; }
.viz-social__grid i:nth-child(3) { background: linear-gradient(180deg, #0a1640, #23d0e6); }
.viz-social__grid i:nth-child(4) { background: repeating-linear-gradient(45deg, #3a66ff 0 6px, #1f3fb8 6px 12px); }
.viz-social__grid i:nth-child(5) { background: radial-gradient(circle, #7cefff 0 22%, #0e1b44 23%); }
.viz-social__grid i:nth-child(6) { background: linear-gradient(135deg, #f4f1ea, #97a6c4); }
.viz-social__grid i:nth-child(7) { background: linear-gradient(45deg, #0e1b44 50%, #23d0e6 50%); }
.viz-social__grid i:nth-child(8) { background: radial-gradient(circle at 70% 30%, #ff8a3d 0 22%, transparent 23%), #0a1330; }
.viz-social__grid i:nth-child(9) { background: linear-gradient(160deg, #3a66ff, #060b1a); }
.js .viz-social__grid i { opacity: 0; transform: scale(0.6); }
.is-in .viz-social__grid i { animation: pop 0.55s var(--ease) forwards; animation-delay: calc(0.35s + var(--i) * 0.09s); }
.viz-social__cal { display: grid; gap: 8px; width: 112px; }
.viz-social__cal b { font-family: var(--f-mono); font-weight: 500; font-size: 0.66rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.viz-social__days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.viz-social__days i { aspect-ratio: 1; border-radius: 3px; background: #0d1530; }
.viz-social__days i:nth-child(7n+1), .viz-social__days i:nth-child(7n+4) { background: var(--cyan); }
.viz-social__days i:nth-child(7n+2), .viz-social__days i:nth-child(7n+5) { background: var(--royal-2); }
.viz-social__days i:nth-child(7n+3), .viz-social__days i:nth-child(7n+6) { background: #34446f; }
.viz-social__ok { display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; color: var(--ok); }
.viz-social__ok .i { width: 14px; height: 14px; }

/* Vídeo: linha do tempo em reprodução */
.viz-video__tl {
  position: relative; width: 86%;
  display: grid; gap: 8px; padding: 10px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
}
.viz-video__clips { display: grid; grid-template-columns: 1.2fr 0.8fr 1.4fr 1fr; gap: 5px; }
.viz-video__clips i { height: 38px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.06); }
.viz-video__clips i:nth-child(1) { background: linear-gradient(160deg, #0c2a6e, #1c5fd0 60%, #0a1330); }
.viz-video__clips i:nth-child(2) { background: radial-gradient(circle at 50% 80%, rgba(255, 190, 90, 0.55), transparent 55%), linear-gradient(180deg, #060a16 50%, #2a1d0c); }
.viz-video__clips i:nth-child(3) { background: linear-gradient(120deg, #d6dfef 0%, #7181a3 40%, #1b2338 100%); }
.viz-video__clips i:nth-child(4) { background: radial-gradient(circle at 62% 40%, rgba(255, 138, 61, 0.6), transparent 45%), linear-gradient(135deg, #0f2b6b, #1a0d0a); border-color: var(--cyan); }
.viz-video__wave { display: flex; align-items: center; gap: 3px; height: 34px; }
.viz-video__wave i { flex: 1; height: var(--h); border-radius: 2px; background: rgba(35, 208, 230, 0.55); transform-origin: center; }
.is-in .viz-video__wave i { animation: eq 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--i) * -0.11s); }
.viz-video__head {
  position: absolute; top: 4px; bottom: 4px; left: 10px; width: 2px;
  background: #fff; box-shadow: 0 0 10px #fff;
}
.viz-video__head::before {
  content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px;
  background: #fff; clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.is-in .viz-video__head { animation: playhead 6s linear infinite; }

/* Design: tipografia e paleta */
.viz-design { grid-template-columns: auto auto; gap: 26px; }
.viz-design__aa {
  font-family: var(--f-display); font-weight: 800; font-size: 4.4rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.viz-design__sw { display: flex; }
.viz-design__sw i {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--c); border: 3px solid #070c19;
  transition: margin 0.4s var(--ease);
}
.viz-design__sw i + i { margin-left: -10px; }
.svc:hover .viz-design__sw i + i { margin-left: 4px; }
.js .viz-design__sw i { opacity: 0; transform: scale(0.6); }
.is-in .viz-design__sw i { animation: pop 0.5s var(--ease) forwards; animation-delay: calc(0.4s + var(--i) * 0.08s); }

/* Sites: o mesmo layout se adapta à largura */
.viz-sites__win {
  width: 84%; container-type: inline-size; overflow: hidden;
  border-radius: 10px; border: 1px solid var(--line-2); background: #060b18;
}
.is-in .viz-sites__win { animation: resp 7s var(--ease) infinite; }
.viz-sites__bar { display: flex; gap: 4px; padding: 6px 8px; border-bottom: 1px solid var(--line); background: #0b1020; }
.viz-sites__bar i { width: 6px; height: 6px; border-radius: 50%; background: #ff5f57; }
.viz-sites__bar i:nth-child(2) { background: #febc2e; }
.viz-sites__bar i:nth-child(3) { background: #28c840; }
.viz-sites__page { display: grid; gap: 8px; padding: 8px; }
.viz-sites__nav { display: flex; justify-content: space-between; align-items: center; }
.viz-sites__nav b { width: 30px; height: 6px; border-radius: 3px; background: var(--cyan); }
.viz-sites__nav span { display: flex; gap: 4px; }
.viz-sites__nav span i { width: 14px; height: 4px; border-radius: 2px; background: #2a3658; }
.viz-sites__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 8px; align-items: center; }
.viz-sites__copy { display: grid; gap: 4px; }
.viz-sites__copy i { height: 6px; border-radius: 3px; background: #c7d3f0; }
.viz-sites__copy i:nth-child(2) { width: 80%; background: var(--cyan-2); }
.viz-sites__copy i:nth-child(3) { width: 40%; height: 9px; margin-top: 4px; background: var(--cyan); }
.viz-sites__art { height: 42px; border-radius: 6px; background: linear-gradient(160deg, #3a66ff, #0a1640 75%); }
.viz-sites__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.viz-sites__row i { height: 16px; border-radius: 4px; background: #0e1834; border: 1px solid var(--line); }
@container (max-width: 130px) {
  .viz-sites__nav span { display: none; }
  .viz-sites__hero { grid-template-columns: 1fr; }
  .viz-sites__art { order: -1; height: 30px; }
  .viz-sites__row { grid-template-columns: 1fr; }
  .viz-sites__row i { height: 9px; }
}

/* Marketing: a empresa sobe na busca local */
.viz-mkt { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 8%; place-items: initial; }
.viz-mkt__search {
  display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px; border-radius: 999px;
  font-size: 0.74rem; color: var(--muted);
  background: #0d1530; border: 1px solid var(--line-2);
}
.viz-mkt__search .i { width: 13px; height: 13px; }
.viz-mkt__list { --row: 27px; position: relative; height: calc(var(--row) * 4); }
.viz-mkt__list li {
  position: absolute; left: 0; right: 0; top: calc(var(--at) * var(--row)); height: calc(var(--row) - 5px);
  display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 0 10px;
  border-radius: 7px; background: #0b1328; border: 1px solid var(--line);
  font-size: 0.72rem; color: var(--muted); white-space: nowrap;
}
.viz-mkt__list li span { color: var(--warm); letter-spacing: 1px; }
.viz-mkt__list li.is-me {
  z-index: 1; color: var(--text); font-weight: 600;
  border-color: rgba(35, 208, 230, 0.55);
  background: linear-gradient(90deg, rgba(35, 208, 230, 0.18), #0b1328);
  box-shadow: 0 10px 20px -12px rgba(35, 208, 230, 0.6);
}
.is-in .viz-mkt__list li { animation: rank 7s var(--ease) infinite; }

@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento > li,
  .bento > li:nth-child(-n+2) { grid-column: span 1; }
  .bento > li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .bento > li:last-child { grid-column: auto; }
  .svc__viz { height: 172px; }
}

/* ---------- Por onde começar: desafio → por onde começar ---------- */
.paths { border-top: 1px solid var(--line); }
.paths > li { border-bottom: 1px solid var(--line); }
.path {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 210px 44px; align-items: center; gap: 28px;
  padding: 28px 12px;
}
.path::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(35, 208, 230, 0.09), rgba(35, 208, 230, 0) 75%);
  opacity: 0; transition: opacity 0.35s;
}
.path:hover::before, .path:focus-visible::before { opacity: 1; }
.path__n { font-family: var(--f-mono); font-size: 0.8rem; color: var(--dim); }
.path__q {
  display: block; font-family: var(--f-display); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); line-height: 1.2;
  transition: color 0.3s;
}
.path__a { display: block; margin-top: 6px; max-width: 62ch; color: var(--muted); font-size: 0.96rem; }
.path__to { display: grid; gap: 4px; }
.path__to small { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--dim); }
.path__to span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.path__to .i { width: 18px; height: 18px; color: var(--cyan); }
.path__go {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-2);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, rotate 0.35s var(--ease);
}
.path__go .i { width: 18px; height: 18px; }
.path:hover .path__q { color: var(--cyan-2); }
.path:hover .path__go { background: var(--cyan); border-color: var(--cyan); color: var(--ink); rotate: -45deg; }

@media (max-width: 860px) {
  .path { grid-template-columns: minmax(0, 1fr) 44px; gap: 14px 16px; padding: 24px 0; }
  .path__n { display: none; }
  .path__main { grid-column: 1; grid-row: 1; }
  .path__to { grid-column: 1; grid-row: 2; }
  .path__go { grid-column: 2; grid-row: 1 / span 2; }
}

/* ---------- Trabalhos selecionados ---------- */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.work__card {
  display: flex; flex-direction: column; height: 100%; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--line); background: var(--glass);
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.work__card:hover { border-color: rgba(35, 208, 230, 0.4); transform: translateY(-4px); }
.work__media { aspect-ratio: 16 / 10; overflow: hidden; background: #060b1a; border-bottom: 1px solid var(--line); }
.work__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.work__card:hover .work__media img { transform: scale(1.04); }
.work__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; padding: 20px 22px 22px; }
.work__meta { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-2); }
.work__body h3 { margin-top: 4px; font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.work__go {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-2); color: var(--text);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, rotate 0.35s var(--ease);
}
.work__go .i { width: 18px; height: 18px; }
.work__card:hover .work__go { background: var(--cyan); border-color: var(--cyan); color: var(--ink); rotate: -45deg; }

/* tablets e celulares: os trabalhos viram um carrossel de arrastar */
@media (max-width: 1023px) {
  .work {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(80%, 420px);
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 16px;
    scrollbar-width: none;
  }
  .work::-webkit-scrollbar { display: none; }
  .work > li { scroll-snap-align: start; }
}

/* ---------- Processo (resumo) ---------- */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.flow__step { display: grid; gap: 10px; align-content: start; padding: 28px 24px 30px; }
.flow__n {
  margin-bottom: 14px;
  font-family: var(--f-display); font-weight: 700; font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em;
  color: transparent; -webkit-text-stroke: 1px rgba(124, 239, 255, 0.45);
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  background-size: 100% 0%; background-repeat: no-repeat; background-position: bottom;
  transition: background-size 0.5s var(--ease);
}
.flow__step:hover .flow__n { background-size: 100% 100%; }
.flow__step h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; }
.flow__step p { color: var(--muted); font-size: 0.96rem; }

.promises {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(48px, 6vw, 80px); padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid var(--line);
}
.promises li { display: grid; gap: 6px; align-content: start; }
.promises .i { width: 24px; height: 24px; margin-bottom: 8px; color: var(--cyan); }
.promises b { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; line-height: 1.25; }
.promises span { color: var(--muted); font-size: 0.94rem; }

@media (max-width: 960px) {
  .flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .promises { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; row-gap: 32px; }
}

/* ==========================================================================
   7. Páginas internas
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + clamp(44px, 7vw, 96px)) 0 clamp(56px, 7vw, 96px); }
.page-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px); align-items: center;
}
.page-hero__copy { display: grid; gap: 22px; align-content: start; min-width: 0; }
.page-hero__title {
  font-family: var(--f-display); font-weight: 700; letter-spacing: -0.03em;
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 4.9rem); line-height: 1;
  text-wrap: balance;
}
.page-hero__lead { color: var(--muted); font-size: clamp(1.05rem, 1rem + 0.35vw, 1.22rem); max-width: 54ch; }
.page-hero__copy .actions { margin-top: 6px; }

.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--dim);
}
.crumbs a { transition: color 0.2s; }
.crumbs a:hover { color: var(--text); }
.crumbs .i { width: 14px; height: 14px; }
.crumbs [aria-current] { color: var(--muted); }

@media (max-width: 960px) {
  .page-hero__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   8. Serviços
   ========================================================================== */
.toc { justify-self: end; width: min(100%, 420px); padding: 10px; border-radius: 24px; }
.toc__title {
  padding: 12px 14px 10px;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim);
}
.toc__list a {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px; border-radius: 14px;
  font-weight: 500; transition: background-color 0.2s, color 0.2s;
}
.toc__list a span { font-family: var(--f-mono); font-size: 0.78rem; color: var(--cyan-2); }
.toc__list a .i { width: 16px; height: 16px; margin-left: auto; color: var(--dim); transition: transform 0.3s var(--ease), color 0.2s; }
.toc__list a:hover { background: rgba(255, 255, 255, 0.04); }
.toc__list a:hover .i { color: var(--cyan-2); transform: translateY(2px); }

@media (max-width: 960px) {
  .toc { justify-self: stretch; width: 100%; }
  .toc__list { display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .toc__list { grid-template-columns: 1fr; }
}

/* ---------- Abas ---------- */
.tabs {
  position: relative;
  display: flex; gap: 4px; width: max-content; max-width: 100%;
  margin: 0 auto clamp(40px, 5vw, 64px); padding: 5px;
  border-radius: 999px; border: 1px solid var(--line-2); background: rgba(7, 12, 26, 0.75);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  position: relative; z-index: 1;
  display: flex; align-items: baseline; gap: 8px; flex: none;
  min-height: 46px; padding: 12px 20px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; font-size: 0.96rem; color: var(--muted);
  transition: color 0.3s;
}
.tab small { font-family: var(--f-mono); font-weight: 500; font-size: 0.72rem; opacity: 0.75; }
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { color: var(--ink); }
.tabs__ink {
  position: absolute; left: 0; top: 5px; bottom: 5px; width: 0; border-radius: 999px;
  background: linear-gradient(180deg, #6aeaf8, var(--cyan));
  box-shadow: 0 8px 24px -10px rgba(35, 208, 230, 0.8);
  transition: transform 0.5s var(--ease), width 0.5s var(--ease);
}
html:not(.js) .tabs__ink { display: none; }

.panel { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.js .panel[hidden] { display: none; }
/* sem JavaScript as abas não funcionam, então todos os capítulos ficam visíveis */
html:not(.js) .panel[hidden] { display: grid; margin-top: 96px; }
.panel.is-entering .panel__copy { animation: panelIn 0.7s var(--ease) both; }
.panel.is-entering .panel__visual { animation: panelIn 0.7s 0.08s var(--ease) both; }
.panel__copy { display: grid; gap: 20px; justify-items: start; }
.panel__title { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.025em; font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.2rem); line-height: 1; }
.panel__lead { font-size: 1.16rem; max-width: 30em; color: var(--muted); }
.panel__lead em { color: var(--text); }
.panel__copy .checks { margin: 4px 0 6px; }
.panel__visual { min-width: 0; }
.tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan-2); background: rgba(35, 208, 230, 0.07); border: 1px solid rgba(35, 208, 230, 0.25);
}

@media (max-width: 960px) {
  .panel { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .tabs { width: auto; margin-inline: 0; }
  .tab { padding: 10px 16px; }
  .tab small { display: none; }
}
@media (max-width: 640px) {
  .panel__copy > .btn { width: 100%; }
}

[data-tilt] { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }

/* ---------- Player de vídeo ---------- */
.player {
  padding: 14px; border-radius: 22px;
  background: linear-gradient(180deg, #0c111f, #070a14);
  border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95), 0 0 0 6px rgba(255, 255, 255, 0.015);
  transition: transform 0.4s var(--ease);
}
.player__top {
  display: flex; align-items: center; gap: 10px; min-width: 0; padding: 2px 4px 12px;
  font-family: var(--f-mono); font-size: 0.78rem;
}
.player__top > span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rec { flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.player.is-playing .rec { animation: pulse 1.4s infinite; }
.player__meta { flex: none; margin-left: auto; font-size: 0.7rem; color: var(--dim); }

.player__screen { position: relative; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: #04060c; }
.scene {
  position: absolute; inset: 0;
  background:
    radial-gradient(110% 60% at 50% 100%, rgba(40, 90, 190, 0.35), transparent 60%),
    radial-gradient(40% 50% at 70% 75%, rgba(255, 120, 50, 0.2), transparent 70%),
    linear-gradient(180deg, #03050b 0%, #070b16 70%, #0b1222 100%);
  transition: transform 8s linear;
}
.player.is-playing .scene { transform: scale(1.1); }
.beam {
  position: absolute; left: var(--x); top: 7%;
  width: 3px; height: var(--h, 64%); border-radius: 3px;
  background: linear-gradient(180deg, transparent, var(--c, #dcf4ff) 12%, var(--c, #dcf4ff) 88%, transparent);
  box-shadow: 0 0 8px var(--g, #7fd3ff), 0 0 24px var(--g, #7fd3ff), 0 0 60px var(--g, #3a9cff);
  opacity: 0.85;
}
.beam.warm { --c: #ffe2c6; --g: #ff8a3d; }
.player.is-playing .beam { animation: flicker 2.6s var(--delay, 0s) infinite; }
.fog {
  position: absolute; left: -10%; right: -10%; bottom: 8%; height: 45%;
  background:
    radial-gradient(50% 100% at 25% 100%, rgba(170, 200, 255, 0.2), transparent 70%),
    radial-gradient(45% 100% at 78% 100%, rgba(255, 140, 80, 0.16), transparent 70%);
  filter: blur(6px);
}
.player.is-playing .fog { animation: drift 7s ease-in-out infinite alternate; }
.figure {
  position: absolute; left: 47%; bottom: 17%;
  width: 5.5%; height: 30%;
  background: #010206; border-radius: 42% 42% 8% 8% / 24% 24% 4% 4%;
}
.figure::before {
  content: ""; position: absolute; left: 50%; top: -22%;
  width: 64%; aspect-ratio: 1; border-radius: 50%; background: #010206;
  transform: translateX(-50%);
}
.floor {
  position: absolute; inset: auto 0 0; height: 18%;
  background:
    linear-gradient(180deg, rgba(120, 180, 255, 0.14), transparent),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 44px);
}
.player__caption {
  position: absolute; left: 0; right: 0; bottom: 8%;
  font-family: var(--f-display); font-weight: 700; letter-spacing: 0.04em;
  font-size: clamp(0.85rem, 2vw, 1.1rem); text-align: center; color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.9);
  opacity: 0; transform: translateY(8px); transition: opacity 0.6s, transform 0.6s var(--ease);
}
.player.is-playing .player__caption { opacity: 1; transform: none; transition-delay: 0.6s; }
.player__big {
  position: absolute; left: 50%; top: 50%;
  width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  transition: transform 0.3s var(--ease), opacity 0.3s, background-color 0.3s;
}
.player__big:hover { transform: scale(1.08); background: rgba(35, 208, 230, 0.2); }
.player__big .i { width: 28px; height: 28px; }
.player__big .ic-pause, .player.is-playing .player__big .ic-play { display: none; }
.player.is-playing .player__big .ic-pause { display: block; }
.player.is-playing .player__big { opacity: 0; }
.player.is-playing .player__screen:hover .player__big,
.player.is-playing .player__big:focus-visible { opacity: 1; }

.player__controls {
  display: flex; align-items: center; gap: 12px; padding: 12px 4px 10px;
  font-family: var(--f-mono); font-size: 0.74rem; color: var(--muted);
}
.player__bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.player__bar span { display: block; height: 100%; width: 0; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }
.tc { color: var(--cyan); }
.tc + .player__bar + .tc { color: var(--dim); }

.player__timeline { position: relative; display: grid; gap: 8px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); cursor: pointer; }
.clips { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.clips i { aspect-ratio: 16 / 9; border-radius: 6px; border: 1px solid rgba(255, 255, 255, 0.06); }
.clips i:nth-child(1) { background: radial-gradient(circle at 30% 30%, #7cc4ff 0 2px, transparent 3px) 0 0 / 14px 12px, linear-gradient(160deg, #0c2a6e, #1c5fd0 60%, #0a1330); }
.clips i:nth-child(2) { background: radial-gradient(circle, #0a0a0a 0 22%, #4a4f5c 23% 28%, #15161a 29% 58%, #050505 59%); }
.clips i:nth-child(3) { background: radial-gradient(circle at 50% 80%, rgba(255, 190, 90, 0.55), transparent 50%), linear-gradient(180deg, #060a16 50%, #2a1d0c); }
.clips i:nth-child(4) { background: linear-gradient(120deg, #d6dfef 0%, #7181a3 40%, #1b2338 100%); }
.clips i:nth-child(5) { background: radial-gradient(circle at 62% 40%, rgba(255, 138, 61, 0.6), transparent 45%), linear-gradient(135deg, #0f2b6b, #1a0d0a); border-color: var(--cyan); }
.wave { display: flex; align-items: center; gap: 2px; height: 34px; }
.wave i { flex: 1; height: var(--h); min-height: 2px; border-radius: 2px; background: rgba(35, 208, 230, 0.3); transition: background-color 0.2s; }
.wave i.is-played { background: var(--cyan); }
.playhead {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 2px; margin-left: 10px;
  background: #fff; box-shadow: 0 0 8px #fff; pointer-events: none;
}
.playhead::before {
  content: ""; position: absolute; top: -4px; left: -4px; width: 10px; height: 10px;
  background: #fff; clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* ---------- Brand board (design) ---------- */
.brandboard {
  --accent: #23D0E6;
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "logo logo pal pal"
    "logo logo type type"
    "post post card card";
  gap: 12px; padding: 14px; border-radius: 22px;
  background: #070c1a; border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95);
  transition: transform 0.4s var(--ease);
}
.bb {
  position: relative; min-width: 0; overflow: hidden;
  padding: 16px; border-radius: 14px;
  background: #0b1430; border: 1px solid var(--line);
}
.bb small { display: block; font-size: 0.7rem; color: var(--dim); letter-spacing: 0.02em; }
.bb--logo {
  grid-area: logo;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center;
  background: radial-gradient(circle at 50% 38%, rgba(35, 208, 230, 0.18), transparent 62%), #0b1430;
  background: radial-gradient(circle at 50% 38%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 62%), #0b1430;
}
.bb__mark {
  display: grid; place-items: center;
  width: 86px; height: 86px; border-radius: 24px;
  font-family: var(--f-display); font-weight: 800; font-size: 2.9rem; color: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 0 26px rgba(35, 208, 230, 0.3), inset 0 0 20px rgba(35, 208, 230, 0.12);
  box-shadow: 0 0 26px color-mix(in srgb, var(--accent) 35%, transparent), inset 0 0 20px color-mix(in srgb, var(--accent) 15%, transparent);
  transition: color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.bb--logo b { font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: 0.02em; }
.bb--logo b span { color: var(--accent); transition: color 0.4s; }
.bb--pal { grid-area: pal; }
.swatches { display: flex; gap: 8px; margin-top: 12px; }
.swatch {
  flex: 1; aspect-ratio: 1 / 1.15; border-radius: 10px;
  background: var(--c); border: 2px solid transparent;
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.swatch:hover { transform: translateY(-4px); }
.swatch[aria-pressed="true"] { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12); }
.bb--type { grid-area: type; display: flex; align-items: center; gap: 16px; }
.bb__aa { font-family: var(--f-display); font-weight: 800; font-size: 3.1rem; line-height: 1; color: var(--accent); transition: color 0.4s; }
.bb--type b { display: block; font-size: 0.9rem; line-height: 1.2; }
.bb--type .f-display { font-family: var(--f-display); font-weight: 800; }
.bb--type small { margin-bottom: 4px; }
.bb--post {
  grid-area: post; min-height: 158px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: linear-gradient(150deg, #10225c, #060b1a);
}
.bb--post::after {
  content: ""; position: absolute; right: -36px; bottom: -36px;
  width: 140px; height: 140px; border-radius: 50%;
  background: var(--accent); transition: background-color 0.4s;
}
.bb--post strong {
  position: relative; z-index: 1;
  font-family: var(--f-display); font-weight: 800; font-size: 1.7rem; line-height: 0.95; text-transform: uppercase;
}
.bb__cta { position: relative; z-index: 1; font-size: 0.75rem; color: var(--accent); transition: color 0.4s; }
.bb--card {
  grid-area: card; display: grid; place-items: center;
  background: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.018) 0 10px, transparent 10px 20px), #0b1430;
}
.bcard {
  position: relative; overflow: hidden;
  width: 92%; aspect-ratio: 1.75;
  display: flex; align-items: center; gap: 12px; padding: 14px;
  border-radius: 10px; border: 1px solid var(--line-2);
  background: linear-gradient(140deg, #13245c, #08112b);
  box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.8);
  transform: rotate(-6deg);
}
.bcard::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--accent); transition: background-color 0.4s; }
.bb__mark--sm { width: 40px; height: 40px; font-size: 1.3rem; border-radius: 11px; flex: none; }
.bcard b { display: block; font-size: 0.85rem; }
.bcard small { font-size: 0.6rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bcard div { min-width: 0; }

@media (max-width: 520px) {
  .brandboard {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "logo pal" "logo type" "post card";
    gap: 8px; padding: 10px;
  }
  .bb { padding: 12px; }
  .bb__mark { width: 60px; height: 60px; font-size: 2rem; border-radius: 16px; }
  .bb--logo b { font-size: 1.05rem; }
  .swatches { gap: 5px; }
  .bb--type { flex-direction: column; align-items: flex-start; gap: 6px; }
  .bb__aa { font-size: 2.2rem; }
  .bb--post strong { font-size: 1.25rem; }
  .bcard { padding: 10px; gap: 8px; }
  .bb__mark--sm { width: 30px; height: 30px; font-size: 1rem; }
  .bcard b { font-size: 0.7rem; }
}

/* ---------- Demo de site ---------- */
.webdemo { display: grid; gap: 18px; justify-items: center; }
.device-toggle, .seg {
  display: inline-flex; padding: 4px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(8, 14, 34, 0.85);
}
.device-toggle button, .seg button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  font-size: 0.86rem; color: var(--muted);
  transition: background-color 0.25s, color 0.25s;
}
.device-toggle button .i { width: 17px; height: 17px; }
.device-toggle button:hover, .seg button:hover { color: var(--text); }
.device-toggle button[aria-pressed="true"],
.seg button[aria-pressed="true"] { background: var(--cyan); color: var(--ink); font-weight: 600; }

.browser {
  width: 100%; overflow: hidden; border-radius: 14px;
  background: #05080f; border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95);
  transition: width 0.7s var(--ease), border-radius 0.7s var(--ease);
}
.browser[data-view="tablet"] { width: 68%; min-width: 300px; }
.browser[data-view="mobile"] { width: 42%; min-width: 230px; border-radius: 22px; }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px; background: #0b1020; border-bottom: 1px solid var(--line); }
.browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; flex: none; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__url {
  flex: 1; min-width: 0; margin-left: 8px; height: 26px; border-radius: 7px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: #05080f; font-family: var(--f-mono); font-size: 0.72rem; color: var(--dim);
  white-space: nowrap; overflow: hidden;
}
.browser__url .i { width: 12px; height: 12px; color: var(--ok); }

.site {
  container-type: inline-size;
  background: radial-gradient(80% 80% at 90% 10%, rgba(22, 56, 176, 0.35), transparent 60%), #050a18;
  color: #fff;
}
.site__nav { display: flex; align-items: center; gap: 16px; padding: 12px 18px; border-bottom: 1px solid rgba(255, 255, 255, 0.05); font-size: 11px; }
.site__nav b { font-family: var(--f-display); font-weight: 900; font-size: 12px; letter-spacing: 0.05em; }
.site__nav b span { color: var(--cyan); }
.site__links { display: flex; gap: 14px; margin-left: auto; color: var(--muted); }
.site__nav em { font-style: normal; font-weight: 600; padding: 5px 10px; border-radius: 6px; background: var(--cyan); color: var(--ink); }
.site__burger { display: none; margin-left: auto; width: 16px; height: 2px; background: #fff; box-shadow: 0 5px 0 #fff, 0 -5px 0 #fff; }
.site__hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 14px; align-items: center; padding: 28px 18px 22px; }
.site__hero h4 {
  font-family: var(--f-display); font-weight: 900; text-transform: uppercase; line-height: 0.92;
  font-size: clamp(18px, 6.2cqi, 44px); margin-bottom: 10px;
}
.site__hero h4 span { display: block; color: var(--cyan); }
.site__hero p { font-size: clamp(10px, 2cqi, 13px); color: var(--muted); margin-bottom: 14px; max-width: 32ch; line-height: 1.5; }
.site__btn { display: inline-block; padding: 8px 12px; border-radius: 6px; background: var(--cyan); color: var(--ink); font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.site__art {
  align-self: stretch; min-height: 150px; border-radius: 8px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 196, 120, 0.6) 0 7px, transparent 7px 15px) 0 100% / 100% 22% no-repeat,
    repeating-linear-gradient(180deg, transparent 0 18px, rgba(111, 240, 253, 0.12) 18px 19px),
    linear-gradient(160deg, #2147c0, #0a1640 70%);
  clip-path: polygon(34% 0, 100% 16%, 100% 100%, 0 100%, 0 38%);
}
.site__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.06); }
.site__features div { background: #071030; padding: 12px 14px; }
.site__features b { display: block; font-family: var(--f-display); font-size: 11px; color: var(--cyan); text-transform: uppercase; letter-spacing: 0.06em; }
.site__features small { font-size: 10px; color: var(--muted); }

@container (max-width: 440px) {
  .site__links, .site__nav em { display: none; }
  .site__burger { display: block; }
  .site__hero { grid-template-columns: 1fr; }
  .site__art { min-height: 84px; order: -1; }
  .site__features { grid-template-columns: 1fr; }
}

/* ---------- Social media ---------- */
.mkt { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: center; }
.mkt .phone__screen::before { content: ""; display: block; width: 72px; height: 18px; margin: -4px auto 14px; border-radius: 10px; background: #000; }
.ig__head { display: flex; align-items: center; gap: 10px; }
.ig__avatar {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  background:
    radial-gradient(circle, #0e1b44 0 55%, transparent 57%),
    conic-gradient(from 200deg, var(--cyan), var(--royal-2), var(--cyan-2), var(--cyan));
}
.ig__head b { display: block; font-size: 0.86rem; }
.ig__head small { display: block; font-size: 0.66rem; color: var(--muted); line-height: 1.3; }
.ig__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin: 12px 0; }
.ig__actions span { padding: 6px; border-radius: 7px; text-align: center; font-size: 0.7rem; font-weight: 600; background: #141c33; }
.ig__actions span:first-child { background: var(--cyan); color: var(--ink); }
.ig__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.ig__grid i { position: relative; aspect-ratio: 1; border-radius: 3px; background: #0d1428; transition: background 0.5s, transform 0.5s var(--ease); }
.ig__grid i.is-on { animation: pop 0.5s var(--ease); }
.ig__grid i.is-on:nth-child(1) { background: linear-gradient(135deg, #23d0e6, #1f4ae0); }
.ig__grid i.is-on:nth-child(2) { background: radial-gradient(circle at 30% 70%, #ffcf7a 0 18%, transparent 19%), #10225c; }
.ig__grid i.is-on:nth-child(3) { background: linear-gradient(180deg, #0a1640, #23d0e6); }
.ig__grid i.is-on:nth-child(4) { background: repeating-linear-gradient(45deg, #1f4ae0 0 6px, #16339f 6px 12px); }
.ig__grid i.is-on:nth-child(5) { background: radial-gradient(circle, #6ff0fd 0 20%, #0e1b44 21%); }
.ig__grid i.is-on:nth-child(6) { background: linear-gradient(135deg, #f4f1ea, #97a6c4); }
.ig__grid i.is-on:nth-child(7) { background: linear-gradient(45deg, #0e1b44 50%, #23d0e6 50%); }
.ig__grid i.is-on:nth-child(8) { background: radial-gradient(circle at 70% 30%, #ff8a3d 0 22%, transparent 23%), #0a1330; }
.ig__grid i.is-on:nth-child(9) { background: linear-gradient(160deg, #1f4ae0, #060b1a); }
.ig__grid i.is-reel::after {
  content: ""; position: absolute; top: 5px; right: 5px; width: 0; height: 0;
  border-left: 6px solid #fff; border-top: 4px solid transparent; border-bottom: 4px solid transparent;
}

.mkt__side { display: grid; gap: 14px; min-width: 0; }
.mini-card { padding: 16px; border-radius: 16px; background: #080e1f; border: 1px solid var(--line-2); }
.mini-card header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.mini-card header b { font-family: var(--f-display); font-weight: 700; font-size: 0.95rem; }
.mini-card header small { font-family: var(--f-mono); font-size: 0.68rem; color: var(--dim); white-space: nowrap; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal span {
  display: grid; place-items: center; aspect-ratio: 1; border-radius: 5px;
  background: #0d1428; border: 1px solid rgba(255, 255, 255, 0.03);
  font-family: var(--f-mono); font-size: 0.56rem; color: var(--dim);
  transition: background-color 0.35s, color 0.35s, transform 0.35s var(--ease);
}
.cal span.reels { background: var(--cyan); color: var(--ink); }
.cal span.post { background: var(--royal-2); color: #fff; }
.cal span.story { background: #34446f; color: var(--text); }
.cal span.pop { transform: scale(1.18); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 12px 0 14px; font-size: 0.74rem; color: var(--muted); }
.cal__legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 2px; background: var(--c); }
.spark svg { width: 100%; height: auto; overflow: visible; }
.spark__area { fill: url(#sparkFill); opacity: 0; transition: opacity 1s 0.8s; }
.spark__line { fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; filter: drop-shadow(0 0 4px var(--cyan)); }
.panel.is-entering .spark__line { animation: draw 1.6s 0.3s var(--ease) forwards; }
.panel.is-entering .spark__area { opacity: 1; }

@media (max-width: 560px) {
  .mkt { grid-template-columns: 1fr; justify-items: center; }
  .mkt__side { width: 100%; }
  .device-toggle button { padding: 8px 12px; gap: 6px; font-size: 0.8rem; }
}

/* ---------- Marketing digital: busca local ---------- */
.local {
  --row: 78px;
  width: 100%; padding: 16px; border-radius: 22px;
  background: #070c1a; border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95);
}
.local__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.local__search {
  flex: 1 1 200px; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border-radius: 999px; background: #0d1530; border: 1px solid var(--line-2);
  font-size: 0.92rem; color: var(--text);
}
.local__search .i { width: 18px; height: 18px; color: var(--muted); }
.local__map {
  position: relative; height: 112px; margin-bottom: 12px; border-radius: 14px; overflow: hidden;
  background:
    radial-gradient(circle at 60% 48%, rgba(35, 208, 230, 0.1), transparent 40%),
    repeating-linear-gradient(0deg, rgba(120, 155, 255, 0.05) 0 1px, transparent 1px 22px),
    repeating-linear-gradient(90deg, rgba(120, 155, 255, 0.05) 0 1px, transparent 1px 22px),
    #0a1228;
}
.local__road { position: absolute; border-radius: 4px; background: rgba(150, 175, 230, 0.16); }
.local__road--a { left: -5%; right: -5%; top: 55%; height: 8px; transform: rotate(-6deg); }
.local__road--b { top: -10%; bottom: -10%; left: 38%; width: 7px; transform: rotate(12deg); }
.local__road--c { top: -10%; bottom: -10%; left: 78%; width: 5px; transform: rotate(-18deg); }
.local__pin {
  position: absolute; left: var(--x); top: var(--y);
  width: 14px; height: 14px; margin: -14px 0 0 -7px;
  border-radius: 50% 50% 50% 0; background: #56607e; transform: rotate(-45deg);
}
.local__pin--me { background: #6b7590; transition: background-color 0.5s, box-shadow 0.5s, transform 0.5s var(--ease); }
.local[data-mode="on"] .local__pin--me {
  background: var(--cyan); transform: rotate(-45deg) scale(1.4);
  box-shadow: 0 0 0 6px rgba(35, 208, 230, 0.18), 0 0 20px var(--cyan);
}
.local__list { position: relative; height: calc(var(--row) * 4); }
.lr {
  position: absolute; left: 0; right: 0; top: 0; height: calc(var(--row) - 8px);
  display: flex; align-items: center; gap: 12px; padding: 0 14px;
  border-radius: 12px; border: 1px solid var(--line); background: #0b1328;
  transform: translateY(calc(var(--rank, 0) * var(--row)));
  transition: transform 0.8s var(--ease), border-color 0.5s, background-color 0.5s, box-shadow 0.5s, opacity 0.5s;
}
.lr__main { flex: 1; min-width: 0; display: grid; }
.lr__main b {
  display: flex; align-items: center; gap: 8px; overflow: hidden; white-space: nowrap;
  font-family: var(--f-display); font-weight: 700; font-size: 0.98rem; line-height: 1.3;
}
.lr__rating { font-size: 0.78rem; color: var(--muted); }
.lr__stars { color: #ffc24a; letter-spacing: 1px; }
.lr__meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.76rem; color: var(--dim); }
.lr__actions { display: flex; gap: 6px; }
.lr__actions span {
  padding: 5px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 600;
  color: var(--cyan-2); border: 1px solid rgba(35, 208, 230, 0.35);
}
.lr__badge {
  padding: 2px 7px; border-radius: 6px; font-family: var(--f-body); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; background: var(--cyan); color: var(--ink);
}
.local[data-mode="off"] .lr--me { opacity: 0.62; }
.local[data-mode="off"] .lr--me .lr__rating,
.local[data-mode="off"] .lr--me .lr__meta:not(.lr__meta--off),
.local[data-mode="off"] .lr--me .lr__actions,
.local[data-mode="off"] .lr--me .lr__badge { display: none; }
.local[data-mode="on"] .lr__meta--off { display: none; }
.local[data-mode="on"] .lr--me {
  border-color: var(--cyan);
  background: linear-gradient(90deg, rgba(35, 208, 230, 0.14), rgba(11, 19, 40, 0.92));
  box-shadow: 0 0 0 1px rgba(35, 208, 230, 0.25), 0 16px 30px -14px rgba(35, 208, 230, 0.45);
}
.local[data-mode="on"] .lr--me .lr__main > *,
.local[data-mode="on"] .lr--me .lr__actions { animation: panelIn 0.5s 0.3s var(--ease) both; }
.local__caption { margin-top: 10px; text-align: center; font-size: 0.78rem; color: var(--dim); }

@media (max-width: 560px) {
  .local { --row: 72px; padding: 12px; }
  .lr__actions { display: none !important; }
  .seg { width: 100%; }
  .seg button { flex: 1; }
}

/* ---------- Catálogo ---------- */
.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cat { padding: 26px 24px 28px; transition: border-color 0.3s; }
.cat:hover { border-color: rgba(35, 208, 230, 0.32); }
.cat__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.cat__head h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.22rem; line-height: 1.15; }
.cat__head small { font-family: var(--f-mono); font-size: 0.72rem; color: var(--dim); }
.cat__list { gap: 10px; }
.cat__list li { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.cat__list li::before { width: 18px; height: 18px; top: 0.1em; border-radius: 5px; background-size: 11px; }

@media (max-width: 1080px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .catalog { grid-template-columns: 1fr; } }

/* ---------- Planos ---------- */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.plan { display: flex; flex-direction: column; padding: 32px 28px 28px; border-color: var(--line-2); }
.plan--featured {
  border-color: rgba(35, 208, 230, 0.6);
  background: linear-gradient(180deg, rgba(35, 208, 230, 0.12), rgba(10, 18, 42, 0.75) 45%);
  box-shadow: 0 0 0 1px rgba(35, 208, 230, 0.15), 0 40px 80px -40px rgba(35, 208, 230, 0.45);
}
.plan__badge {
  position: absolute; top: -13px; right: 24px;
  padding: 4px 12px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink); background: linear-gradient(180deg, #6aeaf8, var(--cyan));
}
.plan__kicker { font-family: var(--f-mono); font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-2); }
.plan__name { margin: 10px 0 12px; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1; letter-spacing: -0.015em; }
.plan__name span { color: var(--cyan); }
.plan__desc { color: var(--muted); font-size: 0.96rem; }
.plan__list { gap: 10px; margin: 22px 0 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.plan__list li { color: var(--text); font-size: 0.97rem; }
.plan__list li::before { width: 18px; height: 18px; top: 0.15em; border-radius: 5px; background-size: 11px; }
.plan .btn { margin-top: auto; width: 100%; }
.plans__note { margin-top: 28px; text-align: center; color: var(--muted); }

@media (max-width: 960px) {
  .plans { grid-template-columns: 1fr; max-width: 540px; margin-inline: auto; }
}

/* ---------- Para quem ---------- */
.segments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.seg-card { display: flex; align-items: flex-start; gap: 16px; padding: 24px 22px 26px; }
.seg-card h3 { margin-bottom: 6px; font-family: var(--f-display); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.seg-card p { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.seg-card:hover .icon-box { background: var(--cyan); color: var(--ink); }
.segments__note { margin-top: 26px; color: var(--muted); }

@media (max-width: 1080px) { .segments { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .segments { grid-template-columns: 1fr; } }

/* ==========================================================================
   9. Portfólio
   ========================================================================== */
.prints { position: relative; height: clamp(300px, 32vw, 420px); }
.print {
  position: absolute; margin: 0; overflow: hidden;
  border-radius: 14px; border: 1px solid var(--line-2); background: #060b1a;
  box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.95);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.5s var(--ease), border-color 0.3s;
}
.print img { width: 100%; height: auto; }
.print--a { left: 0; top: 4%; z-index: 2; width: 62%; }
.print--b { right: 0; top: 0; width: 56%; }
.print--c { right: 8%; bottom: 0; z-index: 3; width: 60%; }
.print:hover { z-index: 4; border-color: rgba(35, 208, 230, 0.5); transform: rotate(0deg) translateY(-6px) scale(1.02); }

.pf-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: rgba(10, 19, 48, 0.55);
  color: var(--muted); font-weight: 500; font-size: 0.95rem;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.filter small { font-family: var(--f-mono); font-size: 0.72rem; padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); }
.filter:hover { border-color: rgba(35, 208, 230, 0.5); color: var(--text); }
.filter[aria-pressed="true"] { background: var(--cyan); border-color: var(--cyan); color: var(--ink); font-weight: 600; }
.filter[aria-pressed="true"] small { background: rgba(3, 16, 24, 0.14); }
.pf-bar__hint { display: inline-flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--dim); }
.pf-bar__hint .i { width: 16px; height: 16px; }

.projects { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.project { display: flex; flex-direction: column; overflow: hidden; transition: border-color 0.3s; }
.project:hover { border-color: rgba(35, 208, 230, 0.35); }
.project[hidden] { display: none; }
.project--wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: center; }
.project--wide .project__cover { aspect-ratio: 16 / 9; }
.project__cover {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; cursor: zoom-in;
  background:
    radial-gradient(70% 70% at 50% 42%, rgba(31, 74, 224, 0.3), transparent 70%),
    repeating-linear-gradient(0deg, rgba(120, 155, 255, 0.05) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(120, 155, 255, 0.05) 0 1px, transparent 1px 32px),
    #060b1a;
}
.stack__img {
  position: absolute; left: 50%; top: 50%; width: 70%; height: auto;
  border-radius: 8px; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, 0.9);
  transform: translate(-50%, -50%) translate(var(--tx, 0%), var(--ty, 0%)) rotate(var(--r, 0deg));
  transition: transform 0.6s var(--ease);
}
.stack__img--1 { z-index: 3; }
.stack__img--2 { z-index: 2; --r: -5deg; --tx: -9%; --ty: -6%; opacity: 0.92; }
.stack__img--3 { z-index: 1; --r: 6deg; --tx: 10%; --ty: -9%; opacity: 0.78; }
.project__cover:hover .stack__img--1,
.project__cover:focus-visible .stack__img--1 { --ty: 3%; }
.project__cover:hover .stack__img--2 { --r: -9deg; --tx: -17%; --ty: -9%; }
.project__cover:hover .stack__img--3 { --r: 10deg; --tx: 18%; --ty: -12%; }

.stack--single .stack__img--1 { width: 80%; }
.stack--single:hover .stack__img--1 { --ty: -3%; --r: -1.5deg; }

.stack--site .stack__img--1 { width: 72%; --tx: -9%; }
.stack--site .stack__img--2 { z-index: 4; width: 19%; --tx: 175%; --ty: 14%; --r: 4deg; opacity: 1; border-radius: 12px; border: 3px solid #1c2333; }
.stack--site:hover .stack__img--1 { --tx: -12%; --ty: 0%; }
.stack--site:hover .stack__img--2 { --tx: 170%; --ty: 8%; --r: 0deg; }

.stack__count {
  position: absolute; right: 14px; bottom: 14px; z-index: 5;
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  font-family: var(--f-mono); font-size: 0.72rem; color: var(--text);
  background: rgba(3, 6, 14, 0.82); border: 1px solid var(--line-2);
}
.stack__count .i { width: 14px; height: 14px; color: var(--cyan); }

.project__body { display: grid; gap: 8px; padding: 24px 26px 28px; }
.project__meta { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-2); }
.project__title { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; line-height: 1.15; }
.project__text { color: var(--muted); font-size: 0.96rem; }

.pf-note {
  display: flex; align-items: flex-start; justify-content: center; gap: 10px;
  max-width: 760px; margin: 36px auto 0; font-size: 0.92rem; color: var(--muted);
}
.pf-note .i { width: 18px; height: 18px; margin-top: 2px; color: var(--cyan); }

/* Visualizador */
.lightbox {
  width: min(1120px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px);
  padding: 0; overflow: hidden;
  border: 1px solid var(--line-2); border-radius: 22px;
  background: #050a18; color: var(--text);
  box-shadow: 0 50px 120px -30px rgba(0, 0, 0, 0.95);
}
.lightbox::backdrop { background: rgba(2, 4, 10, 0.84); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox[open] { display: flex; flex-direction: column; animation: panelIn 0.35s var(--ease); }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 16px 14px 22px; border-bottom: 1px solid var(--line); }
.lightbox__title { font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.lightbox__meta { font-size: 0.82rem; color: var(--dim); }
.lightbox__close {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid var(--line-2); color: var(--muted); transition: color 0.2s, border-color 0.2s;
}
.lightbox__close:hover { color: var(--cyan-2); border-color: var(--cyan); }
.lightbox__stage {
  position: relative; flex: 1; min-height: 0;
  display: grid; place-items: center; padding: 18px 72px;
  background: radial-gradient(60% 60% at 50% 50%, rgba(31, 74, 224, 0.16), transparent 70%);
  touch-action: pan-y;
}
.lightbox__figure { display: grid; place-items: center; width: 100%; height: 100%; min-height: 0; }
.lightbox__figure img {
  width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 236px);
  border-radius: 8px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9);
  transition: opacity 0.25s, transform 0.35s var(--ease);
}
.lightbox__figure img.is-swapping { opacity: 0; transform: scale(0.98); }
.lightbox__nav {
  position: absolute; top: 50%; z-index: 2;
  display: grid; place-items: center; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%;
  background: rgba(10, 19, 48, 0.88); border: 1px solid var(--line-2); color: var(--text);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.lightbox__nav:hover { background: var(--cyan); border-color: var(--cyan); color: var(--ink); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }
.lightbox__nav[hidden] { display: none; }
.lightbox__caption { padding: 2px 22px 0; text-align: center; font-size: 0.9rem; color: var(--muted); }
.lightbox__dots { display: flex; justify-content: center; gap: 2px; padding: 8px 0 12px; }
.lightbox__dots button { display: grid; place-items: center; width: 28px; height: 28px; }
.lightbox__dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.22); transition: background-color 0.2s, transform 0.2s; }
.lightbox__dots button[aria-current="true"]::before { background: var(--cyan); transform: scale(1.3); box-shadow: 0 0 10px var(--cyan); }

@media (max-width: 960px) {
  .prints { height: clamp(240px, 60vw, 400px); }
  .project--wide { display: flex; }
}
@media (max-width: 760px) {
  .projects { grid-template-columns: 1fr; }
  .lightbox__stage { padding: 12px 10px; }
  .lightbox__nav { width: 40px; height: 40px; margin-top: -20px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .lightbox__figure img { max-height: calc(100dvh - 220px); }
}

/* ==========================================================================
   10. Sobre nós
   ========================================================================== */
.dict { justify-self: end; width: min(100%, 440px); padding: clamp(28px, 4vw, 40px); border-radius: 28px; overflow: hidden; }
.dict::before {
  content: ""; position: absolute; right: -30%; top: -40%; width: 90%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(35, 208, 230, 0.22), transparent);
  pointer-events: none;
}
.dict__word { font-family: var(--f-display); font-weight: 700; font-size: clamp(3.2rem, 2rem + 4vw, 4.8rem); line-height: 1; letter-spacing: -0.03em; }
.dict__word span { color: var(--cyan); }
.dict__meta { margin: 10px 0 22px; font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.06em; color: var(--dim); }
.dict__def { display: flex; gap: 12px; color: var(--muted); }
.dict__def + .dict__def { margin-top: 8px; }
.dict__def b { font-family: var(--f-mono); font-weight: 500; color: var(--cyan-2); }
.dict__foot {
  margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line);
  font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan-2);
}

.essence { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 80px); align-items: center; }

.code {
  position: relative; overflow: hidden;
  border-radius: 20px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, #0a1124, #060b18);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95);
  transition: box-shadow 0.4s;
}
.code::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 30%, rgba(111, 240, 253, 0.18) 50%, transparent 70%);
  transform: translateX(-100%);
}
.code.is-lit::after { animation: sweepX 1.1s var(--ease); }
.code.is-lit { box-shadow: 0 0 0 1px rgba(35, 208, 230, 0.45), 0 0 60px rgba(35, 208, 230, 0.25), 0 50px 90px -40px rgba(0, 0, 0, 0.95); }
.code__bar { display: flex; align-items: center; gap: 7px; padding: 10px 12px 10px 14px; background: #0b1020; border-bottom: 1px solid var(--line); }
.code__bar i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.code__bar i:nth-child(2) { background: #febc2e; }
.code__bar i:nth-child(3) { background: #28c840; }
.code__file { margin-left: 10px; font-family: var(--f-mono); font-size: 0.78rem; color: var(--dim); }
.code__run {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  min-height: 36px; padding: 0 14px; border-radius: 999px;
  font-weight: 600; font-size: 0.82rem;
  color: var(--ink); background: var(--cyan); transition: background-color 0.2s, box-shadow 0.2s;
}
.code__run:hover { background: var(--cyan-2); box-shadow: 0 0 20px rgba(35, 208, 230, 0.5); }
.code__run .i { width: 14px; height: 14px; }
.code__body {
  margin: 0; padding: 22px 22px 18px; overflow-x: auto;
  font-family: var(--f-mono); font-size: clamp(0.78rem, 0.45rem + 1.1vw, 0.96rem); line-height: 1.75; color: #c9d6f2;
}
/* em grid, as quebras de linha entre os <span> não viram linhas em branco */
.code__body code { display: grid; font-family: inherit; }
.code__line { display: block; white-space: pre; }
.tk-k { color: #c792ea; }
.tk-v { color: var(--cyan-2); }
.tk-s { color: #ffcf7a; }
.tk-f { color: #82aaff; }
/* digitação linha a linha (só com JS) */
.js .code:not(.is-typed) .code__line { width: 0; overflow: hidden; }
.js .code.is-typing .code__line { animation: type calc(var(--n) * 24ms) steps(var(--n), end) var(--t, 0ms) forwards; }
.code__out {
  max-height: 0; padding: 0 22px; overflow: hidden;
  font-family: var(--f-mono); font-size: 0.9rem; color: var(--ok);
  transition: max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.code__out.is-on { max-height: 90px; padding: 0 22px 20px; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: clamp(56px, 7vw, 88px); }
.facts li { padding: 24px 22px 26px; }
.facts b {
  display: block; font-family: var(--f-display); font-weight: 700; line-height: 1;
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.facts span { display: block; margin-top: 10px; color: var(--muted); font-size: 0.92rem; line-height: 1.4; }

.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.pillar { padding: 28px 24px 30px; }
.pillar__n { position: absolute; top: 22px; right: 22px; font-family: var(--f-mono); font-size: 0.78rem; color: var(--dim); }
.pillar .icon-box { margin-bottom: 24px; }
.pillar h3 { margin-bottom: 8px; font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; }
.pillar p { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.pillar:hover .icon-box { background: var(--cyan); color: var(--ink); }

.members { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.member { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 26px; align-items: start; padding: 30px 28px; }
.member__avatar {
  position: relative; display: grid; place-items: center;
  width: 112px; height: 112px; border-radius: 30px;
  background: linear-gradient(160deg, #10225c, #070d22);
  border: 1px solid rgba(35, 208, 230, 0.3);
  box-shadow: inset 0 0 30px rgba(35, 208, 230, 0.12), 0 20px 40px -20px rgba(35, 208, 230, 0.4);
  overflow: hidden;
}
.member__avatar span {
  font-family: var(--f-display); font-weight: 700; font-size: 2.4rem; letter-spacing: -0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.member__avatar img { width: 100%; height: 100%; object-fit: cover; }
.member__info { display: grid; gap: 4px; }
.member__name { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.member__role { margin-bottom: 8px; font-family: var(--f-mono); font-size: 0.76rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cyan-2); }
.member__info > p:not(.member__role) { color: var(--muted); font-size: 0.96rem; }
.member__info .tags { margin-top: 14px; }

.tools-sec { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.quote {
  margin-top: 8px; padding: 18px 24px;
  border-left: 2px solid var(--cyan); border-radius: 0 14px 14px 0;
  background: linear-gradient(90deg, rgba(35, 208, 230, 0.08), transparent);
}
.quote p { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.25rem, 2.4vw, 1.6rem); line-height: 1.2; }
.tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tool { display: grid; gap: 2px; padding: 18px 20px; }
.tool b { font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; }
.tool span { color: var(--muted); font-size: 0.9rem; }
.tool--area { background: linear-gradient(160deg, rgba(31, 74, 224, 0.2), rgba(8, 13, 30, 0.6)); border-color: rgba(58, 102, 255, 0.4); }
.tool--area b { display: inline-flex; align-items: center; gap: 8px; }
.tool--area .i { color: var(--cyan); }

@media (max-width: 1080px) {
  .members { grid-template-columns: 1fr; max-width: 720px; }
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .dict { justify-self: stretch; width: 100%; }
  .essence, .tools-sec { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .member { grid-template-columns: 1fr; padding: 26px 22px; }
  .member__avatar { width: 88px; height: 88px; border-radius: 24px; }
  .member__avatar span { font-size: 1.9rem; }
  .tools { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .pillars { grid-template-columns: 1fr; }
  .facts li { padding: 20px 16px; }
}

/* ==========================================================================
   11. Como trabalhamos
   ========================================================================== */
.process-hero { justify-self: end; display: grid; gap: 24px; width: min(100%, 440px); padding: clamp(28px, 4vw, 40px); border-radius: 28px; }
.process-hero__flow { font-family: var(--f-display); font-weight: 700; font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem); line-height: 1.05; letter-spacing: -0.02em; }
.process-hero__list { display: grid; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); }
.process-hero__list li { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.process-hero__list .i {
  width: 28px; height: 28px; padding: 5px; border-radius: 8px;
  color: var(--cyan-2); background: rgba(35, 208, 230, 0.1); border: 1px solid rgba(35, 208, 230, 0.3);
}

.steps-wrap { --p: 0; position: relative; }
.steps__rail { position: absolute; left: 28px; right: 0; top: 27px; height: 2px; background: var(--line-2); border-radius: 2px; }
.steps__fill {
  position: absolute; inset: 0; border-radius: inherit;
  background: var(--grad); box-shadow: 0 0 12px var(--cyan);
  transform: scaleX(var(--p)); transform-origin: left;
}
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.step { position: relative; padding-top: 88px; }
.step__node {
  position: absolute; top: 0; left: 0;
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  font-family: var(--f-mono); font-weight: 500; font-size: 0.92rem; color: var(--dim);
  background: var(--bg-2); border: 1px solid var(--line-2);
  transition: color 0.4s, background-color 0.4s, border-color 0.4s, box-shadow 0.4s;
}
.step.is-lit .step__node {
  color: var(--ink); background: var(--cyan); border-color: var(--cyan);
  box-shadow: 0 0 0 6px rgba(35, 208, 230, 0.12), 0 0 26px rgba(35, 208, 230, 0.6);
}
html:not(.js) .step__node { color: var(--cyan-2); }
.step h3 { margin-bottom: 8px; font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--muted); transition: color 0.4s; }
.step.is-lit h3, html:not(.js) .step h3 { color: var(--text); }
.step p { margin-bottom: 14px; color: var(--muted); font-size: 0.96rem; }

.models { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.model { padding: 26px 22px 28px; }
.model .icon-box { margin-bottom: 20px; }
.model h3 { margin-bottom: 8px; font-family: var(--f-display); font-weight: 700; font-size: 1.1rem; line-height: 1.2; }
.model p { color: var(--muted); font-size: 0.91rem; line-height: 1.5; }
.model:hover .icon-box { background: var(--cyan); color: var(--ink); }

.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 80px); align-items: start; }
.faq__aside { position: sticky; top: calc(var(--header-h) + 32px); display: grid; gap: 20px; }
.ask { display: grid; gap: 12px; justify-items: start; margin-top: 8px; padding: 24px; border-radius: 20px; }
.ask b { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; }
.ask p { color: var(--muted); font-size: 0.94rem; }
.faq__list { display: grid; gap: 10px; }
.faq__item {
  border-radius: 16px; border: 1px solid var(--line); background: rgba(10, 19, 48, 0.45);
  transition: border-color 0.25s, background-color 0.25s;
}
.faq__item:hover { border-color: var(--line-2); }
.faq__item[open] { border-color: rgba(35, 208, 230, 0.35); background: rgba(14, 27, 68, 0.55); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; line-height: 1.3;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background:
    linear-gradient(var(--cyan), var(--cyan)) center / 14px 2px no-repeat,
    linear-gradient(var(--cyan), var(--cyan)) center / 2px 14px no-repeat;
  transition: transform 0.35s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 22px 20px; color: var(--muted); }
.faq__item[open] p { animation: panelIn 0.45s var(--ease); }

@media (max-width: 1080px) {
  .models { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .process-hero { justify-self: stretch; width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps__rail { left: 27px; top: 28px; bottom: 0; right: auto; width: 2px; height: auto; }
  .steps__fill { transform: scaleY(var(--p)); transform-origin: top; }
  .step { padding: 4px 0 0 84px; min-height: 56px; }
  .faq__grid { grid-template-columns: 1fr; }
  .faq__aside { position: relative; top: 0; }
}
@media (max-width: 760px) {
  .models { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .models { grid-template-columns: 1fr; }
}

/* ==========================================================================
   12. Contato
   ========================================================================== */
.contact-list { padding: 10px; border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.9); }
.contact-item { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 16px; transition: background-color 0.2s; }
.contact-item + .contact-item { border-top: 1px solid var(--line); }
.contact-item:hover { background: rgba(35, 208, 230, 0.05); }
.contact-item__link { flex: 1; min-width: 0; }
.contact-item__link small {
  display: block; font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim);
}
.contact-item__link strong {
  display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(1rem, 2vw, 1.2rem);
  overflow-wrap: anywhere; transition: color 0.2s;
}
.contact-item__sub { display: block; margin-top: 2px; font-size: 0.85rem; color: var(--muted); }
a.contact-item__link:hover strong { color: var(--cyan-2); }
.copy-btn {
  display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px;
  color: var(--muted); border: 1px solid var(--line-2);
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.copy-btn:hover { color: var(--cyan-2); border-color: var(--cyan); }
.copy-btn .i { width: 18px; height: 18px; }
.copy-btn .ic-done { display: none; }
.copy-btn.is-done { color: var(--ok); border-color: var(--ok); }
.copy-btn.is-done .ic-copy { display: none; }
.copy-btn.is-done .ic-done { display: block; }
.copy-btn--static { pointer-events: none; }

.form-sec__grid { display: grid; grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: clamp(36px, 5vw, 64px); align-items: start; }
.form-sec__copy { position: sticky; top: calc(var(--header-h) + 32px); }
.form-sec__chosen {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 14px; border-radius: 12px; font-size: 0.92rem; color: var(--text);
  background: rgba(35, 208, 230, 0.08); border: 1px solid rgba(35, 208, 230, 0.35);
}
.form-sec__chosen[hidden] { display: none; }
.form-sec__chosen .i { width: 18px; height: 18px; color: var(--cyan); }
.next-steps { display: grid; margin: 8px 0; padding: 6px; border-radius: 20px; }
.next-steps li { display: flex; align-items: flex-start; gap: 14px; padding: 14px; }
.next-steps li + li { border-top: 1px solid var(--line); }
.next-steps span {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  font-family: var(--f-mono); font-size: 0.8rem;
  color: var(--cyan-2); background: rgba(35, 208, 230, 0.08); border: 1px solid rgba(35, 208, 230, 0.28);
}
.next-steps b { display: block; font-family: var(--f-display); font-weight: 600; font-size: 1.04rem; line-height: 1.3; }
.next-steps small { display: block; font-size: 0.88rem; color: var(--muted); }
.form-sec__faq { font-size: 0.92rem; color: var(--muted); }

.gform {
  overflow: hidden; border-radius: 24px;
  border: 1px solid var(--line-2); background: #0a1020;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.95);
}
.gform__bar { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 16px; background: #0e1730; border-bottom: 1px solid var(--line); }
.gform__brand { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #03060e; border: 1px solid var(--line-2); }
.gform__brand svg { width: 18px; height: 22px; }
.gform__bar b { font-family: var(--f-display); font-weight: 600; font-size: 0.98rem; }
.gform__open {
  display: inline-flex; align-items: center; gap: 6px; margin-left: auto;
  min-height: 38px; padding: 0 14px; border-radius: 999px; white-space: nowrap;
  font-size: 0.82rem; font-weight: 600; color: var(--cyan-2); border: 1px solid rgba(35, 208, 230, 0.35);
  transition: background-color 0.2s, color 0.2s;
}
.gform__open:hover { background: var(--cyan); color: var(--ink); }
.gform__open .i { width: 15px; height: 15px; }
.gform__intro { padding: 32px 30px; }
.gform__eyebrow { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); }
.gform__title { margin: 8px 0 12px; font-family: var(--f-display); font-weight: 700; font-size: 1.7rem; line-height: 1.1; }
.gform__desc { max-width: 560px; color: var(--muted); }
.gform__label { margin: 26px 0 12px; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-2); }
.gform__fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gform__fields li {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px;
  font-size: 0.94rem; border: 1px solid var(--line); background: rgba(10, 19, 48, 0.55);
}
.gform__fields .i { width: 18px; height: 18px; color: var(--cyan); }
.gform__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
html:not(.js) .gform__inline { display: none; }
.gform__time { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 0.86rem; color: var(--dim); }
.gform__time .i { width: 16px; height: 16px; }
.gform__frame { position: relative; background: #f0ebf8; }
.gform__frame iframe { display: block; width: 100%; height: 1900px; border: 0; }
.gform__loading {
  position: absolute; inset: 0 0 auto; height: 320px;
  display: grid; place-content: center; justify-items: center; gap: 14px;
  font-size: 0.92rem; color: #4b5574; pointer-events: none; transition: opacity 0.4s;
}
.gform.is-loaded .gform__loading { opacity: 0; }
.spinner { width: 30px; height: 30px; border-radius: 50%; border: 3px solid rgba(31, 74, 224, 0.2); border-top-color: var(--royal-2); animation: spin 0.9s linear infinite; }
.gform__note { display: flex; align-items: flex-start; gap: 8px; padding: 14px 16px; font-size: 0.84rem; color: var(--muted); border-top: 1px solid var(--line); }
.gform__note .i { width: 16px; height: 16px; margin-top: 2px; color: var(--ok); }

@media (max-width: 960px) {
  .form-sec__grid { grid-template-columns: 1fr; }
  .form-sec__copy { position: relative; top: 0; }
}
@media (max-width: 560px) {
  .gform__frame iframe { height: 2250px; }
  .gform__bar b { display: none; }
  .gform__intro { padding: 26px 20px; }
  .gform__fields { grid-template-columns: 1fr; }
  .gform__actions .btn { width: 100%; }
}
@media (max-width: 480px) {
  .contact-list { padding: 6px; }
  .contact-item { padding: 14px 8px; gap: 12px; }
  .contact-item .icon-box { width: 40px; height: 40px; border-radius: 12px; }
  .contact-item .icon-box .i { width: 19px; height: 19px; }
  .contact-item__link strong { font-size: 0.98rem; }
}

/* ==========================================================================
   13. Página 404: "faltou luz"
   Sem JS a página já aparece acesa; com JS começa no escuro e a cordinha acende.
   ========================================================================== */
.page-404 .bg__grid,
.page-404 .bg__glow { transition: opacity 0.9s; }
.js .page-404:not(.is-lit) .bg__grid { opacity: 0.22; }
.js .page-404:not(.is-lit) .bg__glow { opacity: 0.1; }

.lost { padding: calc(var(--header-h) + clamp(24px, 4vw, 56px)) 0 clamp(40px, 5vw, 72px); overflow-x: clip; }
.lost .page-hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
.lost .hl { transition: filter 0.9s; }
.js .page-404:not(.is-lit) .lost .hl { filter: grayscale(1); }
.lost__path { max-width: 54ch; font-size: 0.94rem; color: var(--muted); overflow-wrap: anywhere; }
.lost__path code { font-family: var(--f-mono); font-size: 0.9em; color: var(--cyan-2); }

.lost__stage { position: relative; display: grid; gap: 14px; min-width: 0; }
.lost__status { display: none; justify-self: end; }
.js .lost__status { display: inline-flex; }
.js .page-404:not(.is-lit) .lost__status .dot { background: var(--warm); box-shadow: 0 0 12px var(--warm); animation: none; }

/* ---------- Letreiro de neon ---------- */
.sign { position: relative; isolation: isolate; }
.sign::before {
  content: ""; position: absolute; inset: -24% -12%; z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(35, 208, 230, 0.26), rgba(58, 102, 255, 0.14) 55%, transparent);
  transition: opacity 0.9s 0.35s;
}
.sign__svg { width: 100%; height: auto; overflow: visible; }
.sign__plate { fill: rgba(9, 15, 33, 0.78); stroke: var(--line-3); stroke-width: 1.5; }
.sign__wash { transition: opacity 0.9s 0.35s; }
.sign__hardware { fill: rgba(150, 175, 255, 0.24); }
.sign__wire { fill: none; stroke: rgba(150, 175, 255, 0.16); stroke-width: 2; }
.sign__eyelet { fill: var(--panel); stroke: var(--line-3); stroke-width: 2; }

.tube { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tube__glass { stroke: rgba(150, 175, 255, 0.2); stroke-width: 12; }
.tube__glow { stroke-width: 16; }
.tube__color { stroke-width: 10; }
.tube__core { stroke: #e9fdff; stroke-width: 3.5; }
.tube__lit { transition: opacity 0.2s; }

.page-404.is-lit .tube__lit { animation: neonOn 1.1s linear var(--on, 0s) backwards; }
.js .page-404:not(.is-lit) .tube__lit,
.js .page-404:not(.is-lit) .sign__wash,
.js .page-404:not(.is-lit) .sign::before { opacity: 0; transition: opacity 0.25s; }
.js .page-404:not(.is-lit) .tube--faulty .tube__lit { animation: neonDying 6.5s linear 2s infinite; }

/* ---------- Cordinha ---------- */
.cord {
  --len: 92;
  position: absolute; z-index: 3; top: calc(100% - 4px); left: 88.4%;
  display: none; justify-items: center; width: 56px; margin-left: -28px;
  transform-origin: 50% 0;
  transform: rotate(calc(var(--swing, 0) * 1deg));
  cursor: grab; touch-action: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.js .cord { display: grid; }
.js .page-404:not(.is-lit) .cord:not(.is-held) { animation: sway 4.6s ease-in-out infinite; }
.cord.is-held { cursor: grabbing; }
.cord:focus-visible { outline: none; }
.cord:focus-visible .cord__bead { outline: 2px solid var(--cyan-2); outline-offset: 4px; }
.cord__line {
  width: 2px; height: calc(var(--len) * 1px);
  background: repeating-linear-gradient(180deg, #8d9cc0 0 3px, #55638a 3px 6px);
  transform-origin: 50% 0;
  transform: scaleY(calc(1 + var(--pull, 0) / var(--len)));
}
.cord__bead {
  width: 22px; height: 34px; border-radius: 11px 11px 13px 13px;
  background: linear-gradient(180deg, #6aeaf8, var(--cyan));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), inset 0 -6px 8px -4px rgba(2, 16, 24, 0.45);
  translate: 0 calc(var(--pull, 0) * 1px);
  transition: scale 0.25s var(--ease);
}
.cord:hover .cord__bead { scale: 1.08; }
.js .page-404:not(.is-lit) .cord__bead { animation: pulse 2.4s infinite; }

/* ---------- Abaixo do letreiro: dica (no escuro) e post-it (com a luz acesa) ---------- */
.lost__below { display: grid; min-height: 164px; padding-right: 88px; }
.lost__below > * { grid-area: 1 / 1; }
.lost__hint {
  display: none; align-self: center; justify-self: end; align-items: flex-end; gap: 8px;
  font-family: var(--f-hand); font-size: 1.1rem; line-height: 1.15; text-align: right; color: var(--cyan-2);
  rotate: -3deg;
  transition: opacity 0.25s;
}
.js .lost__hint { display: flex; }
.page-404.is-lit .lost__hint { opacity: 0; }
.lost__arrow { flex: none; width: 52px; height: 36px; overflow: visible; }
.lost__arrow path { fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }

.lost__note {
  --rot: -3deg;
  display: block; align-self: start; justify-self: start;
  width: min(100%, 256px); margin-top: 20px; padding: 28px 20px 18px; font-size: 1rem;
  transition: opacity 0.5s 0.9s, scale 0.5s var(--ease) 0.9s, visibility 0s 0.9s, transform 0.35s var(--ease);
}
.lost__note:hover { --rot: 0deg; }
.lost__note-go {
  display: flex; align-items: center; gap: 6px; margin-top: 10px;
  font-family: var(--f-body); font-weight: 600; font-size: 0.84rem; text-transform: none;
}
.lost__note-go .i { width: 16px; height: 16px; }
.js .page-404:not(.is-lit) .lost__note {
  visibility: hidden; opacity: 0; scale: 0.92;
  transition: opacity 0.2s, scale 0.2s, visibility 0s 0.2s;
}

/* ---------- Saídas de emergência: seguem visíveis no escuro, como as placas de verdade ---------- */
.exits { display: grid; gap: 18px; margin-top: clamp(20px, 3vw, 36px); }
.exits__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.exit {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 16px; border-radius: 18px;
  border: 1px solid var(--line-2); background: var(--glass);
  transition: border-color 0.5s, transform 0.4s var(--ease);
}
.exit:hover { transform: translateY(-3px); border-color: var(--line-3); }
.exit .icon-box { transition: color 0.5s, border-color 0.5s, box-shadow 0.5s; }
.exit__text { display: grid; gap: 2px; flex: 1; min-width: 0; line-height: 1.35; }
.exit__text b { font-family: var(--f-display); font-weight: 600; font-size: 1.06rem; }
.exit__text small { font-size: 0.86rem; color: var(--muted); }
.exit__go { width: 18px; height: 18px; color: var(--cyan-2); transition: color 0.5s, translate 0.3s var(--ease); }
.exit:hover .exit__go { translate: 3px 0; }

/* ao acender, as saídas trocam o verde pela cor da marca, uma de cada vez */
.page-404.is-lit .exit .icon-box { transition-delay: calc(0.5s + var(--i, 0) * 0.12s); }
.page-404.is-lit .exit__go { transition-delay: calc(0.5s + var(--i, 0) * 0.12s), 0s; }
.js .page-404:not(.is-lit) .exits__title { color: var(--ok); }
.js .page-404:not(.is-lit) .exits__title::before { background: var(--ok); box-shadow: 0 0 8px var(--ok); }
.js .page-404:not(.is-lit) .exit { border-color: rgba(62, 224, 164, 0.24); }
.js .page-404:not(.is-lit) .exit .icon-box {
  color: var(--ok); background: rgba(62, 224, 164, 0.08); border-color: rgba(62, 224, 164, 0.4);
  box-shadow: 0 0 18px -4px rgba(62, 224, 164, 0.6);
}
.js .page-404:not(.is-lit) .exit__go { color: var(--ok); }

@media (max-width: 960px) {
  .lost .page-hero__grid { grid-template-columns: 1fr; gap: 20px; }
  .lost__stage { order: -1; width: min(100%, 580px); justify-self: center; }
  .lost__path { order: 1; }
  .exits__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* no celular, o botão de saída precisa aparecer sem rolar: o palco encolhe o que pode.
   O aviso de energia sai da tela, mas segue sendo anunciado aos leitores de tela. */
@media (max-width: 560px) {
  .js .lost__status {
    position: absolute; width: 1px; height: 1px; padding: 0; border: 0;
    overflow: hidden; clip-path: inset(50%); white-space: nowrap;
  }
  .cord { --len: 70; }
  .lost__below { min-height: 132px; }
  .lost__note { margin-top: 10px; padding: 22px 16px 14px; font-size: 0.92rem; }
  .lost__note-go { margin-top: 6px; }
  .exits__list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   14. Animações
   ========================================================================== */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } }
/* recortes negativos deixam o brilho do texto aparecer fora da caixa */
@keyframes litIn {
  from { clip-path: inset(-40% 100% -40% -20%); }
  to { clip-path: inset(-40% -20% -40% -20%); }
}
@keyframes sweep {
  0% { left: 0; opacity: 1; }
  85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@keyframes cue {
  0% { top: -40%; }
  100% { top: 100%; }
}
@keyframes sweepX { to { transform: translateX(100%); } }
@keyframes type { to { width: calc(var(--n) * 1ch); } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(35, 208, 230, 0.6); }
  70% { box-shadow: 0 0 0 10px rgba(35, 208, 230, 0); }
  100% { box-shadow: 0 0 0 0 rgba(35, 208, 230, 0); }
}
@keyframes flicker {
  0%, 100% { opacity: 0.9; }
  40% { opacity: 0.55; }
  44% { opacity: 1; }
  70% { opacity: 0.75; }
}
@keyframes drift {
  from { transform: translateX(-4%); }
  to { transform: translateX(4%); }
}
@keyframes pop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes eq {
  from { transform: scaleY(0.35); }
  to { transform: scaleY(1); }
}
@keyframes playhead {
  from { left: 10px; }
  to { left: calc(100% - 12px); }
}
@keyframes resp {
  0%, 28% { width: 84%; }
  44%, 74% { width: 36%; }
  90%, 100% { width: 84%; }
}
@keyframes rank {
  0%, 22% { translate: 0 0; }
  40%, 82% { translate: 0 calc(var(--move) * var(--row)); }
  100% { translate: 0 0; }
}
@keyframes neonOn {
  0% { opacity: 0; }
  10% { opacity: 0.85; }
  18%, 44% { opacity: 0.08; }
  52% { opacity: 1; }
  60% { opacity: 0.4; }
  68%, 100% { opacity: 1; }
}
@keyframes neonDying {
  0%, 62%, 66%, 72%, 100% { opacity: 0; }
  64% { opacity: 0.4; }
  69% { opacity: 0.22; }
}
@keyframes sway {
  0%, 100% { rotate: -1.6deg; }
  50% { rotate: 1.6deg; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  @view-transition { navigation: none; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    transition-delay: 0s !important;
  }
}
