/* ═══════════════════════════════════════════════
   ELYONPAY – CHARTE GRAPHIQUE OFFICIELLE 2025
   Palette:
   Primary (Bleu ElyonPay) : #090C9F
   Secondary (Orange ElyonPay): #E35B34
   White: #FFFFFF
   Dark-1 (fonds) : #070980  → dérivé de #090C9F à 80%
   Dark-2 (cartes) : #05066B  → dérivé de #090C9F à 65%
   Light BG: #F0F2FF
═══════════════════════════════════════════════ */

:root {
  /* ── Couleurs officielles ElyonPay ── */
  --primary: #090C9F;
  --primary-dark: #060880;
  --primary-light: #2D30C8;
  --primary-pale: #ECEDF8;
  --secondary: #E35B34;
  --secondary-dark: #C04420;
  --secondary-light: #F07A57;
  --white: #FFFFFF;

  /* ── Neutres ── */
  --dark: #070980;       /* fonds sombres — dérivé #090C9F 80% */
  --dark-2: #05066B;     /* cartes sombres — dérivé #090C9F 65% */
  --dark-3: #08098F;     /* intermédiaire */
  --text: #1A1C3E;
  --text-light: #6B7099;
  --light: #F4F5FF;
  --light-2: #ECEDF8;

  /* ── Fonctionnelles ── */
  --success: #00C896;
  --warning: #FFB800;
  --danger: #FF4757;

  /* ── Borders & Shadows ── */
  --border: rgba(9,12,159,0.14);
  --shadow: 0 4px 20px rgba(9,12,159,0.12);
  --shadow-lg: 0 20px 60px rgba(9,12,159,0.18);
  --shadow-orange: 0 8px 24px rgba(227,91,52,0.35);

  /* ── Geometry ── */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);

  /* ── Fonts ── */
  --font-main: 'Space Grotesk', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── GRADIENT TEXT ─── */
.gradient-text {
  background: linear-gradient(135deg, var(--primary-light), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  font-family: var(--font-main);
  white-space: nowrap;
}
.btn-primary {
  background: #E35B34;
  color: white;
  border-color: #E35B34;
}
.btn-primary:hover {
  background: #c44a25;
  border-color: #c44a25;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227,91,52,0.35);
}
.btn-secondary {
  background: #E35B34;
  color: white;
  border-color: #E35B34;
}
.btn-secondary:hover {
  background: #c44a25;
  border-color: #c44a25;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227,91,52,0.35);
}
.btn-outline {
  background: transparent;
  color: #E35B34;
  border-color: #E35B34;
}
.btn-outline:hover {
  background: #E35B34;
  color: white;
  transform: translateY(-2px);
}
.btn-outline-secondary {
  background: transparent;
  color: #E35B34;
  border-color: #E35B34;
}
.btn-outline-secondary:hover {
  background: #E35B34;
  color: white;
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255,255,255,0.15);
  color: white;
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}
.btn-white {
  background: white;
  color: var(--primary);
  border-color: white;
}
.btn-white:hover {
  background: var(--light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

/* ─── BADGE ─── */
.badge {
  display: inline-block;
  background: var(--light-2);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ─── SECTION HEADER ─── */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 {
  font-family: var(--font-main);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-light);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════
   TOPBAR
═══════════════════════════════════════════════ */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  font-size: 0.82rem;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar span {
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar i { color: var(--secondary-light); }

/* ─── LANGUAGE SWITCHER ─── */
.lang-switcher {
  display: flex;
  gap: 4px;
  align-items: center;
}
.lang-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 600;
  transition: var(--transition);
  font-family: var(--font-body);
}
.lang-btn:hover,
.lang-btn.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: white;
}

/* ═══════════════════════════════════════════════
   NAVBAR
═══════════════════════════════════════════════ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(9,12,159,0.1);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo img,
.logo-img {
  height: 44px;
  width: auto;
  max-width: none;
  object-fit: contain;
  display: block;
}
.logo-svg {
  display: flex;
  align-items: center;
}
.logo-text {
  font-family: var(--font-main);
  font-size: 1.4rem;
  color: var(--primary);
  letter-spacing: -0.5px;
  font-weight: 800;
}
.logo-text .elyon { color: var(--primary); }
.logo-text .pay { color: var(--secondary); }

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active {
  background: var(--light-2);
  color: var(--primary);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}
/* Pont invisible : comble l'espace entre le bouton nav et le dropdown */
.nav-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;   /* doit être >= au gap visuel */
  background: transparent;
  z-index: 99;
}
.nav-dropdown .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: white;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  border-radius: var(--radius);
  padding: 12px;
  min-width: 240px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.dropdown-menu a:hover {
  background: var(--light-2);
  color: var(--primary);
}
.dropdown-menu a i {
  width: 20px;
  color: var(--primary);
  font-size: 0.95rem;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  background: linear-gradient(155deg, #03062E 0%, #090C9F 50%, #04062A 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0;
}

/* BG Shapes */
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.12;
}
.shape-1 {
  width: 600px; height: 600px;
  background: #3A40FF;
  top: -200px; right: -100px;
  animation: float 8s ease-in-out infinite;
}
.shape-2 {
  width: 300px; height: 300px;
  background: var(--secondary);
  bottom: -60px; left: -60px;
  animation: float 10s ease-in-out infinite reverse;
  opacity: 0.15;
}
.shape-3 {
  width: 200px; height: 200px;
  background: #5A60FF;
  top: 45%; left: 35%;
  animation: float 12s ease-in-out infinite;
  opacity: 0.08;
}
@keyframes float {
  0%,100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-30px) scale(1.05); }
}

/* ═══════════════════════════════════════════════
   OPTION B — HERO PLEINE LARGEUR
   Texte centré en haut + 4 grandes cartes en bas
═══════════════════════════════════════════════ */

/* Conteneur principal : flex colonne */
.hero-inner-b {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  position: relative;
  z-index: 1;
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Bloc texte centré */
.hero-content-centered {
  color: white;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.hero-content-centered .hero-subtitle {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-content-centered .hero-cta {
  justify-content: center;
}

.hero-content-centered .hero-stats {
  justify-content: center;
}

.hero-content-centered .store-badges {
  justify-content: center;
}

/* Conteneur des 4 cartes pleine largeur */
.hero-cards-fullwidth {
  width: 100%;
  position: relative;
}

/* Grille 4 colonnes égales */
.metier-cards-grid4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  width: 100%;
}

/* Cartes plus grandes dans ce layout */
.metier-cards-grid4 .metier-hero-card {
  border-radius: 20px;
}

.metier-cards-grid4 .mhc-img-wrap {
  height: 260px;
}

.metier-cards-grid4 .mhc-footer {
  padding: 18px 20px;
  gap: 6px;
}

.metier-cards-grid4 .mhc-tag {
  font-size: 0.75rem;
  letter-spacing: 1.2px;
}

.metier-cards-grid4 .mhc-footer h3 {
  font-size: 1.15rem;
  font-weight: 800;
}

.metier-cards-grid4 .mhc-icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  font-size: 1.3rem;
}

/* ─── Ancien layout (hero-inner) désactivé ─── */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { color: white; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(227,91,52,0.22);
  border: 2px solid rgba(227,91,52,0.7);
  color: #FFD0B8;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero-title {
  font-family: var(--font-main);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
  color: white;
}
.hero-title .gradient-text {
  background: linear-gradient(135deg, #7880FF, var(--secondary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 48px;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-value {
  display: block;
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
}
.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
}

/* Store Badges */
.store-badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* Ancien style (conservé pour compatibilité éventuelle) */
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 10px 16px;
  color: white;
  font-size: 0.82rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.store-badge:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}
.store-badge img { filter: invert(1); }
.store-badge div { display: flex; flex-direction: column; }
.store-badge small { opacity: 0.7; font-size: 0.72rem; }
.store-badge strong { font-size: 0.9rem; }
/* Nouveau style : vrais badges officiels */
.store-badge-img {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #E35B34 0%, #FF8C42 50%, #E35B34 100%);
  background-size: 200% 200%;
  border-radius: 14px;
  padding: 13px 22px;
  text-decoration: none;
  color: white;
  min-width: 200px;
  height: 64px;
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 6px 24px rgba(227,91,52,0.5), 0 2px 8px rgba(0,0,0,0.25);
  animation: storeBadgePulse 2.5s ease-in-out infinite;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}
