/**
 * Ajustes finais da página Sismovs.
 *
 * Responsabilidades:
 * - sismovs.css: componentes e estrutura base da página.
 * - sismovs-overrides.css: decisões visuais atuais e mídias reais.
 * - styles.css: navbar compartilhada com a página inicial.
 */

/* Leitura mais confortável em toda a página. */
html { font-size: 17px; }

/* Feedback de navegação */
.page-progress span { background: var(--color-primary, #0f8b8d); }

/* Pedido de venda: demonstração em vídeo */
.sales-experience { display: block !important; overflow: hidden; }
.sales-experience .sale-step-list,
.sales-experience .order-window,
.sales-experience .sales-tags { display: none; }
.sales-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #102e35;
}
.sales-experience .screenshot-action { margin: 16px 20px 20px; }
.order-demo-modal {
  position: fixed;
  z-index: 1100;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  background: rgba(4,20,25,.78);
  backdrop-filter: blur(10px);
  transition: opacity .25s ease, visibility .25s ease;
}
.order-demo-modal.open { visibility: visible; opacity: 1; }
.order-demo-panel {
  position: relative;
  width: min(1040px, 100%);
  overflow: hidden;
  border: 1px solid rgba(142,225,217,.28);
  border-radius: 14px;
  background: #071b22;
  box-shadow: 0 30px 90px rgba(0,0,0,.42);
}
.order-demo-heading { padding: 22px 58px 18px 24px; color: #fff; }
.order-demo-heading small { color: var(--mint); font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; }
.order-demo-heading h2 { margin: 7px 0 5px; font-size: clamp(1.4rem, 3vw, 2.25rem); letter-spacing: -.05em; }
.order-demo-heading p { max-width: 620px; margin: 0; color: rgba(255,255,255,.68); font-size: .78rem; line-height: 1.6; }
.order-demo-video { display: block; width: 100%; max-height: 68vh; object-fit: contain; background: #0b2e35; }
.order-demo-close { position: absolute; z-index: 1; top: 15px; right: 17px; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; color: #fff; background: rgba(255,255,255,.08); font-size: 1.3rem; line-height: 1; }
@media (max-width: 640px) { .order-demo-modal { padding: 12px; } .order-demo-heading { padding: 18px 52px 14px 18px; } }

/* Elementos gráficos do financeiro */
.chart-line { position: absolute; left: 2%; width: 96%; border-radius: 999px; pointer-events: none; }
.chart-income {
  top: 17px;
  height: 106px;
  background: #14a7a2;
  clip-path: polygon(0 85%,10% 59%,20% 67%,30% 33%,40% 56%,50% 8%,60% 34%,70% 0,80% 26%,90% 3%,100% 0,100% 14%,90% 17%,80% 43%,70% 17%,60% 52%,50% 26%,40% 75%,30% 48%,20% 82%,10% 74%,0 100%);
}
.chart-expense {
  top: 52px;
  height: 78px;
  background: #ef705e;
  clip-path: polygon(0 86%,10% 62%,20% 72%,30% 45%,40% 58%,50% 27%,60% 44%,70% 18%,80% 35%,90% 4%,100% 0,100% 13%,90% 20%,80% 52%,70% 35%,60% 61%,50% 43%,40% 75%,30% 61%,20% 87%,10% 78%,0 100%);
  opacity: .86;
}

/* Navbar compartilhada com o index */
.header .btn-pill-white {
  padding: .65rem 1.4rem;
  border-radius: 9999px;
  font-size: .825rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.header .btn-pill-white span { font-size: 1rem; line-height: 1; }

/* Hero */
.hero-product { color: var(--mint); font-weight: 800; }
.hero {
  min-height: auto;
  isolation: isolate;
  background: #071b22;
}
.hero-showroom {
  position: absolute;
  z-index: 0;
  inset: 0;
  background-color: #071b22;
  background-image:
    linear-gradient(90deg, rgba(7,27,34,.9) 0%, rgba(7,27,34,.8) 30%, rgba(7,27,34,.46) 56%, rgba(7,27,34,.5) 100%),
    linear-gradient(0deg, rgba(7,27,34,.3), transparent 52%),
    url('../../assets/sismovs/sismovs-showroom-workstation.png');
  background-position: center, center, right center;
  background-size: auto, auto, 88% auto;
  background-repeat: no-repeat;
}
.hero-grid-lines { z-index: 1; opacity: .18; }
.hero-layout { position: relative; z-index: 2; display: block; margin-top: -8px; }
.hero-copy { max-width: 830px; margin: 0 0 18px; text-align: left; }
.hero-copy { margin-top: 82px; }
.hero-copy .eyebrow,
.hero-copy .hero-actions { justify-content: flex-start; }
.hero h1 { max-width: 800px; margin-right: 0; margin-left: 0; }
.hero-text { max-width: 660px; margin-right: 0; margin-left: 0; }
.hero-context-line { width: fit-content; max-width: 100%; margin: 0 0 22px; white-space: nowrap; }
.hero-copy .eyebrow { display: flex; margin: 0; }
.hero-profiles {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 8px 18px;
  margin-top: 10px;
}
.hero-profiles b { position: relative; padding-left: 16px; font-weight: 600; }
.hero-profiles b::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 6px;
  height: 6px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--coral);
}

/* Produto */
.product-copy h2 span { white-space: nowrap; }

/* Dispositivos com capturas reais do sistema */
.device-screen,
.phone-screen,
.tablet-screen { padding: 0; overflow: hidden; }
.mobility-screen-image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }

/* Ecossistema */
.ecosystem-map { width: min(1120px, 100%); height: auto; margin: 42px auto 24px; }
.flow-intro-card {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 20px 24px;
  border: 1px solid rgba(142,225,217,.22);
  border-radius: 14px 14px 3px 3px;
  background: linear-gradient(105deg, rgba(142,225,217,.11), rgba(16,61,68,.5) 52%, rgba(255,255,255,.035));
}
.map-core {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  place-items: center;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border: 1px solid var(--mint);
  border-radius: 50%;
  background: radial-gradient(circle, #1b5155, #0a2930 68%);
  box-shadow: 0 0 0 10px rgba(142,225,217,.04), 0 0 42px rgba(21,162,157,.2);
  transform: none;
}
.map-core-logo { display: block; width: 76px; max-width: 76%; height: auto; }
.flow-kicker,.flow-track-heading span,.flow-layers p span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mint);
  font-family: var(--mono);
  font-size: .55rem;
  letter-spacing: .11em;
}
.flow-kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 5px rgba(239,112,94,.11); }
.flow-intro-card h3 { max-width: 540px; margin: 7px 0 6px; color: #fff; font-size: clamp(1.15rem, 2vw, 1.7rem); letter-spacing: -.045em; line-height: 1.1; }
.flow-intro-card h3 b { color: var(--mint); font-family: Georgia, serif; font-weight: 400; }
.flow-intro-card p { max-width: 600px; margin: 0; color: rgba(255,255,255,.64); font-size: .7rem; line-height: 1.65; }
.flow-order-pulse { display: grid; gap: 3px; min-width: 174px; padding: 13px 15px; border-left: 1px solid rgba(142,225,217,.23); }
.flow-order-pulse small { color: rgba(255,255,255,.53); font-family: var(--mono); font-size: .45rem; letter-spacing: .08em; }
.flow-order-pulse strong { color: #fff; font-family: var(--mono); font-size: 1.1rem; }
.flow-order-pulse span { color: var(--mint); font-size: .54rem; }
.flow-track-heading { display: flex; justify-content: space-between; align-items: center; margin: 25px 4px 10px; }
.flow-track-heading small { color: rgba(255,255,255,.45); font-family: var(--mono); font-size: .53rem; }
.ecosystem-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ecosystem-flow::before {
  content: '';
  position: absolute;
  z-index: 0;
  top: 35px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: linear-gradient(90deg, var(--mint), rgba(142,225,217,.24));
}
.ecosystem-flow li { position: relative; z-index: 1; display: grid; justify-items: center; }
.ecosystem-flow li:not(:last-child)::after {
  content: '→';
  position: absolute;
  top: 26px;
  right: -6px;
  z-index: 2;
  color: var(--coral);
  font-size: .85rem;
}
.map-node {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  z-index: 1;
  display: grid;
  justify-items: center;
  width: 100%;
  min-height: 124px;
  padding: 0 7px 12px;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,.68);
  background: transparent;
  text-align: center;
  transition: color .25s ease, transform .25s ease;
}
.map-node::before { display: none; }
.map-node b {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  color: var(--mint);
  border: 1px solid rgba(142,225,217,.65);
  border-radius: 50%;
  background: #0d333a;
  box-shadow: 0 0 0 7px #071b22;
  font-family: var(--mono);
  font-size: .7rem;
  font-weight: 500;
}
.map-node span { display: grid; gap: 4px; color: inherit; font-size: .67rem; font-weight: 800; line-height: 1.25; }
.map-node span small { color: rgba(142,225,217,.58); font-family: var(--mono); font-size: .43rem; font-weight: 400; letter-spacing: .07em; }
.map-node:hover,.map-node.active { color: #fff; transform: translateY(-5px); }
.map-node:hover b,.map-node.active b { color: #fff; border-color: var(--coral); background: var(--coral); box-shadow: 0 0 0 7px #071b22, 0 0 28px rgba(239,112,94,.34); }
.flow-layers {
  display: grid;
  grid-template-columns: minmax(230px, 1fr) minmax(0, .8fr) minmax(0, .8fr);
  gap: 1px;
  align-items: stretch;
  margin-top: 13px;
  border: 1px solid rgba(142,225,217,.2);
  background: rgba(142,225,217,.18);
}
.flow-layers p { margin: 0; padding: 18px 21px; color: rgba(255,255,255,.58); background: #0b2c33; font-size: .64rem; line-height: 1.55; }
.flow-layers p span { margin-bottom: 7px; font-size: .49rem; }
.flow-layers .map-node { display: flex; justify-content: flex-start; align-items: center; min-height: 0; gap: 12px; padding: 13px 18px; background: #0b2c33; text-align: left; }
.flow-layers .map-node b { flex: 0 0 auto; width: 36px; height: 36px; margin: 0; box-shadow: none; font-size: .6rem; }
.flow-layers .map-node span { font-size: .64rem; }
.flow-layers .map-node:hover,.flow-layers .map-node.active { transform: none; background: #123c43; }
.flow-layers .map-node:hover b,.flow-layers .map-node.active b { box-shadow: 0 0 20px rgba(239,112,94,.26); }
.flow-passport {
  grid-template-columns: 1.06fr 1.25fr .9fr 1.15fr;
  gap: 25px;
  align-items: center;
  padding: 22px 25px;
  border-color: rgba(142,225,217,.28);
  background: rgba(255,255,255,.055);
}
.flow-passport-title small { color: var(--coral); }
.flow-passport h3 { font-size: 1.05rem; }
.flow-handoff { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; padding-left: 20px; border-left: 1px solid rgba(142,225,217,.18); }
.flow-handoff div { display: grid; gap: 5px; }
.flow-handoff small { color: rgba(142,225,217,.66); font-family: var(--mono); font-size: .47rem; letter-spacing: .08em; }
.flow-handoff strong { color: #fff; font-size: .58rem; line-height: 1.45; }
.flow-handoff i { color: var(--coral); font-style: normal; }

@media (max-width: 900px) {
  .ecosystem-map { width: 100%; max-width: none; left: auto; transform: none; transform-origin: initial; }
  .ecosystem-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
  .ecosystem-flow::before,.ecosystem-flow li::after { display: none; }
  .flow-passport { grid-template-columns: 1fr 1fr; }
  .flow-handoff { grid-column: 1 / -1; padding: 15px 0 0; border-top: 1px solid rgba(142,225,217,.18); border-left: 0; }
}
@media (max-width: 640px) {
  .ecosystem-map { margin: 28px auto 18px; }
  .flow-intro-card { grid-template-columns: 72px 1fr; gap: 15px; padding: 17px; }
  .map-core { width: 66px; height: 66px; box-shadow: 0 0 0 6px rgba(142,225,217,.04); }
  .map-core-logo { width: 51px; }
  .flow-intro-card h3 { font-size: 1.16rem; }
  .flow-order-pulse { grid-column: 1 / -1; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; min-width: 0; padding: 10px 0 0; border-top: 1px solid rgba(142,225,217,.2); border-left: 0; }
  .ecosystem-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 12px; }
  .map-node { min-height: 100px; padding-bottom: 7px; }
  .map-node b { width: 42px; height: 42px; margin-bottom: 8px; box-shadow: 0 0 0 5px #071b22; }
  .flow-layers { grid-template-columns: 1fr; margin-top: 8px; }
  .flow-layers .map-node { min-height: 0; }
  .flow-passport { grid-template-columns: 1fr; gap: 16px; padding: 19px; }
  .flow-passport ul { grid-template-columns: 1fr; }
  .flow-handoff { grid-template-columns: 1fr; gap: 8px; }
  .flow-handoff i { transform: rotate(90deg); justify-self: start; }
}

@media (min-width: 1001px) {
  .ecosystem.section {
    display: flex;
    align-items: center;
    min-height: 100svh;
    padding: 48px 0;
    background: radial-gradient(circle at 50% 43%, rgba(32,102,100,.23), transparent 38%), #071b22;
  }
  .ecosystem .section-intro h2 { font-size: clamp(2.2rem, 3.5vw, 3.65rem); }
  .ecosystem-map { width: min(980px, 100%); margin: 24px auto 14px; }
  .map-inspector { gap: 24px; padding: 18px 22px; background: rgba(255,255,255,.055); }
  .journey-strip { margin-top: 15px; }
}

@media (max-width: 700px) {
  .hero-layout { margin-top: -4px; }
  .hero-copy { margin-top: 40px; margin-bottom: 8px; }
  .hero h1 { font-size: clamp(2.75rem, 12vw, 4rem); }
  .hero-context-line { width: 100%; white-space: normal; }
  .hero-profiles { flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .product-copy h2 { font-size: clamp(2.2rem, 8.8vw, 2.75rem); letter-spacing: -.07em; }
}

/* Ecossistema: leitura direta e sem elementos concorrentes. */
.ecosystem-map { width: min(1000px, 100%); height: auto; margin: 34px auto 20px; transform: none; }
.flow-caption { display: flex; justify-content: center; align-items: center; gap: 13px; margin-bottom: 24px; text-align: left; }
.map-core {
  position: relative;
  top: auto;
  left: auto;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(142,225,217,.75);
  border-radius: 50%;
  background: #10373e;
  box-shadow: 0 0 0 6px rgba(142,225,217,.045);
  transform: none;
}
.map-core-logo { width: 44px; max-width: 76%; }
.flow-caption small { display: block; margin-bottom: 4px; color: var(--mint); font-family: var(--mono); font-size: .5rem; letter-spacing: .1em; }
.flow-caption strong { display: block; color: rgba(255,255,255,.8); font-size: .72rem; font-weight: 600; }
.ecosystem-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ecosystem-flow::before {
  display: block;
  top: 26px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: rgba(142,225,217,.32);
}
.ecosystem-flow li { position: relative; z-index: 1; display: grid; justify-items: center; }
.ecosystem-flow li:not(:last-child)::after { display: none; }
.map-node {
  position: relative;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
  display: grid;
  justify-items: center;
  width: 100%;
  min-height: 82px;
  padding: 0 5px;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,.64);
  background: transparent;
  text-align: center;
  transform: none;
}
.map-node::before { display: none; }
.map-node b {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 0 10px;
  color: var(--mint);
  border: 1px solid rgba(142,225,217,.58);
  border-radius: 50%;
  background: #0d3037;
  box-shadow: 0 0 0 6px #071b22;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
}
.map-node span { display: block; color: inherit; font-size: .68rem; font-weight: 700; line-height: 1.2; }
.map-node span small { display: none; }
.map-node:hover,.map-node.active { color: #fff; transform: none; }
.map-node:hover b,.map-node.active b { color: #fff; border-color: var(--coral); background: var(--coral); box-shadow: 0 0 0 6px #071b22, 0 0 20px rgba(239,112,94,.24); }
.map-node:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; border-radius: 4px; }
.flow-summary {
  display: grid;
  grid-template-columns: 120px minmax(220px, .9fr) minmax(0, 1.4fr);
  gap: 22px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 18px 22px;
  border-top: 1px solid rgba(142,225,217,.22);
  border-right: 0;
  border-bottom: 1px solid rgba(142,225,217,.22);
  border-left: 0;
  border-radius: 0;
  background: transparent;
}
.flow-summary > small { color: var(--coral); font-family: var(--mono); font-size: .53rem; letter-spacing: .08em; }
.flow-summary h3 { margin: 0; color: #fff; font-size: 1rem; letter-spacing: -.03em; }
.flow-summary p { margin: 0; color: rgba(255,255,255,.62); font-size: .68rem; line-height: 1.6; }

@media (max-width: 760px) {
  .ecosystem-map { width: 100%; max-width: none; margin: 28px auto 18px; }
  .ecosystem-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 18px; }
  .ecosystem-flow::before { display: none; }
  .map-node { min-height: 78px; }
  .flow-summary { grid-template-columns: 105px 1fr; gap: 12px 18px; padding: 16px 0; }
  .flow-summary p { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .flow-caption { margin-bottom: 20px; }
  .map-core { width: 52px; height: 52px; }
  .map-core-logo { width: 39px; }
  .ecosystem-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 16px; }
  .map-node b { width: 48px; height: 48px; }
  .flow-summary { display: block; padding: 16px 0; }
  .flow-summary h3 { margin: 8px 0; }
}

/* Quadros da jornada: inspiração do cartão fornecido, adaptada à paleta Sismic. */
.ecosystem-flow { gap: 16px; }
.ecosystem-flow::before { display: none; }
.ecosystem-flow li { overflow: visible; }
.map-node {
  min-height: 130px;
  padding: 14px 9px 16px;
  overflow: visible;
  border: 1px solid transparent;
  border-radius: 10px;
  background:
    linear-gradient(#0b2e35, #0b2e35) padding-box,
    linear-gradient(135deg, rgba(142,225,217,.76), rgba(21,162,157,.32) 48%, rgba(239,112,94,.72)) border-box;
  box-shadow: 0 12px 26px rgba(0,0,0,.16);
  transition: transform .3s ease, box-shadow .3s ease, background-position .5s ease;
}
.map-node b {
  width: 43px;
  height: 43px;
  margin-bottom: auto;
  color: var(--mint);
  border: 1px solid rgba(142,225,217,.45);
  background: rgba(142,225,217,.08);
  box-shadow: none;
  font-size: .66rem;
}
.map-node span { color: rgba(255,255,255,.84); font-size: .7rem; }
.map-node:hover,.map-node.active { transform: translateY(-5px); color: #fff; }
.map-node:hover,.map-node.active {
  background:
    linear-gradient(#123b42, #0b2e35) padding-box,
    linear-gradient(135deg, var(--mint), var(--teal) 48%, var(--coral)) border-box;
  box-shadow: 0 17px 34px rgba(0,0,0,.25), 0 0 26px rgba(21,162,157,.12);
}
.map-node:hover b,.map-node.active b {
  color: #fff;
  border-color: var(--coral);
  background: var(--coral);
  box-shadow: 0 0 16px rgba(239,112,94,.28);
}
@media (min-width: 961px) {
  .ecosystem-flow li:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 52px;
    right: -15px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 14px;
    height: 20px;
    color: var(--coral);
    background: #071b22;
    font-size: .9rem;
    font-style: normal;
    animation: flow-arrow 1.8s ease-in-out infinite;
  }
  .ecosystem-flow li:nth-child(2)::after { animation-delay: .12s; }
  .ecosystem-flow li:nth-child(3)::after { animation-delay: .24s; }
  .ecosystem-flow li:nth-child(4)::after { animation-delay: .36s; }
  .ecosystem-flow li:nth-child(5)::after { animation-delay: .48s; }
  .ecosystem-flow li:nth-child(6)::after { animation-delay: .6s; }
}
@keyframes flow-arrow {
  0%, 100% { opacity: .34; transform: translateX(-3px); }
  50% { opacity: 1; transform: translateX(3px); }
}
@media (max-width: 960px) {
  .ecosystem-flow { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
  .map-node { min-height: 116px; }
}
@media (max-width: 480px) {
  .ecosystem-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .map-node { min-height: 112px; padding: 13px 8px; }
}

/* Jornada do pedido: cinco decisões claras, em cartões proporcionais. */
.ecosystem-map { width: min(1080px, 100%); margin: 46px auto 26px; }
.flow-heading { margin: 0 0 22px; text-align: center; }
.flow-heading span { color: var(--mint); font-family: var(--mono); font-size: .57rem; letter-spacing: .12em; }
.flow-heading p { margin: 7px 0 0; color: rgba(255,255,255,.6); font-size: .75rem; }
.ecosystem-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.ecosystem-flow li { min-width: 0; }
.map-node {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  min-height: 184px;
  padding: 20px;
  border: 1px solid transparent;
  border-radius: 14px;
  background:
    linear-gradient(155deg, #123b42, #09282f) padding-box,
    linear-gradient(135deg, rgba(142,225,217,.75), rgba(21,162,157,.35) 50%, rgba(239,112,94,.72)) border-box;
  box-shadow: 0 14px 32px rgba(0,0,0,.18);
  text-align: left;
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.map-node b {
  position: absolute;
  top: 18px;
  right: 18px;
  width: auto;
  height: auto;
  margin: 0;
  color: rgba(142,225,217,.55);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  font-size: .59rem;
}
.flow-icon { width: 36px; height: 36px; color: var(--mint); }
.map-node > span { display: grid; gap: 5px; color: #fff; font-size: .95rem; line-height: 1.2; }
.map-node > span strong { font-size: inherit; }
.map-node > span small { display: block; color: rgba(255,255,255,.55); font-size: .62rem; font-weight: 500; }
.map-node:hover,.map-node.active { transform: translateY(-7px); color: #fff; }
.map-node:hover,.map-node.active {
  background:
    linear-gradient(155deg, #185057, #0b3037) padding-box,
    linear-gradient(135deg, var(--mint), var(--teal) 52%, var(--coral)) border-box;
  box-shadow: 0 22px 42px rgba(0,0,0,.28), 0 0 30px rgba(21,162,157,.14);
}
.map-node:hover b,.map-node.active b { color: var(--coral); border: 0; background: transparent; box-shadow: none; }
.map-node:hover .flow-icon,.map-node.active .flow-icon { color: #fff; }
.map-node::after {
  content: '';
  position: absolute;
  right: 20px;
  bottom: 12px;
  left: 20px;
  height: 2px;
  border-radius: 999px;
  background: rgba(142,225,217,.22);
  transform-origin: left;
}
.map-node.active::after { background: var(--coral); animation: map-card-progress 3.5s linear forwards; }
@keyframes map-card-progress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
@media (min-width: 961px) {
  .ecosystem-flow li:not(:last-child)::after {
    top: 50%;
    right: -22px;
    width: 16px;
    height: 24px;
    background: #071b22;
    font-size: 1rem;
  }
}
@media (max-width: 960px) {
  .ecosystem-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .map-node { min-height: 168px; }
}
@media (max-width: 640px) {
  .ecosystem-map { margin: 32px auto 20px; }
  .ecosystem-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .map-node { min-height: 156px; padding: 17px; }
  .flow-icon { width: 31px; height: 31px; }
  .map-node > span { font-size: .84rem; }
}
@media (max-width: 420px) {
  .ecosystem-flow { grid-template-columns: 1fr; }
  .map-node { min-height: 130px; }
}

/* Jornada visual com linha, nós e painel operacional. */
.ecosystem-map { width: min(1120px, 100%); margin: 34px auto 18px; }
.flow-heading { margin-bottom: 26px; }
.ecosystem-flow { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; }
.ecosystem-flow::before {
  display: block;
  top: 40px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: linear-gradient(90deg, rgba(21,162,157,.2), var(--teal), rgba(239,112,94,.74), rgba(142,225,217,.24));
  box-shadow: 0 0 13px rgba(21,162,157,.4);
}
.map-node {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: 80px auto;
  column-gap: 8px;
  align-items: start;
  min-height: 145px;
  padding: 0 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
  transform: none;
}
.map-node::after { display: none; }
.map-node::before {
  display: none;
  content: '';
  position: absolute;
  z-index: 2;
  top: 93px;
  left: 50%;
  width: 1px;
  height: 35px;
  background: var(--coral);
  box-shadow: 0 0 10px var(--coral);
}
.map-node b {
  position: static;
  grid-row: 2;
  grid-column: 1;
  align-self: start;
  width: auto;
  height: auto;
  margin: 4px 0 0;
  color: var(--teal);
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--mono);
  font-size: .64rem;
  font-weight: 500;
}
.flow-icon {
  grid-row: 1;
  grid-column: 1 / -1;
  justify-self: center;
  box-sizing: content-box;
  width: 37px;
  height: 37px;
  padding: 14px;
  color: var(--mint);
  border: 2px solid var(--teal);
  border-radius: 50%;
  background: rgba(8,48,53,.8);
  box-shadow: 0 0 0 8px rgba(21,162,157,.07), 0 0 23px rgba(21,162,157,.35);
}
.map-node > span {
  grid-row: 2;
  grid-column: 2;
  display: grid;
  gap: 4px;
  margin-top: 0;
  color: #fff;
  font-size: .78rem;
  line-height: 1.15;
}
.map-node > span strong { font-size: inherit; }
.map-node > span small { display: block; color: rgba(255,255,255,.55); font-size: .61rem; font-weight: 500; }
.map-node:hover,.map-node.active { transform: none; background: transparent; box-shadow: none; }
.map-node:hover b,.map-node.active b { color: var(--coral); background: transparent; box-shadow: none; }
.map-node:hover .flow-icon,.map-node.active .flow-icon {
  color: #fff;
  border-color: var(--coral);
  background: rgba(239,112,94,.78);
  box-shadow: 0 0 0 8px rgba(239,112,94,.08), 0 0 30px rgba(239,112,94,.65);
}
.map-node.active::before { display: block; }
.flow-detail {
  display: grid;
  grid-template-columns: minmax(280px, .86fr) minmax(420px, 1.14fr);
  gap: 30px;
  align-items: center;
  max-width: 940px;
  min-height: 300px;
  margin: 0 auto;
  padding: 30px 34px;
  border: 1px solid rgba(142,225,217,.42);
  border-radius: 15px;
  background: linear-gradient(115deg, rgba(11,51,57,.92), rgba(7,33,39,.84));
  box-shadow: 0 20px 55px rgba(0,0,0,.2);
}
.flow-detail-copy { position: relative; }
.flow-detail-symbol { display: grid; place-items: center; width: 47px; height: 47px; margin-bottom: 17px; color: var(--coral); border: 1px solid var(--coral); border-radius: 50%; }
.flow-detail-symbol .flow-icon { width: 23px; height: 23px; padding: 0; color: inherit; border: 0; border-radius: 0; background: none; box-shadow: none; }
.flow-detail small { color: var(--mint); font-family: var(--mono); font-size: .5rem; letter-spacing: .09em; }
.flow-detail h3 { margin: 11px 0 10px; color: #fff; font-size: clamp(1.45rem, 2.3vw, 2.1rem); letter-spacing: -.055em; line-height: 1.04; }
.flow-detail p { margin: 0; color: rgba(255,255,255,.66); font-size: .7rem; line-height: 1.65; }
.flow-detail ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 21px 0 0; padding: 0; list-style: none; }
.flow-detail li { padding: 7px 9px; color: rgba(255,255,255,.82); border: 1px solid rgba(142,225,217,.4); border-radius: 6px; background: rgba(8,31,36,.45); font-size: .56rem; }
.flow-preview { display: grid; grid-template-columns: 54px 1fr; overflow: hidden; min-height: 220px; border: 1px solid rgba(142,225,217,.25); border-radius: 9px; background: rgba(3,24,30,.56); }
.flow-preview aside { display: flex; flex-direction: column; align-items: center; gap: 15px; padding: 16px 0; background: rgba(8,47,53,.86); }
.flow-preview aside b { color: var(--mint); font-family: Georgia,serif; font-size: 1.2rem; }
.flow-preview aside i { width: 16px; height: 16px; border: 1px solid rgba(142,225,217,.45); border-radius: 4px; }
.flow-preview aside i:nth-child(4) { border-color: var(--coral); background: rgba(239,112,94,.2); }
.flow-preview-main { min-width: 0; padding: 16px; }
.flow-preview-head { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.flow-preview-head small { display: block; color: rgba(255,255,255,.42); font-size: .43rem; }
.flow-preview-head strong { display: block; margin-top: 4px; color: #fff; font-size: .76rem; }
.flow-preview-head span { padding: 5px 7px; color: #ffd4cd; border-radius: 4px; background: rgba(239,112,94,.22); font-size: .48rem; font-weight: 800; }
.flow-preview-body { display: grid; grid-template-columns: .85fr 1.15fr; gap: 13px; margin-top: 15px; }
.flow-preview-info { display: grid; gap: 4px; align-content: start; padding: 12px; border-radius: 5px; background: rgba(255,255,255,.035); }
.flow-preview-info small { margin-top: 5px; color: rgba(142,225,217,.53); font-size: .42rem; letter-spacing: .05em; }
.flow-preview-info b { padding-bottom: 6px; color: rgba(255,255,255,.78); border-bottom: 1px solid rgba(142,225,217,.13); font-size: .56rem; }
.flow-preview-route { position: relative; min-height: 128px; overflow: hidden; border-radius: 5px; background: linear-gradient(135deg, rgba(48,90,94,.34), rgba(15,50,55,.58)); }
.flow-preview-route::before,.flow-preview-route::after { content: ''; position: absolute; border: 1px solid rgba(142,225,217,.12); border-radius: 50%; }
.flow-preview-route::before { width: 190px; height: 125px; top: -55px; left: -40px; }
.flow-preview-route::after { width: 130px; height: 150px; right: -65px; bottom: -75px; }
.flow-preview-route i { position: absolute; z-index: 1; display: block; height: 2px; background: var(--coral); transform-origin: left; }
.flow-preview-route i:nth-child(1) { top: 74px; left: 22px; width: 49px; transform: rotate(-46deg); }
.flow-preview-route i:nth-child(2) { top: 39px; left: 57px; width: 73px; transform: rotate(32deg); }
.flow-preview-route i:nth-child(3) { top: 77px; left: 119px; width: 45px; transform: rotate(-49deg); }
.flow-preview-route span,.flow-preview-route b { position: absolute; z-index: 2; border-radius: 50%; }
.flow-preview-route span { top: 76px; left: 17px; width: 9px; height: 9px; border: 2px solid var(--teal); background: #103b42; }
.flow-preview-route b { top: 23px; right: 22px; width: 19px; height: 25px; background: var(--coral); box-shadow: 0 0 13px rgba(239,112,94,.5); }
.flow-preview-progress { display: flex; justify-content: space-between; align-items: center; gap: 5px; margin-top: 13px; color: rgba(255,255,255,.5); font-size: .43rem; }
.flow-preview-progress i { flex: 1; height: 1px; background: rgba(142,225,217,.34); }
@media (max-width: 760px) {
  .ecosystem-flow { grid-template-columns: repeat(5, minmax(92px, 1fr)); overflow-x: auto; padding: 0 3px 8px; }
  .ecosystem-flow::before { min-width: 470px; }
  .map-node { min-height: 132px; }
  .flow-icon { width: 28px; height: 28px; padding: 12px; }
  .flow-detail { grid-template-columns: 1fr; gap: 22px; padding: 24px; }
}
@media (max-width: 480px) {
  .flow-detail { padding: 20px; }
  .flow-preview { grid-template-columns: 43px 1fr; }
  .flow-preview-main { padding: 12px; }
  .flow-preview-body { grid-template-columns: 1fr; }
  .flow-preview-info { display: none; }
}

/* Showroom desfocado: contexto visual sem perder a legibilidade da jornada. */
.ecosystem.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #10383d;
}
.ecosystem.section::before {
  content: '';
  position: absolute;
  z-index: -2;
  inset: -28px;
  background: url('../../assets/sismovs/sismovs-showroom-workstation.png') center / cover no-repeat;
  filter: blur(12px);
  opacity: .58;
  transform: scale(1.05);
}
.ecosystem.section::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(118deg, rgba(5,28,33,.76), rgba(8,58,61,.55) 55%, rgba(9,31,35,.68));
}
@media (min-width: 701px) {
  .ecosystem .shell { transform: translateY(-22px); }
}
@media (max-width: 700px) {
  .ecosystem .shell { transform: translateY(-12px); }
}
