/* ==================================================================
   LUXUS BR — Página: Desenvolvimento de Sistemas Personalizados
   Linguagem visual: plataforma empresarial (módulos, raias de
   processo, camadas de arquitetura). Complementa /assets/css/styles.css.
   ================================================================== */

/* ---------- Utilitários da página ---------- */
.sy-caption { margin-top: 0.9rem; font-size: 0.78rem; color: var(--text-muted); text-align: center; }
.sy-text { margin-top: 1.5rem; color: var(--text-muted); font-size: var(--fs-lead); }
.sk--40 { width: 40%; }
.sk--50 { width: 50%; }

.sy-band {
  max-width: 56rem;
  margin: clamp(2.5rem, 2rem + 2vw, 3.75rem) auto 0;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--gold-edge);
  background: linear-gradient(90deg, rgba(201, 162, 75, 0.14), rgba(201, 162, 75, 0.03) 70%);
  text-align: center;
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.45rem);
  font-weight: 300;
  line-height: 1.45;
  color: var(--text-muted);
}
.sy-band strong { font-weight: 400; color: var(--text); }

.sy-notice {
  display: flex;
  gap: 0.75rem;
  max-width: 56rem;
  margin-top: 1.75rem;
  padding: 1.1rem 1.3rem;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.sy-notice svg { flex-shrink: 0; margin-top: 2px; color: var(--gold-light); }
.sy-notice--center { margin-inline: auto; }

/* ==================================================================
   01. HERO — plataforma
   ================================================================== */
.sy-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(2rem, 1.5rem + 3vw, 4rem)) 0 clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.sy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    repeating-linear-gradient(0deg, transparent 0 71px, rgba(214, 214, 214, 0.045) 71px 72px),
    radial-gradient(circle at 72% 40%, rgba(201, 162, 75, 0.35) 0 2px, transparent 3px) 0 0 / 144px 72px,
    radial-gradient(46rem 34rem at 76% 48%, rgba(201, 162, 75, 0.13), transparent 62%),
    linear-gradient(180deg, #0c0c0d 0%, var(--bg) 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 90% at 70% 50%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 80% 90% at 70% 50%, #000 30%, transparent 85%);
}
.sy-hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: var(--gold-line); opacity: 0.45; }
.sy-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 1rem + 4vw, 5rem);
  align-items: center;
}
.sy-hero__title { font-size: clamp(2.05rem, 1.25rem + 3vw, 3.6rem); letter-spacing: -0.03em; line-height: 1.07; max-width: 17ch; }
.sy-hero__title .text-gold { font-weight: 400; }
.sy-hero__lead { max-width: 38rem; margin: 1.75rem 0 2.25rem; font-size: var(--fs-lead); color: var(--text-muted); }
.sy-hero__copy > * { animation: rise 0.9s var(--ease) both; }
.sy-hero__copy > :nth-child(3) { animation-delay: 0.06s; }
.sy-hero__copy > :nth-child(4) { animation-delay: 0.12s; }
.sy-hero__copy > :nth-child(n + 5) { animation-delay: 0.18s; }

.sy-specs[role="list"] { display: grid; gap: 0; margin-top: 2.25rem; max-width: 30rem; border-top: 1px solid var(--line); }
.sy-specs li { display: flex; align-items: center; gap: 1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--line); color: var(--silver); font-size: 0.95rem; }
.sy-specs code { font-family: var(--mono); font-size: 0.72rem; color: var(--gold); }

.platform { margin: 0; animation: rise 1.1s 0.2s var(--ease) both; }
.platform__stage { position: relative; padding-bottom: 2.5rem; }
.app {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  min-height: 360px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: #0f0f0e;
  box-shadow: var(--shadow-deep), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}
