.acc-page {
  background: var(--bg);
  color: var(--white);
}

.acc-intro-hero {
  padding: 64px 52px 120px;
}

.acc-intro-wrap {
  max-width: 980px;
}

.acc-kicker {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.acc-main-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(3rem, 7vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.05em;
  margin-bottom: 24px;
}

.acc-main-text {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.8;
}

/* .hscroll-wrap/.hscroll-sticky/.hscroll-track structure is generic, defined in dista-main.css.
   Each step is a full-viewport-width panel sliding horizontally inside the pinned track. */
.hscroll-track { gap: 0; position: relative; height: 100%; }

/* Single timeline spanning the whole track (all steps), so the line visually
   links every numbered dot instead of each panel having its own short line. */
.acc-timeline {
  position: absolute;
  top: 120px;
  left: 0;
  height: 0;
  z-index: 4;
}
.acc-timeline-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--border);
}
.acc-timeline-dot {
  position: absolute;
  top: 0;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--bg);
  font-size: .95rem;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(232, 255, 71, 0.18);
}

/* Mobile: panels fall back to natural content height (no definite viewport
   height to anchor the shared timeline against), and only one panel is
   visible at a time in the swipe carousel, so a line "linking all steps"
   isn't meaningful there either. Swap it for a simple per-panel badge. */
.acc-step-chip-mobile { display: none; }

.acc-step-screen {
  position: relative;
  flex-shrink: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  }
.acc-step-screen:first-child { border-left: none; }

.acc-step-screen-grid {
  position: relative;
  width: 100%;
  padding: 0 52px;
}

.acc-step-screen-center {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  
  margin: 0 auto;
}

.acc-word-lockup {
  position: relative;
  display: inline-block;
  width: fit-content;
  max-width: calc(100% - 72px);
  margin: 0 auto;
}

.acc-giant-word {
  position: relative;
  z-index: 2;
  margin: 0;
  display: inline-block;
  width: auto;
  max-width: 100%;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(4.8rem, 10.2vw, 10rem);
  font-weight: 800;
  line-height: .88;
  white-space: nowrap;
  text-align: center;
}

.acc-copy-eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.acc-step-screen-text {
  max-width: 800px;
  margin: 0 auto;
  padding: 50px 20px 0px 20px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

@media (max-width: 900px) {
  .acc-intro-hero {
    padding: 48px 24px 80px;
  }

  .acc-timeline { display: none; }

  .acc-step-chip-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--bg);
    font-size: .85rem;
    font-weight: 700;
    margin: 0 auto 20px;
  }

  .acc-step-screen-grid {
    padding: 60px 24px;
  }

  .acc-step-screen {
    border-left: none;
    scroll-snap-align: start;
    width: 88vw; /* the next step peeks in, so it is obvious the row scrolls */
  }
  .hscroll-track { padding-left: 7vw; padding-right: 7vw; scroll-padding-left: 7vw; }
  .acc-step-screen:first-child { border-top: none; }

  .acc-giant-word {
    width: 100%;
    white-space: normal;
    font-size: clamp(3.8rem, 13vw, 7rem);
  }

  .acc-word-lockup {
    width: 100%;
    max-width: 100%;
  }

  .acc-step-screen-text {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  .acc-main-title {
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  .acc-timeline-dot {
    width: 34px;
    height: 34px;
    font-size: .82rem;
  }

  .acc-giant-word {
    font-size: clamp(3rem, 15vw, 5.4rem);
    line-height: .9;
  }

  .acc-step-screen-text {
    font-size: .92rem;
    line-height: 1.72;
  }
}

.acc-step-result { padding-top: 22px; color: var(--accent); font-weight: 500; font-size: .92rem; }

/* ── MÉTHODE : étapes (même langage que les cartes Offres) ── */
.acc-step-screen .mt-step { width: 100%; max-width: 1240px; margin: 0 auto; padding: 150px 52px 40px; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 4fr); gap: 64px; align-items: center; }
.mt-title { font-family: 'Roboto', sans-serif; font-weight: 800; letter-spacing: -.04em; line-height: 1; font-size: clamp(3rem, 6.4vw, 6.2rem); margin: 28px 0 26px; color: var(--test); }
.mt-title, .mt-title em { color: var(--test); }
.mt-title em { font-style: normal; }
.mt-text { font-size: 1.1rem; line-height: 1.8; max-width: 560px; color: var(--muted); }
.mt-card { background: var(--surface); border-radius: 26px; padding: 24px 26px 28px; box-shadow: 0 34px 70px -30px rgba(7, 0, 53, .5); rotate: 2deg; }
.mt-card--dark { background: #0B0638; color: #F4F1FF; rotate: -2deg; }
.mt-card-head { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: .95rem; margin-bottom: 26px; }
.mt-card-head em { font-style: normal; margin-left: auto; font-size: .7rem; font-weight: 500; opacity: .55; text-transform: uppercase; letter-spacing: .08em; }
.mt-card-ico { width: 52px; height: 52px; padding: 12px; border-radius: 18px; background: var(--bg); color: var(--accent); }
.mt-card--dark .mt-card-ico { background: rgba(255, 255, 255, .14); color: #85EFE3; }
.mt-card-text { margin-top: 22px; font-weight: 500; font-size: 1.15rem; line-height: 1.5; letter-spacing: -.01em; }
.acc-timeline-dot { background: var(--surface); color: var(--accent); box-shadow: var(--shadow-sm); font-weight: 800; }
@media (max-width: 900px) {
  .acc-step-screen .mt-step { grid-template-columns: 1fr; gap: 28px; padding: 48px 28px 96px 4px; }
  .mt-title { font-size: clamp(2.6rem, 11vw, 4.2rem); margin: 18px 0 16px; }
  .mt-card, .mt-card--dark { rotate: 0deg; }
}
