/* ══════════════════════════════════════════
   SECTION "Comment ça marche — Clients"
   Mockup : titre fort · pastille points · 3 cartes · CTA
   ══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  .step_clients-card,
  .steps_clients-eyebrow,
  .steps_clients-title,
  .steps_clients-sub,
  .steps_clients-progress,
  .steps_clients-cta,
  .sc-coin,
  .sc-cloud { animation: none !important; opacity: 1 !important; transform: none !important; }
  .steps_clients-cta::before { animation: none !important; display: none; }
}

.steps_clients-section {
  position: relative;
  padding: 56px 6vw 28px;
  overflow-x: clip;
  overflow-y: visible;
  text-align: center;
  background: transparent;
  max-width: 100%;
}

/* Halos soft orange (sans bande opaque) */
.steps_clients-section::before {
  content: '';
  position: absolute;
  width: min(640px, 80vw);
  height: min(640px, 80vw);
  left: -18%;
  top: 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 115, 20, 0.16) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.steps_clients-section::after {
  content: '';
  position: absolute;
  width: min(560px, 75vw);
  height: min(560px, 75vw);
  right: -14%;
  bottom: 4%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254, 162, 15, 0.14) 0%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* ── Eyebrow (pastille capsule — traits en pointe) ── */
.steps_clients-eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 18px;
  padding: 11px 34px;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255, 252, 248, 0.92);
  border: 1px solid rgba(254, 115, 20, 0.55);
  box-shadow: 0 0 18px rgba(254, 115, 20, 0.18);
  animation: fadeUp_clients 0.55s ease both;
}

.steps_clients-eyebrow .eyebrow-line {
  flex: 0 0 42px;
  height: 3px;
  border-radius: 0;
  /* Trait qui s’affine en pointe vers l’extérieur */
  background: var(--orange);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  opacity: 0.95;
}

.steps_clients-eyebrow .eyebrow-line:first-child {
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
}

.steps_clients-eyebrow .eyebrow-line:last-child {
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.steps_clients-eyebrow .eyebrow-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--orange);
  white-space: nowrap;
}

/* ── Titre gras géométrique (override h2 Bebas/uppercase) ── */
.steps_clients-section .steps_clients-title {
  font-family: 'Outfit', var(--font-body) !important;
  font-size: clamp(1.65rem, 3.4vw, 2.45rem);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none !important;
  color: #1a1208;
  margin: 0 auto 14px;
  max-width: min(900px, 100%);
  position: relative;
  z-index: 1;
  display: block;
  animation: fadeUp_clients 0.55s 0.06s ease both;
}

.steps_clients-title-sep {
  display: inline-block;
  width: 0.28em;
}

.steps_clients-title-accent {
  color: var(--orange);
  font-weight: 700;
  background: none;
  padding: 0;
}

.steps_clients-sub {
  font-family: 'Outfit', var(--font-body);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 400;
  color: #8a7d72;
  margin: 0 auto 26px;
  max-width: 40ch;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  animation: fadeUp_clients 0.55s 0.1s ease both;
}

/* ── Pastille progression — une seule ligne ── */
.steps_clients-progress {
  --pill-bg: #fff4eb;
  --pill-line: #f4a15a;
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 36px;
  padding: 8px 18px 8px 10px;
  width: auto;
  max-width: calc(100% - 16px);
  border-radius: 999px;
  background: var(--pill-bg);
  border: 1.5px solid var(--pill-line);
  box-shadow: none;
  position: relative;
  z-index: 1;
  white-space: nowrap;
  animation: fadeUp_clients 0.55s 0.14s ease both;
}

.steps_clients-progress-star-wrap {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #fff;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(26, 18, 8, 0.08);
}

.steps_clients-progress-star {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.steps_clients-progress-pts {
  font-family: 'Outfit', var(--font-body);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--orange);
  line-height: 1;
  flex-shrink: 0;
}

.steps_clients-progress-divider {
  width: 1.5px;
  height: 1.05em;
  border-radius: 2px;
  background: rgba(254, 115, 20, 0.45);
  flex-shrink: 0;
}

.steps_clients-progress-label {
  font-family: 'Outfit', var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #6b625a;
  line-height: 1;
  flex-shrink: 0;
}

.steps_clients-progress-bar {
  width: 120px;
  height: 8px;
  border-radius: 999px;
  background: rgba(254, 115, 20, 0.18);
  overflow: hidden;
  flex-shrink: 1;
  min-width: 72px;
}

.steps_clients-progress-fill {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: var(--orange);
}

.steps_clients-progress-score {
  margin: 0;
  font-family: 'Outfit', var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #6b625a;
  white-space: nowrap;
  line-height: 1;
  flex-shrink: 0;
}

.steps_clients-progress-score strong {
  color: var(--orange);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0;
}

/* ── Grille ── */
.steps_clients {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 64px;
  position: relative;
  z-index: 1;
  max-width: 1120px;
  margin: 0 auto 40px;
  align-items: stretch;
}

