/* ==========================================================================
   NeoMundi — Pilotes & Usages (page dédiée)
   Local draft only. Extends style.css — does not modify it.
   ========================================================================== */

/* ---------- Page header (compact, not full-viewport hero) ---------- */
.page-header {
  position: relative;
  padding-top: calc(var(--header-h) + 66px);
  padding-bottom: 80px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
body { overflow-x: hidden; }
.page-header .hero-bg { opacity: 0.7; }

.back-button {
  margin-bottom: 28px;
}

.page-header-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 4.6vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 820px;
  margin-bottom: 26px;
}

.page-header-intro {
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--muted);
  max-width: 680px;
  line-height: 1.7;
  margin-bottom: 22px;
}

.page-header-statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--off-white);
  max-width: 680px;
}

/* ---------- Technologies & environnements pilotes (bandeau défilant) ---------- */
.tech-band {
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line);
}
.tech-band-label {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-dim);
  margin-bottom: 28px;
}

/* Bandeau animé (par défaut) */
.tech-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.tech-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 40px;
  animation: tech-marquee-scroll 42s linear infinite;
}
.tech-band:hover .tech-marquee-track {
  animation-play-state: paused;
}
.tech-marquee-item {
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16.5px;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.tech-marquee-item img {
  display: block;
  height: 22px;
  width: auto;
  filter: grayscale(1) brightness(1.6);
  opacity: 0.8;
}
.tech-marquee-sep {
  color: var(--line-strong);
  font-size: 12px;
}
@keyframes tech-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Version statique et accessible : masquée visuellement par défaut (sr-only),
   révélée si l'utilisateur préfère un mouvement réduit. */
.tech-band-static {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
.tech-band-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 40px;
}
.tech-band-item {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--muted);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .tech-marquee { display: none; }
  .tech-band-static {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip: auto;
    white-space: normal;
    margin-top: 4px;
  }
}

/* ---------- Pilot cards grid ---------- */
.pilot-grid {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .pilot-grid { grid-template-columns: 1fr; }
}

.pilot-card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: var(--radius);
  padding: 32px 30px;
}

.pilot-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.pilot-family {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  max-width: 70%;
}

/* ---------- Status badges ---------- */
.pilot-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--off-white);
  white-space: nowrap;
}
.pilot-status::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}
.pilot-status--validated {
  border-color: rgba(60, 232, 240, 0.4);
}
.pilot-status--validated::before { background: var(--cyan); }

.pilot-status--progress {
  border-color: rgba(59, 95, 255, 0.45);
}
.pilot-status--progress::before { background: var(--electric-blue); }

.pilot-status--documented {
  border-color: rgba(255, 255, 255, 0.32);
}
.pilot-status--documented::before { background: var(--muted); }

/* ---------- Brand wordmark ---------- */
.pilot-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin-bottom: 20px;
}

/* ---------- Flow chain ---------- */
.pilot-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 20px;
}
.pilot-flow strong {
  color: var(--off-white);
  font-weight: 600;
}
.pilot-flow-arrow {
  color: var(--muted-dim);
  flex-shrink: 0;
}

/* ---------- Disclosure detail ---------- */
.pilot-details {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.pilot-details summary {
  cursor: pointer;
  list-style: none;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 8px;
}
.pilot-details summary::-webkit-details-marker { display: none; }
.pilot-details summary::before {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  font-size: 13px;
  flex-shrink: 0;
}
.pilot-details[open] summary::before { content: '\2212'; }

.pilot-details-body {
  margin-top: 16px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}
.pilot-details-body strong {
  color: var(--off-white);
  font-weight: 600;
}
.pilot-note {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted-dim);
  font-style: italic;
}

/* ---------- Disabled technical link ---------- */
.pilot-link-disabled {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 12.5px;
  color: var(--muted-dim);
  border-bottom: 1px dashed var(--line-strong);
  padding-bottom: 2px;
  cursor: default;
  user-select: none;
}

/* ---------- Partner-content validation banner (draft only, easy to remove) ---------- */
.partner-validation-banner {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  text-align: center;
  background: var(--bg-alt);
}
.partner-validation-banner p {
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-dim);
}
