/* One continuous route, horizontal on desktop and vertical on mobile. */
.studio-journey {
  position: relative;
  margin-top: 60px;
}
.journey-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.journey-lines path {
  fill: none;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.journey-track {
  stroke: #49404f;
}
.journey-draw {
  stroke: url(#journey-gradient);
  stroke-dasharray: 1;
  stroke-dashoffset: var(--journey-offset, 1);
  stroke-linecap: round;
}
.journey-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 55px 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.journey-step {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  min-width: 0;
}
.journey-step:nth-child(4) {
  grid-column: 3;
  grid-row: 2;
}
.journey-step:nth-child(5) {
  grid-column: 2;
  grid-row: 2;
}
.journey-step:nth-child(6) {
  grid-column: 1;
  grid-row: 2;
}
.journey-step:nth-child(7) {
  grid-column: 1;
  grid-row: 3;
}
.journey-step:nth-child(8) {
  grid-column: 2;
  grid-row: 3;
}
.journey-step:nth-child(9) {
  grid-column: 3;
  grid-row: 3;
}
.journey-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px solid #746280;
  border-radius: 50%;
  background: #1d1927;
  color: #c1b2ee;
  transition:
    border-color 0.4s,
    background 0.4s,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.journey-icon svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.journey-icon::after {
  content: '';
  position: absolute;
  right: 3px;
  top: 3px;
  width: 7px;
  height: 7px;
  border: 3px solid #1d1927;
  box-sizing: content-box;
  background: #6c587c;
  border-radius: 50%;
  transition: background 0.4s;
}
.journey-step.is-reached .journey-icon {
  color: #f2f0e9;
  border-color: #cf73e9;
  background: #34223d;
  transform: translateY(-3px);
}
.journey-step.is-reached .journey-icon::after {
  background: #ec039f;
}
.journey-index {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #c1b2ee;
  background: #1d1927;
  padding: 0 8px;
}
.identity-inner .journey-step h3 {
  font-size: 22px;
  margin: 7px 0;
  background: #1d1927;
  padding-inline: 12px;
}
.identity-inner .journey-step p {
  color: #aaa9b2;
  font-size: 13px;
  background: #1d1927;
  padding-inline: 10px;
}
.identity-inner .studio-journey + .about-principle {
  border-top: 1px solid #49404f;
  padding-top: 32px;
  margin-top: 55px;
  font-size: clamp(18px, 2vw, 25px);
  max-width: 900px;
}
@media (max-width: 700px) {
  .studio-journey {
    margin-top: 40px;
  }
  .journey-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }
  .journey-step {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    text-align: left;
    align-items: start;
    column-gap: 22px;
  }
  .journey-icon {
    width: 62px;
    height: 62px;
    grid-row: 1 / 4;
    align-self: center;
  }
  .journey-icon svg {
    width: 27px;
    height: 27px;
  }
  .journey-index {
    padding: 0;
    margin: 0;
  }
  .identity-inner .journey-step h3 {
    font-size: 21px;
    padding: 0;
    margin: 5px 0;
  }
  .identity-inner .journey-step p {
    font-size: 12px;
    padding: 0;
  }
  .journey-step.is-reached .journey-icon {
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-icon,
  .journey-icon::after {
    transition: none;
  }
}

/* Competences : pictogrammes assortis au parcours. */
.skill-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.skill-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #746280;
  border-radius: 50%;
  color: var(--lavender, #c1b2ee);
  background: #1d1927;
  transition:
    border-color 250ms ease,
    color 250ms ease,
    transform 250ms ease;
}
.skill-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.identity-inner .skill-heading .case-number {
  margin: 0;
  opacity: 0.65;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .about-skills-grid .case-feature:hover .skill-icon {
    border-color: #ec039f;
    color: #f2f0e9;
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .skill-icon {
    transition: none;
  }
}