.steps_clients::before { display: none; }

/* ── Cartes ── */
.step_clients-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 20px 20px;
  border-radius: 28px;
  background: #fff;
  border: 1px solid rgba(254, 115, 20, 0.08);
  box-shadow:
    0 10px 28px rgba(254, 115, 20, 0.08),
    0 22px 48px rgba(26, 18, 8, 0.05);
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp_clients 0.6s calc(0.2s + var(--i) * 0.1s) cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step_clients-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 14px 34px rgba(254, 115, 20, 0.14),
    0 26px 54px rgba(26, 18, 8, 0.06);
}

.step_clients-num {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(145deg, #FF9A4D, var(--orange));
  box-shadow: 0 8px 18px rgba(254, 115, 20, 0.35);
  opacity: 1;
  margin: 0;
  z-index: 2;
}

.step_clients-visual {
  position: relative;
  width: 100%;
  height: 132px;
  margin: 2px 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}

.step_clients-visual-img {
  display: block;
  width: min(160px, 86%);
  height: auto;
  max-height: 132px;
  object-fit: contain;
  /* Fond gris/blanc de l’asset → disparaît sur la carte blanche */
  mix-blend-mode: multiply;
  filter: contrast(1.02);
}

.step_clients-title {
  font-family: 'Outfit', var(--font-body);
  font-size: 1.1rem;
  font-weight: 800;
  color: #1a1208;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.step_clients-desc {
  font-family: 'Outfit', var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: #7a7068;
  line-height: 1.45;
  max-width: 26ch;
}

/* Flèche courbe libre (sans cercle) */
.step_clients-arrow {
  display: none;
  position: absolute;
  top: 34%;
  right: -46px;
  width: 44px;
  height: 36px;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--orange);
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
}

.step_clients-arrow svg {
  display: block;
  width: 40px;
  height: 24px;
  overflow: visible;
  filter: drop-shadow(0 2px 5px rgba(254, 115, 20, 0.22));
}

@media (min-width: 901px) {
  .step_clients-arrow { display: flex; }
}

/* ── Visuels CSS ── */
.sc-phone {
  width: 72px;
  height: 118px;
  border-radius: 14px;
  background: linear-gradient(160deg, #2a2a2a, #111);
  padding: 6px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
  position: relative;
  z-index: 1;
}

.sc-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff7f0, #ffe8d4);
  display: grid;
  place-items: center;
}

.sc-phone-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}

.sc-phone--tilt {
  transform: rotate(-12deg);
  margin-left: -10px;
}

.sc-cloud {
  position: absolute;
  right: 18%;
  top: 12%;
  animation: iconFloat_clients 3.6s ease-in-out infinite;
  filter: drop-shadow(0 8px 12px rgba(254, 115, 20, 0.2));
}

.sc-qr-stand {
  width: 78px;
  height: 92px;
  border-radius: 12px 12px 8px 8px;
  background: #fff;
  border: 1px solid rgba(26, 18, 8, 0.08);
  box-shadow: 0 10px 22px rgba(26, 18, 8, 0.1);
  display: grid;
  place-items: center;
  margin-right: -8px;
  position: relative;
  z-index: 0;
}

.sc-qr-stand::after {
  content: '';
  position: absolute;
  bottom: -10px;
  width: 36px;
  height: 10px;
  border-radius: 4px;
  background: #e8e4df;
}

