/* ═══════════════════════════════════════════
   HERO — Version finale + vraie app
   (Couleurs : variables globales dans base.css)
   ═══════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 120px 6vw 40px;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

/* Bloc texte + téléphone desktop (les badges store sont en dehors pour ne pas gonfler cette flex) */
.hero-layout-split {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 65% 55% at 0% 15%, color-mix(in srgb, var(--blue) 18%, transparent), transparent 68%),
    radial-gradient(ellipse 55% 50% at 100% 85%, color-mix(in srgb, var(--orange) 16%, transparent), transparent 65%),
    radial-gradient(ellipse 45% 40% at 75% 5%, color-mix(in srgb, var(--blue) 10%, transparent), transparent 60%);
  /* Fondu bas → fond du site, sans bande nette */
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 78%, transparent 100%);
}

.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
}

.hero-bg::before {
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  left: -12%;
  top: -5%;
  background: radial-gradient(circle, color-mix(in srgb, var(--blue) 28%, transparent) 0%, transparent 68%);
  opacity: 0.9;
  animation: heroGlowDrift 14s ease-in-out infinite alternate;
}

.hero-bg::after {
  width: min(44vw, 460px);
  height: min(44vw, 460px);
  right: -10%;
  bottom: -8%;
  background: radial-gradient(circle, color-mix(in srgb, var(--orange) 26%, transparent) 0%, transparent 68%);
  opacity: 0.85;
  animation: heroGlowDrift 16s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(3%, 4%) scale(1.06); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg::before,
  .hero-bg::after {
    animation: none;
  }
}

.hero-blobs {
  display: none;
}

/* Colonne gauche (texte + badges) : min-width 0 pour ne pas repousser le mockup */
.hero-text-column {
  position: relative;
  z-index: 1;
  flex: 0 1 auto;
  min-width: 0;
  max-width: 580px;
  width: 100%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 100%;
  width: 100%;
  min-width: 0;
}

/* Conteneur du titre : effet lié au scroll (transform appliquée en JS) */
.hero-title-scroll {
  margin-bottom: 22px;
  transform-origin: left top;
  will-change: transform, opacity;
}

@media (max-width: 1024px) {
  .hero-title-scroll {
    transform-origin: center top;
  }
}

/* Titre — plusieurs lignes, sans-serif gras + accents bleu ciel */
.hero-title.hero-title--stacked {
  --hero-sky: #3B6FFF;
  --hero-sky-deep: #3B6FFF;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: #1c1917;
  text-transform: none;
  margin: 0;
  animation: fadeUp 0.55s ease both;
}
.hero-title--stacked .hero-h1-row {
  display: block;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .hero-title--stacked {
    font-size: clamp(1.05rem, 4.5vw, 1.35rem);
  }
}
.hero-title--stacked .hero-accent-sky {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--blue);
  background: none;
  -webkit-text-fill-color: var(--blue);
}

.hero-title--stacked .hero-accent-orange {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--orange);
  -webkit-text-fill-color: var(--orange);
}

/* Intro — paragraphe gris sur fond clair */
.hero-intro.hero-intro--plain {
  position: relative;
  margin-bottom: 32px;
  max-width: min(36rem, 100%);
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  animation: fadeUp 0.7s 0.15s ease both;
}
.hero-intro--plain .hero-sub {
  margin-bottom: 0;
  animation: none;
  font-size: 1.05rem;
  line-height: 1.68;
  color: #5c5854;
  font-weight: 400;
  letter-spacing: -0.012em;
}
@media (max-width: 640px) {
  .hero-intro--plain .hero-sub {
    font-size: 0.96rem;
  }
}

[dir="rtl"] .hero-title--stacked {
  letter-spacing: 0;
  line-height: 1.25;
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.72;
  margin-bottom: 44px;
  max-width: 440px;
  font-family: var(--font-body);
  font-weight: 400;
  animation: fadeUp .7s .2s ease both;
}

.hero-role-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
  animation: fadeUp 0.65s 0.22s ease both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  color: #fff;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.hero-cta-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  flex-shrink: 0;
}

.hero-cta-ico svg {
  width: 16px;
  height: 16px;
  display: block;
}

.hero-cta-arrow {
  font-size: 1.05em;
  line-height: 1;
  opacity: 0.95;
}

