/* ─── Layout photo + étapes côte à côte ──────────────── */
.ccm-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: start;
}

/* ─── Photo vélos — collée à droite, sticky ──────────── */
.ccm-photo-col {
  position: sticky;
  top: calc(var(--nav-h) + 2rem);
}
.ccm-photo {
  border-radius: var(--r);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  aspect-ratio: 3/4;
}
.ccm-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Cadre sur les vélos, pas sur le ciel */
  object-position: center 80%;
  display: block;
}

/* ─── Étapes ──────────────────────────────────────────── */
.ccm-steps {
  display: flex;
  flex-direction: column;
}
.ccm-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.25rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
}
.ccm-step:last-child {
  border-bottom: none;
}
.ccm-step--hl {
  background: linear-gradient(135deg, var(--orange-10), var(--violet-10));
  border: 1px solid var(--orange-20);
  border-radius: var(--r-sm);
  padding: 1.75rem 1.5rem;
  margin: 0.5rem -1.5rem;
}
.ccm-step__num {
  font-family: var(--font-ui);
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  text-align: right;
  background: linear-gradient(135deg, var(--orange), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  padding-top: 0.1rem;
}
.ccm-step__content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.ccm-step__label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
}
.ccm-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}
.ccm-step p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
  color: var(--text-mid);
}

/* ─── Mini steps — 4 colonnes côte à côte ────────────── */
.ccm-mini-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
/* On cache les flèches — la grille suffit */
.ccm-mini__arrow {
  display: none;
}
.ccm-mini {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem 1.25rem;
}
.ccm-mini--hl {
  background: linear-gradient(135deg, var(--orange-10), var(--violet-10));
  border-color: var(--orange-20);
}
.ccm-mini__n {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--orange), var(--violet));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.5;
  line-height: 1;
}
.ccm-mini__label {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
}
.ccm-mini__desc {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.5;
}

@media (max-width: 900px) {
  .ccm-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .ccm-photo-col {
    position: static;
    order: -1; /* photo en premier sur mobile */
  }
  .ccm-photo {
    aspect-ratio: 4/3;
    max-height: 320px;
  }
  .ccm-mini-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .ccm-step--hl {
    margin: 0.5rem 0;
  }
}