.sc-qr {
  width: 46px;
  height: 46px;
  border-radius: 6px;
  background:
    linear-gradient(#1a1208 0 0) 0 0 / 40% 40%,
    linear-gradient(#1a1208 0 0) 100% 0 / 40% 40%,
    linear-gradient(#1a1208 0 0) 0 100% / 40% 40%,
    linear-gradient(#1a1208 0 0) 55% 55% / 18% 18%,
    linear-gradient(#1a1208 0 0) 75% 55% / 10% 10%,
    linear-gradient(#1a1208 0 0) 55% 75% / 10% 10%,
    #fff;
  background-repeat: no-repeat;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #1a1208;
}

.sc-phone-screen--scan {
  background: linear-gradient(180deg, #1a2233, #0f1520);
  position: relative;
}

.sc-scan-frame {
  width: 34px;
  height: 34px;
  border: 2px solid var(--orange);
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(254, 115, 20, 0.45);
}

.sc-gift {
  position: relative;
  width: 110px;
  height: 110px;
}

.sc-gift-box {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  width: 78px;
  height: 52px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #f3f3f3);
  border: 2px solid #eee;
  box-shadow: 0 12px 24px rgba(26, 18, 8, 0.12);
}

.sc-gift-box::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 14px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FF9A4D, var(--orange));
}

.sc-gift-lid {
  position: absolute;
  left: 50%;
  top: 28px;
  width: 88px;
  height: 22px;
  transform: translateX(-50%) rotate(-8deg);
  border-radius: 8px;
  background: linear-gradient(180deg, #fff, #f6f6f6);
  border: 2px solid #eee;
  box-shadow: 0 6px 14px rgba(26, 18, 8, 0.1);
  z-index: 2;
}

.sc-gift-lid::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 14px;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #FF9A4D, var(--orange));
}

.sc-gift-bow {
  position: absolute;
  left: 50%;
  top: 14px;
  width: 22px;
  height: 22px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #FFB347, var(--orange));
  z-index: 3;
  box-shadow: 0 4px 10px rgba(254, 115, 20, 0.35);
}

.sc-coin {
  position: absolute;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  color: #fff;
  background: linear-gradient(145deg, #FFD36A, #F5A623);
  box-shadow: 0 4px 10px rgba(245, 166, 35, 0.4);
  z-index: 4;
  animation: iconFloat_clients 3s ease-in-out infinite;
}

.sc-coin--1 { left: 8px; top: 18px; animation-delay: 0s; }
.sc-coin--2 { right: 6px; top: 8px; animation-delay: 0.4s; }
.sc-coin--3 { right: 18px; top: 42px; width: 22px; height: 22px; font-size: 0.65rem; animation-delay: 0.8s; }

/* ── CTA ── */
.steps_clients-cta {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 10px auto 0;
  padding: 9px 22px 9px 12px;
  border-radius: 999px;
  overflow: hidden;
  background: linear-gradient(180deg, #FFA35A 0%, var(--orange) 50%, #E55F08 100%);
  color: #fff;
  font-family: 'Outfit', var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  box-shadow:
    0 10px 24px rgba(254, 115, 20, 0.34),
    0 0 0 0 rgba(254, 115, 20, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation:
    fadeUp_clients 0.55s 0.35s ease both,
    ctaPulseGlow 2.6s 1s ease-in-out infinite;
}

/* reflet qui traverse le bouton */
.steps_clients-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 30%,
    rgba(255, 255, 255, 0.38) 48%,
    transparent 62%
  );
  transform: translateX(-120%);
  animation: ctaShine 3.2s 1.2s ease-in-out infinite;
  pointer-events: none;
}

.steps_clients-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(254, 115, 20, 0.42);
  color: #fff;
}

.steps_clients-cta:hover::before {
  animation-duration: 1.4s;
}

.steps_clients-cta-ico {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  line-height: 0;
}

.steps_clients-cta-ico img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  background: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.steps_clients-cta > span[data-i18n],
.steps_clients-cta-arrow {
  position: relative;
  z-index: 1;
}

.steps_clients-cta-arrow {
  display: grid;
  place-items: center;
  line-height: 0;
  transition: transform 0.2s ease;
}

.steps_clients-cta:hover .steps_clients-cta-arrow {
  transform: translateX(3px);
}

@keyframes ctaShine {
  0%, 55% { transform: translateX(-120%); }
  75%, 100% { transform: translateX(120%); }
}

@keyframes ctaPulseGlow {
  0%, 100% { box-shadow: 0 10px 24px rgba(254, 115, 20, 0.34), 0 0 0 0 rgba(254, 115, 20, 0.28); }
  50% { box-shadow: 0 12px 28px rgba(254, 115, 20, 0.4), 0 0 0 8px rgba(254, 115, 20, 0); }
}

@keyframes fadeUp_clients {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes iconFloat_clients {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@media (max-width: 900px) {
  .steps_clients {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 420px;
  }

  .step_clients-card {
    padding: 34px 20px 24px;
  }
}

@media (max-width: 680px) {
  .steps_clients-eyebrow {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
    gap: 6px;
    padding: 8px 12px;
    margin-left: auto;
    margin-right: auto;
  }

  .steps_clients-eyebrow .eyebrow-line {
    flex: 0 1 12px;
    min-width: 8px;
  }

  .steps_clients-eyebrow .eyebrow-text {
    font-size: clamp(0.58rem, 2.9vw, 0.72rem);
    letter-spacing: 0.7px;
    white-space: nowrap;
    min-width: 0;
  }

  .steps_clients-section .steps_clients-title {
    font-size: clamp(1.25rem, 6.2vw, 1.65rem);
    white-space: normal;
    padding: 0 2px;
  }

  .steps_clients-sub {
    max-width: 100%;
    padding: 0 4px;
  }

  .steps_clients-cta {
    max-width: 100%;
    white-space: normal;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .steps_clients-eyebrow .eyebrow-line {
    display: none;
  }
}

@media (max-width: 560px) {
  .steps_clients-section { padding: 44px 5vw 20px; }

  .steps_clients-progress {
    gap: 6px;
    padding: 8px 10px 8px 8px;
    max-width: 100%;
    overflow-x: hidden;
    flex-wrap: wrap;
    justify-content: center;
  }

  .steps_clients-progress-label {
    display: none;
  }

  .steps_clients-progress-bar {
    width: 64px;
    min-width: 48px;
  }

  .step_clients-arrow {
    display: none !important;
  }
}