.store-badge-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.18) 0%, transparent 60%);
  border-radius: 14px;
  pointer-events: none;
}
.store-badge-img:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 36px rgba(227,91,52,0.65), 0 4px 12px rgba(0,0,0,0.3);
  animation: none;
  background-position: right center;
}
@keyframes storeBadgePulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(227,91,52,0.5), 0 2px 8px rgba(0,0,0,0.25); }
  50%       { box-shadow: 0 8px 32px rgba(227,91,52,0.8), 0 2px 8px rgba(0,0,0,0.25); transform: translateY(-2px); }
}
.store-badge-img .badge-icon {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}
.store-badge-img .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.store-badge-img .badge-text small {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.store-badge-img .badge-text strong {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
/* Badge Google Play : icône triangle coloré */
.badge-gplay-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

/* ─── HERO VISUAL ─── */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ─── 4 CARTES MÉTIERS HERO (colonne droite) ─── */
.hero-cards-visual {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  position: relative;
  /* Espace pour les floating-cards qui débordent */
  padding: 10px 20px;
}

.metier-cards-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 640px;
  position: relative;
  z-index: 1;
}

.metier-hero-card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(9,12,159,0.12);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, z-index 0s;
  cursor: pointer;
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: inherit;
}

.metier-hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 2;
}

.metier-hero-card.active {
  border-color: var(--primary);
  box-shadow: 0 16px 48px rgba(9,12,159,0.25);
  transform: translateY(-6px);
  z-index: 3;
}

.metier-hero-card.active::before {
  opacity: 1;
}

.metier-hero-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(9,12,159,0.20);
  border-color: var(--primary);
  z-index: 3;
}

/* Zone image */
.mhc-img-wrap {
  position: relative;
  width: 100%;
  height: 190px;
  overflow: hidden;
  background: var(--light);
}

.mhc-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.metier-hero-card:hover .mhc-img-wrap img,
.metier-hero-card.active .mhc-img-wrap img {
  transform: scale(1.06) translateZ(0);
}

/* Overlay discret uniquement pour le badge icône */
.mhc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.18) 100%);
  display: flex;
  align-items: flex-end;
  padding: 10px;
}

/* Badge icône en bas-gauche de l'image */
.mhc-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Footer texte sous l'image */
.mhc-footer {
  padding: 14px 16px;
  background: #E35B34;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mhc-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.80);
}

.mhc-footer h3 {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.3;
}

/* Anciens alias (compatibilité) */
.mhc-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.mhc-content { flex: 1; }
.mhc-content h3 { font-size: 0.92rem; font-weight: 700; color: var(--dark); margin: 0 0 4px; }
.mhc-content p { font-size: 0.72rem; color: var(--text-light); margin: 0; }
.mhc-preview { margin-top: 4px; }

.mini-shop {
  background: var(--light);
  border-radius: 10px;
  overflow: hidden;
  font-size: 0.7rem;
}
.ms-header {
  background: var(--primary);
  color: white;
  padding: 5px 8px;
  font-size: 0.62rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ms-items { padding: 6px 8px; display: flex; flex-direction: column; gap: 4px; }
.ms-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-radius: 6px;
  padding: 4px 8px;
}
.ms-item span { font-size: 0.9rem; }
.ms-item strong { font-size: 0.68rem; color: var(--primary); font-weight: 700; }

.mini-currencies { display: flex; flex-direction: column; gap: 4px; }
.mc-item {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--light);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 0.7rem;
}
.mc-flag { font-size: 0.85rem; }
.mc-item strong { font-weight: 700; color: var(--dark); flex: 1; }
.mc-rate { color: var(--text-light); font-size: 0.65rem; }

.mini-terminal {
  background: linear-gradient(135deg, #070980, #05066B);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mt-screen { text-align: center; }
.mt-amount { font-size: 1.1rem; font-weight: 800; color: white; }
.mt-amount span { font-size: 0.65rem; color: rgba(255,255,255,0.6); }
.mt-status { font-size: 0.65rem; color: #00C896; margin-top: 2px; }
.mt-qr { text-align: center; color: white; font-size: 1.8rem; opacity: 0.6; }

.mini-shipping { display: flex; flex-direction: column; gap: 6px; }
.mship-item {
  display: flex; align-items: center; gap: 6px;
  background: var(--light); border-radius: 8px;
  padding: 5px 8px; font-size: 0.7rem; color: var(--dark);
}
.mship-item i { color: var(--primary); font-size: 0.8rem; }
.mship-track {
  display: flex; align-items: center; gap: 0;
  background: var(--light); border-radius: 8px;
  padding: 6px 10px;
}
.track-step {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--border); display: flex; align-items: center; justify-content: center;
  font-size: 0.55rem; color: white; flex-shrink: 0;
}
.track-step.done { background: var(--primary); }
.track-step.active { background: var(--secondary); animation: pulse 1.5s infinite; }
.track-line { flex: 1; height: 2px; background: var(--border); }
.track-line.done { background: var(--primary); }

/* Dots de navigation hero */
.hero-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

/* ─── PHONE MOCKUP ─── */

.phone-mockup {
  position: relative;
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #08098F, #070980);
  border-radius: 40px;
  border: 2px solid rgba(9,12,159,0.5);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  overflow: hidden;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 12px;
  background: #070980;
  border-radius: 10px;
  z-index: 10;
}
.phone-screen {
  padding: 32px 16px 16px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.app-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
}
.app-logo {
  width: 28px; height: 28px;
  background: var(--primary);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.7rem; font-weight: 800;
}
.app-header .fa-bell { margin-left: auto; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.app-balance {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 16px;
  padding: 16px;
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
}
.app-balance small { font-size: 0.72rem; opacity: 0.8; }
.app-balance h2 { font-family: var(--font-main); font-size: 1.5rem; font-weight: 800; margin: 4px 0; }
.app-balance span { font-size: 0.9rem; opacity: 0.8; }
.balance-change {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(255,255,255,0.2);
  padding: 3px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; margin-top: 4px;
}
.balance-change.positive { color: #7FFFCA; }

.app-actions {
  display: flex;
  justify-content: space-around;
}
.action-btn {
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.8); font-size: 0.68rem;
}
.action-btn i {
  width: 40px; height: 40px;
  background: rgba(9,12,159,0.4);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: #7880FF;
}

.app-transactions { display: flex; flex-direction: column; gap: 8px; }
.tx-item {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px; padding: 8px 10px;
}
.tx-icon {
  width: 32px; height: 32px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; flex-shrink: 0;
}
.tx-icon.orange { background: rgba(227,91,52,0.25); color: var(--secondary-light); }
.tx-icon.blue { background: rgba(9,12,159,0.3); color: #7880FF; }
.tx-icon.green { background: rgba(0,200,150,0.25); color: #00C896; }
.tx-info { flex: 1; }
.tx-info strong { display: block; font-size: 0.72rem; color: white; font-weight: 600; }
.tx-info small { font-size: 0.65rem; color: rgba(255,255,255,0.5); }
.tx-amount { font-size: 0.75rem; font-weight: 700; }
.tx-amount.positive { color: var(--success); }
.tx-amount.negative { color: var(--danger); }

/* Floating Cards */
.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  font-size: 0.82rem;
  animation: cardFloat 4s ease-in-out infinite;
}
.floating-card i { font-size: 1.3rem; }
.floating-card div { display: flex; flex-direction: column; }
.floating-card strong { font-size: 0.85rem; font-weight: 700; color: var(--dark); }
.floating-card small { font-size: 0.72rem; color: var(--text-light); }
.card-payment {
  top: 10px; right: 0px;
  animation-delay: 0s;
  border-left: 3px solid var(--secondary);
}
.card-payment i { color: var(--success); }
.card-success {
  bottom: 50px; left: 0px;
  animation-delay: 2s;
  border-left: 3px solid var(--primary);
}
.card-success i { color: var(--success); background: rgba(0,200,150,0.15); padding: 8px; border-radius: 8px; }
@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ═══════════════════════════════════════════════
   PAYMENT METHODS BAND
═══════════════════════════════════════════════ */
.payment-methods {
  background: #FFFFFF;
  padding: 44px 0;
  border-top: 1px solid rgba(9,12,159,0.08);
  border-bottom: 1px solid rgba(9,12,159,0.08);
}
.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-light);
  margin-bottom: 28px;
  display: block;
}

/* ── GROUPES DE LOGOS ── */
.payment-logos-groups {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
}
.pml-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
}
.pml-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-light);
}
.pml-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.pml-divider {
  width: 1px;
  height: 70px;
  background: rgba(9,12,159,0.1);
  margin: 0 4px;
  flex-shrink: 0;
}
/* ── LOGOS MOBILE MONEY : format uniforme ────────────────── */
/* Toutes les cartes logos : même boîte rectangulaire arrondie */
.pay-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFFFFF;
  border: 1.5px solid rgba(9,12,159,0.14);
  border-radius: 12px;
  padding: 0;
  width: 124px;
  height: 58px;
  transition: all 0.25s ease;
  cursor: default;
  box-shadow: 0 1px 6px rgba(9,12,159,0.06);
  overflow: hidden;
}
.pay-logo-card:hover {
  border-color: var(--primary);
  background: #F7F8FF;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(9,12,159,0.13);
}
.pay-logo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  padding: 8px 10px;
  box-sizing: border-box;
}
/* Variantes : la boîte garde sa taille, seul le fond/bordure change */
.pay-logo-card--white {
  background: #FFFFFF;
}
/* Airtel Money : fond blanc + bordure rouge */
.pay-logo-card--airtel {
  background: #FFFFFF;
  border-color: rgba(228,0,43,0.35);
}
.pay-logo-card--airtel:hover {
  border-color: #E4002B;
  background: #FFF5F7;
}
.pay-logo-card--airtel img {
  padding: 10px 12px;
}
/* Orange Money : fond blanc + bordure orange */
.pay-logo-card--orange-money {
  background: #FFFFFF;
  border-color: rgba(255,102,0,0.4);
}
.pay-logo-card--orange-money:hover {
  border-color: #FF6600;
  background: #FFF8F3;
}
.pay-logo-card--orange-money img {
  padding: 10px 12px;
}
.pay-logo-card--black {
  background: #000000;
  border-color: #333;
  min-width: 110px;
  padding: 10px 20px;
}
.pay-logo-card--black:hover {
  border-color: #555;
  background: #111;
}
.pay-logo-card--black img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  filter: invert(1);
}
.pay-logo-card--text {
  flex-direction: column;
  gap: 4px;
  min-width: 70px;
}
.pay-logo-card--text i {
  font-size: 1.3rem;
  color: var(--primary);
}
.pay-logo-card--text span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.5px;
}

