/* Página de produto: Smart Ports ISPS Code. Usa os tokens de ../estilo.css. */
:root { --ambar: #ffb547; --verm: #ff5a5f; --painel: rgba(10, 22, 58, 0.55); --painel-2: #071232; }
html { scroll-behavior: smooth; }
.calmo { scroll-behavior: auto; }
body { background: radial-gradient(1200px 700px at 78% -10%, rgba(31, 79, 224, 0.18), transparent 60%), var(--bg); }
.topo--fixo { background: rgba(3, 8, 23, 0.82); backdrop-filter: blur(8px); border-bottom: 1px solid var(--linha); }
.topo__nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -1px 0 var(--ciano); }
main { overflow-x: clip; }
h2 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.02; font-variation-settings: "wdth" 88; text-wrap: balance; }
h3 { margin: 0; font-weight: 600; }
em { font-style: normal; color: var(--ciano); }
.num { font-family: var(--mono); font-size: 0.75rem; color: var(--ciano); margin-bottom: 18px; }
.nota { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); margin-top: 14px; }

/* ---------- Abertura ---------- */
.abre {
  min-height: 100svh; padding: 120px var(--gutter) 64px;
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr); gap: clamp(32px, 4vw, 72px); align-items: center;
}
.trilha { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); display: flex; gap: 8px; margin-bottom: 28px; }
.trilha a:hover { color: var(--ink); }
.trilha b { color: var(--ciano); font-weight: 500; }
.abre h1 { font-size: clamp(2.5rem, 4.6vw, 4.4rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 600; font-variation-settings: "wdth" 88; }
.abre__sub { margin-top: 24px; color: var(--ink-2); font-size: clamp(1rem, 1.2vw, 1.15rem); max-width: 34em; }
.abre__acoes { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.selos { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, auto); justify-content: start; border-top: 1px solid var(--linha); }
.selos li { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); padding: 14px 18px 0 0; margin-right: 18px; }
.selos b { display: block; color: var(--ink); font-weight: 500; font-size: 0.875rem; margin-bottom: 2px; }

.planta { margin: 0; position: relative; border: 1px solid var(--linha); border-radius: var(--raio); background: linear-gradient(180deg, rgba(7, 18, 50, 0.7), rgba(3, 8, 23, 0.4)); }
.planta::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(163, 174, 198, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(163, 174, 198, 0.06) 1px, transparent 1px);
  background-size: 28px 28px; }
