<?xml version="1.0" encoding="UTF-8" ?>
<!-- generator="WordPress/6.7" created="2026-09-20T17:31:59.110Z" -->
<rss version="2.0"
	xmlns:excerpt="http://wordpress.org/export/1.2/excerpt/"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:wp="http://wordpress.org/export/1.2/"
>

<channel>
	<title>SmartPOS AI Pro</title>
	<link>https://www.smartpos-ai.fr</link>
	<description>Solution de Caisse Enregistreuse Tactile Connectée WooCommerce &amp; NF525</description>
	<pubDate>Sun, 20 Sep 2026 17:31:59 GMT</pubDate>
	<language>fr-FR</language>
	<wp:wxr_version>1.2</wp:wxr_version>
	<wp:base_site_url>https://www.smartpos-ai.fr</wp:base_site_url>
	<wp:base_blog_url>https://www.smartpos-ai.fr</wp:base_blog_url>

	<wp:author>
		<wp:author_id>1</wp:author_id>
		<wp:author_login><![CDATA[admin]]></wp:author_login>
		<wp:author_email><![CDATA[contact@smartpos-ai.fr]]></wp:author_email>
		<wp:author_display_name><![CDATA[SmartPOS Admin]]></wp:author_display_name>
		<wp:author_first_name><![CDATA[SmartPOS]]></wp:author_first_name>
		<wp:author_last_name><![CDATA[Admin]]></wp:author_last_name>
	</wp:author>

	<!-- PAGE 1: Accueil SmartPOS AI Pro (Reproduction Complète) -->
	<item>
		<title><![CDATA[Accueil SmartPOS AI Pro]]></title>
		<link>https://www.smartpos-ai.fr/accueil-smartpos/</link>
		<pubDate>Sun, 20 Sep 2026 17:31:59 GMT</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
		<guid isPermaLink="false">https://www.smartpos-ai.fr/?page_id=2001</guid>
		<description></description>
		<content:encoded><![CDATA[
<!-- SmartPOS AI Pro - Reproduction Complète du Site -->
<div id="smartpos-full-site" style="font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: #020617; color: #f8fafc; min-height: 100vh; line-height: 1.6; margin: 0; padding: 0;">

  <!-- NAVIGATION HEADER -->
  <header style="position: sticky; top: 0; z-index: 50; background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid #1e293b; padding: 14px 24px;">
    <div style="max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;">
      <div style="display: flex; align-items: center; gap: 12px;">
        <div style="background: linear-gradient(135deg, #10b981, #059669); color: #020617; font-weight: 900; font-size: 18px; padding: 6px 14px; border-radius: 10px; display: flex; align-items: center; gap: 6px;">
          <span>⚡</span> SmartPOS AI
        </div>
        <span style="font-size: 11px; background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); padding: 3px 8px; border-radius: 9999px; font-weight: 700;">v3.4 NF525</span>
      </div>
      <nav style="display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600;">
        <a href="#fonctionnalites" style="color: #94a3b8; text-decoration: none;">Fonctionnalités</a>
        <a href="#terminal-pos" style="color: #94a3b8; text-decoration: none;">Terminal POS</a>
        <a href="#woocommerce" style="color: #94a3b8; text-decoration: none;">WooCommerce</a>
        <a href="#certifications" style="color: #94a3b8; text-decoration: none;">NF525</a>
        <a href="#tarifs" style="color: #94a3b8; text-decoration: none;">Tarifs</a>
        <a href="#terminal-pos" style="background: #10b981; color: #020617; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;">Tester la Démo</a>
      </nav>
    </div>
  </header>

  <!-- HERO SECTION -->
  <section style="padding: 80px 24px 60px; max-width: 1280px; margin: 0 auto; text-align: center; position: relative;">
    <div style="display: inline-flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; padding: 6px 16px; border-radius: 9999px; font-size: 12px; font-weight: 700; margin-bottom: 24px;">
      <span>✨</span> NOUVELLE VERSION 3.4 — ENCAISSEMENT TACTILE ULTRA-RAPIDE WOOCOMMERCE
    </div>
    <h1 style="font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.15; margin: 0 0 20px; color: #ffffff; letter-spacing: -0.02em;">
      Le Système de Caisse Tactile &amp; IA <br/><span style="color: #10b981;">Directement Connecté à WooCommerce</span>
    </h1>
    <p style="font-size: 18px; color: #94a3b8; max-width: 780px; margin: 0 auto 36px; line-height: 1.6;">
      Synchronisation temps réel des stocks, gestion multi-boutiques, impression thermique ESC/POS 80mm et conformité fiscale NF525 (Article 88 de la Loi Anti-Fraude TVA).
    </p>
    <div style="display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 50px;">
      <a href="#terminal-pos" style="background: #10b981; color: #020617; font-weight: 800; font-size: 15px; padding: 14px 28px; border-radius: 12px; text-decoration: none; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);">
        ⚡ Lancer le Terminal de Caisse
      </a>
      <a href="#tarifs" style="background: #0f172a; color: #f8fafc; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 12px; text-decoration: none; border: 1px solid #334155;">
        Voir les Tarifs &amp; Licences
      </a>
    </div>

    <!-- STATS / METRICS -->
    <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; text-align: left;">
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
        <div style="font-size: 28px; font-weight: 900; color: #10b981;">0.05s</div>
        <div style="font-size: 13px; color: #94a3b8; margin-top: 4px;">Temps de synchronisation REST API</div>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
        <div style="font-size: 28px; font-weight: 900; color: #38bdf8;">100%</div>
        <div style="font-size: 13px; color: #94a3b8; margin-top: 4px;">Conforme NF525 &amp; Loi Anti-Fraude</div>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
        <div style="font-size: 28px; font-weight: 900; color: #a855f7;">Offline</div>
        <div style="font-size: 13px; color: #94a3b8; margin-top: 4px;">Mode PWA sans connexion internet</div>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
        <div style="font-size: 28px; font-weight: 900; color: #f59e0b;">15 000+</div>
        <div style="font-size: 13px; color: #94a3b8; margin-top: 4px;">Tickets émis quotidiennement</div>
      </div>
    </div>
  </section>

  <!-- LIVE INTERACTIVE POS TERMINAL -->
  <section id="terminal-pos" style="padding: 40px 24px 80px; max-width: 1280px; margin: 0 auto;">
    <div style="text-align: center; margin-bottom: 32px;">
      <span style="font-size: 12px; font-weight: 700; color: #10b981; letter-spacing: 0.1em; text-transform: uppercase;">INTERFACE TACTILE DIRECTE</span>
      <h2 style="font-size: 32px; font-weight: 900; margin: 8px 0; color: #fff;">Terminal de Caisse Interactif</h2>
      <p style="color: #94a3b8; font-size: 15px;">Testez l'encaissement, les remises, le calcul de TVA et l'impression de ticket ci-dessous.</p>
    </div>

    <!-- EMBEDDED POS APP -->
    <div style="border: 1px solid #334155; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);">
      
<div id="smartpos-standalone-app" style="font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #f8fafc; background: #020617; border-radius: 16px; border: 1px solid #1e293b; padding: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); width: 100%; box-sizing: border-box;">
  <style>
    #smartpos-standalone-app p:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
    #smartpos-standalone-app > p { display: none !important; margin: 0 !important; padding: 0 !important; }
    #smartpos-standalone-app br { display: none !important; }
    #smartpos-standalone-app * { box-sizing: border-box; }
    .sp-pos-layout {
      display: flex !important;
      flex-direction: row !important;
      gap: 24px !important;
      width: 100% !important;
      align-items: flex-start !important;
    }
    @media (max-width: 991px) {
      .sp-pos-layout { flex-direction: column !important; }
      .sp-pos-cart-col { width: 100% !important; min-width: 100% !important; }
    }
    .sp-pos-catalog {
      flex: 1 1 0% !important;
      min-width: 0 !important;
      width: 100% !important;
    }
    .sp-pos-cart-col {
      width: 380px !important;
      min-width: 320px !important;
      flex-shrink: 0 !important;
    }
    .sp-products-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
      gap: 14px !important;
      width: 100% !important;
    }
  </style>

  <!-- Header Bar -->
  <div style="display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 18px; margin-bottom: 24px; flex-wrap: wrap; gap: 14px;">
    <div style="display: flex; align-items: center; gap: 14px;">
      <div style="background: linear-gradient(135deg, #10b981, #059669); color: white; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; box-shadow: 0 4px 12px rgba(16,185,129,0.3);">⚡</div>
      <div>
        <h2 style="margin: 0; font-size: 20px; font-weight: 700; color: #f8fafc; letter-spacing: -0.02em;">SmartPOS AI Pro</h2>
        <div style="margin: 2px 0 0 0; font-size: 12px; color: #94a3b8;">Caisse Enregistreuse Tactile &bull; WooCommerce Sync &bull; NF525</div>
      </div>
    </div>
    <div style="display: flex; align-items: center; gap: 12px; flex-wrap: wrap;">
      <span style="display: inline-flex; align-items: center; gap: 6px; background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); padding: 6px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600;">
        <span style="width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block;"></span> Connecté WooCommerce
      </span>
      <span style="background: #0f172a; color: #cbd5e1; border: 1px solid #334155; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500;">Caisse #01 &bull; Vendeur Principal</span>
    </div>
  </div>

  <!-- Main POS Split: Products Grid (Left) + Live Cart / Ticket (Right) -->
  <div class="sp-pos-layout">
    <!-- Products Column -->
    <div class="sp-pos-catalog">
      <!-- Categories Bar -->
      <div style="display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 6px;">
        <button onclick="smartposFilter('all')" class="sp-cat-btn active" style="background: #10b981; color: #020617; font-weight: 700; border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Tous les articles</button>
        <button onclick="smartposFilter('boissons')" class="sp-cat-btn" style="background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Boissons</button>
        <button onclick="smartposFilter('boulangerie')" class="sp-cat-btn" style="background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Boulangerie</button>
        <button onclick="smartposFilter('plats')" class="sp-cat-btn" style="background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Plats cuisinés</button>
        <button onclick="smartposFilter('desserts')" class="sp-cat-btn" style="background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Desserts</button>
      </div>

      <!-- Products Grid -->
      <div id="smartpos-items-grid" class="sp-products-grid">
        <!-- Item 1 -->
        <div onclick="smartposAddToCart('Expresso Grand Cru', 2.20, '5.5%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">☕</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Expresso Grand Cru</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 5.5% &bull; Réf #101</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">2,20 €</div>
        </div>

        <!-- Item 2 -->
        <div onclick="smartposAddToCart('Croissant au Beurre', 1.60, '5.5%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🥐</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Croissant au Beurre</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 5.5% &bull; Réf #102</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">1,60 €</div>
        </div>

        <!-- Item 3 -->
        <div onclick="smartposAddToCart('Sandwich Club Poulet', 6.50, '10%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🥪</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Club Poulet Avocat</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 10% &bull; Réf #103</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">6,50 €</div>
        </div>

        <!-- Item 4 -->
        <div onclick="smartposAddToCart('Tartelette Framboise', 4.50, '5.5%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🥧</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Tartelette Framboise</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 5.5% &bull; Réf #104</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">4,50 €</div>
        </div>

        <!-- Item 5 -->
        <div onclick="smartposAddToCart('Jus d\'Orange Pressé', 3.80, '10%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🍊</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Jus d'Orange Frais</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 10% &bull; Réf #105</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">3,80 €</div>
        </div>

        <!-- Item 6 -->
        <div onclick="smartposAddToCart('Salade César Gourmande', 8.90, '10%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🥗</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Salade César Bio</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 10% &bull; Réf #106</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">8,90 €</div>
        </div>
      </div>
    </div>

    <!-- Live Ticket & Payment Column -->
    <div class="sp-pos-cart-col" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;">
      <div>
        <div style="display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 12px; margin-bottom: 12px;">
          <span style="font-size: 14px; font-weight: 700; color: #f8fafc; text-transform: uppercase; letter-spacing: 0.05em;">Ticket En Cours</span>
          <button onclick="smartposClearCart()" style="background: transparent; color: #ef4444; border: none; font-size: 11px; cursor: pointer; text-decoration: underline;">Vider</button>
        </div>

        <div id="smartpos-cart-items" style="min-height: 180px; max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px;">
          <div id="smartpos-empty-msg" style="color: #64748b; font-size: 13px; text-align: center; margin-top: 60px;">
            Le panier est vide.<br>Touchez un article pour l'ajouter.
          </div>
        </div>
      </div>

      <div>
        <!-- Totals breakdown -->
        <div style="border-top: 1px dashed #334155; padding-top: 12px; margin-bottom: 14px;">
          <div style="display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 4px;">
            <span>Total Hors Taxe (HT)</span>
            <span id="sp-total-ht">0,00 €</span>
          </div>
          <div style="display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 8px;">
            <span>TVA Collectée (5.5% / 10%)</span>
            <span id="sp-total-tva">0,00 €</span>
          </div>
          <div style="display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; color: #10b981; border-top: 1px solid #1e293b; padding-top: 8px;">
            <span>TOTAL TTC</span>
            <span id="sp-total-ttc">0,00 €</span>
          </div>
        </div>

        <!-- Payment buttons -->
        <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px;">
          <button onclick="smartposPay('Carte Bancaire')" style="background: #1e293b; color: #f8fafc; border: 1px solid #334155; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer;">💳 CB / TPE</button>
          <button onclick="smartposPay('Espèces')" style="background: #1e293b; color: #f8fafc; border: 1px solid #334155; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer;">💵 Espèces</button>
        </div>
        <button onclick="smartposPay('Ticket Restaurant')" style="width: 100%; background: #10b981; color: #020617; border: none; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; margin-bottom: 8px;">⚡ Encaisser la commande</button>
        
        <div style="text-align: center; font-size: 10px; color: #64748b;">
          Conformité Loi Anti-Fraude TVA NF525 &bull; Signature Numérique
        </div>
      </div>
    </div>
  </div>
</div>

<script>
window.smartposCart = [];

function smartposAddToCart(title, price, tva) {
  var item = window.smartposCart.find(function(i) { return i.title === title; });
  if (item) {
    item.qty++;
  } else {
    window.smartposCart.push({ title: title, price: price, tva: tva, qty: 1 });
  }
  smartposRenderCart();
}

function smartposRemoveOne(title) {
  var item = window.smartposCart.find(function(i) { return i.title === title; });
  if (item) {
    item.qty--;
    if (item.qty <= 0) {
      window.smartposCart = window.smartposCart.filter(function(i) { return i.title !== title; });
    }
  }
  smartposRenderCart();
}

function smartposClearCart() {
  window.smartposCart = [];
  smartposRenderCart();
}

function smartposRenderCart() {
  var container = document.getElementById('smartpos-cart-items');
  if (!container) return;
  if (window.smartposCart.length === 0) {
    container.innerHTML = '<div id="smartpos-empty-msg" style="color: #64748b; font-size: 13px; text-align: center; margin-top: 60px;">Le panier est vide.<br>Touchez un article pour l\'ajouter.</div>';
    document.getElementById('sp-total-ht').innerText = '0,00 €';
    document.getElementById('sp-total-tva').innerText = '0,00 €';
    document.getElementById('sp-total-ttc').innerText = '0,00 €';
    return;
  }

  var html = '';
  var totalTTC = 0;
  var totalHT = 0;

  window.smartposCart.forEach(function(item) {
    var lineTotal = item.price * item.qty;
    totalTTC += lineTotal;
    var tvaRate = parseFloat(item.tva) / 100;
    var lineHT = lineTotal / (1 + tvaRate);
    totalHT += lineHT;

    html += '<div style="display: flex; justify-content: space-between; align-items: center; background: #020617; padding: 8px 12px; border-radius: 8px; border: 1px solid #1e293b;">';
    html += '<div><div style="font-size: 13px; font-weight: 600; color: #f8fafc;">' + item.title + '</div><div style="font-size: 11px; color: #64748b;">' + item.qty + ' × ' + item.price.toFixed(2) + ' €</div></div>';
    html += '<div style="display: flex; align-items: center; gap: 8px;">';
    html += '<span style="font-weight: 700; color: #10b981; font-size: 13px;">' + lineTotal.toFixed(2) + ' €</span>';
    html += '<button onclick="smartposRemoveOne(\'' + item.title.replace(/'/g, "\'") + '\')" style="background: #1e293b; color: #94a3b8; border: none; width: 22px; height: 22px; border-radius: 4px; cursor: pointer;">-</button>';
    html += '</div></div>';
  });

  container.innerHTML = html;
  var totalTVA = totalTTC - totalHT;
  document.getElementById('sp-total-ht').innerText = totalHT.toFixed(2).replace('.', ',') + ' €';
  document.getElementById('sp-total-tva').innerText = totalTVA.toFixed(2).replace('.', ',') + ' €';
  document.getElementById('sp-total-ttc').innerText = totalTTC.toFixed(2).replace('.', ',') + ' €';
}

function smartposPay(method) {
  if (window.smartposCart.length === 0) {
    alert('Veuillez ajouter des articles au panier avant d\'encaisser.');
    return;
  }
  var total = document.getElementById('sp-total-ttc').innerText;
  alert('✅ Paiement validé par ' + method + ' pour un montant de ' + total + ' !\nTicket conforme NF525 généré avec succès.');
  smartposClearCart();
}

function smartposFilter(cat) {
  var buttons = document.querySelectorAll('.sp-cat-btn');
  buttons.forEach(function(b) {
    b.style.background = '#0f172a';
    b.style.color = '#cbd5e1';
  });
  if (window.event && window.event.target) {
    window.event.target.style.background = '#10b981';
    window.event.target.style.color = '#020617';
  }
}
</script>

    </div>
  </section>

  <!-- FEATURES GRID -->
  <section id="fonctionnalites" style="padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;">
    <div style="text-align: center; margin-bottom: 60px;">
      <span style="font-size: 12px; font-weight: 700; color: #38bdf8; letter-spacing: 0.1em; text-transform: uppercase;">ARCHITECTURE ROBUSTE</span>
      <h2 style="font-size: 36px; font-weight: 900; margin: 8px 0; color: #fff;">Conçu pour les Boutiques &amp; la Vente au Comptoir</h2>
      <p style="color: #94a3b8; font-size: 16px; max-width: 600px; margin: 0 auto;">Tout ce dont un commerçant a besoin pour gérer la caisse, les stocks et la comptabilité sans friction.</p>
    </div>

    <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;">
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(16,185,129,0.15); color: #10b981; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">⚡</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Synchronisation REST API v3</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Chaque vente physique décrémente instantanément le stock WooCommerce en ligne. Fini les ventes de produits en rupture de stock.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(56,189,248,0.15); color: #38bdf8; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">🛡️</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Certifié NF525 &amp; Loi Anti-Fraude</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Signature cryptographique SHA-256 de chaque encaissement, journal inaltérable des événements et grand livre de caisse prêt pour le contrôle fiscal.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(168,85,247,0.15); color: #a855f7; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">🖨️</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Impression Thermique ESC/POS</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Compatible avec toutes les imprimantes de tickets 80mm et 58mm (Epson, Star Micronics, Munbyn) en USB, Bluetooth et réseau Ethernet.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(245,158,11,0.15); color: #f59e0b; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">📶</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Mode Hors-Ligne Résilient</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Votre connexion internet saute en plein coup de feu ? Le terminal continue d'encaisser et synchronise automatiquement dès le retour du réseau.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(236,72,153,0.15); color: #ec4899; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">🤖</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">IA &amp; Prédiction des Ventes</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Algorithmes intégrés prédisant vos besoins de réassort, les heures de pointe et recommandant des ventes complémentaires au caissier.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(34,197,94,0.15); color: #22c55e; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">👥</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Multi-Caissiers &amp; Clôture Z</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Connexion rapide par code PIN caissier, gestion du fond de caisse, écarts de caisse et génération automatique du rapport journalier Z.</p>
      </div>
    </div>
  </section>

  <!-- WOOCOMMERCE SYNC SECTION -->
  <section id="woocommerce" style="padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;">
    <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 48px; align-items: center;">
      <div>
        <span style="font-size: 12px; font-weight: 700; color: #a855f7; letter-spacing: 0.1em; text-transform: uppercase;">CONNEXION DIRECTE</span>
        <h2 style="font-size: 36px; font-weight: 900; margin: 8px 0 20px; color: #fff;">Vos Produits WooCommerce Disponibles Instantanément</h2>
        <p style="color: #94a3b8; font-size: 15px; margin-bottom: 24px; line-height: 1.7;">
          Pas besoin de réimporter ou ressaisir vos articles : le terminal SmartPOS lit directement votre base de données WooCommerce, gère les variations de produits (tailles, couleurs), les codes-barres SKU et les fiches clients.
        </p>
        <ul style="list-style: none; padding: 0; margin: 0 0 32px; space-y: 12px;">
          <li style="display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;"><span style="color:#10b981;">✓</span> Gestion des déclinaisons &amp; attributs variables</li>
          <li style="display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;"><span style="color:#10b981;">✓</span> Synchronisation des clients &amp; points de fidélité</li>
          <li style="display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;"><span style="color:#10b981;">✓</span> Prise en charge des codes promos &amp; remises manuelles</li>
        </ul>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 28px;">
        <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
          <span style="font-weight: 800; font-size: 15px;">Flux WooCommerce REST API v3</span>
          <span style="font-size: 11px; background: rgba(16,185,129,0.15); color: #10b981; padding: 4px 10px; border-radius: 9999px; font-weight: 700;">Connecté</span>
        </div>
        <div style="font-family: monospace; font-size: 12px; background: #020617; border: 1px solid #1e293b; padding: 16px; border-radius: 12px; color: #38bdf8; line-height: 1.8;">
          <div>&gt; GET /wp-json/wc/v3/products?per_page=100</div>
          <div style="color: #10b981;">&lt; 200 OK (24 ms) - 148 articles synchronisés</div>
          <div>&gt; POST /wp-json/wc/v3/orders [Ticket #1042]</div>
          <div style="color: #10b981;">&lt; 201 Created (18 ms) - Stock décrémenté</div>
          <div style="color: #94a3b8;">&gt; Signature NF525: 7a9e8...c3b2 (Scellée)</div>
        </div>
      </div>
    </div>
  </section>

  <!-- CERTIFICATION NF525 -->
  <section id="certifications" style="padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;">
    <div style="background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95)); border: 2px solid rgba(16, 185, 129, 0.3); border-radius: 24px; padding: 48px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; align-items: center;">
      <div>
        <div style="display: inline-flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, 0.15); color: #10b981; padding: 6px 14px; border-radius: 9999px; font-size: 12px; font-weight: 800; margin-bottom: 16px;">
          LEGAL &amp; FISCAL
        </div>
        <h2 style="font-size: 32px; font-weight: 900; color: #fff; margin: 0 0 16px;">Conforme à la Loi Anti-Fraude TVA 2018</h2>
        <p style="color: #94a3b8; font-size: 15px; line-height: 1.7; margin: 0 0 20px;">
          En France, l'article 88 de la Loi de Finances n° 2015-1785 impose aux commerçants assujettis à la TVA d'utiliser un système de caisse satisfaisant à des conditions d'inaltérabilité, de sécurisation, de conservation et d'archivage.
        </p>
        <p style="color: #cbd5e1; font-size: 14px; font-weight: 600;">
          Une attestation individuelle de conformité de l'éditeur est fournie avec chaque licence.
        </p>
      </div>
      <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px;">
        <div style="background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
          <div style="font-size: 20px; margin-bottom: 8px;">🔒</div>
          <div style="font-weight: 700; color: #fff; font-size: 14px;">Inaltérabilité</div>
          <div style="font-size: 12px; color: #94a3b8; margin-top: 4px;">Chaînage cryptographique SHA-256 sans modification possible.</div>
        </div>
        <div style="background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
          <div style="font-size: 20px; margin-bottom: 8px;">📜</div>
          <div style="font-weight: 700; color: #fff; font-size: 14px;">Archivage 6 ans</div>
          <div style="font-size: 12px; color: #94a3b8; margin-top: 4px;">Grand livre exportable en XML scellé pour l'administration.</div>
        </div>
        <div style="background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
          <div style="font-size: 20px; margin-bottom: 8px;">🛡️</div>
          <div style="font-weight: 700; color: #fff; font-size: 14px;">Sécurisation</div>
          <div style="font-size: 12px; color: #94a3b8; margin-top: 4px;">Chaque ligne de vente porte une signature unique horodatée.</div>
        </div>
        <div style="background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
          <div style="font-size: 20px; margin-bottom: 8px;">📋</div>
          <div style="font-weight: 700; color: #fff; font-size: 14px;">Ticket Z &amp; X</div>
          <div style="font-size: 12px; color: #94a3b8; margin-top: 4px;">Clôtures journalières, mensuelles et annuelles automatiques.</div>
        </div>
      </div>
    </div>
  </section>

  <!-- PRICING SECTION -->
  <section id="tarifs" style="padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;">
    <div style="text-align: center; margin-bottom: 60px;">
      <span style="font-size: 12px; font-weight: 700; color: #10b981; letter-spacing: 0.1em; text-transform: uppercase;">OFFRES &amp; LICENCES</span>
      <h2 style="font-size: 36px; font-weight: 900; margin: 8px 0; color: #fff;">Des Tarifs Simples et Transparents</h2>
      <p style="color: #94a3b8; font-size: 16px; max-width: 600px; margin: 0 auto;">Choisissez la licence adaptée à la taille de votre point de vente.</p>
    </div>

    <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;">
      <!-- Starter -->
      <div style="background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between;">
        <div>
          <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;">Licence Starter</h3>
          <p style="color: #94a3b8; font-size: 13px; margin: 0 0 24px;">Pour 1 boutique ou food-truck indépendant.</p>
          <div style="margin-bottom: 24px;">
            <span style="font-size: 40px; font-weight: 900; color: #fff;">19€</span>
            <span style="color: #94a3b8; font-size: 14px;"> / mois</span>
          </div>
          <ul style="list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;">
            <li style="margin-bottom: 10px;">✓ 1 Caisse enregistreuse active</li>
            <li style="margin-bottom: 10px;">✓ Synchronisation WooCommerce illimitée</li>
            <li style="margin-bottom: 10px;">✓ Conformité NF525 &amp; Attestation</li>
            <li style="margin-bottom: 10px;">✓ Support par e-mail standard</li>
          </ul>
        </div>
        <a href="#" style="margin-top: 32px; display: block; text-align: center; background: #1e293b; color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none;">Choisir Starter</a>
      </div>

      <!-- Pro (Highlighted) -->
      <div style="background: linear-gradient(180deg, #0f172a, #020617); border: 2px solid #10b981; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; position: relative;">
        <div style="position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #10b981; color: #020617; font-weight: 800; font-size: 11px; padding: 4px 12px; border-radius: 9999px; text-transform: uppercase;">
          LE PLUS POPULAIRE
        </div>
        <div>
          <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;">Licence Pro</h3>
          <p style="color: #94a3b8; font-size: 13px; margin: 0 0 24px;">Pour magasins de détail, restaurants et boutiques.</p>
          <div style="margin-bottom: 24px;">
            <span style="font-size: 40px; font-weight: 900; color: #10b981;">39€</span>
            <span style="color: #94a3b8; font-size: 14px;"> / mois</span>
          </div>
          <ul style="list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;">
            <li style="margin-bottom: 10px;">✓ Jusqu'à 3 Caisses en simultané</li>
            <li style="margin-bottom: 10px;">✓ Mode multi-vendeurs &amp; codes PIN</li>
            <li style="margin-bottom: 10px;">✓ Prédiction IA des stocks &amp; ventes</li>
            <li style="margin-bottom: 10px;">✓ Support prioritaire 7j/7</li>
          </ul>
        </div>
        <a href="#" style="margin-top: 32px; display: block; text-align: center; background: #10b981; color: #020617; padding: 12px; border-radius: 10px; font-weight: 800; text-decoration: none;">Activer la Licence Pro</a>
      </div>

      <!-- Entreprise -->
      <div style="background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between;">
        <div>
          <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;">Réseau &amp; Franchises</h3>
          <p style="color: #94a3b8; font-size: 13px; margin: 0 0 24px;">Pour chaînes de magasins et multi-sites.</p>
          <div style="margin-bottom: 24px;">
            <span style="font-size: 40px; font-weight: 900; color: #fff;">89€</span>
            <span style="color: #94a3b8; font-size: 14px;"> / mois</span>
          </div>
          <ul style="list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;">
            <li style="margin-bottom: 10px;">✓ Caisses illimitées</li>
            <li style="margin-bottom: 10px;">✓ Gestion centralisée multi-entrepôts</li>
            <li style="margin-bottom: 10px;">✓ API personnalisée &amp; intégration ERP</li>
            <li style="margin-bottom: 10px;">✓ Gestionnaire de compte dédié</li>
          </ul>
        </div>
        <a href="#" style="margin-top: 32px; display: block; text-align: center; background: #1e293b; color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none;">Contacter l'Équipe</a>
      </div>
    </div>
  </section>

  <!-- FOOTER -->
  <footer style="background: #010409; border-top: 1px solid #1e293b; padding: 48px 24px; color: #94a3b8; font-size: 13px;">
    <div style="max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center;">
      <div>
        <div style="color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 6px;">SmartPOS AI Pro</div>
        <p style="margin: 0;">La solution de caisse enregistreuse tactile intelligente certifiée NF525 pour WooCommerce.</p>
      </div>
      <div style="display: flex; gap: 20px; font-weight: 600;">
        <a href="#" style="color: #94a3b8; text-decoration: none;">Mentions Légales</a>
        <a href="#" style="color: #94a3b8; text-decoration: none;">Conformité NF525</a>
        <a href="#" style="color: #94a3b8; text-decoration: none;">Conditions Générales</a>
        <a href="#" style="color: #94a3b8; text-decoration: none;">Support</a>
      </div>
    </div>
    <div style="max-width: 1280px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid #0f172a; text-align: center; font-size: 12px; color: #64748b;">
      &copy; 2026 SmartPOS AI. Tous droits réservés. Conforme à l'article 88 de la Loi Anti-Fraude TVA 2018 (NF525 / LNE).
    </div>
  </footer>

</div>
]]></content:encoded>
		<excerpt:encoded><![CDATA[]]></excerpt:encoded>
		<wp:post_id>2001</wp:post_id>
		<wp:post_date><![CDATA[2026-09-20 17:31:59]]></wp:post_date>
		<wp:post_date_gmt><![CDATA[2026-09-20 17:31:59]]></wp:post_date_gmt>
		<wp:post_modified><![CDATA[2026-09-20 17:31:59]]></wp:post_modified>
		<wp:post_modified_gmt><![CDATA[2026-09-20 17:31:59]]></wp:post_modified_gmt>
		<wp:comment_status><![CDATA[closed]]></wp:comment_status>
		<wp:ping_status><![CDATA[closed]]></wp:ping_status>
		<wp:post_name><![CDATA[accueil-smartpos]]></wp:post_name>
		<wp:status><![CDATA[publish]]></wp:status>
		<wp:post_parent>0</wp:post_parent>
		<wp:menu_order>0</wp:menu_order>
		<wp:post_type><![CDATA[page]]></wp:post_type>
		<wp:post_password><![CDATA[]]></wp:post_password>
		<wp:is_sticky>0</wp:is_sticky>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_edit_mode]]></wp:meta_key>
			<wp:meta_value><![CDATA[builder]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_template_type]]></wp:meta_key>
			<wp:meta_value><![CDATA[wp-page]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_version]]></wp:meta_key>
			<wp:meta_value><![CDATA[3.25.0]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_wp_page_template]]></wp:meta_key>
			<wp:meta_value><![CDATA[elementor_canvas]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_data]]></wp:meta_key>
			<wp:meta_value><![CDATA[[{"id":"sec_3gr9nwd","elType":"section","isInner":false,"settings":{"layout":"full_width","stretch_section":"section-stretched","background_background":"classic","background_color":"#020617","padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":true}},"elements":[{"id":"col_yigx0tf","elType":"column","isInner":false,"settings":{"_column_size":100,"_inline_size":null,"padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":true}},"elements":[{"id":"wid_ix60kcd","elType":"widget","isInner":false,"widgetType":"html","settings":{"html":"\n<!-- SmartPOS AI Pro - Reproduction Complète du Site -->\n<div id=\"smartpos-full-site\" style=\"font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: #020617; color: #f8fafc; min-height: 100vh; line-height: 1.6; margin: 0; padding: 0;\">\n\n  <!-- NAVIGATION HEADER -->\n  <header style=\"position: sticky; top: 0; z-index: 50; background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid #1e293b; padding: 14px 24px;\">\n    <div style=\"max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;\">\n      <div style=\"display: flex; align-items: center; gap: 12px;\">\n        <div style=\"background: linear-gradient(135deg, #10b981, #059669); color: #020617; font-weight: 900; font-size: 18px; padding: 6px 14px; border-radius: 10px; display: flex; align-items: center; gap: 6px;\">\n          <span>⚡</span> SmartPOS AI\n        </div>\n        <span style=\"font-size: 11px; background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); padding: 3px 8px; border-radius: 9999px; font-weight: 700;\">v3.4 NF525</span>\n      </div>\n      <nav style=\"display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600;\">\n        <a href=\"#fonctionnalites\" style=\"color: #94a3b8; text-decoration: none;\">Fonctionnalités</a>\n        <a href=\"#terminal-pos\" style=\"color: #94a3b8; text-decoration: none;\">Terminal POS</a>\n        <a href=\"#woocommerce\" style=\"color: #94a3b8; text-decoration: none;\">WooCommerce</a>\n        <a href=\"#certifications\" style=\"color: #94a3b8; text-decoration: none;\">NF525</a>\n        <a href=\"#tarifs\" style=\"color: #94a3b8; text-decoration: none;\">Tarifs</a>\n        <a href=\"#terminal-pos\" style=\"background: #10b981; color: #020617; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;\">Tester la Démo</a>\n      </nav>\n    </div>\n  </header>\n\n  <!-- HERO SECTION -->\n  <section style=\"padding: 80px 24px 60px; max-width: 1280px; margin: 0 auto; text-align: center; position: relative;\">\n    <div style=\"display: inline-flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; padding: 6px 16px; border-radius: 9999px; font-size: 12px; font-weight: 700; margin-bottom: 24px;\">\n      <span>✨</span> NOUVELLE VERSION 3.4 — ENCAISSEMENT TACTILE ULTRA-RAPIDE WOOCOMMERCE\n    </div>\n    <h1 style=\"font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.15; margin: 0 0 20px; color: #ffffff; letter-spacing: -0.02em;\">\n      Le Système de Caisse Tactile &amp; IA <br/><span style=\"color: #10b981;\">Directement Connecté à WooCommerce</span>\n    </h1>\n    <p style=\"font-size: 18px; color: #94a3b8; max-width: 780px; margin: 0 auto 36px; line-height: 1.6;\">\n      Synchronisation temps réel des stocks, gestion multi-boutiques, impression thermique ESC/POS 80mm et conformité fiscale NF525 (Article 88 de la Loi Anti-Fraude TVA).\n    </p>\n    <div style=\"display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 50px;\">\n      <a href=\"#terminal-pos\" style=\"background: #10b981; color: #020617; font-weight: 800; font-size: 15px; padding: 14px 28px; border-radius: 12px; text-decoration: none; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);\">\n        ⚡ Lancer le Terminal de Caisse\n      </a>\n      <a href=\"#tarifs\" style=\"background: #0f172a; color: #f8fafc; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 12px; text-decoration: none; border: 1px solid #334155;\">\n        Voir les Tarifs &amp; Licences\n      </a>\n    </div>\n\n    <!-- STATS / METRICS -->\n    <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; text-align: left;\">\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n        <div style=\"font-size: 28px; font-weight: 900; color: #10b981;\">0.05s</div>\n        <div style=\"font-size: 13px; color: #94a3b8; margin-top: 4px;\">Temps de synchronisation REST API</div>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n        <div style=\"font-size: 28px; font-weight: 900; color: #38bdf8;\">100%</div>\n        <div style=\"font-size: 13px; color: #94a3b8; margin-top: 4px;\">Conforme NF525 &amp; Loi Anti-Fraude</div>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n        <div style=\"font-size: 28px; font-weight: 900; color: #a855f7;\">Offline</div>\n        <div style=\"font-size: 13px; color: #94a3b8; margin-top: 4px;\">Mode PWA sans connexion internet</div>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n        <div style=\"font-size: 28px; font-weight: 900; color: #f59e0b;\">15 000+</div>\n        <div style=\"font-size: 13px; color: #94a3b8; margin-top: 4px;\">Tickets émis quotidiennement</div>\n      </div>\n    </div>\n  </section>\n\n  <!-- LIVE INTERACTIVE POS TERMINAL -->\n  <section id=\"terminal-pos\" style=\"padding: 40px 24px 80px; max-width: 1280px; margin: 0 auto;\">\n    <div style=\"text-align: center; margin-bottom: 32px;\">\n      <span style=\"font-size: 12px; font-weight: 700; color: #10b981; letter-spacing: 0.1em; text-transform: uppercase;\">INTERFACE TACTILE DIRECTE</span>\n      <h2 style=\"font-size: 32px; font-weight: 900; margin: 8px 0; color: #fff;\">Terminal de Caisse Interactif</h2>\n      <p style=\"color: #94a3b8; font-size: 15px;\">Testez l'encaissement, les remises, le calcul de TVA et l'impression de ticket ci-dessous.</p>\n    </div>\n\n    <!-- EMBEDDED POS APP -->\n    <div style=\"border: 1px solid #334155; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);\">\n      \n<div id=\"smartpos-standalone-app\" style=\"font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #f8fafc; background: #020617; border-radius: 16px; border: 1px solid #1e293b; padding: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); width: 100%; box-sizing: border-box;\">\n  <style>\n    #smartpos-standalone-app p:empty { display: none !important; margin: 0 !important; padding: 0 !important; }\n    #smartpos-standalone-app > p { display: none !important; margin: 0 !important; padding: 0 !important; }\n    #smartpos-standalone-app br { display: none !important; }\n    #smartpos-standalone-app * { box-sizing: border-box; }\n    .sp-pos-layout {\n      display: flex !important;\n      flex-direction: row !important;\n      gap: 24px !important;\n      width: 100% !important;\n      align-items: flex-start !important;\n    }\n    @media (max-width: 991px) {\n      .sp-pos-layout { flex-direction: column !important; }\n      .sp-pos-cart-col { width: 100% !important; min-width: 100% !important; }\n    }\n    .sp-pos-catalog {\n      flex: 1 1 0% !important;\n      min-width: 0 !important;\n      width: 100% !important;\n    }\n    .sp-pos-cart-col {\n      width: 380px !important;\n      min-width: 320px !important;\n      flex-shrink: 0 !important;\n    }\n    .sp-products-grid {\n      display: grid !important;\n      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;\n      gap: 14px !important;\n      width: 100% !important;\n    }\n  </style>\n\n  <!-- Header Bar -->\n  <div style=\"display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 18px; margin-bottom: 24px; flex-wrap: wrap; gap: 14px;\">\n    <div style=\"display: flex; align-items: center; gap: 14px;\">\n      <div style=\"background: linear-gradient(135deg, #10b981, #059669); color: white; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; box-shadow: 0 4px 12px rgba(16,185,129,0.3);\">⚡</div>\n      <div>\n        <h2 style=\"margin: 0; font-size: 20px; font-weight: 700; color: #f8fafc; letter-spacing: -0.02em;\">SmartPOS AI Pro</h2>\n        <div style=\"margin: 2px 0 0 0; font-size: 12px; color: #94a3b8;\">Caisse Enregistreuse Tactile &bull; WooCommerce Sync &bull; NF525</div>\n      </div>\n    </div>\n    <div style=\"display: flex; align-items: center; gap: 12px; flex-wrap: wrap;\">\n      <span style=\"display: inline-flex; align-items: center; gap: 6px; background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); padding: 6px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600;\">\n        <span style=\"width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block;\"></span> Connecté WooCommerce\n      </span>\n      <span style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #334155; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500;\">Caisse #01 &bull; Vendeur Principal</span>\n    </div>\n  </div>\n\n  <!-- Main POS Split: Products Grid (Left) + Live Cart / Ticket (Right) -->\n  <div class=\"sp-pos-layout\">\n    <!-- Products Column -->\n    <div class=\"sp-pos-catalog\">\n      <!-- Categories Bar -->\n      <div style=\"display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 6px;\">\n        <button onclick=\"smartposFilter('all')\" class=\"sp-cat-btn active\" style=\"background: #10b981; color: #020617; font-weight: 700; border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Tous les articles</button>\n        <button onclick=\"smartposFilter('boissons')\" class=\"sp-cat-btn\" style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Boissons</button>\n        <button onclick=\"smartposFilter('boulangerie')\" class=\"sp-cat-btn\" style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Boulangerie</button>\n        <button onclick=\"smartposFilter('plats')\" class=\"sp-cat-btn\" style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Plats cuisinés</button>\n        <button onclick=\"smartposFilter('desserts')\" class=\"sp-cat-btn\" style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Desserts</button>\n      </div>\n\n      <!-- Products Grid -->\n      <div id=\"smartpos-items-grid\" class=\"sp-products-grid\">\n        <!-- Item 1 -->\n        <div onclick=\"smartposAddToCart('Expresso Grand Cru', 2.20, '5.5%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">☕</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Expresso Grand Cru</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 5.5% &bull; Réf #101</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">2,20 €</div>\n        </div>\n\n        <!-- Item 2 -->\n        <div onclick=\"smartposAddToCart('Croissant au Beurre', 1.60, '5.5%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🥐</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Croissant au Beurre</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 5.5% &bull; Réf #102</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">1,60 €</div>\n        </div>\n\n        <!-- Item 3 -->\n        <div onclick=\"smartposAddToCart('Sandwich Club Poulet', 6.50, '10%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🥪</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Club Poulet Avocat</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 10% &bull; Réf #103</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">6,50 €</div>\n        </div>\n\n        <!-- Item 4 -->\n        <div onclick=\"smartposAddToCart('Tartelette Framboise', 4.50, '5.5%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🥧</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Tartelette Framboise</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 5.5% &bull; Réf #104</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">4,50 €</div>\n        </div>\n\n        <!-- Item 5 -->\n        <div onclick=\"smartposAddToCart('Jus d\\'Orange Pressé', 3.80, '10%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🍊</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Jus d'Orange Frais</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 10% &bull; Réf #105</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">3,80 €</div>\n        </div>\n\n        <!-- Item 6 -->\n        <div onclick=\"smartposAddToCart('Salade César Gourmande', 8.90, '10%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🥗</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Salade César Bio</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 10% &bull; Réf #106</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">8,90 €</div>\n        </div>\n      </div>\n    </div>\n\n    <!-- Live Ticket & Payment Column -->\n    <div class=\"sp-pos-cart-col\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;\">\n      <div>\n        <div style=\"display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 12px; margin-bottom: 12px;\">\n          <span style=\"font-size: 14px; font-weight: 700; color: #f8fafc; text-transform: uppercase; letter-spacing: 0.05em;\">Ticket En Cours</span>\n          <button onclick=\"smartposClearCart()\" style=\"background: transparent; color: #ef4444; border: none; font-size: 11px; cursor: pointer; text-decoration: underline;\">Vider</button>\n        </div>\n\n        <div id=\"smartpos-cart-items\" style=\"min-height: 180px; max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px;\">\n          <div id=\"smartpos-empty-msg\" style=\"color: #64748b; font-size: 13px; text-align: center; margin-top: 60px;\">\n            Le panier est vide.<br>Touchez un article pour l'ajouter.\n          </div>\n        </div>\n      </div>\n\n      <div>\n        <!-- Totals breakdown -->\n        <div style=\"border-top: 1px dashed #334155; padding-top: 12px; margin-bottom: 14px;\">\n          <div style=\"display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 4px;\">\n            <span>Total Hors Taxe (HT)</span>\n            <span id=\"sp-total-ht\">0,00 €</span>\n          </div>\n          <div style=\"display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 8px;\">\n            <span>TVA Collectée (5.5% / 10%)</span>\n            <span id=\"sp-total-tva\">0,00 €</span>\n          </div>\n          <div style=\"display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; color: #10b981; border-top: 1px solid #1e293b; padding-top: 8px;\">\n            <span>TOTAL TTC</span>\n            <span id=\"sp-total-ttc\">0,00 €</span>\n          </div>\n        </div>\n\n        <!-- Payment buttons -->\n        <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px;\">\n          <button onclick=\"smartposPay('Carte Bancaire')\" style=\"background: #1e293b; color: #f8fafc; border: 1px solid #334155; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer;\">💳 CB / TPE</button>\n          <button onclick=\"smartposPay('Espèces')\" style=\"background: #1e293b; color: #f8fafc; border: 1px solid #334155; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer;\">💵 Espèces</button>\n        </div>\n        <button onclick=\"smartposPay('Ticket Restaurant')\" style=\"width: 100%; background: #10b981; color: #020617; border: none; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; margin-bottom: 8px;\">⚡ Encaisser la commande</button>\n        \n        <div style=\"text-align: center; font-size: 10px; color: #64748b;\">\n          Conformité Loi Anti-Fraude TVA NF525 &bull; Signature Numérique\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n\n<script>\nwindow.smartposCart = [];\n\nfunction smartposAddToCart(title, price, tva) {\n  var item = window.smartposCart.find(function(i) { return i.title === title; });\n  if (item) {\n    item.qty++;\n  } else {\n    window.smartposCart.push({ title: title, price: price, tva: tva, qty: 1 });\n  }\n  smartposRenderCart();\n}\n\nfunction smartposRemoveOne(title) {\n  var item = window.smartposCart.find(function(i) { return i.title === title; });\n  if (item) {\n    item.qty--;\n    if (item.qty <= 0) {\n      window.smartposCart = window.smartposCart.filter(function(i) { return i.title !== title; });\n    }\n  }\n  smartposRenderCart();\n}\n\nfunction smartposClearCart() {\n  window.smartposCart = [];\n  smartposRenderCart();\n}\n\nfunction smartposRenderCart() {\n  var container = document.getElementById('smartpos-cart-items');\n  if (!container) return;\n  if (window.smartposCart.length === 0) {\n    container.innerHTML = '<div id=\"smartpos-empty-msg\" style=\"color: #64748b; font-size: 13px; text-align: center; margin-top: 60px;\">Le panier est vide.<br>Touchez un article pour l\\'ajouter.</div>';\n    document.getElementById('sp-total-ht').innerText = '0,00 €';\n    document.getElementById('sp-total-tva').innerText = '0,00 €';\n    document.getElementById('sp-total-ttc').innerText = '0,00 €';\n    return;\n  }\n\n  var html = '';\n  var totalTTC = 0;\n  var totalHT = 0;\n\n  window.smartposCart.forEach(function(item) {\n    var lineTotal = item.price * item.qty;\n    totalTTC += lineTotal;\n    var tvaRate = parseFloat(item.tva) / 100;\n    var lineHT = lineTotal / (1 + tvaRate);\n    totalHT += lineHT;\n\n    html += '<div style=\"display: flex; justify-content: space-between; align-items: center; background: #020617; padding: 8px 12px; border-radius: 8px; border: 1px solid #1e293b;\">';\n    html += '<div><div style=\"font-size: 13px; font-weight: 600; color: #f8fafc;\">' + item.title + '</div><div style=\"font-size: 11px; color: #64748b;\">' + item.qty + ' × ' + item.price.toFixed(2) + ' €</div></div>';\n    html += '<div style=\"display: flex; align-items: center; gap: 8px;\">';\n    html += '<span style=\"font-weight: 700; color: #10b981; font-size: 13px;\">' + lineTotal.toFixed(2) + ' €</span>';\n    html += '<button onclick=\"smartposRemoveOne(\\'' + item.title.replace(/'/g, \"\\'\") + '\\')\" style=\"background: #1e293b; color: #94a3b8; border: none; width: 22px; height: 22px; border-radius: 4px; cursor: pointer;\">-</button>';\n    html += '</div></div>';\n  });\n\n  container.innerHTML = html;\n  var totalTVA = totalTTC - totalHT;\n  document.getElementById('sp-total-ht').innerText = totalHT.toFixed(2).replace('.', ',') + ' €';\n  document.getElementById('sp-total-tva').innerText = totalTVA.toFixed(2).replace('.', ',') + ' €';\n  document.getElementById('sp-total-ttc').innerText = totalTTC.toFixed(2).replace('.', ',') + ' €';\n}\n\nfunction smartposPay(method) {\n  if (window.smartposCart.length === 0) {\n    alert('Veuillez ajouter des articles au panier avant d\\'encaisser.');\n    return;\n  }\n  var total = document.getElementById('sp-total-ttc').innerText;\n  alert('✅ Paiement validé par ' + method + ' pour un montant de ' + total + ' !\\nTicket conforme NF525 généré avec succès.');\n  smartposClearCart();\n}\n\nfunction smartposFilter(cat) {\n  var buttons = document.querySelectorAll('.sp-cat-btn');\n  buttons.forEach(function(b) {\n    b.style.background = '#0f172a';\n    b.style.color = '#cbd5e1';\n  });\n  if (window.event && window.event.target) {\n    window.event.target.style.background = '#10b981';\n    window.event.target.style.color = '#020617';\n  }\n}\n</script>\n\n    </div>\n  </section>\n\n  <!-- FEATURES GRID -->\n  <section id=\"fonctionnalites\" style=\"padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;\">\n    <div style=\"text-align: center; margin-bottom: 60px;\">\n      <span style=\"font-size: 12px; font-weight: 700; color: #38bdf8; letter-spacing: 0.1em; text-transform: uppercase;\">ARCHITECTURE ROBUSTE</span>\n      <h2 style=\"font-size: 36px; font-weight: 900; margin: 8px 0; color: #fff;\">Conçu pour les Boutiques &amp; la Vente au Comptoir</h2>\n      <p style=\"color: #94a3b8; font-size: 16px; max-width: 600px; margin: 0 auto;\">Tout ce dont un commerçant a besoin pour gérer la caisse, les stocks et la comptabilité sans friction.</p>\n    </div>\n\n    <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;\">\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(16,185,129,0.15); color: #10b981; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">⚡</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Synchronisation REST API v3</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Chaque vente physique décrémente instantanément le stock WooCommerce en ligne. Fini les ventes de produits en rupture de stock.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(56,189,248,0.15); color: #38bdf8; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">🛡️</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Certifié NF525 &amp; Loi Anti-Fraude</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Signature cryptographique SHA-256 de chaque encaissement, journal inaltérable des événements et grand livre de caisse prêt pour le contrôle fiscal.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(168,85,247,0.15); color: #a855f7; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">🖨️</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Impression Thermique ESC/POS</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Compatible avec toutes les imprimantes de tickets 80mm et 58mm (Epson, Star Micronics, Munbyn) en USB, Bluetooth et réseau Ethernet.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(245,158,11,0.15); color: #f59e0b; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">📶</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Mode Hors-Ligne Résilient</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Votre connexion internet saute en plein coup de feu ? Le terminal continue d'encaisser et synchronise automatiquement dès le retour du réseau.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(236,72,153,0.15); color: #ec4899; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">🤖</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">IA &amp; Prédiction des Ventes</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Algorithmes intégrés prédisant vos besoins de réassort, les heures de pointe et recommandant des ventes complémentaires au caissier.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(34,197,94,0.15); color: #22c55e; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">👥</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Multi-Caissiers &amp; Clôture Z</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Connexion rapide par code PIN caissier, gestion du fond de caisse, écarts de caisse et génération automatique du rapport journalier Z.</p>\n      </div>\n    </div>\n  </section>\n\n  <!-- WOOCOMMERCE SYNC SECTION -->\n  <section id=\"woocommerce\" style=\"padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;\">\n    <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 48px; align-items: center;\">\n      <div>\n        <span style=\"font-size: 12px; font-weight: 700; color: #a855f7; letter-spacing: 0.1em; text-transform: uppercase;\">CONNEXION DIRECTE</span>\n        <h2 style=\"font-size: 36px; font-weight: 900; margin: 8px 0 20px; color: #fff;\">Vos Produits WooCommerce Disponibles Instantanément</h2>\n        <p style=\"color: #94a3b8; font-size: 15px; margin-bottom: 24px; line-height: 1.7;\">\n          Pas besoin de réimporter ou ressaisir vos articles : le terminal SmartPOS lit directement votre base de données WooCommerce, gère les variations de produits (tailles, couleurs), les codes-barres SKU et les fiches clients.\n        </p>\n        <ul style=\"list-style: none; padding: 0; margin: 0 0 32px; space-y: 12px;\">\n          <li style=\"display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;\"><span style=\"color:#10b981;\">✓</span> Gestion des déclinaisons &amp; attributs variables</li>\n          <li style=\"display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;\"><span style=\"color:#10b981;\">✓</span> Synchronisation des clients &amp; points de fidélité</li>\n          <li style=\"display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;\"><span style=\"color:#10b981;\">✓</span> Prise en charge des codes promos &amp; remises manuelles</li>\n        </ul>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 28px;\">\n        <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;\">\n          <span style=\"font-weight: 800; font-size: 15px;\">Flux WooCommerce REST API v3</span>\n          <span style=\"font-size: 11px; background: rgba(16,185,129,0.15); color: #10b981; padding: 4px 10px; border-radius: 9999px; font-weight: 700;\">Connecté</span>\n        </div>\n        <div style=\"font-family: monospace; font-size: 12px; background: #020617; border: 1px solid #1e293b; padding: 16px; border-radius: 12px; color: #38bdf8; line-height: 1.8;\">\n          <div>&gt; GET /wp-json/wc/v3/products?per_page=100</div>\n          <div style=\"color: #10b981;\">&lt; 200 OK (24 ms) - 148 articles synchronisés</div>\n          <div>&gt; POST /wp-json/wc/v3/orders [Ticket #1042]</div>\n          <div style=\"color: #10b981;\">&lt; 201 Created (18 ms) - Stock décrémenté</div>\n          <div style=\"color: #94a3b8;\">&gt; Signature NF525: 7a9e8...c3b2 (Scellée)</div>\n        </div>\n      </div>\n    </div>\n  </section>\n\n  <!-- CERTIFICATION NF525 -->\n  <section id=\"certifications\" style=\"padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;\">\n    <div style=\"background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95)); border: 2px solid rgba(16, 185, 129, 0.3); border-radius: 24px; padding: 48px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; align-items: center;\">\n      <div>\n        <div style=\"display: inline-flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, 0.15); color: #10b981; padding: 6px 14px; border-radius: 9999px; font-size: 12px; font-weight: 800; margin-bottom: 16px;\">\n          LEGAL &amp; FISCAL\n        </div>\n        <h2 style=\"font-size: 32px; font-weight: 900; color: #fff; margin: 0 0 16px;\">Conforme à la Loi Anti-Fraude TVA 2018</h2>\n        <p style=\"color: #94a3b8; font-size: 15px; line-height: 1.7; margin: 0 0 20px;\">\n          En France, l'article 88 de la Loi de Finances n° 2015-1785 impose aux commerçants assujettis à la TVA d'utiliser un système de caisse satisfaisant à des conditions d'inaltérabilité, de sécurisation, de conservation et d'archivage.\n        </p>\n        <p style=\"color: #cbd5e1; font-size: 14px; font-weight: 600;\">\n          Une attestation individuelle de conformité de l'éditeur est fournie avec chaque licence.\n        </p>\n      </div>\n      <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 16px;\">\n        <div style=\"background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n          <div style=\"font-size: 20px; margin-bottom: 8px;\">🔒</div>\n          <div style=\"font-weight: 700; color: #fff; font-size: 14px;\">Inaltérabilité</div>\n          <div style=\"font-size: 12px; color: #94a3b8; margin-top: 4px;\">Chaînage cryptographique SHA-256 sans modification possible.</div>\n        </div>\n        <div style=\"background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n          <div style=\"font-size: 20px; margin-bottom: 8px;\">📜</div>\n          <div style=\"font-weight: 700; color: #fff; font-size: 14px;\">Archivage 6 ans</div>\n          <div style=\"font-size: 12px; color: #94a3b8; margin-top: 4px;\">Grand livre exportable en XML scellé pour l'administration.</div>\n        </div>\n        <div style=\"background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n          <div style=\"font-size: 20px; margin-bottom: 8px;\">🛡️</div>\n          <div style=\"font-weight: 700; color: #fff; font-size: 14px;\">Sécurisation</div>\n          <div style=\"font-size: 12px; color: #94a3b8; margin-top: 4px;\">Chaque ligne de vente porte une signature unique horodatée.</div>\n        </div>\n        <div style=\"background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n          <div style=\"font-size: 20px; margin-bottom: 8px;\">📋</div>\n          <div style=\"font-weight: 700; color: #fff; font-size: 14px;\">Ticket Z &amp; X</div>\n          <div style=\"font-size: 12px; color: #94a3b8; margin-top: 4px;\">Clôtures journalières, mensuelles et annuelles automatiques.</div>\n        </div>\n      </div>\n    </div>\n  </section>\n\n  <!-- PRICING SECTION -->\n  <section id=\"tarifs\" style=\"padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;\">\n    <div style=\"text-align: center; margin-bottom: 60px;\">\n      <span style=\"font-size: 12px; font-weight: 700; color: #10b981; letter-spacing: 0.1em; text-transform: uppercase;\">OFFRES &amp; LICENCES</span>\n      <h2 style=\"font-size: 36px; font-weight: 900; margin: 8px 0; color: #fff;\">Des Tarifs Simples et Transparents</h2>\n      <p style=\"color: #94a3b8; font-size: 16px; max-width: 600px; margin: 0 auto;\">Choisissez la licence adaptée à la taille de votre point de vente.</p>\n    </div>\n\n    <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;\">\n      <!-- Starter -->\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between;\">\n        <div>\n          <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;\">Licence Starter</h3>\n          <p style=\"color: #94a3b8; font-size: 13px; margin: 0 0 24px;\">Pour 1 boutique ou food-truck indépendant.</p>\n          <div style=\"margin-bottom: 24px;\">\n            <span style=\"font-size: 40px; font-weight: 900; color: #fff;\">19€</span>\n            <span style=\"color: #94a3b8; font-size: 14px;\"> / mois</span>\n          </div>\n          <ul style=\"list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;\">\n            <li style=\"margin-bottom: 10px;\">✓ 1 Caisse enregistreuse active</li>\n            <li style=\"margin-bottom: 10px;\">✓ Synchronisation WooCommerce illimitée</li>\n            <li style=\"margin-bottom: 10px;\">✓ Conformité NF525 &amp; Attestation</li>\n            <li style=\"margin-bottom: 10px;\">✓ Support par e-mail standard</li>\n          </ul>\n        </div>\n        <a href=\"#\" style=\"margin-top: 32px; display: block; text-align: center; background: #1e293b; color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none;\">Choisir Starter</a>\n      </div>\n\n      <!-- Pro (Highlighted) -->\n      <div style=\"background: linear-gradient(180deg, #0f172a, #020617); border: 2px solid #10b981; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; position: relative;\">\n        <div style=\"position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #10b981; color: #020617; font-weight: 800; font-size: 11px; padding: 4px 12px; border-radius: 9999px; text-transform: uppercase;\">\n          LE PLUS POPULAIRE\n        </div>\n        <div>\n          <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;\">Licence Pro</h3>\n          <p style=\"color: #94a3b8; font-size: 13px; margin: 0 0 24px;\">Pour magasins de détail, restaurants et boutiques.</p>\n          <div style=\"margin-bottom: 24px;\">\n            <span style=\"font-size: 40px; font-weight: 900; color: #10b981;\">39€</span>\n            <span style=\"color: #94a3b8; font-size: 14px;\"> / mois</span>\n          </div>\n          <ul style=\"list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;\">\n            <li style=\"margin-bottom: 10px;\">✓ Jusqu'à 3 Caisses en simultané</li>\n            <li style=\"margin-bottom: 10px;\">✓ Mode multi-vendeurs &amp; codes PIN</li>\n            <li style=\"margin-bottom: 10px;\">✓ Prédiction IA des stocks &amp; ventes</li>\n            <li style=\"margin-bottom: 10px;\">✓ Support prioritaire 7j/7</li>\n          </ul>\n        </div>\n        <a href=\"#\" style=\"margin-top: 32px; display: block; text-align: center; background: #10b981; color: #020617; padding: 12px; border-radius: 10px; font-weight: 800; text-decoration: none;\">Activer la Licence Pro</a>\n      </div>\n\n      <!-- Entreprise -->\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between;\">\n        <div>\n          <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;\">Réseau &amp; Franchises</h3>\n          <p style=\"color: #94a3b8; font-size: 13px; margin: 0 0 24px;\">Pour chaînes de magasins et multi-sites.</p>\n          <div style=\"margin-bottom: 24px;\">\n            <span style=\"font-size: 40px; font-weight: 900; color: #fff;\">89€</span>\n            <span style=\"color: #94a3b8; font-size: 14px;\"> / mois</span>\n          </div>\n          <ul style=\"list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;\">\n            <li style=\"margin-bottom: 10px;\">✓ Caisses illimitées</li>\n            <li style=\"margin-bottom: 10px;\">✓ Gestion centralisée multi-entrepôts</li>\n            <li style=\"margin-bottom: 10px;\">✓ API personnalisée &amp; intégration ERP</li>\n            <li style=\"margin-bottom: 10px;\">✓ Gestionnaire de compte dédié</li>\n          </ul>\n        </div>\n        <a href=\"#\" style=\"margin-top: 32px; display: block; text-align: center; background: #1e293b; color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none;\">Contacter l'Équipe</a>\n      </div>\n    </div>\n  </section>\n\n  <!-- FOOTER -->\n  <footer style=\"background: #010409; border-top: 1px solid #1e293b; padding: 48px 24px; color: #94a3b8; font-size: 13px;\">\n    <div style=\"max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center;\">\n      <div>\n        <div style=\"color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 6px;\">SmartPOS AI Pro</div>\n        <p style=\"margin: 0;\">La solution de caisse enregistreuse tactile intelligente certifiée NF525 pour WooCommerce.</p>\n      </div>\n      <div style=\"display: flex; gap: 20px; font-weight: 600;\">\n        <a href=\"#\" style=\"color: #94a3b8; text-decoration: none;\">Mentions Légales</a>\n        <a href=\"#\" style=\"color: #94a3b8; text-decoration: none;\">Conformité NF525</a>\n        <a href=\"#\" style=\"color: #94a3b8; text-decoration: none;\">Conditions Générales</a>\n        <a href=\"#\" style=\"color: #94a3b8; text-decoration: none;\">Support</a>\n      </div>\n    </div>\n    <div style=\"max-width: 1280px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid #0f172a; text-align: center; font-size: 12px; color: #64748b;\">\n      &copy; 2026 SmartPOS AI. Tous droits réservés. Conforme à l'article 88 de la Loi Anti-Fraude TVA 2018 (NF525 / LNE).\n    </div>\n  </footer>\n\n</div>\n"}}]}]}]]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_page_settings]]></wp:meta_key>
			<wp:meta_value><![CDATA[a:0:{}]]></wp:meta_value>
		</wp:postmeta>
	</item>

	<!-- PAGE 2: Terminal POS Caisse Tactile (Écran Dédié Caisse) -->
	<item>
		<title><![CDATA[Caisse Tactile POS - SmartPOS AI]]></title>
		<link>https://www.smartpos-ai.fr/caisse-pos/</link>
		<pubDate>Sun, 20 Sep 2026 17:31:59 GMT</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
		<guid isPermaLink="false">https://www.smartpos-ai.fr/?page_id=2002</guid>
		<description></description>
		<content:encoded><![CDATA[<div id="smartpos-standalone-app" style="font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #0f172a; background: #f8fafc; border-radius: 20px; border: 1px solid #e2e8f0; padding: 24px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.01); width: 100%; box-sizing: border-box;">
  <style>
    #smartpos-standalone-app p:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
    #smartpos-standalone-app > p { display: none !important; margin: 0 !important; padding: 0 !important; }
    #smartpos-standalone-app br { display: none !important; }
    #smartpos-standalone-app * { box-sizing: border-box; }
    
    .sp-pos-layout {
      display: flex !important;
      flex-direction: row !important;
      gap: 24px !important;
      width: 100% !important;
      align-items: flex-start !important;
    }
    @media (max-width: 991px) {
      .sp-pos-layout { flex-direction: column !important; }
      .sp-pos-cart-col { width: 100% !important; min-width: 100% !important; }
    }
    .sp-pos-catalog {
      flex: 1 1 0% !important;
      min-width: 0 !important;
      width: 100% !important;
    }
    .sp-pos-cart-col {
      width: 380px !important;
      min-width: 320px !important;
      flex-shrink: 0 !important;
    }
    .sp-products-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
      gap: 14px !important;
      width: 100% !important;
    }
    .sp-btn-touch {
      cursor: pointer;
      user-select: none;
      transition: all 0.15s ease;
    }
    .sp-btn-touch:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    }
    .sp-btn-touch:active {
      transform: scale(0.97);
    }
  </style>

  <!-- POS HEADER BAR -->
  <div style="display: flex; justify-content: space-between; align-items: center; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 20px; margin-bottom: 20px; flex-wrap: wrap; gap: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.03);">
    <div style="display: flex; align-items: center; gap: 12px;">
      <div style="background: linear-gradient(135deg, #10b981, #059669); color: white; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; box-shadow: 0 4px 10px rgba(16,185,129,0.25);">⚡</div>
      <div>
        <div style="display: flex; align-items: center; gap: 8px;">
          <h2 style="margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em;">SmartPOS AI Pro</h2>
          <span style="background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 9999px;">NF525 CERTIFIÉ</span>
        </div>
        <p style="margin: 2px 0 0; font-size: 11px; color: #64748b;">Caisse Tactile WooCommerce • Alex Dupont (Caisse 01)</p>
      </div>
    </div>
    <div style="display: flex; align-items: center; gap: 10px;">
      <div style="background: #f1f5f9; padding: 6px 12px; border-radius: 10px; border: 1px solid #e2e8f0; font-size: 12px; font-weight: 600; color: #334155;">
        📍 Table 04 • Sur place
      </div>
      <div id="sp-live-clock" style="background: #f8fafc; padding: 6px 12px; border-radius: 10px; border: 1px solid #e2e8f0; font-family: monospace; font-size: 12px; color: #059669; font-weight: 700;">
        12:00:00
      </div>
    </div>
  </div>

  <!-- MAIN WORKSPACE -->
  <div class="sp-pos-layout">
    
    <!-- LEFT: CATALOG -->
    <div class="sp-pos-catalog">
      
      <!-- Search and Scanner Simulation -->
      <div style="background: #ffffff; padding: 10px 14px; border-radius: 14px; border: 1px solid #e2e8f0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;">
        <span style="font-size: 16px;">🔍</span>
        <input 
          type="text" 
          id="sp-search-input" 
          oninput="spFilterProducts()" 
          placeholder="Rechercher un article, un code SKU, un plat..." 
          style="width: 100%; border: none; outline: none; background: transparent; font-size: 13px; color: #0f172a;"
        />
        <span style="font-size: 11px; background: #f1f5f9; color: #475569; padding: 3px 8px; border-radius: 6px; font-family: monospace; white-space: nowrap;">SCAN READY</span>
      </div>

      <!-- Categories Pills -->
      <div style="display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px;">
        <button onclick="spSetCategory('all', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; background: #10b981; color: #ffffff; white-space: nowrap;">Tous les Articles</button>
        <button onclick="spSetCategory('cafe', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;">☕ Cafés & Boissons</button>
        <button onclick="spSetCategory('boulangerie', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;">🥐 Boulangerie</button>
        <button onclick="spSetCategory('restaurant', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;">🍔 Plats & Salades</button>
        <button onclick="spSetCategory('retail', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;">🛍️ Boutique & Retail</button>
      </div>

      <!-- Products Grid -->
      <div id="sp-products-container" class="sp-products-grid">
        <!-- Injected via JavaScript -->
      </div>
    </div>

    <!-- RIGHT: TICKET DE CAISSE PRO -->
    <div class="sp-pos-cart-col">
      <div style="background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 14px;">
        
        <!-- Ticket Header -->
        <div style="display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px;">
          <div>
            <div style="font-weight: 800; font-size: 14px; color: #0f172a;">Ticket #TK-2026-0842</div>
            <div style="font-size: 11px; color: #64748b;">Table 04 • Client Comptoir</div>
          </div>
          <button onclick="spClearCart()" style="background: transparent; border: none; color: #ef4444; font-size: 12px; font-weight: 600; cursor: pointer;">Vider</button>
        </div>

        <!-- Cart Items Scroll -->
        <div id="sp-cart-items" style="max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 2px;">
          <!-- Injected via JavaScript -->
        </div>

        <!-- Discounts Buttons -->
        <div style="background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px;">
          <div style="font-size: 11px; font-weight: 700; color: #475569; margin-bottom: 6px; display: flex; justify-content: space-between;">
            <span>Remise Commerciale :</span>
            <span id="sp-discount-label" style="color: #059669;">0%</span>
          </div>
          <div style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;">
            <button onclick="spApplyDiscount(0, this)" class="sp-disc-btn" style="background: #10b981; color: white; border: none; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;">0%</button>
            <button onclick="spApplyDiscount(5, this)" class="sp-disc-btn" style="background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;">-5%</button>
            <button onclick="spApplyDiscount(10, this)" class="sp-disc-btn" style="background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;">-10%</button>
            <button onclick="spApplyDiscount(20, this)" class="sp-disc-btn" style="background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;">-20%</button>
          </div>
        </div>

        <!-- Totals Card -->
        <div style="background: #0f172a; color: #ffffff; border-radius: 14px; padding: 14px;">
          <div style="display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 4px;">
            <span>Sous-total Brut</span>
            <span id="sp-subtotal-val" style="font-family: monospace;">0.00 €</span>
          </div>
          <div id="sp-discount-row" style="display: none; justify-content: space-between; font-size: 12px; color: #34d399; margin-bottom: 4px;">
            <span>Remise déduite</span>
            <span id="sp-discount-val" style="font-family: monospace;">-0.00 €</span>
          </div>
          <div style="display: flex; justify-content: space-between; font-size: 11px; color: #64748b; border-top: 1px solid #1e293b; padding-top: 6px; margin-top: 4px;">
            <span id="sp-ht-val">Base HT: 0.00 €</span>
            <span id="sp-tva-val">TVA: 0.00 €</span>
          </div>
          <div style="display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #1e293b; padding-top: 8px; margin-top: 8px;">
            <div>
              <div style="font-size: 11px; text-transform: uppercase; color: #94a3b8; font-weight: bold;">TOTAL TTC NET</div>
              <div style="font-size: 9px; color: #34d399;">Certifié NF525</div>
            </div>
            <div id="sp-total-val" style="font-size: 24px; font-weight: 900; color: #34d399; font-family: monospace;">0.00 €</div>
          </div>
        </div>

        <!-- Payment Actions -->
        <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 8px;">
          <button onclick="spOpenPayment('Carte Bancaire (TPE)')" style="background: #10b981; color: #ffffff; border: none; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 4px 10px rgba(16,185,129,0.2);">
            💳 Carte Bancaire
          </button>
          <button onclick="spOpenPayment('Espèces (Cash)')" style="background: #1e293b; color: #ffffff; border: none; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;">
            💵 Espèces / Cash
          </button>
        </div>

      </div>
    </div>
  </div>

  <!-- RECEIPT MODAL (ESC/POS NF525) -->
  <div id="sp-receipt-modal" style="display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.75); backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center; padding: 16px;">
    <div style="background: #ffffff; border-radius: 20px; max-width: 400px; width: 100%; padding: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); text-align: left; position: relative;">
      <button onclick="spCloseModal()" style="position: absolute; top: 16px; right: 16px; background: #f1f5f9; border: none; width: 30px; height: 30px; border-radius: 50%; font-weight: bold; cursor: pointer;">✕</button>
      
      <div style="display: flex; align-items: center; gap: 8px; color: #059669; font-weight: 800; font-size: 14px; margin-bottom: 12px;">
        <span>✓</span> Encaissement Validé (NF525)
      </div>

      <!-- Thermal Receipt Visual Paper -->
      <div style="background: #fffbeb; border: 1px solid #fef3c7; border-radius: 12px; padding: 16px; font-family: monospace; font-size: 11px; color: #1e293b; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);">
        <div style="text-align: center; border-bottom: 1px dashed #cbd5e1; padding-bottom: 8px; margin-bottom: 8px;">
          <div style="font-weight: 900; font-size: 14px;">SMARTPOS AI PRO</div>
          <div>BISTROT & COMMERCE PARIS</div>
          <div style="font-size: 10px; color: #64748b;">SIRET: 849 203 912 00014</div>
          <div style="font-size: 10px; color: #64748b;">CONFORME ART. 88 LOI FINANCES</div>
        </div>

        <div id="sp-modal-items-list" style="margin-bottom: 8px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 8px;">
          <!-- Dynamically populated -->
        </div>

        <div style="display: flex; justify-content: space-between; font-weight: bold; font-size: 13px; margin-bottom: 4px;">
          <span>TOTAL PAYÉ TTC</span>
          <span id="sp-modal-total">0.00 €</span>
        </div>
        <div id="sp-modal-method" style="font-size: 10px; color: #059669; font-weight: bold; margin-bottom: 8px;">
          MODE: CARTE BANCAIRE
        </div>

        <div style="text-align: center; border-top: 1px dashed #cbd5e1; padding-top: 8px; font-size: 9px; color: #64748b;">
          <div>SIGNATURE CRYPTOGRAPHIQUE FISCALE :</div>
          <div style="font-weight: bold; color: #0f172a; word-break: break-all;">SHA256: 8F2B7E91C4A028E5-POS-FR</div>
          <div style="margin-top: 4px;">MERCI DE VOTRE VISITE !</div>
        </div>
      </div>

      <div style="display: flex; gap: 8px; margin-top: 16px;">
        <button onclick="alert('Impression envoyée vers votre imprimante thermique ESC/POS 80mm.');" style="flex: 1; background: #0f172a; color: white; border: none; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: bold; cursor: pointer;">
          🖨️ Imprimer
        </button>
        <button onclick="spNewSale()" style="flex: 1; background: #10b981; color: white; border: none; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: bold; cursor: pointer;">
          + Nouvelle Vente
        </button>
      </div>
    </div>
  </div>

  <script>
    (function() {
      var PRODUCTS = [
        { id: '1', name: 'Café Espresso Bio', cat: 'cafe', price: 2.50, emoji: '☕', tva: 10, sku: 'BOV-ESP' },
        { id: '2', name: 'Cappuccino Mousse Lait', cat: 'cafe', price: 4.20, emoji: '🍵', tva: 10, sku: 'BOV-CAP' },
        { id: '3', name: 'Thé Vert Menthe Fraîche', cat: 'cafe', price: 3.80, emoji: '🫖', tva: 10, sku: 'BOV-THE' },
        { id: '4', name: 'Jus Orange Pressé Minute', cat: 'cafe', price: 4.50, emoji: '🍊', tva: 10, sku: 'BOV-JUS' },
        { id: '5', name: 'Croissant Beurre AOP', cat: 'boulangerie', price: 1.90, emoji: '🥐', tva: 10, sku: 'BAK-CRO' },
        { id: '6', name: 'Pain Chocolat Pur Beurre', cat: 'boulangerie', price: 2.10, emoji: '🥖', tva: 10, sku: 'BAK-CHO' },
        { id: '7', name: 'Tiramisu Artisanal Café', cat: 'boulangerie', price: 5.50, emoji: '🍰', tva: 10, sku: 'BAK-TIR' },
        { id: '8', name: 'Tarte Citron Meringuée', cat: 'boulangerie', price: 4.90, emoji: '🍋', tva: 10, sku: 'BAK-CIT' },
        { id: '9', name: 'Burger Gourmet & Frites', cat: 'restaurant', price: 16.50, emoji: '🍔', tva: 10, sku: 'RES-BUR' },
        { id: '10', name: 'Pizza Margherita DOC', cat: 'restaurant', price: 13.90, emoji: '🍕', tva: 10, sku: 'RES-PIZ' },
        { id: '11', name: 'Salade César Poulet', cat: 'restaurant', price: 12.50, emoji: '🥗', tva: 10, sku: 'RES-SAL' },
        { id: '12', name: 'Pâtes Truffe & Parmesan', cat: 'restaurant', price: 17.80, emoji: '🍝', tva: 10, sku: 'RES-PAT' },
        { id: '13', name: 'Frites Maison Port.', cat: 'restaurant', price: 4.50, emoji: '🍟', tva: 10, sku: 'RES-FRI' },
        { id: '14', name: 'T-Shirt Coton Bio SmartPOS', cat: 'retail', price: 29.00, emoji: '👕', tva: 20, sku: 'RET-TSH' },
        { id: '15', name: 'Totebag Toile Canvas', cat: 'retail', price: 14.00, emoji: '👜', tva: 20, sku: 'RET-TOT' },
        { id: '16', name: 'Gourde Inox Isotherme', cat: 'retail', price: 22.00, emoji: '🍶', tva: 20, sku: 'RET-GOU' }
      ];

      var cart = [
        { product: PRODUCTS[0], qty: 2 },
        { product: PRODUCTS[4], qty: 2 },
        { product: PRODUCTS[8], qty: 1 }
      ];

      var currentCat = 'all';
      var discountPercent = 0;
      var lastPaymentMethod = 'Carte Bancaire';

      function updateClock() {
        var clockEl = document.getElementById('sp-live-clock');
        if (clockEl) {
          var d = new Date();
          clockEl.innerText = d.toLocaleTimeString('fr-FR');
        }
      }
      setInterval(updateClock, 1000);
      updateClock();

      window.spSetCategory = function(cat, btn) {
        currentCat = cat;
        var buttons = document.querySelectorAll('.sp-cat-btn');
        buttons.forEach(function(b) {
          b.style.background = '#ffffff';
          b.style.color = '#475569';
          b.style.border = '1px solid #e2e8f0';
        });
        btn.style.background = '#10b981';
        btn.style.color = '#ffffff';
        btn.style.border = 'none';
        window.spFilterProducts();
      };

      window.spFilterProducts = function() {
        var query = (document.getElementById('sp-search-input').value || '').toLowerCase();
        var container = document.getElementById('sp-products-container');
        if (!container) return;

        var html = '';
        PRODUCTS.forEach(function(p) {
          var matchCat = (currentCat === 'all' || p.cat === currentCat);
          var matchQuery = p.name.toLowerCase().includes(query) || p.sku.toLowerCase().includes(query);
          if (matchCat && matchQuery) {
            var inCartItem = cart.find(function(i) { return i.product.id === p.id; });
            var count = inCartItem ? inCartItem.qty : 0;

            html += '<div onclick="spAddToCart(\'' + p.id + '\')" class="sp-btn-touch" style="background:#ffffff; border:' + (count > 0 ? '2px solid #10b981' : '1px solid #e2e8f0') + '; border-radius:14px; padding:12px; display:flex; flex-direction:column; justify-content:space-between; position:relative;">';
            if (count > 0) {
              html += '<span style="position:absolute; top:8px; right:8px; background:#10b981; color:#fff; font-size:10px; font-weight:800; width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center;">' + count + '</span>';
            }
            html += '<div>';
            html += '<div style="font-size:26px; margin-bottom:6px;">' + p.emoji + '</div>';
            html += '<div style="font-weight:700; font-size:12px; color:#0f172a; line-height:1.2;">' + p.name + '</div>';
            html += '<div style="font-size:10px; color:#94a3b8; margin-top:2px;">' + p.sku + ' • TVA ' + p.tva + '%</div>';
            html += '</div>';
            html += '<div style="display:flex; justify-content:space-between; align-items:center; border-top:1px solid #f1f5f9; padding-top:8px; margin-top:8px;">';
            html += '<span style="font-weight:800; font-size:13px; color:#0f172a;">' + p.price.toFixed(2) + ' €</span>';
            html += '<span style="background:#ecfdf5; color:#059669; font-weight:bold; width:22px; height:22px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:13px;">+</span>';
            html += '</div>';
            html += '</div>';
          }
        });
        container.innerHTML = html;
      };

      window.spAddToCart = function(id) {
        var p = PRODUCTS.find(function(item) { return item.id === id; });
        if (!p) return;
        var existing = cart.find(function(item) { return item.product.id === id; });
        if (existing) {
          existing.qty += 1;
        } else {
          cart.push({ product: p, qty: 1 });
        }
        window.spRenderCart();
        window.spFilterProducts();
      };

      window.spChangeQty = function(id, delta) {
        var item = cart.find(function(i) { return i.product.id === id; });
        if (!item) return;
        item.qty += delta;
        if (item.qty <= 0) {
          cart = cart.filter(function(i) { return i.product.id !== id; });
        }
        window.spRenderCart();
        window.spFilterProducts();
      };

      window.spClearCart = function() {
        cart = [];
        discountPercent = 0;
        window.spRenderCart();
        window.spFilterProducts();
      };

      window.spApplyDiscount = function(pct, btn) {
        discountPercent = pct;
        document.querySelectorAll('.sp-disc-btn').forEach(function(b) {
          b.style.background = '#ffffff';
          b.style.color = '#334155';
          b.style.border = '1px solid #cbd5e1';
        });
        btn.style.background = '#10b981';
        btn.style.color = '#ffffff';
        btn.style.border = 'none';
        document.getElementById('sp-discount-label').innerText = pct > 0 ? '-' + pct + '%' : '0%';
        window.spRenderCart();
      };

      window.spRenderCart = function() {
        var cartContainer = document.getElementById('sp-cart-items');
        if (!cartContainer) return;

        if (cart.length === 0) {
          cartContainer.innerHTML = '<div style="text-align:center; padding:30px 10px; color:#94a3b8; font-size:12px;">Ticket vide.<br>Sélectionnez un article pour commencer.</div>';
        } else {
          var html = '';
          cart.forEach(function(item) {
            html += '<div style="display:flex; justify-content:space-between; align-items:center; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:8px 10px;">';
            html += '<div style="display:flex; align-items:center; gap:8px;">';
            html += '<span style="font-size:18px;">' + item.product.emoji + '</span>';
            html += '<div>';
            html += '<div style="font-weight:700; font-size:11px; color:#0f172a;">' + item.product.name + '</div>';
            html += '<div style="font-size:10px; color:#64748b;">' + item.product.price.toFixed(2) + ' € x ' + item.qty + ' = <strong style="color:#059669;">' + (item.product.price * item.qty).toFixed(2) + ' €</strong></div>';
            html += '</div>';
            html += '</div>';
            html += '<div style="display:flex; align-items:center; gap:4px;">';
            html += '<button onclick="spChangeQty(\'' + item.product.id + '\', -1)" style="width:22px; height:22px; border-radius:6px; border:1px solid #cbd5e1; background:#ffffff; font-weight:bold; cursor:pointer;">-</button>';
            html += '<span style="width:18px; text-align:center; font-weight:bold; font-size:11px;">' + item.qty + '</span>';
            html += '<button onclick="spChangeQty(\'' + item.product.id + '\', 1)" style="width:22px; height:22px; border-radius:6px; border:1px solid #cbd5e1; background:#ffffff; font-weight:bold; cursor:pointer;">+</button>';
            html += '</div>';
            html += '</div>';
          });
          cartContainer.innerHTML = html;
        }

        // Calculations
        var subtotal = cart.reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);
        var discAmount = (subtotal * discountPercent) / 100;
        var netTotal = Math.max(0, subtotal - discAmount);

        var tva10Items = cart.filter(function(i) { return i.product.tva === 10; }).reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);
        var tva20Items = cart.filter(function(i) { return i.product.tva === 20; }).reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);

        var tva10 = (tva10Items * (1 - discountPercent / 100) * 10) / 110;
        var tva20 = (tva20Items * (1 - discountPercent / 100) * 20) / 120;
        var baseHt = netTotal - tva10 - tva20;

        document.getElementById('sp-subtotal-val').innerText = subtotal.toFixed(2) + ' €';
        document.getElementById('sp-total-val').innerText = netTotal.toFixed(2) + ' €';
        document.getElementById('sp-ht-val').innerText = 'Base HT: ' + baseHt.toFixed(2) + ' €';
        document.getElementById('sp-tva-val').innerText = 'TVA: ' + (tva10 + tva20).toFixed(2) + ' €';

        var discRow = document.getElementById('sp-discount-row');
        if (discountPercent > 0) {
          discRow.style.display = 'flex';
          document.getElementById('sp-discount-val').innerText = '-' + discAmount.toFixed(2) + ' €';
        } else {
          discRow.style.display = 'none';
        }
      };

      window.spOpenPayment = function(method) {
        if (cart.length === 0) {
          alert('Votre ticket est vide. Ajoutez des articles pour encaisser.');
          return;
        }
        lastPaymentMethod = method;
        var modal = document.getElementById('sp-receipt-modal');
        var listContainer = document.getElementById('sp-modal-items-list');
        var totalEl = document.getElementById('sp-modal-total');
        var methodEl = document.getElementById('sp-modal-method');

        var itemsHtml = '';
        cart.forEach(function(i) {
          itemsHtml += '<div style="display:flex; justify-content:space-between; margin-bottom:2px;">';
          itemsHtml += '<span>' + i.qty + 'x ' + i.product.name.substring(0, 18) + '</span>';
          itemsHtml += '<span>' + (i.product.price * i.qty).toFixed(2) + ' €</span>';
          itemsHtml += '</div>';
        });

        var subtotal = cart.reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);
        var discAmount = (subtotal * discountPercent) / 100;
        var netTotal = Math.max(0, subtotal - discAmount);

        listContainer.innerHTML = itemsHtml;
        totalEl.innerText = netTotal.toFixed(2) + ' €';
        methodEl.innerText = 'RÈGLEMENT : ' + method.toUpperCase();

        modal.style.display = 'flex';
      };

      window.spCloseModal = function() {
        document.getElementById('sp-receipt-modal').style.display = 'none';
      };

      window.spNewSale = function() {
        window.spClearCart();
        window.spCloseModal();
      };

      // Initial execution
      window.spFilterProducts();
      window.spRenderCart();
    })();
  </script>
</div>]]></content:encoded>
		<excerpt:encoded><![CDATA[]]></excerpt:encoded>
		<wp:post_id>2002</wp:post_id>
		<wp:post_date><![CDATA[2026-09-20 17:31:59]]></wp:post_date>
		<wp:post_date_gmt><![CDATA[2026-09-20 17:31:59]]></wp:post_date_gmt>
		<wp:post_modified><![CDATA[2026-09-20 17:31:59]]></wp:post_modified>
		<wp:post_modified_gmt><![CDATA[2026-09-20 17:31:59]]></wp:post_modified_gmt>
		<wp:comment_status><![CDATA[closed]]></wp:comment_status>
		<wp:ping_status><![CDATA[closed]]></wp:ping_status>
		<wp:post_name><![CDATA[caisse-pos]]></wp:post_name>
		<wp:status><![CDATA[publish]]></wp:status>
		<wp:post_parent>0</wp:post_parent>
		<wp:menu_order>1</wp:menu_order>
		<wp:post_type><![CDATA[page]]></wp:post_type>
		<wp:post_password><![CDATA[]]></wp:post_password>
		<wp:is_sticky>0</wp:is_sticky>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_edit_mode]]></wp:meta_key>
			<wp:meta_value><![CDATA[builder]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_template_type]]></wp:meta_key>
			<wp:meta_value><![CDATA[wp-page]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_version]]></wp:meta_key>
			<wp:meta_value><![CDATA[3.25.0]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_wp_page_template]]></wp:meta_key>
			<wp:meta_value><![CDATA[elementor_canvas]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_data]]></wp:meta_key>
			<wp:meta_value><![CDATA[[{"id":"sec_lmfb11p","elType":"section","isInner":false,"settings":{"layout":"full_width","stretch_section":"section-stretched","background_background":"classic","background_color":"#f8fafc","padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":true}},"elements":[{"id":"col_zz8f97h","elType":"column","isInner":false,"settings":{"_column_size":100,"_inline_size":null,"padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":true}},"elements":[{"id":"wid_no08ka8","elType":"widget","isInner":false,"widgetType":"html","settings":{"html":"<div id=\"smartpos-standalone-app\" style=\"font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #0f172a; background: #f8fafc; border-radius: 20px; border: 1px solid #e2e8f0; padding: 24px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.01); width: 100%; box-sizing: border-box;\">\n  <style>\n    #smartpos-standalone-app p:empty { display: none !important; margin: 0 !important; padding: 0 !important; }\n    #smartpos-standalone-app > p { display: none !important; margin: 0 !important; padding: 0 !important; }\n    #smartpos-standalone-app br { display: none !important; }\n    #smartpos-standalone-app * { box-sizing: border-box; }\n    \n    .sp-pos-layout {\n      display: flex !important;\n      flex-direction: row !important;\n      gap: 24px !important;\n      width: 100% !important;\n      align-items: flex-start !important;\n    }\n    @media (max-width: 991px) {\n      .sp-pos-layout { flex-direction: column !important; }\n      .sp-pos-cart-col { width: 100% !important; min-width: 100% !important; }\n    }\n    .sp-pos-catalog {\n      flex: 1 1 0% !important;\n      min-width: 0 !important;\n      width: 100% !important;\n    }\n    .sp-pos-cart-col {\n      width: 380px !important;\n      min-width: 320px !important;\n      flex-shrink: 0 !important;\n    }\n    .sp-products-grid {\n      display: grid !important;\n      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;\n      gap: 14px !important;\n      width: 100% !important;\n    }\n    .sp-btn-touch {\n      cursor: pointer;\n      user-select: none;\n      transition: all 0.15s ease;\n    }\n    .sp-btn-touch:hover {\n      transform: translateY(-2px);\n      box-shadow: 0 6px 16px rgba(0,0,0,0.06);\n    }\n    .sp-btn-touch:active {\n      transform: scale(0.97);\n    }\n  </style>\n\n  <!-- POS HEADER BAR -->\n  <div style=\"display: flex; justify-content: space-between; align-items: center; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 20px; margin-bottom: 20px; flex-wrap: wrap; gap: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.03);\">\n    <div style=\"display: flex; align-items: center; gap: 12px;\">\n      <div style=\"background: linear-gradient(135deg, #10b981, #059669); color: white; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; box-shadow: 0 4px 10px rgba(16,185,129,0.25);\">⚡</div>\n      <div>\n        <div style=\"display: flex; align-items: center; gap: 8px;\">\n          <h2 style=\"margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em;\">SmartPOS AI Pro</h2>\n          <span style=\"background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 9999px;\">NF525 CERTIFIÉ</span>\n        </div>\n        <p style=\"margin: 2px 0 0; font-size: 11px; color: #64748b;\">Caisse Tactile WooCommerce • Alex Dupont (Caisse 01)</p>\n      </div>\n    </div>\n    <div style=\"display: flex; align-items: center; gap: 10px;\">\n      <div style=\"background: #f1f5f9; padding: 6px 12px; border-radius: 10px; border: 1px solid #e2e8f0; font-size: 12px; font-weight: 600; color: #334155;\">\n        📍 Table 04 • Sur place\n      </div>\n      <div id=\"sp-live-clock\" style=\"background: #f8fafc; padding: 6px 12px; border-radius: 10px; border: 1px solid #e2e8f0; font-family: monospace; font-size: 12px; color: #059669; font-weight: 700;\">\n        12:00:00\n      </div>\n    </div>\n  </div>\n\n  <!-- MAIN WORKSPACE -->\n  <div class=\"sp-pos-layout\">\n    \n    <!-- LEFT: CATALOG -->\n    <div class=\"sp-pos-catalog\">\n      \n      <!-- Search and Scanner Simulation -->\n      <div style=\"background: #ffffff; padding: 10px 14px; border-radius: 14px; border: 1px solid #e2e8f0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;\">\n        <span style=\"font-size: 16px;\">🔍</span>\n        <input \n          type=\"text\" \n          id=\"sp-search-input\" \n          oninput=\"spFilterProducts()\" \n          placeholder=\"Rechercher un article, un code SKU, un plat...\" \n          style=\"width: 100%; border: none; outline: none; background: transparent; font-size: 13px; color: #0f172a;\"\n        />\n        <span style=\"font-size: 11px; background: #f1f5f9; color: #475569; padding: 3px 8px; border-radius: 6px; font-family: monospace; white-space: nowrap;\">SCAN READY</span>\n      </div>\n\n      <!-- Categories Pills -->\n      <div style=\"display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px;\">\n        <button onclick=\"spSetCategory('all', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; background: #10b981; color: #ffffff; white-space: nowrap;\">Tous les Articles</button>\n        <button onclick=\"spSetCategory('cafe', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;\">☕ Cafés & Boissons</button>\n        <button onclick=\"spSetCategory('boulangerie', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;\">🥐 Boulangerie</button>\n        <button onclick=\"spSetCategory('restaurant', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;\">🍔 Plats & Salades</button>\n        <button onclick=\"spSetCategory('retail', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;\">🛍️ Boutique & Retail</button>\n      </div>\n\n      <!-- Products Grid -->\n      <div id=\"sp-products-container\" class=\"sp-products-grid\">\n        <!-- Injected via JavaScript -->\n      </div>\n    </div>\n\n    <!-- RIGHT: TICKET DE CAISSE PRO -->\n    <div class=\"sp-pos-cart-col\">\n      <div style=\"background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 14px;\">\n        \n        <!-- Ticket Header -->\n        <div style=\"display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px;\">\n          <div>\n            <div style=\"font-weight: 800; font-size: 14px; color: #0f172a;\">Ticket #TK-2026-0842</div>\n            <div style=\"font-size: 11px; color: #64748b;\">Table 04 • Client Comptoir</div>\n          </div>\n          <button onclick=\"spClearCart()\" style=\"background: transparent; border: none; color: #ef4444; font-size: 12px; font-weight: 600; cursor: pointer;\">Vider</button>\n        </div>\n\n        <!-- Cart Items Scroll -->\n        <div id=\"sp-cart-items\" style=\"max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 2px;\">\n          <!-- Injected via JavaScript -->\n        </div>\n\n        <!-- Discounts Buttons -->\n        <div style=\"background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px;\">\n          <div style=\"font-size: 11px; font-weight: 700; color: #475569; margin-bottom: 6px; display: flex; justify-content: space-between;\">\n            <span>Remise Commerciale :</span>\n            <span id=\"sp-discount-label\" style=\"color: #059669;\">0%</span>\n          </div>\n          <div style=\"display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;\">\n            <button onclick=\"spApplyDiscount(0, this)\" class=\"sp-disc-btn\" style=\"background: #10b981; color: white; border: none; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;\">0%</button>\n            <button onclick=\"spApplyDiscount(5, this)\" class=\"sp-disc-btn\" style=\"background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;\">-5%</button>\n            <button onclick=\"spApplyDiscount(10, this)\" class=\"sp-disc-btn\" style=\"background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;\">-10%</button>\n            <button onclick=\"spApplyDiscount(20, this)\" class=\"sp-disc-btn\" style=\"background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;\">-20%</button>\n          </div>\n        </div>\n\n        <!-- Totals Card -->\n        <div style=\"background: #0f172a; color: #ffffff; border-radius: 14px; padding: 14px;\">\n          <div style=\"display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 4px;\">\n            <span>Sous-total Brut</span>\n            <span id=\"sp-subtotal-val\" style=\"font-family: monospace;\">0.00 €</span>\n          </div>\n          <div id=\"sp-discount-row\" style=\"display: none; justify-content: space-between; font-size: 12px; color: #34d399; margin-bottom: 4px;\">\n            <span>Remise déduite</span>\n            <span id=\"sp-discount-val\" style=\"font-family: monospace;\">-0.00 €</span>\n          </div>\n          <div style=\"display: flex; justify-content: space-between; font-size: 11px; color: #64748b; border-top: 1px solid #1e293b; padding-top: 6px; margin-top: 4px;\">\n            <span id=\"sp-ht-val\">Base HT: 0.00 €</span>\n            <span id=\"sp-tva-val\">TVA: 0.00 €</span>\n          </div>\n          <div style=\"display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #1e293b; padding-top: 8px; margin-top: 8px;\">\n            <div>\n              <div style=\"font-size: 11px; text-transform: uppercase; color: #94a3b8; font-weight: bold;\">TOTAL TTC NET</div>\n              <div style=\"font-size: 9px; color: #34d399;\">Certifié NF525</div>\n            </div>\n            <div id=\"sp-total-val\" style=\"font-size: 24px; font-weight: 900; color: #34d399; font-family: monospace;\">0.00 €</div>\n          </div>\n        </div>\n\n        <!-- Payment Actions -->\n        <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 8px;\">\n          <button onclick=\"spOpenPayment('Carte Bancaire (TPE)')\" style=\"background: #10b981; color: #ffffff; border: none; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 4px 10px rgba(16,185,129,0.2);\">\n            💳 Carte Bancaire\n          </button>\n          <button onclick=\"spOpenPayment('Espèces (Cash)')\" style=\"background: #1e293b; color: #ffffff; border: none; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;\">\n            💵 Espèces / Cash\n          </button>\n        </div>\n\n      </div>\n    </div>\n  </div>\n\n  <!-- RECEIPT MODAL (ESC/POS NF525) -->\n  <div id=\"sp-receipt-modal\" style=\"display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.75); backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center; padding: 16px;\">\n    <div style=\"background: #ffffff; border-radius: 20px; max-width: 400px; width: 100%; padding: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); text-align: left; position: relative;\">\n      <button onclick=\"spCloseModal()\" style=\"position: absolute; top: 16px; right: 16px; background: #f1f5f9; border: none; width: 30px; height: 30px; border-radius: 50%; font-weight: bold; cursor: pointer;\">✕</button>\n      \n      <div style=\"display: flex; align-items: center; gap: 8px; color: #059669; font-weight: 800; font-size: 14px; margin-bottom: 12px;\">\n        <span>✓</span> Encaissement Validé (NF525)\n      </div>\n\n      <!-- Thermal Receipt Visual Paper -->\n      <div style=\"background: #fffbeb; border: 1px solid #fef3c7; border-radius: 12px; padding: 16px; font-family: monospace; font-size: 11px; color: #1e293b; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);\">\n        <div style=\"text-align: center; border-bottom: 1px dashed #cbd5e1; padding-bottom: 8px; margin-bottom: 8px;\">\n          <div style=\"font-weight: 900; font-size: 14px;\">SMARTPOS AI PRO</div>\n          <div>BISTROT & COMMERCE PARIS</div>\n          <div style=\"font-size: 10px; color: #64748b;\">SIRET: 849 203 912 00014</div>\n          <div style=\"font-size: 10px; color: #64748b;\">CONFORME ART. 88 LOI FINANCES</div>\n        </div>\n\n        <div id=\"sp-modal-items-list\" style=\"margin-bottom: 8px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 8px;\">\n          <!-- Dynamically populated -->\n        </div>\n\n        <div style=\"display: flex; justify-content: space-between; font-weight: bold; font-size: 13px; margin-bottom: 4px;\">\n          <span>TOTAL PAYÉ TTC</span>\n          <span id=\"sp-modal-total\">0.00 €</span>\n        </div>\n        <div id=\"sp-modal-method\" style=\"font-size: 10px; color: #059669; font-weight: bold; margin-bottom: 8px;\">\n          MODE: CARTE BANCAIRE\n        </div>\n\n        <div style=\"text-align: center; border-top: 1px dashed #cbd5e1; padding-top: 8px; font-size: 9px; color: #64748b;\">\n          <div>SIGNATURE CRYPTOGRAPHIQUE FISCALE :</div>\n          <div style=\"font-weight: bold; color: #0f172a; word-break: break-all;\">SHA256: 8F2B7E91C4A028E5-POS-FR</div>\n          <div style=\"margin-top: 4px;\">MERCI DE VOTRE VISITE !</div>\n        </div>\n      </div>\n\n      <div style=\"display: flex; gap: 8px; margin-top: 16px;\">\n        <button onclick=\"alert('Impression envoyée vers votre imprimante thermique ESC/POS 80mm.');\" style=\"flex: 1; background: #0f172a; color: white; border: none; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: bold; cursor: pointer;\">\n          🖨️ Imprimer\n        </button>\n        <button onclick=\"spNewSale()\" style=\"flex: 1; background: #10b981; color: white; border: none; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: bold; cursor: pointer;\">\n          + Nouvelle Vente\n        </button>\n      </div>\n    </div>\n  </div>\n\n  <script>\n    (function() {\n      var PRODUCTS = [\n        { id: '1', name: 'Café Espresso Bio', cat: 'cafe', price: 2.50, emoji: '☕', tva: 10, sku: 'BOV-ESP' },\n        { id: '2', name: 'Cappuccino Mousse Lait', cat: 'cafe', price: 4.20, emoji: '🍵', tva: 10, sku: 'BOV-CAP' },\n        { id: '3', name: 'Thé Vert Menthe Fraîche', cat: 'cafe', price: 3.80, emoji: '🫖', tva: 10, sku: 'BOV-THE' },\n        { id: '4', name: 'Jus Orange Pressé Minute', cat: 'cafe', price: 4.50, emoji: '🍊', tva: 10, sku: 'BOV-JUS' },\n        { id: '5', name: 'Croissant Beurre AOP', cat: 'boulangerie', price: 1.90, emoji: '🥐', tva: 10, sku: 'BAK-CRO' },\n        { id: '6', name: 'Pain Chocolat Pur Beurre', cat: 'boulangerie', price: 2.10, emoji: '🥖', tva: 10, sku: 'BAK-CHO' },\n        { id: '7', name: 'Tiramisu Artisanal Café', cat: 'boulangerie', price: 5.50, emoji: '🍰', tva: 10, sku: 'BAK-TIR' },\n        { id: '8', name: 'Tarte Citron Meringuée', cat: 'boulangerie', price: 4.90, emoji: '🍋', tva: 10, sku: 'BAK-CIT' },\n        { id: '9', name: 'Burger Gourmet & Frites', cat: 'restaurant', price: 16.50, emoji: '🍔', tva: 10, sku: 'RES-BUR' },\n        { id: '10', name: 'Pizza Margherita DOC', cat: 'restaurant', price: 13.90, emoji: '🍕', tva: 10, sku: 'RES-PIZ' },\n        { id: '11', name: 'Salade César Poulet', cat: 'restaurant', price: 12.50, emoji: '🥗', tva: 10, sku: 'RES-SAL' },\n        { id: '12', name: 'Pâtes Truffe & Parmesan', cat: 'restaurant', price: 17.80, emoji: '🍝', tva: 10, sku: 'RES-PAT' },\n        { id: '13', name: 'Frites Maison Port.', cat: 'restaurant', price: 4.50, emoji: '🍟', tva: 10, sku: 'RES-FRI' },\n        { id: '14', name: 'T-Shirt Coton Bio SmartPOS', cat: 'retail', price: 29.00, emoji: '👕', tva: 20, sku: 'RET-TSH' },\n        { id: '15', name: 'Totebag Toile Canvas', cat: 'retail', price: 14.00, emoji: '👜', tva: 20, sku: 'RET-TOT' },\n        { id: '16', name: 'Gourde Inox Isotherme', cat: 'retail', price: 22.00, emoji: '🍶', tva: 20, sku: 'RET-GOU' }\n      ];\n\n      var cart = [\n        { product: PRODUCTS[0], qty: 2 },\n        { product: PRODUCTS[4], qty: 2 },\n        { product: PRODUCTS[8], qty: 1 }\n      ];\n\n      var currentCat = 'all';\n      var discountPercent = 0;\n      var lastPaymentMethod = 'Carte Bancaire';\n\n      function updateClock() {\n        var clockEl = document.getElementById('sp-live-clock');\n        if (clockEl) {\n          var d = new Date();\n          clockEl.innerText = d.toLocaleTimeString('fr-FR');\n        }\n      }\n      setInterval(updateClock, 1000);\n      updateClock();\n\n      window.spSetCategory = function(cat, btn) {\n        currentCat = cat;\n        var buttons = document.querySelectorAll('.sp-cat-btn');\n        buttons.forEach(function(b) {\n          b.style.background = '#ffffff';\n          b.style.color = '#475569';\n          b.style.border = '1px solid #e2e8f0';\n        });\n        btn.style.background = '#10b981';\n        btn.style.color = '#ffffff';\n        btn.style.border = 'none';\n        window.spFilterProducts();\n      };\n\n      window.spFilterProducts = function() {\n        var query = (document.getElementById('sp-search-input').value || '').toLowerCase();\n        var container = document.getElementById('sp-products-container');\n        if (!container) return;\n\n        var html = '';\n        PRODUCTS.forEach(function(p) {\n          var matchCat = (currentCat === 'all' || p.cat === currentCat);\n          var matchQuery = p.name.toLowerCase().includes(query) || p.sku.toLowerCase().includes(query);\n          if (matchCat && matchQuery) {\n            var inCartItem = cart.find(function(i) { return i.product.id === p.id; });\n            var count = inCartItem ? inCartItem.qty : 0;\n\n            html += '<div onclick=\"spAddToCart(\\'' + p.id + '\\')\" class=\"sp-btn-touch\" style=\"background:#ffffff; border:' + (count > 0 ? '2px solid #10b981' : '1px solid #e2e8f0') + '; border-radius:14px; padding:12px; display:flex; flex-direction:column; justify-content:space-between; position:relative;\">';\n            if (count > 0) {\n              html += '<span style=\"position:absolute; top:8px; right:8px; background:#10b981; color:#fff; font-size:10px; font-weight:800; width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center;\">' + count + '</span>';\n            }\n            html += '<div>';\n            html += '<div style=\"font-size:26px; margin-bottom:6px;\">' + p.emoji + '</div>';\n            html += '<div style=\"font-weight:700; font-size:12px; color:#0f172a; line-height:1.2;\">' + p.name + '</div>';\n            html += '<div style=\"font-size:10px; color:#94a3b8; margin-top:2px;\">' + p.sku + ' • TVA ' + p.tva + '%</div>';\n            html += '</div>';\n            html += '<div style=\"display:flex; justify-content:space-between; align-items:center; border-top:1px solid #f1f5f9; padding-top:8px; margin-top:8px;\">';\n            html += '<span style=\"font-weight:800; font-size:13px; color:#0f172a;\">' + p.price.toFixed(2) + ' €</span>';\n            html += '<span style=\"background:#ecfdf5; color:#059669; font-weight:bold; width:22px; height:22px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:13px;\">+</span>';\n            html += '</div>';\n            html += '</div>';\n          }\n        });\n        container.innerHTML = html;\n      };\n\n      window.spAddToCart = function(id) {\n        var p = PRODUCTS.find(function(item) { return item.id === id; });\n        if (!p) return;\n        var existing = cart.find(function(item) { return item.product.id === id; });\n        if (existing) {\n          existing.qty += 1;\n        } else {\n          cart.push({ product: p, qty: 1 });\n        }\n        window.spRenderCart();\n        window.spFilterProducts();\n      };\n\n      window.spChangeQty = function(id, delta) {\n        var item = cart.find(function(i) { return i.product.id === id; });\n        if (!item) return;\n        item.qty += delta;\n        if (item.qty <= 0) {\n          cart = cart.filter(function(i) { return i.product.id !== id; });\n        }\n        window.spRenderCart();\n        window.spFilterProducts();\n      };\n\n      window.spClearCart = function() {\n        cart = [];\n        discountPercent = 0;\n        window.spRenderCart();\n        window.spFilterProducts();\n      };\n\n      window.spApplyDiscount = function(pct, btn) {\n        discountPercent = pct;\n        document.querySelectorAll('.sp-disc-btn').forEach(function(b) {\n          b.style.background = '#ffffff';\n          b.style.color = '#334155';\n          b.style.border = '1px solid #cbd5e1';\n        });\n        btn.style.background = '#10b981';\n        btn.style.color = '#ffffff';\n        btn.style.border = 'none';\n        document.getElementById('sp-discount-label').innerText = pct > 0 ? '-' + pct + '%' : '0%';\n        window.spRenderCart();\n      };\n\n      window.spRenderCart = function() {\n        var cartContainer = document.getElementById('sp-cart-items');\n        if (!cartContainer) return;\n\n        if (cart.length === 0) {\n          cartContainer.innerHTML = '<div style=\"text-align:center; padding:30px 10px; color:#94a3b8; font-size:12px;\">Ticket vide.<br>Sélectionnez un article pour commencer.</div>';\n        } else {\n          var html = '';\n          cart.forEach(function(item) {\n            html += '<div style=\"display:flex; justify-content:space-between; align-items:center; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:8px 10px;\">';\n            html += '<div style=\"display:flex; align-items:center; gap:8px;\">';\n            html += '<span style=\"font-size:18px;\">' + item.product.emoji + '</span>';\n            html += '<div>';\n            html += '<div style=\"font-weight:700; font-size:11px; color:#0f172a;\">' + item.product.name + '</div>';\n            html += '<div style=\"font-size:10px; color:#64748b;\">' + item.product.price.toFixed(2) + ' € x ' + item.qty + ' = <strong style=\"color:#059669;\">' + (item.product.price * item.qty).toFixed(2) + ' €</strong></div>';\n            html += '</div>';\n            html += '</div>';\n            html += '<div style=\"display:flex; align-items:center; gap:4px;\">';\n            html += '<button onclick=\"spChangeQty(\\'' + item.product.id + '\\', -1)\" style=\"width:22px; height:22px; border-radius:6px; border:1px solid #cbd5e1; background:#ffffff; font-weight:bold; cursor:pointer;\">-</button>';\n            html += '<span style=\"width:18px; text-align:center; font-weight:bold; font-size:11px;\">' + item.qty + '</span>';\n            html += '<button onclick=\"spChangeQty(\\'' + item.product.id + '\\', 1)\" style=\"width:22px; height:22px; border-radius:6px; border:1px solid #cbd5e1; background:#ffffff; font-weight:bold; cursor:pointer;\">+</button>';\n            html += '</div>';\n            html += '</div>';\n          });\n          cartContainer.innerHTML = html;\n        }\n\n        // Calculations\n        var subtotal = cart.reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);\n        var discAmount = (subtotal * discountPercent) / 100;\n        var netTotal = Math.max(0, subtotal - discAmount);\n\n        var tva10Items = cart.filter(function(i) { return i.product.tva === 10; }).reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);\n        var tva20Items = cart.filter(function(i) { return i.product.tva === 20; }).reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);\n\n        var tva10 = (tva10Items * (1 - discountPercent / 100) * 10) / 110;\n        var tva20 = (tva20Items * (1 - discountPercent / 100) * 20) / 120;\n        var baseHt = netTotal - tva10 - tva20;\n\n        document.getElementById('sp-subtotal-val').innerText = subtotal.toFixed(2) + ' €';\n        document.getElementById('sp-total-val').innerText = netTotal.toFixed(2) + ' €';\n        document.getElementById('sp-ht-val').innerText = 'Base HT: ' + baseHt.toFixed(2) + ' €';\n        document.getElementById('sp-tva-val').innerText = 'TVA: ' + (tva10 + tva20).toFixed(2) + ' €';\n\n        var discRow = document.getElementById('sp-discount-row');\n        if (discountPercent > 0) {\n          discRow.style.display = 'flex';\n          document.getElementById('sp-discount-val').innerText = '-' + discAmount.toFixed(2) + ' €';\n        } else {\n          discRow.style.display = 'none';\n        }\n      };\n\n      window.spOpenPayment = function(method) {\n        if (cart.length === 0) {\n          alert('Votre ticket est vide. Ajoutez des articles pour encaisser.');\n          return;\n        }\n        lastPaymentMethod = method;\n        var modal = document.getElementById('sp-receipt-modal');\n        var listContainer = document.getElementById('sp-modal-items-list');\n        var totalEl = document.getElementById('sp-modal-total');\n        var methodEl = document.getElementById('sp-modal-method');\n\n        var itemsHtml = '';\n        cart.forEach(function(i) {\n          itemsHtml += '<div style=\"display:flex; justify-content:space-between; margin-bottom:2px;\">';\n          itemsHtml += '<span>' + i.qty + 'x ' + i.product.name.substring(0, 18) + '</span>';\n          itemsHtml += '<span>' + (i.product.price * i.qty).toFixed(2) + ' €</span>';\n          itemsHtml += '</div>';\n        });\n\n        var subtotal = cart.reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);\n        var discAmount = (subtotal * discountPercent) / 100;\n        var netTotal = Math.max(0, subtotal - discAmount);\n\n        listContainer.innerHTML = itemsHtml;\n        totalEl.innerText = netTotal.toFixed(2) + ' €';\n        methodEl.innerText = 'RÈGLEMENT : ' + method.toUpperCase();\n\n        modal.style.display = 'flex';\n      };\n\n      window.spCloseModal = function() {\n        document.getElementById('sp-receipt-modal').style.display = 'none';\n      };\n\n      window.spNewSale = function() {\n        window.spClearCart();\n        window.spCloseModal();\n      };\n\n      // Initial execution\n      window.spFilterProducts();\n      window.spRenderCart();\n    })();\n  </script>\n</div>"}}]}]}]]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_page_settings]]></wp:meta_key>
			<wp:meta_value><![CDATA[a:0:{}]]></wp:meta_value>
		</wp:postmeta>
	</item>

	<!-- ELEMENTOR TEMPLATE LIBRARY ITEM: Modèle réutilisable Elementor -->
	<item>
		<title><![CDATA[Modèle Elementor - SmartPOS AI Accueil Complet]]></title>
		<link>https://www.smartpos-ai.fr/?elementor_library=smartpos-accueil-modele</link>
		<pubDate>Sun, 20 Sep 2026 17:31:59 GMT</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
		<guid isPermaLink="false">https://www.smartpos-ai.fr/?elementor_library=smartpos-accueil-modele</guid>
		<description></description>
		<content:encoded><![CDATA[
<!-- SmartPOS AI Pro - Reproduction Complète du Site -->
<div id="smartpos-full-site" style="font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: #020617; color: #f8fafc; min-height: 100vh; line-height: 1.6; margin: 0; padding: 0;">

  <!-- NAVIGATION HEADER -->
  <header style="position: sticky; top: 0; z-index: 50; background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid #1e293b; padding: 14px 24px;">
    <div style="max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;">
      <div style="display: flex; align-items: center; gap: 12px;">
        <div style="background: linear-gradient(135deg, #10b981, #059669); color: #020617; font-weight: 900; font-size: 18px; padding: 6px 14px; border-radius: 10px; display: flex; align-items: center; gap: 6px;">
          <span>⚡</span> SmartPOS AI
        </div>
        <span style="font-size: 11px; background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); padding: 3px 8px; border-radius: 9999px; font-weight: 700;">v3.4 NF525</span>
      </div>
      <nav style="display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600;">
        <a href="#fonctionnalites" style="color: #94a3b8; text-decoration: none;">Fonctionnalités</a>
        <a href="#terminal-pos" style="color: #94a3b8; text-decoration: none;">Terminal POS</a>
        <a href="#woocommerce" style="color: #94a3b8; text-decoration: none;">WooCommerce</a>
        <a href="#certifications" style="color: #94a3b8; text-decoration: none;">NF525</a>
        <a href="#tarifs" style="color: #94a3b8; text-decoration: none;">Tarifs</a>
        <a href="#terminal-pos" style="background: #10b981; color: #020617; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;">Tester la Démo</a>
      </nav>
    </div>
  </header>

  <!-- HERO SECTION -->
  <section style="padding: 80px 24px 60px; max-width: 1280px; margin: 0 auto; text-align: center; position: relative;">
    <div style="display: inline-flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; padding: 6px 16px; border-radius: 9999px; font-size: 12px; font-weight: 700; margin-bottom: 24px;">
      <span>✨</span> NOUVELLE VERSION 3.4 — ENCAISSEMENT TACTILE ULTRA-RAPIDE WOOCOMMERCE
    </div>
    <h1 style="font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.15; margin: 0 0 20px; color: #ffffff; letter-spacing: -0.02em;">
      Le Système de Caisse Tactile &amp; IA <br/><span style="color: #10b981;">Directement Connecté à WooCommerce</span>
    </h1>
    <p style="font-size: 18px; color: #94a3b8; max-width: 780px; margin: 0 auto 36px; line-height: 1.6;">
      Synchronisation temps réel des stocks, gestion multi-boutiques, impression thermique ESC/POS 80mm et conformité fiscale NF525 (Article 88 de la Loi Anti-Fraude TVA).
    </p>
    <div style="display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 50px;">
      <a href="#terminal-pos" style="background: #10b981; color: #020617; font-weight: 800; font-size: 15px; padding: 14px 28px; border-radius: 12px; text-decoration: none; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);">
        ⚡ Lancer le Terminal de Caisse
      </a>
      <a href="#tarifs" style="background: #0f172a; color: #f8fafc; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 12px; text-decoration: none; border: 1px solid #334155;">
        Voir les Tarifs &amp; Licences
      </a>
    </div>

    <!-- STATS / METRICS -->
    <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; text-align: left;">
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
        <div style="font-size: 28px; font-weight: 900; color: #10b981;">0.05s</div>
        <div style="font-size: 13px; color: #94a3b8; margin-top: 4px;">Temps de synchronisation REST API</div>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
        <div style="font-size: 28px; font-weight: 900; color: #38bdf8;">100%</div>
        <div style="font-size: 13px; color: #94a3b8; margin-top: 4px;">Conforme NF525 &amp; Loi Anti-Fraude</div>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
        <div style="font-size: 28px; font-weight: 900; color: #a855f7;">Offline</div>
        <div style="font-size: 13px; color: #94a3b8; margin-top: 4px;">Mode PWA sans connexion internet</div>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
        <div style="font-size: 28px; font-weight: 900; color: #f59e0b;">15 000+</div>
        <div style="font-size: 13px; color: #94a3b8; margin-top: 4px;">Tickets émis quotidiennement</div>
      </div>
    </div>
  </section>

  <!-- LIVE INTERACTIVE POS TERMINAL -->
  <section id="terminal-pos" style="padding: 40px 24px 80px; max-width: 1280px; margin: 0 auto;">
    <div style="text-align: center; margin-bottom: 32px;">
      <span style="font-size: 12px; font-weight: 700; color: #10b981; letter-spacing: 0.1em; text-transform: uppercase;">INTERFACE TACTILE DIRECTE</span>
      <h2 style="font-size: 32px; font-weight: 900; margin: 8px 0; color: #fff;">Terminal de Caisse Interactif</h2>
      <p style="color: #94a3b8; font-size: 15px;">Testez l'encaissement, les remises, le calcul de TVA et l'impression de ticket ci-dessous.</p>
    </div>

    <!-- EMBEDDED POS APP -->
    <div style="border: 1px solid #334155; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);">
      
<div id="smartpos-standalone-app" style="font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #f8fafc; background: #020617; border-radius: 16px; border: 1px solid #1e293b; padding: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); width: 100%; box-sizing: border-box;">
  <style>
    #smartpos-standalone-app p:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
    #smartpos-standalone-app > p { display: none !important; margin: 0 !important; padding: 0 !important; }
    #smartpos-standalone-app br { display: none !important; }
    #smartpos-standalone-app * { box-sizing: border-box; }
    .sp-pos-layout {
      display: flex !important;
      flex-direction: row !important;
      gap: 24px !important;
      width: 100% !important;
      align-items: flex-start !important;
    }
    @media (max-width: 991px) {
      .sp-pos-layout { flex-direction: column !important; }
      .sp-pos-cart-col { width: 100% !important; min-width: 100% !important; }
    }
    .sp-pos-catalog {
      flex: 1 1 0% !important;
      min-width: 0 !important;
      width: 100% !important;
    }
    .sp-pos-cart-col {
      width: 380px !important;
      min-width: 320px !important;
      flex-shrink: 0 !important;
    }
    .sp-products-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
      gap: 14px !important;
      width: 100% !important;
    }
  </style>

  <!-- Header Bar -->
  <div style="display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 18px; margin-bottom: 24px; flex-wrap: wrap; gap: 14px;">
    <div style="display: flex; align-items: center; gap: 14px;">
      <div style="background: linear-gradient(135deg, #10b981, #059669); color: white; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; box-shadow: 0 4px 12px rgba(16,185,129,0.3);">⚡</div>
      <div>
        <h2 style="margin: 0; font-size: 20px; font-weight: 700; color: #f8fafc; letter-spacing: -0.02em;">SmartPOS AI Pro</h2>
        <div style="margin: 2px 0 0 0; font-size: 12px; color: #94a3b8;">Caisse Enregistreuse Tactile &bull; WooCommerce Sync &bull; NF525</div>
      </div>
    </div>
    <div style="display: flex; align-items: center; gap: 12px; flex-wrap: wrap;">
      <span style="display: inline-flex; align-items: center; gap: 6px; background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); padding: 6px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600;">
        <span style="width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block;"></span> Connecté WooCommerce
      </span>
      <span style="background: #0f172a; color: #cbd5e1; border: 1px solid #334155; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500;">Caisse #01 &bull; Vendeur Principal</span>
    </div>
  </div>

  <!-- Main POS Split: Products Grid (Left) + Live Cart / Ticket (Right) -->
  <div class="sp-pos-layout">
    <!-- Products Column -->
    <div class="sp-pos-catalog">
      <!-- Categories Bar -->
      <div style="display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 6px;">
        <button onclick="smartposFilter('all')" class="sp-cat-btn active" style="background: #10b981; color: #020617; font-weight: 700; border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Tous les articles</button>
        <button onclick="smartposFilter('boissons')" class="sp-cat-btn" style="background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Boissons</button>
        <button onclick="smartposFilter('boulangerie')" class="sp-cat-btn" style="background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Boulangerie</button>
        <button onclick="smartposFilter('plats')" class="sp-cat-btn" style="background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Plats cuisinés</button>
        <button onclick="smartposFilter('desserts')" class="sp-cat-btn" style="background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;">Desserts</button>
      </div>

      <!-- Products Grid -->
      <div id="smartpos-items-grid" class="sp-products-grid">
        <!-- Item 1 -->
        <div onclick="smartposAddToCart('Expresso Grand Cru', 2.20, '5.5%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">☕</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Expresso Grand Cru</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 5.5% &bull; Réf #101</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">2,20 €</div>
        </div>

        <!-- Item 2 -->
        <div onclick="smartposAddToCart('Croissant au Beurre', 1.60, '5.5%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🥐</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Croissant au Beurre</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 5.5% &bull; Réf #102</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">1,60 €</div>
        </div>

        <!-- Item 3 -->
        <div onclick="smartposAddToCart('Sandwich Club Poulet', 6.50, '10%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🥪</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Club Poulet Avocat</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 10% &bull; Réf #103</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">6,50 €</div>
        </div>

        <!-- Item 4 -->
        <div onclick="smartposAddToCart('Tartelette Framboise', 4.50, '5.5%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🥧</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Tartelette Framboise</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 5.5% &bull; Réf #104</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">4,50 €</div>
        </div>

        <!-- Item 5 -->
        <div onclick="smartposAddToCart('Jus d\'Orange Pressé', 3.80, '10%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🍊</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Jus d'Orange Frais</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 10% &bull; Réf #105</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">3,80 €</div>
        </div>

        <!-- Item 6 -->
        <div onclick="smartposAddToCart('Salade César Gourmande', 8.90, '10%')" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;" onmouseover="this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';" onmouseout="this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';">
          <div style="font-size: 28px; margin-bottom: 8px;">🥗</div>
          <div style="font-size: 14px; font-weight: 600; color: #f8fafc;">Salade César Bio</div>
          <div style="font-size: 11px; color: #64748b; margin-bottom: 8px;">TVA 10% &bull; Réf #106</div>
          <div style="font-size: 16px; font-weight: 700; color: #10b981;">8,90 €</div>
        </div>
      </div>
    </div>

    <!-- Live Ticket & Payment Column -->
    <div class="sp-pos-cart-col" style="background: #0f172a; border: 1px solid #1e293b; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;">
      <div>
        <div style="display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 12px; margin-bottom: 12px;">
          <span style="font-size: 14px; font-weight: 700; color: #f8fafc; text-transform: uppercase; letter-spacing: 0.05em;">Ticket En Cours</span>
          <button onclick="smartposClearCart()" style="background: transparent; color: #ef4444; border: none; font-size: 11px; cursor: pointer; text-decoration: underline;">Vider</button>
        </div>

        <div id="smartpos-cart-items" style="min-height: 180px; max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px;">
          <div id="smartpos-empty-msg" style="color: #64748b; font-size: 13px; text-align: center; margin-top: 60px;">
            Le panier est vide.<br>Touchez un article pour l'ajouter.
          </div>
        </div>
      </div>

      <div>
        <!-- Totals breakdown -->
        <div style="border-top: 1px dashed #334155; padding-top: 12px; margin-bottom: 14px;">
          <div style="display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 4px;">
            <span>Total Hors Taxe (HT)</span>
            <span id="sp-total-ht">0,00 €</span>
          </div>
          <div style="display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 8px;">
            <span>TVA Collectée (5.5% / 10%)</span>
            <span id="sp-total-tva">0,00 €</span>
          </div>
          <div style="display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; color: #10b981; border-top: 1px solid #1e293b; padding-top: 8px;">
            <span>TOTAL TTC</span>
            <span id="sp-total-ttc">0,00 €</span>
          </div>
        </div>

        <!-- Payment buttons -->
        <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px;">
          <button onclick="smartposPay('Carte Bancaire')" style="background: #1e293b; color: #f8fafc; border: 1px solid #334155; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer;">💳 CB / TPE</button>
          <button onclick="smartposPay('Espèces')" style="background: #1e293b; color: #f8fafc; border: 1px solid #334155; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer;">💵 Espèces</button>
        </div>
        <button onclick="smartposPay('Ticket Restaurant')" style="width: 100%; background: #10b981; color: #020617; border: none; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; margin-bottom: 8px;">⚡ Encaisser la commande</button>
        
        <div style="text-align: center; font-size: 10px; color: #64748b;">
          Conformité Loi Anti-Fraude TVA NF525 &bull; Signature Numérique
        </div>
      </div>
    </div>
  </div>
</div>

<script>
window.smartposCart = [];

function smartposAddToCart(title, price, tva) {
  var item = window.smartposCart.find(function(i) { return i.title === title; });
  if (item) {
    item.qty++;
  } else {
    window.smartposCart.push({ title: title, price: price, tva: tva, qty: 1 });
  }
  smartposRenderCart();
}

function smartposRemoveOne(title) {
  var item = window.smartposCart.find(function(i) { return i.title === title; });
  if (item) {
    item.qty--;
    if (item.qty <= 0) {
      window.smartposCart = window.smartposCart.filter(function(i) { return i.title !== title; });
    }
  }
  smartposRenderCart();
}

function smartposClearCart() {
  window.smartposCart = [];
  smartposRenderCart();
}

function smartposRenderCart() {
  var container = document.getElementById('smartpos-cart-items');
  if (!container) return;
  if (window.smartposCart.length === 0) {
    container.innerHTML = '<div id="smartpos-empty-msg" style="color: #64748b; font-size: 13px; text-align: center; margin-top: 60px;">Le panier est vide.<br>Touchez un article pour l\'ajouter.</div>';
    document.getElementById('sp-total-ht').innerText = '0,00 €';
    document.getElementById('sp-total-tva').innerText = '0,00 €';
    document.getElementById('sp-total-ttc').innerText = '0,00 €';
    return;
  }

  var html = '';
  var totalTTC = 0;
  var totalHT = 0;

  window.smartposCart.forEach(function(item) {
    var lineTotal = item.price * item.qty;
    totalTTC += lineTotal;
    var tvaRate = parseFloat(item.tva) / 100;
    var lineHT = lineTotal / (1 + tvaRate);
    totalHT += lineHT;

    html += '<div style="display: flex; justify-content: space-between; align-items: center; background: #020617; padding: 8px 12px; border-radius: 8px; border: 1px solid #1e293b;">';
    html += '<div><div style="font-size: 13px; font-weight: 600; color: #f8fafc;">' + item.title + '</div><div style="font-size: 11px; color: #64748b;">' + item.qty + ' × ' + item.price.toFixed(2) + ' €</div></div>';
    html += '<div style="display: flex; align-items: center; gap: 8px;">';
    html += '<span style="font-weight: 700; color: #10b981; font-size: 13px;">' + lineTotal.toFixed(2) + ' €</span>';
    html += '<button onclick="smartposRemoveOne(\'' + item.title.replace(/'/g, "\'") + '\')" style="background: #1e293b; color: #94a3b8; border: none; width: 22px; height: 22px; border-radius: 4px; cursor: pointer;">-</button>';
    html += '</div></div>';
  });

  container.innerHTML = html;
  var totalTVA = totalTTC - totalHT;
  document.getElementById('sp-total-ht').innerText = totalHT.toFixed(2).replace('.', ',') + ' €';
  document.getElementById('sp-total-tva').innerText = totalTVA.toFixed(2).replace('.', ',') + ' €';
  document.getElementById('sp-total-ttc').innerText = totalTTC.toFixed(2).replace('.', ',') + ' €';
}

function smartposPay(method) {
  if (window.smartposCart.length === 0) {
    alert('Veuillez ajouter des articles au panier avant d\'encaisser.');
    return;
  }
  var total = document.getElementById('sp-total-ttc').innerText;
  alert('✅ Paiement validé par ' + method + ' pour un montant de ' + total + ' !\nTicket conforme NF525 généré avec succès.');
  smartposClearCart();
}

function smartposFilter(cat) {
  var buttons = document.querySelectorAll('.sp-cat-btn');
  buttons.forEach(function(b) {
    b.style.background = '#0f172a';
    b.style.color = '#cbd5e1';
  });
  if (window.event && window.event.target) {
    window.event.target.style.background = '#10b981';
    window.event.target.style.color = '#020617';
  }
}
</script>

    </div>
  </section>

  <!-- FEATURES GRID -->
  <section id="fonctionnalites" style="padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;">
    <div style="text-align: center; margin-bottom: 60px;">
      <span style="font-size: 12px; font-weight: 700; color: #38bdf8; letter-spacing: 0.1em; text-transform: uppercase;">ARCHITECTURE ROBUSTE</span>
      <h2 style="font-size: 36px; font-weight: 900; margin: 8px 0; color: #fff;">Conçu pour les Boutiques &amp; la Vente au Comptoir</h2>
      <p style="color: #94a3b8; font-size: 16px; max-width: 600px; margin: 0 auto;">Tout ce dont un commerçant a besoin pour gérer la caisse, les stocks et la comptabilité sans friction.</p>
    </div>

    <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;">
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(16,185,129,0.15); color: #10b981; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">⚡</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Synchronisation REST API v3</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Chaque vente physique décrémente instantanément le stock WooCommerce en ligne. Fini les ventes de produits en rupture de stock.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(56,189,248,0.15); color: #38bdf8; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">🛡️</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Certifié NF525 &amp; Loi Anti-Fraude</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Signature cryptographique SHA-256 de chaque encaissement, journal inaltérable des événements et grand livre de caisse prêt pour le contrôle fiscal.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(168,85,247,0.15); color: #a855f7; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">🖨️</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Impression Thermique ESC/POS</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Compatible avec toutes les imprimantes de tickets 80mm et 58mm (Epson, Star Micronics, Munbyn) en USB, Bluetooth et réseau Ethernet.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(245,158,11,0.15); color: #f59e0b; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">📶</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Mode Hors-Ligne Résilient</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Votre connexion internet saute en plein coup de feu ? Le terminal continue d'encaisser et synchronise automatiquement dès le retour du réseau.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(236,72,153,0.15); color: #ec4899; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">🤖</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">IA &amp; Prédiction des Ventes</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Algorithmes intégrés prédisant vos besoins de réassort, les heures de pointe et recommandant des ventes complémentaires au caissier.</p>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;">
        <div style="width: 48px; height: 48px; border-radius: 12px; background: rgba(34,197,94,0.15); color: #22c55e; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;">👥</div>
        <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;">Multi-Caissiers &amp; Clôture Z</h3>
        <p style="color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;">Connexion rapide par code PIN caissier, gestion du fond de caisse, écarts de caisse et génération automatique du rapport journalier Z.</p>
      </div>
    </div>
  </section>

  <!-- WOOCOMMERCE SYNC SECTION -->
  <section id="woocommerce" style="padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;">
    <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 48px; align-items: center;">
      <div>
        <span style="font-size: 12px; font-weight: 700; color: #a855f7; letter-spacing: 0.1em; text-transform: uppercase;">CONNEXION DIRECTE</span>
        <h2 style="font-size: 36px; font-weight: 900; margin: 8px 0 20px; color: #fff;">Vos Produits WooCommerce Disponibles Instantanément</h2>
        <p style="color: #94a3b8; font-size: 15px; margin-bottom: 24px; line-height: 1.7;">
          Pas besoin de réimporter ou ressaisir vos articles : le terminal SmartPOS lit directement votre base de données WooCommerce, gère les variations de produits (tailles, couleurs), les codes-barres SKU et les fiches clients.
        </p>
        <ul style="list-style: none; padding: 0; margin: 0 0 32px; space-y: 12px;">
          <li style="display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;"><span style="color:#10b981;">✓</span> Gestion des déclinaisons &amp; attributs variables</li>
          <li style="display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;"><span style="color:#10b981;">✓</span> Synchronisation des clients &amp; points de fidélité</li>
          <li style="display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;"><span style="color:#10b981;">✓</span> Prise en charge des codes promos &amp; remises manuelles</li>
        </ul>
      </div>
      <div style="background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 28px;">
        <div style="display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;">
          <span style="font-weight: 800; font-size: 15px;">Flux WooCommerce REST API v3</span>
          <span style="font-size: 11px; background: rgba(16,185,129,0.15); color: #10b981; padding: 4px 10px; border-radius: 9999px; font-weight: 700;">Connecté</span>
        </div>
        <div style="font-family: monospace; font-size: 12px; background: #020617; border: 1px solid #1e293b; padding: 16px; border-radius: 12px; color: #38bdf8; line-height: 1.8;">
          <div>&gt; GET /wp-json/wc/v3/products?per_page=100</div>
          <div style="color: #10b981;">&lt; 200 OK (24 ms) - 148 articles synchronisés</div>
          <div>&gt; POST /wp-json/wc/v3/orders [Ticket #1042]</div>
          <div style="color: #10b981;">&lt; 201 Created (18 ms) - Stock décrémenté</div>
          <div style="color: #94a3b8;">&gt; Signature NF525: 7a9e8...c3b2 (Scellée)</div>
        </div>
      </div>
    </div>
  </section>

  <!-- CERTIFICATION NF525 -->
  <section id="certifications" style="padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;">
    <div style="background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95)); border: 2px solid rgba(16, 185, 129, 0.3); border-radius: 24px; padding: 48px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; align-items: center;">
      <div>
        <div style="display: inline-flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, 0.15); color: #10b981; padding: 6px 14px; border-radius: 9999px; font-size: 12px; font-weight: 800; margin-bottom: 16px;">
          LEGAL &amp; FISCAL
        </div>
        <h2 style="font-size: 32px; font-weight: 900; color: #fff; margin: 0 0 16px;">Conforme à la Loi Anti-Fraude TVA 2018</h2>
        <p style="color: #94a3b8; font-size: 15px; line-height: 1.7; margin: 0 0 20px;">
          En France, l'article 88 de la Loi de Finances n° 2015-1785 impose aux commerçants assujettis à la TVA d'utiliser un système de caisse satisfaisant à des conditions d'inaltérabilité, de sécurisation, de conservation et d'archivage.
        </p>
        <p style="color: #cbd5e1; font-size: 14px; font-weight: 600;">
          Une attestation individuelle de conformité de l'éditeur est fournie avec chaque licence.
        </p>
      </div>
      <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 16px;">
        <div style="background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
          <div style="font-size: 20px; margin-bottom: 8px;">🔒</div>
          <div style="font-weight: 700; color: #fff; font-size: 14px;">Inaltérabilité</div>
          <div style="font-size: 12px; color: #94a3b8; margin-top: 4px;">Chaînage cryptographique SHA-256 sans modification possible.</div>
        </div>
        <div style="background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
          <div style="font-size: 20px; margin-bottom: 8px;">📜</div>
          <div style="font-weight: 700; color: #fff; font-size: 14px;">Archivage 6 ans</div>
          <div style="font-size: 12px; color: #94a3b8; margin-top: 4px;">Grand livre exportable en XML scellé pour l'administration.</div>
        </div>
        <div style="background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
          <div style="font-size: 20px; margin-bottom: 8px;">🛡️</div>
          <div style="font-weight: 700; color: #fff; font-size: 14px;">Sécurisation</div>
          <div style="font-size: 12px; color: #94a3b8; margin-top: 4px;">Chaque ligne de vente porte une signature unique horodatée.</div>
        </div>
        <div style="background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;">
          <div style="font-size: 20px; margin-bottom: 8px;">📋</div>
          <div style="font-weight: 700; color: #fff; font-size: 14px;">Ticket Z &amp; X</div>
          <div style="font-size: 12px; color: #94a3b8; margin-top: 4px;">Clôtures journalières, mensuelles et annuelles automatiques.</div>
        </div>
      </div>
    </div>
  </section>

  <!-- PRICING SECTION -->
  <section id="tarifs" style="padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;">
    <div style="text-align: center; margin-bottom: 60px;">
      <span style="font-size: 12px; font-weight: 700; color: #10b981; letter-spacing: 0.1em; text-transform: uppercase;">OFFRES &amp; LICENCES</span>
      <h2 style="font-size: 36px; font-weight: 900; margin: 8px 0; color: #fff;">Des Tarifs Simples et Transparents</h2>
      <p style="color: #94a3b8; font-size: 16px; max-width: 600px; margin: 0 auto;">Choisissez la licence adaptée à la taille de votre point de vente.</p>
    </div>

    <div style="display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;">
      <!-- Starter -->
      <div style="background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between;">
        <div>
          <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;">Licence Starter</h3>
          <p style="color: #94a3b8; font-size: 13px; margin: 0 0 24px;">Pour 1 boutique ou food-truck indépendant.</p>
          <div style="margin-bottom: 24px;">
            <span style="font-size: 40px; font-weight: 900; color: #fff;">19€</span>
            <span style="color: #94a3b8; font-size: 14px;"> / mois</span>
          </div>
          <ul style="list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;">
            <li style="margin-bottom: 10px;">✓ 1 Caisse enregistreuse active</li>
            <li style="margin-bottom: 10px;">✓ Synchronisation WooCommerce illimitée</li>
            <li style="margin-bottom: 10px;">✓ Conformité NF525 &amp; Attestation</li>
            <li style="margin-bottom: 10px;">✓ Support par e-mail standard</li>
          </ul>
        </div>
        <a href="#" style="margin-top: 32px; display: block; text-align: center; background: #1e293b; color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none;">Choisir Starter</a>
      </div>

      <!-- Pro (Highlighted) -->
      <div style="background: linear-gradient(180deg, #0f172a, #020617); border: 2px solid #10b981; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; position: relative;">
        <div style="position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #10b981; color: #020617; font-weight: 800; font-size: 11px; padding: 4px 12px; border-radius: 9999px; text-transform: uppercase;">
          LE PLUS POPULAIRE
        </div>
        <div>
          <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;">Licence Pro</h3>
          <p style="color: #94a3b8; font-size: 13px; margin: 0 0 24px;">Pour magasins de détail, restaurants et boutiques.</p>
          <div style="margin-bottom: 24px;">
            <span style="font-size: 40px; font-weight: 900; color: #10b981;">39€</span>
            <span style="color: #94a3b8; font-size: 14px;"> / mois</span>
          </div>
          <ul style="list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;">
            <li style="margin-bottom: 10px;">✓ Jusqu'à 3 Caisses en simultané</li>
            <li style="margin-bottom: 10px;">✓ Mode multi-vendeurs &amp; codes PIN</li>
            <li style="margin-bottom: 10px;">✓ Prédiction IA des stocks &amp; ventes</li>
            <li style="margin-bottom: 10px;">✓ Support prioritaire 7j/7</li>
          </ul>
        </div>
        <a href="#" style="margin-top: 32px; display: block; text-align: center; background: #10b981; color: #020617; padding: 12px; border-radius: 10px; font-weight: 800; text-decoration: none;">Activer la Licence Pro</a>
      </div>

      <!-- Entreprise -->
      <div style="background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between;">
        <div>
          <h3 style="font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;">Réseau &amp; Franchises</h3>
          <p style="color: #94a3b8; font-size: 13px; margin: 0 0 24px;">Pour chaînes de magasins et multi-sites.</p>
          <div style="margin-bottom: 24px;">
            <span style="font-size: 40px; font-weight: 900; color: #fff;">89€</span>
            <span style="color: #94a3b8; font-size: 14px;"> / mois</span>
          </div>
          <ul style="list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;">
            <li style="margin-bottom: 10px;">✓ Caisses illimitées</li>
            <li style="margin-bottom: 10px;">✓ Gestion centralisée multi-entrepôts</li>
            <li style="margin-bottom: 10px;">✓ API personnalisée &amp; intégration ERP</li>
            <li style="margin-bottom: 10px;">✓ Gestionnaire de compte dédié</li>
          </ul>
        </div>
        <a href="#" style="margin-top: 32px; display: block; text-align: center; background: #1e293b; color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none;">Contacter l'Équipe</a>
      </div>
    </div>
  </section>

  <!-- FOOTER -->
  <footer style="background: #010409; border-top: 1px solid #1e293b; padding: 48px 24px; color: #94a3b8; font-size: 13px;">
    <div style="max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center;">
      <div>
        <div style="color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 6px;">SmartPOS AI Pro</div>
        <p style="margin: 0;">La solution de caisse enregistreuse tactile intelligente certifiée NF525 pour WooCommerce.</p>
      </div>
      <div style="display: flex; gap: 20px; font-weight: 600;">
        <a href="#" style="color: #94a3b8; text-decoration: none;">Mentions Légales</a>
        <a href="#" style="color: #94a3b8; text-decoration: none;">Conformité NF525</a>
        <a href="#" style="color: #94a3b8; text-decoration: none;">Conditions Générales</a>
        <a href="#" style="color: #94a3b8; text-decoration: none;">Support</a>
      </div>
    </div>
    <div style="max-width: 1280px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid #0f172a; text-align: center; font-size: 12px; color: #64748b;">
      &copy; 2026 SmartPOS AI. Tous droits réservés. Conforme à l'article 88 de la Loi Anti-Fraude TVA 2018 (NF525 / LNE).
    </div>
  </footer>

</div>
]]></content:encoded>
		<excerpt:encoded><![CDATA[]]></excerpt:encoded>
		<wp:post_id>2003</wp:post_id>
		<wp:post_date><![CDATA[2026-09-20 17:31:59]]></wp:post_date>
		<wp:post_date_gmt><![CDATA[2026-09-20 17:31:59]]></wp:post_date_gmt>
		<wp:post_modified><![CDATA[2026-09-20 17:31:59]]></wp:post_modified>
		<wp:post_modified_gmt><![CDATA[2026-09-20 17:31:59]]></wp:post_modified_gmt>
		<wp:comment_status><![CDATA[closed]]></wp:comment_status>
		<wp:ping_status><![CDATA[closed]]></wp:ping_status>
		<wp:post_name><![CDATA[smartpos-accueil-modele]]></wp:post_name>
		<wp:status><![CDATA[publish]]></wp:status>
		<wp:post_parent>0</wp:post_parent>
		<wp:menu_order>0</wp:menu_order>
		<wp:post_type><![CDATA[elementor_library]]></wp:post_type>
		<wp:post_password><![CDATA[]]></wp:post_password>
		<wp:is_sticky>0</wp:is_sticky>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_edit_mode]]></wp:meta_key>
			<wp:meta_value><![CDATA[builder]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_template_type]]></wp:meta_key>
			<wp:meta_value><![CDATA[page]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_version]]></wp:meta_key>
			<wp:meta_value><![CDATA[3.25.0]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_data]]></wp:meta_key>
			<wp:meta_value><![CDATA[[{"id":"sec_3gr9nwd","elType":"section","isInner":false,"settings":{"layout":"full_width","stretch_section":"section-stretched","background_background":"classic","background_color":"#020617","padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":true}},"elements":[{"id":"col_yigx0tf","elType":"column","isInner":false,"settings":{"_column_size":100,"_inline_size":null,"padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":true}},"elements":[{"id":"wid_ix60kcd","elType":"widget","isInner":false,"widgetType":"html","settings":{"html":"\n<!-- SmartPOS AI Pro - Reproduction Complète du Site -->\n<div id=\"smartpos-full-site\" style=\"font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background-color: #020617; color: #f8fafc; min-height: 100vh; line-height: 1.6; margin: 0; padding: 0;\">\n\n  <!-- NAVIGATION HEADER -->\n  <header style=\"position: sticky; top: 0; z-index: 50; background: rgba(2, 6, 23, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid #1e293b; padding: 14px 24px;\">\n    <div style=\"max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px;\">\n      <div style=\"display: flex; align-items: center; gap: 12px;\">\n        <div style=\"background: linear-gradient(135deg, #10b981, #059669); color: #020617; font-weight: 900; font-size: 18px; padding: 6px 14px; border-radius: 10px; display: flex; align-items: center; gap: 6px;\">\n          <span>⚡</span> SmartPOS AI\n        </div>\n        <span style=\"font-size: 11px; background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); padding: 3px 8px; border-radius: 9999px; font-weight: 700;\">v3.4 NF525</span>\n      </div>\n      <nav style=\"display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 600;\">\n        <a href=\"#fonctionnalites\" style=\"color: #94a3b8; text-decoration: none;\">Fonctionnalités</a>\n        <a href=\"#terminal-pos\" style=\"color: #94a3b8; text-decoration: none;\">Terminal POS</a>\n        <a href=\"#woocommerce\" style=\"color: #94a3b8; text-decoration: none;\">WooCommerce</a>\n        <a href=\"#certifications\" style=\"color: #94a3b8; text-decoration: none;\">NF525</a>\n        <a href=\"#tarifs\" style=\"color: #94a3b8; text-decoration: none;\">Tarifs</a>\n        <a href=\"#terminal-pos\" style=\"background: #10b981; color: #020617; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-weight: 700;\">Tester la Démo</a>\n      </nav>\n    </div>\n  </header>\n\n  <!-- HERO SECTION -->\n  <section style=\"padding: 80px 24px 60px; max-width: 1280px; margin: 0 auto; text-align: center; position: relative;\">\n    <div style=\"display: inline-flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.3); color: #10b981; padding: 6px 16px; border-radius: 9999px; font-size: 12px; font-weight: 700; margin-bottom: 24px;\">\n      <span>✨</span> NOUVELLE VERSION 3.4 — ENCAISSEMENT TACTILE ULTRA-RAPIDE WOOCOMMERCE\n    </div>\n    <h1 style=\"font-size: clamp(32px, 5vw, 56px); font-weight: 900; line-height: 1.15; margin: 0 0 20px; color: #ffffff; letter-spacing: -0.02em;\">\n      Le Système de Caisse Tactile &amp; IA <br/><span style=\"color: #10b981;\">Directement Connecté à WooCommerce</span>\n    </h1>\n    <p style=\"font-size: 18px; color: #94a3b8; max-width: 780px; margin: 0 auto 36px; line-height: 1.6;\">\n      Synchronisation temps réel des stocks, gestion multi-boutiques, impression thermique ESC/POS 80mm et conformité fiscale NF525 (Article 88 de la Loi Anti-Fraude TVA).\n    </p>\n    <div style=\"display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 50px;\">\n      <a href=\"#terminal-pos\" style=\"background: #10b981; color: #020617; font-weight: 800; font-size: 15px; padding: 14px 28px; border-radius: 12px; text-decoration: none; box-shadow: 0 10px 25px rgba(16, 185, 129, 0.25);\">\n        ⚡ Lancer le Terminal de Caisse\n      </a>\n      <a href=\"#tarifs\" style=\"background: #0f172a; color: #f8fafc; font-weight: 700; font-size: 15px; padding: 14px 28px; border-radius: 12px; text-decoration: none; border: 1px solid #334155;\">\n        Voir les Tarifs &amp; Licences\n      </a>\n    </div>\n\n    <!-- STATS / METRICS -->\n    <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 1000px; margin: 0 auto; text-align: left;\">\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n        <div style=\"font-size: 28px; font-weight: 900; color: #10b981;\">0.05s</div>\n        <div style=\"font-size: 13px; color: #94a3b8; margin-top: 4px;\">Temps de synchronisation REST API</div>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n        <div style=\"font-size: 28px; font-weight: 900; color: #38bdf8;\">100%</div>\n        <div style=\"font-size: 13px; color: #94a3b8; margin-top: 4px;\">Conforme NF525 &amp; Loi Anti-Fraude</div>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n        <div style=\"font-size: 28px; font-weight: 900; color: #a855f7;\">Offline</div>\n        <div style=\"font-size: 13px; color: #94a3b8; margin-top: 4px;\">Mode PWA sans connexion internet</div>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n        <div style=\"font-size: 28px; font-weight: 900; color: #f59e0b;\">15 000+</div>\n        <div style=\"font-size: 13px; color: #94a3b8; margin-top: 4px;\">Tickets émis quotidiennement</div>\n      </div>\n    </div>\n  </section>\n\n  <!-- LIVE INTERACTIVE POS TERMINAL -->\n  <section id=\"terminal-pos\" style=\"padding: 40px 24px 80px; max-width: 1280px; margin: 0 auto;\">\n    <div style=\"text-align: center; margin-bottom: 32px;\">\n      <span style=\"font-size: 12px; font-weight: 700; color: #10b981; letter-spacing: 0.1em; text-transform: uppercase;\">INTERFACE TACTILE DIRECTE</span>\n      <h2 style=\"font-size: 32px; font-weight: 900; margin: 8px 0; color: #fff;\">Terminal de Caisse Interactif</h2>\n      <p style=\"color: #94a3b8; font-size: 15px;\">Testez l'encaissement, les remises, le calcul de TVA et l'impression de ticket ci-dessous.</p>\n    </div>\n\n    <!-- EMBEDDED POS APP -->\n    <div style=\"border: 1px solid #334155; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);\">\n      \n<div id=\"smartpos-standalone-app\" style=\"font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #f8fafc; background: #020617; border-radius: 16px; border: 1px solid #1e293b; padding: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5); width: 100%; box-sizing: border-box;\">\n  <style>\n    #smartpos-standalone-app p:empty { display: none !important; margin: 0 !important; padding: 0 !important; }\n    #smartpos-standalone-app > p { display: none !important; margin: 0 !important; padding: 0 !important; }\n    #smartpos-standalone-app br { display: none !important; }\n    #smartpos-standalone-app * { box-sizing: border-box; }\n    .sp-pos-layout {\n      display: flex !important;\n      flex-direction: row !important;\n      gap: 24px !important;\n      width: 100% !important;\n      align-items: flex-start !important;\n    }\n    @media (max-width: 991px) {\n      .sp-pos-layout { flex-direction: column !important; }\n      .sp-pos-cart-col { width: 100% !important; min-width: 100% !important; }\n    }\n    .sp-pos-catalog {\n      flex: 1 1 0% !important;\n      min-width: 0 !important;\n      width: 100% !important;\n    }\n    .sp-pos-cart-col {\n      width: 380px !important;\n      min-width: 320px !important;\n      flex-shrink: 0 !important;\n    }\n    .sp-products-grid {\n      display: grid !important;\n      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;\n      gap: 14px !important;\n      width: 100% !important;\n    }\n  </style>\n\n  <!-- Header Bar -->\n  <div style=\"display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 18px; margin-bottom: 24px; flex-wrap: wrap; gap: 14px;\">\n    <div style=\"display: flex; align-items: center; gap: 14px;\">\n      <div style=\"background: linear-gradient(135deg, #10b981, #059669); color: white; width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: bold; box-shadow: 0 4px 12px rgba(16,185,129,0.3);\">⚡</div>\n      <div>\n        <h2 style=\"margin: 0; font-size: 20px; font-weight: 700; color: #f8fafc; letter-spacing: -0.02em;\">SmartPOS AI Pro</h2>\n        <div style=\"margin: 2px 0 0 0; font-size: 12px; color: #94a3b8;\">Caisse Enregistreuse Tactile &bull; WooCommerce Sync &bull; NF525</div>\n      </div>\n    </div>\n    <div style=\"display: flex; align-items: center; gap: 12px; flex-wrap: wrap;\">\n      <span style=\"display: inline-flex; align-items: center; gap: 6px; background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); padding: 6px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600;\">\n        <span style=\"width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block;\"></span> Connecté WooCommerce\n      </span>\n      <span style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #334155; padding: 6px 12px; border-radius: 8px; font-size: 12px; font-weight: 500;\">Caisse #01 &bull; Vendeur Principal</span>\n    </div>\n  </div>\n\n  <!-- Main POS Split: Products Grid (Left) + Live Cart / Ticket (Right) -->\n  <div class=\"sp-pos-layout\">\n    <!-- Products Column -->\n    <div class=\"sp-pos-catalog\">\n      <!-- Categories Bar -->\n      <div style=\"display: flex; gap: 8px; margin-bottom: 20px; overflow-x: auto; padding-bottom: 6px;\">\n        <button onclick=\"smartposFilter('all')\" class=\"sp-cat-btn active\" style=\"background: #10b981; color: #020617; font-weight: 700; border: none; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Tous les articles</button>\n        <button onclick=\"smartposFilter('boissons')\" class=\"sp-cat-btn\" style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Boissons</button>\n        <button onclick=\"smartposFilter('boulangerie')\" class=\"sp-cat-btn\" style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Boulangerie</button>\n        <button onclick=\"smartposFilter('plats')\" class=\"sp-cat-btn\" style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Plats cuisinés</button>\n        <button onclick=\"smartposFilter('desserts')\" class=\"sp-cat-btn\" style=\"background: #0f172a; color: #cbd5e1; border: 1px solid #1e293b; padding: 8px 16px; border-radius: 8px; cursor: pointer; font-size: 13px;\">Desserts</button>\n      </div>\n\n      <!-- Products Grid -->\n      <div id=\"smartpos-items-grid\" class=\"sp-products-grid\">\n        <!-- Item 1 -->\n        <div onclick=\"smartposAddToCart('Expresso Grand Cru', 2.20, '5.5%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">☕</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Expresso Grand Cru</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 5.5% &bull; Réf #101</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">2,20 €</div>\n        </div>\n\n        <!-- Item 2 -->\n        <div onclick=\"smartposAddToCart('Croissant au Beurre', 1.60, '5.5%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🥐</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Croissant au Beurre</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 5.5% &bull; Réf #102</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">1,60 €</div>\n        </div>\n\n        <!-- Item 3 -->\n        <div onclick=\"smartposAddToCart('Sandwich Club Poulet', 6.50, '10%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🥪</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Club Poulet Avocat</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 10% &bull; Réf #103</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">6,50 €</div>\n        </div>\n\n        <!-- Item 4 -->\n        <div onclick=\"smartposAddToCart('Tartelette Framboise', 4.50, '5.5%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🥧</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Tartelette Framboise</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 5.5% &bull; Réf #104</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">4,50 €</div>\n        </div>\n\n        <!-- Item 5 -->\n        <div onclick=\"smartposAddToCart('Jus d\\'Orange Pressé', 3.80, '10%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🍊</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Jus d'Orange Frais</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 10% &bull; Réf #105</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">3,80 €</div>\n        </div>\n\n        <!-- Item 6 -->\n        <div onclick=\"smartposAddToCart('Salade César Gourmande', 8.90, '10%')\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 12px; padding: 14px; cursor: pointer; transition: all 0.2s; user-select: none;\" onmouseover=\"this.style.borderColor='#10b981'; this.style.transform='translateY(-2px)';\" onmouseout=\"this.style.borderColor='#1e293b'; this.style.transform='translateY(0)';\">\n          <div style=\"font-size: 28px; margin-bottom: 8px;\">🥗</div>\n          <div style=\"font-size: 14px; font-weight: 600; color: #f8fafc;\">Salade César Bio</div>\n          <div style=\"font-size: 11px; color: #64748b; margin-bottom: 8px;\">TVA 10% &bull; Réf #106</div>\n          <div style=\"font-size: 16px; font-weight: 700; color: #10b981;\">8,90 €</div>\n        </div>\n      </div>\n    </div>\n\n    <!-- Live Ticket & Payment Column -->\n    <div class=\"sp-pos-cart-col\" style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 14px; padding: 18px; display: flex; flex-direction: column; justify-content: space-between;\">\n      <div>\n        <div style=\"display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #1e293b; padding-bottom: 12px; margin-bottom: 12px;\">\n          <span style=\"font-size: 14px; font-weight: 700; color: #f8fafc; text-transform: uppercase; letter-spacing: 0.05em;\">Ticket En Cours</span>\n          <button onclick=\"smartposClearCart()\" style=\"background: transparent; color: #ef4444; border: none; font-size: 11px; cursor: pointer; text-decoration: underline;\">Vider</button>\n        </div>\n\n        <div id=\"smartpos-cart-items\" style=\"min-height: 180px; max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px;\">\n          <div id=\"smartpos-empty-msg\" style=\"color: #64748b; font-size: 13px; text-align: center; margin-top: 60px;\">\n            Le panier est vide.<br>Touchez un article pour l'ajouter.\n          </div>\n        </div>\n      </div>\n\n      <div>\n        <!-- Totals breakdown -->\n        <div style=\"border-top: 1px dashed #334155; padding-top: 12px; margin-bottom: 14px;\">\n          <div style=\"display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 4px;\">\n            <span>Total Hors Taxe (HT)</span>\n            <span id=\"sp-total-ht\">0,00 €</span>\n          </div>\n          <div style=\"display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 8px;\">\n            <span>TVA Collectée (5.5% / 10%)</span>\n            <span id=\"sp-total-tva\">0,00 €</span>\n          </div>\n          <div style=\"display: flex; justify-content: space-between; font-size: 20px; font-weight: 800; color: #10b981; border-top: 1px solid #1e293b; padding-top: 8px;\">\n            <span>TOTAL TTC</span>\n            <span id=\"sp-total-ttc\">0,00 €</span>\n          </div>\n        </div>\n\n        <!-- Payment buttons -->\n        <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px;\">\n          <button onclick=\"smartposPay('Carte Bancaire')\" style=\"background: #1e293b; color: #f8fafc; border: 1px solid #334155; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer;\">💳 CB / TPE</button>\n          <button onclick=\"smartposPay('Espèces')\" style=\"background: #1e293b; color: #f8fafc; border: 1px solid #334155; padding: 12px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer;\">💵 Espèces</button>\n        </div>\n        <button onclick=\"smartposPay('Ticket Restaurant')\" style=\"width: 100%; background: #10b981; color: #020617; border: none; padding: 14px; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; margin-bottom: 8px;\">⚡ Encaisser la commande</button>\n        \n        <div style=\"text-align: center; font-size: 10px; color: #64748b;\">\n          Conformité Loi Anti-Fraude TVA NF525 &bull; Signature Numérique\n        </div>\n      </div>\n    </div>\n  </div>\n</div>\n\n<script>\nwindow.smartposCart = [];\n\nfunction smartposAddToCart(title, price, tva) {\n  var item = window.smartposCart.find(function(i) { return i.title === title; });\n  if (item) {\n    item.qty++;\n  } else {\n    window.smartposCart.push({ title: title, price: price, tva: tva, qty: 1 });\n  }\n  smartposRenderCart();\n}\n\nfunction smartposRemoveOne(title) {\n  var item = window.smartposCart.find(function(i) { return i.title === title; });\n  if (item) {\n    item.qty--;\n    if (item.qty <= 0) {\n      window.smartposCart = window.smartposCart.filter(function(i) { return i.title !== title; });\n    }\n  }\n  smartposRenderCart();\n}\n\nfunction smartposClearCart() {\n  window.smartposCart = [];\n  smartposRenderCart();\n}\n\nfunction smartposRenderCart() {\n  var container = document.getElementById('smartpos-cart-items');\n  if (!container) return;\n  if (window.smartposCart.length === 0) {\n    container.innerHTML = '<div id=\"smartpos-empty-msg\" style=\"color: #64748b; font-size: 13px; text-align: center; margin-top: 60px;\">Le panier est vide.<br>Touchez un article pour l\\'ajouter.</div>';\n    document.getElementById('sp-total-ht').innerText = '0,00 €';\n    document.getElementById('sp-total-tva').innerText = '0,00 €';\n    document.getElementById('sp-total-ttc').innerText = '0,00 €';\n    return;\n  }\n\n  var html = '';\n  var totalTTC = 0;\n  var totalHT = 0;\n\n  window.smartposCart.forEach(function(item) {\n    var lineTotal = item.price * item.qty;\n    totalTTC += lineTotal;\n    var tvaRate = parseFloat(item.tva) / 100;\n    var lineHT = lineTotal / (1 + tvaRate);\n    totalHT += lineHT;\n\n    html += '<div style=\"display: flex; justify-content: space-between; align-items: center; background: #020617; padding: 8px 12px; border-radius: 8px; border: 1px solid #1e293b;\">';\n    html += '<div><div style=\"font-size: 13px; font-weight: 600; color: #f8fafc;\">' + item.title + '</div><div style=\"font-size: 11px; color: #64748b;\">' + item.qty + ' × ' + item.price.toFixed(2) + ' €</div></div>';\n    html += '<div style=\"display: flex; align-items: center; gap: 8px;\">';\n    html += '<span style=\"font-weight: 700; color: #10b981; font-size: 13px;\">' + lineTotal.toFixed(2) + ' €</span>';\n    html += '<button onclick=\"smartposRemoveOne(\\'' + item.title.replace(/'/g, \"\\'\") + '\\')\" style=\"background: #1e293b; color: #94a3b8; border: none; width: 22px; height: 22px; border-radius: 4px; cursor: pointer;\">-</button>';\n    html += '</div></div>';\n  });\n\n  container.innerHTML = html;\n  var totalTVA = totalTTC - totalHT;\n  document.getElementById('sp-total-ht').innerText = totalHT.toFixed(2).replace('.', ',') + ' €';\n  document.getElementById('sp-total-tva').innerText = totalTVA.toFixed(2).replace('.', ',') + ' €';\n  document.getElementById('sp-total-ttc').innerText = totalTTC.toFixed(2).replace('.', ',') + ' €';\n}\n\nfunction smartposPay(method) {\n  if (window.smartposCart.length === 0) {\n    alert('Veuillez ajouter des articles au panier avant d\\'encaisser.');\n    return;\n  }\n  var total = document.getElementById('sp-total-ttc').innerText;\n  alert('✅ Paiement validé par ' + method + ' pour un montant de ' + total + ' !\\nTicket conforme NF525 généré avec succès.');\n  smartposClearCart();\n}\n\nfunction smartposFilter(cat) {\n  var buttons = document.querySelectorAll('.sp-cat-btn');\n  buttons.forEach(function(b) {\n    b.style.background = '#0f172a';\n    b.style.color = '#cbd5e1';\n  });\n  if (window.event && window.event.target) {\n    window.event.target.style.background = '#10b981';\n    window.event.target.style.color = '#020617';\n  }\n}\n</script>\n\n    </div>\n  </section>\n\n  <!-- FEATURES GRID -->\n  <section id=\"fonctionnalites\" style=\"padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;\">\n    <div style=\"text-align: center; margin-bottom: 60px;\">\n      <span style=\"font-size: 12px; font-weight: 700; color: #38bdf8; letter-spacing: 0.1em; text-transform: uppercase;\">ARCHITECTURE ROBUSTE</span>\n      <h2 style=\"font-size: 36px; font-weight: 900; margin: 8px 0; color: #fff;\">Conçu pour les Boutiques &amp; la Vente au Comptoir</h2>\n      <p style=\"color: #94a3b8; font-size: 16px; max-width: 600px; margin: 0 auto;\">Tout ce dont un commerçant a besoin pour gérer la caisse, les stocks et la comptabilité sans friction.</p>\n    </div>\n\n    <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px;\">\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(16,185,129,0.15); color: #10b981; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">⚡</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Synchronisation REST API v3</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Chaque vente physique décrémente instantanément le stock WooCommerce en ligne. Fini les ventes de produits en rupture de stock.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(56,189,248,0.15); color: #38bdf8; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">🛡️</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Certifié NF525 &amp; Loi Anti-Fraude</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Signature cryptographique SHA-256 de chaque encaissement, journal inaltérable des événements et grand livre de caisse prêt pour le contrôle fiscal.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(168,85,247,0.15); color: #a855f7; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">🖨️</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Impression Thermique ESC/POS</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Compatible avec toutes les imprimantes de tickets 80mm et 58mm (Epson, Star Micronics, Munbyn) en USB, Bluetooth et réseau Ethernet.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(245,158,11,0.15); color: #f59e0b; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">📶</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Mode Hors-Ligne Résilient</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Votre connexion internet saute en plein coup de feu ? Le terminal continue d'encaisser et synchronise automatiquement dès le retour du réseau.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(236,72,153,0.15); color: #ec4899; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">🤖</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">IA &amp; Prédiction des Ventes</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Algorithmes intégrés prédisant vos besoins de réassort, les heures de pointe et recommandant des ventes complémentaires au caissier.</p>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; padding: 32px; border-radius: 20px;\">\n        <div style=\"width: 48px; height: 48px; border-radius: 12px; background: rgba(34,197,94,0.15); color: #22c55e; display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 20px;\">👥</div>\n        <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 12px;\">Multi-Caissiers &amp; Clôture Z</h3>\n        <p style=\"color: #94a3b8; font-size: 14px; margin: 0; line-height: 1.6;\">Connexion rapide par code PIN caissier, gestion du fond de caisse, écarts de caisse et génération automatique du rapport journalier Z.</p>\n      </div>\n    </div>\n  </section>\n\n  <!-- WOOCOMMERCE SYNC SECTION -->\n  <section id=\"woocommerce\" style=\"padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;\">\n    <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 48px; align-items: center;\">\n      <div>\n        <span style=\"font-size: 12px; font-weight: 700; color: #a855f7; letter-spacing: 0.1em; text-transform: uppercase;\">CONNEXION DIRECTE</span>\n        <h2 style=\"font-size: 36px; font-weight: 900; margin: 8px 0 20px; color: #fff;\">Vos Produits WooCommerce Disponibles Instantanément</h2>\n        <p style=\"color: #94a3b8; font-size: 15px; margin-bottom: 24px; line-height: 1.7;\">\n          Pas besoin de réimporter ou ressaisir vos articles : le terminal SmartPOS lit directement votre base de données WooCommerce, gère les variations de produits (tailles, couleurs), les codes-barres SKU et les fiches clients.\n        </p>\n        <ul style=\"list-style: none; padding: 0; margin: 0 0 32px; space-y: 12px;\">\n          <li style=\"display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;\"><span style=\"color:#10b981;\">✓</span> Gestion des déclinaisons &amp; attributs variables</li>\n          <li style=\"display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;\"><span style=\"color:#10b981;\">✓</span> Synchronisation des clients &amp; points de fidélité</li>\n          <li style=\"display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 14px; color: #e2e8f0;\"><span style=\"color:#10b981;\">✓</span> Prise en charge des codes promos &amp; remises manuelles</li>\n        </ul>\n      </div>\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 28px;\">\n        <div style=\"display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px;\">\n          <span style=\"font-weight: 800; font-size: 15px;\">Flux WooCommerce REST API v3</span>\n          <span style=\"font-size: 11px; background: rgba(16,185,129,0.15); color: #10b981; padding: 4px 10px; border-radius: 9999px; font-weight: 700;\">Connecté</span>\n        </div>\n        <div style=\"font-family: monospace; font-size: 12px; background: #020617; border: 1px solid #1e293b; padding: 16px; border-radius: 12px; color: #38bdf8; line-height: 1.8;\">\n          <div>&gt; GET /wp-json/wc/v3/products?per_page=100</div>\n          <div style=\"color: #10b981;\">&lt; 200 OK (24 ms) - 148 articles synchronisés</div>\n          <div>&gt; POST /wp-json/wc/v3/orders [Ticket #1042]</div>\n          <div style=\"color: #10b981;\">&lt; 201 Created (18 ms) - Stock décrémenté</div>\n          <div style=\"color: #94a3b8;\">&gt; Signature NF525: 7a9e8...c3b2 (Scellée)</div>\n        </div>\n      </div>\n    </div>\n  </section>\n\n  <!-- CERTIFICATION NF525 -->\n  <section id=\"certifications\" style=\"padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;\">\n    <div style=\"background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(2, 6, 23, 0.95)); border: 2px solid rgba(16, 185, 129, 0.3); border-radius: 24px; padding: 48px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 36px; align-items: center;\">\n      <div>\n        <div style=\"display: inline-flex; align-items: center; gap: 8px; background: rgba(16, 185, 129, 0.15); color: #10b981; padding: 6px 14px; border-radius: 9999px; font-size: 12px; font-weight: 800; margin-bottom: 16px;\">\n          LEGAL &amp; FISCAL\n        </div>\n        <h2 style=\"font-size: 32px; font-weight: 900; color: #fff; margin: 0 0 16px;\">Conforme à la Loi Anti-Fraude TVA 2018</h2>\n        <p style=\"color: #94a3b8; font-size: 15px; line-height: 1.7; margin: 0 0 20px;\">\n          En France, l'article 88 de la Loi de Finances n° 2015-1785 impose aux commerçants assujettis à la TVA d'utiliser un système de caisse satisfaisant à des conditions d'inaltérabilité, de sécurisation, de conservation et d'archivage.\n        </p>\n        <p style=\"color: #cbd5e1; font-size: 14px; font-weight: 600;\">\n          Une attestation individuelle de conformité de l'éditeur est fournie avec chaque licence.\n        </p>\n      </div>\n      <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 16px;\">\n        <div style=\"background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n          <div style=\"font-size: 20px; margin-bottom: 8px;\">🔒</div>\n          <div style=\"font-weight: 700; color: #fff; font-size: 14px;\">Inaltérabilité</div>\n          <div style=\"font-size: 12px; color: #94a3b8; margin-top: 4px;\">Chaînage cryptographique SHA-256 sans modification possible.</div>\n        </div>\n        <div style=\"background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n          <div style=\"font-size: 20px; margin-bottom: 8px;\">📜</div>\n          <div style=\"font-weight: 700; color: #fff; font-size: 14px;\">Archivage 6 ans</div>\n          <div style=\"font-size: 12px; color: #94a3b8; margin-top: 4px;\">Grand livre exportable en XML scellé pour l'administration.</div>\n        </div>\n        <div style=\"background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n          <div style=\"font-size: 20px; margin-bottom: 8px;\">🛡️</div>\n          <div style=\"font-weight: 700; color: #fff; font-size: 14px;\">Sécurisation</div>\n          <div style=\"font-size: 12px; color: #94a3b8; margin-top: 4px;\">Chaque ligne de vente porte une signature unique horodatée.</div>\n        </div>\n        <div style=\"background: #020617; border: 1px solid #1e293b; padding: 20px; border-radius: 16px;\">\n          <div style=\"font-size: 20px; margin-bottom: 8px;\">📋</div>\n          <div style=\"font-weight: 700; color: #fff; font-size: 14px;\">Ticket Z &amp; X</div>\n          <div style=\"font-size: 12px; color: #94a3b8; margin-top: 4px;\">Clôtures journalières, mensuelles et annuelles automatiques.</div>\n        </div>\n      </div>\n    </div>\n  </section>\n\n  <!-- PRICING SECTION -->\n  <section id=\"tarifs\" style=\"padding: 80px 24px; max-width: 1280px; margin: 0 auto; border-top: 1px solid #1e293b;\">\n    <div style=\"text-align: center; margin-bottom: 60px;\">\n      <span style=\"font-size: 12px; font-weight: 700; color: #10b981; letter-spacing: 0.1em; text-transform: uppercase;\">OFFRES &amp; LICENCES</span>\n      <h2 style=\"font-size: 36px; font-weight: 900; margin: 8px 0; color: #fff;\">Des Tarifs Simples et Transparents</h2>\n      <p style=\"color: #94a3b8; font-size: 16px; max-width: 600px; margin: 0 auto;\">Choisissez la licence adaptée à la taille de votre point de vente.</p>\n    </div>\n\n    <div style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px;\">\n      <!-- Starter -->\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between;\">\n        <div>\n          <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;\">Licence Starter</h3>\n          <p style=\"color: #94a3b8; font-size: 13px; margin: 0 0 24px;\">Pour 1 boutique ou food-truck indépendant.</p>\n          <div style=\"margin-bottom: 24px;\">\n            <span style=\"font-size: 40px; font-weight: 900; color: #fff;\">19€</span>\n            <span style=\"color: #94a3b8; font-size: 14px;\"> / mois</span>\n          </div>\n          <ul style=\"list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;\">\n            <li style=\"margin-bottom: 10px;\">✓ 1 Caisse enregistreuse active</li>\n            <li style=\"margin-bottom: 10px;\">✓ Synchronisation WooCommerce illimitée</li>\n            <li style=\"margin-bottom: 10px;\">✓ Conformité NF525 &amp; Attestation</li>\n            <li style=\"margin-bottom: 10px;\">✓ Support par e-mail standard</li>\n          </ul>\n        </div>\n        <a href=\"#\" style=\"margin-top: 32px; display: block; text-align: center; background: #1e293b; color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none;\">Choisir Starter</a>\n      </div>\n\n      <!-- Pro (Highlighted) -->\n      <div style=\"background: linear-gradient(180deg, #0f172a, #020617); border: 2px solid #10b981; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between; position: relative;\">\n        <div style=\"position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: #10b981; color: #020617; font-weight: 800; font-size: 11px; padding: 4px 12px; border-radius: 9999px; text-transform: uppercase;\">\n          LE PLUS POPULAIRE\n        </div>\n        <div>\n          <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;\">Licence Pro</h3>\n          <p style=\"color: #94a3b8; font-size: 13px; margin: 0 0 24px;\">Pour magasins de détail, restaurants et boutiques.</p>\n          <div style=\"margin-bottom: 24px;\">\n            <span style=\"font-size: 40px; font-weight: 900; color: #10b981;\">39€</span>\n            <span style=\"color: #94a3b8; font-size: 14px;\"> / mois</span>\n          </div>\n          <ul style=\"list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;\">\n            <li style=\"margin-bottom: 10px;\">✓ Jusqu'à 3 Caisses en simultané</li>\n            <li style=\"margin-bottom: 10px;\">✓ Mode multi-vendeurs &amp; codes PIN</li>\n            <li style=\"margin-bottom: 10px;\">✓ Prédiction IA des stocks &amp; ventes</li>\n            <li style=\"margin-bottom: 10px;\">✓ Support prioritaire 7j/7</li>\n          </ul>\n        </div>\n        <a href=\"#\" style=\"margin-top: 32px; display: block; text-align: center; background: #10b981; color: #020617; padding: 12px; border-radius: 10px; font-weight: 800; text-decoration: none;\">Activer la Licence Pro</a>\n      </div>\n\n      <!-- Entreprise -->\n      <div style=\"background: #0f172a; border: 1px solid #1e293b; border-radius: 20px; padding: 36px; display: flex; flex-direction: column; justify-content: space-between;\">\n        <div>\n          <h3 style=\"font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 8px;\">Réseau &amp; Franchises</h3>\n          <p style=\"color: #94a3b8; font-size: 13px; margin: 0 0 24px;\">Pour chaînes de magasins et multi-sites.</p>\n          <div style=\"margin-bottom: 24px;\">\n            <span style=\"font-size: 40px; font-weight: 900; color: #fff;\">89€</span>\n            <span style=\"color: #94a3b8; font-size: 14px;\"> / mois</span>\n          </div>\n          <ul style=\"list-style: none; padding: 0; margin: 0; space-y: 12px; font-size: 14px; color: #cbd5e1;\">\n            <li style=\"margin-bottom: 10px;\">✓ Caisses illimitées</li>\n            <li style=\"margin-bottom: 10px;\">✓ Gestion centralisée multi-entrepôts</li>\n            <li style=\"margin-bottom: 10px;\">✓ API personnalisée &amp; intégration ERP</li>\n            <li style=\"margin-bottom: 10px;\">✓ Gestionnaire de compte dédié</li>\n          </ul>\n        </div>\n        <a href=\"#\" style=\"margin-top: 32px; display: block; text-align: center; background: #1e293b; color: #fff; padding: 12px; border-radius: 10px; font-weight: 700; text-decoration: none;\">Contacter l'Équipe</a>\n      </div>\n    </div>\n  </section>\n\n  <!-- FOOTER -->\n  <footer style=\"background: #010409; border-top: 1px solid #1e293b; padding: 48px 24px; color: #94a3b8; font-size: 13px;\">\n    <div style=\"max-width: 1280px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px; align-items: center;\">\n      <div>\n        <div style=\"color: #fff; font-weight: 800; font-size: 16px; margin-bottom: 6px;\">SmartPOS AI Pro</div>\n        <p style=\"margin: 0;\">La solution de caisse enregistreuse tactile intelligente certifiée NF525 pour WooCommerce.</p>\n      </div>\n      <div style=\"display: flex; gap: 20px; font-weight: 600;\">\n        <a href=\"#\" style=\"color: #94a3b8; text-decoration: none;\">Mentions Légales</a>\n        <a href=\"#\" style=\"color: #94a3b8; text-decoration: none;\">Conformité NF525</a>\n        <a href=\"#\" style=\"color: #94a3b8; text-decoration: none;\">Conditions Générales</a>\n        <a href=\"#\" style=\"color: #94a3b8; text-decoration: none;\">Support</a>\n      </div>\n    </div>\n    <div style=\"max-width: 1280px; margin: 24px auto 0; padding-top: 24px; border-top: 1px solid #0f172a; text-align: center; font-size: 12px; color: #64748b;\">\n      &copy; 2026 SmartPOS AI. Tous droits réservés. Conforme à l'article 88 de la Loi Anti-Fraude TVA 2018 (NF525 / LNE).\n    </div>\n  </footer>\n\n</div>\n"}}]}]}]]]></wp:meta_value>
		</wp:postmeta>
	</item>

	<!-- TEMPLATE 2: Modèle Elementor Caisse Tactile POS (Version Light Complète) -->
	<item>
		<title><![CDATA[Modèle Elementor - Caisse Tactile POS (Version Light)]]></title>
		<link>https://www.smartpos-ai.fr/?elementor_library=smartpos-caisse-light-modele</link>
		<pubDate>Sun, 20 Sep 2026 17:31:59 GMT</pubDate>
		<dc:creator><![CDATA[admin]]></dc:creator>
		<guid isPermaLink="false">https://www.smartpos-ai.fr/?p=2004</guid>
		<description></description>
		<content:encoded><![CDATA[<div id="smartpos-standalone-app" style="font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #0f172a; background: #f8fafc; border-radius: 20px; border: 1px solid #e2e8f0; padding: 24px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.01); width: 100%; box-sizing: border-box;">
  <style>
    #smartpos-standalone-app p:empty { display: none !important; margin: 0 !important; padding: 0 !important; }
    #smartpos-standalone-app > p { display: none !important; margin: 0 !important; padding: 0 !important; }
    #smartpos-standalone-app br { display: none !important; }
    #smartpos-standalone-app * { box-sizing: border-box; }
    
    .sp-pos-layout {
      display: flex !important;
      flex-direction: row !important;
      gap: 24px !important;
      width: 100% !important;
      align-items: flex-start !important;
    }
    @media (max-width: 991px) {
      .sp-pos-layout { flex-direction: column !important; }
      .sp-pos-cart-col { width: 100% !important; min-width: 100% !important; }
    }
    .sp-pos-catalog {
      flex: 1 1 0% !important;
      min-width: 0 !important;
      width: 100% !important;
    }
    .sp-pos-cart-col {
      width: 380px !important;
      min-width: 320px !important;
      flex-shrink: 0 !important;
    }
    .sp-products-grid {
      display: grid !important;
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;
      gap: 14px !important;
      width: 100% !important;
    }
    .sp-btn-touch {
      cursor: pointer;
      user-select: none;
      transition: all 0.15s ease;
    }
    .sp-btn-touch:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0,0,0,0.06);
    }
    .sp-btn-touch:active {
      transform: scale(0.97);
    }
  </style>

  <!-- POS HEADER BAR -->
  <div style="display: flex; justify-content: space-between; align-items: center; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 20px; margin-bottom: 20px; flex-wrap: wrap; gap: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.03);">
    <div style="display: flex; align-items: center; gap: 12px;">
      <div style="background: linear-gradient(135deg, #10b981, #059669); color: white; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; box-shadow: 0 4px 10px rgba(16,185,129,0.25);">⚡</div>
      <div>
        <div style="display: flex; align-items: center; gap: 8px;">
          <h2 style="margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em;">SmartPOS AI Pro</h2>
          <span style="background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 9999px;">NF525 CERTIFIÉ</span>
        </div>
        <p style="margin: 2px 0 0; font-size: 11px; color: #64748b;">Caisse Tactile WooCommerce • Alex Dupont (Caisse 01)</p>
      </div>
    </div>
    <div style="display: flex; align-items: center; gap: 10px;">
      <div style="background: #f1f5f9; padding: 6px 12px; border-radius: 10px; border: 1px solid #e2e8f0; font-size: 12px; font-weight: 600; color: #334155;">
        📍 Table 04 • Sur place
      </div>
      <div id="sp-live-clock" style="background: #f8fafc; padding: 6px 12px; border-radius: 10px; border: 1px solid #e2e8f0; font-family: monospace; font-size: 12px; color: #059669; font-weight: 700;">
        12:00:00
      </div>
    </div>
  </div>

  <!-- MAIN WORKSPACE -->
  <div class="sp-pos-layout">
    
    <!-- LEFT: CATALOG -->
    <div class="sp-pos-catalog">
      
      <!-- Search and Scanner Simulation -->
      <div style="background: #ffffff; padding: 10px 14px; border-radius: 14px; border: 1px solid #e2e8f0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;">
        <span style="font-size: 16px;">🔍</span>
        <input 
          type="text" 
          id="sp-search-input" 
          oninput="spFilterProducts()" 
          placeholder="Rechercher un article, un code SKU, un plat..." 
          style="width: 100%; border: none; outline: none; background: transparent; font-size: 13px; color: #0f172a;"
        />
        <span style="font-size: 11px; background: #f1f5f9; color: #475569; padding: 3px 8px; border-radius: 6px; font-family: monospace; white-space: nowrap;">SCAN READY</span>
      </div>

      <!-- Categories Pills -->
      <div style="display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px;">
        <button onclick="spSetCategory('all', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; background: #10b981; color: #ffffff; white-space: nowrap;">Tous les Articles</button>
        <button onclick="spSetCategory('cafe', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;">☕ Cafés & Boissons</button>
        <button onclick="spSetCategory('boulangerie', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;">🥐 Boulangerie</button>
        <button onclick="spSetCategory('restaurant', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;">🍔 Plats & Salades</button>
        <button onclick="spSetCategory('retail', this)" class="sp-cat-btn" style="padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;">🛍️ Boutique & Retail</button>
      </div>

      <!-- Products Grid -->
      <div id="sp-products-container" class="sp-products-grid">
        <!-- Injected via JavaScript -->
      </div>
    </div>

    <!-- RIGHT: TICKET DE CAISSE PRO -->
    <div class="sp-pos-cart-col">
      <div style="background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 14px;">
        
        <!-- Ticket Header -->
        <div style="display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px;">
          <div>
            <div style="font-weight: 800; font-size: 14px; color: #0f172a;">Ticket #TK-2026-0842</div>
            <div style="font-size: 11px; color: #64748b;">Table 04 • Client Comptoir</div>
          </div>
          <button onclick="spClearCart()" style="background: transparent; border: none; color: #ef4444; font-size: 12px; font-weight: 600; cursor: pointer;">Vider</button>
        </div>

        <!-- Cart Items Scroll -->
        <div id="sp-cart-items" style="max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 2px;">
          <!-- Injected via JavaScript -->
        </div>

        <!-- Discounts Buttons -->
        <div style="background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px;">
          <div style="font-size: 11px; font-weight: 700; color: #475569; margin-bottom: 6px; display: flex; justify-content: space-between;">
            <span>Remise Commerciale :</span>
            <span id="sp-discount-label" style="color: #059669;">0%</span>
          </div>
          <div style="display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;">
            <button onclick="spApplyDiscount(0, this)" class="sp-disc-btn" style="background: #10b981; color: white; border: none; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;">0%</button>
            <button onclick="spApplyDiscount(5, this)" class="sp-disc-btn" style="background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;">-5%</button>
            <button onclick="spApplyDiscount(10, this)" class="sp-disc-btn" style="background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;">-10%</button>
            <button onclick="spApplyDiscount(20, this)" class="sp-disc-btn" style="background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;">-20%</button>
          </div>
        </div>

        <!-- Totals Card -->
        <div style="background: #0f172a; color: #ffffff; border-radius: 14px; padding: 14px;">
          <div style="display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 4px;">
            <span>Sous-total Brut</span>
            <span id="sp-subtotal-val" style="font-family: monospace;">0.00 €</span>
          </div>
          <div id="sp-discount-row" style="display: none; justify-content: space-between; font-size: 12px; color: #34d399; margin-bottom: 4px;">
            <span>Remise déduite</span>
            <span id="sp-discount-val" style="font-family: monospace;">-0.00 €</span>
          </div>
          <div style="display: flex; justify-content: space-between; font-size: 11px; color: #64748b; border-top: 1px solid #1e293b; padding-top: 6px; margin-top: 4px;">
            <span id="sp-ht-val">Base HT: 0.00 €</span>
            <span id="sp-tva-val">TVA: 0.00 €</span>
          </div>
          <div style="display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #1e293b; padding-top: 8px; margin-top: 8px;">
            <div>
              <div style="font-size: 11px; text-transform: uppercase; color: #94a3b8; font-weight: bold;">TOTAL TTC NET</div>
              <div style="font-size: 9px; color: #34d399;">Certifié NF525</div>
            </div>
            <div id="sp-total-val" style="font-size: 24px; font-weight: 900; color: #34d399; font-family: monospace;">0.00 €</div>
          </div>
        </div>

        <!-- Payment Actions -->
        <div style="display: grid; grid-template-columns: 1fr 1fr; gap: 8px;">
          <button onclick="spOpenPayment('Carte Bancaire (TPE)')" style="background: #10b981; color: #ffffff; border: none; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 4px 10px rgba(16,185,129,0.2);">
            💳 Carte Bancaire
          </button>
          <button onclick="spOpenPayment('Espèces (Cash)')" style="background: #1e293b; color: #ffffff; border: none; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;">
            💵 Espèces / Cash
          </button>
        </div>

      </div>
    </div>
  </div>

  <!-- RECEIPT MODAL (ESC/POS NF525) -->
  <div id="sp-receipt-modal" style="display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.75); backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center; padding: 16px;">
    <div style="background: #ffffff; border-radius: 20px; max-width: 400px; width: 100%; padding: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); text-align: left; position: relative;">
      <button onclick="spCloseModal()" style="position: absolute; top: 16px; right: 16px; background: #f1f5f9; border: none; width: 30px; height: 30px; border-radius: 50%; font-weight: bold; cursor: pointer;">✕</button>
      
      <div style="display: flex; align-items: center; gap: 8px; color: #059669; font-weight: 800; font-size: 14px; margin-bottom: 12px;">
        <span>✓</span> Encaissement Validé (NF525)
      </div>

      <!-- Thermal Receipt Visual Paper -->
      <div style="background: #fffbeb; border: 1px solid #fef3c7; border-radius: 12px; padding: 16px; font-family: monospace; font-size: 11px; color: #1e293b; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);">
        <div style="text-align: center; border-bottom: 1px dashed #cbd5e1; padding-bottom: 8px; margin-bottom: 8px;">
          <div style="font-weight: 900; font-size: 14px;">SMARTPOS AI PRO</div>
          <div>BISTROT & COMMERCE PARIS</div>
          <div style="font-size: 10px; color: #64748b;">SIRET: 849 203 912 00014</div>
          <div style="font-size: 10px; color: #64748b;">CONFORME ART. 88 LOI FINANCES</div>
        </div>

        <div id="sp-modal-items-list" style="margin-bottom: 8px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 8px;">
          <!-- Dynamically populated -->
        </div>

        <div style="display: flex; justify-content: space-between; font-weight: bold; font-size: 13px; margin-bottom: 4px;">
          <span>TOTAL PAYÉ TTC</span>
          <span id="sp-modal-total">0.00 €</span>
        </div>
        <div id="sp-modal-method" style="font-size: 10px; color: #059669; font-weight: bold; margin-bottom: 8px;">
          MODE: CARTE BANCAIRE
        </div>

        <div style="text-align: center; border-top: 1px dashed #cbd5e1; padding-top: 8px; font-size: 9px; color: #64748b;">
          <div>SIGNATURE CRYPTOGRAPHIQUE FISCALE :</div>
          <div style="font-weight: bold; color: #0f172a; word-break: break-all;">SHA256: 8F2B7E91C4A028E5-POS-FR</div>
          <div style="margin-top: 4px;">MERCI DE VOTRE VISITE !</div>
        </div>
      </div>

      <div style="display: flex; gap: 8px; margin-top: 16px;">
        <button onclick="alert('Impression envoyée vers votre imprimante thermique ESC/POS 80mm.');" style="flex: 1; background: #0f172a; color: white; border: none; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: bold; cursor: pointer;">
          🖨️ Imprimer
        </button>
        <button onclick="spNewSale()" style="flex: 1; background: #10b981; color: white; border: none; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: bold; cursor: pointer;">
          + Nouvelle Vente
        </button>
      </div>
    </div>
  </div>

  <script>
    (function() {
      var PRODUCTS = [
        { id: '1', name: 'Café Espresso Bio', cat: 'cafe', price: 2.50, emoji: '☕', tva: 10, sku: 'BOV-ESP' },
        { id: '2', name: 'Cappuccino Mousse Lait', cat: 'cafe', price: 4.20, emoji: '🍵', tva: 10, sku: 'BOV-CAP' },
        { id: '3', name: 'Thé Vert Menthe Fraîche', cat: 'cafe', price: 3.80, emoji: '🫖', tva: 10, sku: 'BOV-THE' },
        { id: '4', name: 'Jus Orange Pressé Minute', cat: 'cafe', price: 4.50, emoji: '🍊', tva: 10, sku: 'BOV-JUS' },
        { id: '5', name: 'Croissant Beurre AOP', cat: 'boulangerie', price: 1.90, emoji: '🥐', tva: 10, sku: 'BAK-CRO' },
        { id: '6', name: 'Pain Chocolat Pur Beurre', cat: 'boulangerie', price: 2.10, emoji: '🥖', tva: 10, sku: 'BAK-CHO' },
        { id: '7', name: 'Tiramisu Artisanal Café', cat: 'boulangerie', price: 5.50, emoji: '🍰', tva: 10, sku: 'BAK-TIR' },
        { id: '8', name: 'Tarte Citron Meringuée', cat: 'boulangerie', price: 4.90, emoji: '🍋', tva: 10, sku: 'BAK-CIT' },
        { id: '9', name: 'Burger Gourmet & Frites', cat: 'restaurant', price: 16.50, emoji: '🍔', tva: 10, sku: 'RES-BUR' },
        { id: '10', name: 'Pizza Margherita DOC', cat: 'restaurant', price: 13.90, emoji: '🍕', tva: 10, sku: 'RES-PIZ' },
        { id: '11', name: 'Salade César Poulet', cat: 'restaurant', price: 12.50, emoji: '🥗', tva: 10, sku: 'RES-SAL' },
        { id: '12', name: 'Pâtes Truffe & Parmesan', cat: 'restaurant', price: 17.80, emoji: '🍝', tva: 10, sku: 'RES-PAT' },
        { id: '13', name: 'Frites Maison Port.', cat: 'restaurant', price: 4.50, emoji: '🍟', tva: 10, sku: 'RES-FRI' },
        { id: '14', name: 'T-Shirt Coton Bio SmartPOS', cat: 'retail', price: 29.00, emoji: '👕', tva: 20, sku: 'RET-TSH' },
        { id: '15', name: 'Totebag Toile Canvas', cat: 'retail', price: 14.00, emoji: '👜', tva: 20, sku: 'RET-TOT' },
        { id: '16', name: 'Gourde Inox Isotherme', cat: 'retail', price: 22.00, emoji: '🍶', tva: 20, sku: 'RET-GOU' }
      ];

      var cart = [
        { product: PRODUCTS[0], qty: 2 },
        { product: PRODUCTS[4], qty: 2 },
        { product: PRODUCTS[8], qty: 1 }
      ];

      var currentCat = 'all';
      var discountPercent = 0;
      var lastPaymentMethod = 'Carte Bancaire';

      function updateClock() {
        var clockEl = document.getElementById('sp-live-clock');
        if (clockEl) {
          var d = new Date();
          clockEl.innerText = d.toLocaleTimeString('fr-FR');
        }
      }
      setInterval(updateClock, 1000);
      updateClock();

      window.spSetCategory = function(cat, btn) {
        currentCat = cat;
        var buttons = document.querySelectorAll('.sp-cat-btn');
        buttons.forEach(function(b) {
          b.style.background = '#ffffff';
          b.style.color = '#475569';
          b.style.border = '1px solid #e2e8f0';
        });
        btn.style.background = '#10b981';
        btn.style.color = '#ffffff';
        btn.style.border = 'none';
        window.spFilterProducts();
      };

      window.spFilterProducts = function() {
        var query = (document.getElementById('sp-search-input').value || '').toLowerCase();
        var container = document.getElementById('sp-products-container');
        if (!container) return;

        var html = '';
        PRODUCTS.forEach(function(p) {
          var matchCat = (currentCat === 'all' || p.cat === currentCat);
          var matchQuery = p.name.toLowerCase().includes(query) || p.sku.toLowerCase().includes(query);
          if (matchCat && matchQuery) {
            var inCartItem = cart.find(function(i) { return i.product.id === p.id; });
            var count = inCartItem ? inCartItem.qty : 0;

            html += '<div onclick="spAddToCart(\'' + p.id + '\')" class="sp-btn-touch" style="background:#ffffff; border:' + (count > 0 ? '2px solid #10b981' : '1px solid #e2e8f0') + '; border-radius:14px; padding:12px; display:flex; flex-direction:column; justify-content:space-between; position:relative;">';
            if (count > 0) {
              html += '<span style="position:absolute; top:8px; right:8px; background:#10b981; color:#fff; font-size:10px; font-weight:800; width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center;">' + count + '</span>';
            }
            html += '<div>';
            html += '<div style="font-size:26px; margin-bottom:6px;">' + p.emoji + '</div>';
            html += '<div style="font-weight:700; font-size:12px; color:#0f172a; line-height:1.2;">' + p.name + '</div>';
            html += '<div style="font-size:10px; color:#94a3b8; margin-top:2px;">' + p.sku + ' • TVA ' + p.tva + '%</div>';
            html += '</div>';
            html += '<div style="display:flex; justify-content:space-between; align-items:center; border-top:1px solid #f1f5f9; padding-top:8px; margin-top:8px;">';
            html += '<span style="font-weight:800; font-size:13px; color:#0f172a;">' + p.price.toFixed(2) + ' €</span>';
            html += '<span style="background:#ecfdf5; color:#059669; font-weight:bold; width:22px; height:22px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:13px;">+</span>';
            html += '</div>';
            html += '</div>';
          }
        });
        container.innerHTML = html;
      };

      window.spAddToCart = function(id) {
        var p = PRODUCTS.find(function(item) { return item.id === id; });
        if (!p) return;
        var existing = cart.find(function(item) { return item.product.id === id; });
        if (existing) {
          existing.qty += 1;
        } else {
          cart.push({ product: p, qty: 1 });
        }
        window.spRenderCart();
        window.spFilterProducts();
      };

      window.spChangeQty = function(id, delta) {
        var item = cart.find(function(i) { return i.product.id === id; });
        if (!item) return;
        item.qty += delta;
        if (item.qty <= 0) {
          cart = cart.filter(function(i) { return i.product.id !== id; });
        }
        window.spRenderCart();
        window.spFilterProducts();
      };

      window.spClearCart = function() {
        cart = [];
        discountPercent = 0;
        window.spRenderCart();
        window.spFilterProducts();
      };

      window.spApplyDiscount = function(pct, btn) {
        discountPercent = pct;
        document.querySelectorAll('.sp-disc-btn').forEach(function(b) {
          b.style.background = '#ffffff';
          b.style.color = '#334155';
          b.style.border = '1px solid #cbd5e1';
        });
        btn.style.background = '#10b981';
        btn.style.color = '#ffffff';
        btn.style.border = 'none';
        document.getElementById('sp-discount-label').innerText = pct > 0 ? '-' + pct + '%' : '0%';
        window.spRenderCart();
      };

      window.spRenderCart = function() {
        var cartContainer = document.getElementById('sp-cart-items');
        if (!cartContainer) return;

        if (cart.length === 0) {
          cartContainer.innerHTML = '<div style="text-align:center; padding:30px 10px; color:#94a3b8; font-size:12px;">Ticket vide.<br>Sélectionnez un article pour commencer.</div>';
        } else {
          var html = '';
          cart.forEach(function(item) {
            html += '<div style="display:flex; justify-content:space-between; align-items:center; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:8px 10px;">';
            html += '<div style="display:flex; align-items:center; gap:8px;">';
            html += '<span style="font-size:18px;">' + item.product.emoji + '</span>';
            html += '<div>';
            html += '<div style="font-weight:700; font-size:11px; color:#0f172a;">' + item.product.name + '</div>';
            html += '<div style="font-size:10px; color:#64748b;">' + item.product.price.toFixed(2) + ' € x ' + item.qty + ' = <strong style="color:#059669;">' + (item.product.price * item.qty).toFixed(2) + ' €</strong></div>';
            html += '</div>';
            html += '</div>';
            html += '<div style="display:flex; align-items:center; gap:4px;">';
            html += '<button onclick="spChangeQty(\'' + item.product.id + '\', -1)" style="width:22px; height:22px; border-radius:6px; border:1px solid #cbd5e1; background:#ffffff; font-weight:bold; cursor:pointer;">-</button>';
            html += '<span style="width:18px; text-align:center; font-weight:bold; font-size:11px;">' + item.qty + '</span>';
            html += '<button onclick="spChangeQty(\'' + item.product.id + '\', 1)" style="width:22px; height:22px; border-radius:6px; border:1px solid #cbd5e1; background:#ffffff; font-weight:bold; cursor:pointer;">+</button>';
            html += '</div>';
            html += '</div>';
          });
          cartContainer.innerHTML = html;
        }

        // Calculations
        var subtotal = cart.reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);
        var discAmount = (subtotal * discountPercent) / 100;
        var netTotal = Math.max(0, subtotal - discAmount);

        var tva10Items = cart.filter(function(i) { return i.product.tva === 10; }).reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);
        var tva20Items = cart.filter(function(i) { return i.product.tva === 20; }).reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);

        var tva10 = (tva10Items * (1 - discountPercent / 100) * 10) / 110;
        var tva20 = (tva20Items * (1 - discountPercent / 100) * 20) / 120;
        var baseHt = netTotal - tva10 - tva20;

        document.getElementById('sp-subtotal-val').innerText = subtotal.toFixed(2) + ' €';
        document.getElementById('sp-total-val').innerText = netTotal.toFixed(2) + ' €';
        document.getElementById('sp-ht-val').innerText = 'Base HT: ' + baseHt.toFixed(2) + ' €';
        document.getElementById('sp-tva-val').innerText = 'TVA: ' + (tva10 + tva20).toFixed(2) + ' €';

        var discRow = document.getElementById('sp-discount-row');
        if (discountPercent > 0) {
          discRow.style.display = 'flex';
          document.getElementById('sp-discount-val').innerText = '-' + discAmount.toFixed(2) + ' €';
        } else {
          discRow.style.display = 'none';
        }
      };

      window.spOpenPayment = function(method) {
        if (cart.length === 0) {
          alert('Votre ticket est vide. Ajoutez des articles pour encaisser.');
          return;
        }
        lastPaymentMethod = method;
        var modal = document.getElementById('sp-receipt-modal');
        var listContainer = document.getElementById('sp-modal-items-list');
        var totalEl = document.getElementById('sp-modal-total');
        var methodEl = document.getElementById('sp-modal-method');

        var itemsHtml = '';
        cart.forEach(function(i) {
          itemsHtml += '<div style="display:flex; justify-content:space-between; margin-bottom:2px;">';
          itemsHtml += '<span>' + i.qty + 'x ' + i.product.name.substring(0, 18) + '</span>';
          itemsHtml += '<span>' + (i.product.price * i.qty).toFixed(2) + ' €</span>';
          itemsHtml += '</div>';
        });

        var subtotal = cart.reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);
        var discAmount = (subtotal * discountPercent) / 100;
        var netTotal = Math.max(0, subtotal - discAmount);

        listContainer.innerHTML = itemsHtml;
        totalEl.innerText = netTotal.toFixed(2) + ' €';
        methodEl.innerText = 'RÈGLEMENT : ' + method.toUpperCase();

        modal.style.display = 'flex';
      };

      window.spCloseModal = function() {
        document.getElementById('sp-receipt-modal').style.display = 'none';
      };

      window.spNewSale = function() {
        window.spClearCart();
        window.spCloseModal();
      };

      // Initial execution
      window.spFilterProducts();
      window.spRenderCart();
    })();
  </script>
</div>]]></content:encoded>
		<excerpt:encoded><![CDATA[]]></excerpt:encoded>
		<wp:post_id>2004</wp:post_id>
		<wp:post_date><![CDATA[2026-09-20 17:31:59]]></wp:post_date>
		<wp:post_date_gmt><![CDATA[2026-09-20 17:31:59]]></wp:post_date_gmt>
		<wp:post_modified><![CDATA[2026-09-20 17:31:59]]></wp:post_modified>
		<wp:post_modified_gmt><![CDATA[2026-09-20 17:31:59]]></wp:post_modified_gmt>
		<wp:comment_status><![CDATA[closed]]></wp:comment_status>
		<wp:ping_status><![CDATA[closed]]></wp:ping_status>
		<wp:post_name><![CDATA[smartpos-caisse-light-modele]]></wp:post_name>
		<wp:status><![CDATA[publish]]></wp:status>
		<wp:post_parent>0</wp:post_parent>
		<wp:menu_order>0</wp:menu_order>
		<wp:post_type><![CDATA[elementor_library]]></wp:post_type>
		<wp:post_password><![CDATA[]]></wp:post_password>
		<wp:is_sticky>0</wp:is_sticky>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_edit_mode]]></wp:meta_key>
			<wp:meta_value><![CDATA[builder]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_template_type]]></wp:meta_key>
			<wp:meta_value><![CDATA[page]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_version]]></wp:meta_key>
			<wp:meta_value><![CDATA[3.25.0]]></wp:meta_value>
		</wp:postmeta>
		<wp:postmeta>
			<wp:meta_key><![CDATA[_elementor_data]]></wp:meta_key>
			<wp:meta_value><![CDATA[[{"id":"sec_lmfb11p","elType":"section","isInner":false,"settings":{"layout":"full_width","stretch_section":"section-stretched","background_background":"classic","background_color":"#f8fafc","padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":true}},"elements":[{"id":"col_zz8f97h","elType":"column","isInner":false,"settings":{"_column_size":100,"_inline_size":null,"padding":{"unit":"px","top":"0","right":"0","bottom":"0","left":"0","isLinked":true}},"elements":[{"id":"wid_no08ka8","elType":"widget","isInner":false,"widgetType":"html","settings":{"html":"<div id=\"smartpos-standalone-app\" style=\"font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; color: #0f172a; background: #f8fafc; border-radius: 20px; border: 1px solid #e2e8f0; padding: 24px; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05), 0 8px 10px -6px rgba(0,0,0,0.01); width: 100%; box-sizing: border-box;\">\n  <style>\n    #smartpos-standalone-app p:empty { display: none !important; margin: 0 !important; padding: 0 !important; }\n    #smartpos-standalone-app > p { display: none !important; margin: 0 !important; padding: 0 !important; }\n    #smartpos-standalone-app br { display: none !important; }\n    #smartpos-standalone-app * { box-sizing: border-box; }\n    \n    .sp-pos-layout {\n      display: flex !important;\n      flex-direction: row !important;\n      gap: 24px !important;\n      width: 100% !important;\n      align-items: flex-start !important;\n    }\n    @media (max-width: 991px) {\n      .sp-pos-layout { flex-direction: column !important; }\n      .sp-pos-cart-col { width: 100% !important; min-width: 100% !important; }\n    }\n    .sp-pos-catalog {\n      flex: 1 1 0% !important;\n      min-width: 0 !important;\n      width: 100% !important;\n    }\n    .sp-pos-cart-col {\n      width: 380px !important;\n      min-width: 320px !important;\n      flex-shrink: 0 !important;\n    }\n    .sp-products-grid {\n      display: grid !important;\n      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)) !important;\n      gap: 14px !important;\n      width: 100% !important;\n    }\n    .sp-btn-touch {\n      cursor: pointer;\n      user-select: none;\n      transition: all 0.15s ease;\n    }\n    .sp-btn-touch:hover {\n      transform: translateY(-2px);\n      box-shadow: 0 6px 16px rgba(0,0,0,0.06);\n    }\n    .sp-btn-touch:active {\n      transform: scale(0.97);\n    }\n  </style>\n\n  <!-- POS HEADER BAR -->\n  <div style=\"display: flex; justify-content: space-between; align-items: center; background: #ffffff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 14px 20px; margin-bottom: 20px; flex-wrap: wrap; gap: 14px; box-shadow: 0 1px 3px rgba(0,0,0,0.03);\">\n    <div style=\"display: flex; align-items: center; gap: 12px;\">\n      <div style=\"background: linear-gradient(135deg, #10b981, #059669); color: white; width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; box-shadow: 0 4px 10px rgba(16,185,129,0.25);\">⚡</div>\n      <div>\n        <div style=\"display: flex; align-items: center; gap: 8px;\">\n          <h2 style=\"margin: 0; font-size: 18px; font-weight: 800; color: #0f172a; letter-spacing: -0.02em;\">SmartPOS AI Pro</h2>\n          <span style=\"background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 9999px;\">NF525 CERTIFIÉ</span>\n        </div>\n        <p style=\"margin: 2px 0 0; font-size: 11px; color: #64748b;\">Caisse Tactile WooCommerce • Alex Dupont (Caisse 01)</p>\n      </div>\n    </div>\n    <div style=\"display: flex; align-items: center; gap: 10px;\">\n      <div style=\"background: #f1f5f9; padding: 6px 12px; border-radius: 10px; border: 1px solid #e2e8f0; font-size: 12px; font-weight: 600; color: #334155;\">\n        📍 Table 04 • Sur place\n      </div>\n      <div id=\"sp-live-clock\" style=\"background: #f8fafc; padding: 6px 12px; border-radius: 10px; border: 1px solid #e2e8f0; font-family: monospace; font-size: 12px; color: #059669; font-weight: 700;\">\n        12:00:00\n      </div>\n    </div>\n  </div>\n\n  <!-- MAIN WORKSPACE -->\n  <div class=\"sp-pos-layout\">\n    \n    <!-- LEFT: CATALOG -->\n    <div class=\"sp-pos-catalog\">\n      \n      <!-- Search and Scanner Simulation -->\n      <div style=\"background: #ffffff; padding: 10px 14px; border-radius: 14px; border: 1px solid #e2e8f0; margin-bottom: 14px; display: flex; align-items: center; gap: 10px;\">\n        <span style=\"font-size: 16px;\">🔍</span>\n        <input \n          type=\"text\" \n          id=\"sp-search-input\" \n          oninput=\"spFilterProducts()\" \n          placeholder=\"Rechercher un article, un code SKU, un plat...\" \n          style=\"width: 100%; border: none; outline: none; background: transparent; font-size: 13px; color: #0f172a;\"\n        />\n        <span style=\"font-size: 11px; background: #f1f5f9; color: #475569; padding: 3px 8px; border-radius: 6px; font-family: monospace; white-space: nowrap;\">SCAN READY</span>\n      </div>\n\n      <!-- Categories Pills -->\n      <div style=\"display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 16px;\">\n        <button onclick=\"spSetCategory('all', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 700; border: none; cursor: pointer; background: #10b981; color: #ffffff; white-space: nowrap;\">Tous les Articles</button>\n        <button onclick=\"spSetCategory('cafe', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;\">☕ Cafés & Boissons</button>\n        <button onclick=\"spSetCategory('boulangerie', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;\">🥐 Boulangerie</button>\n        <button onclick=\"spSetCategory('restaurant', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;\">🍔 Plats & Salades</button>\n        <button onclick=\"spSetCategory('retail', this)\" class=\"sp-cat-btn\" style=\"padding: 8px 14px; border-radius: 10px; font-size: 12px; font-weight: 600; border: 1px solid #e2e8f0; cursor: pointer; background: #ffffff; color: #475569; white-space: nowrap;\">🛍️ Boutique & Retail</button>\n      </div>\n\n      <!-- Products Grid -->\n      <div id=\"sp-products-container\" class=\"sp-products-grid\">\n        <!-- Injected via JavaScript -->\n      </div>\n    </div>\n\n    <!-- RIGHT: TICKET DE CAISSE PRO -->\n    <div class=\"sp-pos-cart-col\">\n      <div style=\"background: #ffffff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 18px; box-shadow: 0 4px 12px rgba(0,0,0,0.03); display: flex; flex-direction: column; gap: 14px;\">\n        \n        <!-- Ticket Header -->\n        <div style=\"display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #f1f5f9; padding-bottom: 12px;\">\n          <div>\n            <div style=\"font-weight: 800; font-size: 14px; color: #0f172a;\">Ticket #TK-2026-0842</div>\n            <div style=\"font-size: 11px; color: #64748b;\">Table 04 • Client Comptoir</div>\n          </div>\n          <button onclick=\"spClearCart()\" style=\"background: transparent; border: none; color: #ef4444; font-size: 12px; font-weight: 600; cursor: pointer;\">Vider</button>\n        </div>\n\n        <!-- Cart Items Scroll -->\n        <div id=\"sp-cart-items\" style=\"max-height: 280px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding-right: 2px;\">\n          <!-- Injected via JavaScript -->\n        </div>\n\n        <!-- Discounts Buttons -->\n        <div style=\"background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px;\">\n          <div style=\"font-size: 11px; font-weight: 700; color: #475569; margin-bottom: 6px; display: flex; justify-content: space-between;\">\n            <span>Remise Commerciale :</span>\n            <span id=\"sp-discount-label\" style=\"color: #059669;\">0%</span>\n          </div>\n          <div style=\"display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;\">\n            <button onclick=\"spApplyDiscount(0, this)\" class=\"sp-disc-btn\" style=\"background: #10b981; color: white; border: none; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;\">0%</button>\n            <button onclick=\"spApplyDiscount(5, this)\" class=\"sp-disc-btn\" style=\"background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;\">-5%</button>\n            <button onclick=\"spApplyDiscount(10, this)\" class=\"sp-disc-btn\" style=\"background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;\">-10%</button>\n            <button onclick=\"spApplyDiscount(20, this)\" class=\"sp-disc-btn\" style=\"background: #ffffff; color: #334155; border: 1px solid #cbd5e1; border-radius: 6px; padding: 5px; font-size: 11px; font-weight: bold; cursor: pointer;\">-20%</button>\n          </div>\n        </div>\n\n        <!-- Totals Card -->\n        <div style=\"background: #0f172a; color: #ffffff; border-radius: 14px; padding: 14px;\">\n          <div style=\"display: flex; justify-content: space-between; font-size: 12px; color: #94a3b8; margin-bottom: 4px;\">\n            <span>Sous-total Brut</span>\n            <span id=\"sp-subtotal-val\" style=\"font-family: monospace;\">0.00 €</span>\n          </div>\n          <div id=\"sp-discount-row\" style=\"display: none; justify-content: space-between; font-size: 12px; color: #34d399; margin-bottom: 4px;\">\n            <span>Remise déduite</span>\n            <span id=\"sp-discount-val\" style=\"font-family: monospace;\">-0.00 €</span>\n          </div>\n          <div style=\"display: flex; justify-content: space-between; font-size: 11px; color: #64748b; border-top: 1px solid #1e293b; padding-top: 6px; margin-top: 4px;\">\n            <span id=\"sp-ht-val\">Base HT: 0.00 €</span>\n            <span id=\"sp-tva-val\">TVA: 0.00 €</span>\n          </div>\n          <div style=\"display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid #1e293b; padding-top: 8px; margin-top: 8px;\">\n            <div>\n              <div style=\"font-size: 11px; text-transform: uppercase; color: #94a3b8; font-weight: bold;\">TOTAL TTC NET</div>\n              <div style=\"font-size: 9px; color: #34d399;\">Certifié NF525</div>\n            </div>\n            <div id=\"sp-total-val\" style=\"font-size: 24px; font-weight: 900; color: #34d399; font-family: monospace;\">0.00 €</div>\n          </div>\n        </div>\n\n        <!-- Payment Actions -->\n        <div style=\"display: grid; grid-template-columns: 1fr 1fr; gap: 8px;\">\n          <button onclick=\"spOpenPayment('Carte Bancaire (TPE)')\" style=\"background: #10b981; color: #ffffff; border: none; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; box-shadow: 0 4px 10px rgba(16,185,129,0.2);\">\n            💳 Carte Bancaire\n          </button>\n          <button onclick=\"spOpenPayment('Espèces (Cash)')\" style=\"background: #1e293b; color: #ffffff; border: none; border-radius: 12px; padding: 12px; font-weight: 800; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px;\">\n            💵 Espèces / Cash\n          </button>\n        </div>\n\n      </div>\n    </div>\n  </div>\n\n  <!-- RECEIPT MODAL (ESC/POS NF525) -->\n  <div id=\"sp-receipt-modal\" style=\"display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.75); backdrop-filter: blur(4px); z-index: 9999; align-items: center; justify-content: center; padding: 16px;\">\n    <div style=\"background: #ffffff; border-radius: 20px; max-width: 400px; width: 100%; padding: 24px; box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); text-align: left; position: relative;\">\n      <button onclick=\"spCloseModal()\" style=\"position: absolute; top: 16px; right: 16px; background: #f1f5f9; border: none; width: 30px; height: 30px; border-radius: 50%; font-weight: bold; cursor: pointer;\">✕</button>\n      \n      <div style=\"display: flex; align-items: center; gap: 8px; color: #059669; font-weight: 800; font-size: 14px; margin-bottom: 12px;\">\n        <span>✓</span> Encaissement Validé (NF525)\n      </div>\n\n      <!-- Thermal Receipt Visual Paper -->\n      <div style=\"background: #fffbeb; border: 1px solid #fef3c7; border-radius: 12px; padding: 16px; font-family: monospace; font-size: 11px; color: #1e293b; box-shadow: inset 0 2px 4px rgba(0,0,0,0.02);\">\n        <div style=\"text-align: center; border-bottom: 1px dashed #cbd5e1; padding-bottom: 8px; margin-bottom: 8px;\">\n          <div style=\"font-weight: 900; font-size: 14px;\">SMARTPOS AI PRO</div>\n          <div>BISTROT & COMMERCE PARIS</div>\n          <div style=\"font-size: 10px; color: #64748b;\">SIRET: 849 203 912 00014</div>\n          <div style=\"font-size: 10px; color: #64748b;\">CONFORME ART. 88 LOI FINANCES</div>\n        </div>\n\n        <div id=\"sp-modal-items-list\" style=\"margin-bottom: 8px; border-bottom: 1px dashed #cbd5e1; padding-bottom: 8px;\">\n          <!-- Dynamically populated -->\n        </div>\n\n        <div style=\"display: flex; justify-content: space-between; font-weight: bold; font-size: 13px; margin-bottom: 4px;\">\n          <span>TOTAL PAYÉ TTC</span>\n          <span id=\"sp-modal-total\">0.00 €</span>\n        </div>\n        <div id=\"sp-modal-method\" style=\"font-size: 10px; color: #059669; font-weight: bold; margin-bottom: 8px;\">\n          MODE: CARTE BANCAIRE\n        </div>\n\n        <div style=\"text-align: center; border-top: 1px dashed #cbd5e1; padding-top: 8px; font-size: 9px; color: #64748b;\">\n          <div>SIGNATURE CRYPTOGRAPHIQUE FISCALE :</div>\n          <div style=\"font-weight: bold; color: #0f172a; word-break: break-all;\">SHA256: 8F2B7E91C4A028E5-POS-FR</div>\n          <div style=\"margin-top: 4px;\">MERCI DE VOTRE VISITE !</div>\n        </div>\n      </div>\n\n      <div style=\"display: flex; gap: 8px; margin-top: 16px;\">\n        <button onclick=\"alert('Impression envoyée vers votre imprimante thermique ESC/POS 80mm.');\" style=\"flex: 1; background: #0f172a; color: white; border: none; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: bold; cursor: pointer;\">\n          🖨️ Imprimer\n        </button>\n        <button onclick=\"spNewSale()\" style=\"flex: 1; background: #10b981; color: white; border: none; padding: 10px; border-radius: 10px; font-size: 12px; font-weight: bold; cursor: pointer;\">\n          + Nouvelle Vente\n        </button>\n      </div>\n    </div>\n  </div>\n\n  <script>\n    (function() {\n      var PRODUCTS = [\n        { id: '1', name: 'Café Espresso Bio', cat: 'cafe', price: 2.50, emoji: '☕', tva: 10, sku: 'BOV-ESP' },\n        { id: '2', name: 'Cappuccino Mousse Lait', cat: 'cafe', price: 4.20, emoji: '🍵', tva: 10, sku: 'BOV-CAP' },\n        { id: '3', name: 'Thé Vert Menthe Fraîche', cat: 'cafe', price: 3.80, emoji: '🫖', tva: 10, sku: 'BOV-THE' },\n        { id: '4', name: 'Jus Orange Pressé Minute', cat: 'cafe', price: 4.50, emoji: '🍊', tva: 10, sku: 'BOV-JUS' },\n        { id: '5', name: 'Croissant Beurre AOP', cat: 'boulangerie', price: 1.90, emoji: '🥐', tva: 10, sku: 'BAK-CRO' },\n        { id: '6', name: 'Pain Chocolat Pur Beurre', cat: 'boulangerie', price: 2.10, emoji: '🥖', tva: 10, sku: 'BAK-CHO' },\n        { id: '7', name: 'Tiramisu Artisanal Café', cat: 'boulangerie', price: 5.50, emoji: '🍰', tva: 10, sku: 'BAK-TIR' },\n        { id: '8', name: 'Tarte Citron Meringuée', cat: 'boulangerie', price: 4.90, emoji: '🍋', tva: 10, sku: 'BAK-CIT' },\n        { id: '9', name: 'Burger Gourmet & Frites', cat: 'restaurant', price: 16.50, emoji: '🍔', tva: 10, sku: 'RES-BUR' },\n        { id: '10', name: 'Pizza Margherita DOC', cat: 'restaurant', price: 13.90, emoji: '🍕', tva: 10, sku: 'RES-PIZ' },\n        { id: '11', name: 'Salade César Poulet', cat: 'restaurant', price: 12.50, emoji: '🥗', tva: 10, sku: 'RES-SAL' },\n        { id: '12', name: 'Pâtes Truffe & Parmesan', cat: 'restaurant', price: 17.80, emoji: '🍝', tva: 10, sku: 'RES-PAT' },\n        { id: '13', name: 'Frites Maison Port.', cat: 'restaurant', price: 4.50, emoji: '🍟', tva: 10, sku: 'RES-FRI' },\n        { id: '14', name: 'T-Shirt Coton Bio SmartPOS', cat: 'retail', price: 29.00, emoji: '👕', tva: 20, sku: 'RET-TSH' },\n        { id: '15', name: 'Totebag Toile Canvas', cat: 'retail', price: 14.00, emoji: '👜', tva: 20, sku: 'RET-TOT' },\n        { id: '16', name: 'Gourde Inox Isotherme', cat: 'retail', price: 22.00, emoji: '🍶', tva: 20, sku: 'RET-GOU' }\n      ];\n\n      var cart = [\n        { product: PRODUCTS[0], qty: 2 },\n        { product: PRODUCTS[4], qty: 2 },\n        { product: PRODUCTS[8], qty: 1 }\n      ];\n\n      var currentCat = 'all';\n      var discountPercent = 0;\n      var lastPaymentMethod = 'Carte Bancaire';\n\n      function updateClock() {\n        var clockEl = document.getElementById('sp-live-clock');\n        if (clockEl) {\n          var d = new Date();\n          clockEl.innerText = d.toLocaleTimeString('fr-FR');\n        }\n      }\n      setInterval(updateClock, 1000);\n      updateClock();\n\n      window.spSetCategory = function(cat, btn) {\n        currentCat = cat;\n        var buttons = document.querySelectorAll('.sp-cat-btn');\n        buttons.forEach(function(b) {\n          b.style.background = '#ffffff';\n          b.style.color = '#475569';\n          b.style.border = '1px solid #e2e8f0';\n        });\n        btn.style.background = '#10b981';\n        btn.style.color = '#ffffff';\n        btn.style.border = 'none';\n        window.spFilterProducts();\n      };\n\n      window.spFilterProducts = function() {\n        var query = (document.getElementById('sp-search-input').value || '').toLowerCase();\n        var container = document.getElementById('sp-products-container');\n        if (!container) return;\n\n        var html = '';\n        PRODUCTS.forEach(function(p) {\n          var matchCat = (currentCat === 'all' || p.cat === currentCat);\n          var matchQuery = p.name.toLowerCase().includes(query) || p.sku.toLowerCase().includes(query);\n          if (matchCat && matchQuery) {\n            var inCartItem = cart.find(function(i) { return i.product.id === p.id; });\n            var count = inCartItem ? inCartItem.qty : 0;\n\n            html += '<div onclick=\"spAddToCart(\\'' + p.id + '\\')\" class=\"sp-btn-touch\" style=\"background:#ffffff; border:' + (count > 0 ? '2px solid #10b981' : '1px solid #e2e8f0') + '; border-radius:14px; padding:12px; display:flex; flex-direction:column; justify-content:space-between; position:relative;\">';\n            if (count > 0) {\n              html += '<span style=\"position:absolute; top:8px; right:8px; background:#10b981; color:#fff; font-size:10px; font-weight:800; width:20px; height:20px; border-radius:50%; display:flex; align-items:center; justify-content:center;\">' + count + '</span>';\n            }\n            html += '<div>';\n            html += '<div style=\"font-size:26px; margin-bottom:6px;\">' + p.emoji + '</div>';\n            html += '<div style=\"font-weight:700; font-size:12px; color:#0f172a; line-height:1.2;\">' + p.name + '</div>';\n            html += '<div style=\"font-size:10px; color:#94a3b8; margin-top:2px;\">' + p.sku + ' • TVA ' + p.tva + '%</div>';\n            html += '</div>';\n            html += '<div style=\"display:flex; justify-content:space-between; align-items:center; border-top:1px solid #f1f5f9; padding-top:8px; margin-top:8px;\">';\n            html += '<span style=\"font-weight:800; font-size:13px; color:#0f172a;\">' + p.price.toFixed(2) + ' €</span>';\n            html += '<span style=\"background:#ecfdf5; color:#059669; font-weight:bold; width:22px; height:22px; border-radius:6px; display:flex; align-items:center; justify-content:center; font-size:13px;\">+</span>';\n            html += '</div>';\n            html += '</div>';\n          }\n        });\n        container.innerHTML = html;\n      };\n\n      window.spAddToCart = function(id) {\n        var p = PRODUCTS.find(function(item) { return item.id === id; });\n        if (!p) return;\n        var existing = cart.find(function(item) { return item.product.id === id; });\n        if (existing) {\n          existing.qty += 1;\n        } else {\n          cart.push({ product: p, qty: 1 });\n        }\n        window.spRenderCart();\n        window.spFilterProducts();\n      };\n\n      window.spChangeQty = function(id, delta) {\n        var item = cart.find(function(i) { return i.product.id === id; });\n        if (!item) return;\n        item.qty += delta;\n        if (item.qty <= 0) {\n          cart = cart.filter(function(i) { return i.product.id !== id; });\n        }\n        window.spRenderCart();\n        window.spFilterProducts();\n      };\n\n      window.spClearCart = function() {\n        cart = [];\n        discountPercent = 0;\n        window.spRenderCart();\n        window.spFilterProducts();\n      };\n\n      window.spApplyDiscount = function(pct, btn) {\n        discountPercent = pct;\n        document.querySelectorAll('.sp-disc-btn').forEach(function(b) {\n          b.style.background = '#ffffff';\n          b.style.color = '#334155';\n          b.style.border = '1px solid #cbd5e1';\n        });\n        btn.style.background = '#10b981';\n        btn.style.color = '#ffffff';\n        btn.style.border = 'none';\n        document.getElementById('sp-discount-label').innerText = pct > 0 ? '-' + pct + '%' : '0%';\n        window.spRenderCart();\n      };\n\n      window.spRenderCart = function() {\n        var cartContainer = document.getElementById('sp-cart-items');\n        if (!cartContainer) return;\n\n        if (cart.length === 0) {\n          cartContainer.innerHTML = '<div style=\"text-align:center; padding:30px 10px; color:#94a3b8; font-size:12px;\">Ticket vide.<br>Sélectionnez un article pour commencer.</div>';\n        } else {\n          var html = '';\n          cart.forEach(function(item) {\n            html += '<div style=\"display:flex; justify-content:space-between; align-items:center; background:#f8fafc; border:1px solid #e2e8f0; border-radius:10px; padding:8px 10px;\">';\n            html += '<div style=\"display:flex; align-items:center; gap:8px;\">';\n            html += '<span style=\"font-size:18px;\">' + item.product.emoji + '</span>';\n            html += '<div>';\n            html += '<div style=\"font-weight:700; font-size:11px; color:#0f172a;\">' + item.product.name + '</div>';\n            html += '<div style=\"font-size:10px; color:#64748b;\">' + item.product.price.toFixed(2) + ' € x ' + item.qty + ' = <strong style=\"color:#059669;\">' + (item.product.price * item.qty).toFixed(2) + ' €</strong></div>';\n            html += '</div>';\n            html += '</div>';\n            html += '<div style=\"display:flex; align-items:center; gap:4px;\">';\n            html += '<button onclick=\"spChangeQty(\\'' + item.product.id + '\\', -1)\" style=\"width:22px; height:22px; border-radius:6px; border:1px solid #cbd5e1; background:#ffffff; font-weight:bold; cursor:pointer;\">-</button>';\n            html += '<span style=\"width:18px; text-align:center; font-weight:bold; font-size:11px;\">' + item.qty + '</span>';\n            html += '<button onclick=\"spChangeQty(\\'' + item.product.id + '\\', 1)\" style=\"width:22px; height:22px; border-radius:6px; border:1px solid #cbd5e1; background:#ffffff; font-weight:bold; cursor:pointer;\">+</button>';\n            html += '</div>';\n            html += '</div>';\n          });\n          cartContainer.innerHTML = html;\n        }\n\n        // Calculations\n        var subtotal = cart.reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);\n        var discAmount = (subtotal * discountPercent) / 100;\n        var netTotal = Math.max(0, subtotal - discAmount);\n\n        var tva10Items = cart.filter(function(i) { return i.product.tva === 10; }).reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);\n        var tva20Items = cart.filter(function(i) { return i.product.tva === 20; }).reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);\n\n        var tva10 = (tva10Items * (1 - discountPercent / 100) * 10) / 110;\n        var tva20 = (tva20Items * (1 - discountPercent / 100) * 20) / 120;\n        var baseHt = netTotal - tva10 - tva20;\n\n        document.getElementById('sp-subtotal-val').innerText = subtotal.toFixed(2) + ' €';\n        document.getElementById('sp-total-val').innerText = netTotal.toFixed(2) + ' €';\n        document.getElementById('sp-ht-val').innerText = 'Base HT: ' + baseHt.toFixed(2) + ' €';\n        document.getElementById('sp-tva-val').innerText = 'TVA: ' + (tva10 + tva20).toFixed(2) + ' €';\n\n        var discRow = document.getElementById('sp-discount-row');\n        if (discountPercent > 0) {\n          discRow.style.display = 'flex';\n          document.getElementById('sp-discount-val').innerText = '-' + discAmount.toFixed(2) + ' €';\n        } else {\n          discRow.style.display = 'none';\n        }\n      };\n\n      window.spOpenPayment = function(method) {\n        if (cart.length === 0) {\n          alert('Votre ticket est vide. Ajoutez des articles pour encaisser.');\n          return;\n        }\n        lastPaymentMethod = method;\n        var modal = document.getElementById('sp-receipt-modal');\n        var listContainer = document.getElementById('sp-modal-items-list');\n        var totalEl = document.getElementById('sp-modal-total');\n        var methodEl = document.getElementById('sp-modal-method');\n\n        var itemsHtml = '';\n        cart.forEach(function(i) {\n          itemsHtml += '<div style=\"display:flex; justify-content:space-between; margin-bottom:2px;\">';\n          itemsHtml += '<span>' + i.qty + 'x ' + i.product.name.substring(0, 18) + '</span>';\n          itemsHtml += '<span>' + (i.product.price * i.qty).toFixed(2) + ' €</span>';\n          itemsHtml += '</div>';\n        });\n\n        var subtotal = cart.reduce(function(acc, i) { return acc + i.product.price * i.qty; }, 0);\n        var discAmount = (subtotal * discountPercent) / 100;\n        var netTotal = Math.max(0, subtotal - discAmount);\n\n        listContainer.innerHTML = itemsHtml;\n        totalEl.innerText = netTotal.toFixed(2) + ' €';\n        methodEl.innerText = 'RÈGLEMENT : ' + method.toUpperCase();\n\n        modal.style.display = 'flex';\n      };\n\n      window.spCloseModal = function() {\n        document.getElementById('sp-receipt-modal').style.display = 'none';\n      };\n\n      window.spNewSale = function() {\n        window.spClearCart();\n        window.spCloseModal();\n      };\n\n      // Initial execution\n      window.spFilterProducts();\n      window.spRenderCart();\n    })();\n  </script>\n</div>"}}]}]}]]]></wp:meta_value>
		</wp:postmeta>
	</item>

</channel>
</rss>