/* =====================================================================
   Frise du chapitre 1 — aperçu dans la page, puis diapositive plein
   écran déroulée acte par acte (trajectory.js)
   ===================================================================== */

/* ---- Aperçu dans la page ---- */
.trajectory { margin-top: clamp(3rem, 6vw, 5rem); }
.trajectory__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .6rem 2rem; margin-bottom: 1.1rem; }
.trajectory__title { margin-top: .5rem; font-size: clamp(1.1rem, .8rem + 1vw, 1.6rem); color: #fff; }
.trajectory__print, .tj-print { font: 600 var(--t-micro)/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; color: var(--muted); transition: color var(--dur-fast); }
.trajectory__print:hover, .tj-print:hover { color: #fff; }
.trajectory__preview {
  position: relative; overflow: hidden; isolation: isolate;
  border: 1px solid var(--line); border-radius: 22px;
  background: radial-gradient(110% 120% at 0% 0%, rgba(255, 51, 35, .1), transparent 55%), var(--charcoal-3);
  box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .85);
}
.trajectory__thumb { position: relative; transition: filter .5s var(--ease-out), scale .8s var(--ease-out); }
.trajectory__thumb .tj-chart { position: absolute; left: 0; top: 0; transform-origin: 0 0; }
.trajectory__open {
  position: absolute; inset: 0; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: .7rem;
  padding: 0 1rem clamp(1rem, 5%, 2.6rem);
  border: 0; border-radius: inherit; cursor: zoom-in; color: #fff; font: inherit;
  background: linear-gradient(180deg, transparent 42%, rgba(12, 13, 15, .4) 72%, rgba(12, 13, 15, .82));
}
.trajectory__open-pill {
  display: inline-flex; align-items: center; gap: .7rem; padding: .9rem 1.6rem; border-radius: 999px;
  background: var(--neon); box-shadow: 0 12px 34px -8px var(--neon-glow);
  font: 500 clamp(.95rem, .85rem + .4vw, 1.15rem)/1 var(--font-display); letter-spacing: .03em;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.trajectory__open-pill svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.trajectory__open-hint { font: 600 var(--t-micro)/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; text-align: center; color: var(--ink-soft); }
.trajectory__open:hover .trajectory__open-pill, .trajectory__open:focus-visible .trajectory__open-pill { transform: translateY(-2px) scale(1.04); box-shadow: 0 18px 44px -8px var(--neon-glow); }
.trajectory__open:focus-visible { outline: 2px solid var(--neon); outline-offset: -6px; }
.trajectory__preview:hover .trajectory__thumb { filter: brightness(1.12); scale: 1.01; }

/* ---- Fenêtre plein écran : une diapositive 1600 × 900 mise à l'échelle par trajectory.js ---- */
html.has-trajectory { overflow: hidden; }
.tj-modal {
  position: fixed; inset: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none;
  margin: 0; padding: 0; border: 0; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(80% 70% at 8% 0%, rgba(255, 51, 35, .13), transparent 60%),
    radial-gradient(60% 60% at 100% 100%, rgba(79, 163, 227, .07), transparent 60%),
    var(--charcoal-3);
}
.tj-modal::backdrop { background: rgba(6, 7, 9, .92); }
.tj-modal[open] { animation: tj-open .45s var(--ease-out); }
.tj-modal[open] .tj-modal__sizer { animation: tj-rise .6s var(--ease-out); }
@keyframes tj-open { from { opacity: 0; } }
@keyframes tj-rise { from { opacity: 0; translate: 0 18px; } }
.tj-modal__stage { display: flex; width: 100%; height: 100%; overflow: auto; }
.tj-modal__sizer { position: relative; flex: none; margin: auto; }
.tj-modal__close {
  position: absolute; top: 16px; right: 18px; z-index: 3;
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(20, 22, 25, .78); color: #fff; cursor: pointer;
  transition: background-color .2s, border-color .2s, rotate .3s var(--ease-out);
}
.tj-modal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.tj-modal__close:hover { background: var(--neon); border-color: transparent; rotate: 90deg; }

.tj-slide {
  position: absolute; left: 0; top: 0; width: 1600px; height: 900px; transform-origin: 0 0;
  display: grid; grid-template-rows: 108px 702px 42px; row-gap: 10px; padding: 16px 32px 12px;
  font-family: var(--font-body);
}
/* la colonne de droite laisse la place du bouton de fermeture */
.tj-slide__head { display: grid; grid-template-columns: minmax(0, 1fr) 600px; gap: 40px; align-items: end; padding-right: 56px; }
.tj-slide.is-overview .tj-slide__head { grid-template-columns: minmax(0, 1fr) 760px; }
.tj-act__span { display: flex; gap: 10px; max-width: none; font: 700 13px/1 var(--font-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--neon); }
.tj-act__span span + span::before { content: "·"; margin-right: 10px; color: var(--faint); }
.tj-act__title { margin-top: 10px; max-width: none; font: 300 28px/1.1 var(--font-display); color: #fff; }
.tj-act__role { margin-top: 8px; max-width: none; font-size: 15px; line-height: 1.45; color: var(--ink-soft); }
.tj-slide__panel { align-self: stretch; display: flex; align-items: flex-end; min-width: 0; }
.tj-facts { list-style: none; display: grid; gap: 8px; font-size: 14.5px; line-height: 1.38; color: #fff; }
.tj-facts li { position: relative; padding-left: 20px; }
.tj-facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--neon); box-shadow: 0 0 0 3px var(--neon-soft); }
.tj-tallies { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 24px; width: 100%; }
.tj-tally { display: flex; align-items: center; gap: 12px; min-width: 0; }
.tj-tally .tj-prod__node { width: 34px; height: 34px; }
.tj-tally .tj-prod__node .tj-icon { width: 17px; height: 17px; }
.tj-tally__text { display: grid; min-width: 0; }
.tj-tally__value { font: 300 26px/1 var(--font-display); font-variant-numeric: tabular-nums; color: #fff; }
.tj-tally__label { margin-top: 3px; font-size: 11.5px; line-height: 1.2; white-space: nowrap; color: var(--muted); }
.tj-fiche { padding: 2px 0 2px 16px; border-left: 2px solid var(--neon); }
.tj-fiche__kind { max-width: none; font: 700 12px/1.3 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--neon); }
.tj-fiche__title { margin-top: 6px; max-width: none; font: 400 19px/1.2 var(--font-display); color: #fff; }
.tj-fiche__note { margin-top: 6px; max-width: none; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; font-size: 14px; line-height: 1.42; color: var(--ink-soft); }

.tj-slide__chart { position: relative; }
.tj-slide__foot { display: flex; align-items: center; gap: 26px; min-width: 0; }
.tj-nav { display: flex; align-items: center; gap: 6px; }
.tj-nav__dots { list-style: none; display: flex; gap: 6px; }
.tj-nav__dot, .tj-nav__arrow {
  display: inline-grid; place-items: center; height: 34px; min-width: 50px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--muted);
  font: 700 12px/1 var(--font-mono); letter-spacing: .06em; cursor: pointer;
  transition: color .2s, border-color .2s, background-color .2s, opacity .2s;
}
.tj-nav__arrow { width: 34px; min-width: 34px; padding: 0; }
.tj-nav__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.tj-nav__dot:hover, .tj-nav__arrow:hover { color: #fff; border-color: var(--ink-soft); }
.tj-nav__dot[aria-current="true"] { color: #fff; border-color: var(--neon); background: var(--neon-soft); }
.tj-nav__arrow[aria-disabled="true"] { opacity: .3; cursor: default; }
.tj-nav__arrow[aria-disabled="true"]:hover { color: var(--muted); border-color: var(--line-strong); }
.tj-modal__close:focus-visible, .tj-nav__dot:focus-visible, .tj-nav__arrow:focus-visible, .tj-print:focus-visible, .tj-project__card:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; }
.tj-legend { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; font-size: 12px; color: var(--muted); }
.tj-legend li { display: inline-flex; align-items: center; gap: 8px; }
.tj-legend .tj-prod__node, .tj-legend__cap { width: 22px; height: 22px; }
.tj-legend .tj-icon { width: 12px; height: 12px; }
.tj-legend__cap { display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; color: #fff; }
.tj-keys { margin-left: auto; max-width: none; font: 600 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: var(--faint); }
.tj-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.tj-icon { display: block; flex: none; width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Frise dessinée à taille fixe (1536 × 702), mise à l'échelle par son conteneur ---- */
.tj-chart { position: relative; color: var(--ink); font-family: var(--font-body); }
.tj-axis { position: absolute; top: 0; height: 44px; }
.tj-axis__year { position: absolute; top: 2px; translate: -50% 0; font: 700 13px/1 var(--font-mono); font-variant-numeric: tabular-nums; color: var(--faint); transition: color .6s; }
.tj-axis__year.is-passed { color: #fff; }
.tj-axis__tick { position: absolute; top: 22px; width: 1px; height: 8px; background: var(--line-strong); }
.tj-axis__cable { position: absolute; left: 0; right: 0; top: 32px; height: 4px; border-radius: 2px; background: linear-gradient(180deg, #1a1d21, #454a51 45%, #1a1d21); }
.tj-axis__lit { position: absolute; inset: 0; border-radius: inherit; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, rgba(255, 51, 35, .45), var(--neon)); box-shadow: 0 0 10px var(--neon-glow); transition: transform .9s var(--ease-out); }
.tj-axis__pulse { position: absolute; left: -7px; top: 27px; width: 14px; height: 14px; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, var(--neon-2) 60%, var(--neon)); box-shadow: 0 0 0 3px rgba(255, 51, 35, .22), 0 0 18px 5px var(--neon-glow); transition: transform .9s var(--ease-out); }
.tj-axis__ring { position: absolute; left: -16px; top: 18px; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--neon); opacity: 0; pointer-events: none; }
/* Projecteur sur l'acte : bande découpée plutôt que redimensionnée, pour n'animer que la peinture. */
.tj-spot { position: absolute; bottom: 0; pointer-events: none; background: linear-gradient(180deg, rgba(255, 51, 35, .11), rgba(255, 51, 35, .035) 55%, rgba(255, 51, 35, .015)); clip-path: inset(0 var(--r, 0px) 0 var(--l, 0px)); transition: clip-path .9s var(--ease-out), opacity .5s; }
.tj-spot::before, .tj-spot::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(255, 51, 35, .45); transition: transform .9s var(--ease-out); }
.tj-spot::before { transform: translateX(var(--l, 0px)); }
.tj-spot::after { transform: translateX(calc(var(--w, 0px) - var(--r, 0px) - 1px)); }
.tj-spot.is-hidden { opacity: 0; }

.tj-lane { position: absolute; left: 0; right: 0; border-radius: 16px; background: rgba(255, 255, 255, .02); }
.tj-lane.is-alt { background: rgba(255, 255, 255, .038); }
.tj-lane__label {
  position: absolute; left: 0; top: 0; bottom: 0; width: 206px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 7px; padding: 10px 16px;
  border: 1px solid var(--line); border-radius: 16px;
  background: linear-gradient(140deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .015) 70%);
}
.tj-lane__icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255, 51, 35, .45); border-radius: 10px; background: rgba(255, 51, 35, .1); color: var(--neon); box-shadow: 0 0 18px rgba(255, 51, 35, .2); }
.tj-lane__icon .tj-icon { width: 18px; height: 18px; }
.tj-lane__index { position: absolute; top: 10px; right: 14px; font: 300 24px/1 var(--font-display); color: rgba(255, 255, 255, .14); }
.tj-lane__name { font: 400 15px/1.2 var(--font-display); color: #fff; }
.tj-lane__sub { font-size: 11px; line-height: 1.35; color: var(--muted); }
.tj-lane__items, .tj-lane__layer { position: absolute; top: 0; bottom: 0; margin: 0; padding: 0; list-style: none; }
.tj-lane__layer { pointer-events: none; }

.tj-item {
  position: absolute;
  transition: opacity .6s var(--ease-out), translate .6s var(--ease-out);
  transition-delay: min(calc(var(--i, 0) * 30ms), 600ms);
}
.tj-item.is-future { opacity: 0; translate: 0 10px; pointer-events: none; }
.tj-item.is-past { opacity: .4; }
.tj-item:focus-visible { outline: 2px solid var(--neon); outline-offset: 3px; border-radius: 10px; }

/* Co-encadrement : même carte pour tous, sans code couleur ; son fond s'emplit au fil de la période. */
.tj-person {
  display: flex; align-items: center; gap: 9px; height: 40px; padding: 0 12px 0 6px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  background: rgba(255, 255, 255, .03);
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, .6);
}
.tj-person.is-current { border-color: rgba(255, 255, 255, .55); }
.tj-person__icon, .tj-person__text { position: relative; }
.tj-person__icon { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; }
.tj-person__icon .tj-icon { width: 15px; height: 15px; }
.tj-person__text { display: grid; min-width: 0; }
.tj-person__name { overflow: hidden; font-size: 13.5px; font-weight: 700; line-height: 1.2; white-space: nowrap; text-overflow: ellipsis; color: #fff; }
.tj-person__type { font: 600 10.5px/1.25 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--muted); }
.tj-person__defense {
  position: absolute; top: 50%; left: 100%; display: grid; place-items: center; width: 24px; height: 24px; margin: -12px 0 0 -12px;
  border: 1px solid rgba(255, 255, 255, .75); border-radius: 50%; background: var(--charcoal-2); color: #fff;
  opacity: 0; scale: .5; transition: opacity .4s .6s, scale .4s .6s var(--ease-out);
}
.tj-person__defense .tj-icon { width: 13px; height: 13px; }
.tj-person.is-done .tj-person__defense { opacity: 1; scale: 1; }

/* Remplissage en fondu des cartes personne et des bandes : la largeur du fondu suit la longueur de l'élément. */
.tj-fill { position: absolute; inset: 0; overflow: hidden; border-radius: inherit; pointer-events: none; }
.tj-fill__layer {
  --fade: 56px;
  position: absolute; top: 0; bottom: 0; left: 0; width: calc(100% + var(--fade));
  background: linear-gradient(90deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .2) calc(100% - var(--fade)), rgba(255, 255, 255, 0));
  transform: translateX(-100%);
  transition: transform 1.2s var(--ease-out) calc(min(var(--i, 0) * 30ms, 600ms) + .2s);
}
.tj-ribbon .tj-fill__layer { --fade: 96px; transition-duration: 1.6s; }

