/* Tipografia e espaçamento calibrados a partir de linear.app.
   Todas as cores vêm dos tokens abaixo: escuro em :root, claro em [data-theme="light"]. */
:root {
  --bg: #08090a;
  --panel: #0f1011;
  --panel-2: #141516;
  --panel-3: #1c1d1f;
  --canvas: #111213;
  --canvas-dot: rgba(255, 255, 255, 0.05);
  --hover: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.12);
  --text: #f7f8f8;
  --text-soft: #d0d6e0;
  --text-2: #8a8f98;
  --text-3: #62666d;
  --indigo: #5e6ad2;
  --indigo-soft: #8b93e8;
  --indigo-ink: #a4abf0;
  --sel-bg: rgba(94, 106, 210, 0.2);
  --green: #4cb782;
  --amber: #e3a857;

  --btn-bg: #e5e5e6;
  --btn-fg: #08090a;
  --btn-hover: #ffffff;
  --btn2-bg: #1c1d1f;
  --btn2-fg: #f7f8f8;
  --btn2-border: rgba(255, 255, 255, 0.06);
  --btn2-hover: #26272a;

  --nav-bg: rgba(8, 9, 10, 0.78);
  --win-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 30px 60px -20px rgba(0, 0, 0, 0.75);
  --frame-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  --pop-bg: #1c1d1f;
  --stage-glow: rgba(255, 255, 255, 0.13);
  --stage-tint: rgba(255, 255, 255, 0.025);
  --logo-filter: brightness(0) invert(1);
  --dot: #2a2b2e;

  --code-bg: #0c0d0e;
  --c-text: #c9d1e0;
  --c-punct: #5c6370;
  --c-tag: #8fb3f0;
  --c-attr: #c4a7e7;
  --c-str: #e6c38a;
  --c-ln: #3d4148;
  --c-add: rgba(76, 183, 130, 0.09);

  --fig-dim: rgba(255, 255, 255, 0.2);
  --fig-mid: rgba(255, 255, 255, 0.34);
  --fig-hi: rgba(255, 255, 255, 0.8);
  --fig-top: #101113;
  --fig-streak: #ffffff;
  --fig-cta: rgba(139, 147, 232, 0.55);
  --fig-card: rgba(255, 255, 255, 0.07);
  --fig-acc: #ff6a1f;

  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Instrument Serif", Georgia, serif;
  --w: 1280px;
  --gutter: 32px;
  --nav-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}

:root[data-theme="light"] {
  --bg: #fbfbfb;
  --panel: #ffffff;
  --panel-2: #f6f6f7;
  --panel-3: #eeeef0;
  --canvas: #f3f3f4;
  --canvas-dot: rgba(0, 0, 0, 0.08);
  --hover: rgba(0, 0, 0, 0.04);
  --line: rgba(0, 0, 0, 0.08);
  --line-2: rgba(0, 0, 0, 0.12);
  --text: #0b0c0e;
  --text-soft: #2f3237;
  --text-2: #6b6f76;
  --text-3: #9a9ea6;
  --indigo-ink: #5e6ad2;
  --sel-bg: rgba(94, 106, 210, 0.12);
  --green: #2c9b67;
  --amber: #e3a857;

  --btn-bg: #0b0c0e;
  --btn-fg: #ffffff;
  --btn-hover: #2a2b30;
  --btn2-bg: #ffffff;
  --btn2-fg: #0b0c0e;
  --btn2-border: rgba(0, 0, 0, 0.12);
  --btn2-hover: #f3f3f4;

  --nav-bg: rgba(251, 251, 251, 0.8);
  --win-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02), 0 1px 2px rgba(0, 0, 0, 0.04), 0 30px 60px -24px rgba(0, 0, 0, 0.16);
  --frame-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06), 0 16px 40px -18px rgba(0, 0, 0, 0.22);
  --pop-bg: #ffffff;
  --stage-glow: rgba(94, 106, 210, 0.07);
  --stage-tint: rgba(0, 0, 0, 0.018);
  --logo-filter: brightness(0);
  --dot: #dcdcdf;

  --code-bg: #fcfcfd;
  --c-text: #24292f;
  --c-punct: #8c959f;
  --c-tag: #1f5fbf;
  --c-attr: #7b3fbf;
  --c-str: #9a5b00;
  --c-ln: #c2c6cc;
  --c-add: rgba(44, 155, 103, 0.08);

  --fig-dim: rgba(0, 0, 0, 0.18);
  --fig-mid: rgba(0, 0, 0, 0.3);
  --fig-hi: rgba(0, 0, 0, 0.78);
  --fig-top: #f1f1f2;
  --fig-streak: #000000;
  --fig-cta: rgba(94, 106, 210, 0.45);
  --fig-card: rgba(0, 0, 0, 0.05);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; background: var(--bg); }
html.menu-open { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 15px; line-height: 1.6; letter-spacing: -0.011em;
  font-feature-settings: "cv01", "ss03";
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
/* o fundo de fibras (site.js) fica fixo atrás de tudo; o body deixa de pintar por cima dele */
.bg-field { position: fixed; inset: 0 auto auto 0; z-index: -1; display: block; width: 100vw; height: 100lvh; pointer-events: none; }
html.has-field body { background: transparent; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; letter-spacing: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3, p, figure { margin: 0; font-size: inherit; font-weight: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
em, i, b, s, q, t { font-style: normal; font-weight: inherit; text-decoration: none; quotes: none; }
::selection { background: rgba(94, 106, 210, 0.35); }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }
svg { flex: none; }

.container { width: min(var(--w), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 8px 12px; border-radius: 6px; background: var(--text); color: var(--bg); }
.skip:focus { left: 8px; }
.mono, .mono-cap { font-family: var(--mono); letter-spacing: 0; }
.mono-cap { display: block; font-size: 12px; line-height: 1.4; text-transform: uppercase; color: var(--text-3); }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  font-size: 14px; font-weight: 510; letter-spacing: 0; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1px solid var(--btn-bg);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.07), 0 3px 2px rgba(0, 0, 0, 0.04);
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s var(--ease);
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); }
.btn:active { transform: scale(0.97); }
.btn-sm { height: 32px; padding: 0 12px; font-size: 13px; }
.btn-lg { height: 44px; padding: 0 20px; font-size: 16px; }
.btn-dark { color: var(--btn2-fg); background: var(--btn2-bg); border-color: var(--btn2-border); box-shadow: none; }
.btn-dark:hover { background: var(--btn2-hover); border-color: var(--btn2-border); }

/* ---------- Navegação ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); border-bottom: 1px solid transparent; transition: background-color 0.2s, border-color 0.2s; }
.nav.scrolled { background: var(--nav-bg); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); border-bottom-color: var(--line); }
.nav.open { background: var(--bg); border-bottom-color: var(--line); }
.nav-inner { position: relative; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: var(--text); }
.brand-logo { display: block; height: 28px; width: auto; overflow: visible; }
.mk-core { transform-box: fill-box; transform-origin: 50% 50%; }
.nav-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 13px; letter-spacing: 0; }
.nav-links a { color: var(--text-2); transition: color 0.15s; }
.nav-links a:hover, .nav-links a.on { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-sep { width: 1px; height: 16px; margin: 0 4px; background: var(--line-2); }
.theme-btn { position: relative; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 999px; color: var(--text-2); transition: color 0.15s, background-color 0.15s; }
.theme-btn:hover { color: var(--text); background: var(--hover); }
.theme-btn svg { position: absolute; width: 16px; height: 16px; transition: transform 0.5s var(--ease), opacity 0.3s; }
.theme-btn .i-sun { opacity: 0; transform: rotate(-90deg) scale(0.6); }
[data-theme="light"] .theme-btn .i-sun { opacity: 1; transform: none; }
[data-theme="light"] .theme-btn .i-moon { opacity: 0; transform: rotate(90deg) scale(0.6); }
.nav-toggle { display: none; position: relative; width: 40px; height: 40px; margin-right: -8px; }
.nav-toggle span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--text); transition: transform 0.2s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 23px; }
.nav.open .nav-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav.open .nav-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu { display: none; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(var(--nav-h) + 104px); overflow-x: clip; }
.hero-title { max-width: 15ch; font-size: clamp(40px, 4.3vw, 60px); line-height: 1; font-weight: 510; letter-spacing: -0.022em; text-wrap: balance; }
.hero-title .w { display: inline-block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; align-items: center; gap: 32px; }
.hero-news { margin-bottom: 28px; }
.hero-sub { max-width: 520px; margin-top: 24px; font-size: 17px; line-height: 1.55; color: var(--text-2); }
.hero-cta { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.hero-cta .more { margin-top: 0; }
.hero-fig { position: relative; justify-self: end; width: 580px; margin: 0 -40px 0 0; }
.fig-logo { display: block; width: 100%; height: auto; overflow: visible; }
.fig-logo polygon, .fig-logo line { stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.fig-logo .dim { stroke: var(--fig-dim); }
.fig-logo .mid { stroke: var(--fig-mid); }
.fig-logo .hi { stroke: var(--fig-hi); stroke-width: 1.3; }
.fig-logo .dash { stroke-dasharray: 2 3; }
.fig-logo .f-bg { fill: var(--bg); }
.fig-logo .f-top { fill: var(--fig-top); }
.fig-logo .f-none { fill: none; }
.fig-logo .plate .f-top { fill: var(--panel-2); }
.fig-logo .plate .f-bg { fill: var(--panel); }
.fig-logo .plate .mid { stroke: var(--fig-hi); stroke-opacity: 0.45; }
.fig-logo g { transform-box: view-box; }
.fig-logo .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero-fig figcaption { margin-top: 4px; text-align: center; }
/* Fig 0.0: a marca em blocos (tools/figs_hero_v5.py). O fio da logo cortado em peças sólidas,
   de pé sobre a placa, com o cubo laranja no centro. Três trechos do fio, de fora para dentro, e o
   cubo são as quatro etapas, com a legenda à direita como num desenho técnico. Em loop: cada etapa
   sobe na sua vez com a legenda acesa; depois o fio se desmonta e é colocado de volta de fora para
   dentro, e o cubo pousa por último. */
@property --on { syntax: "<number>"; inherits: true; initial-value: 0; }
@property --hov { syntax: "<number>"; inherits: true; initial-value: 0; }
:root { --mk-f1: #f6f4ef; --mk-f2: #cfcbc2; --mk-t: #ffffff; --mk-s: #8f8b82; --mk-edge: rgba(255, 255, 255, 0.9); --mk-shadow: rgba(0, 0, 0, 0.55); }
:root[data-theme="light"] { --mk-f1: #3a3c41; --mk-f2: #1d1e21; --mk-t: #5a5d63; --mk-s: #101113; --mk-edge: rgba(255, 255, 255, 0.28); --mk-shadow: rgba(0, 0, 0, 0.16); }
.fig-logo .grid { stroke: var(--fig-dim); stroke-width: 0.7; stroke-opacity: 0.7; }
.fig-logo .blk { stroke-width: 0.6; stroke-linejoin: round; }
.fig-logo .f-mf { fill: url(#mkGrad); stroke: url(#mkGrad); } .fig-logo .f-mt { fill: var(--mk-t); stroke: var(--mk-t); } .fig-logo .f-ms { fill: var(--mk-s); stroke: var(--mk-s); }
.fig-logo .f-ct { fill: #ffb27a; stroke: #ffb27a; } .fig-logo .f-cl { fill: #ff6a1f; stroke: #ff6a1f; } .fig-logo .f-cs { fill: #c94512; stroke: #c94512; }
.fig-logo .edge { stroke: #fff; stroke-opacity: 0.55; stroke-width: 0.9; }
.fig-logo .shadow { fill: var(--mk-shadow); filter: blur(6px); }
.fig-logo .edge-m { stroke: var(--mk-edge); stroke-width: 0.9; stroke-linecap: round; }
.fig-logo .plumb line { stroke-width: 0.8; }
.fig-logo .plumb-l { stroke-dasharray: 2 3; }
.fig-logo .shadow-g { transform-box: fill-box; transform-origin: center; }
.fig-logo .dimen line { stroke: var(--fig-mid); stroke-width: 0.8; }
.fig-logo .dim-t { font: 500 10px var(--mono); letter-spacing: 0.04em; fill: var(--text-3); }
.fig-logo .co { --lit: max(var(--on), var(--hov)); cursor: default; transition: --hov 0.25s; }
.fig-logo .co-l { fill: none; stroke: color-mix(in srgb, var(--fig-hi) calc(var(--lit) * 100%), var(--fig-dim)); stroke-width: 0.8; stroke-dasharray: 2 3; }
.fig-logo .co-d { fill: color-mix(in srgb, var(--fig-acc) calc(var(--lit) * 100%), #fff); stroke: rgba(0, 0, 0, 0.35); stroke-width: 0.8; }
.fig-logo .co-n { font: 500 10px var(--mono); fill: color-mix(in srgb, var(--fig-acc) calc(var(--lit) * 100%), var(--text-3)); }
.fig-logo .co-t { font: 510 12.5px var(--font); letter-spacing: -0.01em; fill: color-mix(in srgb, var(--text) calc(var(--lit) * 100%), var(--text-2)); }
.fig-logo .co-w { font: 400 10px var(--mono); fill: var(--text-3); }
.fig-logo .co:hover { --hov: 1; }
.fig-logo .st-b { transition: transform 0.45s cubic-bezier(0.3, 1.4, 0.5, 1); }
.fig-logo:has(.co[style*="--i:0"]:hover) .st[style*="--i:0"] > .st-b, .fig-logo .st[style*="--i:0"]:hover > .st-b { transform: translateY(-14px); }
.fig-logo:has(.st[style*="--i:0"]:hover) .co[style*="--i:0"] { --hov: 1; }
.fig-logo:has(.co[style*="--i:1"]:hover) .st[style*="--i:1"] > .st-b, .fig-logo .st[style*="--i:1"]:hover > .st-b { transform: translateY(-14px); }
.fig-logo:has(.st[style*="--i:1"]:hover) .co[style*="--i:1"] { --hov: 1; }
.fig-logo:has(.co[style*="--i:2"]:hover) .st[style*="--i:2"] > .st-b, .fig-logo .st[style*="--i:2"]:hover > .st-b { transform: translateY(-14px); }
.fig-logo:has(.st[style*="--i:2"]:hover) .co[style*="--i:2"] { --hov: 1; }
.fig-logo:has(.co[style*="--i:3"]:hover) .st[style*="--i:3"] > .st-b, .fig-logo .st[style*="--i:3"]:hover > .st-b { transform: translateY(-14px); }
.fig-logo:has(.st[style*="--i:3"]:hover) .co[style*="--i:3"] { --hov: 1; }
.js .fig-logo .plate .draw { stroke-dashoffset: 1; animation: fl-draw 1.1s var(--ease-io) forwards; animation-delay: calc(var(--k) * 40ms + 200ms); }
.js .fig-logo .plate :is(.f-bg, .f-top) { fill-opacity: 0; animation: fl-fill 0.8s ease 0.7s forwards; }
.js .fig-logo :is(.floor, .dimen, .dimen-t, .shadow, .plumb) { opacity: 0; animation: fl-fill 1s ease 0.2s forwards; }
.js .fig-logo .dimen, .js .fig-logo .dimen-t, .js .fig-logo .shadow, .js .fig-logo .plumb { animation-delay: 1.6s; }
.js .fig-logo .sg { opacity: 0; transform: translateY(-70px); animation: fl-drop 0.75s cubic-bezier(0.3, 1.35, 0.5, 1) forwards; animation-delay: calc(0.9s + var(--j) * 0.11s); }
.js .fig-logo .cube { opacity: 0; transform: translateY(-90px); animation: fl-drop 0.85s cubic-bezier(0.3, 1.35, 0.5, 1) 1.85s forwards; }
.js .fig-logo .co { opacity: 0; animation: fl-fill 0.6s ease forwards; animation-delay: calc(1.3s + var(--i) * 0.2s); }
@keyframes fl-draw { to { stroke-dashoffset: 0; } }
@keyframes fl-fill { to { fill-opacity: 1; opacity: 1; } }
@keyframes fl-drop { to { opacity: 1; transform: none; } }
@keyframes fl-float { 50% { transform: translateY(-5px); } }
@keyframes fl-breathe { 50% { transform: scale(0.93); opacity: 0.8; } }
@media (prefers-reduced-motion: no-preference) {
  .fig-logo .st[style*="--i:0"] > .st-b { animation: fl-lift-0 12s var(--ease-io) 3.2s infinite; }
  .js .fig-logo .co[style*="--i:0"] { animation-name: fl-fill, fl-co-0; }
  .fig-logo .st[style*="--i:1"] > .st-b { animation: fl-lift-1 12s var(--ease-io) 3.2s infinite; }
  .js .fig-logo .co[style*="--i:1"] { animation-name: fl-fill, fl-co-1; }
  .fig-logo .st[style*="--i:2"] > .st-b { animation: fl-lift-2 12s var(--ease-io) 3.2s infinite; }
  .js .fig-logo .co[style*="--i:2"] { animation-name: fl-fill, fl-co-2; }
  .fig-logo .st[style*="--i:3"] > .st-b { animation: fl-lift-3 12s var(--ease-io) 3.2s infinite; }
  .js .fig-logo .co[style*="--i:3"] { animation-name: fl-fill, fl-co-3; }
  .js .fig-logo .co { animation-duration: 0.6s, 12s; animation-timing-function: ease, linear; animation-delay: calc(1.3s + var(--i) * 0.2s), 3.2s; animation-iteration-count: 1, infinite; animation-fill-mode: forwards, none; }
  .fig-logo .sg[style*="--j:0"] .sg-r { animation: fl-seg-0 12s linear 3.2s infinite; }
  .fig-logo .sg[style*="--j:1"] .sg-r { animation: fl-seg-1 12s linear 3.2s infinite; }
  .fig-logo .sg[style*="--j:2"] .sg-r { animation: fl-seg-2 12s linear 3.2s infinite; }
  .fig-logo .sg[style*="--j:3"] .sg-r { animation: fl-seg-3 12s linear 3.2s infinite; }
  .fig-logo .sg[style*="--j:4"] .sg-r { animation: fl-seg-4 12s linear 3.2s infinite; }
  .fig-logo .sg[style*="--j:5"] .sg-r { animation: fl-seg-5 12s linear 3.2s infinite; }
  .fig-logo .sg[style*="--j:6"] .sg-r { animation: fl-seg-6 12s linear 3.2s infinite; }
  .fig-logo .cube-r { animation: fl-cube 12s linear 3.2s infinite; }
  .fig-logo :is(.co-d, .co-l) { animation: fl-dot 12s linear 3.2s infinite; }
  /* a marca flutua: sobe e desce devagar, e a sombra respira junto */
  .fig-logo .mk-float { animation: fl-float 6s ease-in-out 2.6s infinite; }
  .fig-logo .shadow-g { animation: fl-breathe 6s ease-in-out 2.6s infinite; }
  .hero-fig:hover .fig-logo :is(.st-b, .sg-r, .cube-r, .co, .co-d, .co-l, .mk-float, .shadow-g) { animation-play-state: paused; }
}
@keyframes fl-lift-0 { 0%, 0.5%, 14.5%, 100% { transform: none; } 2.1%, 12.9% { transform: translateY(-13px); } }
@keyframes fl-co-0 { 0%, 0.5%, 14.5%, 100% { --on: 0; } 2.1%, 12.9% { --on: 1; } }
@keyframes fl-lift-1 { 0%, 17.2%, 31.2%, 100% { transform: none; } 18.8%, 29.6% { transform: translateY(-13px); } }
@keyframes fl-co-1 { 0%, 17.2%, 31.2%, 100% { --on: 0; } 18.8%, 29.6% { --on: 1; } }
@keyframes fl-lift-2 { 0%, 33.8%, 47.8%, 100% { transform: none; } 35.4%, 46.2% { transform: translateY(-13px); } }
@keyframes fl-co-2 { 0%, 33.8%, 47.8%, 100% { --on: 0; } 35.4%, 46.2% { --on: 1; } }
@keyframes fl-lift-3 { 0%, 50.5%, 64.5%, 100% { transform: none; } 52.1%, 62.9% { transform: translateY(-13px); } }
@keyframes fl-co-3 { 0%, 50.5%, 64.5%, 100% { --on: 0; } 52.1%, 62.9% { --on: 1; } }
@keyframes fl-seg-0 { 0%, 74.8% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.5,0,0.8,0.3); } 77.8%, 80.0% { transform: translateY(-46px); opacity: 0; animation-timing-function: cubic-bezier(0.3,1.35,0.5,1); } 85.0%, 100% { transform: none; opacity: 1; } }
@keyframes fl-seg-1 { 0%, 74.0% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.5,0,0.8,0.3); } 77.0%, 81.6% { transform: translateY(-46px); opacity: 0; animation-timing-function: cubic-bezier(0.3,1.35,0.5,1); } 86.6%, 100% { transform: none; opacity: 1; } }
@keyframes fl-seg-2 { 0%, 73.2% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.5,0,0.8,0.3); } 76.2%, 83.2% { transform: translateY(-46px); opacity: 0; animation-timing-function: cubic-bezier(0.3,1.35,0.5,1); } 88.2%, 100% { transform: none; opacity: 1; } }
@keyframes fl-seg-3 { 0%, 72.4% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.5,0,0.8,0.3); } 75.4%, 84.8% { transform: translateY(-46px); opacity: 0; animation-timing-function: cubic-bezier(0.3,1.35,0.5,1); } 89.8%, 100% { transform: none; opacity: 1; } }
@keyframes fl-seg-4 { 0%, 71.6% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.5,0,0.8,0.3); } 74.6%, 86.4% { transform: translateY(-46px); opacity: 0; animation-timing-function: cubic-bezier(0.3,1.35,0.5,1); } 91.4%, 100% { transform: none; opacity: 1; } }
@keyframes fl-seg-5 { 0%, 70.8% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.5,0,0.8,0.3); } 73.8%, 88.0% { transform: translateY(-46px); opacity: 0; animation-timing-function: cubic-bezier(0.3,1.35,0.5,1); } 93.0%, 100% { transform: none; opacity: 1; } }
@keyframes fl-seg-6 { 0%, 70.0% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.5,0,0.8,0.3); } 73.0%, 89.6% { transform: translateY(-46px); opacity: 0; animation-timing-function: cubic-bezier(0.3,1.35,0.5,1); } 94.6%, 100% { transform: none; opacity: 1; } }
@keyframes fl-cube { 0%, 70.5% { transform: none; opacity: 1; animation-timing-function: cubic-bezier(0.5,0,0.8,0.3); } 73.5%, 93.2% { transform: translateY(-60px); opacity: 0; animation-timing-function: cubic-bezier(0.3,1.35,0.5,1); } 99.2%, 100% { transform: none; opacity: 1; } }
@keyframes fl-dot { 0%, 70% { opacity: 1; } 73%, 93.2% { opacity: 0; } 98.2%, 100% { opacity: 1; } }