.app__side { display: flex; flex-direction: column; gap: 0.3rem; padding: 0.9rem 0.6rem; border-right: 1px solid var(--line); background: rgba(255, 255, 255, 0.02); }
.app__brand { display: grid; place-items: center; width: 30px; height: 30px; margin: 0 0 0.9rem 0.35rem; border-radius: 8px; background: var(--ink); border: 1px solid var(--gold-edge); }
.app__brand img { width: 50%; }
.app__nav { display: flex; align-items: center; gap: 0.5rem; padding: 0.45rem 0.55rem; border-radius: 8px; font-size: 0.72rem; color: var(--text-muted); }
.app__nav i { width: 8px; height: 8px; border-radius: 3px; background: rgba(214, 214, 214, 0.25); }
.app__nav.is-active { background: rgba(201, 162, 75, 0.12); color: var(--gold-light); }
.app__nav.is-active i { background: var(--gold-light); }
.app__main { display: flex; flex-direction: column; min-width: 0; }
.app__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.75rem 0.9rem; border-bottom: 1px solid var(--line); }
.app__search { flex: 1; max-width: 220px; padding: 0.4rem 0.7rem; border: 1px solid var(--line-strong); border-radius: 999px; }
.app__search .sk { margin: 0; }
.app__avatar { width: 24px; height: 24px; border-radius: 50%; background: var(--gold-grad); }
.board { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; padding: 0.9rem; flex: 1; }
.board__col { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.55rem; border-radius: 10px; background: rgba(255, 255, 255, 0.02); }
.board__head { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.board__card { display: block; padding: 0.55rem 0.6rem 0.65rem; border: 1px solid var(--line); border-radius: 8px; background: #151514; }
.board__card .sk:first-child { margin-top: 0; }
.board__card--active { border-color: rgba(201, 162, 75, 0.55); box-shadow: 0 0 24px -8px rgba(201, 162, 75, 0.5); animation: card-pulse 3.2s ease-in-out infinite; }
@keyframes card-pulse { 50% { box-shadow: 0 0 34px -6px rgba(201, 162, 75, 0.7); } }
.board__card--done { opacity: 0.55; }
.board__tag { display: inline-block; margin-top: 0.55rem; padding: 0.12rem 0.45rem; border-radius: 999px; background: rgba(201, 162, 75, 0.18); font-size: 0.58rem; font-weight: 700; letter-spacing: 0.06em; color: var(--gold-light); }

.nodes {
  position: absolute;
  right: -0.5rem; bottom: 0;
  display: flex;
  gap: 0.5rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--gold-edge);
  border-radius: 14px;
  background: rgba(16, 16, 15, 0.95);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.95);
}
.nodes__item { position: relative; padding: 0.3rem 0.65rem; border: 1px solid var(--line-strong); border-radius: 8px; font-family: var(--mono); font-size: 0.66rem; color: var(--silver); }
.nodes__item + .nodes__item::before { content: ""; position: absolute; right: 100%; top: 50%; width: 0.5rem; height: 1px; background: var(--gold); }

/* ==================================================================
   02. PROBLEMA — desconectado × organizado
   ================================================================== */