.hero-cta--merchant {
  background: linear-gradient(135deg, #6B93FF 0%, #3B6FFF 100%);
  box-shadow: 0 10px 24px color-mix(in srgb, #3B6FFF 32%, transparent);
}
.hero-cta--merchant:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px color-mix(in srgb, #3B6FFF 42%, transparent);
}

.hero-cta--client {
  background: linear-gradient(135deg, #FF9A4D 0%, var(--orange) 100%);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--orange) 30%, transparent);
}
.hero-cta--client:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 14px 28px color-mix(in srgb, var(--orange) 38%, transparent);
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp .7s .3s ease both;
  margin-bottom: 32px;
}

/* Badges store officiels — largeur fixe 135px (évite le débordement flex) */
.hero-store-badges {
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.hero-store-badge {
  display: block;
  flex: 0 0 auto;
  line-height: 0;
  text-decoration: none;
  transition: transform .2s var(--transition), opacity .2s ease;
}

.hero-store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.hero-store-badge img {
  display: block;
  width: 135px;
  height: auto;
  max-width: 100%;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: fadeUp 0.7s 0.42s ease both;
}

.hero-proof-card {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 auto;
  width: max-content;
  max-width: 100%;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: #ffffff;
  border: none;
  box-shadow: 0 10px 28px rgba(40, 55, 140, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-proof-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(40, 55, 140, 0.14);
}

.hero-proof-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  flex-shrink: 0;
  overflow: hidden;
  background: #fff;
  line-height: 0;
}

.hero-proof-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(1.05);
}

.hero-proof-body {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.stat-num {
  font-family: var(--font-body);
  font-weight: 800;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  font-variant-numeric: tabular-nums;
  color: #1a1c42;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.62rem;
  color: #2a2d55;
  margin-top: 0;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  white-space: nowrap;
  opacity: 0.78;
}

/* Stage téléphone + flottants + panneau */
.hero-visual-column {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.hero-visual-row {
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
  justify-content: flex-end; /* téléphone + panneau à droite */
  padding-left: 180px; /* place pour les 3 pastilles à gauche du téléphone */
  box-sizing: border-box;
}

.hero-stage {
  position: relative;
  flex: 0 0 auto;
  width: clamp(200px, 16.5vw, 270px);
  margin: 0 12px 0 0;
  z-index: 1;
}

/* Pastilles dans l’espace libre à GAUCHE du téléphone (hors écran, hors panneau) */
.hero-float {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 8px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 12px 28px rgba(59, 111, 255, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #2a2622;
  white-space: nowrap;
  pointer-events: none;
  animation: floatChip 4.5s ease-in-out infinite;
}

.hero-float-ico {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(26, 18, 8, 0.12);
}

.hero-float-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
  min-width: 0;
}

.hero-float-val {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue);
}

.hero-float[data-float-tone="green"] .hero-float-val { color: #059669; }
.hero-float[data-float-tone="orange"] .hero-float-val { color: var(--orange); }
.hero-float[data-float-tone="pink"] .hero-float-val { color: #DB2777; }
.hero-float[data-float-tone="amber"] .hero-float-val { color: #D97706; }

.hero-float-lab {
  font-size: 0.68rem;
  font-weight: 500;
  color: #5c534a;
}

.hero-float--a,
.hero-float--b,
.hero-float--c {
  left: auto;
  right: calc(100% + 22px);
}

.hero-float--a {
  top: 6%;
  animation-delay: 0s;
}
.hero-float--b {
  top: 38%;
  right: calc(100% + 34px);
  animation-delay: 0.6s;
}
.hero-float--c {
  top: auto;
  bottom: 10%;
  animation-delay: 1.1s;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero-float { animation: none; }
}

.hero-side-panel {
  flex: 0 0 auto;
  width: min(240px, 100%);
  min-width: 200px;
  max-width: 250px;
  position: relative;
  z-index: 2;
}

.hero-side-card {
  padding: 18px 16px 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow:
    0 14px 34px rgba(59, 111, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-side-card[hidden] { display: none !important; }

.hero-side-title {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin: 0 0 14px;
  line-height: 1.3;
  white-space: nowrap;
}

.hero-side-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-side-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.hero-side-ico {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--blue) 12%, #fff);
  font-size: 0.9rem;
}

.hero-side-card[data-side-panel="client"] .hero-side-ico {
  background: color-mix(in srgb, var(--orange) 12%, #fff);
}

.hero-side-list strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}

.hero-side-list small {
  display: block;
  margin-top: 3px;
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
}



/* ══════════════════════════════════════════
   PHONE MOCKUP — image (export pro, châssis inclus)
   ══════════════════════════════════════════ */
.hero-phone-wrap {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0;
  /* Ne pas animer l’opacité ici : en cas de conflit avec reduced-motion / fill-mode, le bloc peut rester invisible */
  opacity: 1;
  animation: heroPhoneIn .85s .2s ease both;
}
/* Desktop visual column width is set in the 992px media query */
.hero-phone-wrap.hero-phone-desktop {
  align-self: flex-start;
}
.hero-phone-wrap::before {
  content: '';
  position: absolute;
  width: min(360px, 90vw);
  height: min(360px, 90vw);
  max-width: 100%;
  background: radial-gradient(
    ellipse 70% 65% at 48% 42%,
    rgba(254, 115, 20, 0.14) 0%,
    rgba(59, 111, 255)), 0.11) 52%,
    transparent 70%
  );
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
  animation: haloPulse 3s ease-in-out infinite;
}
@keyframes haloPulse {
  0%, 100% { transform: scale(1);   opacity: .8; }
  50%       { transform: scale(1.1); opacity: .4; }
}

.hero-phone {
  position: relative; z-index: 1;
  margin-top: 0;
  will-change: transform;
  animation: floatPhone 5.5s ease-in-out infinite;
  filter: drop-shadow(0 28px 40px rgba(26,18,8,.22));
}
.hero-stage .hero-phone {
  position: relative;
  z-index: 2;
  transform: rotate(-6deg);
}
@keyframes floatPhone {
  0%, 100% { transform: rotate(-8deg) translateY(0); }
  50%       { transform: rotate(-5deg) translateY(-10px); }
}
.hero-phone-mobile .hero-phone {
  animation-name: none;
  transform: none;
  filter: drop-shadow(0 20px 40px rgba(26,18,8,.25));
}

.hero-mockup-switch {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  position: relative;
  z-index: 2;
  width: min(100%, clamp(220px, 24vw, 304px));
  margin: 0 auto;
}

.hero-phone-wrap.hero-phone-desktop .hero-mockup-switch {
  width: 100%;
}

.hero-mockup-tabs {
  display: flex;
  align-items: stretch;
  gap: 5px;
  width: 100%;
  padding: 5px 6px;
  border-radius: 999px;
  background: rgba(26, 18, 8, 0.055);
  border: 1px solid rgba(26, 18, 8, 0.07);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.75),
    0 1px 2px rgba(26, 18, 8, 0.04);
}

.hero-mockup-tab {
  flex: 1 1 0;
  min-width: 0;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 11px 14px;
  border-radius: 999px;
  color: #7a756d;
  background: transparent;
  white-space: nowrap;
  transition: color 0.22s ease, background 0.22s ease, box-shadow 0.22s ease, font-weight 0.15s ease;
}
.hero-mockup-tab:hover:not(.is-active) {
  color: #4a453d;
}
.hero-mockup-tab.is-active {
  font-weight: 700;
  background: #fff;
  box-shadow:
    0 2px 8px rgba(26, 18, 8, 0.08),
    0 1px 2px rgba(26, 18, 8, 0.06);
}
.hero-mockup-tab[data-mockup-tab="merchant"],
.hero-mockup-tab[data-mockup-tab="client"] {
  flex: 1 1 0;
}
.hero-mockup-tab[data-mockup-tab="merchant"].is-active {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--blue) 30%, transparent);
}
.hero-mockup-tab[data-mockup-tab="client"].is-active {
  color: #fff;
  background: var(--orange);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--orange) 30%, transparent);
}
.hero-mockup-tab-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
  flex-shrink: 0;
  line-height: 0;
}

