.rastre-note {
  margin-top: 1.25rem;
}

.prose-block--tight p {
  margin-bottom: 0.85rem;
}

.prose-block--tight p:last-child {
  margin-bottom: 0;
}

.rastre-prose-section {
  max-width: 820px;
  margin: 0 auto;
}

.rastre-prose-section .service-catalog__title {
  margin-bottom: 1rem;
}

.rastre-subhead {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-bright);
  margin: 1.75rem 0 0.75rem;
}

/* Três frentes */
.rastre-pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

@media (max-width: 900px) {
  .rastre-pillar-grid {
    grid-template-columns: 1fr;
  }
}

.rastre-pillar-card {
  padding: 1.35rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.rastre-pillar-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  border-radius: 12px;
  color: var(--gold-bright);
  background: linear-gradient(
    145deg,
    rgba(201, 162, 39, 0.12) 0%,
    rgba(201, 162, 39, 0.04) 100%
  );
  border: 1px solid rgba(201, 162, 39, 0.22);
}

.rastre-pillar-card__icon svg {
  display: block;
}

.rastre-pillar-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
  line-height: 1.25;
}

.rastre-pillar-card__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

/* Slots para diagramas */
.rastre-diagram-slot {
  margin: 1.75rem 0 0;
  padding: 0;
  border: none;
}

.rastre-diagram-slot__inner {
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  border-radius: var(--radius);
  border: 2px dashed rgba(201, 162, 39, 0.35);
  background: rgba(5, 8, 15, 0.35);
}

.rastre-diagram-slot--wide .rastre-diagram-slot__inner {
  min-height: 220px;
}

.rastre-diagram-slot--tall .rastre-diagram-slot__inner {
  min-height: 280px;
}

.rastre-diagram-slot__label {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gold-bright);
}

.rastre-diagram-slot__hint {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  max-width: 520px;
}

.rastre-diagram-slot__hint code {
  font-size: 0.78rem;
  color: rgba(201, 162, 39, 0.85);
}

.rastre-diagram-slot__caption {
  margin-top: 0.65rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Diagramas com imagem real */
.rastre-diagram-figure {
  margin: 1.75rem 0 0;
  padding: 0;
}

.rastre-diagram-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
}

.rastre-diagram-figure__caption {
  margin-top: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.45;
}

.rastre-diagram-figure--wide .rastre-diagram-img {
  max-height: min(70vh, 560px);
  object-fit: contain;
}

.rastre-diagram-figure--tall .rastre-diagram-img {
  max-height: min(85vh, 720px);
  object-fit: contain;
}

[data-theme="light"] .rastre-diagram-img {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

/* Demo portal RFID — rastreabilidade */
.rastre-portal-demo {
  margin-top: 2rem;
}

.rastre-portal-demo__intro {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0 0 0.85rem;
  max-width: 52rem;
}

.rastre-portal-stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 280px);
  gap: 1rem;
  align-items: stretch;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  padding: 0.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.rastre-portal-canvas-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
  box-shadow: inset 0 0 40px rgba(5, 8, 15, 0.25);
  overflow: hidden;
}

/* --- CONTAINER DA ANIMAÇÃO 3D — portal rastre (escopado: não afeta a home) --- */
.rastre-portal-canvas-wrap .factory-floor {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 450;
  height: auto;
  background: #050809;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.rastre-portal-canvas-wrap #factoryCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

/* Status (HUD) e log: sobre a marca d’água ATHIERIA e acima do portal (canvas z-index 2) */
.rastre-portal-canvas-wrap .hud-overlay.rastre-portal-hud {
  z-index: 15;
}

.rastre-portal-canvas-wrap #rastre-portal-last {
  z-index: 14;
  position: absolute;
  top: 26%;
  bottom: auto;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  font-size: 11px;
  color: #888 !important;
  margin: 0;
  max-width: min(92%, 480px);
  text-align: center;
  pointer-events: none;
  line-height: 1.4;
  font-weight: 500 !important;
}

/* Demo doca — cartão com grade de telemetria */
.rastre-dock-demo {
  margin-top: 2rem;
}