.hub { margin: 0; }
.hub__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.hub__side { padding: 1.25rem; border-radius: var(--radius-lg); }
.hub__side--off { border: 1px dashed rgba(214, 214, 214, 0.22); background: rgba(10, 10, 11, 0.55); }
.hub__side--on { border: 1px solid var(--gold-edge); background: radial-gradient(120% 90% at 50% 50%, rgba(201, 162, 75, 0.12), rgba(16, 16, 15, 0.9) 70%); box-shadow: var(--shadow-deep); }
.hub__label { display: block; margin-bottom: 0.9rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.hub__side--off .hub__label { color: var(--text-muted); }
.hub__side--on .hub__label { color: var(--gold-light); }
.hub__field { position: relative; height: 260px; }
.hub__lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.hub__lines path { vector-effect: non-scaling-stroke; }
.chip {
  position: absolute;
  padding: 0.38rem 0.75rem;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.72rem;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}
.hub__side--off .chip { border: 1px dashed rgba(214, 214, 214, 0.3); background: #121211; color: var(--text-muted); }
.hub__side--on .chip { border: 1px solid var(--gold-edge); background: #121211; color: var(--silver); }
.chip--1 { left: 20%; top: 19%; transform: translate(-50%, -50%) rotate(-6deg); }
.chip--2 { left: 80%; top: 23%; transform: translate(-50%, -50%) rotate(5deg); }
.chip--3 { left: 52%; top: 50%; transform: translate(-50%, -50%) rotate(-3deg); }
.chip--4 { left: 22%; top: 81%; transform: translate(-50%, -50%) rotate(4deg); }
.chip--5 { left: 74%; top: 78%; transform: translate(-50%, -50%) rotate(-5deg); }
.chip--a { left: 17%; top: 17%; }
.chip--b { left: 83%; top: 17%; }
.chip--c { left: 50%; top: 8%; }
.chip--d { left: 15%; top: 83%; }
.chip--e { left: 85%; top: 83%; }
.hub__core {
  position: absolute;
  left: 50%; top: 50%;
  display: grid;
  place-items: center;
  width: 64px; height: 64px;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  background: radial-gradient(circle, rgba(201, 162, 75, 0.25), var(--ink) 72%);
  border: 1px solid rgba(201, 162, 75, 0.6);
  box-shadow: 0 0 40px -6px rgba(201, 162, 75, 0.6);
}
.hub__core img { width: 38%; }

.cases { margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.cases__title { margin-bottom: 1rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }
.cases__list[role="list"] { counter-reset: cs; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(10, 10, 11, 0.5); }
.cases__list li { counter-increment: cs; padding: 1.25rem 1.2rem 1.35rem; font-size: 0.97rem; line-height: 1.5; }
.cases__list li + li { border-left: 1px solid var(--line); }
.cases__list li::before { content: counter(cs, decimal-leading-zero); display: block; margin-bottom: 0.7rem; font-family: var(--mono); font-size: 0.72rem; color: var(--gold); }

/* ==================================================================
   03. SOLUÇÃO — requisitos → solução
   ================================================================== */
.sy-solution__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.transform { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1rem; align-items: center; }
.spec-doc, .modules {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.1rem;
  border-radius: 14px;
  box-shadow: var(--shadow-deep);
}
.spec-doc { border: 1px dashed rgba(214, 214, 214, 0.3); background: #111110; }
.spec-doc__title, .modules__title { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.modules__title { color: var(--gold-light); }
.spec-doc__row { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); align-items: center; gap: 0.5rem; padding-top: 0.55rem; border-top: 1px solid var(--line); }
.spec-doc__row b { font-family: var(--mono); font-size: 0.68rem; font-weight: 400; color: var(--silver); }
.spec-doc__row .sk { margin: 0; }
.modules { border: 1px solid var(--gold-edge); background: radial-gradient(120% 90% at 50% 0%, rgba(201, 162, 75, 0.16), rgba(16, 16, 15, 0.95) 70%); }
.modules__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.modules__grid i { height: 40px; border-radius: 8px; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.03); }
.modules__grid i.is-gold { border-color: rgba(201, 162, 75, 0.6); background: rgba(201, 162, 75, 0.18); }
.transform__arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--gold-edge); background: var(--ink); color: var(--gold-light); }

.pipeline[role="list"] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: clamp(3rem, 2rem + 3vw, 4.5rem);
}
.pipeline__item {
  position: relative;
  padding: 1.4rem 1.6rem 1.4rem 1.6rem;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.02);
}
.pipeline__item:first-child { border-left: 1px solid var(--line-strong); border-radius: 14px 0 0 14px; }
.pipeline__item:last-child { border-right: 1px solid var(--line-strong); border-radius: 0 14px 14px 0; }
.pipeline__item + .pipeline__item { padding-left: 2.4rem; }
.pipeline__item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -14px; top: 50%;
  z-index: 1;
  width: 26px; height: 26px;
  margin-top: -13px;
  width: 14px; height: 14px;
  margin-top: -7px;
  right: -9px;
  border-top: 1.5px solid var(--gold-edge);
  border-right: 1.5px solid var(--gold-edge);
  background: none;
  transform: rotate(45deg);
}
.pipeline__item h3 { font-size: 1.12rem; font-weight: 400; margin-bottom: 0.4rem; color: var(--gold-light); }
.pipeline__item p { color: var(--text-muted); font-size: 0.93rem; }

