/* ScanPay — site de présentation. Aucune bibliothèque : une feuille, une page. */
:root {
  --bleu: #007EA7;
  --bleu-fonce: #005573;
  --bleu-clair: #e6f6fb;
  --orange: #F96302;
  --vert: #009e60;
  --encre: #072B3B;
  --texte: #36505E;
  --gris: #f4fafc;
  --ligne: #d5e8ef;
  --cuir-1: #6d4c41;
  --cuir-2: #4e342e;
  --cuir-3: #3e2723;
  --rayon: 20px;
  --ombre: 0 18px 50px -20px rgba(0, 126, 167, .35);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; color: var(--texte); background: #fff;
  font: 400 clamp(16px, 1.05vw + 12px, 18px)/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--bleu); }
h1, h2, h3 { color: var(--encre); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 4.8vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
.conteneur { width: min(1140px, 100% - 40px); margin-inline: auto; }
.lien-evitement { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.lien-evitement:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* ── En-tête ───────────────────────────────────────────── */
.entete { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ligne); }
.entete .conteneur { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.marque { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--encre); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.marque svg, .marque img { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; background: #fff; padding: 2px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; color: var(--texte); font-weight: 600; font-size: .95rem; }
.nav a:hover { color: var(--bleu); }
.nav a.bouton-plein, .nav a.bouton-plein:hover { color: #fff; }
.bouton {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; cursor: pointer;
  font: 700 1rem/1 inherit; padding: 16px 26px; border-radius: 14px; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s;
}
.bouton:active { transform: scale(.97); }
.bouton-plein { background: var(--bleu); color: #fff; box-shadow: 0 10px 24px -10px rgba(0, 51, 153, .7); }
.bouton-plein:hover { background: var(--bleu-fonce); }
.bouton-orange { background: var(--orange); color: #1a1100; box-shadow: 0 10px 24px -10px rgba(247, 127, 0, .8); }
.bouton-orange:hover { background: #ff8f1f; }
.bouton-contour { background: #fff; color: var(--bleu); border-color: var(--ligne); }
.bouton-contour:hover { border-color: var(--bleu); }
.entete .bouton { padding: 11px 18px; font-size: .92rem; border-radius: 12px; }
[hidden] { display: none !important; }

/* ── Héros ─────────────────────────────────────────────── */
.heros { position: relative; overflow: hidden; background: radial-gradient(1100px 520px at 85% -10%, #cceef8 0%, transparent 60%), linear-gradient(180deg, #f0f9fc 0%, #fff 100%); padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 110px); }
.heros .conteneur { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pastille { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--ligne); border-radius: 999px; padding: 7px 14px; font-size: .88rem; font-weight: 700; color: var(--bleu); margin-bottom: 22px; }
.pastille i { width: 9px; height: 9px; border-radius: 50%; background: var(--vert); box-shadow: 0 0 0 4px rgba(0, 158, 96, .18); }
.heros h1 em { font-style: normal; color: var(--bleu); background: linear-gradient(transparent 62%, rgba(247, 127, 0, .35) 62%); }
.heros .accroche { font-size: clamp(1.05rem, 1.4vw + .6rem, 1.3rem); margin: 22px 0 32px; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.preuves { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 34px; font-size: .92rem; font-weight: 600; color: var(--encre); }
.preuves span::before { content: "✓"; color: var(--vert); font-weight: 800; margin-inline-end: 8px; }

/* Maquette : téléphone avec le portefeuille Bédou */
.scene { display: flex; justify-content: center; }
.telephone { width: min(300px, 78vw); aspect-ratio: 9 / 15.5; border-radius: 40px; background: #0b1020; padding: 10px; box-shadow: var(--ombre), inset 0 0 0 2px #26304f; transform: rotate(2.5deg); }
.ecran { height: 100%; border-radius: 31px; background: #f6f8fd; padding: 26px 14px 14px; overflow: hidden; position: relative; display: flex; flex-direction: column; gap: 12px; }
.ecran::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 70px; height: 18px; border-radius: 10px; background: #0b1020; }
.ecran .titre { font-weight: 800; color: #5d4037; font-size: .95rem; padding: 0 4px; }
.portefeuille { position: relative; border-radius: 20px; padding: 16px; color: #fff; background: linear-gradient(145deg, var(--cuir-1), var(--cuir-2) 55%, var(--cuir-3)); border: 1px solid #8d6e63; box-shadow: 0 16px 30px -14px rgba(0, 0, 0, .6); overflow: hidden; min-height: 170px; }
.portefeuille::after { content: ""; position: absolute; inset: 6px; border: 1.5px dashed rgba(215, 204, 200, .3); border-radius: 15px; pointer-events: none; }
.portefeuille .fente { position: absolute; top: 0; left: 8%; right: 8%; height: 10px; background: #1a110d; border-radius: 0 0 8px 8px; }
.portefeuille .billets { position: absolute; top: 6px; right: 6px; width: 140px; height: 56px; }
.portefeuille .billets img { position: absolute; width: 90px; height: 56px; object-fit: cover; border-radius: 4px; box-shadow: 0 4px 8px rgba(0, 0, 0, .45); }
.portefeuille .billets img:nth-child(1) { left: 0; transform: rotate(-5deg); }
.portefeuille .billets img:nth-child(2) { left: 26px; top: 3px; transform: rotate(2deg); }
.portefeuille .billets img:nth-child(3) { left: 50px; top: 6px; transform: rotate(-1deg); }
.portefeuille small { display: block; letter-spacing: .14em; font-size: .58rem; font-weight: 800; color: #d7ccc8; margin-top: 4px; }
.portefeuille .nom { font-weight: 700; font-size: .98rem; }
.portefeuille .solde { position: absolute; left: 16px; bottom: 14px; z-index: 2; }
.portefeuille .solde small { color: #bcaaa4; letter-spacing: .12em; }
.portefeuille .solde strong { font: 900 1.7rem Georgia, "Times New Roman", serif; }
.portefeuille .qr { position: absolute; right: 12px; bottom: 12px; background: linear-gradient(135deg, #d7ccc8, #a1887f); color: #3e2723; font-weight: 800; font-size: .72rem; padding: 7px 11px; border-radius: 9px; }
.actions-mock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.actions-mock b { text-align: center; padding: 9px 2px; border-radius: 12px; font-size: .56rem; letter-spacing: .02em; color: #efebe9; background: linear-gradient(145deg, var(--cuir-1), var(--cuir-3)); border: 1px solid #8d6e63; }
.carte-mock { border-radius: 16px; background: #fff; border: 1px solid var(--ligne); padding: 12px; display: flex; align-items: center; gap: 10px; }
.carte-mock .rond { width: 34px; height: 34px; border-radius: 50%; background: #dff5ea; color: var(--vert); display: grid; place-items: center; font-weight: 900; }
.carte-mock b { display: block; color: var(--encre); font-size: .8rem; }
.carte-mock span { font-size: .7rem; }

/* ── Sections ──────────────────────────────────────────── */
section { padding: clamp(56px, 8vw, 104px) 0; }
.tete-section { max-width: 40em; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.tete-section p { margin-top: 16px; font-size: 1.08rem; }
.surtitre { display: block; font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.fond-gris { background: var(--gris); }
.grille { display: grid; gap: 22px; }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g2 { grid-template-columns: repeat(2, 1fr); }
.carte { background: #fff; border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 28px; transition: transform .2s, box-shadow .2s; }
.carte:hover { transform: translateY(-4px); box-shadow: var(--ombre); }
.carte .icone { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font-size: 1.5rem; background: var(--bleu-clair); margin-bottom: 18px; }
.carte p { margin-top: 10px; font-size: .98rem; }

.deux-colonnes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.liste { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.liste li { display: flex; gap: 14px; align-items: flex-start; }
.liste-courte { margin-top: 16px; gap: 12px; font-size: .95rem; }
.liste li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: #dff5ea; color: var(--vert); font-weight: 900; font-size: .85rem; margin-top: 2px; }
.liste li[data-e]::before { content: attr(data-e); background: var(--bleu-clair); color: inherit; font-weight: 400; font-size: 1rem; }
.liste b { color: var(--encre); }

/* Clavier à billets */
.clavier-demo { background: #fff; border: 1px solid var(--ligne); border-radius: 28px; padding: 22px; box-shadow: var(--ombre); }
.clavier-demo .affichage { font: 900 2.2rem Georgia, serif; color: var(--encre); margin-bottom: 14px; }
.clavier-demo .affichage small { font: 700 .75rem system-ui; color: var(--texte); display: block; letter-spacing: .08em; }
.billets-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.billets-grille figure { margin: 0; position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--ligne); aspect-ratio: 2 / 1.05; }
.billets-grille img { width: 100%; height: 100%; object-fit: cover; }
.billets-grille figcaption { position: absolute; right: 6px; bottom: 6px; background: rgba(255, 255, 255, .92); border-radius: 6px; padding: 1px 7px; font-weight: 800; font-size: .78rem; color: var(--encre); }
.billets-grille .compteur { position: absolute; top: 6px; right: 6px; background: var(--vert); color: #fff; font-weight: 800; font-size: .78rem; min-width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; }

/* Étapes */
.etapes { counter-reset: etape; }
.etape { position: relative; padding-top: 72px; }
.etape::before { counter-increment: etape; content: counter(etape); position: absolute; top: 0; inset-inline-start: 28px; width: 46px; height: 46px; border-radius: 14px; background: var(--bleu); color: #fff; font-weight: 800; font-size: 1.25rem; display: grid; place-items: center; }

/* Activités */
.puces { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 920px; margin: 0 auto; }
.puces span { background: #fff; border: 1px solid var(--ligne); border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .92rem; color: var(--encre); }

/* Sécurité (bandeau foncé) */
.sombre { background: linear-gradient(160deg, var(--encre), var(--bleu-fonce)); color: #d4ecf4; }
.sombre h2, .sombre h3 { color: #fff; }
.sombre .carte { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
.sombre .carte .icone { background: rgba(255, 255, 255, .12); }
.sombre .carte:hover { box-shadow: none; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--ligne); border-radius: 16px; padding: 4px 22px; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--encre); padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.5rem; line-height: 1; color: var(--bleu); }
.faq details[open] summary::after { content: "–"; }
.faq summary::-webkit-details-marker { display: none; }
.faq details p { padding: 0 0 20px; }

/* Appel final et contact */
.appel { background: linear-gradient(135deg, var(--bleu), var(--bleu-fonce)); color: #e2f5fb; text-align: center; border-radius: 32px; padding: clamp(40px, 6vw, 72px) 24px; }
.appel h2 { color: #fff; }
.appel p { margin: 16px auto 30px; max-width: 34em; font-size: 1.1rem; }
.appel .actions { justify-content: center; }
.contact-carte { max-width: 640px; margin: 0 auto; text-align: center; }
.contact-carte .actions { justify-content: center; margin-top: 24px; }

.pied { background: var(--encre); color: #aab4d4; padding: 48px 0 30px; font-size: .92rem; }
.pied .conteneur { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.pied .marque { color: #fff; }
.pied nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.pied a { color: #cdd6f1; text-decoration: none; }
.pied a:hover { color: #fff; }
.pied .droits { width: 100%; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: .85rem; }

/* ── Langues : sélecteur et écriture de droite à gauche ─── */
.langues { display: flex; gap: 4px; flex: none; }
.langues a { text-decoration: none; font-weight: 700; font-size: .85rem; line-height: 1; padding: 8px 10px; border-radius: 10px; color: var(--texte); border: 1px solid transparent; }
.langues a:hover { color: var(--bleu); border-color: var(--ligne); }
.langues a[aria-current] { background: var(--bleu); color: #fff; }
html[lang="ar"] body { font-family: "Segoe UI", Tahoma, "Noto Sans Arabic", "Noto Naskh Arabic", system-ui, Arial, sans-serif; line-height: 1.85; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.4; letter-spacing: 0; }
html[lang="ar"] .nav a, html[lang="ar"] .surtitre { letter-spacing: 0; }
html[lang="ar"] .lien-evitement { left: auto; right: -999px; }
html[lang="ar"] .lien-evitement:focus { right: 12px; }

/* ── Adaptation téléphone ──────────────────────────────── */
@media (max-width: 920px) {
  .heros .conteneur, .deux-colonnes { grid-template-columns: 1fr; }
  .telephone { transform: none; width: min(260px, 70vw); }
  .g3 { grid-template-columns: 1fr 1fr; }
  .nav a:not(.bouton) { display: none; }
}
@media (max-width: 520px) {
  /* Le même bouton figure déjà dans le héros : on libère la place du sélecteur de langue. */
  .entete .nav { display: none; }
  .entete .conteneur { gap: 12px; }
}
@media (max-width: 360px) {
  .marque { font-size: 1.2rem; }
  .langues { gap: 2px; }
  .langues a { padding: 8px 8px; }
}
@media (max-width: 620px) {
  .portefeuille { min-height: 150px; padding: 12px; }
  .portefeuille .billets { width: 112px; height: 44px; right: 4px; }
  .portefeuille .billets img { width: 70px; height: 44px; }
  .portefeuille .billets img:nth-child(2) { left: 20px; }
  .portefeuille .billets img:nth-child(3) { left: 40px; }
  .portefeuille .solde strong { font-size: 1.25rem; }
  .portefeuille .qr { font-size: .62rem; padding: 5px 8px; right: 8px; bottom: 8px; }
  .actions-mock b { font-size: .5rem; padding: 8px 0; }
  .g3, .g2 { grid-template-columns: 1fr; }
  .carte { padding: 22px; }
  .actions .bouton { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ── Bandeau chiffres clés ─────────────────────────────── */
.bandeau-chiffres { background: var(--encre); color: #fff; padding: 28px 0; }
.chiffres-grille { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.chiffre strong { display: block; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 800; color: #ffb347; line-height: 1.1; }
.chiffre span { display: block; font-size: .88rem; color: #cfd9f7; margin-top: 4px; font-weight: 600; }

/* ── Clavier interactif amélioré ───────────────────────── */
.clavier-tete { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.clavier-reset {
  background: var(--gris); border: 1px solid var(--ligne); color: var(--encre);
  font: 700 .8rem/1 inherit; padding: 8px 12px; border-radius: 10px; cursor: pointer;
}
.clavier-reset:hover { border-color: var(--orange); color: var(--orange); }
.billets-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.billet-btn {
  padding: 0; border: 1px solid var(--ligne); background: #fff; border-radius: 12px;
  overflow: hidden; position: relative; aspect-ratio: 2 / 1.05; cursor: pointer;
  transition: transform .12s, border-color .15s, box-shadow .15s;
}
.billet-btn:hover { transform: translateY(-2px); border-color: var(--orange); box-shadow: 0 8px 18px -10px rgba(0, 31, 92, .45); }
.billet-btn:active { transform: scale(.96); }
.billet-btn img { width: 100%; height: 100%; object-fit: cover; }
.billet-btn .etiquette { position: absolute; right: 6px; bottom: 6px; background: rgba(255, 255, 255, .94); border-radius: 6px; padding: 1px 7px; font-weight: 800; font-size: .78rem; color: var(--encre); }
.billet-btn .compteur { position: absolute; top: 6px; right: 6px; background: var(--vert); color: #fff; font-weight: 800; font-size: .78rem; min-width: 24px; height: 24px; border-radius: 12px; display: grid; place-items: center; }
.clavier-aide { margin-top: 12px; font-size: .82rem; color: var(--texte); text-align: center; font-weight: 600; }

/* ── Grille Tarifs ─────────────────────────────────────── */
.tarifs-grille { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.tarif-carte { background: #fff; border: 1.5px solid var(--ligne); border-radius: var(--rayon); padding: 28px; display: flex; flex-direction: column; position: relative; }
.tarif-carte.populaire { border-color: var(--orange); box-shadow: var(--ombre); }
.tarif-badge { position: absolute; top: -13px; inset-inline-end: 20px; background: var(--orange); color: #1a1100; font-size: .76rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 5px 12px; border-radius: 999px; }
.tarif-prix { font-size: 2.1rem; font-weight: 900; color: var(--encre); margin: 14px 0 4px; letter-spacing: -.03em; }
.tarif-prix small { font-size: .92rem; font-weight: 600; color: var(--texte); }
.tarif-carte .bouton { margin-top: auto; width: 100%; }
.bandeau-direct { margin-top: 28px; background: #eef9f3; border: 1px solid #b6e6cd; border-radius: 16px; padding: 16px 20px; text-align: center; font-size: .94rem; color: #064e3b; font-weight: 600; }

/* ── Bouton WhatsApp flottant ──────────────────────────── */
.wa-flottant {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px; text-decoration: none;
  background: #25D366; color: #052e16; font-weight: 800; font-size: .92rem;
  padding: 12px 18px; border-radius: 999px;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .75);
  transition: transform .15s, box-shadow .15s;
}
.wa-flottant:hover { transform: translateY(-2px); color: #052e16; box-shadow: 0 16px 32px -8px rgba(37, 211, 102, .9); }

@media (max-width: 920px) {
  .chiffres-grille { grid-template-columns: repeat(2, 1fr); }
  .tarifs-grille { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .billets-grille { grid-template-columns: repeat(2, 1fr); }
  .wa-flottant span { display: none; }
  .wa-flottant { padding: 14px; }
}

/* ── Animations grand public (Scan, Paiement, Croissance) ── */
.ecran-anim { justify-content: space-between; gap: 10px; background: linear-gradient(180deg, #ffffff 0%, #eef8fc 100%); }
.logo-mini { display: flex; justify-content: center; padding-top: 6px; }
.logo-mini img { height: 42px; width: auto; object-fit: contain; }
.anim-scan-box { background: #fff; border: 1px solid var(--ligne); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; align-items: center; gap: 10px; box-shadow: 0 10px 24px -14px rgba(0, 126, 167, .35); }
.qr-cadre { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.qr-cadre .coin { position: absolute; width: 16px; height: 16px; border: 3px solid var(--orange); }
.qr-cadre .c1 { top: 0; left: 0; border-right: 0; border-bottom: 0; border-radius: 6px 0 0 0; }
.qr-cadre .c2 { top: 0; right: 0; border-left: 0; border-bottom: 0; border-radius: 0 6px 0 0; }
.qr-cadre .c3 { bottom: 0; left: 0; border-right: 0; border-top: 0; border-radius: 0 0 0 6px; }
.qr-cadre .c4 { bottom: 0; right: 0; border-left: 0; border-top: 0; border-radius: 0 0 6px 0; }
.qr-grille { display: grid; grid-template-columns: repeat(3, 14px); gap: 6px; }
.qr-grille i { width: 14px; height: 14px; border-radius: 3px; background: var(--bleu); display: block; }
.qr-grille i:nth-child(2n) { background: var(--encre); }
.qr-grille i:nth-child(5) { background: var(--orange); }
.laser-ligne {
  position: absolute; left: 6px; right: 6px; height: 3px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  box-shadow: 0 0 10px var(--orange);
  animation: sp-laser 2.2s ease-in-out infinite;
}
.scan-statut { display: flex; align-items: center; gap: 8px; width: 100%; background: #eef9f3; border-radius: 12px; padding: 7px 10px; animation: sp-pop 3s ease-in-out infinite; }
.puce-ok { width: 24px; height: 24px; border-radius: 50%; background: var(--vert); color: #fff; font-weight: 900; font-size: .78rem; display: grid; place-items: center; flex: none; }
.scan-statut b { display: block; font-size: .76rem; color: var(--encre); line-height: 1.1; }
.scan-statut small { font-size: .64rem; color: var(--texte); }

.anim-billets { position: relative; height: 54px; display: flex; justify-content: center; align-items: center; }
.b-vol { position: absolute; width: 78px; height: 42px; object-fit: cover; border-radius: 6px; box-shadow: 0 6px 14px rgba(0, 0, 0, .2); border: 1px solid #fff; }
.b1 { transform: translateX(-34px) rotate(-8deg); animation: sp-float1 3.4s ease-in-out infinite; }
.b2 { z-index: 2; animation: sp-float2 3.4s ease-in-out infinite; }
.b3 { transform: translateX(34px) rotate(8deg); animation: sp-float3 3.4s ease-in-out infinite; }

.anim-barres { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 54px; background: #fff; border: 1px solid var(--ligne); border-radius: 14px; padding: 8px 12px; }
.anim-barres span { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--orange), var(--bleu)); transform-origin: bottom; animation: sp-bar 2.8s ease-in-out infinite; }
.anim-barres span:nth-child(2) { animation-delay: .15s; }
.anim-barres span:nth-child(3) { animation-delay: .3s; }
.anim-barres span:nth-child(4) { animation-delay: .45s; }
.anim-barres span:nth-child(5) { animation-delay: .6s; }

/* Mini animations dans les 3 cartes Scannez / Payez / Gérez */
.demo-mini { height: 76px; border-radius: 16px; background: var(--bleu-clair); margin-bottom: 18px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.demo-qr .mini-qr { width: 42px; height: 42px; border: 3px solid var(--bleu); border-radius: 10px; background: repeating-linear-gradient(45deg, var(--bleu) 0 4px, transparent 4px 10px); opacity: .85; }
.demo-qr .mini-laser { position: absolute; width: 62px; height: 3px; background: var(--orange); box-shadow: 0 0 10px var(--orange); border-radius: 3px; animation: sp-laser 2s ease-in-out infinite; }
.demo-pay .check-rond { width: 42px; height: 42px; border-radius: 50%; background: var(--vert); color: #fff; font-weight: 900; font-size: 1.2rem; display: grid; place-items: center; position: relative; z-index: 2; box-shadow: 0 8px 18px -6px rgba(0, 158, 96, .7); animation: sp-pop 2.4s ease-in-out infinite; }
.demo-pay .bulle-p { position: absolute; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--orange); animation: sp-ripple 2.4s ease-out infinite; }
.demo-pay .p2 { animation-delay: 1.2s; }
.demo-stats { gap: 8px; align-items: flex-end; padding-bottom: 14px; }
.demo-stats i { display: block; width: 14px; border-radius: 5px 5px 2px 2px; background: linear-gradient(180deg, var(--orange), var(--bleu)); transform-origin: bottom; animation: sp-bar 2.6s ease-in-out infinite; }
.demo-stats .bar1 { height: 22px; }
.demo-stats .bar2 { height: 36px; animation-delay: .2s; }
.demo-stats .bar3 { height: 28px; animation-delay: .4s; }
.demo-stats .bar4 { height: 48px; animation-delay: .6s; }

@keyframes sp-laser { 0%, 100% { transform: translateY(-28px); } 50% { transform: translateY(28px); } }
@keyframes sp-pop { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes sp-float1 { 0%, 100% { transform: translate(-34px, 0) rotate(-8deg); } 50% { transform: translate(-38px, -6px) rotate(-11deg); } }
@keyframes sp-float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes sp-float3 { 0%, 100% { transform: translate(34px, 0) rotate(8deg); } 50% { transform: translate(38px, -6px) rotate(11deg); } }
@keyframes sp-bar { 0%, 100% { transform: scaleY(.75); } 50% { transform: scaleY(1); } }
@keyframes sp-ripple { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.1); opacity: 0; } }
