/* Zelyon: site institucional. Versao 2: imersiva, com profundidade e luz.
   Conceito "o encaixe": as duas quinas e o traco lima do simbolo (docs/02-direcao.md). */

/* ---------- fonte (Geist, OFL, variavel, local) ---------- */
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  src: url("/assets/fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens ---------- */
:root {
  /* marca */
  --zy-navy: #0b2741;
  --zy-ink: #00232c;
  --zy-teal: #003c46;
  --zy-lime: #a4d006;
  --zy-lime-hover: #b8e021;
  --zy-paper: #fcf7f4;
  --zy-mist: #ededea;
  --zy-muted: #4a5a60;
  --zy-white: #ffffff;

  /* profundidade (derivados do azul e do verde-azulado da marca) */
  --bg-0: #020d17;
  --bg-1: #05182a;
  --bg-2: #0b2741;
  --glow-teal: rgba(38, 150, 160, 0.42);
  --glow-lime: rgba(164, 208, 6, 0.32);
  --on-dark: #eef3f5;
  --on-dark-muted: #a9bac2;
  --glass: rgba(255, 255, 255, 0.045);
  --glass-strong: rgba(9, 32, 52, 0.62);
  --glass-line: rgba(255, 255, 255, 0.12);
  --line-light: rgba(0, 35, 44, 0.14);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 4.5rem;
  --gutter: 1.25rem;
  --section-y: clamp(4.5rem, 2rem + 7vw, 9rem);
  --radius: 24px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* contexto de cor: escuro por padrao, trocado nas superficies claras */
  --fg: var(--on-dark);
  --fg-muted: var(--on-dark-muted);
  --focus: var(--zy-lime);
}
@media (min-width: 48em) {
  :root { --gutter: 2rem; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--bg-0);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--bg-1);
  color: var(--fg);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; }
p, li { max-width: 66ch; text-wrap: pretty; }
a { color: inherit; }
strong, b { font-weight: 650; }

h1, h2, h3, h4 { color: var(--fg); text-wrap: balance; }
h1 {
  font-size: clamp(2.6rem, 1.3rem + 4.9vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
}
h2 {
  font-size: clamp(2.1rem, 1.3rem + 3vw, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
}
h3 {
  font-size: 1.375rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
h4 {
  font-size: 1.125rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.3;
}
.lead {
  font-size: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
  color: var(--fg-muted);
}

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
#conteudo { scroll-margin-top: 0; }
#conteudo:focus { outline: none; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

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

.container {
  width: min(100% - 2 * var(--gutter), 76rem);
  margin-inline: auto;
}

/* superficies */
.section { position: relative; padding-block: var(--section-y); }
.section--deep {
  overflow: clip;
  background:
    radial-gradient(60rem 30rem at 85% 0%, rgba(38, 150, 160, 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1));
}
.section--teal {
  background:
    radial-gradient(50rem 30rem at 100% 100%, rgba(164, 208, 6, 0.1), transparent 70%),
    linear-gradient(180deg, #013641, #002730);
  --fg-muted: #b8cdd1;
}
.section--paper,
.page {
  background: var(--zy-paper);
  color: var(--zy-ink);
  --fg: var(--zy-ink);
  --fg-muted: var(--zy-muted);
  --focus: var(--zy-ink);
}
.section--processo { background: var(--zy-mist); }
.section--contact {
  background:
    radial-gradient(46rem 28rem at 50% 110%, rgba(164, 208, 6, 0.22), transparent 70%),
    radial-gradient(40rem 30rem at 0% 0%, rgba(38, 150, 160, 0.18), transparent 70%),
    var(--bg-1);
  overflow: clip;
}
.section-head { max-width: 46rem; }
.section-head .lead { margin-top: 1.25rem; }

/* ---------- botoes e links ---------- */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2.25rem;
}
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.625rem;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background-color 0.2s ease, border-color 0.2s ease;
}
.btn__icon {
  width: 0.875rem;
  height: 0.875rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.btn--primary {
  background: var(--zy-lime);
  color: var(--zy-ink);
  box-shadow: 0 0 0 0 rgba(164, 208, 6, 0), 0 10px 30px -12px rgba(164, 208, 6, 0.55);
}
.btn--primary:hover {
  background: var(--zy-lime-hover);
  box-shadow: 0 0 0 6px rgba(164, 208, 6, 0.14), 0 16px 44px -10px rgba(164, 208, 6, 0.7);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.03);
  color: var(--on-dark);
}
.btn--ghost:hover {
  border-color: var(--zy-lime);
  background: rgba(164, 208, 6, 0.08);
  transform: translateY(-2px);
}
.btn--big { min-height: 3.75rem; padding-inline: 2rem; font-size: 1.0625rem; }
.btn:active { transform: translateY(0) scale(0.98); }
:focus-visible.btn--primary { outline-color: var(--zy-white); }
.page .btn--primary:focus-visible { outline-color: var(--zy-ink); }

@media (max-width: 29.99em) {
  .actions .btn { width: 100%; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--fg);
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: var(--zy-lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
  transition: color 0.2s ease, text-underline-offset 0.2s ease;
}
.text-link:hover { color: var(--zy-lime); text-underline-offset: 0.2em; }

/* ---------- pular para o conteudo ---------- */
.skip-link {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  background: var(--zy-lime);
  color: var(--zy-ink);
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- cabecalho ---------- */
.site-header {
  position: relative;
  top: 0;
  z-index: 50;
  background: var(--bg-0);
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.js .site-header { position: sticky; }
.js .site-header.is-scrolled {
  background: rgba(2, 13, 23, 0.92);
  border-bottom-color: var(--glass-line);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
}
.site-header__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.25rem 1.5rem;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}
.site-header__logo {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border-radius: 6px;
}
.site-header__logo img { width: 144px; height: 36px; margin-left: -12px; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.75rem;
}
.site-nav__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  padding: 0;
  list-style: none;
}
.site-nav__list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--on-dark);
  font-weight: 500;
  text-decoration: none;
  background: linear-gradient(var(--zy-lime), var(--zy-lime)) left calc(100% - 0.4rem) / 0 2px no-repeat;
  transition: background-size 0.3s var(--ease-out);
}
.site-nav__list a:hover { background-size: 100% 2px; }
.site-nav__cta { min-height: 2.75rem; padding-block: 0.5rem; }

.menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 3rem;
  padding: 0.5rem 1.125rem;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: transparent;
  color: var(--on-dark);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.menu-toggle[hidden] { display: none; }
.menu-toggle__icon,
.menu-toggle__icon::before {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.menu-toggle__icon { position: relative; transform: translateY(-3px); }
.menu-toggle__icon::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 0;
}

/* Sem JS a navegacao fica aberta e quebra em linhas; com JS vira menu. */
@media (max-width: 71.99em) {
  .site-nav { width: 100%; padding-bottom: 0.5rem; }
  .site-nav__cta { display: none; }

  .has-menu .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    width: auto;
    padding: 0.5rem var(--gutter) 1.5rem;
    background: var(--bg-0);
    border-bottom: 1px solid var(--glass-line);
    box-shadow: 0 30px 40px -24px rgba(0, 0, 0, 0.8);
  }
  .has-menu.is-open .site-nav { display: flex; }
  .has-menu.is-open { background: var(--bg-0); border-bottom-color: var(--glass-line); }
  .has-menu .site-nav__list { flex-direction: column; }
  .has-menu .site-nav__list a {
    width: 100%;
    min-height: 3rem;
    border-bottom: 1px solid var(--glass-line);
    font-size: 1.125rem;
  }
  .has-menu .site-nav__cta { display: inline-flex; align-self: flex-start; }
}
@media (min-width: 72em) {
  .menu-toggle { display: none; }
}