/* ==================================================================
   04. SHOWCASE — abas de possibilidades
   ================================================================== */
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  border: 1px solid var(--line-strong);
  border-radius: calc(var(--radius-lg) + 4px);
  background: rgba(10, 10, 11, 0.6);
  box-shadow: var(--shadow-deep);
  overflow: hidden;
}
.showcase:not(.is-enhanced) { grid-template-columns: minmax(0, 1fr); }
.showcase__tabs { display: flex; flex-direction: column; padding: 0.75rem; border-right: 1px solid var(--line); background: rgba(255, 255, 255, 0.015); }
.showcase__tab {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-height: 52px;
  padding: 0.8rem 1rem;
  border: 1px solid transparent;
  border-radius: 12px;
  background: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.98rem;
  text-align: left;
  cursor: pointer;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.showcase__tab code { font-family: var(--mono); font-size: 0.72rem; color: rgba(214, 214, 214, 0.4); transition: color 0.25s var(--ease); }
.showcase__tab:hover { color: var(--text); background: rgba(255, 255, 255, 0.025); }
.showcase__tab[aria-selected="true"] { color: var(--text); border-color: var(--gold-edge); background: linear-gradient(90deg, rgba(201, 162, 75, 0.16), rgba(201, 162, 75, 0.02)); }
.showcase__tab[aria-selected="true"] code { color: var(--gold-light); }
.showcase__panels { min-width: 0; }
.panel {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 1.5rem;
  min-height: 100%;
  padding: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  background:
    linear-gradient(rgba(214, 214, 214, 0.035) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(90deg, rgba(214, 214, 214, 0.035) 1px, transparent 1px) 0 0 / 32px 32px;
}
.showcase:not(.is-enhanced) .panel + .panel { border-top: 1px solid var(--line); }
.is-enhanced .panel:not([hidden]) { animation: fade-down 0.35s var(--ease); }
.panel:focus-visible { box-shadow: inset 0 0 0 2px var(--gold-light); border-radius: 0; }
.panel__num { margin-bottom: 0.4rem; font-family: var(--mono); font-size: 0.72rem; color: var(--gold); }
.panel__title { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.9rem); margin-bottom: 0.6rem; }
.panel__copy p:not(.panel__num) { max-width: 36rem; color: var(--text-muted); }
.panel__ui {
  align-self: end;
  min-height: 230px;
  padding: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: #0f0f0e;
  box-shadow: var(--shadow-deep);
}
/* Painel administrativo */
.ui-admin { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 0.8rem; }
.ui-admin__side { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.4rem; border-radius: 10px; background: rgba(255, 255, 255, 0.025); }
.ui-admin__side i { height: 26px; border-radius: 7px; background: rgba(214, 214, 214, 0.08); }
.ui-admin__side i.is-on { background: rgba(201, 162, 75, 0.35); }
.ui-admin__body { display: flex; flex-direction: column; gap: 0.8rem; }
.ui-admin__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
.ui-admin__cards > span { padding: 0.65rem; border: 1px solid var(--line); border-radius: 10px; background: #151514; }
.ui-admin__cards .sk:first-child { margin-top: 0; }
.ui-table { display: grid; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.ui-table__row { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 0.8rem; align-items: center; padding: 0.55rem 0.75rem; border-top: 1px solid var(--line); }
.ui-table__row:first-child { border-top: 0; }
.ui-table__row i { height: 7px; border-radius: 4px; background: rgba(214, 214, 214, 0.12); }
.ui-table__row--head { background: rgba(255, 255, 255, 0.03); }
.ui-table__row--head i { background: rgba(214, 214, 214, 0.22); }
.ui-table__row b, .st { padding: 0.12rem 0.5rem; border-radius: 999px; font-size: 0.62rem; font-weight: 700; letter-spacing: 0.04em; background: rgba(201, 162, 75, 0.16); color: var(--gold-light); white-space: nowrap; }
.ui-table__row b.is-muted { background: rgba(214, 214, 214, 0.1); color: var(--silver); }
/* Pedidos */
.ui-orders { display: flex; flex-direction: column; gap: 0.5rem; }
.ui-orders__row { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 0.8rem; align-items: center; padding: 0.6rem 0.75rem; border: 1px solid var(--line); border-radius: 10px; background: #151514; }
.ui-orders__row .sk { margin: 0; }
.ui-orders__id { height: 24px; border-radius: 6px; background: rgba(214, 214, 214, 0.1); }
.st--new { background: rgba(214, 214, 214, 0.12); color: var(--silver); }
.st--progress { background: rgba(201, 162, 75, 0.18); color: var(--gold-light); }
.st--done { background: var(--gold-grad); color: #111; }
.ui-orders__steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.4rem; margin-top: 0.4rem; }
.ui-orders__steps i { height: 4px; border-radius: 4px; background: rgba(214, 214, 214, 0.12); }
.ui-orders__steps i.is-on { background: var(--gold-grad); }
/* Clientes */
.ui-crm { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0.8rem; }
.ui-crm__profile { grid-column: 1 / -1; display: flex; align-items: center; gap: 0.8rem; padding: 0.7rem; border: 1px solid var(--line); border-radius: 10px; background: #151514; }
.ui-crm__profile > span:last-child { flex: 1; }
.ui-crm__profile .sk:first-child { margin-top: 0; }
.ui-crm__avatar { flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--gold-grad); }
.ui-crm__fields { display: grid; gap: 0.45rem; }
.ui-crm__fields span { height: 28px; border: 1px solid var(--line-strong); border-radius: 7px; }
.ui-crm__history { display: flex; flex-direction: column; gap: 0.5rem; padding: 0.7rem; border: 1px solid var(--line); border-radius: 10px; }
.ui-crm__history b { font-family: var(--mono); font-size: 0.64rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); }
.ui-crm__event { display: grid; grid-template-columns: 10px minmax(0, 1fr); gap: 0.6rem; align-items: center; }
.ui-crm__event i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--gold); }
.ui-crm__event .sk { margin: 0; }
/* Automação */
.ui-auto { display: flex; flex-direction: column; align-items: stretch; justify-content: center; gap: 0; }
.ui-auto__block { display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line-strong); border-radius: 10px; background: #151514; font-size: 0.86rem; color: var(--silver); }
.ui-auto__block em { flex-shrink: 0; min-width: 4.2rem; padding: 0.15rem 0.5rem; border-radius: 6px; background: rgba(214, 214, 214, 0.1); font-family: var(--mono); font-style: normal; font-size: 0.66rem; text-align: center; color: var(--text); }
.ui-auto__block--gold { border-color: rgba(201, 162, 75, 0.55); background: rgba(201, 162, 75, 0.08); }
.ui-auto__block--gold em { background: var(--gold-grad); color: #111; }
.ui-auto__link { align-self: flex-start; width: 1px; height: 18px; margin-left: 2.6rem; background: linear-gradient(180deg, var(--line-strong), var(--gold)); }
/* Plataforma */
.ui-custom__shell { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; height: 100%; min-height: 198px; }
.ui-custom__mod { border: 1px solid var(--line); border-radius: 10px; background: #151514; }
.ui-custom__mod--wide { grid-column: span 2; }
.ui-custom__mod--gold { border-color: rgba(201, 162, 75, 0.55); background: rgba(201, 162, 75, 0.12); }
.ui-custom__mod--new { grid-column: span 2; display: grid; place-items: center; border: 1px dashed rgba(201, 162, 75, 0.7); background: none; font-family: var(--mono); font-size: 0.72rem; color: var(--gold-light); }
/* Integrações */
.ui-int { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; }
.ui-int__node { display: grid; place-items: center; min-width: 110px; min-height: 110px; padding: 0.8rem; border: 1px solid var(--gold-edge); border-radius: 14px; background: radial-gradient(circle, rgba(201, 162, 75, 0.18), #151514 72%); font-size: 0.82rem; text-align: center; color: var(--text); }
.ui-int__node--ext { border-style: dashed; border-color: var(--line-strong); background: #151514; color: var(--silver); }
.ui-int__bus { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0.4rem; }
.ui-int__bus i { height: 2px; background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 12px); }
.ui-int__bus b { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.6rem; border: 1px solid var(--gold-edge); border-radius: 999px; background: var(--ink); font-family: var(--mono); font-size: 0.64rem; font-weight: 400; color: var(--gold-light); white-space: nowrap; }

/* ==================================================================
   05. FLUXO — diagrama de raias
   ================================================================== */
.lanes {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 11, 0.55);
  overflow: hidden;
}
.lanes__labels[role="list"] { display: grid; grid-template-rows: repeat(4, 1fr); border-right: 1px solid var(--line); }
.lanes__labels li { display: flex; align-items: center; padding: 0 1.1rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }
.lanes__labels li + li { border-top: 1px solid var(--line); }
.lanes__grid {
  position: relative;
  background: repeating-linear-gradient(180deg, transparent 0 calc(25% - 1px), var(--line) calc(25% - 1px) 25%);
}
.lanes__path { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.lanes__path path { fill: none; stroke: var(--gold); stroke-opacity: 0.7; stroke-width: 1.5; stroke-dasharray: 6 6; vector-effect: non-scaling-stroke; animation: dash-flow-sy 2.4s linear infinite; }
@keyframes dash-flow-sy { to { stroke-dashoffset: -24; } }
.lanes__steps[role="list"] { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); grid-template-rows: repeat(4, 96px); }
.lane-step {
  align-self: center;
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  width: calc(100% - 1.25rem);
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #141413;
  font-size: 0.86rem;
  line-height: 1.35;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.lane-step:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 0 30px -10px rgba(201, 162, 75, 0.6); }
.lane-step code { font-family: var(--mono); font-size: 0.66rem; color: var(--gold); }
.lane-step__tag { display: none; }
.lane-step--1 { grid-column: 1; grid-row: 1; }
.lane-step--2 { grid-column: 2; grid-row: 2; }
.lane-step--3 { grid-column: 3; grid-row: 3; }
.lane-step--4 { grid-column: 4; grid-row: 2; }
.lane-step--5 { grid-column: 5; grid-row: 4; border-color: var(--gold-edge); background: radial-gradient(120% 120% at 0% 0%, rgba(201, 162, 75, 0.2), #141413); }

/* ==================================================================
   06. ARQUITETURA — camadas
   ================================================================== */
.sy-arch__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 1rem + 5vw, 6rem);
  align-items: center;
}
.stack-arch { margin: 0; }
.stack-arch__body { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; gap: 0.9rem; align-items: stretch; }
.stack-arch__rail {
  display: grid;
  place-items: center;
  border-radius: 10px;
  writing-mode: vertical-rl;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stack-arch__rail--sec { border: 1px solid var(--gold-edge); background: rgba(201, 162, 75, 0.08); color: var(--gold-light); transform: rotate(180deg); }
.stack-arch__rail--acc { border: 1px dashed var(--line-strong); color: var(--silver); }
.stack-arch__layers { display: flex; flex-direction: column; }
.layer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 1rem;
  align-items: center;
  padding: 1rem 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01));
  box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.9);
  font-size: 1.05rem;
}
.layer code { grid-row: span 2; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; border-radius: 10px; border: 1px solid var(--gold-edge); font-family: var(--mono); font-size: 0.72rem; color: var(--gold-light); }
.layer small { grid-column: 2; font-size: 0.8rem; color: var(--text-muted); }
.layer--gold { border-color: rgba(201, 162, 75, 0.55); background: radial-gradient(120% 120% at 0% 0%, rgba(201, 162, 75, 0.16), rgba(16, 16, 15, 0.9)); }
.layer__link { align-self: center; width: 1px; height: 20px; background: linear-gradient(180deg, var(--gold), var(--line-strong)); }

.tech-table {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(3rem, 2rem + 3vw, 4.5rem) 0 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  background: rgba(10, 10, 11, 0.55);
  overflow: hidden;
}
.tech-table__row { display: grid; grid-template-columns: minmax(9rem, 0.6fr) minmax(0, 1.4fr); gap: 1.25rem; padding: 1.15rem 1.4rem; border-top: 1px solid var(--line); }
.tech-table__row:nth-child(-n + 2) { border-top: 0; }
.tech-table__row:nth-child(even) { border-left: 1px solid var(--line); }
.tech-table dt { font-size: 1rem; color: var(--gold-light); }
.tech-table dd { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

/* ==================================================================
   07. PRONTO × PERSONALIZADO — árvore de decisão
   ================================================================== */
.sy-choice__head { max-width: 50rem; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 3.5rem); text-align: center; }
.sy-choice__head .section-intro { margin-inline: auto; }
.sy-choice__head .text-gold { display: block; margin-top: 0.15em; }
.sy-flow .section-title .text-gold { display: block; }
.tree { display: flex; flex-direction: column; align-items: center; }
.tree__root {
  padding: 0.7rem 1.3rem;
  border: 1px solid var(--gold-edge);
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-light);
  font-size: 0.95rem;
  box-shadow: 0 0 40px -14px rgba(201, 162, 75, 0.6);
}
.tree__branches { width: 100%; height: 64px; }
.tree__branches path { fill: none; stroke: var(--gold-edge); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.tree__leaves { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 0.5rem + 2vw, 2.5rem); width: 100%; }
.leaf { padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--surface-2), var(--bg-2)); }
.leaf__title { font-size: clamp(1.1rem, 1.02rem + 0.35vw, 1.3rem); font-weight: 400; margin-bottom: 1.1rem; }
.leaf__list[role="list"] { display: grid; gap: 0; border-top: 1px solid var(--line); }
.leaf__list li { position: relative; padding: 0.8rem 0 0.8rem 2rem; border-bottom: 1px solid var(--line); color: var(--silver); font-size: 0.98rem; }
.leaf__list li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 16px; height: 16px; border-radius: 50%; border: 1px solid var(--gold-edge); background: var(--gold-soft); }
.leaf__list li::after { content: ""; position: absolute; left: 6px; top: calc(1.05rem + 3px); width: 3px; height: 7px; border: solid var(--gold-light); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* ==================================================================
   08. PROCESSO — fases (cronograma conceitual)
   ================================================================== */
.phases[role="list"] { display: grid; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: rgba(10, 10, 11, 0.55); overflow: hidden; }
.phase { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1.1rem 1.5rem; }
.phase + .phase { border-top: 1px solid var(--line); }
.phase__info { display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); column-gap: 1rem; }
.phase__info code { grid-row: span 2; padding-top: 0.25rem; font-family: var(--mono); font-size: 0.75rem; color: var(--gold); }
.phase__info h3 { font-size: 1.1rem; font-weight: 400; margin-bottom: 0.25rem; }
.phase__info p { color: var(--text-muted); font-size: 0.92rem; }
.phase__track {
  position: relative;
  height: 14px;
  border-radius: 999px;
  background: repeating-linear-gradient(90deg, rgba(214, 214, 214, 0.06) 0 1px, transparent 1px calc(100% / 6));
}
.phase__track i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, rgba(201, 162, 75, 0.45), rgba(243, 212, 140, 0.85)); box-shadow: 0 0 16px -4px rgba(201, 162, 75, 0.6); }
.phase--1 .phase__track i { left: 0; width: 20%; }
.phase--2 .phase__track i { left: 14%; width: 22%; }
.phase--3 .phase__track i { left: 30%; width: 20%; }
.phase--4 .phase__track i { left: 44%; width: 34%; }
.phase--5 .phase__track i { left: 68%; width: 20%; }
.phase--6 .phase__track i { left: 84%; width: 16%; background: var(--gold-grad); }
.phases__legend { margin-top: 0.9rem; font-size: 0.78rem; color: var(--text-muted); text-align: right; }

