/* Lenis continua atendendo à navegação por âncoras do site. */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-stopped{overflow:hidden}

#conteudo { position: relative; }
.board-stage {
  --board-height: clamp(224px, 28vw, 470px);
  position: relative;
  display: grid;
  place-items: center;
  height: var(--board-height);
  overflow: hidden;
  background: #07172b;
}
.pcb {
  display: block;
  width: max(100%, calc(var(--board-height) * 3.75));
  height: 100%;
  max-width: none;
  position: absolute;
  inset-block: 0;
  left: 50%;
  transform: translateX(-50%);
}
.pcb-current { stroke: #78e5ff; stroke-width: 3; opacity: .82; }
.pcb-contacts { fill: #78e5ff; }

.circuit {
  position: absolute;
  left: 0;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.circuit-track {
  fill: none;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.circuit-copper { stroke: #5286a7; stroke-opacity: .35; stroke-width: 1.25; }
.circuit-current { stroke: #24b9ef; stroke-width: 1.8; }
.circuit-pad { fill: #738f9d; stroke: #b4c5ce; stroke-width: 1; }
.circuit-pad.is-powered { fill: #28c9fb; stroke: #d9f7ff; }

@media (max-width: 540px) {
  .board-stage { --board-height: 224px; }
  .circuit-copper { stroke-width: 1; }
  .circuit-current { stroke-width: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
  .board-stage .pcb, .pcb-current, .pcb-contacts { opacity: 1 !important; }
}