.planta__barra { position: relative; display: flex; gap: 14px; align-items: center; padding: 10px 14px; border-bottom: 1px solid var(--linha); font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); }
.planta__selo { color: var(--ciano); border: 1px solid rgba(25, 204, 250, 0.45); padding: 2px 6px; border-radius: var(--raio); }
.planta__hora { margin-left: auto; font-variant-numeric: tabular-nums; }
.planta__svg { position: relative; display: block; width: 100%; height: auto; }
.marsec { position: relative; display: grid; grid-template-columns: 230px 1fr; gap: 6px 24px; padding: 14px; border-top: 1px solid var(--linha); background: rgba(3, 8, 23, 0.6); }
.marsec__rot { grid-column: 1; }
.marsec__botoes { grid-column: 1; }
.marsec__medidas { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; align-content: center; }
.marsec__hash { grid-column: 1 / -1; }
.marsec__rot { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); margin-bottom: 8px; }
.marsec__botoes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.marsec__botoes button {
  font: 600 1.125rem/1 var(--fonte); color: var(--ink-2); background: transparent; border: 1px solid var(--linha-forte); border-radius: var(--raio);
  padding: 8px 4px 6px; cursor: pointer; transition: background-color 160ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.marsec__botoes button:active { transform: scale(0.97); }
.marsec__botoes small { display: block; font: 400 0.6875rem/1.2 var(--mono); margin-top: 4px; }
.marsec__botoes [data-nivel="1"][aria-pressed="true"] { background: var(--ciano); border-color: var(--ciano); color: var(--bg); }
.marsec__botoes [data-nivel="2"][aria-pressed="true"] { background: var(--ambar); border-color: var(--ambar); color: var(--bg); }
.marsec__botoes [data-nivel="3"][aria-pressed="true"] { background: var(--verm); border-color: var(--verm); color: var(--bg); }
.marsec__medidas { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.75rem; color: var(--ink-2); display: grid; gap: 3px; min-height: 66px; }
.marsec__medidas li { display: flex; gap: 8px; animation: sobe 380ms var(--ease-out) both; }
.marsec__medidas li::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 7px; background: var(--cor-nivel, var(--ciano)); }
.marsec__hash { margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--linha); font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); word-break: break-all; }
.marsec__hash b { color: var(--ciano); font-weight: 500; }
@keyframes sobe { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Seções ---------- */
.secao { padding: clamp(80px, 11vw, 150px) var(--gutter) 0; }
.secao__cab { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.secao__cab h2 { font-size: clamp(2rem, 3.6vw, 3.3rem); }
.secao__cab > p:not(.num) { margin-top: 20px; color: var(--ink-2); max-width: 38em; }

/* revelação ao rolar */
.vem { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
.vem.vista { opacity: 1; transform: none; }
.calmo .vem { opacity: 1; transform: none; transition: none; }

/* 01 norma */
.norma__grade { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.pilares { border: 1px solid var(--linha); padding: 28px; border-radius: var(--raio); background: var(--painel); }
.pilares__viga { text-align: center; padding: 16px; font-weight: 600; font-size: 1.25rem; background: linear-gradient(180deg, #12307d, #0b237f); border: 1px solid #2a4bb0; }
.pilares__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pilar { display: grid; justify-items: center; text-align: center; gap: 4px; }
.pilar__col { width: 46px; height: 190px; background: repeating-linear-gradient(90deg, #0d2a78 0 10px, #10318c 10px 36px, #0d2a78 36px 46px); border-left: 1px solid #2a4bb0; border-right: 1px solid #2a4bb0; transform-origin: top; }
.vem.vista .pilar__col { animation: coluna 900ms var(--ease-out) both; }
.pilar:nth-child(2) .pilar__col { animation-delay: 120ms; }
.pilar:nth-child(3) .pilar__col { animation-delay: 240ms; }
@keyframes coluna { from { transform: scaleY(0); } }
.pilar b { margin-top: 10px; font-size: 1rem; }
.pilar small { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); }
.pilares__risco { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 14px; border-top: 1px dashed var(--linha-forte); font-family: var(--mono); font-size: 0.6875rem; }
.pilares__risco span { color: var(--ambar); }
.exige h3 { font-size: 1.25rem; margin-bottom: 18px; }
.exige__lista { list-style: none; margin: 0; padding: 0; counter-reset: e; }
.exige__lista li { counter-increment: e; display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-top: 1px solid var(--linha); }
.exige__lista li::before { content: counter(e, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); font-size: 0.75rem; color: var(--ciano); padding-top: 3px; }
.exige__lista span { color: var(--ink-3); font-size: 0.875rem; }
.relogios { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.relogio { position: relative; display: grid; place-items: center; text-align: center; }
.relogio svg { width: 100%; max-width: 128px; transform: rotate(-90deg); }
.relogio circle { fill: none; stroke: rgba(163, 174, 198, 0.16); stroke-width: 5; }
.relogio .relogio__arco { stroke: var(--ciano); stroke-dasharray: 276.5; stroke-dashoffset: 276.5; transition: stroke-dashoffset 1400ms var(--ease-out); }
.relogio b { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -78%); font-size: 1.6rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.relogio small { position: absolute; top: 50%; left: 50%; transform: translate(-50%, 40%); font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); white-space: nowrap; }

/* 02 antes e depois */
/* N2: colunas com mínimo 0 e placar sem quebra: a contagem 4.320 → 30 não muda mais a largura das colunas nem a altura do bloco (CLS) */
.antes__grade { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.placar { border-left: 2px solid var(--ciano); padding-left: 28px; }
.placar__rot { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); }
.placar__de { margin-top: 18px; font-size: 1.6rem; color: var(--ink-3); }
.placar__de s { text-decoration-color: var(--ambar); text-decoration-thickness: 2px; }
.placar__para { white-space: nowrap; font-size: clamp(4rem, 9vw, 8rem); font-weight: 600; line-height: 0.9; letter-spacing: -0.05em; color: #fff; font-variant-numeric: tabular-nums; font-variation-settings: "wdth" 80; }
.placar__pe { margin-top: 14px; color: var(--ink-2); }
.chave { display: inline-grid; grid-template-columns: 1fr 1fr; padding: 3px; border: 1px solid var(--linha-forte); border-radius: var(--raio); margin-bottom: 18px; }
.chave button { font: 500 0.8125rem var(--fonte); color: var(--ink-2); background: transparent; border: 0; padding: 9px 16px; cursor: pointer; border-radius: var(--raio); transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out); }
.chave [aria-pressed="true"][data-modo="antes"] { background: var(--ambar); color: var(--bg); }
.chave [aria-pressed="true"][data-modo="depois"] { background: var(--ciano); color: var(--bg); }
.comparar__lista { margin: 0; }
.comparar__lista div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--linha); align-items: baseline; }
.comparar__lista dt { font-weight: 600; }
.comparar__lista dd { margin: 0; font-size: 1.125rem; color: var(--ink); transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out); }
.comparar__lista[data-modo="antes"] dd { color: var(--ink-2); }
.comparar__lista dd.troca { opacity: 0; transform: translateX(-8px); }

/* 03 hub */
.hub { position: relative; display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: center; }
.hub__svg { width: 100%; height: auto; display: block; grid-column: 1; grid-row: 1; }
.hub__nos { grid-column: 1; grid-row: 1; position: relative; align-self: stretch; }
.hub__no {
  position: absolute; transform: translate(-50%, -50%); font: 500 0.75rem/1.15 var(--fonte); text-align: center;
  width: 92px; min-height: 46px; padding: 6px; display: grid; place-items: center; color: var(--ink);
  background: var(--painel-2); border: 1px solid var(--linha-forte); border-radius: 23px; cursor: pointer;
  transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.hub__no:hover, .hub__no:focus-visible, .hub__no.ativo { border-color: var(--ciano); background: #0c2160; }
.hub__no.ativo { box-shadow: 0 0 0 4px rgba(25, 204, 250, 0.15); }
.hub__no--centro { width: 120px; min-height: 120px; border-radius: 50%; font-size: 1.05rem; font-weight: 600; background: linear-gradient(180deg, #12307d, #0b237f); border-color: #2a4bb0; }
.hub__info { border-left: 2px solid var(--ciano); padding: 6px 0 6px 20px; min-height: 180px; }
.hub__cluster { font-family: var(--mono); font-size: 0.6875rem; color: var(--ciano); margin-bottom: 10px; }
.hub__info h3 { font-size: 1.5rem; margin-bottom: 10px; }
.hub__info p:last-child { color: var(--ink-2); }

/* 04 cadeia */
.cadeia { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.cadeia__acoes { display: grid; gap: 8px; }
.cadeia__acoes > p { font-size: 0.875rem; color: var(--ink-2); margin-bottom: 6px; }
.acao {
  text-align: left; font: 500 0.875rem var(--fonte); color: var(--ink); background: var(--painel); border: 1px solid var(--linha-forte);
  border-radius: var(--raio); padding: 12px 14px; cursor: pointer; transition: border-color 160ms var(--ease-out), transform 120ms var(--ease-out);
}
.acao::before { content: "+ "; color: var(--ciano); font-family: var(--mono); }
.acao:hover { border-color: var(--ciano); }
.acao:active { transform: scale(0.98); }
.cadeia__teste { display: grid; gap: 8px; margin-top: 14px; }
.cadeia__teste .botao { min-height: 40px; font-size: 0.8125rem; }
.cadeia__status { margin-top: 8px; font-family: var(--mono); font-size: 0.75rem; color: var(--ciano); }
.cadeia__status.ruim { color: var(--verm); }
.cadeia__blocos { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; max-height: 640px; overflow: auto; scrollbar-width: thin; }
.bloco {
  position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 14px; padding: 16px; margin-bottom: 26px;
  border: 1px solid var(--linha); border-radius: var(--raio); background: var(--painel); font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-2);
  animation: bloco 520ms var(--ease-out) both;
}
.bloco:not(:last-child)::after { content: ""; position: absolute; left: 43px; bottom: -27px; width: 1px; height: 26px; background: var(--ciano); }
.bloco.quebrado { border-color: var(--verm); background: rgba(255, 90, 95, 0.07); }
.bloco.quebrado::after { background: var(--verm); }
.bloco__cubo { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--linha-forte); color: var(--ciano); font-size: 0.75rem; }
.bloco.quebrado .bloco__cubo { color: var(--verm); border-color: var(--verm); }
.bloco dl { margin: 0; display: grid; grid-template-columns: 70px 1fr; gap: 3px 12px; }
.bloco dt { color: var(--ink-3); }
.bloco dd { margin: 0; color: var(--ink); word-break: break-all; }
.bloco dd.h { color: var(--ciano); }
.bloco.quebrado dd.h { color: var(--verm); text-decoration: line-through; }
@keyframes bloco { from { opacity: 0; transform: translateY(-14px) scale(0.98); } }

/* 05 multi */
.multi__grade { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.multi__fala { margin-top: 24px; padding: 14px 16px; border-left: 2px solid var(--ambar); color: var(--ink); background: rgba(255, 181, 71, 0.06); font-size: 0.9375rem; min-height: 52px; }
.camadas { position: relative; height: 470px; perspective: 1400px; }
.camada {
  position: absolute; left: 6%; right: 6%; height: 150px; top: calc(var(--i) * 78px);
  transform: rotateX(58deg) rotateZ(-32deg); transform-style: preserve-3d; text-align: left;
  background: linear-gradient(135deg, rgba(25, 204, 250, 0.10), rgba(31, 79, 224, 0.14)); border: 1px solid rgba(25, 204, 250, 0.35);
  border-radius: var(--raio); color: var(--ink); padding: 18px 22px; cursor: pointer; font: inherit;
  transition: transform 420ms var(--ease-out), opacity 300ms var(--ease-out), border-color 300ms var(--ease-out), background-color 300ms;
}
.camada:nth-of-type(1) { --i: 0; } .camada:nth-of-type(2) { --i: 1; } .camada:nth-of-type(3) { --i: 2; } .camada:nth-of-type(4) { --i: 3; }
.camada span { display: block; font-weight: 600; font-size: 1.25rem; }
.camada i { font-style: normal; font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); }
.camada::after { content: "isolado"; position: absolute; right: 18px; top: 18px; font-family: var(--mono); font-size: 0.6875rem; color: var(--ambar); border: 1px solid rgba(255, 181, 71, 0.5); padding: 2px 6px; }
.camadas.foco .camada { opacity: 0.25; }
.camadas.foco .camada.ativa { opacity: 1; border-color: var(--ciano); transform: rotateX(58deg) rotateZ(-32deg) translateZ(40px); }
.motor { position: absolute; left: 10%; right: 10%; bottom: 0; text-align: center; padding: 16px; border: 1px solid #2a4bb0; background: linear-gradient(180deg, #12307d, #0b237f); font-size: 1.125rem; border-radius: 30px; }
.motor b { color: var(--ciano); }

/* 06 papéis */
.matriz { max-width: 980px; }
.matriz__papeis { display: inline-grid; grid-auto-flow: column; padding: 3px; border: 1px solid var(--linha-forte); border-radius: var(--raio); margin-bottom: 18px; }
.matriz__papeis button { font: 600 0.9375rem var(--fonte); color: var(--ink-2); background: transparent; border: 0; padding: 10px 22px; cursor: pointer; border-radius: var(--raio); transition: background-color 200ms var(--ease-out), color 200ms; }
.matriz__papeis [aria-selected="true"] { background: var(--ink); color: var(--bg); }
.matriz__acoes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.matriz__acoes li { border: 1px solid var(--linha); background: var(--painel); border-radius: var(--raio); padding: 18px; min-height: 130px; display: grid; align-content: space-between; animation: sobe 360ms var(--ease-out) both; }
.matriz__acoes li:nth-child(2) { animation-delay: 50ms; } .matriz__acoes li:nth-child(3) { animation-delay: 100ms; } .matriz__acoes li:nth-child(4) { animation-delay: 150ms; }
.matriz__acoes b { font-size: 1rem; }
.estado { display: inline-flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 0.75rem; }
.estado::before { content: ""; width: 10px; height: 10px; border-radius: 50%; }
.estado--total { color: var(--ciano); } .estado--total::before { background: var(--ciano); }
.estado--consulta { color: var(--ink-2); } .estado--consulta::before { border: 1.5px solid var(--ink-2); }
.estado--bloq { color: var(--ambar); } .estado--bloq::before { background: var(--ambar); }
.estado--verif { color: #8fb3ff; } .estado--verif::before { background: #8fb3ff; }
.lgpd { margin-top: 20px; color: var(--ink-2); font-size: 0.9375rem; }
.lgpd b { color: var(--ink); }

/* 07 api */
.api { position: relative; max-width: 1100px; margin: 0 auto; aspect-ratio: 1000 / 420; }
.api__fios { position: absolute; inset: 0; width: 100%; height: 100%; }
.api__centro { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 22%; padding: 26px 10px; text-align: center; border: 1px solid #2a4bb0; background: linear-gradient(180deg, #12307d, #0b237f); border-radius: var(--raio); box-shadow: 0 0 60px rgba(25, 204, 250, 0.15); }
.api__centro b { display: block; font-size: 1.25rem; }
.api__centro span { font-family: var(--mono); font-size: 0.75rem; color: var(--ciano); }
.api__sis { list-style: none; margin: 0; padding: 0; }
.api__sis li { position: absolute; width: 22%; padding: 14px 16px; border: 1px solid var(--linha-forte); border-radius: var(--raio); background: var(--painel-2); transform: translateY(-50%); }
.api__sis li[data-lado="e"] { left: 0; } .api__sis li[data-lado="d"] { right: 0; }
.api__sis li[data-i="0"] { top: 16%; } .api__sis li[data-i="1"] { top: 50%; } .api__sis li[data-i="2"] { top: 84%; }
.api__sis b { display: block; font-size: 0.9375rem; }
.api__sis span { font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); }
.api__sis li.pulso { border-color: var(--ciano); }

/* 08 console */
.console { border: 1px solid var(--linha-forte); border-radius: var(--raio); background: #050d26; overflow: hidden; }
.console__topo { display: flex; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--linha); font-family: var(--mono); font-size: 0.6875rem; }
.console__marca { color: var(--ink); }
.console__aviso { color: var(--ambar); }
.console__corpo { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto 1fr; gap: 1px; background: var(--linha); }
.console__corpo > * { background: #050d26; }
.console__total { grid-column: 1 / -1; padding: 22px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 12px 24px; }
.console__total p { color: var(--ink-2); }
.console__total b { font-size: 2.6rem; font-weight: 600; color: var(--ciano); font-variant-numeric: tabular-nums; line-height: 1; }
.barra { grid-column: 1 / -1; height: 6px; background: rgba(163, 174, 198, 0.14); }
.barra i, .console__mods i { display: block; height: 100%; background: var(--ciano); transform-origin: left; transform: scaleX(0); transition: transform 1400ms var(--ease-out); }
.vista .barra i, .vista .console__mods i { transform: scaleX(var(--v)); }
.console__mods { list-style: none; margin: 0; padding: 8px 22px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.console__mods li { display: grid; grid-template-columns: 1fr auto; padding: 14px 0 12px; border-bottom: 1px solid var(--linha); gap: 6px 10px; }
.console__mods li > span { font-family: var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.console__mods li > span::after { content: "%"; color: var(--ink-3); }
.console__mods i { grid-column: 1 / -1; height: 3px; background: linear-gradient(90deg, var(--azul), var(--ciano)); }
.console__mods small { grid-column: 1 / -1; font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-3); }
.console__feed { list-style: none; margin: 0; padding: 16px 18px; font-family: var(--mono); font-size: 0.6875rem; color: var(--ink-2); height: 100%; min-height: 300px; overflow: hidden; display: grid; align-content: start; gap: 8px; }
.console__feed li { display: grid; grid-template-columns: auto 1fr; gap: 4px 10px; padding-bottom: 8px; border-bottom: 1px solid var(--linha); animation: sobe 420ms var(--ease-out) both; }
.console__feed time { color: var(--ink-3); }
.console__feed .tag { color: var(--ciano); }
.console__feed .tag--a { color: var(--ambar); }

/* 09 barras */
.barras { display: grid; gap: 40px; max-width: 1100px; }
.barras__linha > p:first-child { font-weight: 600; margin-bottom: 12px; }
.barras__trilho { display: flex; height: 64px; gap: 4px; }
.barras__trilho i {
  display: flex; align-items: center; padding: 0 18px; font-style: normal; font-size: 1.4rem; font-weight: 600; font-variant-numeric: tabular-nums;
  flex: 0 0 var(--v); transition: flex-basis 1400ms var(--ease-out); overflow: hidden; border-radius: var(--raio);
}
.barras:not(.vista) .barras__trilho i { flex-basis: 50%; }
.b-adm { background: repeating-linear-gradient(135deg, #1b2547 0 10px, #222d52 10px 20px); color: var(--ink-2); }
.b-seg { background: linear-gradient(90deg, #0b3fae, #0a5cc4); color: #fff; justify-content: flex-end; }
.barras__leg { display: flex; justify-content: space-between; gap: 20px; margin-top: 10px; font-size: 0.875rem; color: var(--ink-3); }

/* 10 linha do tempo */
.linha { list-style: none; margin: 0; padding: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.linha::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: rgba(163, 174, 198, 0.16); }
.linha::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: linear-gradient(90deg, var(--ciano), var(--ambar)); transform-origin: left; transform: scaleX(0); transition: transform 1800ms var(--ease-out); }
.linha.vista::after { transform: scaleX(1); }
.linha li { position: relative; }
.linha li::before { content: ""; position: absolute; top: -36px; left: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ciano); }
.linha li:last-child::before { background: var(--ambar); border-color: var(--ambar); }
.linha span { font-family: var(--mono); font-size: 0.75rem; color: var(--ciano); }
.linha b { display: block; margin-top: 8px; font-size: 1.0625rem; font-weight: 500; }

/* prova e fim */
.prova__cartao { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding: 32px; border: 1px solid var(--linha); border-radius: var(--raio); background: var(--painel); max-width: 980px; }
.prova__cartao img { width: 160px; height: auto; background: #fff; padding: 14px; border-radius: var(--raio); }
.prova__cartao h2 { font-size: 1.75rem; }
.prova__cartao p:last-child { margin-top: 8px; color: var(--ink-2); }
.fim { text-align: center; padding-bottom: 120px; display: grid; justify-items: center; }
.fim h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); }
.fim > p { margin-top: 16px; color: var(--ink-2); }
.fim .abre__acoes { justify-content: center; }
.fim__tel { margin-top: 24px; font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3) !important; }

/* ---------- Telas menores ---------- */
@media (max-width: 1100px) {
  .abre { grid-template-columns: 1fr; padding-top: 110px; }
  .norma__grade, .antes__grade, .multi__grade { grid-template-columns: 1fr; }
  .hub { grid-template-columns: 1fr; }
  .cadeia { grid-template-columns: 1fr; }
  .matriz__acoes { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .selos { grid-template-columns: repeat(2, auto); }
  .marsec { grid-template-columns: 1fr; }
  .marsec__medidas { grid-column: 1; grid-row: auto; }
  .planta__barra > span:nth-child(2) { display: none; }
  .comparar__lista div { grid-template-columns: 1fr; gap: 4px; }
  .hub__svg, .hub__nos { display: none; }
  .hub__info { display: none; }
  .hub { display: block; }
  .hub__lista { display: grid !important; }
  .camadas { height: 400px; }
  .camada { left: 0; right: 0; top: calc(var(--i) * 66px); height: 130px; }
  .api { aspect-ratio: auto; display: grid; gap: 8px; }
  .api__fios { display: none; }
  .api__centro { position: static; transform: none; width: auto; order: -1; }
  .api__sis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .api__sis li { position: static; width: auto; transform: none; }
  .console__corpo { grid-template-columns: 1fr; }
  .console__mods { grid-template-columns: 1fr; }
  .console__feed { min-height: 0; }
  .barras__trilho i { font-size: 1rem; padding: 0 10px; }
  .linha { grid-template-columns: 1fr; padding: 0 0 0 30px; gap: 26px; }
  .linha::before, .linha::after { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .linha::after { transform-origin: top; transform: scaleY(0); }
  .linha.vista::after { transform: scaleY(1); }
  .linha li::before { top: 2px; left: -30px; }
  .prova__cartao { grid-template-columns: 1fr; }
  .matriz__papeis button { padding: 10px 14px; }
}
.hub__lista { display: none; list-style: none; margin: 0; padding: 0; gap: 8px; }
.hub__lista li { border: 1px solid var(--linha); background: var(--painel); padding: 14px; border-radius: var(--raio); }
.hub__lista small { font-family: var(--mono); font-size: 0.6875rem; color: var(--ciano); }
.hub__lista b { display: block; margin: 2px 0 4px; }
.hub__lista p { font-size: 0.875rem; color: var(--ink-2); }

/* ---------- Desenhos em SVG ---------- */
.planta__svg { --cor-nivel: #19ccfa; }
.hach { fill: var(--cor-nivel); opacity: 0.5; }
.onda { animation: onda 6s linear infinite; }
@keyframes onda { to { stroke-dashoffset: -48; } }
.zona { fill: var(--cor-nivel); fill-opacity: 0.05; stroke: var(--cor-nivel); stroke-width: 1.2; stroke-dasharray: 5 4; transition: fill-opacity 400ms, stroke 400ms, fill 400ms; animation: marcha 1.6s linear infinite; }
[data-nivel="2"] .zona, [data-nivel="3"] .zona { fill: url(#hach); fill-opacity: 1; }
@keyframes marcha { to { stroke-dashoffset: -18; } }
.cerca { stroke: var(--cor-nivel); stroke-opacity: 0.9; transition: stroke 400ms; filter: drop-shadow(0 0 4px var(--cor-nivel)); }
.sensor { fill: var(--cor-nivel); animation: pisca 1.8s ease-in-out infinite; transition: fill 400ms; }
[data-nivel="3"] .sensor { animation-duration: 0.7s; }
@keyframes pisca { 50% { opacity: 0.25; } }
.cancela { stroke: var(--cor-nivel); stroke-linecap: round; transition: stroke 400ms; }
.cone { fill: var(--cor-nivel); fill-opacity: 0.12; stroke: var(--cor-nivel); stroke-opacity: 0.35; stroke-width: 0.8; transition: fill 400ms, stroke 400ms; }
.camera { fill: #e8ecf4; }
.patrulha { fill: #fff; stroke: var(--cor-nivel); stroke-width: 3; stroke-opacity: 0.5; }
.caminhao rect { fill: #5cf2a0; stroke: #030817; stroke-width: 0.8; }
.farol { fill: var(--cor-nivel); animation: pisca 1.2s infinite; }
.torre-topo { stroke-width: 0.8; }
.rotulos text { font: 400 9px var(--mono); /* mantido: maior, o rótulo da portaria sai do desenho aprovado */  fill: #c9d2e6; }
.rot-linha { fill: none; stroke: #a3aec6; stroke-opacity: 0.5; stroke-width: 0.8; }
.navio { animation: balanca 5s ease-in-out infinite; }
@keyframes balanca { 50% { transform: translateY(1.5px); } }

.hub-anel { fill: none; stroke: rgba(163, 174, 198, 0.14); stroke-width: 1; stroke-dasharray: 2 6; animation: marcha 4s linear infinite; }
.hub-cluster { font: 600 15px var(--fonte); fill: #e8ecf4; }
.hub-fio { fill: none; stroke: rgba(76, 122, 232, 0.45); stroke-width: 1.2; transition: stroke 200ms; }
.hub-fio.aceso { stroke: var(--ciano); stroke-width: 2; }
.hub-pulso { fill: none; stroke: var(--ciano); stroke-width: 2; stroke-dasharray: 10 400; animation: corre 4.4s linear infinite; }
@keyframes corre { from { stroke-dashoffset: 410; } to { stroke-dashoffset: 0; } }

.api-fio { fill: none; stroke: rgba(76, 122, 232, 0.5); stroke-width: 1.4; }
.api-fio--luz { stroke: var(--ambar); stroke-opacity: 0.35; stroke-dasharray: 2 6; animation: marcha 2s linear infinite; }
.api-rot { font: 400 10px var(--mono); fill: #a3aec6; }
.api-pacote { fill: var(--ciano); filter: drop-shadow(0 0 6px var(--ciano)); }
.api-pacote.volta { fill: var(--ambar); filter: drop-shadow(0 0 6px var(--ambar)); }
.calmo .onda, .calmo .zona, .calmo .hub-pulso, .calmo .hub-anel, .calmo .api-fio--luz, .calmo .navio { animation: none; }

/* NEON-INICIO */
/* =====================================================================
   ISPS no tema neon (o mesmo do CFS, Smart Ports e VisionAI).
   A base vem de ../cfs/cfs.css (bloco "TEMA UNIFIED GROUND CONTROL").
   Tudo aqui fica sob .pg-isps: as outras páginas que carregam este
   arquivo não mudam.
   ===================================================================== */
.pg-isps main { --ambar: #ffa634; --verm: #ff3b55; --azul: #1b8ea3; --painel: rgba(5, 20, 28, 0.78); --painel-2: rgba(6, 24, 32, 0.94); }
.pg-isps em { color: var(--ciano); text-shadow: 0 0 18px rgba(46, 230, 255, 0.45); }
.pg-isps .nota, .pg-isps .exige__lista li::before, .pg-isps .placar__rot, .pg-isps .hub__cluster, .pg-isps .linha span { font-family: var(--tec); }
.pg-isps h3, .pg-isps .exige h3 { font-family: var(--titulo); font-weight: 600; font-size: 1.4rem; }

/* abertura: navio ao fundo em tom ciano, planta no painel HUD */
.hero-isps .hero-cfs__foto { width: 62%; object-position: 70% 50%; filter: saturate(0.5) brightness(0.62) contrast(1.15) sepia(0.3) hue-rotate(150deg); }
.hero-isps .planta { align-self: center; justify-self: end; width: min(100%, 660px); background: rgba(3, 14, 20, 0.8); border: 1px solid rgba(46, 230, 255, 0.42); border-radius: 4px; box-shadow: 0 0 30px rgba(46, 230, 255, 0.16), 0 40px 80px rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); }
.hero-isps .planta::before { background-image: linear-gradient(rgba(46, 230, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(46, 230, 255, 0.06) 1px, transparent 1px); }
.hero-isps .planta__barra { font-family: var(--tec); border-bottom-color: rgba(46, 230, 255, 0.25); background: rgba(6, 26, 36, 0.7); }
.hero-isps .planta__selo { color: var(--lima); border-color: rgba(182, 242, 58, 0.5); }
.hero-isps .planta__hora { color: var(--lima); }
.hero-isps .marsec { background: rgba(3, 10, 15, 0.75); border-top-color: rgba(46, 230, 255, 0.25); }
.hero-isps .marsec__rot, .hero-isps .marsec__hash { font-family: var(--tec); }
.hero-isps .marsec__botoes button { font: 700 1.4rem/1 var(--titulo); border-color: rgba(46, 230, 255, 0.34); background: rgba(46, 230, 255, 0.04); }
.hero-isps .marsec__botoes small { font-family: var(--tec); }
.hero-isps .marsec__botoes [aria-pressed="true"] { color: #031006; }
.hero-isps .marsec__botoes [data-nivel="1"] { --cor-b: var(--ciano); }
.hero-isps .marsec__botoes [data-nivel="2"] { --cor-b: var(--ambar); }
.hero-isps .marsec__botoes [data-nivel="3"] { --cor-b: var(--verm); }
.hero-isps .marsec__botoes [aria-pressed="true"] { background: var(--cor-b); border-color: var(--cor-b); box-shadow: 0 0 22px color-mix(in srgb, var(--cor-b) 50%, transparent); }
.hero-isps .hero-cfs__faixa b { letter-spacing: 0.02em; }

/* 01 norma */
.pg-isps .pilares { background: var(--vidro); border-color: var(--borda-neon); border-radius: 4px; }
.pg-isps .pilares__viga { font-family: var(--titulo); font-size: 1.4rem; letter-spacing: 0.02em; color: #fff; background: linear-gradient(180deg, rgba(46, 230, 255, 0.24), rgba(46, 230, 255, 0.06)); border: 1px solid rgba(46, 230, 255, 0.5); box-shadow: 0 0 24px rgba(46, 230, 255, 0.18); }
.pg-isps .pilar__col { background: repeating-linear-gradient(90deg, rgba(46, 230, 255, 0.1) 0 10px, rgba(46, 230, 255, 0.22) 10px 36px, rgba(46, 230, 255, 0.1) 36px 46px); border-color: rgba(46, 230, 255, 0.55); box-shadow: 0 0 16px rgba(46, 230, 255, 0.18); }
.pg-isps .pilar b { font-family: var(--titulo); font-size: 1.2rem; }
.pg-isps .pilares__risco { font-family: var(--tec); }
.pg-isps .exige__lista b { font-family: var(--titulo); font-size: 1.2rem; font-weight: 600; }
.pg-isps .relogio .relogio__arco { stroke: var(--lima); filter: drop-shadow(0 0 5px rgba(182, 242, 58, 0.6)); }
.pg-isps .relogio circle { stroke: rgba(46, 230, 255, 0.14); }
.pg-isps .relogio b { font-family: var(--titulo); font-size: 1.9rem; color: var(--lima); text-shadow: 0 0 14px rgba(182, 242, 58, 0.45); }
.pg-isps .relogio small { font-family: var(--tec); }

/* 02 antes e depois */
.pg-isps .placar { border-left-color: var(--lima); }
.pg-isps .placar__para { font-family: var(--titulo); font-weight: 700; letter-spacing: -0.01em; color: var(--lima); text-shadow: 0 0 34px rgba(182, 242, 58, 0.45); }
.pg-isps .placar__de { font-family: var(--titulo); }
.pg-isps .chave, .pg-isps .matriz__papeis { border-color: var(--linha-forte); background: rgba(46, 230, 255, 0.04); }
.pg-isps .chave button, .pg-isps .matriz__papeis button { font-family: var(--titulo); font-size: 1rem; font-weight: 600; letter-spacing: 0.02em; }
.pg-isps .chave [aria-pressed="true"][data-modo="depois"], .pg-isps .matriz__papeis [aria-selected="true"] { background: var(--lima); color: #031006; box-shadow: 0 0 20px rgba(182, 242, 58, 0.4); }
.pg-isps .comparar__lista dt { font-family: var(--titulo); font-size: 1.15rem; }

/* 03 hub dos submódulos */
.pg-isps .hub__no { font-family: var(--titulo); font-size: 0.875rem; font-weight: 600; background: rgba(4, 18, 25, 0.92); border-color: rgba(46, 230, 255, 0.4); box-shadow: 0 0 12px rgba(46, 230, 255, 0.1); }
.pg-isps .hub__no:hover, .pg-isps .hub__no:focus-visible, .pg-isps .hub__no.ativo { background: rgba(46, 230, 255, 0.14); border-color: var(--ciano); }
.pg-isps .hub__no.ativo { box-shadow: 0 0 0 1px var(--ciano), 0 0 26px rgba(46, 230, 255, 0.45); }
.pg-isps .hub__no--centro { font-size: 1.25rem; font-weight: 700; color: #031006; background: radial-gradient(circle, #d4ff6e, var(--lima) 60%, #7fcf12); border-color: #d4ff6e; box-shadow: 0 0 40px rgba(182, 242, 58, 0.45); }
.pg-isps .hub__no--centro:hover, .pg-isps .hub__no--centro:focus-visible, .pg-isps .hub__no--centro.ativo { color: #031006; background: radial-gradient(circle, #e2ff94, var(--lima) 60%, #7fcf12); border-color: #e2ff94; box-shadow: 0 0 0 4px rgba(182, 242, 58, 0.2), 0 0 46px rgba(182, 242, 58, 0.55); }
.pg-isps .hub-fio { stroke: rgba(46, 230, 255, 0.28); }
.pg-isps .hub-fio.aceso { stroke: var(--lima); filter: drop-shadow(0 0 4px var(--lima)); }
.pg-isps .hub-anel { stroke: rgba(46, 230, 255, 0.16); }
.pg-isps .hub-cluster { font: 600 17px var(--titulo); fill: var(--ciano); letter-spacing: 0.04em; }
.pg-isps .hub__info { border-left-color: var(--lima); }
.pg-isps .hub__info h3 { font-size: 1.7rem; color: #fff; }
.pg-isps .hub__lista li { background: var(--vidro); border-color: var(--borda-neon); }
.pg-isps .hub__lista small { font-family: var(--tec); }
.pg-isps .hub__lista b { font-family: var(--titulo); font-size: 1.15rem; }

/* 04 trilha de auditoria */
.pg-isps .acao { font-family: var(--titulo); font-size: 1rem; font-weight: 600; background: var(--vidro); border-color: var(--borda-neon); }
.pg-isps .acao::before { color: var(--lima); font-family: var(--tec); }
.pg-isps .acao:hover { border-color: var(--lima); box-shadow: 0 0 16px rgba(182, 242, 58, 0.2); }
.pg-isps .cadeia__status { font-family: var(--tec); color: var(--lima); }
.pg-isps .cadeia__status.ruim { color: var(--verm); }
.pg-isps .bloco { font-family: var(--tec); background: rgba(4, 16, 22, 0.86); border-color: rgba(46, 230, 255, 0.28); }
.pg-isps .bloco:not(:last-child)::after { background: var(--ciano); box-shadow: 0 0 6px var(--ciano); }
.pg-isps .bloco__cubo { font-family: var(--titulo); font-size: 0.9375rem; font-weight: 700; color: var(--lima); border-color: rgba(182, 242, 58, 0.5); box-shadow: inset 0 0 14px rgba(182, 242, 58, 0.12); }
.pg-isps .bloco dd.h { color: var(--ciano); }
.pg-isps .bloco.quebrado { border-color: var(--verm); background: rgba(255, 59, 85, 0.08); box-shadow: 0 0 22px rgba(255, 59, 85, 0.2); }
.pg-isps .bloco.quebrado::after { background: var(--verm); box-shadow: 0 0 6px var(--verm); }
.pg-isps .bloco.quebrado .bloco__cubo { color: var(--verm); border-color: var(--verm); box-shadow: inset 0 0 14px rgba(255, 59, 85, 0.15); }

/* 05 multi-porto */
.pg-isps .camada { background: linear-gradient(135deg, rgba(46, 230, 255, 0.1), rgba(46, 230, 255, 0.03)); border-color: rgba(46, 230, 255, 0.42); box-shadow: 0 0 22px rgba(46, 230, 255, 0.08); }
.pg-isps .camada span { font-family: var(--titulo); font-size: 1.5rem; font-weight: 700; }
.pg-isps .camada i { font-family: var(--tec); }
.pg-isps .camada::after { font-family: var(--tec); }
.pg-isps .camadas.foco .camada.ativa { border-color: var(--lima); box-shadow: 0 0 30px rgba(182, 242, 58, 0.3); }
.pg-isps .motor { font-family: var(--titulo); font-size: 1.35rem; font-weight: 700; color: #031006; border: 1px solid #d4ff6e; background: linear-gradient(180deg, #d4ff6e, var(--lima) 55%, #7fcf12); box-shadow: 0 0 34px rgba(182, 242, 58, 0.4); border-radius: 4px; }
.pg-isps .motor b { color: #031006; }

/* 06 papéis */
.pg-isps .matriz__acoes li { background: var(--vidro); border-color: var(--borda-neon); border-radius: 4px; }
.pg-isps .matriz__acoes b { font-family: var(--titulo); font-size: 1.2rem; }
.pg-isps .estado { font-family: var(--tec); }
.pg-isps .estado--total::before { box-shadow: 0 0 8px var(--ciano); }
.pg-isps .estado--verif { color: var(--lima); } .pg-isps .estado--verif::before { background: var(--lima); box-shadow: 0 0 8px var(--lima); }

/* 07 governo digital */
.pg-isps .api__centro { color: #031006; border: 1px solid #d4ff6e; background: linear-gradient(180deg, #d4ff6e, var(--lima) 55%, #7fcf12); box-shadow: 0 0 40px rgba(182, 242, 58, 0.4); border-radius: 4px; }
.pg-isps .api__centro b { font-family: var(--titulo); font-size: 1.5rem; }
.pg-isps .api__centro span { font-family: var(--tec); color: #0b2a06; }
.pg-isps .api__sis li { background: var(--vidro); border-color: var(--borda-neon); border-radius: 4px; }
.pg-isps .api__sis b { font-family: var(--titulo); font-size: 1.1rem; }
.pg-isps .api__sis span { font-family: var(--tec); }
.pg-isps .api__sis li.pulso { border-color: var(--lima); box-shadow: 0 0 18px rgba(182, 242, 58, 0.35); }
.pg-isps .api-fio { stroke: rgba(46, 230, 255, 0.32); }
.pg-isps .api-rot { font-family: var(--tec); fill: var(--ink-2); }

/* 08 painel */
.pg-isps .console { background: #061219; border-color: rgba(46, 230, 255, 0.36); border-radius: 4px; box-shadow: 0 0 40px rgba(46, 230, 255, 0.1); }
.pg-isps .console__corpo { background: rgba(46, 230, 255, 0.16); }
.pg-isps .console__corpo > * { background: #061219; }
.pg-isps .console__topo { background: #08202b; border-bottom-color: rgba(46, 230, 255, 0.36); font-family: var(--tec); }
.pg-isps .console__marca { font-family: var(--titulo); font-size: 0.9375rem; font-weight: 600; color: #fff; }
.pg-isps .console__total b { font-family: var(--titulo); font-size: 3.4rem; font-weight: 700; color: var(--lima); text-shadow: 0 0 24px rgba(182, 242, 58, 0.5); }
.pg-isps .barra { background: rgba(46, 230, 255, 0.12); }
.pg-isps .barra i { background: linear-gradient(90deg, var(--ciano), var(--lima)); box-shadow: 0 0 10px rgba(46, 230, 255, 0.5); }
.pg-isps .console__mods b { font-family: var(--titulo); font-size: 1.1rem; }
.pg-isps .console__mods li > span, .pg-isps .console__mods small, .pg-isps .console__feed { font-family: var(--tec); }
.pg-isps .console__mods i { background: linear-gradient(90deg, var(--ciano), var(--lima)); }

/* 09 tempo do PFSO */
.pg-isps .barras__linha > p:first-child { font-family: var(--titulo); font-size: 1.25rem; }
.pg-isps .barras__trilho i { font-family: var(--titulo); font-size: 1.6rem; font-weight: 700; border-radius: 3px; }
.pg-isps .b-adm { background: repeating-linear-gradient(135deg, #0c1d24 0 10px, #11262e 10px 20px); color: var(--ink-2); border: 1px solid rgba(255, 166, 52, 0.35); }
.pg-isps .b-seg { background: linear-gradient(90deg, #7fcf12, var(--lima) 60%, #d4ff6e); color: #031006; box-shadow: 0 0 26px rgba(182, 242, 58, 0.35); }
.pg-isps .barras__leg { font-family: var(--tec); font-size: 0.75rem; }

/* 10 implantação */
.pg-isps .linha::before { background: rgba(46, 230, 255, 0.16); }
.pg-isps .linha::after { background: linear-gradient(90deg, var(--ciano), var(--lima)); box-shadow: 0 0 10px rgba(46, 230, 255, 0.5); }
.pg-isps .linha li::before { border-color: var(--ciano); box-shadow: 0 0 10px rgba(46, 230, 255, 0.5); }
.pg-isps .linha li:last-child::before { background: var(--lima); border-color: var(--lima); box-shadow: 0 0 12px var(--lima); }
.pg-isps .linha b { font-family: var(--titulo); font-size: 1.25rem; font-weight: 600; }

/* prova e fechamento */
.pg-isps .prova__cartao { background: var(--vidro); border-color: var(--borda-neon); border-radius: 4px; }
.pg-isps .fim h2 { font-weight: 700; }
.pg-isps .fim__tel { font-family: var(--tec); }

@media (max-width: 760px) {
  .hero-isps .planta__barra > span:nth-child(2) { display: none; }
}

/* o cfs.css também define @keyframes pisca (sombra, para outro uso) e vem depois deste arquivo:
   os sensores e o farol da planta usam um nome próprio para continuar piscando */
@keyframes pisca-isps { 50% { opacity: 0.25; } }
.pg-isps .sensor, .pg-isps .farol { animation-name: pisca-isps; }
@media (max-width: 760px) { .pg-isps .barras__trilho i { font-size: 1.05rem; padding: 0 5px; } }
/* NEON-FIM */

/* hub do ISPS em azul; caixas opacas para o fio não aparecer atrás do texto */
.pg-isps .hub__no { background: #04121a; }
.pg-isps .hub__no:hover, .pg-isps .hub__no:focus-visible, .pg-isps .hub__no.ativo { background: #0a3346; color: #fff; }
.pg-isps .hub__no--centro { color: #fff; background: radial-gradient(circle at 50% 40%, #2f7cf0, #1546b8 62%, #0b237f); border-color: #4f9dff; box-shadow: 0 0 40px rgba(46, 140, 255, 0.5); }
.pg-isps .hub__no--centro:hover, .pg-isps .hub__no--centro:focus-visible, .pg-isps .hub__no--centro.ativo { color: #fff; background: radial-gradient(circle at 50% 40%, #4a90ff, #1b56cc 62%, #0d2a90); border-color: #8fc1ff; box-shadow: 0 0 0 4px rgba(46, 140, 255, 0.25), 0 0 48px rgba(46, 140, 255, 0.6); }
.pg-isps .hub-fio.aceso { stroke: var(--ciano); filter: drop-shadow(0 0 4px var(--ciano)); }
.pg-isps .hub__info { border-left-color: var(--ciano); }
/* hub de APIs: o centro volta ao azul aprovado */
.pg-isps .api__centro { background: radial-gradient(circle at 50% 40%, #2f7cf0, #1546b8 62%, #0b237f); border-color: #4f9dff; color: #fff; box-shadow: 0 0 40px rgba(46, 140, 255, 0.45); }
.pg-isps .api__centro b { color: #fff; }
.pg-isps .api__centro span { color: #9fe9ff; }

/* Linha do tempo da implantação: a linha liga o centro do primeiro círculo ao centro do último, passa por trás
   de cada círculo (que é opaco) e não sobra antes do primeiro nem depois do último. Círculo de 16 px com a borda
   dentro (border-box), para o centro bater com a linha de 2 px. */
.linha li::before { box-sizing: border-box; z-index: 1; }
.linha::before, .linha::after { left: 8px; right: calc((100% - 60px) / 4 - 8px); }
@media (max-width: 760px) {
  /* na vertical, um trecho por etapa, de um círculo ao próximo (a altura de cada etapa muda com o texto) */
  .linha::before, .linha::after { display: none; }
  .linha li:not(:last-child)::after {
    content: ""; position: absolute; left: -23px; top: 10px; bottom: -36px; width: 2px;
    background: linear-gradient(180deg, var(--ciano), color-mix(in srgb, var(--ciano) 67%, var(--lima)));
    box-shadow: 0 0 10px rgba(46, 230, 255, 0.5);
    transform-origin: top; transform: scaleY(0); transition: transform 600ms var(--ease-out);
  }
  .linha li:nth-child(2)::after { background: linear-gradient(180deg, color-mix(in srgb, var(--ciano) 67%, var(--lima)), color-mix(in srgb, var(--ciano) 33%, var(--lima))); transition-delay: 500ms; }
  .linha li:nth-child(3)::after { background: linear-gradient(180deg, color-mix(in srgb, var(--ciano) 33%, var(--lima)), var(--lima)); transition-delay: 1000ms; }
  .linha.vista li::after { transform: scaleY(1); }
}