.hero-mockup-tab-ico svg {
  width: 15px;
  height: 15px;
  display: block;
}

.hero-mockup-tab:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.hero-mockup-switch .hero-phone {
  margin-top: 14px;
  width: 100%;
}

.hero-phone-mockup {
  position: relative;
  display: block;
  line-height: 0;
  width: 100%;
}

/* Deux mockups superposés — crossfade (largeur = celle du switch au-dessus) */
.hero-phone-mockup--dual {
  aspect-ratio: 519 / 1024;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}
.hero-phone-mockup--dual .hero-mockup-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
  -webkit-user-drag: none;
  opacity: 0;
  transform: scale(0.985);
  transition: opacity 0.32s ease, transform 0.32s ease;
  pointer-events: none;
}
.hero-phone-mockup--dual .hero-mockup-img.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-phone-mockup--dual .hero-mockup-img {
    transition: none;
    transform: none;
  }
  .hero-phone-mockup--dual .hero-mockup-img.is-active {
    transform: none;
  }
}

.hero-phone-mobile .hero-mockup-switch {
  width: min(100%, min(320px, calc(100vw - 48px)));
}

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

@keyframes heroPhoneIn {
  from { transform: translateY(20px); }
  to { transform: translateY(0); }
}

/* ══════════════════════════════════════════
   DESKTOP/MOBILE SWITCH
   ══════════════════════════════════════════ */
