/* NT PROCON — écran de chargement */

.procon-loader,
.loading.procon-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0c10;
  overflow: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.procon-loader.is-hidden,
.loading.procon-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.procon-loader__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.procon-loader__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 16, 0.5) 0%, rgba(10, 12, 16, 0.92) 100%);
}

.procon-loader__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 158, 11, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 158, 11, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
}

.procon-loader__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 28rem;
}

.procon-loader__title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  letter-spacing: 0.06em;
}

.procon-loader__tagline {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  margin: 0 0 1.5rem;
  line-height: 1.5;
}

.procon-loader__sectors {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}

.procon-loader__sector {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.procon-loader__sector.is-active {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.45);
  background: rgba(245, 158, 11, 0.12);
}

.procon-loader__progress-wrap {
  width: 100%;
  max-width: 240px;
  height: 3px;
  margin: 0 auto 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.procon-loader__progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #d97706, #fbbf24);
  border-radius: 999px;
  transition: width 0.15s ease;
}

.procon-loader__percent {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fbbf24;
  margin: 0 0 0.35rem;
  letter-spacing: 0.08em;
}

.procon-loader__status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  letter-spacing: 0.04em;
}

.site__wrap {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.site__wrap.is-visible {
  opacity: 1 !important;
}

@media (prefers-reduced-motion: reduce) {
  .procon-loader,
  .site__wrap {
    transition: none;
  }
}
