/* Camping Miami Plage — repères visuels du parcours touristique. */
.camping-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;
}
.camping-page .case-features {
  gap: 18px;
  background: transparent;
}
.camping-page .case-feature {
  padding: 28px;
  border: 1px solid #403448;
  background: #19151f;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.camping-page .case-feature:nth-child(3n + 1) {
  background: #231c2c;
}
.camping-feature-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.camping-page .camping-feature-top .case-number {
  margin: 0;
  font-size: 22px;
  opacity: 0.65;
}
.camping-icon-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid #705980;
  border-radius: 30px 30px 4px 4px;
  background: #2b2236;
}
.camping-page .case-feature h3 {
  font-size: 23px;
  line-height: 1.25;
}
.camping-page .case-diagram {
  border: 0;
  padding: 0;
}
.camping-page .case-node-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.camping-page .case-branches {
  position: relative;
  padding-top: 24px;
}
.camping-page .case-branches::before {
  content: '';
  position: absolute;
  height: 24px;
  width: 1px;
  background: #9779aa;
  top: 0;
  left: 50%;
}
.camping-page .case-branches > span {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
  padding: 18px 14px;
}
.camping-page .case-branches .camping-icon {
  width: 24px;
  height: 24px;
}
.camping-page .case-tech > .camping-icon {
  display: block;
  margin-bottom: 24px;
  width: 40px;
  height: 40px;
}
.camping-page section[aria-labelledby='camping-stays'] .case-tech {
  padding: 30px;
  border: 1px solid #493b54;
  background: linear-gradient(150deg, #2a2035, #17141d);
}
.camping-page section[aria-labelledby='camping-stays'] .case-tech > .camping-icon {
  width: 76px;
  height: 76px;
  padding: 16px;
  box-sizing: content-box;
  border-radius: 60px 60px 0 0;
  background: #372945;
  margin-bottom: 30px;
  stroke-width: 1;
}
.camping-page .case-flow {
  padding: 0;
  list-style: none;
}
.camping-page .case-flow li {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px;
  border-left: 2px solid #9c80b3;
}
.camping-journey {
  margin-top: 45px;
  padding: 30px;
  border: 1px solid #45364f;
  background: #1a1521;
}
.camping-journey-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  color: #c1b2ee;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.camping-replay {
  font: inherit;
  letter-spacing: 0;
  border: 1px solid #725980;
  background: transparent;
  color: #eee7f5;
  padding: 12px 16px;
  cursor: pointer;
}
.camping-replay:focus-visible {
  outline: 2px solid #c1b2ee;
  outline-offset: 4px;
}
.camping-journey ol {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.camping-journey li {
  position: relative;
}
.camping-step-icon {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid #84699a;
  border-radius: 50%;
  background: #21192c;
}
.camping-journey li:not(:last-child)::after {
  content: '';
  position: absolute;
  height: 2px;
  left: 64px;
  width: calc(100% - 40px);
  top: 32px;
  background: linear-gradient(90deg, #ec039f, #a212da, #3b4ef4);
  transform-origin: left;
}
.camping-step-number {
  display: block;
  color: #ab92c0;
  font-size: 11px;
  margin: 22px 0 9px;
}
.camping-page .camping-journey h3 {
  font-size: 22px;
  margin: 0 0 10px;
}
.camping-page .camping-journey li p {
  font-size: 13px;
  margin: 0;
}
.camping-page .camping-journey-note {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid #41334b;
  font-size: 12px;
  color: #c1b2ee;
}
.camping-journey.is-playing .camping-step-icon {
  animation: camping-arrive 0.65s ease both;
  animation-delay: calc(var(--step) * 0.95s);
}
.camping-journey.is-playing li::after {
  animation: camping-connect 0.95s ease both;
  animation-delay: calc(var(--step) * 0.95s + 0.3s);
}
@keyframes camping-arrive {
  from {
    transform: translateY(8px);
    background: #21192c;
  }
  to {
    transform: translateY(0);
    background: #463355;
    border-color: #d0b5e4;
  }
}
@keyframes camping-connect {
  from {
    transform: scaleX(0);
    opacity: 0.2;
  }
  to {
    transform: scaleX(1);
    opacity: 1;
  }
}
@media (hover: hover) {
  .camping-page .case-feature:hover {
    background: #2b2136;
    border-color: #9c80b3;
  }
}
@media (max-width: 700px) {
  .camping-journey {
    padding: 22px;
  }
  .camping-journey-head {
    align-items: flex-start;
    flex-direction: column;
  }
  .camping-journey ol {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .camping-journey li {
    padding-left: 86px;
    min-height: 88px;
  }
  .camping-step-icon {
    position: absolute;
    left: 0;
    top: 0;
  }
  .camping-step-number {
    margin: 0 0 8px;
  }
  .camping-journey li:not(:last-child)::after {
    left: 31px;
    width: 2px;
    top: 64px;
    height: calc(100% - 36px);
    transform-origin: top;
  }
  @keyframes camping-connect {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  .camping-page .case-branches {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .camping-journey *,
  .camping-journey li::after {
    animation: none !important;
  }
  .camping-page .case-feature {
    transition: none;
  }
}
.camping-page section[aria-labelledby='camping-stays'] .case-tech-grid + .case-prose {
  margin-top: 28px;
}
.camping-page #camping-features + .case-features {
  margin-top: clamp(28px, 4vw, 56px);
}

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