/* ==================================================================
   09. DIFERENCIAIS — emblema central
   ================================================================== */
.sy-why__head { max-width: 46rem; margin: 0 auto clamp(2.5rem, 2rem + 2vw, 3.5rem); text-align: center; }
.sy-why__head .section-intro { margin-inline: auto; }
.emblem { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.emblem__col[role="list"] { display: grid; gap: 1.25rem; }
.emblem__item { padding: 1.4rem 1.5rem; border: 1px solid var(--line-strong); border-radius: 16px; background: linear-gradient(135deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)); transition: border-color 0.3s var(--ease); }
.emblem__item:hover { border-color: var(--gold-edge); }
.emblem__col:not(.emblem__col--right) .emblem__item { text-align: right; }
.emblem__item h3 { font-size: 1.15rem; font-weight: 400; margin-bottom: 0.4rem; color: var(--gold-light); }
.emblem__item p { color: var(--text-muted); font-size: 0.95rem; }
.emblem__core { position: relative; display: grid; place-items: center; width: 190px; height: 190px; }
.emblem__ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(201, 162, 75, 0.25); }
.emblem__ring + .emblem__ring { inset: 20%; border-style: dashed; border-color: rgba(214, 214, 214, 0.18); animation: spin 70s linear infinite; }
.emblem__core img { position: relative; width: 52px; filter: drop-shadow(0 0 24px rgba(201, 162, 75, 0.5)); }
.emblem__core::before { content: ""; position: absolute; inset: 32%; border-radius: 50%; background: radial-gradient(circle, rgba(201, 162, 75, 0.3), transparent 70%); }

