/* =========================================================
   JHG Soluções — estilos
   --acc é a cor de destaque (r g b) e muda conforme a seção;
   o main.js interpola o valor a cada quadro.
   ========================================================= */
:root {
  --bg: #030304;
  --bg-2: #08080b;
  --panel: rgba(14, 14, 18, .62);
  --panel-solid: #0c0c10;
  --fg: #f3f2ee;
  --mute: #9a99a3;
  --faint: #5d5c66;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --acc: 200 220 255;
  --sans: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --g: clamp(20px, 5vw, 80px);
  --r: 22px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --mx: 50vw;
  --my: 40vh;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgb(var(--acc) / .85); color: #000; }
:focus-visible { outline: 2px solid rgb(var(--acc)); outline-offset: 4px; border-radius: 6px; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; font-weight: 400; }
.dim { color: var(--mute); }
.grad {
  background: linear-gradient(100deg, #fff 0%, rgb(var(--acc)) 45%, #fff 90%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -220% 0; } }

/* ---------- fundo ---------- */
#stage { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.bg-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(600px circle at var(--mx) var(--my), rgb(var(--acc) / .10), transparent 60%),
    radial-gradient(1200px 700px at 85% -10%, rgb(var(--acc) / .10), transparent 60%),
    radial-gradient(900px 600px at -10% 110%, rgb(var(--acc) / .06), transparent 60%);
}
.bg-grid {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center calc(var(--scroll, 0) * -0.15px);
  -webkit-mask-image: radial-gradient(700px circle at var(--mx) var(--my), #000 0%, transparent 70%);
          mask-image: radial-gradient(700px circle at var(--mx) var(--my), #000 0%, transparent 70%);
}
.bg-grain {
  position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); } 25% { transform: translate(-3%, 2%); }
  50% { transform: translate(2%, -3%); } 75% { transform: translate(-1%, 3%); } 100% { transform: translate(0, 0); }
}
main, .foot { position: relative; z-index: 2; }

/* ---------- loader ---------- */
.loader { display: none; }
.js .loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: grid; place-content: center; justify-items: center; gap: 22px;
  transition: opacity .7s var(--ease), visibility .7s;
  animation: loader-failsafe 0s 5s forwards;
}
@keyframes loader-failsafe { to { opacity: 0; visibility: hidden; } }
.loader-logo { width: 64px; mix-blend-mode: screen; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .45; transform: scale(.96); } }
.loader-bar { width: 160px; height: 1px; background: var(--line-2); overflow: hidden; }
.loader-bar i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform .2s linear; }
.loader-n { color: var(--mute); }
.is-ready .loader { opacity: 0; visibility: hidden; }

/* ---------- cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .js .cursor { display: block; position: fixed; inset: 0; pointer-events: none; z-index: 90; }
  .js body, .js a, .js button, .js [data-cursor] { cursor: none; }
  .c-dot, .c-ring { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
  .c-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; mix-blend-mode: difference; }
  .c-ring {
    width: 38px; height: 38px; margin: -19px 0 0 -19px;
    border: 1px solid rgb(var(--acc) / .55);
    display: grid; place-items: center;
    transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
  }
  .c-label { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
  .cursor.is-hover .c-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgb(var(--acc) / .12); border-color: rgb(var(--acc)); }
  .cursor.is-label .c-ring { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: rgb(var(--acc)); border-color: transparent; }
  .cursor.is-label .c-label { opacity: 1; }
  .cursor.is-label .c-dot { opacity: 0; }
  .cursor.is-down .c-ring { transform-origin: center; scale: .85; }
}

/* ---------- barra de progresso ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, transparent, rgb(var(--acc))); transform-origin: left; transform: scaleX(var(--sp, 0)); box-shadow: 0 0 12px rgb(var(--acc) / .8); }

/* ---------- topo ---------- */
.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 18px var(--g);
  transition: transform .5s var(--ease), background .4s, padding .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.top.is-scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(3, 3, 4, .55);
  -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%);
  border-bottom-color: var(--line);
}
.top.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 34px; height: 34px; mix-blend-mode: screen; transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.08); }
.brand-name { font-weight: 700; font-size: 19px; letter-spacing: -.03em; }
.brand-name em { font-style: normal; font-weight: 300; color: var(--mute); }
.nav { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 99px; background: rgba(10, 10, 14, .45); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.nav a { font: 400 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); padding: 10px 16px; border-radius: 99px; transition: color .25s, background .25s; }
.nav a:hover, .nav a.is-active { color: var(--fg); background: rgba(255, 255, 255, .07); }
.nav a.is-active { box-shadow: inset 0 0 0 1px rgb(var(--acc) / .35); }

/* ---------- botões ---------- */
.btn {
  --bx: 0px; --by: 0px;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 26px; border-radius: 99px;
  font: 500 14px/1 var(--sans); letter-spacing: -.01em;
  border: 1px solid var(--line-2);
  transform: translate(var(--bx), var(--by));
  transition: transform .4s var(--ease), background .3s, border-color .3s, color .3s, box-shadow .3s;
  overflow: hidden; isolation: isolate; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--fg); color: #000; border-color: transparent; }