.tj-ribbon { height: 20px; border: 1px solid var(--line-strong); border-radius: 10px; background: rgba(255, 255, 255, .03); }
.tj-ribbon__content { position: relative; display: flex; align-items: center; gap: 5px; height: 100%; padding: 0 9px; overflow: hidden; white-space: nowrap; }
.tj-ribbon__text { overflow: hidden; text-overflow: ellipsis; font-size: 10.5px; font-weight: 700; color: #fff; }
.tj-ribbon__ref { flex: none; padding: 1px 7px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; background: rgba(12, 13, 15, .5); font: 700 9.5px/1.3 var(--font-mono); letter-spacing: .04em; color: var(--ink-soft); }
.tj-ribbon__text + .tj-ribbon__ref { margin-left: 5px; }
/* activité continue : les références se répartissent sur toute la durée de la bande */
.tj-ribbon.is-spread .tj-ribbon__content { justify-content: space-between; }

/* Rayonnement : pastille ronde (photo ou icône), libellé dessous ; l'étage bas évite les voisins. */
.tj-event { width: 0; height: 36px; }
.tj-event__disc {
  position: absolute; left: -18px; top: 0; display: grid; place-items: center; width: 36px; height: 36px; overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 50%; background: var(--charcoal); color: #fff;
  box-shadow: 0 8px 18px -6px rgba(0, 0, 0, .7); transition: border-color .4s, box-shadow .4s;
}
.tj-event__disc img { width: 100%; height: 100%; object-fit: cover; }
.tj-event__disc .tj-icon { width: 17px; height: 17px; }
.tj-event.is-current .tj-event__disc { border-color: var(--neon); box-shadow: 0 0 0 4px rgba(255, 51, 35, .2), 0 0 20px rgba(255, 51, 35, .4); }
.tj-event__text { position: absolute; left: 0; top: 42px; translate: -50% 0; display: grid; justify-items: center; gap: 3px; width: max-content; max-width: 160px; text-align: center; }
.tj-event.is-low .tj-event__text { top: 70px; }
.tj-event.is-low::after { content: ""; position: absolute; left: 0; top: 40px; height: 26px; border-left: 1px dashed var(--line-strong); }
.tj-event__year { font: 700 10.5px/1 var(--font-mono); letter-spacing: .04em; color: var(--muted); }
.tj-event__label { font-size: 12px; font-weight: 700; line-height: 1.2; color: #fff; }
.tj-event:focus-visible { outline: none; }
.tj-event:focus-visible .tj-event__disc { outline: 2px solid var(--neon); outline-offset: 3px; }

/* Projets : recto image en fondu à droite, verso détaillé ; la carte retournée passe devant et s'allonge. */
.tj-project {
  z-index: 1; height: 112px; perspective: 1400px;
  transition: opacity .6s var(--ease-out), translate .6s var(--ease-out), height .5s var(--ease-out);
}
.tj-project.is-flipped { z-index: 4; height: 176px; }
/* Deux projets simultanés : demi-cartes empilées, comme dans la figure 1 du manuscrit. */
.tj-project.is-half { height: 54px; }
.tj-project.is-half .tj-project__body { flex-direction: row; flex-wrap: wrap; justify-content: flex-start; align-content: center; align-items: center; gap: 3px 6px; padding: 4px 36px 4px 12px; }
.tj-project.is-half .tj-project__years { font-size: 10px; }
.tj-project.is-half .tj-project__budget { order: 1; padding: 2px 5px; font-size: 10px; }
.tj-project.is-half .tj-project__title { order: 2; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 13px; line-height: 1.1; }
.tj-project.is-half .tj-project__summary { order: 3; flex-basis: 100%; display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 10px; line-height: 1.2; }
.tj-project__card {
  position: relative; display: block; width: 100%; height: 100%; padding: 0;
  border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transform-style: preserve-3d; transition: transform .7s var(--ease-out);
}
.tj-project.is-flipped .tj-project__card { transform: rotateY(180deg); }
.tj-project__face {
  position: absolute; inset: 0; overflow: hidden;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: linear-gradient(160deg, #23262b, #16181b 70%);
  box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .75);
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.tj-project.is-accent .tj-project__face { border-color: rgba(255, 51, 35, .65); box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .75), 0 0 24px -6px rgba(255, 51, 35, .45); }
.tj-project__img {
  position: absolute; top: 0; right: 0; width: 64%; height: 100%; object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); mask-image: linear-gradient(90deg, transparent, #000 60%);
  transition: scale .6s var(--ease-out);
}
.tj-project__card:hover .tj-project__img { scale: 1.05; }
/* le voile sombre sous le texte garde l'image visible à droite sans gêner la lecture à gauche */
.tj-project__body { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; height: 100%; padding: 12px 14px; background: linear-gradient(90deg, rgba(22, 24, 27, .92), rgba(22, 24, 27, .6) 55%, rgba(22, 24, 27, 0) 85%); }
.tj-project__years { font: 700 11px/1 var(--font-mono); letter-spacing: .1em; white-space: nowrap; color: var(--neon-2); }
.tj-project__title { font: 400 16px/1.15 var(--font-display); color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.tj-project__budget { align-self: flex-start; padding: 3px 7px; border: 1px solid rgba(255, 51, 35, .6); border-radius: 4px; background: rgba(255, 51, 35, .18); font: 700 11px/1 var(--font-mono); letter-spacing: .06em; white-space: nowrap; color: #fff; }
.tj-project__summary { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; font-size: 11.5px; line-height: 1.32; color: var(--ink-soft); text-shadow: 0 1px 8px rgba(0, 0, 0, .9); }
.tj-project__hint {
  position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 24px; height: 24px;
  border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(12, 13, 15, .72); color: #fff;
  transition: rotate .4s var(--ease-out), background-color .2s;
}
.tj-project__hint .tj-icon { width: 12px; height: 12px; }
.tj-project__card:hover .tj-project__hint { background: var(--neon); rotate: -90deg; }
.tj-project__back { display: flex; flex-direction: column; gap: 3px; padding: 9px 12px; transform: rotateY(180deg); background: linear-gradient(160deg, #2a1c1c, #16181b 75%); }
.tj-project__head { display: block; padding-right: 26px; margin-bottom: 2px; }
.tj-project__back .tj-project__title { font-size: 13px; text-shadow: none; }
.tj-project__point { position: relative; display: block; padding-left: 11px; font-size: 11px; line-height: 1.27; color: var(--ink-soft); }
.tj-project__point::before { content: ""; position: absolute; left: 0; top: .5em; width: 5px; height: 5px; border-radius: 50%; background: var(--neon); }

/* Productions : les icônes de la « Production scientifique de l'axe », un badge pour le nombre. */
.tj-prod { width: 24px; height: 24px; }
.tj-prod__node {
  position: relative; display: grid; place-items: center; width: 24px; height: 24px;
  border: 1.5px solid color-mix(in srgb, var(--neon) 55%, var(--line)); border-radius: 50%;
  background: var(--charcoal-2); color: var(--neon); box-shadow: 0 0 12px var(--neon-soft);
}
.tj-prod__node .tj-icon { width: 13px; height: 13px; }
.tj-prod__count { position: absolute; top: -8px; right: -8px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: #fff; color: var(--charcoal-3); font: 800 10px/17px var(--font-body); text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .5); }
.tj-prod.is-current .tj-prod__node { border-color: var(--neon); box-shadow: 0 0 0 3px var(--neon-soft), 0 0 14px var(--neon-glow); }
.tj-prod:focus-visible { border-radius: 50%; }

/* Fonctions : courbe de carrière, la photo la gravit d'acte en acte. */
.tj-career { position: absolute; left: 0; top: 0; overflow: visible; transition: clip-path .9s var(--ease-out); }
.tj-career__glow { fill: none; stroke: rgba(255, 51, 35, .35); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; filter: blur(4px); }
.tj-career__line { fill: none; stroke: var(--neon); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tj-avatar { position: absolute; left: 0; top: 0; z-index: 2; width: 52px; height: 52px; padding: 3px; border-radius: 50%; background: var(--charcoal-2); box-shadow: 0 0 0 2px var(--neon), 0 0 26px 6px var(--neon-glow); }
.tj-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.tj-role { display: grid; gap: 3px; white-space: nowrap; }
.tj-role__name { font: 400 14px/1.25 var(--font-display); color: #fff; }
.tj-role__team { display: flex; align-items: baseline; gap: 6px; font-size: 11.5px; color: var(--ink-soft); }
.tj-role__subject { max-width: 228px; white-space: normal; font-size: 11.5px; line-height: 1.3; font-style: italic; color: var(--ink-soft); }
.tj-role__size { font: 300 24px/1 var(--font-display); color: var(--neon); }
.tj-role__meta { font: 600 11px/1.2 var(--font-mono); color: var(--muted); }
.tj-pin { width: 18px; height: 18px; margin: -9px 0 0 -9px; }
.tj-pin__diamond { position: absolute; left: 3px; top: 3px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 2px; background: var(--charcoal-2); rotate: 45deg; }
.tj-pin__text { position: absolute; font-size: 11.5px; line-height: 1.3; white-space: nowrap; color: var(--ink-soft); }
.tj-pin__text b { font-weight: 700; color: #fff; }
.tj-pin.is-above .tj-pin__text { bottom: 22px; }
.tj-pin.is-below .tj-pin__text { top: 22px; }
.tj-pin.is-low .tj-pin__text { top: 50px; }
.tj-pin.is-end .tj-pin__text { right: 0; }
.tj-pin.is-center .tj-pin__text { left: 50%; translate: -50% 0; }
.tj-pin:not(.is-current) .tj-pin__text { display: none; }
.tj-training { top: 170px; width: 12px; height: 12px; margin-left: -6px; }
.tj-training.is-low { top: 182px; }
.tj-training__dot { position: absolute; left: 2px; top: 2px; width: 8px; height: 8px; border: 1.5px solid var(--ink-soft); border-radius: 50%; background: var(--charcoal-2); }
.tj-training__text { position: absolute; left: 16px; top: -1px; font-size: 11px; line-height: 1.2; white-space: nowrap; color: var(--muted); }
.tj-training__text b { font-weight: 700; color: var(--ink-soft); }
.tj-training.is-end .tj-training__text { left: auto; right: 16px; }
.tj-training:not(.is-current) .tj-training__text { display: none; }

@media (max-width: 640px) {
  .trajectory__open-pill { padding: .7rem 1.2rem; }
  .trajectory__open-hint { display: none; }
}