/* o logo: o fio entra no labirinto, o cubo pousa no centro e o nome aparece */
.js .brand-logo .mk-thread { stroke-dasharray: 1 1; animation: mk-draw 1s var(--ease) 0.1s both; }
.js .brand-logo .mk-core { animation: mk-land 0.6s cubic-bezier(0.3, 1.5, 0.5, 1) 0.75s both; }
.js .brand-logo .mk-word { animation: mk-word 0.8s var(--ease) 0.35s both; }
@keyframes mk-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes mk-land { from { opacity: 0; transform: translateY(-4px) scale(0.4); } }
@keyframes mk-word { from { opacity: 0; transform: translateX(-4px); } }
.brand:hover .mk-core { animation: mk-hop 0.5s var(--ease) both; }
@keyframes mk-hop { 40% { transform: translateY(-1.8px); } }
.hero-news { display: inline-flex; align-items: center; gap: 6px; flex: none; color: var(--text-2); transition: color 0.15s; }
.hero-news b { color: var(--text); font-weight: 510; margin-right: 2px; }
.hero-news svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.hero-news:hover { color: var(--text); }
.hero-news:hover svg { transform: translateX(2px); }

.stage {
  position: relative; margin: 64px 12px 0; padding: 48px 0 56px; border-radius: 16px; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 55% at 50% 100%, var(--stage-glow), transparent 70%),
    linear-gradient(180deg, transparent 40%, var(--stage-tint));
}
.stage-inner { perspective: 2400px; }