.btn-primary::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(120px circle at var(--hx, 50%) var(--hy, 50%), rgb(var(--acc)), transparent 70%);
  opacity: 0; transition: opacity .3s;
}
.btn-primary:hover::before { opacity: .9; }
.btn-primary:hover { box-shadow: 0 0 0 6px rgb(var(--acc) / .12), 0 10px 40px -8px rgb(var(--acc) / .6); }
.btn-ghost { background: rgba(255, 255, 255, .03); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: rgb(var(--acc) / .6); background: rgb(var(--acc) / .08); }
.btn-sm { height: 42px; padding: 0 18px; font-size: 13px; background: rgba(255, 255, 255, .04); }
.btn-sm:hover { border-color: rgb(var(--acc) / .6); }
.btn-xl { height: 68px; padding: 0 32px; font-size: clamp(15px, 2vw, 20px); }
.dot-live { width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--acc)); box-shadow: 0 0 0 0 rgb(var(--acc) / .7); animation: live 2s infinite; display: inline-block; }
@keyframes live { 70% { box-shadow: 0 0 0 9px rgb(var(--acc) / 0); } 100% { box-shadow: 0 0 0 0 rgb(var(--acc) / 0); } }

/* ---------- trilho lateral ---------- */
.rail {
  position: fixed; right: calc(var(--g) * .45); top: 50%; z-index: 40;
  transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  color: var(--mute);
}
.rail ul { display: flex; flex-direction: column; gap: 10px; }
.rail li { width: 2px; height: 22px; background: var(--line-2); border-radius: 2px; transition: background .4s, height .4s var(--ease), box-shadow .4s; }
.rail li.on { height: 42px; background: rgb(var(--acc)); box-shadow: 0 0 10px rgb(var(--acc) / .7); }
.rail-n { color: var(--fg); }
.rail-label { writing-mode: vertical-rl; letter-spacing: .2em; font-size: 10px; }

/* ---------- revelar ao rolar ---------- */
.js .reveal { opacity: 0; transform: translateY(40px); filter: blur(8px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; filter: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 130px var(--g) 110px;
}
.hero-copy { position: relative; max-width: 900px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--mute); padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(10, 10, 14, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); margin-bottom: 28px; }
.hero-title { font-weight: 600; font-size: clamp(52px, 9.2vw, 152px); line-height: .88; letter-spacing: -.055em; font-variation-settings: "opsz" 96; }
.hero-title .line { display: block; overflow: hidden; padding: 0 .04em .06em 0; margin-bottom: -.06em; }
.hero-title .line > span { display: inline-block; }
.js .hero-title .line > span { transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.3s var(--ease); }
.is-ready .hero-title .line > span { transform: none; }
.is-ready .hero-title .line:nth-child(2) > span { transition-delay: .08s; }
.is-ready .hero-title .line:nth-child(3) > span { transition-delay: .16s; }
.is-ready .hero-title .line:nth-child(4) > span { transition-delay: .24s; }
.hero-title .grad { font-weight: 300; font-style: normal; }
.hero-sub { margin-top: 34px; max-width: 560px; font-size: clamp(16px, 1.5vw, 20px); color: var(--mute); line-height: 1.55; }
.hero-sub b { color: var(--fg); font-weight: 600; }
.caret { display: inline-block; width: 2px; height: 1.05em; vertical-align: -0.15em; margin-left: 2px; background: rgb(var(--acc)); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }
.is-ready .hero .reveal { --d: .5s; }
.is-ready .hero .hero-cta.reveal { --d: .65s; }

.hud {
  position: absolute; left: var(--g); bottom: 34px;
  display: flex; gap: 28px; font-size: 10.5px; color: var(--fg);
}
.hud b { font-weight: 500; color: rgb(var(--acc)); font-variant-numeric: tabular-nums; }
.scroll-hint { position: absolute; right: var(--g); bottom: 30px; display: flex; align-items: center; gap: 12px; color: var(--mute); font-size: 10.5px; }
.scroll-hint i { width: 1px; height: 46px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-hint i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: rgb(var(--acc)); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }

/* ---------- faixa ---------- */
.marquee {
  position: relative; z-index: 2; overflow: hidden;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 8, .6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  padding: 22px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 34px; width: max-content; animation: marquee 38s linear infinite; font-size: clamp(22px, 3vw, 38px); font-weight: 500; letter-spacing: -.03em; color: var(--mute); }