.dock-simulation-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
  overflow: hidden;
}

.dock-simulation-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  align-items: stretch;
}

@media (min-width: 768px) {
  .dock-simulation-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  }

  .dock-simulation-wrapper .rastre-dock-container {
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: none;
  }

  .dock-simulation-wrapper .dock-telemetry-panel {
    border-radius: 0 var(--radius) var(--radius) 0;
  }
}

@media (max-width: 767px) {
  .dock-simulation-wrapper .rastre-dock-container {
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: none;
  }

  .dock-simulation-wrapper .dock-telemetry-panel {
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 1px solid var(--border);
  }
}

.rastre-dock-container {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 450;
  height: auto;
  background: #05080f;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

#rastreDockCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.dock-telemetry-panel {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.15rem 1.1rem;
  background: rgba(5, 8, 15, 0.92);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.dock-telemetry-panel .panel-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.dock-telemetry-panel .telemetry-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: baseline;
  font-size: 0.78rem;
}

.dock-telemetry-panel .telemetry-item strong {
  font-weight: 600;
  color: var(--muted);
}

.dock-telemetry-panel .telemetry-item span {
  font-weight: 600;
  font-family: ui-monospace, monospace;
  font-size: 0.8rem;
  color: var(--gold-bright);
}

.dock-telemetry-panel .panel-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.4rem 0 0.35rem;
  opacity: 0.85;
}

.dock-telemetry-panel .log-entry {
  font-size: 0.72rem;
  line-height: 1.45;
  color: #94a3b8;
  margin: 0;
}

[data-theme="light"] .dock-simulation-card {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .rastre-dock-container {
  background: #e8edf4;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 0 48px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .dock-telemetry-panel {
  background: #f8fafc;
  color: var(--muted);
}

[data-theme="light"] .dock-telemetry-panel .panel-title {
  color: var(--black);
}

[data-theme="light"] .dock-telemetry-panel .log-entry {
  color: #64748b;
}

[data-theme="light"] .dock-telemetry-panel .panel-divider {
  border-top-color: rgba(15, 23, 42, 0.12);
}

/* Demo Poka-Yoke — fundição → zona crítica */
.rastre-pokayoke-demo {
  margin-top: 2rem;
}

.pokayoke-simulation-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
  overflow: hidden;
}

@media (min-width: 768px) {
  .pokayoke-simulation-wrapper {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    align-items: stretch;
  }

  .pokayoke-simulation-wrapper .pokayoke-main-container {
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: none;
  }

  .pokayoke-simulation-wrapper .pokayoke-telemetry-panel {
    border-radius: 0 var(--radius) var(--radius) 0;
  }
}

@media (max-width: 767px) {
  .pokayoke-simulation-wrapper .pokayoke-main-container {
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom: none;
  }

  .pokayoke-simulation-wrapper .pokayoke-telemetry-panel {
    border-radius: 0 0 var(--radius) var(--radius);
    border-top: 1px solid var(--border);
  }
}

.pokayoke-main-container {
  position: relative;
  width: 100%;
  aspect-ratio: 900 / 400;
  height: auto;
  background: linear-gradient(180deg, #0c1220 0%, #05080f 45%, #0a1528 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.pokayoke-main-container #pokayokeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.emergency-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  background: rgba(127, 29, 29, 0.82);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.emergency-overlay.emergency-overlay--active {
  opacity: 1;
  visibility: visible;
  pointer-events: none;
}

.emergency-siren {
  margin-top: 0.5rem;
  padding: 0.45rem 0.75rem;
  max-width: 96%;
  font-family: var(--font-display);
  font-size: clamp(0.62rem, 2.1vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-align: center;
  color: #fef2f2;
  text-shadow: 0 0 20px rgba(254, 242, 242, 0.5);
  animation: pk-siren-pulse 0.9s ease-in-out infinite;
}

@keyframes pk-siren-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.88;
    transform: scale(1.02);
  }
}

.pokayoke-telemetry-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem 1.15rem 1.15rem;
  background: rgba(5, 8, 15, 0.92);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted);
}

