/* Scena Corsa : pictogrammes et hiérarchie visuelle de l’étude de cas. */
.scena-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: #c1b2ee;
}
.scena-page .scena-features {
  background: transparent;
  gap: 18px;
  margin-top: 40px;
}
.scena-page .scena-features .case-feature {
  padding: 28px;
  border: 1px solid #39313f;
  background: #18151d;
  position: relative;
  transition:
    border-color 250ms,
    background 250ms;
}
.scena-page .scena-features .case-feature:nth-child(3n + 1) {
  background: #211a2b;
}
.scena-feature-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 25px;
}
.scena-page .scena-feature-heading .case-number {
  margin: 0;
  font-size: 22px;
  opacity: 0.7;
}
.scena-icon-badge {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #715b82;
  background: #282033;
  border-radius: 15px 3px 15px 3px;
}
.scena-page .case-feature h3 {
  font-size: 24px;
  line-height: 1.25;
}
.scena-page .case-feature p {
  font-size: 14px;
}
.scena-page .case-node-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 24px;
}
.scena-page .case-diagram {
  border: none;
  padding: 0;
}
.scena-page .case-branches {
  position: relative;
  padding-top: 25px;
}
.scena-page .case-branches::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  height: 25px;
  width: 1px;
  background: #b788c9;
}
.scena-page .case-branches > span {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 18px 14px;
  font-size: 13px;
}
.scena-page .case-branches .scena-icon {
  width: 24px;
  height: 24px;
}
.scena-page .case-flow {
  list-style: none;
  padding: 0;
}
.scena-page .case-flow li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-left: 2px solid #b788c9;
}
.scena-page .case-tech > .scena-icon {
  display: block;
  margin-bottom: 23px;
}

.scena-page .case-journey {
  margin-top: 45px;
  padding-top: 28px;
  border-top: 1px solid #49404f;
}
.scena-page .case-journey ol {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 25px;
  padding: 0;
  list-style: none;
}
.scena-page .case-journey li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  font-size: 13px;
}
.scena-page .case-journey li::after {
  content: '';
  position: absolute;
  left: 46px;
  right: 0;
  top: 15px;
  height: 1px;
  background: #8e6aa4;
  margin: 0;
}
.scena-page .case-journey li:last-child::after {
  display: none;
}
.scena-guide-mark {
  width: 82px;
  height: 82px;
  margin-bottom: 28px;
  color: #c1b2ee;
}
.scena-guide-mark svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.2;
}
.scena-guide-mark svg path {
  fill: #30223d;
}
@media (hover: hover) {
  .scena-page .scena-features .case-feature:hover {
    border-color: #a689ba;
    background: #251d30;
  }
}
@media (max-width: 700px) {
  .scena-page .scena-features .case-feature {
    padding: 23px;
  }
  .scena-page .case-journey ol {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .scena-page .case-journey li {
    flex-direction: row;
    align-items: center;
    padding-bottom: 26px;
    gap: 20px;
  }
  .scena-page .case-journey li::after {
    left: 15px;
    top: 34px;
    bottom: 4px;
    right: auto;
    height: auto;
    width: 1px;
  }
}
@media (max-width: 420px) {
  .scena-page .case-branches {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .scena-page .scena-features .case-feature {
    transition: none;
  }
}

/* Center the icon and label as one group on mobile. */
@media (max-width: 760px) {
  .scena-page .case-branches > span {
    justify-content: center;
    text-align: center;
  }
}