/* Anciens styles (compatibilité) */
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 1100px;
  margin: 0 auto;
}

/* Logos de devises avec drapeaux réels */
.currency-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 6px 14px 6px 6px;
  transition: var(--transition);
  cursor: default;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.currency-logo:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.currency-logo .flag {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(0,0,0,0.05);
  flex-shrink: 0;
}
.currency-logo .flag-emoji {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.currency-logo .cur-code {
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--dark);
}
.currency-logo .cur-name {
  font-size: 0.72rem;
  color: var(--text-light);
}

/* ── LOGOS DE PAIEMENT (bande accueil) ── */
.pay-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  background: white;
  border: 1.5px solid #EBEBF0;
  border-radius: 14px;
  transition: var(--transition);
  cursor: default;
  min-width: 80px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.pay-logo:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(9,12,159,0.14);
}
.pay-logo span { font-size: 0.82rem; font-weight: 700; color: var(--dark); }
.pay-logo img { height: 28px; width: auto; display: block; }
/* Logos Mobile Money / Cartes — affichage image seule */
.pay-logo-img {
  padding: 8px 14px;
  background: white;
  border: 1.5px solid #EBEBF0;
  border-radius: 14px;
  min-width: 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.pay-logo-img:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(227,91,52,0.12);
}
.pay-logo-img img {
  height: 44px;
  width: auto;
  display: block;
  border-radius: 6px;
  object-fit: contain;
}

/* ═══════════════════════════════════════════════
   4 MÉTIERS SECTION (CARDS ILLUSTRÉES)
═══════════════════════════════════════════════ */
.metiers {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(9,12,159,0.08);
}
.metiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.metier-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
  background: white;
}
.metier-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.metier-card.featured {
  border-color: var(--secondary);
  box-shadow: 0 8px 32px rgba(227,91,52,0.15);
}
.metier-card.featured:hover {
  border-color: var(--secondary);
  box-shadow: 0 20px 60px rgba(227,91,52,0.25);
}

/* Image illustrative – cette règle est gérée par le bloc CARTES MÉTIERS plus bas */
.metier-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9,12,159,0.3), rgba(5,7,48,0.7));
}
.metier-img-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.metier-card.featured .metier-img-badge {
  background: var(--secondary);
}
.metier-number {
  position: absolute;
  bottom: 12px;
  right: 16px;
  font-family: var(--font-main);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(255,255,255,0.15);
  line-height: 1;
}

/* Corps de la carte */
.metier-body {
  padding: 28px;
}
.metier-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
  background: var(--light-2);
  color: var(--primary);
}
.metier-card.featured .metier-icon-wrap {
  background: rgba(227,91,52,0.12);
  color: var(--secondary);
}
.metier-body h3 {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 10px;
}
.metier-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}
.metier-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}
.metier-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.87rem; color: var(--text);
}
.metier-features li i {
  color: var(--primary);
  font-size: 0.8rem;
  flex-shrink: 0;
}
.metier-card.featured .metier-features li i {
  color: var(--secondary);
}
/* ── REQUEST TO PAY badge sur les cartes métiers ── */
.metier-rtp-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, rgba(9,12,159,0.08), rgba(227,91,52,0.08));
  border: 1px solid rgba(9,12,159,0.18);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}
.metier-rtp-badge i {
  color: var(--secondary);
  font-size: 0.75rem;
}

.metier-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--light-2);
}
.metier-link:hover { gap: 10px; background: var(--primary); color: white; }
.metier-card.featured .metier-link {
  color: var(--secondary);
  background: rgba(227,91,52,0.08);
}
.metier-card.featured .metier-link:hover {
  background: var(--secondary);
  color: white;
}

/* ═══════════════════════════════════════════════
   SERVICES (ancienne grille, conservée)
═══════════════════════════════════════════════ */
.services {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(9,12,159,0.08);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card.featured {
  background: linear-gradient(135deg, var(--dark-2), var(--dark));
  color: white;
  border-color: var(--primary);
}
.service-card.featured::before { transform: scaleX(1); }
.service-card.featured p,
.service-card.featured .service-features li { color: rgba(255,255,255,0.7); }
.service-card.featured h3 { color: white; }

.service-icon {
  width: 56px; height: 56px;
  background: var(--light-2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 20px;
}
.service-card.featured .service-icon {
  background: rgba(9,12,159,0.4);
  color: #7880FF;
}
.service-card h3 {
  font-family: var(--font-main);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 20px;
}
.service-features { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; }
.service-features li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.87rem; color: var(--text);
}
.service-features li i { color: var(--success); font-size: 0.8rem; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition);
}
.service-card.featured .service-link { color: #7880FF; }
.service-link:hover { gap: 10px; }

/* ═══════════════════════════════════════════════
   HOW IT WORKS
═══════════════════════════════════════════════ */
.how-it-works {
  background: #FFFFFF;
  padding: 100px 0;
  border-top: 1px solid rgba(9,12,159,0.08);
}
.steps-grid {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.step-card {
  flex: 1;
  min-width: 220px;
  max-width: 320px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.step-number {
  font-family: var(--font-main);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--light-2);
  line-height: 1;
  position: absolute;
  top: 16px; right: 20px;
}
.step-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 20px;
}
.step-card h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.step-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
}
.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════
   STATS BAND
