/* ==========================================
   PROFIL PILOTE DRONECONNECT — TELEPILOTE v6.0
   Depends on tokens.css
   ========================================== */

/* ===== PILOT HERO ===== */
.tp-pilot-hero {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.tp-pilot-hero-avatar {
  width: 72px;
  height: 72px;
  background: var(--tp-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.tp-pilot-hero-info { flex: 1; min-width: 200px; }
.tp-pilot-hero-label {
  color: var(--tp-orange);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.tp-pilot-hero h1 {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: 6px;
}
.tp-pilot-hero-meta {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
}

/* ===== PILOT BODY ===== */
.tp-pilot-body {
  max-width: var(--tp-container-sm);
  margin: 0 auto;
  padding: 0 20px 48px;
}
.tp-pilot-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.tp-pilot-section h2 {
  color: var(--tp-navy);
  font-size: 1.15rem;
  margin-bottom: 14px;
}

/* ===== PILOT INFO SIDEBAR ===== */
.tp-pilot-info-card {
  background: var(--tp-gray-50);
  border-radius: var(--tp-radius-lg);
  padding: 20px;
  border: 1px solid var(--tp-gray-200);
  margin-bottom: 16px;
}
.tp-pilot-info-card h3 {
  color: var(--tp-navy);
  font-size: 1rem;
  margin-bottom: 12px;
}
.tp-pilot-info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .85rem;
}
.tp-pilot-info-item strong {
  color: var(--tp-navy);
  display: block;
}
.tp-pilot-info-item .tp-value-orange {
  color: var(--tp-orange);
  font-weight: 600;
}
.tp-pilot-info-item .tp-value-teal {
  color: var(--tp-teal);
  font-weight: 600;
}
.tp-pilot-info-item .tp-value-muted {
  color: var(--tp-gray-700);
}

/* ===== MATERIEL LIST ===== */
.tp-pilot-materiel {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.tp-pilot-materiel li {
  padding: 4px 0;
  color: var(--tp-gray-700);
  font-size: .88rem;
}
.tp-pilot-materiel li::before {
  content: '\2192 ';
  color: var(--tp-teal);
}

/* ===== RELATED LINKS ===== */
.tp-pilot-related {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}
.tp-pilot-related-card {
  display: block;
  padding: 16px;
  background: var(--tp-white);
  border: 1px solid var(--tp-gray-200);
  border-radius: var(--tp-radius);
  text-decoration: none;
  color: inherit;
  transition: var(--tp-transition);
}
.tp-pilot-related-card:hover { box-shadow: var(--tp-shadow-xs); }
.tp-pilot-related-card strong {
  color: var(--tp-navy);
  font-size: .9rem;
  display: block;
}
.tp-pilot-related-card p {
  color: var(--tp-teal);
  font-size: .82rem;
  margin: 4px 0 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .tp-pilot-layout { grid-template-columns: 1fr; }
  .tp-pilot-related { grid-template-columns: 1fr; }
  .tp-pilot-hero { text-align: center; flex-direction: column; }
}