.pokayoke-telemetry-panel .panel-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.pokayoke-telemetry-panel .panel-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.15rem 0 0.35rem;
  opacity: 0.85;
}

.status-badge {
  display: inline-block;
  padding: 0.28rem 0.55rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
}

.badge-standby {
  color: #94a3b8;
  background: rgba(30, 41, 59, 0.85);
  border-color: rgba(148, 163, 184, 0.35);
}

.badge-transit {
  color: #7dd3fc;
  background: rgba(14, 116, 144, 0.25);
  border-color: rgba(56, 189, 248, 0.45);
}

.badge-reading {
  color: #fde68a;
  background: rgba(201, 162, 39, 0.2);
  border-color: rgba(201, 162, 39, 0.45);
}

.badge-ok {
  color: #bbf7d0;
  background: rgba(22, 163, 74, 0.28);
  border-color: rgba(34, 197, 94, 0.5);
}

.badge-error {
  color: #fecaca;
  background: rgba(185, 28, 28, 0.45);
  border-color: rgba(248, 113, 113, 0.55);
}

.badge-cooldown {
  color: #cbd5e1;
  background: rgba(51, 65, 85, 0.5);
  border-color: rgba(148, 163, 184, 0.35);
}

.pokayoke-telemetry-panel .telemetry-grid {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.pokayoke-telemetry-panel .data-item {
  font-size: 0.78rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  align-items: baseline;
}

.pokayoke-telemetry-panel .data-item strong {
  font-weight: 600;
  color: var(--muted);
}

.pokayoke-telemetry-panel .data-item span:not(.status-badge) {
  font-weight: 600;
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--gold-bright);
}

.pokayoke-telemetry-panel .data-item span.status-badge {
  font-family: var(--font-display), system-ui, sans-serif;
  letter-spacing: 0.06em;
}