═══════════════════════════════════════════════ */
.stats-band {
  background: linear-gradient(155deg, #090C9F 0%, #0B0EA8 50%, #060880 100%);
  padding: 60px 0;
  color: white;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--secondary);
  border-bottom: 3px solid var(--secondary);
}
.stats-band::before {
  content: '';
  position: absolute;
  right: -100px; top: -100px;
  width: 400px; height: 400px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.1;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat-block {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
}
.stat-block > i {
  font-size: 2rem;
  opacity: 0.6;
}
.stat-block h3 {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 4px;
}
.stat-block p {
  font-size: 0.85rem;
  opacity: 0.75;
}

/* ═══════════════════════════════════════════════
   PRICING
═══════════════════════════════════════════════ */
.pricing {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(9,12,159,0.08);
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(180deg, var(--dark-2), var(--dark));
  color: white;
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover { transform: scale(1.04) translateY(-6px); }
.plan-badge {
  display: inline-block;
  background: var(--light-2);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.plan-badge.popular {
  background: var(--secondary);
  color: white;
}
.pricing-card.featured .plan-badge:not(.popular) {
  background: rgba(9,12,159,0.3);
  color: #7880FF;
}
.pricing-card h3 {
  font-family: var(--font-main);
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--dark);
}
.pricing-card.featured h3 { color: white; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 12px;
}
.plan-price .currency { font-size: 1rem; font-weight: 600; color: var(--text-light); }
.plan-price .amount {
  font-family: var(--font-main);
  font-size: 3rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}
.plan-price .period { font-size: 0.85rem; color: var(--text-light); }
.pricing-card.featured .plan-price .currency,
.pricing-card.featured .plan-price .amount,
.pricing-card.featured .plan-price .period { color: white; }
.custom-price {
  font-family: var(--font-main);
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
}
.plan-desc {
  font-size: 0.87rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.pricing-card.featured .plan-desc { color: rgba(255,255,255,0.65); border-bottom-color: rgba(255,255,255,0.15); }
.plan-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text);
}
.plan-features li i { font-size: 0.8rem; }
.plan-features li i.fa-check { color: var(--success); }
.plan-features li.disabled { color: var(--text-light); }
.plan-features li.disabled i.fa-times { color: var(--danger); opacity: 0.5; }
.pricing-card.featured .plan-features li { color: rgba(255,255,255,0.8); }
.pricing-card .btn { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
.testimonials {
  background: #FFFFFF;
  padding: 100px 0;
  border-top: 1px solid rgba(9,12,159,0.08);
}
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.testi-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.testi-card.featured {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-color: transparent;
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}
.stars {
  color: var(--warning);
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}
.testi-card p {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testi-card.featured p { color: rgba(255,255,255,0.9); }
.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.author-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testi-card.featured .author-avatar {
  background: rgba(255,255,255,0.25);
}
.testi-author strong { display: block; font-size: 0.9rem; font-weight: 700; color: var(--dark); }
.testi-author small { font-size: 0.78rem; color: var(--text-light); }
.testi-card.featured .testi-author strong { color: white; }
.testi-card.featured .testi-author small { color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════════════
   APP DOWNLOAD
═══════════════════════════════════════════════ */
.app-download {
  padding: 100px 0;
  background: linear-gradient(155deg, #03062E 0%, #090C9F 60%, #04062A 100%);
  overflow: hidden;
}
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.app-content { color: white; }
.app-content h2 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
  color: white;
}
.app-content p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.app-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
}
.app-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
}
.app-feat i { color: var(--secondary); width: 20px; }
.store-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
  transform: translateY(-2px);
}
.store-btn > i { font-size: 1.8rem; }
.store-btn div { display: flex; flex-direction: column; }
.store-btn small { opacity: 0.7; font-size: 0.72rem; }
.store-btn strong { font-size: 0.95rem; }

/* Phone minis */
.app-phones {
  display: flex;
  gap: -20px;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: 380px;
}
.phone-mini {
  width: 160px;
  height: 300px;
  background: var(--dark-2);
  border-radius: 24px;
  border: 2px solid rgba(9,12,159,0.4);
  overflow: hidden;
  position: absolute;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.phone-1 {
  left: 50%;
  transform: translateX(-110%) rotate(-8deg);
  z-index: 1;
  animation: phoneFloat 7s ease-in-out infinite;
}
.phone-2 {
  left: 50%;
  transform: translateX(10%) rotate(8deg);
  z-index: 2;
  animation: phoneFloat 5s ease-in-out infinite reverse;
}
.pm-screen {
  padding: 20px 14px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pm-header {
  display: flex; align-items: center; gap: 6px;
  color: white; font-size: 0.7rem; font-weight: 600;
}
.pm-dot {
  width: 6px; height: 6px;
  background: var(--success);
  border-radius: 50%;
}
.pm-balance { color: white; }
.pm-balance small { font-size: 0.62rem; opacity: 0.6; display: block; }
.pm-balance h3 { font-size: 0.9rem; font-weight: 800; }
.pm-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 80px;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 8px;
}
.chart-bar {
  flex: 1;
  background: rgba(9,12,159,0.4);
  border-radius: 4px;
  transition: height 0.3s;
}
.chart-bar.active { background: var(--secondary); }
.qr-placeholder {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}
.pm-action {
  background: var(--primary);
  color: white;
  text-align: center;
  border-radius: 8px;
  padding: 8px;
  font-size: 0.68rem;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════
   FAQ
═══════════════════════════════════════════════ */
.faq {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(9,12,159,0.08);
}
.faq-grid {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.active { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(9,12,159,0.08); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  gap: 16px;
  font-family: var(--font-body);
  transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question i {
  flex-shrink: 0;
  font-size: 0.8rem;
  color: var(--primary);
  transition: var(--transition);
}
.faq-item.active .faq-question i { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}
.faq-answer.open { max-height: 200px; }
.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════════
   CTA BAND
═══════════════════════════════════════════════ */
.cta-band {
  background: linear-gradient(155deg, #03062E 0%, #090C9F 50%, #04062A 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--secondary);
}
.cta-band::after {
  content: '';
  position: absolute;
  right: -50px; bottom: -50px;
  width: 300px; height: 300px;
  background: var(--secondary);
  border-radius: 50%;
  opacity: 0.12;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  color: white;
  position: relative;
  z-index: 1;
}
.cta-inner h2 {
  font-family: var(--font-main);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.cta-inner p { opacity: 0.85; font-size: 1rem; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,0.7);
  padding: 80px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 2.6fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text { color: white; }
.footer-brand .logo-text .pay { color: var(--secondary); }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
  margin-bottom: 24px;
}
.social-links {
  display: flex;
  gap: 10px;
}
.social-links a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--secondary);
  color: white;
  transform: translateY(-2px);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: white;
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--secondary-light); padding-left: 4px; }
.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
/* Mention légale footer */
.footer-legal-mention {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  text-align: center;
  line-height: 1.6;
  flex-basis: 100%;
  margin-top: 4px;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 10px;
}
.footer-legal-mention strong {
  color: rgba(255,255,255,0.85);
  font-weight: 700;
}

/* ── SECTION BUREAUX / OFFICES ── */
.offices-section {
  background: #070980;
  padding: 70px 0 50px;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.offices-header {
  text-align: center;
  margin-bottom: 48px;
}
.offices-header .offices-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(227,91,52,0.15);
  border: 1px solid rgba(227,91,52,0.35);
  color: #FF8A65;
  padding: 7px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.offices-header h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}
.offices-header p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
}
.offices-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
/* Badge Holding spécial */
.office-holding-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, rgba(227,91,52,0.25), rgba(9,12,159,0.25));
  border: 1px solid rgba(227,91,52,0.5);
  color: #FF8A65;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}
/* Carte Holding mise en avant */
.office-card.office-card-holding {
  border-color: rgba(227,91,52,0.45);
  background: linear-gradient(160deg, #1a1040, #120e30);
}
.office-card.office-card-holding .office-card-header {
  border-bottom-color: rgba(227,91,52,0.18);
}
.office-card {
  background: #05066B;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.office-card:hover {
  transform: translateY(-4px);
  border-color: rgba(227,91,52,0.4);
}
.office-card-header {
  padding: 22px 24px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.office-flag {
  font-size: 2rem;
  line-height: 1;
}
.office-card-header-text h3 {
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 2px;
}
.office-card-header-text span {
  font-size: 0.75rem;
  color: #E35B34;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.office-map {
  width: 100%;
  height: 180px;
  border: none;
  display: block;
  filter: grayscale(20%) contrast(1.05);
}
.office-card-body {
  padding: 18px 24px 22px;
}
.office-info-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.80);
  line-height: 1.5;
}
.office-info-row:last-child { margin-bottom: 0; }
.office-info-row i {
  color: #E35B34;
  width: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 0.85rem;
}
.office-info-row span {
  color: rgba(255,255,255,0.80);
}
.office-info-row a {
  color: rgba(255,255,255,0.80);
  transition: color 0.2s;
}
.office-info-row a:hover { color: #E35B34; }
.office-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: white !important;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 10px;
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}
.office-wa-btn:hover {
  background: #1ebe5d;
  transform: translateY(-1px);
  color: white !important;
}
.office-hq-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(9,12,159,0.25);
  border: 1px solid rgba(9,12,159,0.45);
  color: #8B8FF0;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

@media (max-width: 1200px) {
  .offices-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .offices-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .offices-grid .office-card { max-width: 100%; }
}
@media (max-width: 600px) {
  .offices-header h2 { font-size: 1.35rem; }
  .office-map { height: 150px; }
}

.footer-certifs { display: flex; gap: 12px; }
.certif-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(255,255,255,0.08);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
}
.certif-badge i { color: var(--success); }

/* ═══════════════════════════════════════════════
   COOKIE BANNER
═══════════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 24px; left: 24px; right: 24px;
  max-width: 700px;
  margin: 0 auto;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  z-index: 9999;
  border: 1px solid var(--border);
  border-top: 3px solid var(--primary);
  transform: translateY(120px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-text {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}
.cookie-text .fa-cookie-bite { font-size: 1.3rem; color: var(--secondary); margin-top: 2px; flex-shrink: 0; }
.cookie-text p { font-size: 0.85rem; color: var(--text); line-height: 1.5; }
.cookie-text a { color: var(--primary); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   RECAPTCHA NOTICE & ERROR
═══════════════════════════════════════════════ */
.recaptcha-notice {
  font-size: 0.72rem;
  color: #999;
  line-height: 1.5;
  margin-top: 10px;
  text-align: center;
}
.recaptcha-notice a {
  color: #090C9F;
  text-decoration: underline;
}
.recaptcha-notice a:hover {
  color: #E35B34;
}
.recaptcha-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(220, 38, 38, 0.08);
  border: 1.5px solid rgba(220, 38, 38, 0.3);
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 12px;
  font-size: 0.85rem;
  color: #dc2626;
  font-weight: 500;
}
.recaptcha-error i {
  font-size: 1rem;
  flex-shrink: 0;
}
/* Badge reCAPTCHA officiel (coin bas-droit) — peut être caché */
.grecaptcha-badge {
  opacity: 0.6;
  transition: opacity 0.3s;
}
.grecaptcha-badge:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════════════
   BACK TO TOP
═══════════════════════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(9,12,159,0.4);
  transition: var(--transition);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.back-to-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-4px);
}