/* ---------- abertura ---------- */
.hero {
  position: relative;
  overflow: clip;
  padding-block: clamp(2.5rem, 1rem + 5vw, 5rem) clamp(4rem, 2rem + 6vw, 7rem);
  background:
    radial-gradient(48rem 34rem at 78% 42%, var(--glow-teal), transparent 68%),
    radial-gradient(26rem 20rem at 72% 58%, rgba(164, 208, 6, 0.14), transparent 70%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 70%, var(--bg-0) 100%);
  isolation: isolate;
}
/* ceu de pontos, sumindo nas bordas */
.hero__sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.55) 1px, transparent 1.6px),
    radial-gradient(rgba(164, 208, 6, 0.6) 1px, transparent 1.6px);
  background-size: 64px 64px, 150px 150px;
  background-position: 0 0, 40px 70px;
  opacity: 0.22;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
/* piso em perspectiva: a grade da "infraestrutura" sob o simbolo */
.hero__floor {
  position: absolute;
  left: -25%;
  right: -25%;
  bottom: -2rem;
  z-index: -1;
  height: 52%;
  background-image:
    linear-gradient(rgba(164, 208, 6, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 150, 160, 0.3) 1px, transparent 1px);
  background-size: 64px 64px;
  transform: perspective(520px) rotateX(64deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  mask-image: linear-gradient(to top, #000 10%, transparent 85%);
  opacity: 0.55;
}
.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}
.hero__text { position: relative; z-index: 2; }
.hero__text h1 {
  background: linear-gradient(180deg, #ffffff 40%, #c9dde3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  color: var(--on-dark-muted);
  font-size: clamp(1.125rem, 1.04rem + 0.4vw, 1.3125rem);
  line-height: 1.55;
}
@media (min-width: 64em) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 1rem; }
  .hero { min-height: calc(100svh - var(--header-h)); display: grid; align-items: center; }
}

/* palco do simbolo 3D */
.stage {
  --view-h: min(86vw, 25rem);
  position: relative;
  padding-top: var(--view-h);
}
.stage__canvas,
.stage__glow,
.stage__fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--view-h);
}
.stage__canvas { z-index: 1; }
.stage__glow {
  background: radial-gradient(closest-side, rgba(164, 208, 6, 0.22), rgba(38, 150, 160, 0.16) 55%, transparent 100%);
  filter: blur(10px);
}
.stage__fallback {
  left: 50%;
  top: calc(var(--view-h) / 2);
  width: auto;
  height: 56%;
  max-height: calc(var(--view-h) * 0.56);
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.8)) drop-shadow(0 0 28px rgba(38, 150, 160, 0.8));
}
.stage.is-3d .stage__fallback { display: none; }

.orbit ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
  padding: 0;
  list-style: none;
}
.orbit a {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  min-height: 3rem;
  padding: 0.75rem 1rem 0.75rem 1.25rem;
  border: 1px solid var(--glass-line);
  border-radius: 18px;
  background: var(--glass-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--on-dark);
  text-decoration: none;
  box-shadow: 0 18px 40px -24px rgba(0, 0, 0, 0.9);
  transition: border-color 0.25s ease, box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.orbit a::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 0.625rem;
  width: 4px;
  height: calc(100% - 2rem);
  border-radius: 4px;
  background: var(--zy-lime);
  box-shadow: 0 0 12px rgba(164, 208, 6, 0.8);
}
.orbit a:hover {
  border-color: rgba(164, 208, 6, 0.7);
  box-shadow: 0 0 0 4px rgba(164, 208, 6, 0.1), 0 22px 50px -20px rgba(164, 208, 6, 0.45);
  transform: translateY(-3px);
}
.stage.is-3d .orbit a {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(6, 24, 40, 0.9);
}
.orbit__name { font-weight: 650; font-size: 1rem; line-height: 1.25; }
.orbit__role { color: var(--on-dark-muted); font-size: 0.875rem; line-height: 1.35; }