.marquee-track b { color: rgb(var(--acc)); font-size: .5em; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { transition: color .3s; }
.marquee-track span:hover { color: var(--fg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- seções ---------- */
.section { position: relative; padding: clamp(110px, 16vh, 180px) var(--g); }
.sec-head { max-width: 980px; margin-bottom: clamp(48px, 8vh, 90px); }
.kicker { display: flex; align-items: center; gap: 12px; color: var(--mute); margin-bottom: 22px; }
.kicker span { color: rgb(var(--acc)); padding: 4px 8px; border: 1px solid rgb(var(--acc) / .35); border-radius: 6px; }
h2 { font-weight: 600; font-size: clamp(40px, 6.4vw, 104px); line-height: .92; letter-spacing: -.05em; }
h2 .grad { font-weight: 300; }
.lead { margin-top: 26px; max-width: 560px; color: var(--mute); font-size: clamp(16px, 1.4vw, 19px); }

/* ---------- serviços: bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile {
  --tx: 0deg; --ty: 0deg; --hx: 50%; --hy: 50%;
  position: relative; overflow: hidden;
  grid-column: span 1;
  min-height: 280px; padding: 28px;
  display: flex; flex-direction: column;
  border-radius: var(--r);
  background: var(--panel);
  border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  transform: perspective(900px) rotateX(var(--tx)) rotateY(var(--ty));
  transition: transform .5s var(--ease), border-color .4s, opacity 1s var(--ease), filter 1s var(--ease);
}
.js .tile.reveal:not(.in) { transform: translateY(40px); }
.tile::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(420px circle at var(--hx) var(--hy), rgb(var(--acc) / .14), transparent 45%);
  opacity: 0; transition: opacity .4s;
}
.tile::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit; padding: 1px;
  background: radial-gradient(300px circle at var(--hx) var(--hy), rgb(var(--acc) / .9), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
          mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s;
}
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile-wide { grid-column: span 2; }
.tile-ico { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); color: rgb(var(--acc)); transition: transform .5s var(--ease), background .4s; }
.tile-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tile:hover .tile-ico { transform: translateZ(30px) rotate(-6deg); background: rgb(var(--acc) / .12); }
.tile-n { position: absolute; top: 28px; right: 28px; color: var(--faint); }
.tile h3 { margin-top: auto; padding-top: 36px; font-size: clamp(22px, 2vw, 28px); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.tile p { margin-top: 10px; color: var(--mute); font-size: 15px; max-width: 46ch; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chips li { font: 400 11px/1 var(--mono); letter-spacing: .04em; color: var(--fg); padding: 7px 10px; border-radius: 99px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.swatch-row { display: flex; gap: 0; margin-top: 18px; }
.swatch-row i { width: 30px; height: 30px; border-radius: 50%; margin-right: -8px; border: 2px solid var(--panel-solid); transition: transform .5s var(--ease), margin .5s var(--ease); }
.swatch-row i:nth-child(1) { background: #f3f2ee; }
.swatch-row i:nth-child(2) { background: rgb(196 168 122); }
.swatch-row i:nth-child(3) { background: rgb(122 201 120); }
.swatch-row i:nth-child(4) { background: rgb(70 228 255); }
.swatch-row i:nth-child(5) { background: rgb(190 255 70); }
.tile-brand:hover .swatch-row i { margin-right: 6px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.stat { padding: 30px 28px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b { display: block; font-size: clamp(40px, 4.6vw, 68px); font-weight: 600; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 10px; color: var(--mute); font-size: 14px; }

/* ---------- projetos: pilha ---------- */
.stack { position: relative; }
.pcard {
  --pc: var(--acc);
  position: sticky; top: calc(96px + var(--i) * 14px);
  margin-bottom: 9vh;
  height: min(76vh, 720px); min-height: 560px;
}
.pcard:last-child { margin-bottom: 0; }
.pcard-in {
  --hx: 50%; --hy: 50%;
  position: relative; height: 100%;
  display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr); gap: clamp(24px, 3vw, 48px);
  padding: clamp(26px, 3vw, 44px);
  border-radius: 30px;
  background:
    radial-gradient(800px circle at var(--hx) var(--hy), rgb(var(--pc) / .07), transparent 50%),
    linear-gradient(180deg, rgba(18, 18, 24, .92), rgba(8, 8, 11, .94));
  border: 1px solid var(--line-2);
  box-shadow: 0 -30px 80px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  transform-origin: 50% 0;
  transform: scale(var(--sc, 1));
  filter: brightness(var(--br, 1));
  will-change: transform, filter;
  overflow: hidden;
}
.pcard-in::after { /* linha de luz no topo */
  content: ""; position: absolute; top: 0; left: 10%; right: 10%; height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--pc) / .9), transparent);
}
.pinfo { display: flex; flex-direction: column; min-width: 0; }
.pmeta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; border-radius: 99px; color: rgb(var(--pc)); background: rgb(var(--pc) / .1); border: 1px solid rgb(var(--pc) / .3); }
.badge i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.badge-dev i { animation: blink 1.2s steps(1) infinite; }
.pnum { margin-top: auto; padding-top: 20px; color: var(--faint); }
.pinfo h3 { font-size: clamp(40px, 4.8vw, 76px); font-weight: 600; letter-spacing: -.055em; line-height: .95; margin-top: 6px; }
.pdesc { margin-top: 16px; color: var(--mute); font-size: clamp(15px, 1.2vw, 17px); max-width: 52ch; }
.pfeat { margin-top: 18px; display: grid; gap: 8px; }
.pfeat li { position: relative; padding-left: 22px; font-size: 14px; color: #d6d5dc; }
.pfeat li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 1px; background: rgb(var(--pc)); }
.plink { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; align-self: flex-start; color: var(--fg); padding-bottom: 4px; border-bottom: 1px solid rgb(var(--pc) / .5); transition: color .3s, border-color .3s; }
.plink span { transition: transform .3s var(--ease); }
.plink:hover { color: rgb(var(--pc)); border-color: rgb(var(--pc)); }
.plink:hover span { transform: translate(3px, -3px); }