.sy-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(2.5rem, 2rem + 2vw, 3.5rem);
  padding: 1.1rem 1.4rem;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.sy-related ul[role="list"] { display: flex; flex-wrap: wrap; gap: 0.25rem 1.75rem; }

/* ---------- CTA final ---------- */
.sy-final { padding-top: calc(var(--section-y) * 0.85); }
.sy-final__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; }

/* ==================================================================
   RESPONSIVO
   ================================================================== */
@media (max-width: 1100px) {
  .cases__list[role="list"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cases__list li:nth-child(4) { border-left: 0; }
  .cases__list li:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .pipeline[role="list"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }
  .pipeline__item:nth-child(n) { border: 1px solid var(--line-strong); border-radius: 14px; padding-left: 1.6rem; }
  .pipeline__item::after { display: none; }
  .tech-table { grid-template-columns: minmax(0, 1fr); }
  .tech-table__row:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); }
  .tech-table__row:first-child { border-top: 0; }
}

@media (max-width: 960px) {
  .sy-hero__grid,
  .sy-solution__grid,
  .sy-arch__grid { grid-template-columns: minmax(0, 1fr); }
  .platform { max-width: 600px; width: 100%; justify-self: center; }
  .stack-arch { order: 2; }
  .showcase.is-enhanced { grid-template-columns: minmax(0, 1fr); }
  .showcase__tabs { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); scrollbar-width: thin; }
  .showcase__tab { flex-shrink: 0; }
  .emblem { grid-template-columns: minmax(0, 1fr); }
  .emblem__core { order: -1; justify-self: center; width: 150px; height: 150px; }
  .emblem__col:not(.emblem__col--right) .emblem__item { text-align: left; }
  .phase { grid-template-columns: minmax(0, 1fr); gap: 0.8rem; }
}

