/* ========================================
   ADVANCED PROCESS CARDS
   Préfixe: apc-
   ======================================== */

/* Grille horizontale */
.apc-grid {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Carte */
.apc-card {
  flex: 1;
  max-width: 280px;
}

.apc-card-inner {
  position: relative;
  background: rgba(6, 12, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 0 22px 24px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.apc-card-inner:hover {
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Barre accent top */
.apc-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
}

/* Header terminal */
.apc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  margin-bottom: 12px;
}

.apc-code {
  font-family: 'Space Mono', monospace;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
}

.apc-status {
  display: flex;
  align-items: center;
  gap: 5px;
}

.apc-status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.4);
}

.apc-status-text {
  font-family: 'Space Mono', monospace;
  font-size: 7px;
  color: #22c55e;
  letter-spacing: 1.5px;
  font-weight: 700;
}

/* Numéro glow */
.apc-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 10px;
}

/* Icône */
.apc-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border: 1px solid;
  transition: box-shadow 0.3s ease;
}

.apc-card-inner:hover .apc-icon-box {
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.05);
}

.apc-icon-box svg {
  width: 22px;
  height: 22px;
}

/* Titre */
.apc-title {
  font-family: 'Exo 2', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 4px;
  line-height: 1.2;
}

/* Tag */
.apc-tag {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Description */
.apc-desc {
  font-family: 'Exo 2', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Connecteur flèche */
.apc-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
  align-self: center;
}

/* Scroll reveal */
.apc-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.apc-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .apc-grid {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }

  .apc-card {
    flex: 0 0 calc(50% - 30px);
    max-width: 300px;
  }

  .apc-connector {
    display: none;
  }
}

@media (max-width: 600px) {
  .apc-grid {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .apc-card {
    flex: none;
    width: 100%;
    max-width: 400px;
  }

  .apc-connector {
    display: none;
  }
}
