/* ── parcours.css ── */

/* En-têtes des deux colonnes */
.timeline-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.timeline-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border);
}

.timeline-col-header.school { border-color: var(--accent); }
.timeline-col-header.work   { border-color: #16a34a; }

.col-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.school .col-icon { background: var(--accent-light); }
.work   .col-icon { background: var(--green-light); }

.col-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.school .col-title { color: var(--accent); }
.work   .col-title { color: var(--green); }

/* Timeline verticale dans chaque colonne */
.timeline {
  position: relative;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 10px; bottom: 10px;
  width: 2px;
  border-radius: 1px;
}

.school-col .timeline::before { background: linear-gradient(to bottom, var(--accent), var(--border)); }
.work-col   .timeline::before { background: linear-gradient(to bottom, var(--green), var(--border)); }

.timeline-item {
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -29px; top: 20px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 0 3px var(--bg);
}

.school-col .timeline-item::before { border: 2.5px solid var(--accent); }
.work-col   .timeline-item::before { border: 2.5px solid var(--green); }

.tl-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: all 0.25s;
}

.school-col .tl-card:hover { border-color: var(--accent); box-shadow: var(--shadow); transform: translateX(4px); }
.work-col   .tl-card:hover { border-color: var(--green);  box-shadow: var(--shadow); transform: translateX(4px); }

.tl-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.tl-date {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}

.school-col .tl-date { color: var(--accent); background: var(--accent-light); }
.work-col   .tl-date { color: var(--green);  background: var(--green-light); }

.tl-role {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 3px;
}

.tl-place { font-size: 12px; color: var(--muted); font-weight: 500; margin-bottom: 8px; }

.tl-desc { font-size: 13px; color: var(--muted); line-height: 1.75; margin-bottom: 10px; }

.tl-tags { display: flex; flex-wrap: wrap; gap: 5px; }

/* Responsive */
@media (max-width: 700px) {
  .timeline-wrapper {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