.pvis {
  position: relative; min-width: 0; min-height: 0;
  border-radius: 20px; overflow: hidden;
  background:
    radial-gradient(circle at 70% 20%, rgb(var(--pc) / .16), transparent 55%),
    linear-gradient(160deg, #101015, #060608);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  perspective: 1200px;
}
.pvis > * { transition: transform .8s var(--ease); }
.pvis:hover > :first-child { transform: rotateX(var(--vx, 0deg)) rotateY(var(--vy, 0deg)) scale(1.02); }

/* mock: BarberOS */
.m-erp {
  width: 92%; height: 84%;
  display: grid; grid-template-columns: 26% 1fr;
  border-radius: 14px; overflow: hidden;
  background: #0b0b0d; border: 1px solid #222;
  box-shadow: 0 40px 80px -30px #000;
  font-size: 11px; color: #ddd;
}
.m-erp aside { background: #101013; border-right: 1px solid #1d1d22; padding: 14px 10px; display: flex; flex-direction: column; gap: 3px; }
.m-erp aside span { padding: 7px 10px; border-radius: 7px; color: #888; }
.m-erp aside span.on { background: #f3f2ee; color: #000; font-weight: 600; }
.m-logo { display: flex; align-items: center; gap: 8px; padding: 0 6px 14px; }
.m-logo img { width: 20px; mix-blend-mode: screen; }
.m-logo b { font: 600 14px/1 Georgia, "Times New Roman", serif; color: #fff; }
.m-main { position: relative; min-width: 0; }
.m-main > .scr { position: absolute; inset: 14px 16px; display: flex; flex-direction: column; gap: 10px; min-height: 0; }
.m-top { display: flex; align-items: center; gap: 10px; }
.m-top h4 { font: 600 20px/1 Georgia, "Times New Roman", serif; color: #fff; }
.m-top em { font-style: normal; color: #777; }
.m-btn { margin-left: auto; font-size: 10px; padding: 7px 10px; border-radius: 7px; background: #f3f2ee; color: #000; font-weight: 600; white-space: nowrap; }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-kpis div { border: 1px solid #1f1f24; border-radius: 9px; padding: 8px 10px; background: #0f0f12; }
.m-kpis small { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #777; }
.m-kpis b { display: block; font-size: 15px; font-weight: 700; letter-spacing: -.03em; color: #fff; margin-top: 2px; }
.m-agenda { flex: 1; min-height: 0; border: 1px solid #1f1f24; border-radius: 9px; overflow: hidden; display: flex; flex-direction: column; }
.ag-head { display: grid; grid-template-columns: 38px repeat(3, 1fr); border-bottom: 1px solid #1f1f24; background: #0f0f12; }
.ag-head span { padding: 7px 8px; font-size: 9.5px; text-transform: uppercase; letter-spacing: .06em; color: #888; }
.ag-body { --row: 20%; position: relative; flex: 1; display: grid; grid-template-columns: 38px repeat(3, 1fr);
  background-image: linear-gradient(#18181c 1px, transparent 1px); background-size: 100% var(--row); }
.ag-times { display: grid; grid-template-rows: repeat(5, 1fr); }
.ag-times span { font-size: 9px; color: #666; padding: 3px 6px; }
.ag-col { position: relative; border-left: 1px solid #18181c; }
.ev { position: absolute; left: 4px; right: 4px; top: calc(var(--t) * var(--row) + 2px); height: calc(var(--h) * var(--row) - 4px);
  font-style: normal; font-size: 9.5px; padding: 5px 7px; border-radius: 6px; background: #1a1a1f; border: 1px solid #2a2a31; color: #ccc; overflow: hidden; }
.ev-on { background: #f3f2ee; color: #000; font-weight: 600; border-color: transparent; }
.ev-dash { background: transparent; border-style: dashed; color: #888; }
.ag-now { position: absolute; left: 38px; right: 0; height: 1px; background: rgb(var(--pc)); box-shadow: 0 0 8px rgb(var(--pc)); top: 46%; animation: now 12s ease-in-out infinite alternate; }
.ag-now::before { content: ""; position: absolute; left: -4px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: rgb(var(--pc)); }
@keyframes now { from { top: 30%; } to { top: 62%; } }

/* mock: navegador (Skunk) */
.m-browser { width: 92%; height: 84%; border-radius: 14px; overflow: hidden; background: #0b0b0d; border: 1px solid #262626; display: flex; flex-direction: column; box-shadow: 0 40px 80px -30px #000; }
.b-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #121214; border-bottom: 1px solid #222; }
.b-bar i { width: 9px; height: 9px; border-radius: 50%; background: #2c2c30; }
.b-bar span { margin: 0 auto; font: 400 10.5px/1 var(--mono); color: #888; padding: 6px 16px; border-radius: 99px; background: #1a1a1d; }
.b-view { position: relative; flex: 1; overflow: hidden; display: grid; place-items: center; background: #15120e; }
.sk-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transform: scale(1.1); animation: kb 18s ease-in-out infinite alternate; }
@keyframes kb { to { transform: scale(1.22) translate(-2%, 2%); } }
.b-view::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 40%, transparent 20%, rgba(0, 0, 0, .7)); }
.sk-word { position: absolute; top: 12%; width: 62%; z-index: 2; filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .6)); }
.sk-console {
  position: relative; z-index: 2; margin-top: 16%;
  width: 46%; aspect-ratio: 1.75; border-radius: 16px 16px 40px 16px;
  background: linear-gradient(160deg, #3a3329, #1d1913); border: 1px solid #5f4d36;
  box-shadow: 0 30px 50px -10px #000, inset 0 2px 0 rgba(255, 255, 255, .08);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 6%; padding: 7%;
  transform: rotateX(18deg) rotateZ(-4deg); animation: float 5s ease-in-out infinite;
}
@keyframes float { 50% { translate: 0 -8px; } }
.sk-screen { border-radius: 8px; background: #0d1a12; border: 3px solid #0a0a0a; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; font-family: var(--mono); color: #9fe3a4; text-shadow: 0 0 8px #3f9d55; }
.sk-screen span { font-size: clamp(9px, 1vw, 13px); letter-spacing: .2em; font-weight: 500; }
.sk-screen em { font-style: normal; font-size: clamp(7px, .7vw, 9px); animation: blink 1s steps(1) infinite; }
.sk-pad { position: relative; }
.sk-pad i { position: absolute; border-radius: 50%; background: #b39a73; box-shadow: inset 0 -3px 0 #5f4d36; }
.sk-d { left: 2%; top: 26%; width: 34%; aspect-ratio: 1; border-radius: 6px !important; clip-path: polygon(33% 0, 66% 0, 66% 33%, 100% 33%, 100% 66%, 66% 66%, 66% 100%, 33% 100%, 33% 66%, 0 66%, 0 33%, 33% 33%); }
.sk-a { right: 6%; top: 22%; width: 22%; aspect-ratio: 1; }
.sk-b { right: 30%; top: 52%; width: 22%; aspect-ratio: 1; }

/* mock: celular (Larguei Mão) */
.m-phone {
  position: relative; width: min(54%, 270px); aspect-ratio: 9 / 18.5;
  border-radius: 36px; padding: 12px 10px;
  background: #f6f5f1; color: #1d2b1f;
  border: 6px solid #1b1b1e; box-shadow: 0 0 0 1px #333, 0 40px 80px -20px #000;
  display: flex; flex-direction: column; gap: 9px; overflow: hidden;
  rotate: -4deg;
  transition: rotate .8s var(--ease);
}
.ph-notch { width: 36%; height: 16px; border-radius: 99px; background: #1b1b1e; align-self: center; flex: none; }
.ph-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px; }
.ph-head img { width: 26px; }
.ph-head b { font-size: 15px; font-weight: 700; letter-spacing: -.03em; color: #2c5e34; }
.ph-chips { display: flex; gap: 5px; overflow: hidden; }
.ph-chips span { flex: none; font-size: 9.5px; font-weight: 600; padding: 5px 9px; border-radius: 99px; background: #e8e6df; color: #4b5a4d; }
.ph-chips span.on { background: #2c5e34; color: #fff; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.it { background: #fff; border-radius: 12px; padding: 5px; box-shadow: 0 2px 8px rgba(0, 0, 0, .06); }
.it i { display: block; aspect-ratio: 1; border-radius: 8px; background: linear-gradient(135deg, hsl(var(--h) 55% 78%), hsl(calc(var(--h) + 30) 45% 62%)); }
.it b { display: block; font-size: 9.5px; font-weight: 600; margin-top: 5px; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it small { font-size: 8.5px; color: #6d7a6f; }
.ph-tab { margin-top: auto; display: flex; justify-content: space-around; align-items: center; padding: 8px 4px 2px; border-top: 1px solid #e3e1da; }
.ph-tab i { width: 16px; height: 16px; border-radius: 5px; background: #d3d1c9; }
.ph-tab i.on { background: #2c5e34; }
.ph-tab i.plus { width: 30px; height: 30px; border-radius: 50%; background: #2c5e34; box-shadow: 0 6px 14px rgba(44, 94, 52, .45); }
.bubbles { position: absolute; right: 6%; top: 22%; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; pointer-events: none; }
.bub { font-size: 12.5px; font-weight: 500; padding: 10px 14px; border-radius: 16px; max-width: 190px; box-shadow: 0 16px 30px -10px #000; opacity: 0; translate: 0 10px; animation: bub 7s var(--ease) infinite; }
.bub-a { background: #fff; color: #1d2b1f; border-bottom-right-radius: 4px; }
.bub-b { background: rgb(var(--pc)); color: #06210c; border-bottom-left-radius: 4px; align-self: flex-start; margin-left: -40px; animation-delay: 1.2s; }
@keyframes bub { 0%, 6% { opacity: 0; translate: 0 10px; } 14%, 80% { opacity: 1; translate: 0 0; } 90%, 100% { opacity: 0; translate: 0 -6px; } }

/* ---------- telas de exemplo (abas) ---------- */
.pvis.has-ex { padding-bottom: 54px; }
.scr { opacity: 0; translate: 0 14px; pointer-events: none; transition: opacity .55s var(--ease), translate .7s var(--ease); }
.scr.on { opacity: 1; translate: 0 0; pointer-events: auto; }
.ex-tabs {
  position: absolute; left: 50%; bottom: 12px; translate: -50% 0; z-index: 3;
  display: flex; gap: 4px; padding: 4px; border-radius: 99px;
  background: rgba(8, 8, 11, .8); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.ex-tabs button { position: relative; overflow: hidden; font: 500 10.5px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--mute); padding: 8px 12px; border-radius: 99px; transition: color .3s, background .3s; }
.ex-tabs button:hover { color: var(--fg); }
.ex-tabs button.on { color: #000; background: rgb(var(--pc)); }
.ex-tabs button.on::after { /* barra do tempo até a próxima tela */
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; background: rgba(0, 0, 0, .35);
  transform-origin: left; transform: scaleX(0); animation: extime var(--ex-dur, 4.5s) linear forwards;
}
.pvis.is-paused .ex-tabs button.on::after { animation-play-state: paused; }
@keyframes extime { to { transform: scaleX(1); } }
.pvis[data-step]:not([data-step="0"]) .bubbles { opacity: 0; transition: opacity .3s; }
.pvis[data-step]:not([data-step="0"]) .m-phone { rotate: 0deg; }

/* ERP: comanda, caixa e DRE */
.m-tag { margin-left: auto; font: 500 9px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px; border-radius: 99px; border: 1px dashed #555; color: #bbb; }
.m-split { flex: 1; min-height: 0; display: grid; grid-template-columns: 1.25fr 1fr; gap: 8px; }
.m-box { border: 1px solid #1f1f24; border-radius: 9px; background: #0f0f12; padding: 10px 12px; display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; overflow: hidden; }
.m-grow { flex: 1; }
.m-lab { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #777; }
.m-list { display: flex; flex-direction: column; }
.m-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid #1b1b20; }
.m-list span { display: flex; flex-direction: column; color: #ddd; }
.m-list em { font-style: normal; font-size: 9px; color: #666; }
.m-list b { font-weight: 600; color: #fff; white-space: nowrap; }
.m-list .m-mute span, .m-list .m-mute b { color: #888; font-weight: 400; }
.m-total { margin-top: auto; display: flex; justify-content: space-between; align-items: baseline; padding-top: 4px; }
.m-total small { font-size: 9px; text-transform: uppercase; letter-spacing: .08em; color: #888; }
.m-total b { font-size: 18px; font-weight: 700; letter-spacing: -.03em; color: #fff; }
.m-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.m-pay span { text-align: center; padding: 8px 4px; border-radius: 7px; border: 1px solid #26262c; color: #aaa; font-size: 10px; }
.m-pay span.on { background: #f3f2ee; color: #000; font-weight: 600; border-color: transparent; }
.m-pay-sm { grid-template-columns: repeat(3, 1fr); }
.m-btn-full { margin: auto 0 0; text-align: center; padding: 9px; font-size: 10.5px; }
.m-btn-ghost { background: transparent; color: #ddd; border: 1px solid #333; }
.m-table { width: 100%; border-collapse: collapse; font-size: 10px; }
.m-table th { text-align: left; font-weight: 400; font-size: 8.5px; text-transform: uppercase; letter-spacing: .08em; color: #666; padding: 4px 4px 6px; border-bottom: 1px solid #1f1f24; }
.m-table td { padding: 6px 4px; border-bottom: 1px solid #18181c; color: #bbb; white-space: nowrap; }
.m-table td:last-child, .m-table th:last-child { text-align: right; color: #fff; }
.m-table td.neg { color: #888 !important; }
.m-dre { display: flex; flex-direction: column; }
.m-dre li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid #1b1b20; color: #aaa; }
.m-dre b { font-weight: 500; color: #ddd; white-space: nowrap; }
.m-dre .sub span, .m-dre .sub b { color: #fff; font-weight: 600; }
.m-dre .res { margin-top: 4px; border: 0; padding: 9px 10px; border-radius: 7px; background: #f3f2ee; }
.m-dre .res span { color: #000; font-size: 9px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; align-self: center; }
.m-dre .res b { color: #000; font-weight: 700; font-size: 14px; }
.m-bars { flex: 1; display: flex; align-items: flex-end; gap: 10%; padding: 6px 6px 16px; border-bottom: 1px solid #222; min-height: 80px; }
.m-bars i { position: relative; flex: 1; height: calc(var(--v) * 100%); border-radius: 5px 5px 0 0; background: linear-gradient(#e9e8e3, #6d6d72); transform-origin: bottom; }
.scr.on .m-bars i { animation: barup .9s var(--ease) both; }
.m-bars i:nth-child(2) { animation-delay: .08s !important; } .m-bars i:nth-child(3) { animation-delay: .16s !important; } .m-bars i:nth-child(4) { animation-delay: .24s !important; }
@keyframes barup { from { transform: scaleY(0); } }
.m-bars em { position: absolute; bottom: -16px; left: 0; right: 0; text-align: center; font-style: normal; font-size: 9px; color: #777; }

/* App: item, chat e publicar */
.ph-screens { position: relative; flex: 1; min-height: 0; }
.ph-screens > .scr { position: absolute; inset: 0; display: flex; flex-direction: column; gap: 9px; }
.ph-back { font-size: 18px; line-height: 1; color: #2c5e34; font-weight: 700; }
.ph-photo { position: relative; flex: none; height: 44%; border-radius: 14px; background: linear-gradient(135deg, hsl(var(--h) 55% 78%), hsl(calc(var(--h) + 30) 45% 62%)); }
.ph-photo .ph-back { position: absolute; left: 8px; top: 8px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .85); font-size: 16px; }
.ph-badge { position: absolute; right: 8px; top: 9px; font-size: 8px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 8px; border-radius: 99px; background: #f4b740; color: #3b2a00; }
.ph-dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 4px; }
.ph-dots i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255, 255, 255, .55); }
.ph-dots i.on { background: #fff; width: 12px; border-radius: 99px; }
.ph-body { display: flex; flex-direction: column; gap: 5px; padding: 0 3px; min-height: 0; overflow: hidden; }
.ph-title { font-size: 15px; font-weight: 700; letter-spacing: -.02em; }
.ph-sub { font-size: 9.5px; color: #6d7a6f; margin-top: -3px; }
.ph-kv { display: flex; justify-content: space-between; font-size: 9.5px; padding: 6px 8px; border-radius: 8px; background: #ebe9e2; }
.ph-kv span { color: #6d7a6f; } .ph-kv b { font-weight: 600; }
.ph-desc { font-size: 9.5px; line-height: 1.4; color: #4b5a4d; }
.ph-owner { display: flex; align-items: center; gap: 7px; }
.ph-owner i { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, #f7c59f, #e98f6b); }
.ph-owner span { display: flex; flex-direction: column; font-size: 10px; line-height: 1.2; }
.ph-owner small { font-size: 8.5px; color: #6d7a6f; }
.ph-cta { margin-top: auto; text-align: center; font-size: 11px; font-weight: 700; color: #fff; background: #2c5e34; padding: 10px; border-radius: 99px; box-shadow: 0 6px 14px rgba(44, 94, 52, .35); }
.ph-chathead { display: flex; align-items: center; gap: 7px; padding: 0 3px 8px; border-bottom: 1px solid #e3e1da; }
.ph-chathead i { width: 28px; height: 28px; border-radius: 8px; flex: none; background: linear-gradient(135deg, hsl(var(--h) 55% 78%), hsl(calc(var(--h) + 30) 45% 62%)); }
.ph-chathead span { display: flex; flex-direction: column; font-size: 10.5px; line-height: 1.25; min-width: 0; }
.ph-chathead small { font-size: 8.5px; color: #3f9d55; }
.ph-msgs { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 2px; overflow: hidden; }
.ph-day { align-self: center; font-size: 8px; color: #8a958c; background: #ebe9e2; padding: 3px 8px; border-radius: 99px; }
.ph-msgs p { max-width: 80%; font-size: 9.5px; line-height: 1.35; padding: 7px 9px; border-radius: 12px; border-bottom-left-radius: 3px; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.ph-msgs p.me { align-self: flex-end; background: #2c5e34; color: #fff; border-radius: 12px; border-bottom-right-radius: 3px; }
.scr.on .ph-msgs p { animation: msgin .5s var(--ease) both; }
.scr.on .ph-msgs p:nth-of-type(2) { animation-delay: .5s; } .scr.on .ph-msgs p:nth-of-type(3) { animation-delay: 1.1s; } .scr.on .ph-msgs p:nth-of-type(4) { animation-delay: 1.8s; }
@keyframes msgin { from { opacity: 0; translate: 0 8px; } }
.ph-input { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 12px; border-radius: 99px; background: #fff; border: 1px solid #e3e1da; font-size: 9.5px; color: #9aa39c; }
.ph-input span { flex: 1; }
.ph-input i { width: 24px; height: 24px; border-radius: 50%; background: #2c5e34; }
.ph-head-sm { gap: 10px; }
.ph-head-sm b { font-size: 14px; color: #1d2b1f; }
.ph-upload { flex: none; height: 30%; border-radius: 14px; border: 1.5px dashed #b9c4ba; background: #efeee8; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 9.5px; color: #6d7a6f; }
.ph-upload i { width: 26px; height: 20px; border-radius: 5px; border: 2px solid #2c5e34; position: relative; }
.ph-upload i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; border: 2px solid #2c5e34; }
.ph-field { display: flex; flex-direction: column; gap: 3px; }
.ph-field small { font-size: 8.5px; font-weight: 700; color: #4b5a4d; }
.ph-field span { font-size: 9.5px; color: #9aa39c; padding: 7px 9px; border-radius: 8px; background: #fff; border: 1px solid #e3e1da; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* exemplos nos cartões de serviço */
.tile-ex { margin-top: 14px !important; font-size: 13.5px !important; color: var(--fg) !important; opacity: .85; }
.tile-ex .mono { display: block; font-size: 10px; color: rgb(var(--acc)); margin-bottom: 4px; }

/* ---------- processo ---------- */
.process { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.process .sec-head { position: sticky; top: 140px; }
.steps { position: relative; padding-left: 34px; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 1px; background: var(--line-2); }
.steps::after { content: ""; position: absolute; left: 0; top: 10px; width: 1px; height: calc((100% - 20px) * var(--fill, 0)); background: rgb(var(--acc)); box-shadow: 0 0 12px rgb(var(--acc)); }
.stepi { position: relative; display: grid; grid-template-columns: 54px 1fr; gap: 12px; padding: 32px 0; border-bottom: 1px solid var(--line); opacity: .32; transition: opacity .6s var(--ease); }
.stepi:last-child { border-bottom: 0; }
.stepi::before { content: ""; position: absolute; left: -39px; top: 40px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); transition: background .4s, border-color .4s, box-shadow .4s; }
.stepi.on { opacity: 1; }
.stepi.on::before { background: rgb(var(--acc)); border-color: rgb(var(--acc)); box-shadow: 0 0 14px rgb(var(--acc)); }
.stepi > span { color: rgb(var(--acc)); padding-top: 8px; }
.stepi h3 { font-size: clamp(26px, 2.8vw, 40px); font-weight: 600; letter-spacing: -.04em; line-height: 1.05; }
.stepi p { margin-top: 8px; color: var(--mute); max-width: 44ch; }

/* ---------- contato ---------- */
.contact { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.contact .kicker { justify-content: center; }
.big { font-size: clamp(52px, 10.5vw, 180px); line-height: .9; letter-spacing: -.055em; font-weight: 500; }
.wave-text { display: inline-block; white-space: nowrap; }
.wave-text .ch { display: inline-block; font-variation-settings: "wght" var(--w, 500); transition: font-variation-settings .15s linear; will-change: font-variation-settings; }
.contact .lead { margin-left: auto; margin-right: auto; }
.contact-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }

/* ---------- rodapé ---------- */
.foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 28px var(--g) 34px; border-top: 1px solid var(--line); background: rgba(3, 3, 4, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 600; letter-spacing: -.02em; }
.foot-brand img { width: 26px; mix-blend-mode: screen; }
.to-top { color: var(--mute); transition: color .3s; }
.to-top:hover { color: rgb(var(--acc)); }

.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; translate: -50% 20px; opacity: 0; padding: 12px 18px; border-radius: 99px; background: var(--fg); color: #000; pointer-events: none; transition: opacity .35s, translate .45s var(--ease); }
.toast.on { opacity: 1; translate: -50% 0; }

/* ---------- responsivo ---------- */
@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .tile-wide { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .nav { display: none; }
  .rail { display: none; }
}
@media (max-width: 900px) {
  .pcard { position: relative; top: auto; height: auto; min-height: 0; margin-bottom: 18px; }
  .pcard-in { grid-template-columns: 1fr; transform: none; filter: none; }
  .pvis { height: 360px; order: -1; }
  .pnum { margin-top: 18px; padding-top: 0; }
  .process { grid-template-columns: 1fr; }
  .process .sec-head { position: static; }
  .hud { display: none; }
}
@media (max-width: 640px) {
  :root { --r: 18px; }
  .top { padding: 14px 18px; }
  .top .btn-sm span { display: none; }
  .top .btn-sm { width: 42px; padding: 0; justify-content: center; }
  .brand-name { font-size: 17px; }
  .section { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 110px 16px 90px; }
  .hero-cta .btn { flex: 1 1 auto; justify-content: center; }
  .bento { grid-template-columns: 1fr; }
  .tile-wide { grid-column: auto; }
  .tile { min-height: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 22px 18px; }
  .pcard-in { padding: 18px; border-radius: 22px; }
  .pvis { height: 300px; }
  /* no celular o mock mantém o layout de desktop e é reduzido para caber (--z vem do main.js) */
  .m-erp { width: 620px; height: 470px; flex: none; zoom: var(--z, .5); }
  .ex-tabs button { padding: 7px 9px; font-size: 9.5px; }
  .pvis.has-ex { height: 380px; }
  .bubbles { right: 3%; top: 10%; }
  .bub { font-size: 11px; max-width: 150px; }
  .btn-xl { height: 58px; padding: 0 22px; font-size: 14px; }
  .scroll-hint { display: none; }
  .wave-text { white-space: normal; }
  .foot { flex-direction: column; align-items: flex-start; }
}

/* tela em pé: o logo de partículas fica em cima e o texto embaixo */
@media (max-aspect-ratio: 9/10) {
  .hero { justify-content: flex-end; padding-bottom: clamp(48px, 8vh, 110px); }
}
@media (max-width: 640px) {
  .m-phone { width: 250px; flex: none; zoom: var(--z, .6); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
