/* ==========================================================================
   Page « Parcours » (recruteurs)
   S'appuie sur landing.css (variables, boutons), booking.css (en-tête)
   et legal.css (pied de page).
   ========================================================================== */

/* ---------- En-tête de page ---------- */
/* Le panneau (fond sombre, grain, halos) vient de .hero__panel dans landing.css */
.pc-hero-section .hero__panel { min-height: min(calc(100svh - 24px), 860px); }
.pc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.pc-hero .label { color: var(--on-dark-muted); }
.pc-hero h1 {
  margin: 24px 0 22px;
  font-size: clamp(2.5rem, 5.6vw, 5.2rem);
  max-width: 15ch;
}
.pc-hero h1 span { color: var(--accent); }
.pc-hero__lead { max-width: 36em; color: var(--on-dark-muted); font-size: clamp(1.02rem, 1.3vw, 1.15rem); }
.pc-hero__meta {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 28px 0 32px; padding: 0; list-style: none;
}
.pc-hero__meta li {
  padding: 7px 12px;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: var(--on-dark);
}
.pc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pc-hero__photo {
  margin: 0;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  overflow: hidden;
}
.pc-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---------- Sections ---------- */
.pc-section { padding-top: clamp(56px, 8vw, 104px); }
.pc-head { margin-bottom: clamp(24px, 3vw, 40px); }
.pc-head h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.8vw, 3rem); }

/* ---------- Chiffres ---------- */
.pc-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
}
.pc-stat {
  padding: clamp(22px, 2.6vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.pc-stat:nth-child(3n) { border-right: 0; }
.pc-stat:nth-last-child(-n+3) { border-bottom: 0; }
.pc-stat strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}
.pc-stat strong span { color: var(--accent); }
.pc-stat p { font-size: 0.93rem; color: var(--muted); }

/* ---------- Expériences ---------- */
.pc-timeline { margin: 0; padding: 0; list-style: none; }
.pc-job {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 16px clamp(24px, 4vw, 56px);
  padding: clamp(24px, 3vw, 36px) 0;
  border-top: 1px solid var(--line);
}
.pc-job:last-child { border-bottom: 1px solid var(--line); }
.pc-job__when {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.pc-job__company { font-size: 1.35rem; letter-spacing: -0.02em; }
.pc-job__place { margin-top: 4px; font-size: 0.9rem; color: var(--muted); }
.pc-job__role { font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.pc-job__summary { margin-top: 8px; color: var(--ink-2); }
.pc-job ul { margin: 18px 0 0; padding: 0; list-style: none; }
.pc-job li {
  position: relative;
  padding: 10px 0 10px 22px;
  border-top: 1px dashed var(--line);
  font-size: 0.96rem;
  color: var(--ink-2);
}
.pc-job li::before {
  content: "";
  position: absolute; left: 2px; top: 19px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
}
.pc-job li strong { color: var(--ink); }

/* ---------- Compétences ---------- */
.pc-skills {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pc-skill {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pc-skill h3 { margin-bottom: 16px; font-size: 1.1rem; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pc-tags li {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 0.88rem;
}
.pc-langs { margin: 0; padding: 0; list-style: none; }
.pc-langs li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 9px 0;
  border-top: 1px dashed var(--line);
  font-size: 0.95rem;
}
.pc-langs li:first-child { border-top: 0; padding-top: 0; }
.pc-langs span { color: var(--muted); text-align: right; }

/* ---------- Formation ---------- */
.pc-edu {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0; padding: 0; list-style: none;
}
.pc-edu li {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.pc-edu__when { font-family: var(--mono); font-size: 0.78rem; color: var(--accent); }
.pc-edu h3 { margin: 10px 0 6px; font-size: 1.08rem; }
.pc-edu p { font-size: 0.93rem; color: var(--muted); }
.pc-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  font-size: 0.8rem;
  font-weight: 600;
}

.pc-interests { margin-top: 20px; color: var(--muted); font-size: 0.95rem; }
.pc-interests strong { color: var(--ink); font-weight: 500; }

/* ---------- Contact ---------- */
.pc-contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: clamp(56px, 8vw, 104px);
  margin-bottom: clamp(40px, 6vw, 72px);
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}
.pc-contact h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); max-width: 16em; }
.pc-contact p { margin-top: 10px; color: var(--muted); }
.pc-contact__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pc-contact .btn--ghost { color: var(--ink); }
.pc-contact .btn--ghost:hover { background: var(--surface-2); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pc-hero { grid-template-columns: minmax(0, 1fr); }
  .pc-hero__photo { width: 180px; order: -1; }
  .pc-job { grid-template-columns: minmax(0, 1fr); }
  .pc-skills,
  .pc-edu { grid-template-columns: minmax(0, 1fr); }
  .pc-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-stat:nth-child(3n) { border-right: 1px solid var(--line); }
  .pc-stat:nth-child(2n) { border-right: 0; }
  .pc-stat:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .pc-stat:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 560px) {
  .pc-stats { grid-template-columns: minmax(0, 1fr); }
  .pc-stat { border-right: 0 !important; border-bottom: 1px solid var(--line) !important; }
  .pc-stat:last-child { border-bottom: 0 !important; }
  .pc-hero__actions .btn,
  .pc-contact__actions .btn { width: 100%; justify-content: center; }
}