/* ---------- Janelas (base) ---------- */
.win {
  position: relative; overflow: hidden;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--win-shadow);
  font-size: 13px; color: var(--text-soft); letter-spacing: 0;
}
.win svg { width: 14px; height: 14px; }
.win-h { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px 0 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.win-h > b { color: var(--text); font-weight: 510; }
.win-h > em { margin-left: auto; color: var(--text-3); font-size: 12px; }
.crumb { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.crumb i { color: var(--text-3); }
.crumb b { color: var(--text); font-weight: 510; }
.crumb-logo { width: 14px !important; height: 14px !important; color: var(--text); margin-right: 2px; }
.ed-h { margin: 0 0 8px; font-size: 12px; color: var(--text-3); }
.seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 7px; background: var(--panel-2); border: 1px solid var(--line); }
.seg > * { display: grid; place-items: center; min-width: 28px; height: 22px; padding: 0 6px; border-radius: 5px; color: var(--text-3); font-size: 12px; transition: color 0.2s, background-color 0.2s, box-shadow 0.2s; }
.seg > button:hover { color: var(--text-soft); }
.seg > .on { background: var(--panel-3); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.seg--txt { margin-left: auto; }
.avatars { display: flex; gap: 4px; }
.avatars i, .pin > i, .leads i {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  font-size: 9px; font-weight: 600; color: #08090a; background: var(--c);
}
.field { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; background: var(--panel-2); border: 1px solid var(--line); white-space: nowrap; overflow: hidden; }
.field + .field, .field-row + .field, .field + .field-row, .field-row + .field-row { margin-top: 6px; }
.field em { color: var(--text-3); }
.field em.r { margin-left: auto; }
.field svg { margin-left: auto; color: var(--text-3); width: 12px !important; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sw { width: 14px; height: 14px; border-radius: 3px; background: var(--c); box-shadow: 0 0 0 1px var(--line-2); transition: background-color 0.3s; }
.kv { display: flex; justify-content: space-between; align-items: center; height: 24px; color: var(--text-2); }
.kv b { color: var(--text-soft); font-weight: 500; font-size: 12px; }
.kv b.ok { color: var(--green); }
.frame-label { margin-bottom: 8px; font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.frame-label span { color: var(--text-3); margin-left: 6px; }
.frame { border-radius: 4px; overflow: hidden; box-shadow: var(--frame-shadow); }

/* ---------- Editor (hero) ---------- */
.editor { display: grid; grid-template-columns: 224px minmax(0, 1fr) 232px; grid-template-rows: 44px 620px; transform-origin: 50% 0; will-change: transform; }
.ed-top { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 10px 0 16px; border-bottom: 1px solid var(--line); }
.ed-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.ed-ghost { color: var(--text-2); font-size: 12.5px; }
.ed-publish { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 6px; font-size: 12.5px; font-weight: 510; background: var(--btn-bg); color: var(--btn-fg); transition: transform 0.15s var(--ease), background-color 0.2s, color 0.2s; }
.ed-publish.press { transform: scale(0.94); }
.ed-publish.busy::before { content: ""; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid currentColor; border-right-color: transparent; animation: spin 0.7s linear infinite; }
.ed-publish.done { background: var(--green); color: #fff; }
@keyframes spin { to { transform: rotate(360deg); } }
.ed-left { padding: 16px 8px; border-right: 1px solid var(--line); overflow: hidden; }
.ed-left .ed-h { padding: 0 8px; }
.ed-list { margin-bottom: 20px; }
.ed-list li { display: flex; align-items: center; gap: 8px; height: 28px; padding: 0 8px; border-radius: 6px; color: var(--text-2); white-space: nowrap; transition: background-color 0.25s, color 0.25s; }
.ed-list li svg { color: var(--text-3); transition: color 0.25s; }
.ed-list li.on { background: var(--hover); color: var(--text); }
.ed-tree li { padding-left: 24px; }
.ed-tree li.open { padding-left: 6px; gap: 4px; }
.ed-tree li.open svg:not(.tw) { margin-right: 4px; }
.ed-tree .tw { color: var(--text-3); }
.ed-tree li.d2 { padding-left: 42px; cursor: pointer; }
.ed-tree li.d2:hover:not(.sel) { background: var(--hover); color: var(--text-soft); }
.ed-tree li.d2:focus-visible { outline-offset: -2px; }
.ed-tree li.sel { background: var(--sel-bg); color: var(--text); }
.ed-tree li.sel svg { color: var(--indigo-ink); }
.ed-canvas, .canvas {
  position: relative; overflow: hidden;
  background-color: var(--canvas);
  background-image: radial-gradient(var(--canvas-dot) 1px, transparent 1px);
  background-size: 16px 16px;
}
.ed-canvas { padding: 22px 40px 0; }
.ed-frame { width: 100%; margin-inline: auto; transition: width 0.8s var(--ease-io); }
.ed-frame[data-device="tablet"] { width: min(100%, 520px); }
.ed-frame[data-device="phone"] { width: min(100%, 300px); }
.ed-right { border-left: 1px solid var(--line); overflow: hidden; font-size: 12px; }
.ed-sec { padding: 14px 12px 16px; border-bottom: 1px solid var(--line); }
.ed-sec .ed-h { margin-bottom: 10px; color: var(--text-soft); font-weight: 510; }
[data-f] { transition: opacity 0.25s; }
.ed-right.swap [data-f] { opacity: 0.25; }

/* Seleção que percorre as camadas */
.ed-sel {
  position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 2; pointer-events: none;
  border: 1.5px solid var(--indigo); opacity: 0;
  transition: transform 0.5s var(--ease), width 0.5s var(--ease), height 0.5s var(--ease), opacity 0.25s;
}
.ed-sel.on { opacity: 1; }
.ed-sel i { position: absolute; width: 7px; height: 7px; background: #fff; border: 1.5px solid var(--indigo); }
.ed-sel i:nth-child(1) { left: -4px; top: -4px; }
.ed-sel i:nth-child(2) { right: -4px; top: -4px; }
.ed-sel i:nth-child(3) { left: -4px; bottom: -4px; }
.ed-sel i:nth-child(4) { right: -4px; bottom: -4px; }
.ed-sel b { position: absolute; left: -1.5px; top: -1.5px; transform: translateY(-100%); padding: 0 6px; border-radius: 3px 3px 0 0; font: 510 10px/16px var(--font); color: #fff; background: var(--indigo); white-space: nowrap; }

/* Cursor do designer */
.mp-cursor {
  position: absolute; left: 0; top: 0; z-index: 5; width: 16px; height: 16px; pointer-events: none;
  transform: translate(var(--x, 520px), var(--y, 420px)); opacity: 0;
  transition: transform 0.9s var(--ease-io), opacity 0.4s;
}
.mp-cursor.on { opacity: 1; }
.mp-cursor svg { width: 16px !important; height: 16px !important; fill: var(--amber); stroke: #1c1305; stroke-width: 1; transition: transform 0.15s var(--ease); transform-origin: 2px 2px; }
.mp-cursor.press svg { transform: scale(0.82); }
.mp-cursor.flip b { left: auto; right: 10px; }
.mp-cursor b { position: absolute; left: 11px; top: 14px; padding: 0 7px; border-radius: 4px; font: 510 10.5px/18px var(--font); color: #1c1305; background: var(--amber); white-space: nowrap; }

/* ---------- Site fictício (marcas de exemplo) ----------
   A Casa Norte é o padrão; as outras marcas trocam só estas variáveis (inline, via main.js). */
.cn {
  --cn-bg: #f4f1ec; --cn-ink: #1f1d1a; --cn-muted: #6b665f; --cn-soft: #5c5850; --cn-eyebrow: #8a7b68; --cn-cap: #8a857c;
  --cn-line: rgba(31, 29, 26, 0.22); --cn-on-accent: #f4f1ec;
  --cn-display: var(--serif); --cn-logo: var(--serif); --cn-title-w: 400; --cn-title-ls: -0.012em; --cn-title-size: 4.9em;
  --cn-radius: 999px; --cn-img-r: 0.45em;
  container-type: inline-size; background: var(--cn-bg); color: var(--cn-ink); font-family: var(--font); font-feature-settings: normal; letter-spacing: 0;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease);
}
.cn-in { font-size: 1.46cqw; line-height: 1.45; transition: opacity 0.28s var(--ease), filter 0.28s var(--ease), transform 0.4s var(--ease); }
.cn.swapping .cn-in { opacity: 0; filter: blur(6px); transform: translateY(6px); }
.cn-nav { display: flex; align-items: center; justify-content: space-between; gap: 2em; padding: 1.7em 2.6em; }
.cn-logo { font-family: var(--cn-logo); font-size: 1.7em; font-weight: var(--cn-logo-w, 400); letter-spacing: var(--cn-logo-ls, -0.01em); white-space: nowrap; }
.cn-links { display: flex; gap: 2.2em; margin-left: auto; font-size: 0.95em; color: var(--cn-soft); }
.cn-burger { display: none; }
.cn-btn { display: inline-flex; align-items: center; gap: 0.45em; height: 2.7em; padding: 0 1.2em; border-radius: var(--cn-radius); font-size: 0.92em; font-weight: 500; white-space: nowrap; border: 1px solid var(--cn-line); color: var(--cn-ink); transition: background-color 0.45s, border-color 0.45s, box-shadow 0.6s, color 0.45s; }
.cn-btn--dark { background: var(--cn-accent, #1f1d1a); color: var(--cn-on-accent); border-color: var(--cn-accent, #1f1d1a); }
.cn-wa { display: none; width: 1.15em !important; height: 1.15em !important; color: #25a162; }
.cn-btn--alt.is-wa .cn-wa { display: block; }
.cn-btn--alt.flash { box-shadow: 0 0 0 0.5em rgba(37, 161, 98, 0.18); border-color: #25a162; }
.cn-hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3em; align-items: end; padding: 2.4em 2.6em 3em; }
.cn-eyebrow { display: block; font-size: 0.9em; color: var(--cn-eyebrow); }
.cn-title { margin: 0.43em 0 0.2em; font-family: var(--cn-display); font-size: var(--cn-title-size); font-weight: var(--cn-title-w); line-height: 0.98; letter-spacing: var(--cn-title-ls); text-wrap: balance; }
.cn-text { max-width: 27em; font-size: 1.05em; color: var(--cn-muted); }
.cn-actions { display: flex; gap: 0.6em; margin-top: 2em; width: max-content; }
.cn-img { aspect-ratio: 1.08; border-radius: var(--cn-img-r); overflow: hidden; }
.cn-img img, .cn-grid img { width: 100%; height: 100%; object-fit: cover; }
.cn-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4em; padding: 0 2.6em 3em; }
.cn-grid img { aspect-ratio: 16 / 10.5; border-radius: calc(var(--cn-img-r) * 0.8); }
.cn-grid figcaption { display: flex; justify-content: space-between; gap: 1em; margin-top: 0.7em; font-size: 0.95em; white-space: nowrap; }
.cn-grid figcaption span:last-child { color: var(--cn-cap); }

@container (max-width: 480px) {
  .cn-in { font-size: 4.1cqw; }
  .cn-nav { padding: 1.4em 1.6em; }
  .cn-links, .cn-nav-btn { display: none; }
  .cn-burger { display: grid; gap: 0.35em; width: 1.4em; }
  .cn-burger i { height: 1.5px; background: var(--cn-ink); }
  .cn-hero { grid-template-columns: 1fr; gap: 1.8em; padding: 1.2em 1.6em 2em; }
  .cn-title { margin: 0.55em 0 0.25em; font-size: calc(var(--cn-title-size) * 0.68); }
  .cn-img { aspect-ratio: 1.15; }
  .cn-grid { grid-template-columns: 1fr; padding: 0 1.6em 2em; }
  .cn-grid figure:nth-child(n + 2) { display: none; }
}

/* Abas de marca acima do editor */
.brand-tabs { position: relative; display: flex; justify-content: center; gap: 4px; width: max-content; margin: 0 auto 20px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); box-shadow: var(--win-shadow); }
.brand-tabs button { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 14px; border-radius: 999px; font-size: 13px; color: var(--text-2); transition: color 0.25s; }
.brand-tabs button:hover, .brand-tabs button[aria-selected="true"] { color: var(--text); }
.brand-tabs button i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); opacity: 0.5; transition: opacity 0.25s, box-shadow 0.25s; }
.brand-tabs button[aria-selected="true"] i { opacity: 1; box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent); }
.brand-ind { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--bw, 0px); border-radius: 999px; background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line); transform: translateX(var(--bx, 0px)); transition: transform 0.5s var(--ease), width 0.5s var(--ease); }
.brand-ind::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 1.5px; border-radius: 2px; background: var(--text-3); transform-origin: left; transform: scaleX(var(--bp, 0)); transition: transform 0.8s var(--ease); }

/* ---------- Clientes ---------- */
.clients { padding: 104px 0 72px; }
.logos { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.logos img { width: auto; filter: var(--logo-filter); opacity: 0.86; }
.lg-okt { height: 34px; }
.lg-matos { height: 28px; }
.lg-cerro { height: 34px; }
.lg-visual { height: 30px; }
.lg-gr { height: 36px; }
.lg-elera { display: inline-flex; align-items: center; gap: 8px; font-size: 22px; font-weight: 590; letter-spacing: -0.02em; opacity: 0.86; color: var(--text); }
.lg-elera img { height: 22px; opacity: 1; }
.lg-many { height: 34px; }
.lg-trimoo { font-weight: 700; }
.lg-kore { font-family: var(--mono, ui-monospace, monospace); font-size: 21px; font-weight: 700; letter-spacing: -0.06em; color: var(--text); opacity: 0.86; }
.lg-kore b { font-weight: 700; opacity: 0.6; }
.clients .mono-cap { margin-top: 40px; }

/* ---------- Intro ---------- */
.intro { padding: 176px 0 128px; }
.statement { max-width: 1060px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; font-weight: 510; letter-spacing: -0.022em; text-wrap: pretty; }
.statement span { color: var(--text-2); }
.figs { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 120px; }
.figs figure { display: flex; flex-direction: column; padding: 0 32px; }
.figs figure figcaption { margin-top: auto; }
.figs figure:first-child { padding-left: 0; }
.figs figure + figure { border-left: 1px solid var(--line); }
.figs figcaption { max-width: 320px; color: var(--text-2); }
.figs figcaption b { display: block; margin-bottom: 4px; color: var(--text); font-weight: 510; }

/* Ilustrações isométricas */
.fig-svg { display: block; width: 100%; max-width: 380px; height: auto; margin: 24px auto 40px; overflow: visible; }
.fig-svg polygon, .fig-svg line { stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.fig-svg .dim { stroke: var(--fig-dim); }
.fig-svg .mid { stroke: var(--fig-mid); }
.fig-svg .hi { stroke: var(--fig-hi); stroke-width: 1.4; }
.fig-svg .sel { stroke: var(--fig-hi); stroke-dasharray: 3 3; }
.fig-svg .dash { stroke-dasharray: 2 3; }
.fig-svg .f-bg { fill: var(--bg); }
.fig-svg .f-top { fill: var(--fig-top); }
.fig-svg .f-none { fill: none; }
.fig-svg .f-mid { fill: var(--fig-mid); }
.fig-svg .f-hi { fill: var(--fig-hi); }
.fig-svg .f-cta { fill: var(--fig-cta); }
.fig-svg .f-acc { fill: var(--fig-acc); }
.fig-svg .acc { stroke: var(--fig-acc); }
.fig-svg .f-card { fill: var(--fig-card); fill-opacity: 0; }
.fig-svg g { transform-box: view-box; }

/* Entrada: os traços se desenham como uma planta, depois vem o preenchimento */
.fig-svg .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .figs .fig-svg .draw { transition: stroke-dashoffset 1.3s var(--ease-io); transition-delay: calc(var(--si, 0) * 220ms + var(--k) * 16ms + 200ms); }
.js .figs:not(.in) .fig-svg .draw { stroke-dashoffset: 1; }
.js .figs .fig-svg :is(.f-bg, .f-top, .f-mid, .f-hi, .f-cta, .f-acc) { transition: fill-opacity 0.9s ease; transition-delay: calc(var(--si, 0) * 220ms + 1100ms); }
.js .figs:not(.in) .fig-svg :is(.f-bg, .f-top, .f-mid, .f-hi, .f-cta, .f-acc) { fill-opacity: 0; }
.js .figs .fig-svg :is(.conn, .dash-grp, .rings, .ptr, .lanes, .streaks) { transition: opacity 0.8s ease; transition-delay: calc(var(--si, 0) * 220ms + 1400ms); }
.js .figs:not(.in) .fig-svg :is(.conn, .dash-grp, .rings, .ptr, .lanes, .streaks) { opacity: 0; }

/* Fig 0.1 — camadas: empilham na entrada, respiram, e se abrem no hover */
.fig-layers .lyr { transition: transform 1.3s var(--ease); transition-delay: calc(var(--si, 0) * 220ms + (4 - var(--i)) * 80ms + 150ms); }
.js .figs:not(.in) .fig-layers .lyr { transform: translateY(calc(var(--i) * -12px - 14px)); }
.figs.in figure:hover .fig-layers .lyr { transform: translateY(calc(var(--i) * -8px)); transition: transform 0.8s var(--ease); transition-delay: calc(var(--i) * 30ms); }
.figs.in figure:hover .fig-layers .conn { opacity: 0; transition-delay: 0s; }
.fig-layers .lyr-b { animation: breathe 8s var(--ease-io) 3.2s infinite; }
@keyframes breathe { 0%, 50%, 100% { transform: none; } 70% { transform: translateY(calc(var(--i) * -4px)); } }
.fig-layers .wf-sel { opacity: 0; animation: sel-blink 8s ease 3.2s infinite; }
@keyframes sel-blink { 0%, 8% { opacity: 0; } 14%, 62% { opacity: 1; } 70%, 100% { opacity: 0; } }
.fig-layers .wf-card .f-card { animation: card-fill 8s ease infinite; animation-delay: calc(3.6s + var(--c) * 0.45s); }
@keyframes card-fill { 0%, 22% { fill-opacity: 0; } 30%, 58% { fill-opacity: 1; } 70%, 100% { fill-opacity: 0; } }

/* Fig 0.2 — um cursor clica no bloco de destaque e a atenção se espalha */
.fig-blocks .lift { transform: translateY(-3px); animation: lift 5s var(--ease-io) 2.4s infinite; }
@keyframes lift {
  0%, 32% { transform: translateY(-3px); }
  37% { transform: translateY(1px); }
  46% { transform: translateY(-17px); }
  62% { transform: translateY(-11px); }
  100% { transform: translateY(-3px); }
}
.fig-blocks .blk { animation: wave 5s var(--ease-io) infinite; animation-delay: calc(2.4s + var(--d) * 0.13s); }
@keyframes wave { 0%, 38% { transform: none; } 46% { transform: translateY(-5px); } 58%, 100% { transform: none; } }
.fig-blocks .ring { fill: none; stroke: var(--fig-mid); stroke-width: 1; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ring 5s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; animation-delay: calc(2.4s + var(--r) * 0.2s); }
@keyframes ring { 0%, 37% { opacity: 0; transform: scale(0.3); } 42% { opacity: 0.9; } 82%, 100% { opacity: 0; transform: scale(1.45); } }
.fig-blocks .ptr { transform: translate(var(--tx), var(--ty)); }
.fig-blocks .ptr-i { opacity: 0; animation: ptr 5s var(--ease-io) 2.4s infinite; }
.fig-blocks .ptr-p { fill: var(--fig-hi); stroke: var(--bg); stroke-width: 1.2; stroke-linejoin: round; }
@keyframes ptr {
  0% { opacity: 0; transform: translate(70px, 58px); }
  10% { opacity: 1; }
  31% { opacity: 1; transform: translate(0, 0) scale(1); }
  36% { transform: translate(0, 0) scale(0.84); }
  41% { transform: translate(0, -2px) scale(1); }
  68% { opacity: 1; transform: translate(0, -2px); }
  90%, 100% { opacity: 0; transform: translate(64px, 50px); }
}

/* Fig 0.3 — velocidade: rastros e faixas passando sem parar */
.fig-speed .lane { stroke: var(--fig-dim); stroke-dasharray: 14 12; animation: lane 0.9s linear infinite; }
@keyframes lane { to { stroke-dashoffset: 26; } }
.fig-speed .streak { stroke-width: 1.2; opacity: var(--o); stroke-dasharray: 70 40; animation: streak 1.1s linear infinite; animation-delay: calc(var(--k) * -0.17s); }
@keyframes streak { to { stroke-dashoffset: 110; } }
.fig-speed .st0 { stop-color: var(--fig-streak); stop-opacity: 0; }
.fig-speed .st1 { stop-color: var(--fig-streak); stop-opacity: 1; }
.fig-speed .mover { transition: transform 0.6s var(--ease); }
.fig-speed .mover-b { animation: nudge 2.6s var(--ease-io) infinite; }
@keyframes nudge { 0%, 100% { transform: none; } 50% { transform: translate(2.6px, 1.5px); } }
.figs figure:hover .fig-speed .streak { animation-duration: 0.55s; }
.figs figure:hover .fig-speed .lane { animation-duration: 0.45s; }
.figs figure:hover .fig-speed .mover { transform: translate(7px, 4px); }

/* ---------- Seções de recurso ---------- */
.feature { padding: 128px 0; border-top: 1px solid var(--line); }
.fhead { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.fhead h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1; font-weight: 510; letter-spacing: -0.022em; }
.fhead p { max-width: 560px; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.33; letter-spacing: -0.012em; color: var(--text-soft); }
.more { display: inline-flex; align-items: center; gap: 6px; margin-top: 32px; color: var(--text-2); transition: color 0.15s; }
.more svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.more:hover { color: var(--text); }
.more:hover svg { transform: translateX(2px); }

.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; }
.incl > span { color: var(--text-3); }
.incl > div { display: grid; grid-template-columns: 1fr 1fr; }
.incl ul { display: grid; gap: 4px; color: var(--text-2); }
.incl ul + ul { padding-left: 32px; border-left: 1px solid var(--line); }

/* Composições: largas, sangrando à direita e sumindo nas bordas */
.comp { position: relative; margin-top: 80px; overflow-x: clip; }
.comp-inner {
  position: relative; width: var(--w); margin-inline: auto; height: var(--h, 580px);
  -webkit-mask-image: linear-gradient(90deg, #000 0, #000 78%, transparent 100%), linear-gradient(180deg, #000 var(--fade, 72%), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, #000 0, #000 78%, transparent 100%), linear-gradient(180deg, #000 var(--fade, 72%), transparent 100%);
  mask-composite: intersect;
}
@media (max-width: 1344px) { .comp-inner { margin-left: var(--gutter); } }
@media (min-width: 1345px) {
  .comp--launch .comp-inner { -webkit-mask-image: linear-gradient(180deg, #000 var(--fade, 72%), transparent 100%); mask-image: linear-gradient(180deg, #000 var(--fade, 72%), transparent 100%); }
}
.comp .win { position: absolute; }

/* Design: canvas + estilos */
.comp--design { --h: 620px; --fade: 86%; }
.canvas-win { left: 250px; top: 0; width: 1180px; height: 600px; }
.canvas-win .win-h { justify-content: space-between; }
.tools { display: flex; gap: 2px; }
.tools span { display: grid; place-items: center; width: 28px; height: 26px; border-radius: 6px; color: var(--text-2); }
.tools span.on { background: var(--indigo); color: #fff; }
.zoom { color: var(--text-2); font-size: 12px; }
.canvas { height: calc(100% - 44px); }
.cframe { position: absolute; top: 44px; }
.cframe--desk { left: 150px; width: 620px; }
.cframe--phone { left: 810px; width: 214px; }
.cframe--phone .frame { border-radius: 14px; }
.pin { position: absolute; left: 380px; top: 142px; display: flex; gap: 8px; align-items: flex-start; transform-origin: 11px 11px; }
.pin > i { box-shadow: 0 0 0 2px var(--canvas), 0 0 0 3px var(--c); }
.pin div { max-width: 210px; padding: 8px 10px; border-radius: 10px; border-top-left-radius: 2px; background: var(--pop-bg); border: 1px solid var(--line-2); box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.35); font-size: 12px; line-height: 1.45; color: var(--text-soft); transform-origin: 0 0; }
.pin div b { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 2px; color: var(--text); font-weight: 510; }
.pin div em { color: var(--text-3); font-weight: 400; }

.styles-win { left: 0; top: 76px; width: 300px; padding-bottom: 16px; z-index: 2; }
.styles-win .win-h { justify-content: space-between; }
.tabs-mini { display: flex; gap: 12px; color: var(--text-3); font-size: 12px; }
.tabs-mini .on { color: var(--text); }
.type-list { padding: 6px 8px 10px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.type-list li { display: flex; align-items: center; gap: 12px; height: 48px; padding: 0 8px; border-radius: 8px; transition: background-color 0.2s; }
.type-list li:first-child, .type-list li:hover { background: var(--hover); }
.type-list .aa { width: 34px; text-align: center; color: var(--text); line-height: 1; }
.type-list div { display: grid; line-height: 1.35; }
.type-list b { color: var(--text); font-weight: 510; }
.type-list em { color: var(--text-3); font-size: 12px; }
.t-d { font-family: var(--serif); font-size: 30px; }
.t-h { font-family: var(--serif); font-size: 22px; }
.t-b { font-size: 16px; }
.t-c { font-size: 12px; }
.styles-win > .ed-h { padding: 0 16px; }
.styles-win > .ed-h em { color: var(--text-3); opacity: 0.8; }
.swatches { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0 16px; font-size: 11px; color: var(--text-2); }
.swatches button { display: grid; gap: 6px; text-align: left; border-radius: 8px; transition: color 0.2s; }
.swatches button:hover, .swatches button[aria-checked="true"] { color: var(--text); }
.swatches i { position: relative; height: 44px; border-radius: 6px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); transition: transform 0.2s var(--ease), box-shadow 0.2s; }
.swatches button:hover i { transform: translateY(-2px); }
.swatches button[aria-checked="true"] i { box-shadow: 0 0 0 2px var(--panel), 0 0 0 3.5px var(--text-2); }

/* Desenvolvimento: código + prévia */
.comp--dev { --h: 600px; --fade: 88%; }
.code-win { left: 0; top: 0; width: 800px; height: 500px; display: grid; grid-template-columns: 190px minmax(0, 1fr); background: var(--code-bg); }
.code-tabs { gap: 0; padding: 0; }
.code-tabs span { display: flex; align-items: center; gap: 8px; height: 100%; padding: 0 16px; border-right: 1px solid var(--line); color: var(--text-3); }
.code-tabs span.on { color: var(--text); background: var(--code-bg); box-shadow: inset 0 -1px 0 var(--indigo-soft); }
.code-tabs em { display: flex; align-items: center; gap: 6px; margin-left: auto; padding-right: 16px; color: var(--text-3); font-family: var(--mono); font-size: 11.5px; }
.code { counter-reset: ln; padding: 16px 0; font-family: var(--mono); font-size: 12.5px; line-height: 24px; color: var(--c-text); }
.code li { counter-increment: ln; padding-left: 64px; position: relative; white-space: pre; transition: background-color 0.4s; }
.code li::before { content: counter(ln); position: absolute; left: 0; width: 44px; text-align: right; color: var(--c-ln); }
.code li.add { background: var(--c-add); box-shadow: inset 2px 0 0 var(--green); }
.code li.add::before { color: var(--green); }
.code s { color: var(--c-punct); }
.code t { color: var(--c-tag); }
.code a { color: var(--c-attr); }
.code q { color: var(--c-str); }
.tw { display: inline-block; vertical-align: top; }
.js .comp--dev .tw { width: 0; overflow: hidden; }
.js .comp--dev .code li.add { background: transparent; box-shadow: none; }
.js .comp--dev .code li.add.typing, .js .comp--dev .code li.add.typed { background: var(--c-add); box-shadow: inset 2px 0 0 var(--green); }
.js .comp--dev .code li.add.typing .tw { animation: type var(--dur) steps(var(--n)) forwards; border-right: 2px solid var(--text); }
.js .comp--dev .code li.add.typed .tw { width: calc(var(--n) * 1ch); border-right: 0; }
@keyframes type { to { width: calc(var(--n) * 1ch); } }

.preview-win { left: 640px; top: 56px; width: 640px; }
.browser-h { gap: 14px; height: 40px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot); }
.url { display: flex; align-items: center; justify-content: center; gap: 6px; flex: 1; max-width: 300px; height: 24px; margin: 0 auto; border-radius: 6px; background: var(--hover); font-size: 12px; color: var(--text-2); }
.url svg { width: 11px !important; height: 11px !important; }
.status { display: flex; align-items: center; gap: 6px; min-width: 104px; justify-content: flex-end; font-size: 12px; color: var(--text-2); }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(76, 183, 130, 0.18); transition: background-color 0.3s, box-shadow 0.3s; }
.status.idle i { background: var(--text-3); box-shadow: none; }
.status.busy i { background: var(--amber); box-shadow: 0 0 0 3px rgba(227, 168, 87, 0.2); animation: pulse 0.8s ease-in-out infinite alternate; }
@keyframes pulse { to { opacity: 0.35; } }
.preview-win .frame { border-radius: 0; box-shadow: none; transition: filter 0.35s, opacity 0.35s; }
.preview-win .frame.reloading { filter: blur(2px); opacity: 0.6; }

/* Lançamento: métricas */
.comp--launch { --h: 600px; --fade: 84%; }
.dash-win { left: 190px; top: 0; width: 960px; height: 590px; display: grid; grid-template-columns: 172px minmax(0, 1fr); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.kpis li { display: grid; gap: 2px; padding: 16px 20px; }
.kpis li + li { border-left: 1px solid var(--line); }
.kpis span { color: var(--text-2); font-size: 12px; }
.kpis b { font-size: 24px; line-height: 1.3; font-weight: 510; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.kpis b.bump { color: var(--green); }
.kpis em { font-size: 12px; color: var(--text-3); }
.kpis em.up { color: var(--green); }
.chart { padding: 20px 20px 12px; border-bottom: 1px solid var(--line); }
.chart svg { display: block; width: 100%; height: 150px; overflow: visible; }
.chart .prev { fill: none; stroke: var(--text-3); stroke-width: 1.2; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; opacity: 0.6; }
.grid-lines line { stroke: var(--line); stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.chart .line { fill: none; stroke: var(--indigo-soft); stroke-width: 1.6; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
.axis { display: flex; justify-content: space-between; margin-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--text-3); text-transform: uppercase; }
.dash-split { display: grid; grid-template-columns: 1fr 1fr; }
.dash-split > div { padding: 16px 20px; }
.dash-split > div + div { border-left: 1px solid var(--line); }
.bars li { position: relative; display: flex; justify-content: space-between; align-items: center; height: 30px; padding: 0 10px; margin-bottom: 4px; font-size: 12.5px; }
.bars li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: 5px; background: var(--hover); transition: width 1s var(--ease); transition-delay: calc(var(--i) * 90ms + 300ms); }
.bars span { position: relative; color: var(--text-soft); }
.bars b { position: relative; color: var(--text-2); font-weight: 400; font-variant-numeric: tabular-nums; }

.perf-win { left: 0; top: 236px; width: 280px; }
.perf-main { display: flex; align-items: center; gap: 18px; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.gauge { position: relative; width: 72px; height: 72px; }
.gauge svg { width: 72px !important; height: 72px !important; transform: rotate(-90deg); }
.gauge circle { fill: none; stroke: rgba(76, 183, 130, 0.14); stroke-width: 5; }
.gauge circle.g { stroke: var(--green); stroke-linecap: round; stroke-dasharray: calc(175.9 * var(--v)) 175.9; transition: stroke-dasharray 1.4s var(--ease) 0.2s; }
.gauge b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 510; color: var(--green); font-variant-numeric: tabular-nums; }
.perf-main ul { flex: 1; display: grid; gap: 6px; font-size: 12px; color: var(--text-2); }
.perf-main li { display: flex; align-items: center; gap: 8px; }
.perf-main li i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.perf-main li b { margin-left: auto; color: var(--text-soft); font-weight: 510; }
.vitals { padding: 8px 16px 12px; }
.vitals li { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; height: 30px; font-size: 12px; }
.vitals span { font-family: var(--mono); color: var(--text-3); }
.vitals b { color: var(--text-soft); font-weight: 510; }
.vitals em { color: var(--green); }

.leads-win { left: 960px; top: 200px; width: 320px; }
.badge { margin-left: auto; padding: 0 8px; height: 20px; line-height: 20px; border-radius: 999px; background: rgba(76, 183, 130, 0.14); color: var(--green); font-size: 11.5px; font-weight: 510; transition: transform 0.3s var(--ease); }
.badge.bump { transform: scale(1.12); }
.leads { padding: 6px; }
.leads li { display: grid; grid-template-columns: 22px 1fr 16px; gap: 10px; align-items: start; padding: 10px; border-radius: 8px; transition: background-color 0.6s; }
.leads li:first-child { background: var(--hover); }
.leads li.new { animation: lead-in 0.7s var(--ease) both; }
@keyframes lead-in { from { opacity: 0; transform: translateY(-10px); max-height: 0; padding-block: 0; } to { opacity: 1; transform: none; max-height: 80px; } }
.leads div { min-width: 0; display: grid; line-height: 1.4; }
.leads div b { display: flex; justify-content: space-between; color: var(--text); font-weight: 510; }
.leads div b em { color: var(--text-3); font-weight: 400; font-size: 12px; }
.leads div b em.now { color: var(--green); }
.leads div span { color: var(--text-2); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.src { width: 16px !important; height: 16px !important; margin-top: 2px; color: var(--text-3); }
.src--wa { color: var(--green); }

/* ---------- Trabalhos ---------- */
.tabs { position: relative; display: flex; gap: 24px; margin: 72px 0 32px; border-bottom: 1px solid var(--line); }
.tabs button { position: relative; padding: 0 0 14px; color: var(--text-2); transition: color 0.2s; }
.tabs button:hover { color: var(--text); }
.tabs button[aria-selected="true"] { color: var(--text); }
.tabs button span { margin-left: 4px; font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.tabs-hint { margin-left: auto; align-self: center; padding-bottom: 14px; font-size: 12.5px; color: var(--text-3); transition: opacity 0.3s; }
.tabs.concepts .tabs-hint { opacity: 0; }
.tab-ind { position: absolute; left: 0; bottom: -1px; height: 1px; width: var(--tw, 0px); background: var(--text); transform: translateX(var(--tx, 0px)); transition: transform 0.45s var(--ease), width 0.45s var(--ease); }
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; }
.work[hidden] { display: none; }
.work li { grid-column: span 3; }
.work li.w-lg { grid-column: span 6; }
.work li.w-md { grid-column: span 4; }
.tile { display: block; width: 100%; }
.tile-img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; border-radius: 10px; background: var(--panel); }
.tile-img::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line); pointer-events: none; }
.tile-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.9s var(--ease); }
.tile-img.light { background: #eceef1; }
.tile:hover .tile-img:not(.scroll) img { transform: scale(1.02); }
.tile-cap { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-top: 16px; }
.tile-cap div { display: grid; }
.tile-cap b { color: var(--text-soft); font-weight: 510; transition: color 0.2s; }
.tile:hover .tile-cap b { color: var(--text); }
.tile-cap span { color: var(--text-2); }
.tile-cap svg { width: 16px; height: 16px; margin-top: 4px; color: var(--text-2); opacity: 0; transform: translate(-3px, 3px); transition: opacity 0.2s, transform 0.25s var(--ease); }
.tile:hover .tile-cap svg { opacity: 1; transform: none; }

/* ---------- Processo ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 80px; }
.steps li { position: relative; padding-top: 56px; }
.steps li::before { content: ""; position: absolute; top: 8px; left: 20px; right: -32px; height: 1px; background: var(--line-2); transform-origin: left; }
.steps li:last-child::before { right: 0; }
.steps li i { position: absolute; top: 0; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--panel-3); }
.steps li i::after { content: ""; position: absolute; inset: 6px; border-radius: 50%; background: var(--text); transition: background-color 0.4s, transform 0.4s var(--ease); }
.steps b { display: block; color: var(--text-soft); font-weight: 510; }
.steps p { margin-top: 8px; max-width: 280px; color: var(--text-2); }
.steps .mono-cap { margin-top: 24px; }

/* ---------- CTA ---------- */
.cta { padding: 184px 0 200px; border-top: 1px solid var(--line); text-align: center; }
.cta h2 { font-size: clamp(40px, 5.6vw, 72px); line-height: 1; font-weight: 510; letter-spacing: -0.022em; }
.cta-actions { display: flex; justify-content: center; gap: 12px; margin-top: 40px; }
.cta { padding-top: 120px; }
@keyframes settle { 0%, 12% { transform: none; } 38%, 70% { transform: translateY(calc(var(--drop) - 3px)); } 92%, 100% { transform: none; } }
@keyframes guide { 0%, 12% { opacity: 1; } 34%, 74% { opacity: 0; } 92%, 100% { opacity: 1; } }

/* ---------- Rodapé ---------- */
.footer { padding: 64px 0 48px; border-top: 1px solid var(--line); font-size: 13px; letter-spacing: 0; }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; gap: 48px; }
.footer .brand-logo { height: 24px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 32px; }
.footer-cols div { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-cols h3 { margin-bottom: 6px; font-weight: 510; color: var(--text); }
.footer-cols a { color: var(--text-2); transition: color 0.15s; }
.footer-cols a:hover { color: var(--text); }
.footer-base { display: flex; justify-content: space-between; margin-top: 80px; color: var(--text-3); }

/* ---------- Lightbox ---------- */
.lightbox { width: min(1200px, 100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); overflow: auto; }
.lightbox[open] { animation: pop-in 0.35s var(--ease); }
.lightbox::backdrop { background: rgba(0, 0, 0, 0.8); animation: fade 0.3s; }
@keyframes pop-in { from { opacity: 0; transform: translateY(8px) scale(0.985); } }
@keyframes fade { from { opacity: 0; } }
.lightbox img { width: 100%; }
.lightbox-bar { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; }
.lightbox-bar button { color: var(--text-2); }
.lightbox-bar button:hover { color: var(--text); }

/* ================= Adições v7 ================= */
kbd {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 5px;
  font: 500 11px/1 var(--mono); color: var(--text-2); background: var(--panel-2); border: 1px solid var(--line-2); box-shadow: 0 1px 0 var(--line);
}
.kbd-btn { display: inline-flex; align-items: center; gap: 3px; height: 28px; padding: 0 5px; border-radius: 8px; border: 1px solid var(--line); transition: border-color 0.15s, background-color 0.15s; }
.kbd-btn:hover { background: var(--hover); border-color: var(--line-2); }
.kbd-btn kbd { height: 18px; min-width: 18px; font-size: 10.5px; box-shadow: none; }
.btn svg { width: 17px; height: 17px; }

/* Menu do celular: itens entram em sequência */
.menu .btn { margin-top: 24px; height: 48px; font-size: 16px; }

/* Editor: medidas, distâncias e barra flutuante */
.ed-sel .dims { position: absolute; left: 50%; top: calc(100% + 6px); transform: translateX(-50%); padding: 0 6px; border-radius: 4px; font: 500 10px/17px var(--mono); color: #fff; background: var(--indigo); white-space: nowrap; }
.ed-gap { position: absolute; left: 0; top: 0; z-index: 2; width: 1px; height: 0; background: #f2555a; opacity: 0; pointer-events: none; transition: transform 0.5s var(--ease), height 0.5s var(--ease), opacity 0.25s; }
.ed-gap.on { opacity: 1; }
.ed-gap::before, .ed-gap::after { content: ""; position: absolute; left: -4px; width: 9px; height: 1px; background: #f2555a; }
.ed-gap::before { top: 0; }
.ed-gap::after { bottom: 0; }
.ed-gap span { position: absolute; left: 7px; top: 50%; transform: translateY(-50%); padding: 0 5px; border-radius: 4px; font: 500 10px/16px var(--mono); color: #fff; background: #f2555a; }
.ed-dock {
  position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 11px;
  background: var(--panel); border: 1px solid var(--line-2); box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.45);
}
.ed-dock span { display: grid; place-items: center; width: 30px; height: 28px; border-radius: 7px; color: var(--text-2); }
.ed-dock span.on { background: var(--indigo); color: #fff; }
.ed-dock i { width: 1px; height: 16px; margin: 0 4px; background: var(--line-2); }
.ed-align { display: flex; align-items: center; gap: 2px; padding: 10px 12px; }
.ed-align span { display: grid; place-items: center; width: 26px; height: 24px; border-radius: 5px; color: var(--text-3); }
.ed-align span.on { color: var(--text); background: var(--hover); }
.ed-align i { flex: 1; }

/* Design: variantes de componente e cursor do cliente */
.comps-win { left: 60px; top: 478px; width: 470px; z-index: 3; }
.variants { --cn-ink: #1f1d1a; --cn-line: rgba(31, 29, 26, 0.22); --cn-on-accent: #f4f1ec; --cn-radius: 999px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 12px; padding: 18px 16px 14px; border-radius: 8px; background: #f4f1ec; font-size: 13px; }
.variants div { display: grid; justify-items: start; gap: 10px; }
.variants em { font-size: 11px; color: #8a857c; }
.v-hover { box-shadow: inset 0 0 0 99px rgba(255, 255, 255, 0.16), 0 0 0 3px rgba(31, 29, 26, 0.12); }
.mp-cursor--client svg { fill: var(--indigo-soft); stroke: #0b0c1a; }
.mp-cursor--client b { background: var(--indigo-soft); color: #0b0c1a; }
.mp-cursor--client { transition: none; animation: client-move 10s var(--ease-io) infinite; }
@keyframes client-move {
  0%, 8% { transform: translate(700px, 440px); }
  30%, 40% { transform: translate(330px, 330px); }
  62%, 72% { transform: translate(900px, 250px); }
  100% { transform: translate(700px, 440px); }
}

/* Desenvolvimento: explorador, barra de status, terminal e abas do navegador */
.code-side { padding: 10px 6px; border-right: 1px solid var(--line); background: var(--panel); font-size: 12.5px; }
.side-h { padding: 6px 10px 10px; font: 500 10.5px/1 var(--mono); letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.tree li { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 8px; border-radius: 6px; color: var(--text-2); white-space: nowrap; }
.tree li svg { width: 13px !important; height: 13px !important; color: var(--text-3); }
.tree li.l1 { padding-left: 22px; }
.tree li.l2 { padding-left: 38px; }
.tree li.on { background: var(--sel-bg); color: var(--text); }
.fi-html { color: #e8734a !important; }
.fi-css { color: #6a9cf0 !important; }
.fi-js { color: #d9b53f !important; }
.code-main { display: flex; flex-direction: column; min-width: 0; }
.code-main .code { flex: 1; }
.mod-dot { width: 7px; height: 7px; margin-left: 4px; border-radius: 50%; background: var(--text-2); opacity: 0; transition: opacity 0.3s; }
.comp--dev.dirty .mod-dot { opacity: 1; }
.statusbar { display: flex; gap: 18px; align-items: center; height: 26px; padding: 0 14px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); white-space: nowrap; }
.statusbar span:first-child { display: flex; align-items: center; gap: 5px; margin-right: auto; }
.statusbar svg { width: 12px !important; height: 12px !important; }
.term-win { left: 110px; top: 372px; width: 470px; background: var(--code-bg); }
.term-win .win-h { gap: 8px; height: 38px; }
.term-win .win-h svg { color: var(--text-3); }
.term { padding: 10px 16px 14px; font: 12.5px/24px var(--mono); color: var(--c-text); }
.term .cmd span:first-child { color: var(--text-3); }
.term .cmd b { color: var(--indigo-soft); font-weight: 500; }
.term .out { display: flex; align-items: center; gap: 8px; }
.term .out svg { width: 13px !important; height: 13px !important; color: var(--green); }
.term u { text-decoration: none; color: var(--text-soft); border-bottom: 1px dotted var(--text-3); }
.js .comp--dev .term .out { opacity: 0; transform: translateY(4px); transition: opacity 0.35s, transform 0.35s var(--ease); }
.js .comp--dev .term .out.show { opacity: 1; transform: none; }
.js .comp--dev #termCmd { width: 0; overflow: hidden; vertical-align: bottom; white-space: pre; }
.js .comp--dev #termCmd.typing { animation: type var(--dur) steps(var(--n)) forwards; border-right: 2px solid var(--text); }
.js .comp--dev #termCmd.typed { width: calc(var(--n) * 1ch); }
.browser-tabs { display: flex; align-items: flex-end; gap: 2px; height: 40px; padding: 0 10px; background: var(--panel-2); border-bottom: 1px solid var(--line); }
.browser-tabs .dots { align-self: center; margin-right: 12px; }
.btab { display: flex; align-items: center; gap: 7px; height: 31px; padding: 0 14px; border-radius: 8px 8px 0 0; font-size: 12px; color: var(--text-3); white-space: nowrap; }
.btab.on { background: var(--panel); color: var(--text-soft); box-shadow: 0 0 0 1px var(--line); }
.btab .crumb-logo { width: 12px !important; height: 12px !important; }
.btab-fav { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 3px; font: 400 8px var(--serif); color: #f4f1ec; background: #1f1d1a; }
.btab-add { width: 14px !important; height: 14px !important; margin: 0 0 8px 6px; color: var(--text-3); }

/* Lançamento: menu lateral e marcador do gráfico */
.dash-side { display: flex; flex-direction: column; padding: 12px 8px; border-right: 1px solid var(--line); background: var(--panel-2); font-size: 12.5px; }
.dash-brand { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; margin-bottom: 10px; color: var(--text); font-weight: 510; }
.dash-brand i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 5px; background: #f4f1ec; color: #1f1d1a; font: 400 10px var(--serif); }
.dash-brand svg { width: 12px !important; height: 12px !important; margin-left: auto; color: var(--text-3); }
.dash-side li { display: flex; align-items: center; gap: 9px; height: 30px; padding: 0 8px; border-radius: 6px; color: var(--text-2); }
.dash-side li svg { color: var(--text-3); }
.dash-side li.on { background: var(--hover); color: var(--text); }
.dash-side li.on svg { color: var(--text-soft); }
.dash-side li b { margin-left: auto; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; display: grid; place-items: center; font-size: 10.5px; font-weight: 600; color: #fff; background: var(--indigo); transition: transform 0.3s var(--ease); }
.dash-side li b.bump { transform: scale(1.2); }
.dash-side-end { margin-top: auto; }
.dash-main { display: flex; flex-direction: column; min-width: 0; }
.chart-head { display: flex; gap: 16px; margin-bottom: 10px; font-size: 11.5px; color: var(--text-2); }
.chart-head span { display: flex; align-items: center; gap: 6px; }
.chart-head i { width: 10px; height: 2px; border-radius: 2px; background: var(--indigo-soft); }
.chart-head i.dim { background: repeating-linear-gradient(90deg, var(--text-3) 0 3px, transparent 3px 5px); }
.plot { position: relative; }
.xhair { position: absolute; top: 0; bottom: 0; left: 0; width: 0; opacity: 0; pointer-events: none; transform: translateX(var(--px, 0px)); transition: transform 0.9s var(--ease-io), opacity 0.4s; }
.xhair.on { opacity: 1; }
.xhair::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; border-left: 1px dashed var(--line-2); }
.xhair > i { position: absolute; left: -4.5px; top: var(--py, 50%); width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--panel); border: 2px solid var(--indigo-soft); transition: top 0.9s var(--ease-io); }
.tip { position: absolute; left: 12px; top: calc(var(--py, 50%) - 44px); padding: 6px 10px; border-radius: 8px; background: var(--pop-bg); border: 1px solid var(--line-2); box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4); font-size: 11.5px; color: var(--text-2); white-space: nowrap; transition: top 0.9s var(--ease-io); }
.tip em { display: block; color: var(--text-3); font-size: 11px; }
.tip b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.xhair.flip .tip { left: auto; right: 12px; }

/* Formatos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 72px; }
.plan { display: flex; flex-direction: column; padding: 8px 8px 24px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), transparent 70%); transition: border-color 0.3s; }
.plan:hover { border-color: var(--line-2); }
.plan h3 { padding: 0 16px; font-size: 18px; font-weight: 510; letter-spacing: -0.015em; color: var(--text); }
.plan > p { padding: 6px 16px 0; color: var(--text-2); min-height: 72px; }
.plan ul { display: grid; gap: 8px; margin: 20px 16px 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-soft); }
.plan li { display: flex; align-items: center; gap: 10px; }
.plan li svg { width: 15px; height: 15px; color: var(--text-3); }
.plan .btn { margin: auto 16px 0; }
.btn-block { width: calc(100% - 32px); }
.plan-art {
  position: relative; height: 220px; margin-bottom: 24px; overflow: hidden; border-radius: 10px;
  background-color: var(--canvas); background-image: radial-gradient(var(--canvas-dot) 1px, transparent 1px); background-size: 14px 14px;
  border: 1px solid var(--line);
}

/* Formatos: ilustrações isométricas no mesmo traço das Fig 0.x */
.plan-art { position: relative; display: grid; place-items: center; height: 250px; margin-bottom: 22px; overflow: hidden; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.plan > .plan-for { min-height: 0; padding: 2px 16px 0; font-size: 12.5px; color: var(--text-3); }
.plan > p:not(.plan-for) { padding-top: 10px; }
.fig-fmt { display: block; width: 100%; height: 100%; overflow: visible; }
.fig-fmt polygon, .fig-fmt line { stroke-width: 1; stroke-linejoin: round; stroke-linecap: round; }
.fig-fmt .dim { stroke: var(--fig-dim); }
.fig-fmt .mid { stroke: var(--fig-mid); }
.fig-fmt .hi { stroke: var(--fig-hi); stroke-width: 1.3; }
.fig-fmt .acc { stroke: var(--fig-acc); }
.fig-fmt .dash { stroke-dasharray: 2 3; }
.fig-fmt .f-bg { fill: var(--panel); }
.fig-fmt .f-top { fill: var(--panel-2); }
.fig-fmt .f-none { fill: none; }
.fig-fmt .f-hi { fill: var(--fig-hi); }
.fig-fmt .f-acc { fill: var(--fig-acc); }
.fig-fmt g { transform-box: view-box; }
.fig-fmt .draw { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .plans .fig-fmt .draw { transition: stroke-dashoffset 1.2s var(--ease-io); transition-delay: calc(var(--si, 0) * 180ms + var(--k) * 14ms + 150ms); }
.js .plans:not(.in) .fig-fmt .draw { stroke-dashoffset: 1; }
.js .plans .fig-fmt :is(.f-bg, .f-top, .f-hi, .f-acc) { transition: fill-opacity 0.8s ease; transition-delay: calc(var(--si, 0) * 180ms + 1s); }
.js .plans:not(.in) .fig-fmt :is(.f-bg, .f-top, .f-hi, .f-acc) { fill-opacity: 0; }
/* Landing: o cursor clica no botão principal */
.fig-landing .lift { animation: lift 5s var(--ease-io) 2.4s infinite; }
.fig-landing .ptr { transform: translate(var(--tx), var(--ty)); }
.fig-landing .ptr-i { opacity: 0; animation: ptr 5s var(--ease-io) 2.4s infinite; }
.fig-landing .ptr-p { fill: var(--fig-hi); stroke: var(--panel); stroke-width: 1.2; stroke-linejoin: round; }
/* Institucional: as páginas se acendem em sequência, como uma navegação */
.fig-site .pg-b { animation: pg-wave 6s var(--ease-io) infinite; animation-delay: calc(2s + var(--i) * 0.5s); }
@keyframes pg-wave { 0%, 34%, 100% { transform: none; } 12%, 22% { transform: translateY(-9px); } }
.fig-site .links line { stroke-dasharray: 3 3; animation: lane 1.2s linear infinite; }
.plan:hover .fig-site .pg-b { animation-duration: 3s; }
/* Sistema: as barras do gráfico sobem como dados chegando */
.fig-app .kcol-b { animation: col-wave 4.8s var(--ease-io) infinite; animation-delay: calc(2s + var(--i) * 0.16s); }
@keyframes col-wave { 0%, 40%, 100% { transform: none; } 20% { transform: translateY(-6px); } }
.fig-app .kcol:last-child .kcol-b { animation-name: col-top; }
@keyframes col-top { 0%, 40%, 100% { transform: none; } 20% { transform: translateY(-14px); } }

/* Dúvidas */
.faq { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
.faq-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.faq-head h2 { font-size: clamp(34px, 3.6vw, 48px); line-height: 1; font-weight: 510; letter-spacing: -0.022em; }
.faq-head p { margin-top: 20px; color: var(--text-2); }
.faq-head a { color: var(--text); border-bottom: 1px solid var(--line-2); transition: border-color 0.2s; }
.faq-head a:hover { border-color: var(--text); }
.qa { border-bottom: 1px solid var(--line); }
.qa:first-child { border-top: 1px solid var(--line); }
.qa button { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; padding: 22px 0; font-size: 17px; font-weight: 510; letter-spacing: -0.015em; color: var(--text); text-align: left; }
.qa button i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line-2); transition: transform 0.4s var(--ease), background-color 0.2s; }
.qa button i::before, .qa button i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 1.5px; margin: -0.75px 0 0 -5px; background: var(--text-2); border-radius: 1px; }
.qa button i::after { transform: rotate(90deg); }
.qa button:hover i { background: var(--hover); }
.qa.open button i { transform: rotate(135deg); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.45s var(--ease); }
.qa.open .qa-a { grid-template-rows: 1fr; }
.qa-a > div { overflow: hidden; }
.qa-a p { max-width: 600px; padding: 0 48px 24px 0; color: var(--text-2); opacity: 0; transform: translateY(-4px); transition: opacity 0.35s, transform 0.45s var(--ease); }
.qa.open .qa-a p { opacity: 1; transform: none; transition-delay: 0.08s; }

/* CTA e rodapé */
.cta-hint { margin-top: 32px; font-size: 13px; color: var(--text-3); }
.cta-hint kbd { margin: 0 1px; }
.footer-brand p { margin-top: 14px; max-width: 30ch; color: var(--text-2); }
.footer-base { align-items: center; }
.theme-seg { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; border: 1px solid var(--line); }
.theme-seg button { display: grid; place-items: center; width: 30px; height: 24px; border-radius: 999px; color: var(--text-3); transition: color 0.2s, background-color 0.2s; }
.theme-seg button:hover { color: var(--text-soft); }
.theme-seg button[aria-checked="true"] { color: var(--text); background: var(--panel-3); box-shadow: inset 0 0 0 1px var(--line); }
.theme-seg svg { width: 14px; height: 14px; }

/* Trabalhos: o print rola ao passar o mouse */
.tile-img.scroll { container-type: inline-size; }
.tile-img.scroll img { height: auto; object-fit: fill; transform: translateY(0); transition: transform 1.1s var(--ease); }
.tile:hover .tile-img.scroll img, .tile:focus-visible .tile-img.scroll img { transform: translateY(calc(-100% + 62.5cqw)); transition: transform var(--dur, 6s) cubic-bezier(0.45, 0.05, 0.4, 1); }

/* Paleta de comandos */
.cmdk {
  position: fixed; top: 16vh; margin: 0 auto; width: min(600px, 100vw - 24px); max-height: min(520px, 76vh); padding: 0;
  border: 1px solid var(--line-2); border-radius: 14px; background: var(--panel); color: var(--text);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2), 0 40px 90px -20px rgba(0, 0, 0, 0.6); overflow: hidden;
}
.cmdk[open] { display: flex; flex-direction: column; animation: cmdk-in 0.22s var(--ease); }
.cmdk::backdrop { background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(2px); animation: fade 0.2s; }
[data-theme="light"] .cmdk::backdrop { background: rgba(0, 0, 0, 0.18); }
@keyframes cmdk-in { from { opacity: 0; transform: scale(0.97) translateY(-6px); } }
.cmdk-input { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.cmdk-input svg { width: 17px; height: 17px; color: var(--text-3); }
.cmdk-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 16px; color: var(--text); }
.cmdk-input input::placeholder { color: var(--text-3); }
.cmdk-list { flex: 1; overflow-y: auto; padding: 8px; scroll-padding: 8px; }
.cmdk-group { padding: 10px 12px 6px; font-size: 11.5px; color: var(--text-3); }
.cmdk-item { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 12px; border-radius: 8px; color: var(--text-soft); cursor: pointer; }
.cmdk-item svg { width: 16px; height: 16px; color: var(--text-3); }
.cmdk-item em { margin-left: auto; font-size: 12px; color: var(--text-3); }
.cmdk-item.active { background: var(--hover); color: var(--text); }
.cmdk-item.active svg { color: var(--text-soft); }
.cmdk-empty { padding: 28px 12px; text-align: center; color: var(--text-3); }
.cmdk-foot { display: flex; gap: 16px; height: 38px; align-items: center; padding: 0 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-3); }
.cmdk-foot span { display: flex; align-items: center; gap: 4px; }
.cmdk-foot kbd { height: 18px; min-width: 18px; font-size: 10.5px; }

@media (max-width: 1100px) {
  .plans { grid-template-columns: 1fr 1fr; }
  .plans .plan:last-child { grid-column: 1 / -1; }
  .plans .plan:last-child .plan-art { height: 240px; }
}
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .faq-head { position: static; }
}
@media (max-width: 760px) {
  .kbd-btn, .tabs-hint { display: none; }
  .plans { grid-template-columns: 1fr; margin-top: 48px; }
  .plans .plan:last-child { grid-column: auto; }
  .plan > p { min-height: 0; }
  .qa button { font-size: 16px; padding: 20px 0; }
  .qa-a p { padding-right: 0; }
  .footer-base { flex-direction: row; }
  .ed-dock { display: none; }
  .js .menu a { opacity: 0; transform: translateY(10px); transition: opacity 0.35s, transform 0.45s var(--ease); }
  .js .nav.open .menu a { opacity: 1; transform: none; }
  .js .nav.open .menu a:nth-child(2) { transition-delay: 40ms; }
  .js .nav.open .menu a:nth-child(3) { transition-delay: 80ms; }
  .js .nav.open .menu a:nth-child(4) { transition-delay: 120ms; }
  .js .nav.open .menu a:nth-child(5) { transition-delay: 160ms; }
  .js .nav.open .menu a:nth-child(6) { transition-delay: 200ms; }
}
@media (hover: none) {
  .cta-hint, .tabs-hint { display: none; }
}

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 90; padding: 10px 16px; border-radius: 999px;
  font-size: 13.5px; color: var(--text); background: var(--panel); border: 1px solid var(--line-2);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.45); opacity: 0; pointer-events: none;
  transform: translate(-50%, 12px); transition: opacity 0.25s, transform 0.35s var(--ease);
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.menu a.btn { padding: 0 20px; border-bottom: 1px solid var(--btn-bg); letter-spacing: 0; }

/* ================= Adições v8 ================= */
:root { --serp-bg: #0f1011; --serp-bar: #1c1d20; --serp-shadow: rgba(0, 0, 0, 0.5); --map-bg: #14161a; --map-road: rgba(255, 255, 255, 0.07); --map-main: rgba(255, 255, 255, 0.13); --map-river: #182536; --map-park: #17251c; --link: #8ab4f8; }
:root[data-theme="light"] { --serp-bg: #ffffff; --serp-bar: #ffffff; --serp-shadow: rgba(32, 33, 36, 0.22); --map-bg: #eceeea; --map-road: #ffffff; --map-main: #ffffff; --map-river: #c9dcef; --map-park: #d3e6cf; --link: #1a0dab; }
.caption-note { margin-top: 14px; font-size: 12.5px; color: var(--text-3); }

/* Design: o comentário é respondido e resolvido */
.pin-when, .pin-ok { transition: opacity 0.3s; }
.pin-ok { display: none; align-items: center; gap: 4px; color: var(--green) !important; }
.pin-ok svg { width: 12px !important; height: 12px !important; }
.resolved .pin-when { display: none; }
.resolved .pin-ok { display: inline-flex; }
.pin-reply { display: flex; align-items: center; gap: 7px; max-height: 0; margin-top: 0; opacity: 0; overflow: hidden; transition: max-height 0.45s var(--ease), opacity 0.35s, margin-top 0.45s var(--ease); }
.replying .pin-reply { max-height: 40px; margin-top: 8px; opacity: 1; }
.pin-reply i { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 7.5px; font-weight: 600; color: #08090a; background: var(--c); }
.pin-reply span { color: var(--text); }
.cn-img { position: relative; }
.cn-img .swap-in { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s var(--ease); }
.swapped .cn-img .swap-in { opacity: 1; }

/* Redesign: comparador antes/depois */
.compare-win { margin-top: 72px; }
.compare { position: relative; aspect-ratio: 1536 / 880; overflow: hidden; cursor: ew-resize; touch-action: pan-y; user-select: none; -webkit-user-select: none; background: #ece6dc; }
.compare:focus-visible { outline-offset: -3px; }
.cmp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.cmp-old { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 24px rgba(0, 0, 0, 0.3); pointer-events: none; }
.cmp-line i { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; translate: -50% -50%; color: #111; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform 0.25s var(--ease); }
.cmp-line svg { width: 15px; height: 15px; }
.compare:hover .cmp-line i, .compare.dragging .cmp-line i { transform: scale(1.08); }
.cmp-tag { position: absolute; top: 16px; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 510; color: #fff; background: rgba(8, 9, 10, 0.62); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); pointer-events: none; }
.cmp-tag--old { left: 16px; }
.cmp-tag--new { right: 16px; }
.cmp-tag { transition: opacity 0.3s; }
.compare.all-old .cmp-tag--new, .compare.all-new .cmp-tag--old { opacity: 0; }
.cmp-tag--new { background: #1d7a4a; }
.cmp-legend { margin-left: auto; font-size: 12px; color: var(--text-3); }

/* Conversão: jornada + celular com WhatsApp */
.convo {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 40px; align-items: center; margin-top: 72px; padding: 56px 40px;
  border-radius: 16px; border: 1px solid var(--line); overflow: hidden;
  background-color: var(--canvas); background-image: radial-gradient(var(--canvas-dot) 1px, transparent 1px); background-size: 16px 16px;
}
.jr { padding: 6px 16px; }
.jr li { position: relative; display: grid; grid-template-columns: 28px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; opacity: 0.35; transition: opacity 0.5s; }
.jr li.on { opacity: 1; }
.jr li:not(:last-child)::after { content: ""; position: absolute; left: 13.5px; top: 44px; bottom: -8px; width: 1px; background: var(--line-2); }
.jr i { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel-2); color: var(--text-2); transition: all 0.4s var(--ease); }
.jr li.on i { color: var(--text); border-color: var(--text-3); }
.jr li.on i.wa { color: #fff; background: #25a162; border-color: #25a162; }
.jr i svg { width: 14px; height: 14px; }
.jr div { display: grid; line-height: 1.35; min-width: 0; }
.jr b { color: var(--text); font-weight: 510; }
.jr span { font-size: 12.5px; color: var(--text-2); }
.jr em { font-size: 12px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.jr-foot { display: flex; justify-content: space-between; padding: 12px 16px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-2); }
.jr-foot b { color: var(--text); font-weight: 510; }
.phone-mock { display: flex; justify-content: center; }

/* iPhone realista (proporção 393 × 852) */
.iphone {
  --w: 320px;
  position: relative; width: var(--w); aspect-ratio: 393 / 852; padding: calc(var(--w) * 0.032); border-radius: calc(var(--w) * 0.175);
  background: linear-gradient(145deg, #5b5d62, #2a2b2e 22%, #1b1c1e 50%, #2d2e31 78%, #62646a);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.16), inset 0 0 0 calc(var(--w) * 0.012) #0b0b0c, 0 50px 90px -30px rgba(0, 0, 0, 0.7), 0 20px 40px -20px rgba(0, 0, 0, 0.5);
  font-family: -apple-system, "SF Pro Text", var(--font); letter-spacing: 0; color: #111;
}
.ip-b { position: absolute; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #3c3d41, #6b6d72); }
.ip-action { left: -2px; top: 17%; height: 4.2%; }
.ip-vol1 { left: -2px; top: 24%; height: 7.5%; }
.ip-vol2 { left: -2px; top: 33%; height: 7.5%; }
.ip-power { right: -2px; top: 27%; height: 11%; background: linear-gradient(270deg, #3c3d41, #6b6d72); }
.ip-screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--w) * 0.145); clip-path: inset(0 round calc(var(--w) * 0.145)); background: #000; isolation: isolate; }
.ip-status { position: absolute; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; justify-content: space-between; height: 7%; padding: 0 9% 0 11%; color: #111; transition: color 0.3s; pointer-events: none; }
.ip-status > b { font-size: calc(var(--w) * 0.05); font-weight: 600; letter-spacing: -0.01em; }
.ip-island { position: absolute; left: 50%; top: 22%; width: 31%; height: 50%; translate: -50% 0; border-radius: 99px; background: #000; }
.ip-icons { display: flex; align-items: center; gap: calc(var(--w) * 0.016); }
.ip-icons svg { width: calc(var(--w) * 0.056); height: auto; fill: currentColor; }
.ip-batt { position: relative; width: calc(var(--w) * 0.078); height: calc(var(--w) * 0.038); border-radius: calc(var(--w) * 0.012); border: 1.2px solid currentColor; opacity: 0.95; }
.ip-batt::after { content: ""; position: absolute; right: -3.5px; top: 30%; width: 1.8px; height: 40%; border-radius: 0 1px 1px 0; background: currentColor; opacity: 0.5; }
.ip-batt i { position: absolute; inset: 1.2px; right: 22%; border-radius: 1.5px; background: currentColor; }
.ip-home { position: absolute; left: 50%; bottom: 1.1%; z-index: 30; width: 36%; height: 0.62%; translate: -50% 0; border-radius: 9px; background: #111; opacity: 0.85; pointer-events: none; }
.ip-app { position: absolute; inset: 0; }

/* Safari */
.ip-safari::before { content: ""; position: absolute; inset: 0 0 auto; z-index: 2; height: 7%; background: #f4f1ec; }
.ip-safari { background: #f4f1ec; transition: transform 0.5s var(--ease), filter 0.5s; }
.ip-safari.behind { transform: scale(0.96); filter: brightness(0.75); transition-delay: 0.05s; }
.ip-page { position: absolute; inset: 0 0 13.5%; overflow: hidden; padding-top: 12%; background: #f4f1ec; }
.ip-site { transition: transform 1.3s var(--ease-io); }
.ip-site.scrolled { transform: translateY(var(--sy, -16%)); }
.fab-wa { position: absolute; right: 5.5%; bottom: 16.5%; z-index: 3; display: grid; place-items: center; width: 15%; aspect-ratio: 1; border-radius: 50%; color: #fff; background: #25d366; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25); transition: transform 0.15s; }
.fab-wa svg { width: 58%; height: 58%; }
.fab-wa.press { transform: scale(0.88); }
.sf-bar { position: absolute; inset: auto 0 0; height: 13.5%; padding: 2.4% 4% 0; background: #f7f7f7; border-top: 0.5px solid rgba(0, 0, 0, 0.12); }
.sf-url { display: flex; align-items: center; justify-content: space-between; height: 38%; padding: 0 4%; border-radius: calc(var(--w) * 0.035); background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12); font-size: calc(var(--w) * 0.043); color: #111; }
.sf-aa { font-weight: 600; font-size: 1.05em; }
.sf-aa small { font-size: 0.72em; }
.sf-host { display: flex; align-items: center; gap: 4px; }
.sf-host svg { width: 0.85em; height: 0.85em; color: #555; }
.sf-reload { width: 1.05em; height: 1.05em; color: #333; }
.sf-tools { display: flex; justify-content: space-between; padding: 3.5% 3% 0; color: #0a84ff; }
.sf-tools svg { width: calc(var(--w) * 0.06); height: calc(var(--w) * 0.06); }
.sf-tools svg.off { color: #b8b8bd; }
.ios-alert { position: absolute; inset: 0; z-index: 10; display: grid; place-items: center; background: rgba(0, 0, 0, 0.28); opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.ios-alert.on { opacity: 1; }
.ios-alert-box { width: 72%; overflow: hidden; border-radius: calc(var(--w) * 0.045); background: rgba(242, 242, 244, 0.94); backdrop-filter: blur(20px); text-align: center; transform: scale(1.12); transition: transform 0.3s var(--ease); }
.ios-alert.on .ios-alert-box { transform: none; }
.ios-alert-box p { padding: 7% 8%; font-size: calc(var(--w) * 0.045); line-height: 1.3; color: #111; }
.ios-alert-box b { font-weight: 600; }
.ios-alert-btns { display: grid; grid-template-columns: 1fr 1fr; border-top: 0.5px solid rgba(60, 60, 67, 0.3); }
.ios-alert-btns span { padding: 5.5% 0; font-size: calc(var(--w) * 0.047); color: #0a84ff; transition: background-color 0.15s; }
.ios-alert-btns span + span { border-left: 0.5px solid rgba(60, 60, 67, 0.3); font-weight: 600; }
.ios-alert-btns span.press { background: rgba(0, 0, 0, 0.08); }

/* WhatsApp (iOS) */
.ip-wa { z-index: 5; display: flex; flex-direction: column; background: #efeae2; overflow: hidden; visibility: hidden; transform-origin: 84% 78%; transform: scale(0.12); border-radius: 40%; pointer-events: none; transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.55s; }
.ip-wa.open { visibility: visible; transform: none; border-radius: 0; transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), border-radius 0.55s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s; }
.wa-head { display: flex; align-items: center; gap: 2.6%; padding: 13% 3.5% 2.4%; background: #f6f6f6; border-bottom: 0.5px solid rgba(0, 0, 0, 0.14); color: #111; }
.wa-back { display: flex; align-items: center; color: #0a84ff; }
.wa-back svg { width: calc(var(--w) * 0.055); height: calc(var(--w) * 0.055); }
.wa-back em { min-width: 1.6em; padding: 0 0.35em; border-radius: 99px; font-size: calc(var(--w) * 0.036); font-weight: 600; line-height: 1.5; text-align: center; color: #fff; background: #0a84ff; }
.wa-avatar { flex: none; display: grid; place-items: center; width: calc(var(--w) * 0.105); aspect-ratio: 1; border-radius: 50%; font: 400 calc(var(--w) * 0.045) var(--serif); color: #f4f1ec; background: #1f1d1a; }
.wa-who { flex: 1; min-width: 0; display: grid; line-height: 1.2; }
.wa-who b { font-size: calc(var(--w) * 0.05); font-weight: 600; }
.wa-who span { font-size: calc(var(--w) * 0.038); color: #667781; }
.wa-acts { display: flex; gap: calc(var(--w) * 0.05); color: #0a84ff; }
.wa-acts svg { width: calc(var(--w) * 0.065); height: calc(var(--w) * 0.065); }
.wa-body {
  position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 3% 3.5%; overflow: hidden;
  background-color: #efeae2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23000' stroke-opacity='.05' stroke-width='1.2'%3E%3Ccircle cx='10' cy='10' r='4'/%3E%3Cpath d='M40 6l5 8h-10z'/%3E%3Crect x='22' y='34' width='9' height='7' rx='2'/%3E%3Cpath d='M48 40c3-3 7 1 4 4l-4 4-4-4c-3-3 1-7 4-4z'/%3E%3Cpath d='M6 44h8M10 40v8'/%3E%3C/g%3E%3C/svg%3E");
  background-size: calc(var(--w) * 0.2);
}
.wa-intro { display: flex; flex-direction: column; align-items: center; gap: 6px; margin-bottom: auto; padding-top: 2%; }
.wa-date { padding: 2px 9px; border-radius: 7px; font-size: calc(var(--w) * 0.036); font-weight: 500; color: #54656f; background: #fff; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13); }
.wa-e2e { display: flex; gap: 5px; padding: 6px 9px; border-radius: 8px; font-size: calc(var(--w) * 0.034); line-height: 1.35; text-align: center; color: #54656f; background: #ffeecd; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.1); }
.wa-e2e svg { flex: none; width: 1em; height: 1em; margin-top: 0.15em; }
.wa-biz { padding: 5px 9px; border-radius: 8px; font-size: calc(var(--w) * 0.034); color: #54656f; background: #fff; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.1); }
.wa-msgs { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.msg { position: relative; max-width: 78%; padding: 5px 8px 4px; border-radius: 9px; font: calc(var(--w) * 0.044) / 1.33 -apple-system, var(--font); letter-spacing: 0; color: #111; box-shadow: 0 1px 0.5px rgba(0, 0, 0, 0.13); animation: msg-in 0.35s var(--ease) both; }
.msg.out { align-self: flex-end; background: #d9fdd3; border-top-right-radius: 0; }
.msg.in { align-self: flex-start; background: #fff; border-top-left-radius: 0; }
.msg.out::after, .msg.in::after { content: ""; position: absolute; top: 0; width: 8px; height: 10px; }
.msg.out::after { right: -7px; background: #d9fdd3; clip-path: polygon(0 0, 100% 0, 0 100%); }
.msg.in::after { left: -7px; background: #fff; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.msg em { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 0.6em 0 -0.25em 0.8em; font-size: 0.72em; color: #667781; }
.msg em svg { width: 1.35em !important; height: 0.9em !important; color: #8696a0; transition: color 0.3s; }
.msg.read em svg { color: #53bdeb; }
.msg.typing { display: inline-flex; gap: 4px; padding: 10px 12px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: #9aa5ab; animation: dot 1.1s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: 0.15s; }
.msg.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-3px); opacity: 1; } }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px) scale(0.96); } }
.wa-input { display: flex; align-items: flex-end; gap: 2.5%; padding: 2% 3% 7.5%; background: #f6f6f6; border-top: 0.5px solid rgba(0, 0, 0, 0.1); color: #0a84ff; transition: padding 0.3s; }
.ip-wa.kb .wa-input { padding-bottom: 2%; }
.wa-plus { flex: none; width: calc(var(--w) * 0.062); height: calc(var(--w) * 0.062); margin-bottom: 1.8%; }
.wa-field { flex: 1; min-width: 0; display: flex; align-items: flex-end; gap: 4px; min-height: calc(var(--w) * 0.098); padding: 1.6% 3%; border-radius: 99px; border: 0.5px solid rgba(0, 0, 0, 0.15); background: #fff; font-size: calc(var(--w) * 0.044); line-height: 1.33; color: #111; }
.wa-field.multi { border-radius: calc(var(--w) * 0.045); }
.wa-field > span { flex: 1; min-width: 0; }
.wa-field > span.ph:empty::before { content: ""; }
.wa-field .caret { display: inline-block; width: 1.5px; height: 1.05em; margin-bottom: -0.15em; background: #0a84ff; animation: blink 1s steps(1) infinite; }
.wa-stk { flex: none; width: 1.2em; height: 1.2em; color: #8696a0; margin-bottom: 0.1em; }
.wa-right { position: relative; flex: none; display: flex; align-items: center; gap: calc(var(--w) * 0.035); margin-bottom: 1.8%; }
.wa-right svg { width: calc(var(--w) * 0.062); height: calc(var(--w) * 0.062); }
.wa-send { position: absolute; right: 0; top: 50%; display: grid; place-items: center; width: calc(var(--w) * 0.085); aspect-ratio: 1; margin-top: calc(var(--w) * -0.0425); border-radius: 50%; color: #fff; background: #25d366; opacity: 0; transform: scale(0.5); transition: opacity 0.2s, transform 0.25s var(--ease); }
.wa-send svg { width: 60%; height: 60%; }
.ip-wa.has-text .wa-send { opacity: 1; transform: none; }
.ip-wa.has-text .wa-cam, .ip-wa.has-text .wa-mic { opacity: 0; }
.wa-send.press { transform: scale(0.85); }
.ios-kb { flex: none; height: 0; overflow: hidden; background: #d1d4db; transition: height 0.35s var(--ease); }
.ip-wa.kb .ios-kb { height: 36%; }
.kb-rows { display: grid; gap: 3.2%; padding: 2.2% 1% 0; height: 100%; align-content: start; }
.kb-row { display: flex; justify-content: center; gap: 1.1%; height: calc(var(--w) * 0.11); }
.kb-row i { flex: 0 0 8.8%; display: grid; place-items: center; border-radius: 5px; font: 400 calc(var(--w) * 0.055) -apple-system, var(--font); color: #111; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3); transition: background-color 0.08s, transform 0.08s; }
.kb-row i.fn { flex-basis: 12.5%; background: #adb3bc; font-size: calc(var(--w) * 0.04); }
.kb-row i.sp { flex-basis: 48%; font-size: calc(var(--w) * 0.04); }
.kb-row i.ret { flex-basis: 23%; background: #adb3bc; font-size: calc(var(--w) * 0.04); }
.kb-row i.hit { background: #e5e7eb; transform: translateY(-2px) scale(1.08); }
.ph-tap { position: absolute; left: 0; top: 0; z-index: 40; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: rgba(40, 40, 40, 0.28); opacity: 0; transform: scale(0.3); pointer-events: none; }
.ph-tap.go { animation: tap 0.6s ease-out; }
@keyframes tap { 0% { opacity: 1; transform: scale(0.3); } 100% { opacity: 0; transform: scale(1.5); } }

/* Lançamento: busca no Google e desempenho */
.duo { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 24px; margin-top: 24px; }
.duo-card { display: flex; flex-direction: column; padding: 28px 28px 0; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel), transparent 85%); }
.duo-card h3 { font-size: 18px; font-weight: 510; letter-spacing: -0.015em; color: var(--text); }
.duo-card > p { margin-top: 6px; color: var(--text-2); }
.g-mock, .sc-mock { position: relative; flex: 1; margin-top: 28px; overflow: hidden; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; background: var(--serp-bg); font-size: 13px; letter-spacing: 0; }

/* Página de resultados */
.g-top { padding: 14px 16px 0; border-bottom: 1px solid var(--line); }
.g-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 16px; border-radius: 999px; background: var(--serp-bar); box-shadow: 0 1px 6px var(--serp-shadow); color: var(--text); font-size: 14.5px; transition: box-shadow 0.3s; }
.g-bar.enter { box-shadow: 0 1px 6px var(--serp-shadow), 0 0 0 2px color-mix(in srgb, var(--link) 45%, transparent); }
.g-bar > svg { width: 16px; height: 16px; color: var(--text-3); }
.g-caret { width: 1.5px; height: 17px; margin-left: -8px; background: var(--text); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.g-bar-r { display: flex; gap: 12px; margin-left: auto; padding-left: 12px; border-left: 1px solid var(--line-2); }
.g-mic { width: 9px; height: 14px; border-radius: 5px; border: 1.6px solid #4c8df6; position: relative; }
.g-mic::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 1.6px; height: 4px; margin-left: -0.8px; background: #4c8df6; }
.g-lens { width: 14px; height: 14px; border-radius: 4px; border: 1.6px solid #e8913a; box-shadow: inset 0 0 0 3px var(--serp-bar), inset 0 0 0 5px #27a38a; }
.g-tabs { display: flex; gap: 20px; margin-top: 12px; font-size: 13px; color: var(--text-2); }
.g-tabs span { padding: 8px 0 10px; }
.g-tabs .on { color: var(--link); box-shadow: inset 0 -3px 0 var(--link); }
.g-skel { position: absolute; left: 16px; right: 16px; top: 116px; display: grid; gap: 10px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.g-skel i { height: 12px; width: 70%; border-radius: 6px; background: linear-gradient(90deg, var(--line) 25%, var(--line-2) 50%, var(--line) 75%) 0 0 / 200% 100%; animation: shimmer 1s linear infinite; }
.g-skel i.s { width: 45%; }
.g-skel i.b { height: 120px; width: 100%; border-radius: 10px; }
@keyframes shimmer { to { background-position: -200% 0; } }
.g-mock.loading .g-skel { opacity: 1; }
.g-res { padding: 10px 16px 20px; }
.g-count { font-size: 12px; color: var(--text-3); }
.g-local { margin-top: 12px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.g-local-h { display: flex; align-items: baseline; justify-content: space-between; padding: 12px 14px 10px; }
.g-local-h b { font-size: 16px; font-weight: 510; color: var(--text); }
.g-local-h span { font-size: 12px; color: var(--text-3); }
.g-map { position: relative; height: 150px; overflow: hidden; border-block: 1px solid var(--line); background: var(--map-bg); }
.g-streets { position: absolute; inset: 0; width: 100%; height: 100%; }
.g-block { fill: var(--map-bg); }
.g-road { fill: none; stroke: var(--map-road); stroke-width: 6; }
.g-road.main { stroke: var(--map-main); stroke-width: 11; }
.g-river { fill: none; stroke: var(--map-river); stroke-width: 16; }
.g-park { fill: var(--map-park); }
.g-label { font: 500 10px var(--font); fill: var(--text-3); letter-spacing: 0.02em; }
.g-pin { position: absolute; transition: transform 0.55s cubic-bezier(0.3, 1.6, 0.5, 1), opacity 0.3s; transition-delay: calc(var(--k) * 140ms + 150ms); }
.g-pin.sm { display: grid; place-items: center; width: 20px; height: 20px; margin: -10px 0 0 -10px; border-radius: 50%; font-size: 10.5px; font-weight: 600; color: #fff; background: #7b8088; box-shadow: 0 0 0 2px var(--map-bg), 0 3px 6px rgba(0, 0, 0, 0.3); }
.g-pin.main { color: #e5484d; transform: translate(-50%, -100%); }
.g-pin.main svg { display: block; width: 34px; height: 34px; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35)); }
.g-pin.main b { position: absolute; left: 38px; top: 7px; font-size: 12px; font-weight: 600; white-space: nowrap; color: var(--text); text-shadow: 0 0 3px var(--map-bg), 0 0 3px var(--map-bg), 0 0 3px var(--map-bg), 0 0 3px var(--map-bg); }
.g-pin.main::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 18px; height: 7px; margin-left: -9px; border-radius: 50%; background: rgba(229, 72, 77, 0.4); animation: pin-pulse 2s ease-out infinite; }
.g-pin.main.bounce svg { animation: pin-bounce 0.7s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes pin-pulse { from { transform: scale(0.6); opacity: 1; } to { transform: scale(2.6); opacity: 0; } }
@keyframes pin-bounce { 40% { transform: translateY(-10px); } }
.g-list li { position: relative; display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); transition: background-color 0.4s; }
.g-list li:first-child { border-top: 0; }
.g-list li.on { background: color-mix(in srgb, var(--link) 7%, transparent); }
.g-list li.on::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--link); }
.g-biz-t { display: grid; gap: 2px; min-width: 0; }
.g-biz-t b { font-size: 14.5px; font-weight: 510; color: var(--link); }
.g-biz-t span { font-size: 12.5px; color: var(--text-2); }
.g-biz-t .open { display: flex; align-items: center; gap: 6px; color: var(--green); }
.g-biz-t .open.dim { color: var(--text-2); }
.g-biz-t .closed { color: #e5484d; }
.g-biz-t .open i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.g-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.g-actions span { display: inline-flex; align-items: center; gap: 5px; height: 28px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--link); transition: background-color 0.2s, transform 0.15s; }
.g-actions svg { width: 13px; height: 13px; }
.g-actions .wa { color: var(--green); border-color: color-mix(in srgb, var(--green) 45%, transparent); }
.g-actions .wa.press { transform: scale(0.94); background: color-mix(in srgb, var(--green) 14%, transparent); }
.g-thumbs { flex: none; display: flex; gap: 4px; }
.g-thumbs img, .g-thumbs i { width: 64px; height: 64px; border-radius: 8px; object-fit: cover; background: var(--hover); }
.g-thumbs img + img { width: 40px; opacity: 0.9; }
.g-more { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-soft); }
.g-more svg { width: 13px; height: 13px; }
.g-result { margin-top: 18px; }
.g-site { display: flex; align-items: center; gap: 10px; }
.g-site .fav { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font: 400 11px var(--serif); color: #1f1d1a; background: #f4f1ec; border: 1px solid var(--line); }
.g-site div { display: grid; line-height: 1.3; }
.g-site b { font-size: 13px; font-weight: 500; color: var(--text-soft); }
.g-site em { font-size: 12px; color: var(--text-3); }
.g-title { margin-top: 8px; font-size: 17px; line-height: 1.3; color: var(--link); }
.g-desc { margin-top: 4px; font-size: 12.5px; line-height: 1.55; color: var(--text-2); }
.g-sitelinks { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.g-sitelinks span { height: 28px; padding: 0 12px; line-height: 26px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 12px; color: var(--text-soft); }
.g-ptr { position: absolute; left: 0; top: 0; z-index: 5; width: 16px; height: 16px; opacity: 0; pointer-events: none; transform: translate(var(--x, 60%), var(--y, 110%)); transition: transform 1s var(--ease-io), opacity 0.3s; }
.g-ptr.on { opacity: 1; }
.g-ptr svg { width: 16px; height: 16px; fill: #fff; stroke: #111; stroke-width: 1.1; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4)); transform-origin: 2px 2px; transition: transform 0.15s; }
.g-ptr.press svg { transform: scale(0.82); }
.js #duoMap .gi { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: calc(var(--gi, 0) * 110ms); }
.js #duoMap:not(.found) .gi { opacity: 0; transform: translateY(10px); }
.js #duoMap:not(.found) .g-pin.sm { opacity: 0; transform: translateY(-30px); }
.js #duoMap:not(.found) .g-pin.main { opacity: 0; transform: translate(-50%, -200%); }
.js #duoMap:not(.found) .g-local { border-color: transparent; }

/* Relatório de desempenho na pesquisa */
.sc-mock { display: flex; flex-direction: column; background: var(--panel); }
.sc-head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.sc-head b { font-weight: 510; color: var(--text); }
.sc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); }
.sc-kpis li { display: grid; gap: 4px; padding: 14px 14px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text-2); transition: background-color 0.3s; }
.sc-kpis li:last-child { border-right: 0; }
.sc-kpis li.on { color: #fff; background: var(--c); border-color: transparent; }
.sc-kpis span { display: flex; align-items: center; gap: 6px; font-size: 11.5px; white-space: nowrap; }
.sc-kpis span i { width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid currentColor; }
.sc-kpis li.on span i { background: #fff; border-color: #fff; }
.sc-kpis b { font-size: 22px; line-height: 1.2; font-weight: 510; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-kpis li.on b { color: #fff; }
.sc-kpis em { font-size: 11.5px; color: var(--green); }
.sc-kpis li.on em { color: rgba(255, 255, 255, 0.85); }
.sc-chart { padding: 16px 16px 8px; border-bottom: 1px solid var(--line); }
.sc-chart svg { display: block; width: 100%; height: 140px; overflow: visible; }
.sc-line { fill: none; stroke-width: 2; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.sc-clicks { stroke: #4c8df6; }
.sc-impr { stroke: #8b6cf0; }
.sc-chart .axis { margin-top: 8px; }
.sc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.sc-table th { height: 36px; padding: 0 16px; font-size: 11.5px; font-weight: 500; text-align: right; color: var(--text-3); border-bottom: 1px solid var(--line); }
.sc-table th:first-child, .sc-table td:first-child { text-align: left; }
.sc-table td { height: 40px; padding: 0 16px; text-align: right; color: var(--text-soft); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-table td:first-child { max-width: 0; width: 55%; overflow: hidden; text-overflow: ellipsis; }
.sc-table td b { font-weight: 600; color: var(--text); transition: color 0.4s; }
.sc-table td b.top { color: var(--green); }
.sc-table td em { margin-left: 6px; font-size: 11px; color: var(--green); }
.sc-gbp { padding: 16px 16px 22px; }
.sc-sub { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; font-size: 12px; color: var(--text-3); }
.sc-sub b { font-size: 12.5px; font-weight: 510; color: var(--text-soft); }
.sc-bars li { display: grid; grid-template-columns: 150px 1fr 40px; align-items: center; gap: 12px; height: 32px; font-size: 12.5px; color: var(--text-2); }
.sc-bars i { position: relative; height: 8px; border-radius: 4px; background: var(--hover); overflow: hidden; }
.sc-bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--v) * 100%); border-radius: 4px; background: #4c8df6; transition: width 1.3s var(--ease); }
.sc-bars i.wa::after { background: var(--green); }
.sc-bars b { text-align: right; font-weight: 600; color: var(--text); font-variant-numeric: tabular-nums; }
.js #duoRank:not(.in) .sc-bars i::after { width: 0; }
.js #duoRank .sc-bars li:nth-child(n) i::after { transition-delay: 1.4s; }
.g-thumbs.dim img { filter: grayscale(0.5); opacity: 0.55; }
.g-mock, .sc-mock { -webkit-mask-image: linear-gradient(180deg, #000 88%, transparent); mask-image: linear-gradient(180deg, #000 88%, transparent); }
.js #duoRank .sc-line { transition: stroke-dashoffset 2.4s var(--ease-io) 0.3s; }
.js #duoRank .sc-impr { transition-delay: 0.6s; }
.js #duoRank:not(.in) .sc-line { stroke-dashoffset: 1; }
.js #duoRank .sc-table em { transition: opacity 0.5s 2.2s; }
.js #duoRank:not(.in) .sc-table em { opacity: 0; }

/* ---------- Como trabalhamos: quatro etapas, quatro figuras (Fig 1.x) ---------- */
.psteps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 88px; border-top: 1px solid var(--line); }
.pstep { position: relative; padding: 28px 28px 8px; }
.pstep:first-child { padding-left: 0; }
.pstep + .pstep { border-left: 1px solid var(--line); }
.pstep-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pstep-top .mono-cap { color: var(--text-3); }
.pstep .pfig { width: 100%; max-width: 240px; margin: 20px auto 22px; }
.pstep h3 { font-size: 17px; font-weight: 510; letter-spacing: -0.015em; }
.pstep > p { margin-top: 6px; color: var(--text-2); font-size: 14.5px; line-height: 1.55; }
.pstep-out { display: flex; gap: 10px; align-items: baseline; margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--text-2); }
.pstep-out .mono-cap { flex: none; color: var(--text-3); }
/* A progress line runs across the top edge as the section comes in, one step at a time. */
.psteps::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--text-2); transform-origin: left; transform: scaleX(1); }
.js .psteps:not(.in)::before { transform: scaleX(0); }
.js .psteps::before { transition: transform 2.4s var(--ease-io) 0.3s; }
/* Between steps: the client's approval, a small check on the line. */
.gate { position: absolute; left: -12px; top: -12px; z-index: 1; display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text-3); }
.gate svg { width: 11px; height: 11px; }
.gate em { position: absolute; left: 50%; top: -26px; transform: translateX(-50%); white-space: nowrap; font-style: normal; font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.js .psteps .gate { transition: background-color 0.4s, color 0.4s, box-shadow 0.4s; transition-delay: calc(var(--si) * 0.6s + 0.3s); }
html:not(.js) .gate, .psteps.in .gate { background: #4cb782; color: #fff; box-shadow: none; }
.pstep--after { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; margin-top: 8px; padding: 18px 0 0; border-top: 1px solid var(--line); border-left: 0 !important; color: var(--text-2); font-size: 14px; }
.pstep--after b { color: var(--text); font-weight: 510; }
.pstep--after .face { width: 22px; height: 22px; }
.pstep--after .after-log { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-left: auto; font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.pstep--after .after-log > span { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.pstep--after .after-log > span + span::before { content: "→"; margin-right: 6px; color: var(--text-3); }
.pstep--after .after-log i { font-style: normal; color: var(--text); }

.pfig .acc { stroke: var(--fig-acc); }
.pfig .f-acc { fill: var(--fig-acc); }
.pfig .lane { stroke-dasharray: 3 4; animation: lane 1.4s linear infinite; }
.js .psteps .pfig .draw { transition: stroke-dashoffset 1.3s var(--ease-io); transition-delay: calc(var(--si, 0) * 260ms + var(--k) * 14ms + 200ms); }
.js .psteps:not(.in) .pfig .draw { stroke-dashoffset: 1; }
.js .psteps .pfig :is(.f-bg, .f-top, .f-mid, .f-hi, .f-cta, .f-acc) { transition: fill-opacity 0.9s ease; transition-delay: calc(var(--si, 0) * 260ms + 1100ms); }
.js .psteps:not(.in) .pfig :is(.f-bg, .f-top, .f-mid, .f-hi, .f-cta, .f-acc) { fill-opacity: 0; }
.js .psteps .pfig :is(.guides, .legs, .ptr, .rings, .vis, .lane, .mark, .wf-sel, .dash) { transition: opacity 0.8s ease; transition-delay: calc(var(--si, 0) * 260ms + 1400ms); }
.js .psteps:not(.in) .pfig :is(.guides, .legs, .ptr, .rings, .vis, .lane, .wf-sel, .dash) { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  /* 1.1 the stamp comes down on the proposal, the approval mark stays */
  .pfig-talk .stamp { animation: stamp 5.2s var(--ease-io) 2.6s infinite; }
  .pfig-talk .mark { animation: mark 5.2s ease 2.6s infinite; }
  /* 1.2 the phone artboard breathes, the selection blinks, the pointer works */
  .pfig-design .float { animation: float-y 6s var(--ease-io) 2.4s infinite; }
  .pfig-design .wf-sel { opacity: 0; animation: sel-blink 6s ease 2.4s infinite; }
  .pfig-design .ptr { transform: translate(var(--tx), var(--ty)); }
  .pfig-design .ptr-i { opacity: 0; animation: ptr 6s var(--ease-io) 2.4s infinite; }
  /* 1.3 the blocks drop into their slots, one by one, then clear and go again */
  .pfig-build .bld { animation: build 8s cubic-bezier(0.3, 1.2, 0.5, 1) infinite; animation-delay: calc(2.2s + var(--i) * 0.32s); }
  /* 1.4 the signal goes out, the visitors come in */
  .pfig-live .ring { fill: none; stroke: var(--fig-mid); stroke-width: 1; transform-box: fill-box; transform-origin: center; opacity: 0; animation: ring 4.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; animation-delay: calc(2.4s + var(--r) * 0.3s); }
  .pfig-live .site { animation: float-y 4.8s var(--ease-io) 2.4s infinite; }
  .pfig-live .vis { animation: visit 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite; animation-delay: calc(2.6s + var(--v) * 1.2s); }
}
.pfig-live .ring { fill: none; stroke: var(--fig-mid); opacity: 0; }
.pfig .ptr-p { fill: var(--fig-hi); stroke: var(--bg); stroke-width: 1.2; stroke-linejoin: round; }
.pfig-design .ptr { transform: translate(var(--tx), var(--ty)); }
@keyframes stamp { 0%, 18% { transform: none; } 30% { transform: translateY(var(--drop)); } 36% { transform: translateY(calc(var(--drop) - 3px)); } 50%, 100% { transform: none; } }
@keyframes mark { 0%, 29% { opacity: 0; } 31%, 88% { opacity: 1; } 96%, 100% { opacity: 0; } }
@keyframes build {
  0% { opacity: 0; transform: translateY(calc(var(--drop) * -1)); }
  6%, 82% { opacity: 1; transform: none; }
  90%, 100% { opacity: 0; transform: none; }
}
@keyframes visit {
  0% { opacity: 0; transform: translate(var(--vx), var(--vy)); }
  15% { opacity: 1; }
  70% { opacity: 1; transform: none; }
  82%, 100% { opacity: 0; transform: none; }
}

@media (max-width: 1100px) {
  .psteps { grid-template-columns: 1fr 1fr; }
  .pstep:nth-child(odd) { padding-left: 0; }
  .pstep:nth-child(3) { border-left: 0; }
  .pstep:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .pstep:nth-child(3) .gate { display: none; }
  .pstep:nth-child(4) .gate em { display: none; }
}
@media (max-width: 760px) {
  .psteps { grid-template-columns: 1fr; margin-top: 56px; }
  .pstep, .pstep:first-child { padding: 28px 0 24px; border-left: 0 !important; }
  .pstep + .pstep { border-top: 1px solid var(--line); }
  .pstep .gate { left: 50%; margin-left: -12px; display: grid !important; }
  .pstep .gate em { top: auto; left: 32px; transform: none; top: 3px; }
  .pstep .pfig { max-width: 260px; margin: 12px auto 16px; }
  .pstep--after .after-log { margin-left: 0; }
}
@keyframes float-y { 0%, 100% { transform: none; } 50% { transform: translateY(-6px); } }

/* Visualizador de trabalhos */
.case {
  position: fixed; inset: 0 0 0 auto; width: min(1200px, 100vw); max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0 0 0 auto; padding: 0;
  border: 0; border-left: 1px solid var(--line-2); background: var(--bg); color: var(--text); overflow: hidden;
}
.case[open] { display: flex; flex-direction: column; animation: case-in 0.45s var(--ease); }
@keyframes case-in { from { opacity: 0; transform: translateX(48px); } }
.case::backdrop { background: rgba(0, 0, 0, 0.55); backdrop-filter: blur(3px); animation: fade 0.3s; }
.case-head { display: flex; align-items: center; gap: 14px; height: 64px; padding: 0 16px 0 28px; border-bottom: 1px solid var(--line); }
.case-title { display: grid; margin-right: auto; line-height: 1.3; }
.case-title b { font-size: 16px; font-weight: 510; }
.case-title span { font-size: 13px; color: var(--text-2); }
.case-seg > button { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; }
.case-seg svg { width: 14px; height: 14px; }
.case-x { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; color: var(--text-2); transition: background-color 0.15s, color 0.15s; }
.case-x:hover { background: var(--hover); color: var(--text); }
.case-x svg { width: 16px; height: 16px; }
.case-body { flex: 1; min-height: 0; display: grid; grid-template-columns: 300px minmax(0, 1fr); }
.case-info { padding: 28px; overflow: auto; border-right: 1px solid var(--line); color: var(--text-2); }
.case-info h4 { margin: 28px 0 12px; font: 400 12px var(--mono); text-transform: uppercase; color: var(--text-3); }
.case-info ul { display: grid; gap: 10px; color: var(--text-soft); }
.case-info li { display: flex; gap: 10px; }
.case-info li svg { width: 15px; height: 15px; margin-top: 4px; color: var(--text-3); }
.case-hint { margin-top: 28px; font-size: 12.5px; color: var(--text-3); }
.case-stage { position: relative; min-height: 0; display: flex; justify-content: center; padding: 28px; overflow: hidden; background-color: var(--canvas); background-image: radial-gradient(var(--canvas-dot) 1px, transparent 1px); background-size: 16px 16px; }
.case-browser { display: flex; flex-direction: column; width: 100%; height: 100%; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: var(--panel); box-shadow: var(--win-shadow); }
.case-scroll { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.case-scroll img { display: block; width: 100%; height: auto; }
.case-phone { display: none; height: 100%; }
.case-stage[data-view="mob"] .case-browser { display: none; }
.case-stage[data-view="mob"] .case-phone { display: flex; justify-content: center; }
.case-phone .iphone { --w: min(340px, calc((100dvh - 150px) * 0.4613)); flex: none; }
.case-iphone .ip-status { background: #fff; }
.case-phone .case-scroll { position: absolute; inset: 7% 0 0; background: #fff; scrollbar-width: none; }
.case-phone .case-scroll::-webkit-scrollbar { display: none; }
.case-scroll.hint { animation: nudge-scroll 1.6s var(--ease-io) 0.5s 1; }
.work .tile[data-work] .tile-cap svg { transform: none; }

@media (max-width: 1100px) {
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .compare-win { margin-top: 48px; }
  .compare { aspect-ratio: 3 / 2; }
  .brand-tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; margin-bottom: 14px; }
  .brand-tabs::-webkit-scrollbar { display: none; }
  .brand-tabs button { flex: none; gap: 6px; padding: 0 10px; font-size: 12.5px; }
  .cmp-tag { top: 10px; font-size: 11px; }
  .cmp-tag--old { left: 10px; } .cmp-tag--new { right: 10px; }
  .cmp-legend { display: none; }
  .convo { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; padding: 20px 16px 28px; }
  .phone-mock { order: -1; }
  .iphone { --w: 272px; }
  .duo-card { padding: 22px 18px 0; }
  .g-thumbs img + img { display: none; }
  .g-thumbs img, .g-thumbs i { width: 52px; height: 52px; }
  .g-tabs span:nth-child(n + 5) { display: none; }
  .sc-kpis { grid-template-columns: 1fr 1fr; }
  .sc-kpis li:nth-child(2) { border-right: 0; }
  .sc-table td:first-child { width: 50%; }
  .sc-bars li { grid-template-columns: 120px 1fr 36px; }
  .case-head { gap: 10px; padding: 0 10px 0 16px; }
  .case-title span, .case-seg svg + * { display: none; }
  .case-head .btn { display: none; }
  .case-body { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; }
  .case-info { order: 2; max-height: 32dvh; padding: 18px 16px; border-right: 0; border-top: 1px solid var(--line); }
  .case-info h4 { margin-top: 18px; }
  .case-stage { padding: 14px; }
}

/* Fotos de perfil (pessoas fictícias) e avatar do estúdio */
.face { display: block; flex: none; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; object-position: center 30%; background: var(--panel-3); box-shadow: 0 0 0 1px var(--line); }
.face--studio { display: block; box-sizing: border-box; padding: 16%; border-radius: 28%; background: #141517; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.face--studio svg { display: block; width: 100% !important; height: 100% !important; }
.avatars { align-items: center; }
.pin > .face { width: 24px; height: 24px; box-shadow: 0 0 0 2px var(--canvas), 0 0 0 3px #c9a37a; }
.pin-reply .face { width: 18px; height: 18px; }

.leads .face { width: 24px; height: 24px; }
.leads li { grid-template-columns: 24px 1fr 16px; }
.jr-who { display: inline-flex; align-items: center; gap: 7px; }
.jr-who .face { width: 18px; height: 18px; }

/* ================= Movimento ================= */
/* Entrada do hero */
.js .fade { opacity: 0; transform: translateY(10px); animation: fade-in 1s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 60ms); }
@keyframes fade-in { to { opacity: 1; transform: none; } }
.js .hero-title .w { opacity: 0; filter: blur(10px); transform: translateY(12px); animation: word-in 0.9s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 80ms); }
@keyframes word-in { to { opacity: 1; filter: blur(0); transform: none; } }

/* Revelar ao rolar */
.js .reveal { opacity: 0; transform: translateY(16px); filter: blur(4px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }
.js .stagger > * { opacity: 0; transform: translateY(16px); filter: blur(4px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), filter 0.9s var(--ease); transition-delay: calc(var(--si, 0) * 90ms); }
.js .stagger.in > * { opacity: 1; transform: none; filter: none; }

/* Janelas das composições entram em sequência */
.js .comp .win { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--wi, 0) * 140ms); }
.js .comp.in .win { opacity: 1; transform: none; }
.js .comp--design .pin { opacity: 0; transform: scale(0.6); transition: opacity 0.4s, transform 0.5s cubic-bezier(0.3, 1.5, 0.6, 1); }
.js .comp--design.pinned .pin { opacity: 1; transform: none; }

/* Lançamento: estado inicial antes de entrar na tela */
.js .comp--launch:not(.played) .chart .line { stroke-dashoffset: 1; }
.js .comp--launch .chart .line { transition: stroke-dashoffset 1.8s var(--ease-io) 0.4s; }
.js .comp--launch:not(.played) .chart .area { opacity: 0; }
.js .comp--launch .chart .area { transition: opacity 1s ease 1.4s; }
.js .comp--launch:not(.played) .gauge circle.g { stroke-dasharray: 0 175.9; }
.js .comp--launch:not(.played) .bars li::before { width: 0; }
.js .comp--launch:not(.played) .leads li { opacity: 0; transform: translateY(8px); }
.js .comp--launch .leads li { transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), background-color 0.6s; transition-delay: calc(var(--li, 0) * 120ms + 700ms); }

/* Processo: a linha se desenha e as etapas acendem */
.js .steps li::before { transform: scaleX(0); transition: transform 0.9s var(--ease-io); transition-delay: calc(var(--i) * 280ms + 200ms); }
.js .steps li i::after { background: var(--text-3); transform: scale(0.6); transition-delay: calc(var(--i) * 280ms); }
.js .steps li > b, .js .steps li > p, .js .steps li > span { opacity: 0; transform: translateY(8px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); transition-delay: calc(var(--i) * 280ms + 80ms); }
.js .steps.in li::before { transform: none; }
.js .steps.in li i::after { background: var(--text); transform: none; }
.js .steps.in li > b, .js .steps.in li > p, .js .steps.in li > span { opacity: 1; transform: none; }

/* Troca de abas */
.work.enter > li { animation: tile-in 0.7s var(--ease) both; animation-delay: calc(var(--si, 0) * 60ms); }
@keyframes tile-in { from { opacity: 0; transform: translateY(14px); } }

/* Transição de tema */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; animation-timing-function: var(--ease); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .brand-logo *, .fig-logo * { animation: none !important; }
  .js .fig-logo :is(.sg, .cube, .co, .floor, .dimen, .dimen-t, .shadow, .plumb) { opacity: 1; transform: none; }
  .js .fig-logo .plate .draw { stroke-dashoffset: 0; }
  .js .fig-logo .plate :is(.f-bg, .f-top) { fill-opacity: 1; }
  .js .fade, .js .reveal, .js .stagger > *, .js .comp .win, .js .hero-title .w,
  .js .steps li > b, .js .steps li > p, .js .steps li > span { opacity: 1; transform: none; filter: none; animation: none; transition: none; }
  .js .steps li::before { transform: none; transition: none; }
  .js .steps li i::after { background: var(--text); transform: none; }
  .js .comp--design .pin { opacity: 1; transform: none; }
  .fig-svg *, .fig-svg g { animation: none !important; transition: none !important; }
  .fig-layers .wf-sel { opacity: 1; }
  .fig-blocks .ptr-i { opacity: 1; }
  .editor { transform: none !important; }
  .tile-img img { transition: none; }
  .work.enter > li { animation: none; }
  .mp-cursor--client { animation: none; transform: translate(330px, 330px); }
  .tile-img.scroll img, .qa-a, .qa-a p { transition: none !important; }
  .fig-fmt *, .fig-fmt g { animation: none !important; transition: none !important; }
  .fig-landing .ptr-i { opacity: 1; }
  .g-caret, .g-pin.main::after, .msg, .case[open] { animation: none !important; }
  .js #duoMap .g-biz, .js #duoMap .g-result { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js #duoMap .g-pin.main { opacity: 1 !important; transform: translate(-50%, -100%) !important; transition: none !important; }
  .js #duoMap .gi, .js #duoMap .g-pin.sm { opacity: 1 !important; transform: none !important; transition: none !important; }
  .js #duoRank .sc-line, .js #duoRank .sc-table em { opacity: 1 !important; stroke-dashoffset: 0 !important; transition: none !important; }
  .ip-wa, .ip-safari, .ip-site, .ios-kb, .pin-reply, .cn-img .swap-in { transition: none !important; }
  .comp .win { translate: none !important; }
}

/* ================= Responsivo ================= */
@media (max-width: 1100px) {
  .editor { grid-template-columns: 200px minmax(0, 1fr); }
  .ed-right { display: none; }
  .figs figure { padding: 0 20px; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-fig { justify-self: center; width: min(560px, calc(100% + 32px)); margin: 24px -16px 0; }
  .fhead { grid-template-columns: 1fr; gap: 20px; }
  .incl { grid-template-columns: 1fr; gap: 12px; }
  .comp-inner { zoom: 0.72; }
  .logos { flex-wrap: wrap; justify-content: center; gap: 32px 48px; }
  .clients .mono-cap { text-align: center; }
  .work li, .work li.w-md { grid-column: span 6; }
  .work--concepts li.w-md:nth-child(5n) { grid-column: span 12; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .steps li:nth-child(2)::before { right: 0; }
}

/* Menu recolhido até 1080px: com 7 links, o atalho e o botão, a barra não cabe em tablet */
@media (max-width: 1080px) {
  .nav-links, .nav-cta, .nav-sep, .kbd-btn { display: none; }
  .nav-toggle { display: block; }
  .nav-actions { gap: 4px; }
  .menu {
    display: flex; flex-direction: column; padding: 8px var(--gutter) 32px; height: calc(100dvh - var(--nav-h));
    background: var(--bg); opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
  }
  .menu a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 510; letter-spacing: -0.02em; }
  .nav.open .menu { opacity: 1; visibility: visible; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; --nav-h: 60px; }
  .nav-links, .nav-cta, .nav-sep { display: none; }
  .nav-toggle { display: block; }
  .nav-actions { gap: 4px; }
  .menu {
    display: flex; flex-direction: column; padding: 8px var(--gutter) 32px; height: calc(100dvh - var(--nav-h));
    background: var(--bg); opacity: 0; visibility: hidden; transition: opacity 0.2s, visibility 0.2s;
  }
  .menu a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 24px; font-weight: 510; letter-spacing: -0.02em; }
  .nav.open .menu { opacity: 1; visibility: visible; }

  .hero { padding-top: calc(var(--nav-h) + 72px); }
  .hero-title br { display: none; }
  .hero-cta { gap: 20px; margin-top: 28px; }
  .hero-sub { font-size: 16px; }
  .stage { margin: 40px 0 0; padding: 24px 0 32px; border-radius: 0; }
  .editor { grid-template-columns: minmax(0, 1fr); grid-template-rows: 44px 440px; }
  .ed-left, .ed-actions .avatars, .ed-ghost { display: none; }
  .ed-top { grid-template-columns: auto 1fr auto; gap: 12px; }
  .ed-top .crumb span, .ed-top .crumb i { display: none; }
  .ed-top .seg { justify-self: center; }
  .ed-canvas { padding: 16px 16px 0; }
  .ed-frame[data-device="tablet"] { width: min(100%, 300px); }
  .ed-frame[data-device="phone"] { width: min(100%, 220px); }
  .mp-cursor { display: none; }

  .clients { padding-top: 72px; }
  .logos { gap: 28px 36px; }
  .lg-okt { height: 26px; }
  .lg-matos { height: 21px; }
  .lg-cerro { height: 26px; }
  .lg-visual { height: 23px; }
  .lg-gr { height: 28px; }
  .lg-elera { font-size: 17px; }
  .lg-elera img { height: 17px; }
  .lg-many { height: 26px; }
  .lg-kore { font-size: 16px; }
  .intro { padding: 112px 0 88px; }
  .figs { grid-template-columns: 1fr; margin-top: 64px; }
  .figs figure, .figs figure:first-child { padding: 32px 0; }
  .figs figure + figure { border-left: 0; border-top: 1px solid var(--line); }
  .fig-svg { margin: 16px 0 24px; max-width: 300px; }
  .feature { padding: 88px 0; }
  .more { margin-top: 20px; }
  .comp { margin-top: 48px; }
  /* Composições no celular: em vez da colagem reduzida pela metade, a janela principal
     entra como um print que sangra pela direita e as auxiliares vêm empilhadas, em tamanho de leitura. */
  .comp-inner { zoom: 1; width: auto; height: auto; margin: 0 var(--gutter); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; -webkit-mask-image: none; mask-image: none; }
  .comp .win { position: relative; left: auto; top: auto; translate: none !important; }
  .canvas-win, .code-win, .dash-win { flex: none; zoom: 0.52; -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent 98%); mask-image: linear-gradient(90deg, #000 60%, transparent 98%); }
  .dash-win { zoom: 0.6; }
  .code-win { zoom: 0.62; height: 440px; }
  .styles-win, .perf-win, .leads-win { width: 100%; max-width: 420px; }
  .term-win { width: 470px; zoom: 0.74; }
  .comps-win, .preview-win { display: none; }
  .sc-head .seg { display: none; }
  .sc-bars li { grid-template-columns: minmax(0, 1fr) 70px 32px; height: auto; min-height: 32px; }
  .incl { margin-top: 40px; }
  .tabs { margin-top: 48px; }
  .work { grid-template-columns: 1fr; gap: 36px; }
  .work li, .work li.w-lg, .work li.w-md, .work--concepts li.w-md:nth-child(5n) { grid-column: 1 / -1; }
  .steps { grid-template-columns: 1fr; row-gap: 40px; margin-top: 56px; }
  .steps li::before { display: none; }
  .steps li { padding: 0 0 0 36px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 24px; bottom: -32px; width: 1px; background: var(--line-2); }
  .steps .mono-cap { margin-top: 12px; }
  .cta { padding: 120px 0 128px; }
  .cta-actions { flex-direction: column; align-items: stretch; max-width: 320px; margin-inline: auto; }
  .footer-inner { flex-direction: column; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-base { margin-top: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .psteps::before, .psteps .gate, .psteps .pfig *, .cta-fig *, .fig-logo .co > *, .fig-logo .floor { transition: none !important; animation: none !important; opacity: 1 !important; }
  .psteps .pfig .draw, .cta-fig .draw { stroke-dashoffset: 0 !important; }
  .psteps .pfig :is(.f-bg, .f-top, .f-mid, .f-hi, .f-cta, .f-acc), .cta-fig :is(.f-bg, .f-top, .f-hi, .f-cta, .f-acc) { fill-opacity: 1 !important; }
  .psteps::before { transform: none !important; }
  .fig-logo .bar { transform: none !important; opacity: 1 !important; }
  .pfig-live .ring, .pfig-design .wf-sel, .pfig .ptr-i, .cta-fig .ptr-i { opacity: 0 !important; }
}

/* =====================================================================
   Movimento v12: transições entre páginas, tema, títulos e navegação
   ===================================================================== */

/* Entre páginas: o print do projeto no início vira a janela da página do projeto */
@view-transition { navigation: auto; }
.nav { view-transition-name: site-nav; }
::view-transition-group(*) { animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.2, 0.75, 0.15, 1); }
::view-transition-old(root) { animation: vt-out 0.28s ease both; }
::view-transition-new(root) { animation: vt-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.08s both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }
/* Troca de tema: um círculo que abre a partir do botão */
.theme-vt .nav { view-transition-name: none; }
.theme-vt::view-transition-old(root) { animation: none; }
.theme-vt::view-transition-new(root) { animation: vt-circle 0.7s cubic-bezier(0.65, 0, 0.35, 1) both; }
@keyframes vt-circle { from { clip-path: circle(0 at var(--vt-x) var(--vt-y)); } to { clip-path: circle(var(--vt-r) at var(--vt-x) var(--vt-y)); } }

/* Barra de navegação: some ao descer, volta ao subir */
.nav { transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), background-color 0.2s, border-color 0.2s; }
.nav.tuck { transform: translateY(-100%); }
.nav.tuck.open { transform: none; }

/* Títulos: cada linha sobe de trás de uma máscara */
.ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ln > span { display: inline-block; }
.js .stagger > :has(> .ln) { opacity: 1; transform: none; filter: none; }
.js .stagger .ln > span { transform: translateY(108%); transition: transform 1.05s cubic-bezier(0.2, 0.75, 0.15, 1); transition-delay: calc(var(--li, 0) * 90ms); }
.js .stagger.in .ln > span { transform: none; }
.js h1.split .ln > span { animation: ln-up 1.05s cubic-bezier(0.2, 0.75, 0.15, 1) both; animation-delay: calc(var(--li, 0) * 90ms + 120ms); }
@keyframes ln-up { from { transform: translateY(108%); } }

/* Toque: tudo que é clicável afunda um pouco */
.tile .tile-img { transition: transform 0.5s var(--ease), box-shadow 0.4s; }
.tile.pressed .tile-img { transform: scale(0.985); }
.kbd-btn.pressed, .theme-btn.pressed { transform: scale(0.92); }
.kbd-btn, .theme-btn { transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s; }
.tile-cap svg { transition: transform 0.35s var(--ease); }
.tile:hover .tile-cap svg { transform: translateX(4px); }

/* Cartões do blog (início e blog) */
.bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 24px; }
.bl-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bl-home .bl-grid { margin-top: 64px; }
.post-card a { display: grid; align-content: start; gap: 14px; color: inherit; }
.post-fig { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); transition: border-color 0.3s, background-color 0.3s; }
.post-fig .fig-svg { width: 80%; max-width: 380px; margin: 0; transition: transform 0.7s var(--ease); }
.post-card a:hover .post-fig { border-color: var(--line-2); background: var(--panel-2); }
.post-card a:hover .post-fig .fig-svg { transform: translateY(-5px) scale(1.02); }
.post-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12.5px; color: var(--text-3); }
.post-meta b { font-weight: 510; color: var(--text-2); }
.post-title { font-size: 18px; line-height: 1.3; font-weight: 510; letter-spacing: -0.015em; color: var(--text); text-wrap: balance; transition: color 0.2s; }
.post-lede { color: var(--text-2); line-height: 1.6; }
.post-card a:hover .post-title { color: var(--text-soft, var(--text)); }
.post-card--big a { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); grid-template-rows: 1fr auto auto auto 1fr; column-gap: 56px; row-gap: 16px; }
.post-card--big .post-fig { grid-column: 1; grid-row: 1 / 6; aspect-ratio: 16 / 10.5; }
.post-card--big .post-meta { grid-column: 2; grid-row: 2; }
.post-card--big .post-title { grid-column: 2; grid-row: 3; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.08; letter-spacing: -0.025em; }
.post-card--big .post-lede { grid-column: 2; grid-row: 4; max-width: 440px; }

/* Capas do blog: as mesmas figuras isométricas, cada uma com o seu gesto */
.bfig .acc { stroke: var(--fig-acc); }
.bfig .f-acc { fill: var(--fig-acc); }
.bfig .lane { stroke-dasharray: 3 4; }
.bfig .ring { fill: none; stroke: var(--fig-mid); opacity: 0; transform-box: fill-box; transform-origin: center; }
.bfig .ptr { transform: translate(var(--tx), var(--ty)); }
.bfig .ptr-p { fill: var(--fig-hi); stroke: var(--bg); stroke-width: 1.2; stroke-linejoin: round; }
.bfig .bar { transform-box: fill-box; transform-origin: left center; }
@media (prefers-reduced-motion: no-preference) {
  .bfig-price .stp { animation: wave 6s var(--ease-io) infinite; animation-delay: calc(1s + var(--i) * 0.25s); }
  .bfig-wa .chat { animation: float-y 5s var(--ease-io) infinite; }
  .bfig-wa .lane, .bfig-speed .lane { animation: lane 1.2s linear infinite; }
  .bfig-wa .btn { animation: btn-press 5s var(--ease-io) 1s infinite; }
  .bfig-wa .ptr-i { animation: ptr 5s var(--ease-io) 1s infinite; opacity: 0; }
  .bfig-map .ring { animation: ring 4.8s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; animation-delay: calc(0.6s + var(--r) * 0.3s); }
  .bfig-map .pin { animation: float-y 4.8s var(--ease-io) infinite; }
  .bfig-speed .bar { animation: load 4.4s cubic-bezier(0.65, 0, 0.35, 1) infinite; }
  .bfig-speed .ph { animation: nudge 2.6s var(--ease-io) infinite; }
}
@media (prefers-reduced-motion: no-preference) {
  .bfig-choose .one { animation: float-y 5s var(--ease-io) 1s infinite; }
  .bfig-choose .pg { animation: wave 6s var(--ease-io) infinite; animation-delay: calc(1.4s + var(--i) * 0.25s); }
  .bfig-redesign .lane { animation: lane 1.1s linear infinite; }
  .bfig-redesign .newp { animation: float-y 5s var(--ease-io) 1s infinite; }
  .bfig-redesign .pin { animation: float-y 3.6s var(--ease-io) infinite; }
  .bfig-home .sec { animation: sec-open 7s var(--ease-io) infinite; animation-delay: calc(1s + var(--i) * 0.12s); }
}
@keyframes sec-open { 0%, 18%, 78%, 100% { transform: none; } 34%, 64% { transform: translateY(calc(var(--i) * -7px)); } }
@keyframes btn-press { 0%, 28%, 44%, 100% { transform: none; } 34% { transform: translateY(2px); } }
@keyframes load { 0% { transform: scaleX(0.04); } 70%, 88% { transform: scaleX(1); } 100% { transform: scaleX(0.04); } }

@media (max-width: 1100px) {
  .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-grid--3 > :nth-child(3) { display: none; }
}
@media (max-width: 760px) {
  .bl-grid, .bl-grid--2 { grid-template-columns: 1fr; gap: 36px; }
  .bl-grid--3 > :nth-child(3) { display: block; }
  .post-card--big a { grid-template-columns: 1fr; grid-template-rows: none; }
  .post-card--big :is(.post-fig, .post-meta, .post-title, .post-lede) { grid-column: 1; grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  .nav.tuck { transform: none; }
  .js .stagger .ln > span, .js h1.split .ln > span { transform: none !important; animation: none !important; transition: none !important; }
}

/* Conversão v2: os botões de cada página e a caixa de entrada do estúdio */
.cv-btns, .cv-inbox { align-self: center; }
.cv-list { display: grid; gap: 4px; padding: 8px; }
.cv-list button { position: relative; display: grid; gap: 6px; padding: 14px 14px 16px; border-radius: 10px; text-align: left; overflow: hidden; transition: background-color 0.25s, box-shadow 0.25s; }
.cv-list button:hover { background: var(--hover); }
.cv-list button[aria-selected="true"] { background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line-2); }
.cv-path { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--text-2); }
.cv-path svg { width: 14px; height: 14px; color: var(--text-3); }
.cv-msg { font-size: 13.5px; line-height: 1.45; color: var(--text-3); transition: color 0.25s; }
.cv-list [aria-selected="true"] .cv-msg { color: var(--text); }
.cv-list [aria-selected="true"] .cv-path svg { color: #25a162; }
.cv-prog { position: absolute; left: 14px; right: 14px; bottom: 7px; height: 2px; border-radius: 2px; background: var(--line); opacity: 0; transition: opacity 0.3s; }
.cv-prog::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #25a162; transform: scaleX(var(--p, 0)); transform-origin: left; transition: transform 0.9s var(--ease); }
.cv-list [aria-selected="true"] .cv-prog { opacity: 1; }
.cv-note { padding: 12px 16px 14px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.5; color: var(--text-3); }

.cv-inbox .win-h { gap: 10px; }
.cv-wa { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #25a162; color: #fff; }
.cv-wa svg { width: 13px; height: 13px; }
.cv-chats { padding: 6px; }
.cv-chats li { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 9px; }
.cv-chats .face { width: 36px; height: 36px; }
.cv-chats div { display: grid; min-width: 0; line-height: 1.35; }
.cv-chats b { font-weight: 510; color: var(--text); font-size: 13.5px; }
.cv-chats span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12.5px; color: var(--text-3); }
.cv-chats em { display: grid; justify-items: end; gap: 4px; font-size: 11.5px; color: var(--text-3); font-style: normal; }
.cv-new { display: grid; max-height: 0; padding-block: 0 !important; opacity: 0; overflow: hidden; transition: max-height 0.5s var(--ease), padding 0.5s var(--ease), opacity 0.4s, background-color 0.6s; }
.cv-new.on { max-height: 64px; padding-block: 9px !important; opacity: 1; }
.cv-new.ping { background: rgba(37, 161, 98, 0.1); }
.cv-new.on:not(.ping) { background: var(--panel-2); }
.cv-new span { color: var(--text-2); }
.cv-badge { display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #25a162; color: #fff; font-size: 11px; font-style: normal; font-weight: 600; transform: scale(0); transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.6, 1); }
.cv-new.unread .cv-badge { transform: none; }
.cv-new.unread em > span { color: #25a162; }
.cv-origin { padding: 14px 16px 0; border-top: 1px solid var(--line); }
.cv-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cv-tags span { padding: 3px 8px; border-radius: 6px; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--text-2); opacity: 0; transform: translateY(4px); transition: opacity 0.4s var(--ease), transform 0.4s var(--ease); }
.cv-tags.on span { opacity: 1; transform: none; }
.cv-tags.on span:nth-child(2) { transition-delay: 0.1s; }
.cv-tags.on span:nth-child(3) { transition-delay: 0.2s; }
.cv-origin .jr { padding: 6px 0; }
.cv-origin .jr-foot { margin: 0 -16px; }
@media (max-width: 1240px) {
  .convo { grid-template-columns: minmax(0, 1fr) auto; padding: 40px; }
  .cv-btns { grid-column: 1 / -1; }
  .cv-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cv-note { display: none; }
}
@media (max-width: 760px) {
  .convo { grid-template-columns: 1fr; gap: 24px; padding: 16px 12px 24px; }
  .cv-list { grid-template-columns: repeat(3, 78%); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cv-list::-webkit-scrollbar { display: none; }
  .cv-list button { scroll-snap-align: start; }
  .phone-mock { order: 0; }
}

/* Hero: a figura acompanha o ponteiro com um leve deslocamento de profundidade */
.fig-logo .bar { translate: calc(var(--mx, 0) * -5px) calc(var(--my, 0) * -4px); }
.fig-logo .callouts { translate: calc(var(--mx, 0) * 4px) calc(var(--my, 0) * 3px); }
.fig-logo .floor { translate: calc(var(--mx, 0) * 3px) calc(var(--my, 0) * 2px); }

/* Processo: passar o mouse acelera o gesto de cada figura */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .pstep .pfig { transition: transform 0.6s var(--ease); }
  .pstep:hover .pfig { transform: translateY(-6px); }
  .pstep:hover .pfig-talk .stamp, .pstep:hover .pfig-talk .mark { animation-duration: 2.6s; }
  .pstep:hover .pfig-build .bld { animation-duration: 4s; }
  .pstep:hover .pfig-live .vis { animation-duration: 1.8s; }
  .pstep:hover .pfig-live .ring { animation-duration: 2.4s; }
  .pstep h3 { transition: color 0.3s; }
  .more svg { transition: transform 0.35s var(--ease); }
  .more:hover svg { transform: translateX(4px); }
}

/* =====================================================================
   Programado do zero: uma janela só (arquivos, código, terminal e prévia),
   a trilha das etapas embaixo e as figuras 3.1–3.3.
   ===================================================================== */
.dev { margin-top: 72px; }
.dev-ide { overflow: hidden; border-radius: 14px; background: var(--code-bg); box-shadow: var(--win-shadow); }
.dev-bar { display: flex; align-items: center; gap: 14px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--panel); font-size: 12.5px; color: var(--text-2); }
.dev-bar .dots { display: flex; gap: 6px; margin-right: 6px; }
.dev-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.dev-bar svg { width: 14px; height: 14px; color: var(--text-3); }
.dev-proj, .dev-branch { display: inline-flex; align-items: center; gap: 6px; }
.dev-proj { color: var(--text); }
.dev-branch { padding: 3px 8px; border-radius: 6px; background: var(--hover); font-family: var(--mono); font-size: 11.5px; }
.dev-publish { position: relative; margin-left: auto; display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 7px; background: var(--btn-bg, #e5e5e6); color: var(--btn-fg, #08090a); font-weight: 510; font-size: 12.5px; overflow: hidden; transition: transform 0.15s, background-color 0.3s, color 0.3s; }
.dev-publish.press { transform: scale(0.94); }
.dev-publish.live { background: var(--green); color: #fff; }
.dev-body { display: grid; grid-template-columns: 180px minmax(0, 1.05fr) minmax(0, 1fr); height: 600px; }
.dev-body > * { min-height: 0; }
.dev-body .code-side { border-right: 1px solid var(--line); }
.dev-editor { display: flex; flex-direction: column; min-width: 0; border-right: 1px solid var(--line); }
.dev-editor .code-tabs { height: 40px; }
.dev-editor .code { flex: 1; min-height: 0; overflow: hidden; padding: 12px 0; font-size: 12px; line-height: 22px; }
.dev-editor .code li { padding-left: 52px; }
.dev-editor .code li::before { width: 34px; }
.dev-panel { height: 150px; border-top: 1px solid var(--line); background: var(--code-bg); }
.dev-panel-h { display: flex; gap: 18px; height: 34px; align-items: center; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 11.5px; color: var(--text-3); }
.dev-panel-h span { display: inline-flex; align-items: center; gap: 6px; height: 100%; }
.dev-panel-h .on { color: var(--text); box-shadow: inset 0 -1px 0 var(--text-2); }
.dev-panel-h svg { width: 13px; height: 13px; }
.dev-panel .term { padding: 8px 14px; font-size: 12px; line-height: 22px; }
.dev-preview { display: flex; flex-direction: column; min-width: 0; background: var(--panel-2); }
.dev-preview .browser-h { flex: none; height: 40px; padding: 0 12px; border-bottom: 1px solid var(--line); }
.dev-preview .frame { flex: 1; min-height: 0; margin: 14px 14px 0; border-radius: 8px; overflow: hidden; transition: filter 0.35s, opacity 0.35s; }
.dev-qr-card { display: flex; align-items: center; gap: 12px; margin: 12px 14px 14px; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-size: 12.5px; }
.dev-qr { flex: none; width: 52px; height: 52px; border-radius: 4px; }
.dev-qr-card > div { display: grid; line-height: 1.35; }
.dev-qr-card b { font-weight: 510; color: var(--text); }
.dev-qr-card > div span { color: var(--text-3); font-size: 12px; }
.dev-qr-live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--text-3); }
.dev-qr-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px rgba(76, 183, 130, 0.18); }
.dev-preview .frame.reloading { filter: blur(2px); opacity: 0.55; }
.dev-preview .url { transition: color 0.3s; }
.dev-preview .url.live { color: var(--text); }

/* A trilha das etapas: acende junto com a janela */
.dev-steps { display: grid; grid-template-columns: repeat(5, 1fr); margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.dev-steps li { position: relative; display: flex; align-items: center; gap: 10px; padding: 14px 0 0; font-size: 13px; color: var(--text-3); transition: color 0.4s; }
.dev-steps li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 1px; background: var(--text-2); transform: scaleX(0); transform-origin: left; transition: transform 0.9s var(--ease); }
.dev-steps li i { flex: none; width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--line-2); transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s; }
.dev-steps li.on { color: var(--text); }
.dev-steps li.on::before { transform: none; }
.dev-steps li.on i { border-color: var(--green); background: var(--green); box-shadow: 0 0 0 4px rgba(76, 183, 130, 0.16); }
.dev-steps li.now i { animation: step-pulse 1s ease-in-out infinite alternate; }
@keyframes step-pulse { to { box-shadow: 0 0 0 7px rgba(76, 183, 130, 0.08); } }

/* Fig 3.1–3.3 */
.figs--dev { margin-top: 96px; }
.dfig .acc { stroke: var(--fig-acc); }
.dfig .f-acc { fill: var(--fig-acc); }
.dfig .lane { stroke-dasharray: 3 4; }
.dfig .ptr { transform: translate(var(--tx), var(--ty)); }
.dfig .ptr-p { fill: var(--fig-hi); stroke: var(--bg); stroke-width: 1.2; stroke-linejoin: round; }
@media (prefers-reduced-motion: no-preference) {
  /* 3.1 o componente manda as cópias para as três páginas */
  .dfig-comp .master { animation: float-y 6s var(--ease-io) 2.4s infinite; }
  .dfig-comp .copy { animation: copy-in 6s cubic-bezier(0.3, 1.3, 0.5, 1) infinite; animation-delay: calc(2.6s + var(--i) * 0.28s); }
  .dfig-comp .lane, .dfig-prev .lane { animation: lane 1.2s linear infinite; }
  /* 3.2 a mudança sai do computador e chega no celular */
  .dfig-prev .edit { animation: edit-blink 5s ease 2.4s infinite; }
  .dfig-prev .ping { transform-box: fill-box; transform-origin: center; animation: ping-pop 5s cubic-bezier(0.3, 1.5, 0.5, 1) 2.4s infinite; }
  .dfig-prev .phone { animation: float-y 5s var(--ease-io) 2.4s infinite; }
  /* 3.3 o ponteiro seleciona a linha e ela é reescrita */
  .dfig-edit .ptr-i { opacity: 0; animation: ptr 6s var(--ease-io) 2.4s infinite; }
  .dfig-edit .wf-sel { opacity: 0; animation: sel-blink 6s ease 2.4s infinite; }
  .dfig-edit .line { animation: retype 6s ease 2.4s infinite; }
  .figs figure:hover .dfig :is(.copy, .edit, .ping, .ptr-i, .wf-sel, .line) { animation-duration: 3s; }
}
@keyframes copy-in { 0%, 8% { opacity: 0; transform: translateY(calc(var(--drop) * -1)); } 18%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@keyframes edit-blink { 0%, 12%, 30%, 100% { opacity: 1; } 18%, 24% { opacity: 0.2; } }
@keyframes ping-pop { 0%, 38% { transform: scale(1); } 46% { transform: scale(1.6); } 56%, 100% { transform: scale(1); } }
@keyframes retype { 0%, 36% { opacity: 1; } 42%, 50% { opacity: 0.15; } 58%, 100% { opacity: 1; } }

@media (max-width: 1320px) {
  .dev-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .dev-body .code-side { display: none; }
}
@media (max-width: 760px) {
  .dev { margin-top: 48px; }
  .dev-body { grid-template-columns: 1fr; height: auto; }
  .dev-editor { border-right: 0; border-bottom: 1px solid var(--line); }
  .dev-editor .code { height: 280px; flex: none; font-size: 11px; line-height: 20px; }
  .dev-editor .code li { padding-left: 40px; }
  .dev-editor .code li::before { width: 26px; }
  .dev-editor .statusbar span:nth-child(n + 3) { display: none; }
  .dev-panel { height: 128px; }
  .dev-preview .frame { height: 420px; flex: none; }
  .dev-branch { display: none; }
  .dev-steps { grid-template-columns: repeat(3, 1fr); row-gap: 4px; }
  .dev-steps li { font-size: 12px; }
  .figs--dev { margin-top: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  .dev-steps li::before, .dev-steps li i { transition: none; animation: none; }
}
.dev-qr-card .dev-qr { width: 52px !important; height: 52px !important; }
.dev-preview .frame { background: #f4f1ec; }
.dev-panel .term { white-space: nowrap; overflow: hidden; }
.dev-panel .term .out { flex-wrap: nowrap; }
@media (max-width: 760px) {
  .dev-panel { height: auto; }
  .dev-panel .term { padding-bottom: 12px; }
  .dev-qr-live { display: none; }
  .dev-qr-card .dev-qr { width: 44px !important; height: 44px !important; }
  .dev-steps { display: flex; flex-wrap: wrap; column-gap: 18px; border-top: 0; }
  .dev-steps li { padding-top: 10px; }
  .dev-steps li::before { display: none; }
}

/* Fig 4.0: a resposta sobe e encosta na pergunta */
.faq-art { width: min(300px, 100%); margin-top: 48px; }
.faq-art figcaption { margin-top: 6px; }
.faq-fig { margin: 0; max-width: none; }
.faq-fig .acc { stroke: var(--fig-acc); }
.faq-fig .f-acc { fill: var(--fig-acc); }
.faq-fig .lane { stroke-dasharray: 3 4; }
@media (prefers-reduced-motion: no-preference) {
  .faq-fig .a { animation: faq-answer 6s var(--ease-io) 1.5s infinite; }
  .faq-fig .lane { animation: lane 1.2s linear infinite; }
}
@keyframes faq-answer { 0%, 12% { opacity: 0; transform: translateY(14px); } 26%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: none; } }
@media (max-width: 760px) { .faq-art { display: none; } }

/* Trabalhos: no hover, o print ganha um selo "Ver o projeto" */
.tile .tile-img { position: relative; }
.tile[data-work] .tile-img::before { content: "Ver o projeto  →"; position: absolute; z-index: 2; right: 14px; bottom: 14px; border-radius: 999px; padding: 7px 12px; background: rgba(8, 9, 10, 0.82); color: #fff; font-size: 12.5px; font-weight: 510; white-space: pre; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); pointer-events: none; }
@media (hover: hover) { .tile[data-work]:hover .tile-img::before { opacity: 1; transform: none; } }

/* Link "Ler →" dos cartões de texto (home e blog) */
.post-go { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-3); transition: color 0.2s; }
.post-go svg { width: 13px; height: 13px; transition: transform 0.3s var(--ease); }
.post-card a:hover .post-go { color: var(--text); }
.post-card a:hover .post-go svg { transform: translateX(4px); }

/* =====================================================================
   v18: folha pautada, hero pintado e títulos em scramble (referência: Ecoa)
   ===================================================================== */

/* ---------- Hero: a pintura é o único momento de cor ---------- */
.hero { padding: calc(var(--nav-h) + 4px) 16px 0; overflow-x: clip; }
.hp { max-width: 1520px; margin: 0 auto; }
.hp-art { position: relative; }
.hp-svg { display: block; width: 100%; height: auto; aspect-ratio: 1440 / 640; min-height: 600px; overflow: visible; }
.hp-veil { fill: #000; opacity: 0.26; }
.hp-run { font: 500 17px var(--font); letter-spacing: -0.01em; fill: var(--text-2); }
.hp-app rect { fill: #fff; stroke: rgba(0, 0, 0, 0.08); }
.hp-pill rect { fill: #111214; stroke: rgba(255, 255, 255, 0.1); }
:root[data-theme="light"] .hp-pill rect { stroke: none; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.18)); }
/* na pílula, o fio entra, o cubo pousa, fica, e recomeça */
.pill-logo { color: #f6f4ef; overflow: visible; }
.pill-logo .mk-thread { stroke-dasharray: 1 1; animation: mk-loop 4.2s var(--ease) infinite; }
.pill-logo .mk-core { animation: mk-loop-core 4.2s cubic-bezier(0.3, 1.4, 0.5, 1) infinite; }
@keyframes mk-loop {
  0% { stroke-dashoffset: 1; opacity: 1; }
  30%, 80% { stroke-dashoffset: 0; opacity: 1; }
  92%, 100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes mk-loop-core {
  0%, 24% { opacity: 0; transform: translateY(-4px) scale(0.4); }
  36%, 80% { opacity: 1; transform: none; }
  92%, 100% { opacity: 0; transform: none; }
}
.hp-img, .hp-m { display: none; }

.hp-copy { position: absolute; inset: 0 0 auto; height: 72%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 24px 0; text-align: center; color: #fff; }
.hp-news { display: inline-flex; align-items: center; gap: 8px; height: 32px; margin-bottom: 26px; padding: 0 12px 0 4px; border-radius: 999px; font-size: 13px; color: #fff; background: rgba(10, 12, 20, 0.28); border: 1px solid rgba(255, 255, 255, 0.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: background 0.2s; }
.hp-news b { height: 24px; padding: 0 9px; display: inline-flex; align-items: center; border-radius: 999px; background: #fff; color: #0b0c0e; font-weight: 600; font-size: 12px; }
.hp-news svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.hp-news:hover { background: rgba(10, 12, 20, 0.42); }
.hp-news:hover svg { transform: translateX(2px); }
.hero .hero-title { max-width: none; font-size: clamp(44px, 5.2vw, 76px); line-height: 1.02; font-weight: 600; letter-spacing: -0.034em; color: #fff; text-shadow: 0 2px 18px rgba(4, 10, 40, 0.28); text-wrap: initial; }
.hero-title .hl { display: block; }
.hero .hero-sub { max-width: 600px; margin: 22px auto 0; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.92); text-shadow: 0 1px 10px rgba(4, 10, 40, 0.35); }
.hero .hero-cta { justify-content: center; gap: 12px; margin-top: 32px; }
.btn-ink { color: #fff; background: #0b0c0e; border-color: #0b0c0e; box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.25), 0 8px 24px -10px rgba(0, 0, 0, 0.6); }
.btn-ink:hover { background: #24252a; border-color: #24252a; }
.btn-glass { color: #fff; background: rgba(255, 255, 255, 0.15); border-color: rgba(255, 255, 255, 0.3); box-shadow: none; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn-glass:hover { background: rgba(255, 255, 255, 0.26); border-color: rgba(255, 255, 255, 0.4); }

/* ---------- Scramble: estados de cada letra ---------- */
[data-scramble] { --scr-fg: var(--text); --scr-bg: var(--bg); --scr-acc: var(--fig-acc); --scr-ink: #fff; }
.hero [data-scramble], .cta [data-scramble], .bl-head [data-scramble] { --scr-fg: #fff; --scr-bg: rgba(11, 16, 26, 0.9); --scr-acc: #ffb27a; --scr-ink: #1a0d05; }
.sw { white-space: pre; }
.sc { position: relative; }
.sc.c-init { color: transparent; }
.sc.c-fill, .sc.c-inv { color: var(--scr-bg); background: var(--scr-fg); text-shadow: none; }
.sc.c-fill, .sc.c-acc-inv { border-radius: 5px; }
.sc.c-acc { color: var(--scr-acc); }
.sc.c-acc-inv { color: var(--scr-ink); background: var(--scr-acc); text-shadow: none; }
.sc.c-acc-fill { color: var(--scr-acc); background: var(--scr-acc); }
.sc.c-bor::after { content: ""; position: absolute; inset: 0.06em -0.02em; border: 1px solid var(--scr-acc); border-radius: 5px; }
.sc.c-fill:has(+ .c-fill), .sc.c-acc-inv:has(+ .c-acc-inv) { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.sc.c-fill + .c-fill, .sc.c-acc-inv + .c-acc-inv { border-top-left-radius: 0; border-bottom-left-radius: 0; }

/* ---------- A folha: tudo abaixo do hero mora numa coluna pautada ---------- */
.sheet { position: relative; width: min(var(--w), 100% - var(--gutter) * 2); margin: 0 auto; border-inline: 1px solid var(--line); }
.sheet .container { width: auto; margin-inline: clamp(20px, 4.2vw, 56px); }
.sheet > section { position: relative; border-top: 1px solid var(--line); }
.sheet > section:first-child { border-top: 0; }
.sheet > section::before, .sheet > section::after {
  content: ""; position: absolute; top: -8px; z-index: 3; width: 15px; height: 15px; pointer-events: none; background: var(--text-3);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sheet > section::before { left: -8px; }
.sheet > section::after { right: -8px; }
.sheet > section:first-child::before, .sheet > section:first-child::after { display: none; }
.sheet > .feature { padding: 96px 0; }

/* O editor abre a folha */
.stage-sec { padding-top: 8px; }
.stage-sec .stage { margin: 0; border-radius: 0; padding: 40px 0 48px; }

/* ---------- Cabeçalho de seção: título + continuação em cinza ---------- */
.eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font-size: 14px; line-height: 1.4; letter-spacing: -0.005em; color: var(--text-2); }
.eyebrow svg { width: 16px; height: 16px; color: var(--text-3); }
.fhead { display: block; max-width: 780px; }
.fhead .eyebrow { max-width: none; font-size: 14px; line-height: 1.4; color: var(--text-2); letter-spacing: -0.005em; }
.fhead h2, .intro .statement { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.24; font-weight: 560; letter-spacing: -0.022em; text-wrap: pretty; }
.fhead h2 .h-c, .intro .statement .h-c { color: var(--text-2); font-weight: 510; }
.fhead .more { margin-top: 22px; }

/* ---------- Intro: texto | Fig 0.0 num painel ---------- */
.intro { padding: 0 0 88px; }
.intro-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.intro-copy { align-self: center; padding: 72px clamp(20px, 4.2vw, 56px); }
.intro .statement { max-width: 560px; }
.intro-art { position: relative; display: grid; place-items: center; padding: 32px 8px 20px; border-left: 1px solid var(--line); background: color-mix(in srgb, var(--panel) 55%, transparent); overflow: hidden; }
.intro-fig.hero-fig { justify-self: center; width: min(100%, 560px); margin: 0; }
.intro .figs { margin-top: 72px; }

/* Hero: cantos de cima arredondados */
.hp-svg { clip-path: inset(0 round 24px 24px 0 0); }

/* Clientes: uma faixa curta */
.sheet > .clients { padding: 36px 0 40px; }
.clients .logos { row-gap: 20px; }
.clients .mono-cap { margin-top: 26px; text-align: center; }

/* Trabalhos: 5 à vista, o resto num toque */
.work:not(.open) > li:nth-child(n + 6) { display: none; }
.work > li.more-in { animation: more-in 0.7s var(--ease) both; animation-delay: calc(var(--si, 0) * 70ms); }
@keyframes more-in { from { opacity: 0; transform: translateY(14px); } }
.work-more-row { display: flex; justify-content: center; margin-top: 48px; }
.work-more-row[hidden] { display: none; }
.work-more svg { width: 14px; height: 14px; margin-left: 2px; }

/* Dúvidas: o título segue o mesmo padrão */
.faq-head h2 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.24; font-weight: 560; letter-spacing: -0.022em; }
.faq-head h2 .h-c { display: block; margin-top: 4px; color: var(--text-2); font-weight: 510; }

/* Contato: texto | figura, com cruzes nos quatro cantos */
.sheet > .cta { padding: 0; text-align: center; }
/* O fecho é o segundo momento de cor: o entardecer, com o texto no céu */
.cta-paint { position: relative; isolation: isolate; display: grid; place-items: center; min-height: 600px; overflow: hidden; color: #fff; }
.cta-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 100%; image-rendering: pixelated; }
.cta-paint::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 10, 30, 0.2), rgba(8, 10, 30, 0.05) 55%, rgba(8, 10, 30, 0.3)); }
.cta-copy { max-width: 720px; padding: 96px 24px 140px; }
.cta-copy .eyebrow { justify-content: center; color: rgba(255, 255, 255, 0.85); }
.cta-copy .eyebrow svg { color: #fff; }
.cta-copy h2 { font-size: clamp(32px, 4.2vw, 56px); line-height: 1.12; font-weight: 600; letter-spacing: -0.03em; color: #fff; text-shadow: 0 2px 18px rgba(4, 8, 30, 0.35); text-wrap: balance; }
.cta-lede { max-width: 480px; margin: 18px auto 0; font-size: 18px; line-height: 1.5; color: rgba(255, 255, 255, 0.88); text-shadow: 0 1px 10px rgba(4, 8, 30, 0.4); }
.cta-copy .cta-actions { justify-content: center; margin-top: 34px; }
.cta-copy .cta-hint { margin-top: 22px; color: rgba(255, 255, 255, 0.7); }
.cta-copy .cta-hint kbd { color: #fff; background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.25); }
.sheet { border-bottom: 1px solid var(--line); margin-bottom: 0; }
.sheet::before, .sheet::after {
  content: ""; position: absolute; bottom: -8px; width: 15px; height: 15px; background: var(--text-3); pointer-events: none; z-index: 3;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 15'%3E%3Cpath d='M7.5 0v15M0 7.5h15' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sheet::before { left: -8px; }
.sheet::after { right: -8px; }
.sheet + .footer, main + .footer { border-top: 0; }

/* ---------- v18 responsivo ---------- */
@media (max-width: 960px) {
  .intro-row { grid-template-columns: 1fr; }
  .intro-copy { padding: 56px clamp(20px, 4.2vw, 56px) 48px; }
  .cta-paint { min-height: 640px; }
  .cta-img { object-position: 30% 100%; }
  .cta-copy { padding: 72px 20px 150px; }
  .intro-art { border-left: 0; border-top: 1px solid var(--line); }
  .intro-fig.hero-fig { width: min(100%, 520px); }
}
@media (max-width: 760px) {
  .hero { padding: calc(var(--nav-h) - 8px) 10px 0; }
  .hp-svg { min-height: 0; aspect-ratio: auto; height: 600px; clip-path: inset(0 round 20px 20px 0 0); }
  .hp-run, .hp-apps, .hp-pill { display: none; }
  .hp-copy { height: 86%; padding: 24px 20px 0; }
  .hp-news { margin-bottom: 20px; }
  .hero .hero-title { font-size: clamp(36px, 10.4vw, 44px); line-height: 1.04; }
  .hero-title .hl { text-wrap: balance; }
  .hero .hero-sub { font-size: 16px; margin-top: 18px; }
  .hero .hero-cta { margin-top: 26px; }
  .hp-m { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 14px; margin-top: -96px; }
  .hp-pill-m { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 999px; background: #111214; border: 1px solid rgba(255, 255, 255, 0.1); }
  :root[data-theme="light"] .hp-pill-m { border: 0; box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18); }
  .hp-pill-m .pill-logo { display: block; height: 24px; width: auto; }
  .mq { width: calc(100% + 20px); margin-inline: -10px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(90deg, transparent, #000 14%, #000 86%, transparent); }
  .mq-track { display: flex; width: max-content; animation: mq 46s linear infinite; }
  .mq-track > span:not(.mq-app) { white-space: pre; font-size: 15px; font-weight: 500; letter-spacing: -0.01em; color: var(--text-2); }
  .mq-rev { animation-duration: 32s; animation-direction: reverse; }
  .mq-app { display: grid; place-items: center; flex: none; width: 36px; height: 36px; margin-right: 12px; border-radius: 10px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.08); }
  .mq-app svg { width: 20px; height: 20px; }
  .sheet { margin-top: 40px; }
}
@keyframes mq { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .mq-track, .pill-logo * { animation: none !important; }
}
@media (max-width: 760px) {
  .hp-svg image { transform: translateX(330px) scale(1.04); }
  .hp-m { margin-top: -94px; gap: 16px; }
}
@media (max-width: 760px) { .hp-veil { opacity: 0.34; } }
.intro .statement .h-t { color: var(--text); }
@media (max-width: 1240px) { .clients .logos { flex-wrap: wrap; justify-content: center; gap: 24px 44px; } }

/* ---------- Conversão: o caminho longo e o atalho, sobre uma pintura ----------
   A trilha tracejada passa pelos 5 passos; a linha cheia vai direto, pelo botão.
   main.js liga os pontos (pontos medidos na tela) e roda o ciclo enquanto a cena está visível. */
.ba { margin-top: 96px; }
.ba-head { max-width: 640px; margin: 0 auto; text-align: center; }
.ba-head h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; font-weight: 560; letter-spacing: -0.025em; }
.ba-head p { margin-top: 12px; color: var(--text-2); }
.ba-key { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 13px; color: var(--text-2); }
.ba-key li { display: inline-flex; align-items: center; gap: 8px; }
.ba-key i { width: 26px; height: 0; border-top: 2px dashed var(--text-3); }
.ba-key .k-short { border-top: 2.5px solid var(--fig-acc); }

.ba-scene { --x: 50%; --y: 50%; position: relative; margin: 36px 0 0; height: clamp(480px, 46vw, 600px); overflow: hidden; border-radius: 18px; isolation: isolate; color: #fff; box-shadow: 0 0 0 1px var(--line); }
.ba-paint { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; }
.ba-scene::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 90% at 50% 50%, rgba(6, 10, 24, 0.12), rgba(6, 10, 24, 0.4)); }
.ba-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ba-lines path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ba-long { stroke: rgba(255, 255, 255, 0.78); stroke-width: 2; stroke-dasharray: 0.006 0.008; }
.ba-short { stroke: var(--fig-acc); stroke-width: 3.5; filter: drop-shadow(0 1px 1.5px rgba(40, 10, 0, 0.45)); }
.ba-scene :is(.ba-pt, .ba-step, .ba-btn, .ba-chat) { position: absolute; left: var(--x); top: var(--y); translate: -50% -50%; }

.ba-pt { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px; font-size: 13.5px; font-weight: 510; white-space: nowrap; background: rgba(10, 13, 22, 0.62); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ba-pt i { width: 9px; height: 9px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22); }
.ba-start { --x: 8.5%; --y: 52%; }

.ba-step { display: flex; align-items: center; gap: 9px; white-space: nowrap; padding: 7px 13px 7px 7px; border-radius: 12px; font-size: 13px; line-height: 1.3; background: rgba(10, 13, 22, 0.58); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ba-step b { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; font: 600 11.5px var(--mono); color: #0b0c0e; background: rgba(255, 255, 255, 0.9); }
.ba-step:nth-child(1) { --x: 21%; --y: 19%; }
.ba-step:nth-child(2) { --x: 29%; --y: 83%; }
.ba-step:nth-child(3) { --x: 44%; --y: 18%; }
.ba-step:nth-child(4) { --x: 53%; --y: 84%; }
.ba-step:nth-child(5) { --x: 63%; --y: 20%; }

.ba-btn { --x: 38%; --y: 52%; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px 0 14px; border-radius: 999px; font-size: 14px; font-weight: 600; white-space: nowrap; color: #0b0c0e; background: #fff; box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.55), 0 0 0 4px rgba(255, 106, 31, 0.28); transition: scale 0.18s var(--ease); }
.ba-btn svg { width: 18px; height: 18px; color: #25d366; }
.ba-btn em { position: absolute; inset: -6px; border-radius: inherit; border: 2px solid #fff; opacity: 0; pointer-events: none; }

.ba-chat { --x: 83%; --y: 52%; width: min(280px, 27%); min-width: 236px; overflow: hidden; border-radius: 16px; color: #111b21; background: #efeae2; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.06); }
.ba-chat-h { display: flex; align-items: center; gap: 9px; padding: 10px 12px; background: #fff; font-size: 13.5px; }
.ba-chat-h em { margin-left: auto; font-size: 11.5px; color: #667781; }
.ba-av { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font: 600 12px var(--font); color: #fff; background: #3b3f46; }
.ba-bubble { position: relative; margin: 14px 12px 8px 30px; padding: 8px 10px 6px; border-radius: 10px 2px 10px 10px; font-size: 13.5px; line-height: 1.4; background: #d9fdd3; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08); }
.ba-bubble small { display: flex; justify-content: flex-end; align-items: center; gap: 3px; margin-top: 2px; font-size: 10.5px; color: #667781; }
.ba-bubble small svg { width: 13px; height: 13px; color: #53bdeb; }
.ba-from { display: flex; align-items: center; gap: 7px; margin: 0 12px 12px; font-size: 11.5px; color: #54656f; }
.ba-from svg { flex: none; width: 13px; height: 13px; color: #1fa855; }

.ba-walk { fill: #fff; stroke: rgba(10, 13, 22, 0.5); stroke-width: 1.5; opacity: 0; }
.ba-scene.anim.walking .ba-walk { opacity: 1; }
/* Ciclo (main.js): o ponto anda pela trilha e acende os passos; .tap aperta o botão; .short corta direto; .open abre a conversa */
.ba-scene.anim .ba-short { stroke-dasharray: 1 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.45s ease; }
.ba-scene.anim .ba-step { opacity: 0.35; scale: 0.96; transition: opacity 0.45s ease, scale 0.45s var(--ease), background-color 0.45s; }
.ba-scene.anim .ba-chat { opacity: 0; transform: translateY(14px) scale(0.97); transition: opacity 0.5s ease, transform 0.6s var(--ease); }
.ba-scene.anim .ba-bubble { opacity: 0; transform: translateY(8px); transition: opacity 0.4s ease 0.25s, transform 0.5s var(--ease) 0.25s; }
.ba-scene.anim .ba-step.on { opacity: 1; scale: 1; }
.ba-scene.anim.tap .ba-btn { scale: 0.94; }
.ba-scene.anim.tap .ba-btn em { animation: ba-ring 0.7s ease-out; }
.ba-scene.anim.short .ba-short { stroke-dashoffset: 0; }
.ba-scene.anim.open .ba-chat, .ba-scene.anim.open .ba-bubble { opacity: 1; transform: none; }
.ba-scene.anim.dim .ba-step, .ba-scene.anim.dim .ba-long { opacity: 0.55; transition: opacity 0.6s ease; }
@keyframes ba-ring { from { opacity: 0.9; transform: scale(0.9); } to { opacity: 0; transform: scale(1.35); } }

@media (max-width: 900px) {
  .ba { margin-top: 64px; }
  .ba-scene { height: 700px; min-height: 0; border-radius: 14px; }
  .ba-paint { object-position: 62% 50%; }
  .ba-start { --x: 50%; --y: 6%; }
  .ba-step { max-width: 58%; font-size: 12.5px; white-space: normal; }
  .ba-step:nth-child(1) { --x: 33%; --y: 19%; }
  .ba-step:nth-child(2) { --x: 37%; --y: 30%; }
  .ba-step:nth-child(3) { --x: 31%; --y: 41%; }
  .ba-step:nth-child(4) { --x: 36%; --y: 52%; }
  .ba-step:nth-child(5) { --x: 33%; --y: 63.5%; max-width: 58%; }
  .ba-btn { --x: 81%; --y: 41%; width: 48px; height: 48px; padding: 0; justify-content: center; font-size: 0; gap: 0; }
  .ba-btn svg { width: 24px; height: 24px; }
  .ba-chat { --x: 50%; --y: 85%; width: calc(100% - 32px); min-width: 0; }
}

/* ---------- Faixa "Feito para…" com chips no meio da frase ---------- */
.sheet > .built { position: relative; isolation: isolate; display: grid; align-content: start; min-height: clamp(360px, 34vw, 440px); padding: clamp(56px, 6vw, 84px) 24px 120px; text-align: center; color: #fff; }
/* A faixa mora sobre a pintura das Missões: o céu segura a frase, as ruínas ficam à direita */
.built-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.built-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; image-rendering: pixelated; }
.built-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8, 12, 40, 0.28), rgba(8, 12, 40, 0) 60%); }
.built .built-line { text-shadow: 0 2px 16px rgba(4, 8, 30, 0.35); }
.built .ichip { color: #fff; background: rgba(10, 13, 22, 0.42); border-color: rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); text-shadow: none; }
.built .ichip svg { color: rgba(255, 255, 255, 0.85); }
.built-cap { position: absolute; left: 20px; bottom: 16px; font-size: 11px; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); }
.built-line { font-size: clamp(22px, 2.6vw, 34px); line-height: 1.7; font-weight: 560; letter-spacing: -0.022em; }
.ichip { display: inline-flex; align-items: center; gap: 8px; height: 1.45em; padding: 0 0.6em 0 0.5em; margin: 0 0.12em; vertical-align: 0.08em; border: 1px solid var(--line-2); border-radius: 999px; background: var(--panel); font-size: 0.5em; font-weight: 510; letter-spacing: -0.005em; color: var(--text-soft); line-height: 1; }
.ichip svg { width: 1.15em; height: 1.15em; color: var(--text-2); }
.ichip:nth-child(1) { --c: var(--fig-acc); }
@media (max-width: 760px) { .ichip { font-size: 0.62em; } .built-line { line-height: 1.85; } .sheet > .built { min-height: 460px; } .built-bg img { object-position: 78% 100%; } }
@media (hover: none) and (max-width: 760px) { .cta-hint { display: none; } }
/* As composições sangram até o trilho da folha e param ali */
.sheet > section > .comp, .sheet > section > .dev-ide-wrap, .sheet > section > .stage { overflow-x: clip; }

/* Conceitos: cartões abrem o conceito navegável */
.tile[data-concept] .tile-img::before { content: "Abrir e testar  →"; position: absolute; z-index: 2; right: 14px; bottom: 14px; border-radius: 999px; padding: 7px 12px; background: rgba(8, 9, 10, 0.82); color: #fff; font-size: 12.5px; font-weight: 510; white-space: pre; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(6px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); pointer-events: none; }
@media (hover: hover) { .tile[data-concept]:hover .tile-img::before { opacity: 1; transform: none; } }
.work .tile[data-concept] .tile-cap svg { transform: none; }

/* Trabalhos: um destaque largo e o resto em pares do mesmo tamanho */
.work li.w-xl { grid-column: 1 / -1; }
.work li.w-xl .tile-img { aspect-ratio: 21 / 9; }
.work li.w-xl .tile:hover .tile-img.scroll img, .work li.w-xl .tile:focus-visible .tile-img.scroll img { transform: translateY(calc(-100% + 42.857cqw)); }
@media (max-width: 640px) { .work li.w-xl .tile-img { aspect-ratio: 16 / 10; } .work li.w-xl .tile:hover .tile-img.scroll img { transform: translateY(calc(-100% + 62.5cqw)); } }
