/* Composant autonome extrait de la section #process du site Swiss Voice Tour. */
.svt-process {
  --svt-gold: #c9a84c;
  --svt-cream: #faf8f4;
  --svt-gap: 2px;
  --svt-visible: 6;
  box-sizing: border-box;
  width: 100%;
  overflow: hidden;
  padding: 56px 16px;
  background: #000;
  color: var(--svt-cream);
  font-family: "DM Sans", Arial, sans-serif;
  text-align: center;
}

.svt-process *, .svt-process *::before, .svt-process *::after { box-sizing: border-box; }
.svt-process h2, .svt-process h3, .svt-process p { margin: 0; }
.svt-process button { font: inherit; }

.svt-process__container { width: 100%; max-width: 1456px; margin: 0 auto; }
.svt-process__header { max-width: 640px; margin: 0 auto 56px; }
.svt-process__label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--svt-gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.svt-process__label::before { content: ""; width: 32px; height: 1px; background: var(--svt-gold); }
.svt-process__title {
  margin-bottom: 20px !important;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
}
.svt-process__title em { color: var(--svt-gold); }
.svt-process__subtitle { color: rgba(250, 248, 244, .78); font-size: 16px; line-height: 1.6; }

.svt-process__carousel { touch-action: pan-y; }
.svt-process__viewport { position: relative; overflow: hidden; }
.svt-process__viewport::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 44px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(201, 168, 76, .3) 15%, rgba(201, 168, 76, .3) 85%, transparent);
  pointer-events: none;
}
.svt-process__track {
  position: relative;
  z-index: 1;
  display: flex;
  gap: var(--svt-gap);
  will-change: transform;
  transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}
.svt-process__step {
  flex: 0 0 calc((100% - (var(--svt-visible) - 1) * var(--svt-gap)) / var(--svt-visible));
  min-width: 0;
  padding: 0 20px;
}
.svt-process__number {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border: 1px solid var(--svt-gold);
  border-radius: 50%;
  background: #000;
  color: var(--svt-gold);
  font-family: "Bebas Neue", Impact, sans-serif;
  font-size: 32px;
  line-height: 1;
  transition: background .3s, color .3s;
}
.svt-process__step:hover .svt-process__number { background: var(--svt-gold); color: #000; }
.svt-process__step h3 { margin-bottom: 10px; color: #fff; font-family: "Playfair Display", Georgia, serif; font-size: 18px; font-weight: 400; line-height: 1.3; }
.svt-process__step p { color: rgba(250, 248, 244, .5); font-size: 13px; font-weight: 300; line-height: 1.7; }

.svt-process__controls { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 40px; }
.svt-process__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(201, 168, 76, .35);
  border-radius: 50%;
  background: transparent;
  color: var(--svt-gold);
  cursor: pointer;
  font-size: 16px;
  line-height: 1;
  transition: background .2s, border-color .2s, color .2s, opacity .2s;
}
.svt-process__button:hover:not(:disabled) { border-color: var(--svt-gold); background: var(--svt-gold); color: #000; }
.svt-process__button:disabled { opacity: .28; cursor: default; }
.svt-process__button:focus-visible, .svt-process__dot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.svt-process__dots { display: flex; align-items: center; gap: 8px; }
.svt-process__dot { width: 20px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: #666; cursor: pointer; transition: background .3s, width .3s; }
.svt-process__dot.is-active { width: 40px; background: var(--svt-gold); }
.svt-process__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 1024px) {
  .svt-process { --svt-visible: 2; }
}
@media (max-width: 640px) {
  .svt-process { --svt-visible: 1; padding: 56px 20px; }
  .svt-process__header { margin-bottom: 44px; }
  .svt-process__step { padding: 0 12px; }
  .svt-process__viewport::before { left: 50%; right: 0; }
  .svt-process__dots { gap: 6px; }
  .svt-process__dot { width: 14px; }
  .svt-process__dot.is-active { width: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .svt-process__track, .svt-process__number, .svt-process__dot { transition: none; }
}