/* ═══════════════════════════════════════════════
   HERO ROTATING TEXT - Mots animés
═══════════════════════════════════════════════ */
.hero-rotating-wrapper {
  display: inline-block;
  position: relative;
  min-height: 1.3em;
}
.hero-rotating {
  display: inline-block;
  position: relative;
}
.hero-word {
  display: none;
  font-style: italic;
}
.hero-word.active {
  display: inline;
  animation: wordFadeIn 0.5s ease;
}
@keyframes wordFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Couleurs par métier */
.word-marketplace { color: #E8E9FA; }
.word-payment     { color: #F07A57; }
.word-terminal    { color: #00C896; }
.word-shipping    { color: #FFB800; }

/* Anciens alias (compat) */
.hero-word-marketplace { color: #E35B34; }
.hero-word-payment {
  background: linear-gradient(135deg, #7880FF, #E35B34);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-word-terminal { color: #00C896; }
.hero-word-shipping { color: #FFB800; }

/* Métiers cards héro (mini preview) */
.hero-metier-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 20px;
}
.hmc-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 14px;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.hmc-card:hover,
.hmc-card.active {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-3px);
}
.hmc-card.active { border-color: var(--secondary); }
.hmc-icon {
  font-size: 1.3rem;
  margin-bottom: 6px;
}
.hmc-card h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}
.hmc-card p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
}

/* ─── 4 MÉTIERS SECTION ─── */
.metiers-section {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid rgba(9,12,159,0.08);
}
.metiers-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.m4-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  transition: var(--transition);
  position: relative;
}
.m4-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.m4-card.m4-featured {
  border-color: var(--secondary);
}
.m4-card.m4-featured:hover {
  border-color: var(--secondary-dark);
  box-shadow: 0 20px 60px rgba(227,91,52,0.2);
}
/* Image section */
.m4-img {
  height: 190px;
  position: relative;
  overflow: hidden;
}
.m4-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.m4-card:hover .m4-img img { transform: scale(1.07); }
.m4-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(9,12,159,0.25), rgba(5,7,48,0.65));
}
.m4-pill {
  position: absolute; top: 14px; left: 14px;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.m4-card.m4-featured .m4-pill { background: var(--secondary); }
.m4-num {
  position: absolute; bottom: 10px; right: 14px;
  font-family: var(--font-main);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}
/* Body */
.m4-body { padding: 24px; }
.m4-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 14px;
  background: var(--light-2);
  color: var(--primary);
}
.m4-card.m4-featured .m4-icon {
  background: rgba(227,91,52,0.1);
  color: var(--secondary);
}
.m4-body h3 {
  font-family: var(--font-main);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.m4-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 16px;
}
.m4-feats {
  display: flex; flex-direction: column; gap: 7px;
  margin-bottom: 20px;
}
.m4-feats li {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.84rem; color: var(--text);
}
.m4-feats li i { color: var(--primary); font-size: 0.78rem; }
.m4-card.m4-featured .m4-feats li i { color: var(--secondary); }
.m4-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--primary);
  font-weight: 700; font-size: 0.87rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--light-2);
  transition: var(--transition);
}
.m4-link:hover { background: var(--primary); color: white; gap: 10px; }
.m4-card.m4-featured .m4-link { color: var(--secondary); background: rgba(227,91,52,0.08); }
.m4-card.m4-featured .m4-link:hover { background: var(--secondary); color: white; }

/* ═══════════════════════════════════════════════
   MODALE DÉMO MARKETPLACE – Carrousel 6 slides
═══════════════════════════════════════════════ */

/* --- Overlay --- */
.demo-modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(5, 7, 60, 0.82);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
.demo-modal-overlay.active {
  opacity: 1; pointer-events: all;
}

/* --- Box centrale --- */
.demo-modal-box {
  background: #ffffff;
  border-radius: 20px;
  width: 100%; max-width: 920px;
  max-height: 92vh;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 32px 80px rgba(9,12,159,0.25), 0 8px 24px rgba(0,0,0,0.15);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.35s cubic-bezier(.34,1.56,.64,1);
}
.demo-modal-overlay.active .demo-modal-box {
  transform: translateY(0) scale(1);
}

/* --- Header --- */
.demo-modal-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px 14px;
  border-bottom: 1px solid rgba(9,12,159,0.08);
  flex-shrink: 0;
}
.demo-modal-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(9,12,159,0.08);
  color: #090C9F; font-size: 0.78rem; font-weight: 700;
  padding: 4px 12px; border-radius: 20px;
  margin-bottom: 5px;
}
.demo-modal-title h3 {
  font-size: 1.1rem; font-weight: 800; color: #090C9F; margin: 0;
}
.demo-modal-close {
  background: rgba(9,12,159,0.07); border: none; cursor: pointer;
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #090C9F; font-size: 1rem; transition: background 0.2s;
  flex-shrink: 0;
}
.demo-modal-close:hover { background: #E35B34; color: white; }

/* --- Barre de progression --- */
.demo-progress-bar {
  height: 4px; background: rgba(9,12,159,0.1); flex-shrink: 0;
}
.demo-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #090C9F, #E35B34);
  border-radius: 0 4px 4px 0;
  transition: width 0.4s ease;
  width: 16.66%;
}

/* --- Slides wrapper --- */
.demo-slides-wrapper {
  overflow: hidden; flex: 1; min-height: 0;
}
.demo-slides-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(.77,0,.18,1);
  height: 100%;
}
.demo-slide {
  min-width: 100%; flex-shrink: 0;
  overflow-y: auto; padding: 24px;
}
.demo-slide-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; align-items: center;
  min-height: 360px;
}