@media (min-width: 40em) {
  .stage { --view-h: 26rem; }
}
@media (min-width: 64em) {
  .stage { --view-h: 24rem; }
}
@media (min-width: 75em) {
  .stage {
    --view-h: 100%;
    padding-top: 0;
    aspect-ratio: 1;
    width: 100%;
    max-width: 38rem;
    justify-self: end;
  }
  .orbit { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
  .orbit ul { display: block; margin: 0; }
  .orbit__item { position: absolute; pointer-events: auto; }
  .orbit__item--web { top: 0; left: 0; }
  .orbit__item--cloud { top: 4%; right: 0; }
  .orbit__item--growth { bottom: 8%; left: 0; }
  .orbit__item--erp { bottom: 2%; right: 0; }
  .orbit a { min-width: 12.5rem; }
}

/* ---------- frentes: texto + demonstracao de cada uma ---------- */
.front {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  margin-top: clamp(4rem, 2.5rem + 6vw, 8rem);
}
.section-head + .front { margin-top: clamp(3rem, 2rem + 4vw, 5rem); }
@media (min-width: 64em) {
  .front { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 4rem; }
  .front--flip { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .front--flip .front__text { order: 2; }
}
.front__text { display: flex; flex-direction: column; align-items: flex-start; }
.front__icon {
  width: 3.25rem;
  height: 3.25rem;
  padding: 0.6rem;
  border: 1px solid rgba(164, 208, 6, 0.35);
  border-radius: 16px;
  background: radial-gradient(circle at 50% 0%, rgba(164, 208, 6, 0.25), rgba(164, 208, 6, 0.03));
  fill: none;
  stroke: var(--on-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  box-shadow: 0 0 26px -8px rgba(164, 208, 6, 0.6);
}
.front__icon-accent { stroke: var(--zy-lime); }
.front__name { margin-top: 1.25rem; font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.5rem); letter-spacing: -0.03em; }
.front__role { margin-top: 0.375rem; color: var(--zy-lime); font-weight: 600; font-size: 1.125rem; }
.front__desc { margin-top: 1rem; color: var(--fg-muted); }
.front__list {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--glass-line);
  list-style: none;
  font-size: 0.9375rem;
}
.front__list li { position: relative; padding-left: 1.125rem; }
.front__list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 0.5rem;
  height: 2px;
  border-radius: 2px;
  background: var(--zy-lime);
}
.front__text .text-link { margin-top: 0.75rem; padding-top: 0.5rem; }
.text-link--quiet { color: var(--fg-muted); font-weight: 600; text-decoration-color: rgba(255, 255, 255, 0.3); }
.front__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
@media (max-width: 63.99em) { .front__actions { margin-bottom: 1.25rem; } }
@media (max-width: 29.99em) {
  .front__actions { width: 100%; }
  .front__actions .btn { width: 100%; }
}

/* Zelyon Web: imagem do site real, clicavel, que leva a web.zelyon.com.br */
.portal {
  --lift: 0px;
  position: relative;
  isolation: isolate;
  display: block;
  color: var(--on-dark);
  text-decoration: none;
  border-radius: 20px;
}
.portal::before {
  content: "";
  position: absolute;
  inset: 10% 8% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(164, 208, 6, 0.32), transparent);
  filter: blur(30px);
  opacity: 0.55;
  transition: opacity 0.5s var(--ease-out);
}
.portal__frame {
  display: block;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: #0b1a2e;
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.75);
  transform: translateY(var(--lift));
  transition: transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out), border-color 0.3s ease;
}
.portal__bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}
.portal__bar i { width: 0.6rem; height: 0.6rem; border-radius: 50%; background: rgba(255, 255, 255, 0.22); }
.portal__url {
  margin-inline: auto;
  padding: 0.2rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--fg-muted);
  font-size: 0.8125rem;
}
.portal__shot { position: relative; display: block; overflow: hidden; }
.portal__shot img {
  display: block;
  width: 100%;
  height: auto;
  transform-origin: 30% 40%;
  transition: transform 0.9s var(--ease-out), filter 0.5s ease;
}
.portal__shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(6, 18, 34, 0.75));
  opacity: 0.6;
  transition: opacity 0.5s ease;
}
.portal__cta {
  position: absolute;
  left: 50%;
  bottom: 1.5rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  background: var(--zy-lime);
  color: var(--zy-ink);
  font-weight: 650;
  white-space: nowrap;
  box-shadow: 0 14px 40px -12px rgba(164, 208, 6, 0.7);
  transform: translate(-50%, calc(var(--lift) * 0.5));
  transition: transform 0.5s var(--ease-out), box-shadow 0.4s ease, background-color 0.2s ease;
}
.portal__arrow { display: inline-flex; transition: transform 0.35s var(--ease-out); }
.portal:hover, .portal:focus-visible { --lift: -8px; }
.portal:hover::before, .portal:focus-visible::before { opacity: 1; }
.portal:hover .portal__frame, .portal:focus-visible .portal__frame {
  border-color: rgba(164, 208, 6, 0.6);
  box-shadow: 0 0 0 1px rgba(164, 208, 6, 0.35), 0 40px 90px -30px rgba(0, 0, 0, 0.8), 0 0 60px -20px rgba(164, 208, 6, 0.55);
}
.portal:hover .portal__shot img, .portal:focus-visible .portal__shot img { transform: scale(1.05); filter: saturate(1.1); }
.portal:hover .portal__shot::after, .portal:focus-visible .portal__shot::after { opacity: 1; }
.portal:hover .portal__cta, .portal:focus-visible .portal__cta { background: var(--zy-lime-hover); box-shadow: 0 0 0 6px rgba(164, 208, 6, 0.16), 0 18px 48px -10px rgba(164, 208, 6, 0.8); }
.portal:hover .portal__arrow, .portal:focus-visible .portal__arrow { transform: translate(3px, -3px); }
.portal:focus-visible { outline: 3px solid var(--zy-lime); outline-offset: 6px; }
@media (max-width: 29.99em) {
  .portal__cta { position: static; display: flex; justify-content: center; margin-top: 1rem; transform: none; white-space: normal; }
  .portal__bar { padding: 0.5rem 0.75rem; }
  .portal__url { font-size: 0.75rem; }
}
@media (prefers-reduced-motion: reduce) {
  .portal, .portal * { transition: none !important; }
  .portal:hover, .portal:focus-visible { --lift: 0px; }
  .portal:hover .portal__shot img, .portal:focus-visible .portal__shot img { transform: none; }
}
@media (forced-colors: active) {
  .portal__frame { border-color: LinkText; }
  .portal__cta { border: 2px solid ButtonText; }
}