.pokayoke-telemetry-panel .log-entry {
  margin: 0;
  padding: 0.55rem 0.65rem;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #94a3b8;
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

[data-theme="light"] .pokayoke-simulation-wrapper {
  background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .pokayoke-main-container {
  background: linear-gradient(180deg, #eef2f7 0%, #e2e8f0 50%, #f1f5f9 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    inset 0 0 40px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .pokayoke-telemetry-panel {
  background: #f8fafc;
  color: var(--muted);
}

[data-theme="light"] .pokayoke-telemetry-panel .panel-title {
  color: var(--black);
}

[data-theme="light"] .pokayoke-telemetry-panel .log-entry {
  background: #f1f5f9;
  color: #64748b;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] .pokayoke-telemetry-panel .panel-divider {
  border-top-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] .badge-standby {
  color: #64748b;
  background: #e2e8f0;
  border-color: #cbd5e1;
}

.rastre-portal-telemetry {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(145deg, var(--bg-elevated) 0%, rgba(201, 162, 39, 0.06) 100%);
}

.rastre-portal-telemetry__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-bright);
}

.rastre-portal-telemetry__dl {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.rastre-portal-telemetry__row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  font-size: 0.88rem;
}

.rastre-portal-telemetry__row--full {
  grid-template-columns: 1fr;
}

.rastre-portal-telemetry__row dt {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.rastre-portal-telemetry__row dd {
  margin: 0;
  font-weight: 600;
  color: var(--white);
  text-align: right;
}

.rastre-portal-telemetry__row--full dd {
  text-align: left;
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.45;
}

.rastre-portal-code {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid rgba(201, 162, 39, 0.28);
  color: var(--gold-bright);
}

.rastre-portal-last {
  color: var(--muted) !important;
  font-weight: 500 !important;
}

@media (max-width: 900px) {
  .rastre-portal-stage {
    grid-template-columns: 1fr;
  }

  .rastre-portal-telemetry {
    order: -1;
  }
}

.rastre-portal-hud {
  position: absolute;
  left: 50%;
  top: 17%;
  bottom: auto;
  transform: translateX(-50%);
  max-width: 94%;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold-bright);
  background: rgba(10, 18, 36, 0.78);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 6px;
  pointer-events: none;
  min-height: 1.2em;
  transition: opacity 0.25s var(--ease), color 0.25s var(--ease);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.rastre-portal-hud:empty {
  opacity: 0;
  padding: 0;
  border: none;
  min-height: 0;
  box-shadow: none;
}

.rastre-portal-hud--read {
  color: #7dd3fc;
  border-color: rgba(125, 211, 252, 0.45);
}

.rastre-portal-hud--ok {
  color: #86efac;
  border-color: rgba(134, 239, 172, 0.45);
}

[data-theme="light"] .rastre-portal-stage {
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .rastre-portal-canvas-wrap {
  background: linear-gradient(180deg, #f8fafc 0%, #e8edf4 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 0 32px rgba(15, 23, 42, 0.05);
}

[data-theme="light"] .rastre-portal-telemetry {
  background: linear-gradient(145deg, #ffffff 0%, rgba(201, 162, 39, 0.08) 100%);
}

[data-theme="light"] .rastre-portal-telemetry__row dd {
  color: var(--black);
}

[data-theme="light"] .rastre-portal-code {
  background: rgba(201, 162, 39, 0.12);
  color: var(--gold);
}

[data-theme="light"] .rastre-portal-hud {
  background: rgba(255, 255, 255, 0.92);
  color: var(--gold);
}

[data-theme="light"] .rastre-portal-hud--read {
  color: #0369a1;
  border-color: rgba(3, 105, 161, 0.35);
}

[data-theme="light"] .rastre-portal-hud--ok {
  color: #15803d;
  border-color: rgba(21, 128, 61, 0.35);
}

/* Mini grid — pontos de aplicação */
.rastre-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 900px) {
  .rastre-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .rastre-mini-grid {
    grid-template-columns: 1fr;
  }
}

.rastre-mini-card {
  padding: 1.1rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.rastre-mini-card__tag {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.rastre-mini-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}

/* Topologias */
.rastre-topology-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rastre-topology-item {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.15rem 1.35rem;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.rastre-topology-item__icon {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: var(--gold-bright);
  background: linear-gradient(
    145deg,
    rgba(201, 162, 39, 0.14) 0%,
    rgba(201, 162, 39, 0.05) 100%
  );
  border: 1px solid rgba(201, 162, 39, 0.28);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.rastre-topology-item__svg {
  display: block;
}

.rastre-topology-item__body {
  min-width: 0;
  flex: 1;
}

.rastre-topology-item__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.rastre-topology-item__text {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Camadas ADC */
.rastre-layer-stack {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rastre-layer-card {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
  padding: 1.25rem 1.35rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.rastre-layer-card__num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold-bright);
  border: 2px solid rgba(201, 162, 39, 0.45);
  border-radius: 12px;
  background: rgba(201, 162, 39, 0.08);
}

.rastre-layer-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
}

.rastre-layer-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.section--flush-top {
  padding-top: 0.5rem;
}

.rastre-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rastre-bullets li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--muted);
  line-height: 1.55;
  font-size: 1rem;
}

.rastre-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 7px;
  height: 7px;
  background: var(--gold-bright);
  border-radius: 2px;
  opacity: 0.9;
}

.prose--compact {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.prose--compact:last-child {
  margin-bottom: 0;
}

.rastre-rfid-head {
  margin-bottom: 1.25rem;
  text-align: left;
}

.rastre-rfid-head .section-title {
  margin-bottom: 0.35rem;
}

.section-sub--left {
  text-align: left;
  margin: 0;
}

.advantage-rfid--compact {
  gap: 0.65rem;
  grid-template-columns: 1fr !important;
}

.advantage-rfid--compact li {
  padding: 0.75rem 1rem;
}

.prose-block {
  max-width: 820px;
}

.prose-block p {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.prose-block p:last-child {
  margin-bottom: 0;
}

.advantage-rfid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .advantage-rfid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.advantage-rfid li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.advantage-rfid__num {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
  opacity: 0.9;
}

.advantage-rfid__text {
  color: var(--white);
  font-weight: 500;
  line-height: 1.45;
}