@media (max-width: 760px) {
  .hub__pair { grid-template-columns: minmax(0, 1fr); }
  .cases__list[role="list"] { grid-template-columns: minmax(0, 1fr); }
  .cases__list li:nth-child(n) { border-left: 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); }
  .cases__list li:first-child { border-top: 0; }
  .cases__list li::before { margin: 0.15rem 0 0; }

  /* Raias viram lista vertical com etiqueta do responsável */
  .lanes { grid-template-columns: minmax(0, 1fr); }
  .lanes__labels[role="list"], .lanes__path { display: none; }
  .lanes__grid { background: none; padding: 1.25rem; }
  .lanes__steps[role="list"] { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; gap: 1.1rem; }
  .lane-step:nth-child(n) { grid-column: auto; grid-row: auto; width: 100%; }
  .lane-step:not(:last-child)::after { content: ""; position: absolute; left: 1.4rem; top: 100%; width: 1px; height: 1.1rem; background: var(--gold-edge); }
  .lane-step { position: relative; }
  .lane-step__tag { display: inline-block; align-self: flex-start; padding: 0.1rem 0.5rem; border-radius: 999px; background: rgba(201, 162, 75, 0.14); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-light); }

  .tree__branches { display: none; }
  .tree__leaves { grid-template-columns: minmax(0, 1fr); margin-top: 1.25rem; }
  .transform { grid-template-columns: minmax(0, 1fr); }
  .transform__arrow { justify-self: center; transform: rotate(90deg); }
}

@media (max-width: 560px) {
  .sy-hero .btn-group .btn,
  .sy-final__actions .btn { width: 100%; }
  .app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app__side { display: none; }
  .board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .board__col:last-child { display: none; }
  .nodes { right: 0; left: 0; justify-content: center; flex-wrap: wrap; }
  .hub__field { height: 230px; }
  .chip { font-size: 0.62rem; padding: 0.3rem 0.55rem; }
  .pipeline[role="list"] { grid-template-columns: minmax(0, 1fr); }
  .panel__ui { min-height: 0; }
  .ui-admin { grid-template-columns: minmax(0, 1fr); }
  .ui-admin__side { display: none; }
  .ui-crm { grid-template-columns: minmax(0, 1fr); }
  .ui-int { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .ui-int__bus { width: 100%; }
  .stack-arch__body { grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 0.5rem; }
  .layer { padding: 0.85rem 0.9rem; font-size: 0.95rem; }
  .tech-table__row { grid-template-columns: minmax(0, 1fr); gap: 0.35rem; }
  .sy-band { padding: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .lanes__path path, .board__card--active { animation: none; }
}