/* palco 3D de cada demonstracao: chega inclinada e endireita com a rolagem */
.demo {
  --tilt: 0;
  --side: 1;
  position: relative;
  perspective: 1600px;
}
.front--flip .demo { --side: -1; }
.demo::before {
  content: "";
  position: absolute;
  inset: 8% 6% -4%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(38, 150, 160, 0.45), transparent);
  filter: blur(40px);
}
.demo__scene {
  position: relative;
  container-type: inline-size;
  transform-style: preserve-3d;
  transform:
    rotateX(calc(var(--tilt) * 22deg))
    rotateY(calc(var(--tilt) * var(--side) * -18deg))
    rotateZ(calc(var(--tilt) * var(--side) * 4deg))
    scale(calc(1 - var(--tilt) * 0.08));
  transform-origin: 50% 40%;
  will-change: transform;
}
/* tamanho de letra das telas acompanha a largura da demonstracao */
.win, .ops, .cal, .app { font-size: clamp(6px, 1.55cqi, 13px); }
.win p, .ops p, .cal p, .app p, .win li, .ops li, .app li { max-width: none; }

/* --- Zelyon Web: navegador com um site e o mesmo site no celular --- */
.win {
  width: 88%;
  overflow: hidden;
  border-radius: 1.2em;
  background: #fffaf4;
  color: #3b2a1e;
  line-height: 1.35;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 60px 120px -50px rgba(0, 0, 0, 0.95), 0 0 90px -20px rgba(38, 150, 160, 0.5);
}
.win__bar {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 1.2em;
  background: #ece6df;
}
.win__bar i { width: 0.9em; height: 0.9em; border-radius: 50%; background: #d5cbc0; }
.win__bar i:first-child { background: #ef8f7a; }
.win__url {
  flex: 1;
  margin-left: 1em;
  padding: 0.35em 1em;
  border-radius: 2em;
  background: #fff;
  color: #7a6a5c;
  font-size: 0.95em;
}
.site { padding: 1.4em 2em 2em; }
.site__nav { display: flex; align-items: center; gap: 2em; font-size: 0.95em; color: #7a6a5c; }
.site__nav b { margin-right: auto; color: #3b2a1e; font-size: 1.15em; }
.site__hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2em;
  align-items: center;
  margin-top: 2em;
}
.site__h { font-size: 2.3em; font-weight: 750; line-height: 1.05; letter-spacing: -0.03em; }
.site__p { margin-top: 0.8em; color: #7a6a5c; font-size: 1.05em; }
.site__btn {
  display: inline-block;
  margin-top: 1.2em;
  padding: 0.7em 1.3em;
  border-radius: 2em;
  background: #c8692b;
  color: #fff;
  font-weight: 700;
  font-size: 0.95em;
}
.site__img {
  aspect-ratio: 4 / 3;
  border-radius: 1em;
  background:
    radial-gradient(circle at 30% 60%, #f6d39a 0 18%, transparent 19%),
    radial-gradient(circle at 62% 45%, #e7b06c 0 22%, transparent 23%),
    radial-gradient(circle at 48% 70%, #d9954c 0 15%, transparent 16%),
    linear-gradient(160deg, #f3c98f, #c8692b);
}
.site__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1em; margin-top: 1.8em; }
.site__cards span {
  display: flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.9em 1em;
  border-radius: 0.8em;
  background: #f4ebe1;
  font-weight: 650;
}
.site__cards i { width: 1.6em; height: 1.6em; border-radius: 0.4em; background: #e7b06c; }
.phone {
  position: absolute;
  width: 26%;
  padding: 0.7em;
  border-radius: 2.4em;
  background: #0d1b26;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18), 0 40px 70px -30px rgba(0, 0, 0, 0.95);
  font-size: clamp(5px, 1.3cqi, 11px);
  transform: translateZ(90px);
}
.phone__screen {
  display: flex;
  flex-direction: column;
  gap: 0.8em;
  min-height: 100%;
  padding: 1.6em 1.1em;
  border-radius: 1.9em;
  overflow: hidden;
}
.phone--web { right: 0; bottom: -8%; }
.phone--web .phone__screen { background: #fffaf4; color: #3b2a1e; }
.phone__brand { font-size: 1.05em; }
.phone--web .site__h { font-size: 1.7em; }
.phone--web .site__btn { margin-top: 0.2em; text-align: center; }

/* --- Zelyon Cloud: painel de hospedagem --- */
.ops {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2em;
  background: linear-gradient(160deg, #0d2a3e, #07182a);
  color: #dbe7ec;
  line-height: 1.35;
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.95), 0 0 90px -20px rgba(38, 150, 160, 0.55);
}
.ops__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2em 1.8em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ops__title { font-weight: 700; font-size: 1.15em; }
.ops__live { display: inline-flex; align-items: center; gap: 0.5em; color: var(--zy-lime); font-weight: 650; }
.ops__live i, .ops__list i {
  width: 0.75em;
  height: 0.75em;
  border-radius: 50%;
  background: var(--zy-lime);
  box-shadow: 0 0 0.8em var(--zy-lime);
}
.ops__list { margin: 0; padding: 0.6em 1.8em; list-style: none; }
.ops__list li {
  display: grid;
  grid-template-columns: 1.2em minmax(0, 1.6fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.8em;
  padding: 0.75em 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.ops__list b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.ops__list span { color: #8fa6b2; }
.ops__list em {
  padding: 0.2em 0.8em;
  border-radius: 2em;
  background: rgba(164, 208, 6, 0.14);
  color: var(--zy-lime);
  font-style: normal;
  font-weight: 650;
  font-size: 0.9em;
}
.ops__graph { padding: 1em 1.8em 0.4em; }
.ops__label { color: #8fa6b2; font-size: 0.9em; font-weight: 600; }
.ops__graph svg { width: 100%; height: 6em; margin-top: 0.4em; overflow: visible; }
.ops__area { fill: rgba(38, 150, 160, 0.22); }
.ops__line { fill: none; stroke: #4fd1d9; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 0; }
.ops__log {
  margin: 0.8em 1.8em 1.6em;
  padding: 1em 1.2em;
  border-radius: 0.8em;
  background: rgba(0, 0, 0, 0.35);
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.92em;
  color: #9fb4bf;
}
.ops__log p + p { margin-top: 0.35em; }
.ops__ok { color: var(--zy-lime); }

/* --- Zelyon Growth: calendario de conteudo e o video curto no celular --- */
.cal {
  width: 82%;
  padding: 1.6em 1.8em;
  border-radius: 1.2em;
  background: #f7f4ff;
  color: #2b2240;
  line-height: 1.3;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 60px 120px -50px rgba(0, 0, 0, 0.95), 0 0 90px -20px rgba(164, 208, 6, 0.35);
}
.cal__title { font-weight: 700; font-size: 1.1em; }
.cal__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.5em;
  margin-top: 1em;
}
.cal__day { color: #8a7fa3; font-size: 0.85em; font-weight: 650; text-align: center; }
.cal__grid > span:not(.cal__day) { min-height: 3.4em; border-radius: 0.6em; }
.cal__empty { background: #ece7f8; }
.cal__post {
  display: flex;
  align-items: flex-end;
  padding: 0.45em;
  font-size: 0.78em;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
}
.cal__post--reel { background: linear-gradient(160deg, #ff7a59, #d63a7a); }
.cal__post--car { background: linear-gradient(160deg, #6a5cff, #3b2fc4); }
.cal__post--story { background: linear-gradient(160deg, #a4d006, #5f8a00); }
.cal__reach { margin-top: 1.4em; }
.cal__bars { display: flex; align-items: flex-end; gap: 4%; height: 6em; margin-top: 0.8em; }
.cal__bars span {
  flex: 1;
  border-radius: 0.3em 0.3em 0 0;
  background: linear-gradient(180deg, #8b7dff, #5a4be0);
  transform-origin: 50% 100%;
}
.cal__bars .g1 { height: 18%; } .cal__bars .g2 { height: 26%; } .cal__bars .g3 { height: 24%; } .cal__bars .g4 { height: 38%; }
.cal__bars .g5 { height: 46%; } .cal__bars .g6 { height: 58%; } .cal__bars .g7 { height: 72%; }
.cal__bars .g8 { height: 94%; background: linear-gradient(180deg, #c3ea3a, var(--zy-lime)); }
.phone--reel { right: 0; top: -6%; width: 23%; transform: translateZ(100px); }
.reel {
  position: relative;
  aspect-ratio: 9 / 16;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.65)),
    radial-gradient(circle at 40% 35%, #f6d39a 0 14%, transparent 15%),
    radial-gradient(circle at 62% 48%, #e7b06c 0 18%, transparent 19%),
    linear-gradient(160deg, #c8692b, #5a2a12);
  color: #fff;
}
.reel__play {
  position: absolute;
  top: 38%;
  left: 50%;
  width: 3.4em;
  height: 3.4em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
}
.reel__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 55%;
  border: 0.65em solid transparent;
  border-left: 1em solid #fff;
  border-right: 0;
  transform: translate(-50%, -50%);
}
.reel__cap { font-weight: 700; font-size: 1.05em; }
.reel__edit { display: flex; gap: 0.25em; height: 1.4em; }
.reel__edit i { flex: 1; border-radius: 0.25em; background: rgba(255, 255, 255, 0.35); }
.reel__edit .c2 { flex: 1.6; background: var(--zy-lime); }
.reel__edit .c4 { flex: 0.6; }
.reel__heart {
  position: absolute;
  right: 0.9em;
  width: 1.1em;
  height: 1.1em;
  background: #ff5a7a;
  transform: rotate(45deg);
  opacity: 0;
}
.reel__heart::before,
.reel__heart::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: inherit;
}
.reel__heart::before { left: -50%; }
.reel__heart::after { top: -50%; }
.reel__heart.h1 { bottom: 40%; }
.reel__heart.h2 { bottom: 52%; right: 1.6em; }
.reel__heart.h3 { bottom: 64%; }

/* avisos de cada demonstracao */
.chip--a { top: -1.5rem; right: 6%; }
.chip--b { bottom: -1.5rem; right: 8%; transform: translateZ(80px); }
.chip--c { top: -1.5rem; left: 6%; transform: translateZ(80px); }

/* replica da tela inicial (dados ficticios) */
.app {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f3f6f8;
  color: #1d2b36;
  line-height: 1.35;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.14),
    0 60px 120px -50px rgba(0, 0, 0, 0.95),
    0 0 90px -20px rgba(38, 150, 160, 0.55);
  user-select: none;
}
.app p, .app li { max-width: none; }
.app__bar {
  display: flex;
  align-items: center;
  gap: 2.4em;
  padding: 1.1em 2.4em;
  background: var(--zy-navy);
  color: #fff;
}
.app__logo { width: 8.5em; height: auto; flex: none; }
.app__menu {
  display: flex;
  gap: 2.2em;
  margin: 0 auto 0 0;
  padding: 0;
  list-style: none;
  font-weight: 600;
  white-space: nowrap;
}
.app__menu li { position: relative; padding-block: 0.4em; opacity: 0.92; }
.app__menu .is-on::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35em;
  height: 0.2em;
  border-radius: 1em;
  background: var(--zy-lime);
}
.app__new { opacity: 1; }
.app__avatar {
  width: 2.8em;
  height: 2.8em;
  flex: none;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #e7f5c0, var(--zy-lime) 60%, #6f8f00);
  box-shadow: 0 0 0 0.25em rgba(255, 255, 255, 0.2);
}
.app__body { padding: 2em 2.4em 2.4em; }
.app__hello { font-size: 1.15em; color: #3d4b55; }
.app__hello b { color: #1d2b36; }
.app__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4em;
  margin-top: 1.2em;
}
.app__card {
  padding: 1.5em 1.6em;
  border-radius: 1em;
  background: #fff;
  box-shadow: 0 0.2em 0.8em rgba(16, 40, 60, 0.07);
}
.app__label { font-weight: 700; font-size: 1.1em; }
.app__value {
  display: inline-block;
  margin-top: 0.9em;
  padding: 0.6em 1em;
  border-radius: 0.6em;
  font-weight: 700;
  font-size: 1.15em;
  font-variant-numeric: tabular-nums;
}
.app__value--in { background: #e4f1fd; color: #1769c2; }
.app__value--out { background: #fde8e8; color: #c62b2b; }
.app__hint { margin-top: 0.3em; color: #6a7780; font-size: 0.85em; }
.app__pills {
  display: inline-flex;
  margin-top: 1.2em;
  border: 1px solid #c8d3db;
  border-radius: 2em;
  overflow: hidden;
  font-size: 0.85em;
  font-weight: 600;
}
.app__pills span { padding: 0.45em 1.2em; color: #7b8790; }
.app__pills .is-on { background: #e4f1fd; color: #1769c2; }
.app__bars {
  display: flex;
  align-items: flex-end;
  gap: 4%;
  height: 9em;
  margin-top: 1.2em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid #dfe6eb;
}
.app__bars span {
  flex: 1;
  border-radius: 0.3em 0.3em 0 0;
  background: linear-gradient(180deg, #3d9ae8, #1769c2);
  transform-origin: 50% 100%;
}
.app__bars .b1 { height: 22%; } .app__bars .b2 { height: 30%; } .app__bars .b3 { height: 26%; }
.app__bars .b4 { height: 38%; } .app__bars .b5 { height: 34%; } .app__bars .b6 { height: 46%; }
.app__bars .b7 { height: 42%; } .app__bars .b8 { height: 55%; } .app__bars .b9 { height: 50%; }
.app__bars .b10 { height: 68%; } .app__bars .b11 { height: 92%; }
.app__bars .b12 { height: 74%; background: linear-gradient(180deg, #c3ea3a, var(--zy-lime)); }
.app__months {
  display: flex;
  justify-content: space-between;
  margin-top: 0.5em;
  color: #8a959d;
  font-size: 0.8em;
  font-weight: 600;
}
.app__rows {
  display: grid;
  margin-top: 0.9em;
  padding: 0;
  list-style: none;
}
.app__rows li {
  display: grid;
  grid-template-columns: 3.4em minmax(0, 1fr) auto 1.6em;
  align-items: center;
  gap: 0.8em;
  padding: 0.7em 0;
  border-top: 1px solid #edf1f4;
  font-size: 0.95em;
}
.app__rows span:nth-child(2) { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.app__rows span:nth-child(3) { font-variant-numeric: tabular-nums; color: #3d4b55; }
.app__rows i {
  justify-self: end;
  width: 0.9em;
  height: 0.9em;
  border-radius: 50%;
  background: #a7b2ba;
}
.app__rows i.is-ok { background: #4cb84a; }

@container (max-width: 34rem) {
  .app__menu li:nth-child(n + 5) { display: none; }
  .app__grid { gap: 1em; }
}

/* avisos flutuando na frente da tela */
.chip {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.7em 1.1em;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(5, 24, 42, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  color: var(--on-dark);
  font-size: clamp(0.6875rem, 0.55rem + 0.5vw, 0.9375rem);
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.9), 0 0 30px -10px rgba(164, 208, 6, 0.35);
  transform: translateZ(80px);
}
.chip__dot {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--zy-lime);
  box-shadow: 0 0 10px var(--zy-lime);
}
.chip--nfe { top: -1.75rem; left: -0.5rem; }
.chip--stock { top: 46%; right: 0.75rem; transform: translateZ(120px); }
.chip--pay { bottom: -1.5rem; left: 22%; transform: translateZ(60px); }
@media (min-width: 75em) {
  .chip--nfe { left: -1.5rem; }
  .chip--stock { right: -1.5rem; }
}
@media (max-width: 39.99em) {
  .chip--nfe { left: 0; top: -2.25rem; }
  .chip--stock { display: none; }
  .chip--pay { left: auto; right: 0; bottom: -2.5rem; }
}

.seal {
  display: block;
  max-width: 40rem;
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) auto 0;
  color: var(--on-dark-muted);
  font-size: 0.9375rem;
  text-align: center;
}
.seal::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  margin-right: 0.5rem;
  vertical-align: 0.1em;
  border-radius: 50%;
  background: var(--zy-lime);
}

/* ---------- conexao: o percurso ---------- */
.path {
  --draw: 1;
  position: relative;
  display: grid;
  gap: 2.25rem;
  margin-top: clamp(2.5rem, 1.5rem + 3vw, 4rem);
  padding: 0 0 0 2.25rem;
  list-style: none;
}
/* trilho e traco lima que se desenha com a rolagem */
.path::before,
.path::after {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 0.5rem;
  width: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.14);
}
.path::after {
  background: linear-gradient(180deg, var(--zy-lime), #d6f56a);
  box-shadow: 0 0 16px rgba(164, 208, 6, 0.8);
  transform: scaleY(var(--draw));
  transform-origin: 50% 0;
}
.path__step { position: relative; }
.path__step::before {
  content: "";
  position: absolute;
  top: 0.35rem;
  left: -2.25rem;
  z-index: 1;
  width: 1.1875rem;
  height: 1.1875rem;
  border: 3px solid var(--zy-lime);
  border-radius: 50%;
  background: #002730;
  box-shadow: 0 0 0 5px rgba(164, 208, 6, 0.12), 0 0 18px rgba(164, 208, 6, 0.6);
}
.path__tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border: 1px solid rgba(164, 208, 6, 0.6);
  border-radius: 999px;
  color: var(--zy-lime);
  font-size: 0.875rem;
  font-weight: 650;
}
.path__tag--loop { border-style: dashed; }
.path__title { margin-top: 0.75rem; font-size: 1.3125rem; }
.path__step p { margin-top: 0.5rem; color: var(--fg-muted); font-size: 1rem; }
.conexao-top { display: grid; gap: 1.5rem 4rem; align-items: end; }
@media (min-width: 64em) {
  .conexao-top { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
.path__close {
  max-width: 30rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--zy-lime);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.625rem);
  font-weight: 600;
  letter-spacing: -0.01em;
}
@media (min-width: 64em) {
  .path {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.75rem;
    padding: 2.75rem 0 0;
  }
  .path::before,
  .path::after {
    top: 0.5rem;
    bottom: auto;
    left: 0;
    right: 0;
    width: auto;
    height: 3px;
  }
  .path::after { transform: scaleX(var(--draw)); transform-origin: 0 50%; }
  .path__step::before { top: -2.75rem; left: 0; transform: translateY(-0.1rem); }
}

/* o ciclo: o ultimo passo volta ao primeiro (so no percurso horizontal) */
.path__loop { display: none; }
@media (min-width: 64em) {
  .path__loop {
    display: block;
    height: 2.25rem;
    margin: 1.75rem 0 0 0.6rem;
    width: calc(80% + 0.35rem);
    border: 2px dashed rgba(164, 208, 6, 0.55);
    border-top: 0;
    border-radius: 0 0 28px 28px;
    -webkit-mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.35) 50%, #000);
    mask-image: linear-gradient(90deg, #000, rgba(0, 0, 0, 0.35) 50%, #000);
  }
}
.section--teal { padding-bottom: clamp(3.5rem, 2rem + 4vw, 6rem); }

/* ---------- o que muda ---------- */
.split { display: grid; gap: 2.5rem; }
.benefits {
  display: grid;
  gap: 2rem;
  padding: 0;
  list-style: none;
}
.benefits li {
  position: relative;
  padding-left: 1.75rem;
}
.benefits li::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: 0;
  width: 4px;
  height: calc(100% - 0.6rem);
  border-radius: 4px;
  background: var(--zy-lime);
}
.benefits p { margin-top: 0.5rem; color: var(--fg-muted); }
@media (min-width: 62em) {
  .split { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 4rem; }
  .split__title { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

/* ---------- como trabalhamos ---------- */
.steps {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding: 0;
  list-style: none;
  counter-reset: passo;
}
.steps li {
  position: relative;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid var(--line-light);
  border-radius: 20px;
  background: var(--zy-paper);
  counter-increment: passo;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}
.steps li:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -28px rgba(11, 39, 65, 0.45); }
.steps li::before {
  content: counter(passo);
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: var(--zy-navy);
  color: var(--zy-lime);
  font-size: 1.125rem;
  font-weight: 700;
}
/* a quina do simbolo prende cada passo */
.steps li::after {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 2.5rem;
  height: 2.5rem;
  border: 4px solid var(--zy-lime);
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 20px;
  transform-origin: 0 0;
  transition: transform 0.7s var(--ease-out), width 0.35s var(--ease-out), height 0.35s var(--ease-out);
}
.steps li:hover::after { width: 4rem; height: 4rem; }
.steps h3 { margin-top: 1rem; }
.steps p { margin-top: 0.5rem; color: var(--fg-muted); }
@media (min-width: 40em) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 75em) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.steps h3 { overflow-wrap: normal; }

/* ---------- contato ---------- */
.contact {
  position: relative;
  display: grid;
  gap: 1rem 3rem;
  align-items: center;
  padding: clamp(2.5rem, 1.5rem + 4vw, 5rem) clamp(1.25rem, 0.5rem + 4vw, 5rem);
  border: 1px solid var(--glass-line);
  border-radius: 32px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.01));
  box-shadow: 0 50px 100px -60px rgba(0, 0, 0, 0.9);
}
/* as duas quinas do simbolo prendendo o convite */
.contact::before,
.contact::after {
  content: "";
  position: absolute;
  width: clamp(3rem, 2rem + 4vw, 6rem);
  height: clamp(3rem, 2rem + 4vw, 6rem);
  border: 6px solid var(--zy-lime);
  filter: drop-shadow(0 0 10px rgba(164, 208, 6, 0.6));
  transition: transform 0.9s var(--ease-out);
}
.contact::before { top: -3px; left: -3px; border-right: 0; border-bottom: 0; border-top-left-radius: 32px; }
.contact::after { right: -3px; bottom: -3px; border-left: 0; border-top: 0; border-bottom-right-radius: 32px; }
.contact h2 { font-size: clamp(2.1rem, 1.2rem + 3.4vw, 4rem); }
.contact .lead { margin-top: 1.25rem; }
.contact__number { margin-top: 1rem; color: var(--zy-lime); font-size: 1.25rem; font-weight: 650; letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.contact__actions { margin-top: 1rem; }
@media (min-width: 62em) {
  .contact { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
  .contact__actions { flex-direction: column; align-items: stretch; margin-top: 0; }
}

/* ---------- rodape ---------- */
.site-footer {
  background: var(--bg-0);
  border-top: 1px solid var(--glass-line);
  padding-block: 4rem 2.5rem;
  font-size: 1rem;
  color: var(--on-dark);
  --fg-muted: var(--on-dark-muted);
  --focus: var(--zy-lime);
}
.site-footer__grid { display: grid; gap: 2.5rem; }
.site-footer__brand p { margin-top: 1rem; color: var(--fg-muted); max-width: 22rem; }
.site-footer__logo { display: inline-flex; align-items: center; min-height: 2.75rem; border-radius: 6px; }
.site-footer__logo img { width: 160px; height: 40px; margin-left: -13px; }
.site-footer__title {
  color: var(--fg-muted);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0;
}
.site-footer__col ul { margin-top: 0.5rem; padding: 0; list-style: none; }
.site-footer__col a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  color: var(--zy-white);
  text-decoration: none;
  text-underline-offset: 0.3em;
}
.site-footer__col a:hover { color: var(--zy-lime); text-decoration-line: underline; }
.site-footer__base {
  max-width: none;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-line);
  color: var(--fg-muted);
  font-size: 0.9375rem;
}
@media (min-width: 40em) {
  .site-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (min-width: 62em) {
  .site-footer__grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
  .site-footer__brand { grid-column: auto; }
}

/* ---------- paginas simples (privacidade, 404) ---------- */
.page { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem); }
.page__inner { max-width: 44rem; margin-inline: auto; }
.page__inner > * + * { margin-top: 1.25rem; }
.page__inner a:not(.btn) {
  font-weight: 600;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}
.page__note { color: var(--fg-muted); font-size: 0.9375rem; }
.page--404 .page__inner { min-height: 40vh; }
.page--404 .btn { margin-top: 2rem; }

/* ---------- movimento (so com JS e sem pedido de movimento reduzido) ---------- */
@media (prefers-reduced-motion: no-preference) {
  /* entrada: as pecas sobem de dentro da tela, em leve rotacao */
  .motion [data-reveal] {
    opacity: 0;
    transform: perspective(900px) translateY(36px) rotateX(14deg);
    transition: opacity 0.8s var(--ease-out), transform 0.9s var(--ease-out);
    transition-delay: var(--delay, 0s);
  }
  .motion [data-reveal].is-in { opacity: 1; transform: none; }

  .motion .steps li[data-reveal]::after { transform: scale(0); transition-delay: calc(var(--delay, 0s) + 0.3s); }
  .motion .steps li[data-reveal].is-in::after { transform: none; }
  .motion .contact[data-reveal]::before { transform: translate(-1.5rem, -1.5rem); }
  .motion .contact[data-reveal]::after { transform: translate(1.5rem, 1.5rem); }
  .motion .contact[data-reveal].is-in::before,
  .motion .contact[data-reveal].is-in::after { transform: none; }

  /* grafico do ERP sobe quando a tela aparece */
  .motion .demo .app__bars span { transform: scaleY(0.05); transition: transform 1s var(--ease-out); }
  .motion .demo.is-live .app__bars span { transform: none; }
  .motion .demo.is-live .app__bars .b2 { transition-delay: 0.05s; }
  .motion .demo.is-live .app__bars .b3 { transition-delay: 0.1s; }
  .motion .demo.is-live .app__bars .b4 { transition-delay: 0.15s; }
  .motion .demo.is-live .app__bars .b5 { transition-delay: 0.2s; }
  .motion .demo.is-live .app__bars .b6 { transition-delay: 0.25s; }
  .motion .demo.is-live .app__bars .b7 { transition-delay: 0.3s; }
  .motion .demo.is-live .app__bars .b8 { transition-delay: 0.35s; }
  .motion .demo.is-live .app__bars .b9 { transition-delay: 0.4s; }
  .motion .demo.is-live .app__bars .b10 { transition-delay: 0.45s; }
  .motion .demo.is-live .app__bars .b11 { transition-delay: 0.5s; }
  .motion .demo.is-live .app__bars .b12 { transition-delay: 0.55s; }

  /* avisos flutuam em profundidades diferentes */
  /* flutuam ao entrar e param antes de 5 s */
  .motion .demo.is-live .chip { animation: flutua 2.2s ease-in-out 2; }
  .motion .demo.is-live .chip--stock { animation-delay: 0.3s; }
  .motion .demo.is-live .chip--pay { animation-delay: 0.6s; }

  /* Web: o site se monta por partes */
  .motion .demo .site > *, .motion .demo .phone--web { opacity: 0; transform: translateY(1.2em); transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out); }
  .motion .demo .phone--web { transform: translateZ(90px) translateY(3em); }
  .motion .demo.is-live .site > * { opacity: 1; transform: none; }
  .motion .demo.is-live .site > :nth-child(2) { transition-delay: 0.25s; }
  .motion .demo.is-live .site > :nth-child(3) { transition-delay: 0.5s; }
  .motion .demo.is-live .phone--web { opacity: 1; transform: translateZ(90px); transition-delay: 0.8s; }

  /* Cloud: o grafico de acessos se desenha e o registro de publicacao aparece linha a linha */
  .motion .demo .ops__line { stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s var(--ease-out); }
  .motion .demo.is-live .ops__line { stroke-dashoffset: 0; }
  .motion .demo .ops__log p { opacity: 0; transition: opacity 0.3s ease; }
  .motion .demo.is-live .ops__log p { opacity: 1; }
  .motion .demo.is-live .ops__log p:nth-child(2) { transition-delay: 0.7s; }
  .motion .demo.is-live .ops__log p:nth-child(3) { transition-delay: 1.5s; }

  /* Growth: o alcance sobe e o video recebe curtidas (duas vezes, depois para) */
  .motion .demo .cal__bars span { transform: scaleY(0.05); transition: transform 1s var(--ease-out); }
  .motion .demo.is-live .cal__bars span { transform: none; }
  .motion .demo.is-live .cal__bars .g2 { transition-delay: 0.06s; }
  .motion .demo.is-live .cal__bars .g3 { transition-delay: 0.12s; }
  .motion .demo.is-live .cal__bars .g4 { transition-delay: 0.18s; }
  .motion .demo.is-live .cal__bars .g5 { transition-delay: 0.24s; }
  .motion .demo.is-live .cal__bars .g6 { transition-delay: 0.3s; }
  .motion .demo.is-live .cal__bars .g7 { transition-delay: 0.36s; }
  .motion .demo.is-live .cal__bars .g8 { transition-delay: 0.42s; }
  .motion .demo.is-live .reel__heart { animation: curtida 1.6s ease-out 2; }
  .motion .demo.is-live .reel__heart.h2 { animation-delay: 0.4s; }
  .motion .demo.is-live .reel__heart.h3 { animation-delay: 0.8s; }
}
@keyframes curtida {
  0% { opacity: 0; translate: 0 0; }
  25% { opacity: 1; }
  100% { opacity: 0; translate: 0 -3em; }
}
@keyframes flutua {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

/* ---------- impressao e selecao ---------- */
@media print {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero__sky, .hero__floor, .stage__canvas, .chip { display: none; }
}
::selection { background: var(--zy-lime); color: var(--zy-ink); }
.hero__text h1::selection { -webkit-text-fill-color: var(--zy-ink); }

/* ---------- movimento reduzido ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .demo__scene { transform: none !important; }
}

/* ---------- cores forcadas ---------- */
@media (forced-colors: active) {
  .btn, .orbit a, .contact, .chip { border-color: CanvasText; }
  .hero__text h1 { color: CanvasText; background: none; }
  .path::after, .benefits li::before, .front__list li::before { background: CanvasText; }
}
