/* =========================================================
   Home · demonstração, vídeo, bentô de projetos, Deploy e bentô de casos
   ========================================================= */

/* ---------- Demonstração guiada pelo scroll ----------
   A seção é alta (uma "altura de etapa" por etapa) e o conteúdo fica preso
   na tela (.story__pin). O texto troca no mesmo lugar; os elementos do palco
   (data-el) são posicionados por story.js a cada rolagem, sem moldura. */
.story { --step-h: 85vh; --step-h: 85svh; position: relative; height: calc(var(--step-h) * 8 + 100svh); background: #fff; }
.story__anchor { position: absolute; left: 0; top: calc(var(--step-h) * var(--at, 0)); width: 1px; height: 1px; }
.story__pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.story__stage { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.story__glow { position: absolute; inset: 0; overflow: hidden; }
.story__glow::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(70% 60% at 72% 50%, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .55) 70%, #fff 100%);
}
.story__glow .blob { opacity: .9; }
.story__copy { position: relative; z-index: 1; display: grid; align-items: center; height: 100%; pointer-events: none; }
/* Todas as etapas ocupam a mesma célula; story.js mostra uma por vez */
.step {
  grid-area: 1 / 1;
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: 470px;
  padding-top: var(--header-h);
  pointer-events: auto;
}
.js .step:not(:first-child) { opacity: 0; visibility: hidden; }
.step--open { max-width: 560px; }
.step__eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 600; color: var(--muted); }
.step__title { font-size: clamp(30px, 3.4vw, 46px); font-weight: 600; line-height: 1.08; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.step__title--h1 { font-size: clamp(36px, 4.4vw, 60px); line-height: 1.03; letter-spacing: -.035em; }
.step--quote .step__title { font-size: clamp(26px, 2.8vw, 38px); font-weight: 500; }
.step__text { max-width: 440px; margin-top: 18px; font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.55; color: var(--muted); }
.step__text b { color: var(--ink); }
.step .btn-row { margin-top: 28px; }
.step__hint { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; font-size: 13px; color: var(--muted); }
.step__hint a { text-decoration: underline; text-underline-offset: 3px; }
.step__hint a:hover { color: var(--ink); }
.mouse { position: relative; width: 20px; height: 30px; border: 2px solid var(--line-strong); border-radius: 12px; }
.mouse::after {
  content: ""; position: absolute; left: 50%; top: 6px;
  width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: var(--ink);
  animation: wheel 1.6s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 0; transform: translateY(-2px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(8px); } }
.step__skip { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 20px; font-size: 14px; }
.step__skip s { color: var(--subtle); text-decoration-color: var(--ink); text-decoration-thickness: 2px; }
.step__skip b { padding: 3px 12px; border-radius: var(--pill); background: var(--dark); color: #fff; }

/* Elementos do palco: posição e escala vêm do story.js */
[data-el] { position: absolute; left: 0; top: 0; will-change: transform, opacity; opacity: 0; }
html:not(.js) .story { height: auto; }
html:not(.js) .story__pin { position: static; height: auto; }
html:not(.js) .story__stage { display: none; }
html:not(.js) .story__copy { display: block; }
html:not(.js) .step { padding-block: 64px; }

.sv-lines { width: 100%; height: 100%; }
.sv-lines line { stroke: var(--line-strong); stroke-width: 1.5; stroke-dasharray: 4 6; vector-effect: non-scaling-stroke; animation: dashflow 1.4s linear infinite; }
@keyframes dashflow { to { stroke-dashoffset: -20; } }

/* Dados (logos com legenda). Só posição e escala se movem, conforme BRANDS.md */
.dt__inner {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 7px; border-radius: 12px;
  background: #fff; white-space: nowrap;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 10px 24px -10px rgba(0, 0, 0, .18);
  transition: padding .45s var(--ease), gap .45s var(--ease);
  animation: bob 7s ease-in-out infinite;
}
.dt:nth-of-type(2n) .dt__inner { animation-delay: -2.4s; }
.dt:nth-of-type(3n) .dt__inner { animation-delay: -4.1s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.dt__text { display: block; max-width: 180px; overflow: hidden; transition: max-width .45s var(--ease), opacity .3s; }
.dt__text b { display: block; font-size: 13px; line-height: 1.3; color: var(--ink); }
.dt__text small { display: block; max-height: 20px; font-size: 11.5px; line-height: 1.3; color: var(--muted); overflow: hidden; transition: max-height .4s, opacity .3s; }
.story.is-compact .dt__text small { max-height: 0; opacity: 0; }
.story.is-icon .dt__inner { gap: 0; padding: 7px; }
.story.is-icon .dt__text { max-width: 0; opacity: 0; }

.sv-hub {
  width: 250px; padding: 20px;
  display: grid; justify-items: center; gap: 10px; text-align: center;
  border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 24px 48px -16px rgba(0, 0, 0, .22);
}
.sv-hub__logo svg { height: 26px; width: auto; color: var(--ink); }
.sv-hub p { font-size: 14px; font-weight: 600; color: var(--ink); }
.sv-hub ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.sv-hub li { padding: 3px 9px; border-radius: var(--pill); background: var(--surface-2); color: var(--text); font-size: 11.5px; font-weight: 600; }

.sv-q {
  max-width: min(420px, 34vw);
  padding: 10px 16px; border-radius: 16px 16px 4px 16px;
  background: var(--dark); color: #fff; font-size: 15px; line-height: 1.4;
  box-shadow: 0 16px 32px -16px rgba(0, 0, 0, .4);
}
.sv-a {
  width: min(460px, 36vw);
  display: grid; gap: 10px; padding: 16px;
  border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 24px 48px -20px rgba(0, 0, 0, .25);
  font-size: 13.5px; line-height: 1.5; color: var(--ink);
}
.qa__list { display: grid; }
.qa__list li { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 7px 0; border-top: 1px solid var(--line); font-size: 13px; }
.qa__list .avatar { width: 26px; height: 26px; font-size: 10.5px; }
.qa__list small { display: block; font-size: 11.5px; color: var(--muted); }
.qa__list b { font-variant-numeric: tabular-nums; }
.qa__src { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--subtle); }
.qa__src .icon { width: 12px; height: 12px; }
.sv-a .hbars { margin-top: 0; }
.sv-a .hbar i b { background: var(--ink); }
.sv-a .hbar.is-down i b { background: var(--warning); }
.qa__chart { display: block; width: 100%; height: 90px; }
.qa__zero { stroke: var(--danger); stroke-width: 1; stroke-dasharray: 3 4; vector-effect: non-scaling-stroke; }
.qa__area { fill: rgba(0, 0, 0, .06); }
.qa__line { fill: none; stroke: var(--ink); stroke-width: 2; vector-effect: non-scaling-stroke; }

.sv-input {
  width: min(460px, 36vw);
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: var(--pill);
  background: #fff; box-shadow: 0 0 0 1px var(--line-strong), 0 16px 32px -18px rgba(0, 0, 0, .25);
  font-size: 14px; color: var(--subtle);
}
.sv-input__logo svg { height: 15px; width: auto; color: var(--ink); }
.sv-input__text { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-input__send { display: grid; place-items: center; flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--dark); color: #fff; }
.sv-input__send .icon { width: 14px; height: 14px; }

.sv-agent {
  width: min(285px, 20.5vw);
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px; border-radius: 16px; background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 16px 32px -18px rgba(0, 0, 0, .25);
}
.sv-agent__head { display: flex; align-items: center; gap: 9px; font-size: 14px; color: var(--ink); }
.sv-agent__icon { display: grid; place-items: center; flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--ink); }
.sv-agent__icon .icon { width: 16px; height: 16px; }
.sv-live { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; font-size: 11.5px; font-weight: 600; color: var(--success); white-space: nowrap; }
.sv-agent > p { font-size: 13px; line-height: 1.45; color: var(--muted); }
.sv-agent__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--ink); }
.sv-agent__foot .logo-row { gap: 4px; }
.sv-mode {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 8px 8px 16px; border-radius: var(--pill);
  background: var(--dark); color: #fff; font-size: 13px; font-weight: 500; white-space: nowrap;
}
.mode { display: flex; gap: 3px; padding: 3px; border-radius: var(--pill); background: rgba(255, 255, 255, .12); }
.mode i { padding: 5px 11px; border-radius: var(--pill); font-size: 12px; font-style: normal; color: rgba(255, 255, 255, .7); }
.mode i.on { background: #fff; color: var(--dark); font-weight: 600; }

/* Ferramentas com a cara do cliente (cor de marca fictícia) */
.sv-dash, .sv-app { --brand: #0F766E; --brand-tint: #E6F4F1; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 24px 48px -20px rgba(0, 0, 0, .25); }
.sv-dash { width: min(460px, 33vw); display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; }
.sv-app { width: min(220px, 15vw); display: flex; flex-direction: column; gap: 10px; padding: 14px; border: 6px solid #15151A; border-radius: 24px; }
.sv-dash__head, .sv-app__head { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink); }
.sv-app__head { padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.sv-dash__period { margin-left: auto; padding: 3px 10px; border-radius: var(--pill); background: var(--surface-2); font-size: 12px; color: var(--muted); }
.sv-brand { display: grid; place-items: center; flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 700; }
.sv-kpis { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.sv-kpis div { padding: 10px 12px; border-radius: 12px; background: var(--brand-tint); }
.sv-kpis span { display: block; font-size: 11.5px; color: var(--muted); }
.sv-kpis b { display: block; margin-top: 2px; font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.sv-kpis em { font-size: 11.5px; font-style: normal; font-weight: 600; color: var(--brand); }
.sv-chart { display: flex; align-items: flex-end; gap: 6px; height: 90px; }
.sv-chart span { flex: 1; height: var(--h); border-radius: 4px 4px 2px 2px; background: rgba(15, 118, 110, .25); }
.sv-chart span.is-hi { background: var(--brand); }
.sv-app label { display: grid; gap: 3px; font-size: 11.5px; color: var(--muted); }
.sv-app label i { padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 8px; font-size: 13px; font-style: normal; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sv-app__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.sv-app__total b { font-size: 16px; color: var(--ink); }
.sv-app__btn { display: block; padding: 10px; border-radius: 10px; background: var(--brand); color: #fff; text-align: center; font-size: 13px; font-weight: 600; }

/* As 4 camadas, com Waipe e Deploy. --sp (0 a 1) vem do story.js */
.sv-stack { --sp: 0; width: min(560px, 40vw); display: grid; gap: 10px; padding: 0 56px; }
.band {
  display: flex; align-items: center; gap: 16px; min-height: 68px; padding: 10px 18px;
  border-radius: 12px; background: var(--c); color: var(--c-ink);
  opacity: clamp(0, calc(var(--sp) * 4 - var(--i)), 1);
  transform: translateY(calc((1 - clamp(0, calc(var(--sp) * 4 - var(--i)), 1)) * 18px));
}
.band--4 { --c: var(--layer-4); --c-ink: var(--ink); }
.band--3 { --c: var(--layer-3); --c-ink: #fff; }
.band--2 { --c: var(--layer-2); --c-ink: #fff; }
.band--1 { --c: var(--layer-1); --c-ink: #fff; }
.band > b { width: 80px; flex-shrink: 0; font-size: 15px; }
.band__chips { display: flex; flex-wrap: wrap; gap: 5px; }
.band__chips span {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px; border-radius: 7px;
  background: #fff; color: var(--ink); font-size: 11.5px; font-weight: 600;
}
.band__chips img { width: 15px; height: 15px; object-fit: contain; }
.band__chips .icon { width: 13px; height: 13px; color: var(--muted); }
.band--2 .band__chips span, .band--3 .band__chips span:not(:has(img)) { background: rgba(255, 255, 255, .14); color: #fff; }
.band--4 .band__chips span:not(:has(img)) { background: rgba(255, 255, 255, .7); }
.sv-stack__waipe, .sv-stack__deploy {
  position: absolute; top: 0; width: 34px;
  display: flex; align-items: center; justify-content: center;
  writing-mode: vertical-rl;
  font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  opacity: clamp(0, calc(var(--sp) * 2 - 1), 1);
}
.sv-stack__waipe { left: 0; height: calc(75% - 7px); border: 2px solid var(--ink); border-right: 0; border-radius: 10px 0 0 10px; color: var(--ink); }
.sv-stack__deploy { right: 0; bottom: 0; border: 2px solid var(--lb-blue); border-left: 0; border-radius: 0 10px 10px 0; color: var(--lb-deep); }

/* Trilho das camadas */
.story__rail {
  position: absolute; left: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))); bottom: 28px;
  display: flex; flex-wrap: wrap; gap: 6px;
  pointer-events: auto;
}
.story__rail button {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px; border: 1px solid var(--line); border-radius: var(--pill);
  background: rgba(255, 255, 255, .85); color: var(--subtle);
  font-size: 12.5px; font-weight: 600;
  transition: background-color .25s, color .25s, border-color .25s;
}
.story__rail i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.story__rail li.is-done button { color: var(--muted); }
.story__rail li.is-active button { background: var(--dark); border-color: var(--dark); color: #fff; }
.story__rail button:hover { color: var(--ink); }

/* ---------- O conceito em vídeo ---------- */
.section--video .section-head { margin-bottom: clamp(32px, 4vw, 48px); }

/* ---------- Bentô de projetos ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bento__item {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; min-height: 440px;
  border: 1px solid var(--line); border-radius: var(--radius-xl);
  background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.bento__item:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bento__item--wide { grid-column: span 2; }
.bento__item--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.bento__item--feature { background: linear-gradient(160deg, #fff 0%, var(--surface) 55%, var(--surface-2) 100%); }
.bento__content { display: flex; flex-direction: column; padding: 30px 30px 0; }
.bento__item--split .bento__content { padding-bottom: 30px; }
.bento__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.bento__dor { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--muted); }
.bento__dl { display: grid; gap: 12px; margin-top: 20px; font-size: 14px; }
.bento__dl dt { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--subtle); }
.bento__dl dd { margin-top: 2px; color: var(--ink); }
.bento__content .btn { margin-top: 24px; align-self: flex-start; }
.bento__content .btn--link { margin-top: 20px; }
.bento__visual { position: relative; margin-top: auto; height: 230px; padding: 28px 30px 0; overflow: hidden; }
.bento__item--split .bento__visual { height: auto; margin-top: 0; padding: 30px 30px 0 0; display: flex; align-items: flex-end; justify-content: center; }
.bento__visual > .chat,
.bento__visual > .ui-window { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
/* "Rodando em": clientes onde o projeto já roda (site.js preenche) */
.bento__cases { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 18px; font-size: 13px; }
.bento__cases > span { margin-right: 2px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--subtle); }
.bento__cases a { position: relative; z-index: 1; padding: 3px 10px; border: 1px solid var(--line-strong); border-radius: var(--pill); background: #fff; font-weight: 600; color: var(--ink); }
.bento__cases a:hover { border-color: var(--ink); }

/* ---------- Bentô dos casos de sucesso ---------- */
.cbento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cb {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius-xl); background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.cb:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.cb--wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cb__content { display: flex; flex-direction: column; padding: 30px; }
.cb__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cb__seg { font-size: 13px; color: var(--muted); }
.cb__client { margin-top: 14px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
.cb__desc { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.cb__hl { display: grid; justify-items: start; gap: 6px; margin-top: 22px; padding: 18px 20px; border-radius: var(--radius-lg); background: var(--dark); color: #fff; }
.cb__hl-num { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.cb__hl-num b { font-size: clamp(30px, 3.4vw, 42px); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.cb__hl-num span { font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .78); }
.cb__reais { font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .72); }
.cb__reais strong { font-size: 18px; font-weight: 600; color: #fff; }
.cb__hl .metric-tag { margin-top: 4px; }
.cb__hl .metric-tag--estimado, .cb__hl .metric-tag--relato { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: rgba(255, 255, 255, .85); }
.cb__more { display: grid; margin-top: 14px; }
.cb__more li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.cb__more b { font-size: 16px; color: var(--ink); white-space: nowrap; }
.cb__more .metric-tag { grid-column: 2; justify-self: start; }
.cb__link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 600; color: var(--ink); }
.cb__link .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.cb:hover .cb__link .icon { transform: translateX(3px); }
.cb__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cb__visual { position: relative; display: flex; align-items: flex-end; justify-content: center; padding: 0 30px; min-height: 210px; background: var(--surface); }
/* Cartão largo: a tela fica inteira, centralizada na metade direita. Cartão estreito: a tela sai da borda de baixo */
.cb--wide .cb__visual { align-items: center; padding: 30px; }
.cb__visual > * { width: 100%; }
.cb:not(.cb--wide) .cb__visual > * { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }

/* Telas pequenas dos cartões (ilustrativas) */
.mini-quote { display: grid; padding: 16px 18px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); font-size: 13px; }
.mini-quote__head { display: flex; justify-content: space-between; padding-bottom: 10px; color: var(--muted); }
.mini-quote__head b { color: var(--ink); }
.mini-quote__row { display: flex; justify-content: space-between; align-items: baseline; padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); }
.mini-quote__row b { font-size: 18px; color: var(--ink); font-variant-numeric: tabular-nums; }
.mini-quote__alert { display: flex; align-items: center; gap: 6px; margin-top: 6px; padding: 8px 10px; border-radius: var(--radius-sm); background: var(--warning-bg); color: var(--warning); font-size: 12.5px; }
.mini-quote__alert .icon { width: 14px; height: 14px; }
.mini-time { display: grid; gap: 10px; padding: 18px; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.mini-time__title { font-size: 13px; font-weight: 600; color: var(--ink); }
.mini-time__row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 54px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.mini-time__row i { display: block; height: 10px; border-radius: 5px; background: var(--surface-2); }
.mini-time__row i b { display: block; width: var(--w); min-width: 8px; height: 100%; border-radius: 5px; background: var(--line-strong); }
.mini-time__row.is-now i b { background: var(--ink); }
.mini-time__row strong { text-align: right; font-size: 15px; color: var(--ink); }
.mini-time__src { font-size: 11.5px; color: var(--subtle); }
.mini-tv { display: grid; gap: 10px; padding: 16px 18px; border: 6px solid #222; border-radius: var(--radius-lg); background: #111113; color: #fff; }
.cb:not(.cb--wide) .mini-tv { border-bottom: 0; }
.mini-tv__head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.mini-tv__head span { color: rgba(255, 255, 255, .55); }
.mini-tv__kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.mini-tv__kpis div { padding: 8px 10px; border-radius: 9px; background: rgba(255, 255, 255, .07); }
.mini-tv__kpis span { display: block; font-size: 11px; color: rgba(255, 255, 255, .6); }
.mini-tv__kpis b { font-size: 20px; }
.mini-tv__bar { display: grid; grid-template-columns: 80px minmax(0, 1fr); align-items: center; gap: 10px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.mini-tv__bar i { display: block; height: 8px; border-radius: 4px; background: rgba(255, 255, 255, .1); }
.mini-tv__bar i b { display: block; width: var(--w); height: 100%; border-radius: 4px; background: #fff; }

/* ---------- Deploy (tema azul) ---------- */
.video--dark { margin-bottom: clamp(56px, 8vw, 96px); box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 80px -20px rgba(0, 0, 0, .6); }
.video--dark .video__play { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .26); }
.video--dark .video__play:hover { background: rgba(255, 255, 255, .2); }

/* Como o time trabalha: 6 etapas lado a lado. A linha preenche uma vez ao aparecer */
.process__head { margin-bottom: 36px; }
.process__head .eyebrow { margin-bottom: 10px; }
.process__title { font-size: clamp(22px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; color: #fff; }
.process__steps { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 28px; }
.process__steps::before, .process__steps::after {
  content: ""; position: absolute; left: 22px; right: calc((100% - 5 * 28px) / 6 - 22px); top: 21px; height: 2px;
}
.process__steps::before { background: rgba(255, 255, 255, .14); }
.process__steps::after { background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .2s; }
.process.is-visible .process__steps::after { transform: scaleX(1); }
.process__steps li { position: relative; }
.process__n {
  position: relative; z-index: 1;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); border: 2px solid rgba(255, 255, 255, .25);
  font-size: 15px; font-weight: 700; color: rgba(255, 255, 255, .55);
  transition: background-color .3s, border-color .3s, color .3s;
  transition-delay: calc(.2s + var(--i) * .3s);
}
.process.is-visible .process__n { background: var(--accent); border-color: var(--accent); color: #fff; }
.process__steps h4 { margin-top: 18px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; color: #fff; }
.process__steps p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: rgba(255, 255, 255, .72); }
.process__again { display: inline-flex; align-items: center; gap: 8px; margin-top: 36px; font-size: 14px; font-weight: 600; color: var(--accent-soft); }
.process__again .icon { width: 16px; height: 16px; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) and (min-width: 961px) {
  .process__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .process__steps::before, .process__steps::after { display: none; }
}

@media (max-width: 960px) {
  .bento, .cbento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento__item--wide, .cb--wide { grid-column: span 2; }
  .story__copy { align-items: start; }
  .step { max-width: none; padding-top: calc(var(--header-h) + 18px); }
  .step__title { font-size: clamp(25px, 6.2vw, 34px); }
  .step__title--h1 { font-size: clamp(28px, 7.4vw, 40px); }
  .step--quote .step__title { font-size: clamp(22px, 5.6vw, 30px); }
  .step__text { margin-top: 10px; font-size: 15px; }
  .step .hero__kicker { margin-bottom: 14px; }
  .step__hint { margin-top: 16px; }
  .story__rail { left: var(--gutter); right: var(--gutter); bottom: 14px; }
  .story__rail button { padding: 4px 9px; font-size: 11px; }
  .dt__text small { display: none; }
  .dt__text b { font-size: 11.5px; }
  .story.is-icon .dt__inner, .story:not(.is-compact) .dt__inner { gap: 0; padding: 6px; }
  .story:not(.is-compact) .dt__text { max-width: 0; opacity: 0; }
  .story.is-compact:not(.is-icon) .dt__inner { flex-direction: column; gap: 4px; width: 92px; padding: 8px 6px; white-space: normal; text-align: center; }
  .story.is-compact:not(.is-icon) .dt__text { max-width: 92px; }
  .sv-hub { width: 200px; padding: 14px; }
  .sv-hub li:nth-child(n+5) { display: none; }
  .sv-q { max-width: 78vw; font-size: 13.5px; }
  .sv-a { width: 90vw; padding: 12px; font-size: 12.5px; }
  .qa__list li:nth-child(3) { display: none; }
  .sv-input { width: 90vw; }
  .sv-agent { width: 43vw; padding: 10px 12px; gap: 4px; }
  .sv-agent > p, .sv-agent__foot .logo-row, .sv-live { display: none; }
  .sv-agent__head { font-size: 12.5px; }
  .sv-mode { font-size: 11px; padding: 6px 6px 6px 12px; }
  .sv-mode > span:first-child { display: none; }
  .sv-dash { width: 90vw; padding: 14px; }
  .sv-stack { width: 92vw; padding: 0 40px; gap: 6px; }
  .band { min-height: 52px; gap: 8px; padding: 8px 10px; }
  .band > b { width: 62px; font-size: 12.5px; }
  .band__chips span:nth-child(n+3) { display: none; }
  .sv-stack__waipe, .sv-stack__deploy { width: 26px; font-size: 10px; }

  .process__steps { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .process__steps::before, .process__steps::after { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; }
  .process__steps::after { transform: scaleY(0); transform-origin: top; }
  .process.is-visible .process__steps::after { transform: scaleY(1); }
  .process__steps li { padding-left: 64px; min-height: 44px; }
  .process__n { position: absolute; left: 0; top: 0; }
  .process__steps h4 { margin-top: 10px; }
}

@media (max-width: 640px) {
  .bento, .cbento { grid-template-columns: minmax(0, 1fr); }
  .bento__item--wide, .cb--wide { grid-column: auto; }
  .bento__item--split, .cb--wide { grid-template-columns: minmax(0, 1fr); }
  .bento__item--split .bento__visual { padding: 0 24px; height: 260px; align-items: flex-start; }
  .bento__content { padding: 24px 24px 0; }
  .bento__visual { padding: 24px 24px 0; }
  .cb__content { padding: 24px 24px 8px; }
  .cb__visual, .cb--wide .cb__visual { align-items: flex-end; padding: 20px 20px 0; min-height: 0; }
  .cb--wide .cb__visual > * { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
  .cb--wide .mini-tv { border-bottom: 0; }
}