/* CTA slide (dernière) */
.demo-slide-inner.demo-slide-cta {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

/* --- Mockup navigateur --- */
.demo-mockup { position: relative; }
.mockup-browser {
  background: #f8f9ff;
  border-radius: 12px;
  border: 1.5px solid rgba(9,12,159,0.12);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(9,12,159,0.12);
}
.mockup-bar {
  background: #e8eaf8; padding: 8px 14px;
  display: flex; align-items: center; gap: 6px;
}
.mockup-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mockup-dot.red    { background: #ff5f57; }
.mockup-dot.yellow { background: #febc2e; }
.mockup-dot.green  { background: #28c840; }
.mockup-url {
  flex: 1; background: white; border-radius: 6px;
  font-size: 0.65rem; color: #555; padding: 3px 10px;
  text-overflow: ellipsis; overflow: hidden; white-space: nowrap;
  margin-left: 6px;
}
.mockup-screen {
  padding: 16px; background: white; min-height: 290px;
}

/* --- Contenu mockup slide 1 --- */
.ms-logo-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ms-logo-icon { font-size: 1.4rem; }
.ms-logo-text { font-size: 1rem; font-weight: 800; color: #090C9F; }
.ms-title { font-size: 1rem; font-weight: 800; color: #111; margin-bottom: 4px; }
.ms-subtitle { font-size: 0.7rem; color: #888; margin-bottom: 12px; }
.ms-form { display: flex; flex-direction: column; gap: 7px; margin-bottom: 14px; }
.ms-field { background: #f4f5ff; border-radius: 7px; padding: 7px 10px; }
.ms-field-label { font-size: 0.6rem; color: #090C9F; font-weight: 600; display: block; margin-bottom: 2px; }
.ms-field-val { font-size: 0.72rem; color: #333; font-weight: 500; }
.ms-btn-primary {
  background: linear-gradient(135deg,#090C9F,#2D30C8);
  color: white; font-size: 0.72rem; font-weight: 700;
  padding: 9px 14px; border-radius: 8px; text-align: center;
  cursor: pointer; margin-bottom: 8px;
}
.ms-btn-secondary {
  background: #f4f5ff; color: #090C9F; font-size: 0.72rem; font-weight: 700;
  padding: 9px 14px; border-radius: 8px; text-align: center;
  cursor: pointer; margin-top: 10px; border: 1.5px solid rgba(9,12,159,0.2);
}
.ms-hint { font-size: 0.6rem; color: #aaa; text-align: center; }

/* --- Mockup slide 2 (boutique) --- */
.ms-section-title { font-size: 0.8rem; font-weight: 700; color: #090C9F; margin-bottom: 10px; }
.ms-shop-preview { border: 1.5px solid rgba(9,12,159,0.12); border-radius: 10px; overflow: hidden; margin-bottom: 10px; }
.ms-shop-banner { padding: 14px; text-align: center; }
.ms-shop-logo-circle {
  width: 36px; height: 36px; background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #090C9F; margin: 0 auto 6px;
  font-size: 1rem;
}
.ms-shop-name { color: white; font-weight: 800; font-size: 0.9rem; }
.ms-shop-tagline { color: rgba(255,255,255,0.8); font-size: 0.65rem; }
.ms-shop-options { display: flex; gap: 6px; padding: 8px 10px; }
.ms-option { font-size: 0.62rem; padding: 4px 9px; border-radius: 6px; background: #f0f1ff; color: #555; }
.ms-option.active { background: #090C9F; color: white; font-weight: 700; }
.ms-url-preview { font-size: 0.62rem; color: #090C9F; text-align: center; padding: 6px; background: rgba(9,12,159,0.05); }

/* --- Mockup slide 3 (catalogue) --- */
.ms-products-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 8px; }
.ms-product-card { border: 1.5px solid rgba(9,12,159,0.1); border-radius: 8px; overflow: hidden; }
.ms-prod-img { height: 52px; display: flex; align-items: center; justify-content: center; }
.ms-prod-name { font-size: 0.6rem; font-weight: 700; color: #222; padding: 4px 6px 2px; }
.ms-prod-price { font-size: 0.58rem; color: #E35B34; font-weight: 700; padding: 0 6px; }
.ms-prod-stock { padding: 2px 6px 5px; }
.stock-ok { font-size: 0.55rem; color: #00C896; font-weight: 600; }
.new-card { border: 1.5px dashed #00C896; }
.ms-catalog-stats { font-size: 0.65rem; color: #888; text-align: center; padding: 4px; }

/* --- Mockup slide 4 (paiement) --- */
.ms-pay-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
.ms-pay-shop { font-size: 0.65rem; color: #888; }
.ms-pay-title { font-size: 0.85rem; font-weight: 800; color: #111; }
.ms-pay-product {
  display: flex; align-items: center; gap: 10px;
  background: #f4f5ff; border-radius: 8px; padding: 8px 10px; margin-bottom: 10px;
}
.ms-pay-prod-icon { font-size: 1.3rem; }
.ms-pay-prod-name { font-size: 0.72rem; font-weight: 700; color: #111; }
.ms-pay-prod-price { font-size: 0.68rem; color: #E35B34; font-weight: 700; }
.ms-pay-methods { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.ms-pay-method {
  display: flex; align-items: center; gap: 8px;
  border: 1.5px solid rgba(9,12,159,0.12);
  border-radius: 7px; padding: 5px 9px; font-size: 0.65rem;
  color: #333; font-weight: 600; cursor: pointer;
}
.ms-pay-method.active { border-color: #090C9F; background: rgba(9,12,159,0.05); }
.ms-btn-pay {
  background: linear-gradient(135deg,#E35B34,#f07a57);
  color: white; font-size: 0.72rem; font-weight: 800;
  padding: 9px; border-radius: 8px; text-align: center; margin-bottom: 7px;
}
.ms-pay-secure { font-size: 0.6rem; color: #aaa; text-align: center; }

/* --- Mockup slide 5 (dashboard) --- */
.ms-dash-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ms-dash-title { font-size: 0.85rem; font-weight: 800; color: #111; }
.ms-dash-date { font-size: 0.62rem; color: #888; }
.ms-kpi-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 7px; margin-bottom: 10px; }
.ms-kpi { background: #f4f5ff; border-radius: 8px; padding: 8px; text-align: center; }
.ms-kpi-val { font-size: 0.9rem; font-weight: 800; }
.ms-kpi-label { font-size: 0.55rem; color: #888; font-weight: 500; }
.ms-orders-list { display: flex; flex-direction: column; gap: 5px; margin-bottom: 8px; }
.ms-order-row {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 8px; background: #fafbff; border-radius: 6px;
  font-size: 0.62rem;
}
.ms-order-name { font-weight: 700; color: #111; flex: 1; }
.ms-order-prod { color: #666; flex: 1.5; }
.ms-order-badge { padding: 2px 8px; border-radius: 10px; font-weight: 700; font-size: 0.58rem; }
.ms-order-badge.paid { background: rgba(0,200,150,0.12); color: #00A87A; }
.ms-order-badge.pending { background: rgba(227,91,52,0.12); color: #E35B34; }
.ms-notif { font-size: 0.62rem; color: #555; background: rgba(227,91,52,0.07); padding: 6px 9px; border-radius: 7px; }

/* --- Slide 6 CTA visuel --- */
.demo-cta-visual {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 24px;
}
.demo-cta-circle {
  width: 90px; height: 90px; border-radius: 50%;
  background: linear-gradient(135deg, #090C9F, #E35B34);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: white;
  box-shadow: 0 0 0 12px rgba(9,12,159,0.1), 0 0 0 24px rgba(9,12,159,0.05);
  z-index: 2; position: relative;
  animation: demoPulse 2s ease-in-out infinite;
}
@keyframes demoPulse {
  0%, 100% { box-shadow: 0 0 0 10px rgba(9,12,159,0.12), 0 0 0 22px rgba(9,12,159,0.05); }
  50% { box-shadow: 0 0 0 16px rgba(9,12,159,0.08), 0 0 0 32px rgba(9,12,159,0.03); }
}
.demo-cta-rings { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.ring {
  position: absolute; border-radius: 50%;
  border: 1.5px solid rgba(9,12,159,0.1);
  animation: ringPulse 3s ease-in-out infinite;
}
.ring1 { width: 130px; height: 130px; animation-delay: 0s; }
.ring2 { width: 190px; height: 190px; animation-delay: 0.6s; }
.ring3 { width: 250px; height: 250px; animation-delay: 1.2s; }
@keyframes ringPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.04); }
}
.demo-cta-stats { display: flex; gap: 18px; z-index: 2; position: relative; }
.demo-cta-stat { text-align: center; }
.demo-cta-stat-val { display: block; font-size: 1.3rem; font-weight: 900; color: #090C9F; }
.demo-cta-stat-label { font-size: 0.62rem; color: #888; }

/* --- Texte slides --- */
.demo-slide-text { display: flex; flex-direction: column; gap: 10px; }
.demo-step-num { font-size: 0.72rem; font-weight: 700; color: #E35B34; letter-spacing: 0.05em; text-transform: uppercase; }
.demo-slide-text h4 { font-size: 1.2rem; font-weight: 800; color: #111; margin: 0; line-height: 1.25; }
.demo-slide-text p { font-size: 0.85rem; color: #555; line-height: 1.6; margin: 0; }
.demo-checklist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.demo-checklist li { font-size: 0.82rem; color: #444; display: flex; align-items: center; gap: 8px; }
.demo-checklist li i { color: #00C896; font-size: 0.85rem; flex-shrink: 0; }

/* CTA final */
.demo-cta-text h4 { font-size: 1.3rem; }
.demo-cta-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.demo-cta-btns .btn { text-align: center; }
.demo-cta-hint { font-size: 0.72rem; color: #aaa; margin: 0 !important; }

/* --- Navigation modale --- */
.demo-modal-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px;
  border-top: 1px solid rgba(9,12,159,0.08);
  flex-shrink: 0; background: #fafbff;
}
.demo-nav-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px;
  font-size: 0.85rem; font-weight: 700; cursor: pointer;
  border: 2px solid rgba(9,12,159,0.18);
  background: white; color: #090C9F;
  transition: all 0.2s;
}
.demo-nav-btn:hover:not(:disabled) { background: #090C9F; color: white; border-color: #090C9F; }
.demo-nav-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.demo-nav-next {
  background: linear-gradient(135deg, #090C9F, #2D30C8);
  color: white; border-color: transparent;
}
.demo-nav-next:hover:not(:disabled) { background: linear-gradient(135deg,#07099e,#E35B34); }

/* --- Dots --- */
.demo-dots { display: flex; gap: 8px; align-items: center; }
.demo-dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(9,12,159,0.18); border: none; cursor: pointer;
  padding: 0; transition: all 0.25s;
}
.demo-dot.active { background: #090C9F; width: 22px; border-radius: 5px; }

/* --- Responsive --- */
@media (max-width: 720px) {
  .demo-slide-inner { grid-template-columns: 1fr; gap: 16px; }
  .demo-slide-inner.demo-slide-cta { grid-template-columns: 1fr; }
  .demo-cta-visual { display: none; }
  .demo-modal-box { max-height: 95vh; border-radius: 14px; }
  .demo-slide { padding: 16px; }
  .demo-modal-nav { padding: 10px 16px; }
  .demo-nav-btn { padding: 8px 14px; font-size: 0.78rem; }
  .demo-slide-text h4 { font-size: 1rem; }
  .ms-products-grid { grid-template-columns: repeat(2,1fr); }
}

/* ─── Currencies row ─── */
.currencies-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.cur-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--light-2);
  border: 1px solid var(--border);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
}
.cur-badge .flag-em { font-size: 0.95rem; }

/* ─── Terminal dual usage ─── */
.terminal-dual-usage {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
.tdu-item {
  flex: 1;
  background: var(--light);
  border-radius: 10px;
  padding: 12px;
  border: 1px solid var(--border);
}
.tdu-item i { color: var(--primary); font-size: 1.1rem; margin-bottom: 6px; display: block; }
.tdu-item strong { font-size: 0.82rem; font-weight: 700; color: var(--dark); display: block; }
.tdu-item span { font-size: 0.75rem; color: var(--text-light); }

/* ─── Terminal / Paiement sections ─── */
.terminal-section,
.payment-multi-section {
  padding: 100px 0;
}
.terminal-section { background: #FFFFFF; border-top: 1px solid rgba(9,12,159,0.08); }
.payment-multi-section { background: #FFFFFF; border-top: 1px solid rgba(9,12,159,0.08); }

.pms-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.terminal-scenarios {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
/* Scoped uniquement aux listes de fonctionnalités (pas au tracking mockup) */
.features-steps .ts-item,
.terminal-steps .ts-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.features-steps .ts-item:hover,
.features-steps .ts-item.active,
.terminal-steps .ts-item:hover,
.terminal-steps .ts-item.active {
  border-left-color: var(--primary);
  background: var(--light-2);
}
.features-steps .ts-item h4,
.terminal-steps .ts-item h4 { font-size: 0.92rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.features-steps .ts-item p,
.terminal-steps .ts-item p  { font-size: 0.82rem; color: var(--text-light); }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.featured { transform: none; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .metiers-grid, .metiers-grid-4 { grid-template-columns: 1fr; }
  .pms-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .topbar-inner { justify-content: center; }
  .topbar span:not(.lang-switcher) { display: none; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    z-index: 998;
    padding: 80px 24px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.1rem; padding: 12px 24px; }
  .nav-dropdown .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: 1px solid var(--border);
    opacity: 1;
    pointer-events: all;
    display: none;
  }
  .nav-dropdown:hover .dropdown-menu,
  .nav-dropdown:focus-within .dropdown-menu { display: block; }

  .nav-actions .btn-outline { display: none; }
  .hamburger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0; min-height: auto; }

  /* Option B responsive tablette : 2×2 */
  .metier-cards-grid4 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .metier-cards-grid4 .mhc-img-wrap { height: 200px; }
  .hero-inner-b { gap: 40px; }
  .hero-content-centered { max-width: 100%; }

  .services-grid { grid-template-columns: 1fr; }
  .steps-grid { flex-direction: column; align-items: stretch; }
  .step-arrow { display: none; }
  .app-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .testi-grid { grid-template-columns: 1fr; }
  .testi-card.featured { transform: none; }
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
  .cookie-banner { flex-direction: column; }

  .hero-title { font-size: 2.2rem; }
  .hero-cta { flex-direction: column; }

  .metiers-grid, .metiers-grid-4 { grid-template-columns: 1fr; }

  /* Hero cards responsive */
  .hero-cards-visual { padding: 10px 0; }
  .metier-cards-stack { grid-template-columns: 1fr 1fr; gap: 12px; max-width: 100%; }
  .mhc-img-wrap { height: 140px; }
  .floating-card { display: none; } /* cachées sur mobile */
}

/* ─── Dropdown mega-wide ─── */
.dropdown-wide { min-width: 320px; }
.dd-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--light-2);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 0.95rem;
  flex-shrink: 0;
}
.dd-text { display: flex; flex-direction: column; }
.dd-text strong { font-size: 0.9rem; color: var(--dark); font-weight: 700; }
.dd-text span { font-size: 0.78rem; color: var(--text-light); }
.dropdown-menu a:hover .dd-icon {
  background: var(--primary);
  color: white;
}

/* ─── Hero rotating text ─── */
.rotating-word {
  display: inline-block;
  overflow: hidden;
  position: relative;
  vertical-align: bottom;
}

/* ═══════════════════════════════════════════════
   PAGES INTERNES – couleurs spécifiques
═══════════════════════════════════════════════ */
/* Terminal virtuel → vert */
.page-terminal .page-accent { color: #00C896; }
.page-terminal .btn-accent { background: #00C896; border-color: #00C896; color: white; }
.page-terminal .btn-accent:hover { background: #00A87A; }

/* Expéditions → amber */
.page-expeditions .page-accent { color: #FFB800; }
.page-expeditions .btn-accent { background: #FFB800; border-color: #FFB800; color: var(--dark); }
.page-expeditions .btn-accent:hover { background: #E0A100; }

/* API → primary bleu */
.page-api .page-accent { color: var(--primary); }

/* ═══════════════════════════════════════════════
   IMAGES MÉTIERS – illustration cards
═══════════════════════════════════════════════ */
.metier-illus {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Fallback colored banners si image absente */
.metier-img-wrap.fallback-marketplace { background: linear-gradient(135deg, #090C9F, #2D30C8); }
.metier-img-wrap.fallback-paiement { background: linear-gradient(135deg, #E35B34, #F07A57); }
.metier-img-wrap.fallback-terminal { background: linear-gradient(135deg, #00917A, #00C896); }
.metier-img-wrap.fallback-expeditions { background: linear-gradient(135deg, #D08000, #FFB800); }

/* ─── Illustration icon (fallback) ─── */
.metier-fallback-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: rgba(255,255,255,0.4);
  pointer-events: none;
}

/* ═══════════════════════════════════════════════
   @media 480px
═══════════════════════════════════════════════ */
@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .footer-certifs { justify-content: center; flex-wrap: wrap; }
  .hero-title { font-size: 1.8rem; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .payment-logos { gap: 14px; }
  .currency-logo { padding: 4px 10px 4px 4px; }
  .stats-inner { grid-template-columns: 1fr; }

  /* Titres de section réduits */
  .section-header h2 { font-size: 1.5rem; }
  .section-header p { font-size: 0.95rem; }

  /* Chips de devises : wrap garanti */
  .currencies-row { gap: 6px; }
  .currency-chip { font-size: 0.72rem; padding: 3px 8px; }

  /* Option B : 2×2 sur mobile standard */
  .metier-cards-grid4 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .metier-cards-grid4 .mhc-img-wrap { height: 160px; }
  .metier-cards-grid4 .mhc-footer h3 { font-size: 0.95rem; }
  .hero-inner-b { gap: 32px; }
}

/* ═══════════════════════════════════════════════
   TRÈS PETIT MOBILE – 400px et moins
   (iPhone SE, Galaxy A03, vieux Android)
═══════════════════════════════════════════════ */
@media (max-width: 400px) {
  /* Grille hero 2×2 → 1 colonne */
  .metier-cards-stack { grid-template-columns: 1fr; gap: 8px; }
  .mhc-img-wrap { height: 130px; }

  /* Option B : 1 colonne sur très petit écran */
  .metier-cards-grid4 { grid-template-columns: 1fr; gap: 12px; }
  .metier-cards-grid4 .mhc-img-wrap { height: 180px; }

  /* Grille 6 métiers → 1 colonne */
  .metiers-grid { grid-template-columns: 1fr; }

  /* Hero title encore plus compact */
  .hero-title { font-size: 1.5rem; line-height: 1.25; }
  .hero-subtitle { font-size: 0.9rem; }

  /* Boutons CTA pleine largeur */
  .hero-cta { flex-direction: column; gap: 10px; }
  .hero-cta .btn { width: 100%; text-align: center; justify-content: center; }

  /* Titres de section */
  .section-header h2 { font-size: 1.3rem; }
  .section-header { margin-bottom: 36px; }

  /* Chips devises encore plus petites */
  .currency-chip { font-size: 0.68rem; padding: 2px 6px; }
  .currencies-row { gap: 4px; }

  /* Navigation actions */
  .nav-actions .btn { font-size: 0.78rem; padding: 7px 12px; }

  /* Cartes terminal dual usage en colonne */
  .terminal-dual-usage { grid-template-columns: 1fr; }

  /* Footer bottom */
  .footer-bottom-inner { gap: 12px; }
  .footer-certifs { gap: 8px; }
  .certif-badge { font-size: 0.68rem; padding: 4px 8px; }
}

/* ═══════════════════════════════════════════════
   LOGO ELYONPAY SVG INLINE
═══════════════════════════════════════════════ */
.logo-elyon-svg {
  height: 38px;
  width: auto;
}

/* ═══════════════════════════════════════════════
   CARTES MÉTIERS – STYLES DÉTAILLÉS
   (sections avec image + header coloré + body)
═══════════════════════════════════════════════ */

/* Grille 2×3 des 6 métiers */
.metiers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
/* Carte "bientôt disponible" */
.metier-card-coming {
  opacity: 0.85;
  border-style: dashed;
}

/* Carte de base */
.metier-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--border);
  transition: var(--transition);
  background: white;
  box-shadow: 0 2px 12px rgba(9,12,159,0.06);
}
.metier-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 60px rgba(9,12,159,0.15);
  border-color: var(--primary);
}
.metier-card.metier-card-featured {
  border-color: var(--secondary);
  box-shadow: 0 4px 20px rgba(227,91,52,0.12);
}
.metier-card.metier-card-featured:hover {
  border-color: var(--secondary-dark);
  box-shadow: 0 24px 60px rgba(227,91,52,0.2);
}

/* Zone image illustrative – image entière, sans coupure */
.metier-img-wrap {
  position: relative;
  width: 100%;
  overflow: visible;
  background: #fff;
  line-height: 0;
}
.metier-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}
.metier-card:hover .metier-img-wrap img {
  transform: scale(1.02);
}
/* Overlay masqué – image entièrement visible */
.metier-img-overlay { display: none; }
.metier-img-badge   { display: none; }
.metier-number      { display: none; }

/* Bandeau titre en bas de l'image – fond bleu charte, texte blanc */
.metier-img-caption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--primary);
}
.metier-img-caption .metier-main-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}
.metier-num-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2px;
}
.metier-img-caption h3 {
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0 0 2px;
  line-height: 1.2;
}
.metier-img-caption p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  margin: 0;
  line-height: 1.4;
}

/* En-tête sobre sur fond blanc */
.metier-card-header {
  padding: 20px 24px 16px;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.metier-main-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 4px;
}
.metier-card-header h3 {
  font-family: var(--font-main);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}
.metier-card-header p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin: 0;
}

/* Corps de la carte */
.metier-card-body {
  padding: 24px;
}
.metier-card-body > p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 18px;
}
.metier-features {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 20px;
}
.metier-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.87rem;
  color: var(--text);
}
.metier-features li i {
  color: var(--primary);
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.metier-card.metier-card-featured .metier-features li i { color: #00C896; }

/* CTA dans les cartes */
.metier-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

/* Chips devises */
.currency-chip {
  display: inline-flex;
  align-items: center;
  background: var(--light-2);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 4px;
}

/* Dual usage terminal */
.terminal-dual-usage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}
.dual-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dual-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.dual-card strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
}
.dual-card p {
  font-size: 0.78rem;
  color: var(--text-light);
  line-height: 1.5;
  margin: 0;
}

/* Testi metier tag */
.testi-metier-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Metier new badge */
.metier-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(255,255,255,0.25);
  color: white;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255,255,255,0.3);
  width: fit-content;
}

/* Section terminal & paiement inline */
.terminal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* Badge green, orange */
.badge-green {
  background: rgba(0,200,150,0.12);
  color: #00A87A;
  border-color: rgba(0,200,150,0.25);
}
.badge-orange {
  background: rgba(227,91,52,0.1);
  color: var(--secondary);
  border-color: rgba(227,91,52,0.25);
}

/* Gradient text green */
.gradient-text-green {
  background: linear-gradient(135deg, #00C896, #00A87A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scenario cards */
.scenario-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  cursor: pointer;
  transition: var(--transition);
  border-left: 3px solid transparent;
}
.scenario-card:hover,
.scenario-card.active {
  border-left-color: #00C896;
  background: rgba(0,200,150,0.05);
  box-shadow: var(--shadow);
}
.scenario-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,200,150,0.12);
  color: #00C896;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.scenario-text strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
  display: block;
  margin-bottom: 4px;
}
.scenario-text p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* Terminal visual */
.terminal-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Illustration photo Terminal Virtuel – image entière, badges en premier plan */
.tv-illus-container {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 420px;
  border-radius: 24px;
  overflow: visible;
  box-shadow: 0 40px 80px rgba(0,0,0,0.45), 0 0 0 2px rgba(0,200,150,0.25);
}
.tv-illus-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: contain;
}

.tv-phone {
  position: relative;
  width: 260px;
  height: 520px;
  background: linear-gradient(145deg, #08098F, #070980);
  border-radius: 36px;
  border: 2px solid rgba(0,200,150,0.3);
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
  overflow: hidden;
  animation: phoneFloat 6s ease-in-out infinite;
}
.tvp-screen {
  padding: 28px 14px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
  overflow: hidden;
}
.tvp-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 10px;
  background: #070980;
  border-radius: 8px;
  z-index: 10;
}
.tv-scenario { display: none; height: 100%; }
.tv-scenario.active { display: flex; flex-direction: column; gap: 10px; }
.tvs-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-size: 0.82rem;
  font-weight: 600;
}
.tvs-logo {
  width: 28px; height: 28px;
  background: #00C896;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  color: white;
}
.tvs-shop { display: flex; flex-direction: column; gap: 6px; }
.tvs-product {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 8px 10px;
  color: white;
}
.tvs-product span { font-size: 1.2rem; }
.tvs-product div { flex: 1; }
.tvs-product small { font-size: 0.65rem; color: rgba(255,255,255,0.5); display: block; }
.tvs-product strong { font-size: 0.75rem; color: white; }
.tvs-buy {
  background: #00C896;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 0.68rem;
  font-weight: 700;
  cursor: pointer;
}
.tvs-url {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.5);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: 0.65rem;
  text-align: center;
}
.tvs-amount-entry { text-align: center; color: white; }
.tvs-amount-entry small { font-size: 0.7rem; opacity: 0.6; }
.tvs-amount-display { font-size: 1.5rem; font-weight: 800; }
.tvs-amount-display span { font-size: 0.9rem; }
.tvs-qr-code {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  gap: 6px;
}
.tvs-qr-code i { font-size: 3rem; color: #00C896; opacity: 0.7; }
.tvs-qr-code small { font-size: 0.7rem; }
.tvs-methods {
  display: flex; justify-content: space-around;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 8px;
}
.tvs-methods span { font-size: 0.65rem; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 3px; }
.tvs-link-share { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tvs-link-box {
  background: rgba(255,255,255,0.08);
  color: #00C896;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 0.68rem;
  word-break: break-all;
}
.tvs-share-btns { display: flex; gap: 4px; flex-wrap: wrap; }
.tvs-share-btn {
  flex: 1;
  padding: 6px;
  border-radius: 6px;
  border: none;
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 3px;
}
.tvs-share-btn.whatsapp { background: #25D366; color: white; }
.tvs-share-btn.sms { background: #090C9F; color: white; }
.tvs-share-btn.copy { background: rgba(255,255,255,0.1); color: white; }
.tvs-success-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px;
  background: rgba(0,200,150,0.1);
  border-radius: 8px;
}
.tvs-success-preview small { font-size: 0.65rem; color: rgba(255,255,255,0.6); }

/* TV floating badges */
.tv-float {
  position: absolute;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  border-radius: 12px;
  padding: 10px 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--dark);
  animation: cardFloat 4s ease-in-out infinite;
  white-space: nowrap;
}
.tv-float i { font-size: 1.1rem; }
.tv-float-1 { top: 20px;    right: -20px; animation-delay: 0s;   border-left: 4px solid #00C896; }
.tv-float-2 { top: 42%;     right: -20px; animation-delay: 1.5s; border-left: 4px solid #FFB800; }
.tv-float-3 { bottom: 20px; left:  -20px; animation-delay: 3s;  border-left: 4px solid #090C9F; }

/* PMS (Paiement Multi-devise section) */
.pms-visual { display: flex; justify-content: center; }
.pms-dashboard {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 24px;
  width: 320px;
}
.pms-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 16px;
}
.pms-live-dot { display: flex; align-items: center; gap: 5px; font-size: 0.75rem; color: var(--success); font-weight: 600; }
.online-dot { width: 7px; height: 7px; background: var(--success); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1}50%{opacity:0.4} }
.pms-balances { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; max-height: 260px; overflow-y: auto; padding-right: 4px; scrollbar-width: none; -ms-overflow-style: none; }
.pms-balances::-webkit-scrollbar { display: none; }
.pms-balance-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--light);
  border: 1px solid transparent;
  transition: var(--transition);
}
.pms-balance-row.active { border-color: var(--primary); background: var(--light-2); }
.pms-flag { font-size: 1.2rem; }
.pms-currency { font-weight: 800; font-size: 0.85rem; color: var(--dark); min-width: 36px; }
.pms-amount { flex: 1; font-size: 0.85rem; font-weight: 600; color: var(--text); text-align: right; }
.pms-change { font-size: 0.72rem; font-weight: 700; min-width: 60px; text-align: right; }
.pms-change.positive { color: var(--success); }
.pms-change.negative { color: var(--danger); }
.pms-convert {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--light);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 12px;
}
.pms-convert select, .pms-convert input {
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 5px 8px;
  font-size: 0.8rem;
  color: var(--dark);
  font-family: var(--font-body);
}
.pms-convert input { flex: 1; min-width: 0; }
.pms-convert-arrow { color: var(--primary); font-size: 0.9rem; flex-shrink: 0; }
.pms-methods-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.pms-method { font-size: 0.75rem; color: var(--text-light); display: flex; align-items: center; gap: 4px; font-weight: 600; }

/* PMS content features grid */
.pms-content h2 {
  font-family: var(--font-main);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}
.pms-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.pms-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pms-feat > i {
  font-size: 1.1rem;
  color: var(--primary);
  margin-top: 3px;
  flex-shrink: 0;
  width: 20px;
}
.pms-feat strong { font-size: 0.87rem; font-weight: 700; color: var(--dark); display: block; margin-bottom: 2px; }
.pms-feat p { font-size: 0.78rem; color: var(--text-light); margin: 0; }

/* Responsive ajustements métiers */
@media (max-width: 900px) {
  .metiers-grid { grid-template-columns: 1fr; }
  .terminal-inner { grid-template-columns: 1fr; gap: 40px; }
  .pms-inner { grid-template-columns: 1fr; gap: 40px; }
  .terminal-dual-usage { grid-template-columns: 1fr; }
  .pms-features-grid { grid-template-columns: 1fr; }
}