.hero-phone-mobile  { display: none !important; }
.hero-phone-desktop { display: flex; }

/* ══════════════════════════════════════════
   DESKTOP LARGE — .hero-layout-split en ligne : texte | mockup
   ══════════════════════════════════════════ */
@media (min-width: 992px) {
  /* Centrage vertical — légère réduction pour tout voir sans scroller */
  .hero {
    min-height: 100vh;
    justify-content: center;
    padding-top: max(84px, 7vh);
    padding-bottom: max(20px, 2vh);
    box-sizing: border-box;
  }

  .hero-title-scroll {
    margin-bottom: 14px;
  }

  .hero-title.hero-title--stacked {
    font-size: clamp(1.35rem, 2.15vw, 1.8rem);
    line-height: 1.2;
  }

  .hero-intro.hero-intro--plain {
    margin-bottom: 18px;
  }

  .hero-intro--plain .hero-sub {
    font-size: 0.98rem;
    line-height: 1.5;
  }

  .hero-store-badge img {
    width: 124px;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-proof-card {
    padding: 7px 10px 7px 7px;
    gap: 7px;
  }

  .hero-proof-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .stat-num {
    font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  }

  .stat-label {
    font-size: 0.58rem;
  }

  .hero-role-ctas {
    margin-bottom: 28px;
  }

  .hero-actions {
    margin-bottom: 28px;
  }

  .hero-cta {
    padding: 10px 15px;
    font-size: 0.86rem;
  }

  .hero-visual-column {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    width: auto;
  }

  .hero-stage {
    width: clamp(190px, 16vw, 260px);
  }

  /* Au-dessus du breakpoint « mobile », forcer quel mockup est visible (évite tout conflit de cascade). */
  .hero-phone-mobile {
    display: none !important;
  }
  .hero-phone-desktop {
    display: flex !important;
  }

  .hero-layout-split {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0 clamp(16px, 2.5vw, 36px);
    align-self: center;
    width: min(1280px, 100%);
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero-text-column {
    flex: 0 1 420px;
    min-width: 0;
    max-width: min(440px, 38vw);
    width: auto;
  }

  .hero-content {
    overflow-x: visible;
  }

  .hero-phone-wrap.hero-phone-desktop {
    position: relative;
    z-index: 2;
    flex: 1 1 560px;
    width: auto;
    min-width: 420px;
    max-width: 760px;
    align-self: flex-start;
    align-items: stretch;
    margin-left: auto; /* décale le bloc téléphone + panneau vers la droite */
    visibility: visible;
    opacity: 1;
    overflow: visible;
  }

  .hero-phone-wrap.hero-phone-desktop .hero-mockup-switch {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
  }

  .hero-phone-wrap.hero-phone-desktop .hero-mockup-tabs {
    max-width: 280px;
    margin-left: auto;
    margin-right: 0;
    margin-bottom: 6px;
  }

  .hero-visual-row {
    padding-right: 4px;
    gap: 32px;
  }

  .hero-phone-wrap.hero-phone-desktop .hero-phone-mockup--dual {
    min-height: 180px;
  }

}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
/* Sous 992px : une colonne + mockup mobile dans le flux (zoom Windows / fenêtre étroite = « desktop » visuel mais viewport CSS < 992) */
@media (max-width: 991px) {
  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 96px 5vw 32px;
    gap: 28px;
    min-height: auto;
  }
  .hero-layout-split {
    align-items: center;
    width: 100%;
  }
  .hero-text-column {
    flex: 1 1 auto;
    max-width: 100%;
    width: 100%;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }
  .hero-intro.hero-intro--plain { max-width: min(520px, 100%); }
  .hero-actions { justify-content: center; position: relative; z-index: 2; }

  .hero-role-ctas {
    justify-content: center;
    width: 100%;
    max-width: 420px;
  }
  .hero-cta {
    flex: 1 1 auto;
    justify-content: center;
  }

  .hero-proof {
    max-width: 100%;
    width: 100%;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 6px;
  }
  .hero-proof-card {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    justify-content: center;
    text-align: center;
    padding: 7px 8px;
    gap: 5px;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(40, 55, 140, 0.08);
  }
  .hero-proof-icon {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }
  .hero-proof-body {
    min-width: 0;
  }
  .hero-proof-card .stat-num {
    font-size: 0.82rem;
  }
  .hero-proof-card .stat-label {
    font-size: 0.58rem;
    line-height: 1.15;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-phone-desktop { display: none !important; }
  .hero-phone-mobile  {
    display: flex !important;
    flex-direction: column;
    width: 100%;
    max-width: 420px;
    margin: 18px auto 8px;
    align-items: center;
    overflow: visible;
  }
  .hero-phone-mobile .hero-mockup-switch {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .hero-phone-mobile .hero-mockup-tabs {
    width: min(100%, 320px);
  }

  .hero-stage--mobile {
    position: relative;
    width: min(100%, 340px);
    margin: 8px auto;
    overflow: visible;
    z-index: 2;
  }

  /* Commerçant (défaut) : téléphone à droite, pastilles à gauche */
  .hero-stage--mobile .hero-phone {
    width: min(58%, 210px);
    margin: 0 0 0 auto;
    transform: none;
    animation: none;
    filter: drop-shadow(0 18px 32px rgba(26,18,8,.2));
  }

  .hero-stage--mobile .hero-float {
    z-index: 4;
    max-width: min(148px, 44%);
    padding: 6px 10px 6px 6px;
    gap: 7px;
    border-radius: 14px;
    white-space: normal;
    left: 0;
    right: auto;
  }

  .hero-stage--mobile .hero-float-ico {
    width: 28px;
    height: 28px;
    border-radius: 9px;
  }

  .hero-stage--mobile .hero-float-val {
    font-size: 0.72rem;
  }

  .hero-stage--mobile .hero-float-lab {
    font-size: 0.58rem;
    line-height: 1.2;
    white-space: normal;
  }

  .hero-stage--mobile .hero-float--a {
    top: 8%;
  }

  .hero-stage--mobile .hero-float--b {
    top: 38%;
  }

  .hero-stage--mobile .hero-float--c {
    top: auto;
    bottom: 12%;
  }

  /* Client : téléphone à gauche, pastilles à droite */
  [data-hero-mockup][data-mockup-view="client"] .hero-stage--mobile .hero-phone {
    margin: 0 auto 0 0;
  }

  [data-hero-mockup][data-mockup-view="client"] .hero-stage--mobile .hero-float {
    left: auto;
    right: 0;
  }

  .hero-side-panel--mobile {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }
  .hero-side-panel--mobile .hero-side-card {
    text-align: left;
  }
  .hero-side-panel--mobile .hero-side-title {
    white-space: normal;
    font-size: 0.98rem;
  }
}

@media (max-width: 640px) {
  .hero { padding: 84px 4.5vw 28px; gap: 22px; }
  .hero-title--stacked {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem);
    white-space: normal;
  }
  .hero-title--stacked .hero-h1-row {
    white-space: nowrap;
  }
  .hero-intro--plain .hero-sub {
    font-size: 0.92rem;
  }
  .hero-role-ctas {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    max-width: 100%;
    gap: 8px;
    margin-inline: auto;
  }
  .hero-cta {
    width: auto;
    flex: 0 1 auto;
    padding: 10px 12px;
    font-size: 0.78rem;
    gap: 6px;
  }
  .hero-cta-ico svg {
    width: 14px;
    height: 14px;
  }
  .hero-store-badges {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero-store-badge img {
    width: 120px;
  }
  .hero-mockup-tab {
    font-size: 0.74rem;
    padding: 10px 12px;
  }
  .hero-stage--mobile {
    width: min(100%, 320px);
  }
  .stat-num { font-size: 1.1rem; }
  .blob { opacity: .18; }
  .blob-1 { width: 300px; height: 300px; }
  .blob-2 { display: none; }
}

@media (max-width: 380px) {
  .hero-stage--mobile {
    width: min(100%, calc(100vw - 48px));
  }
  .hero-intro--plain .hero-sub {
    font-size: clamp(0.75rem, 3.2vw, 0.92rem);
  }
}