<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    
    <title>Haythem Salhi | Fractional CRO & RevOps Consultant</title>
    <meta name="description" content="Master Predictable Revenue. Stop Guessing. Fractional CRO & RevOps expert aligning Sales, Marketing & Operations for SaaS & Agencies.">
    <meta name="author" content="Haythem Salhi">
    
    <meta name="robots" content="index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1">
    
    <script type="application/ld+json">
    {
      "@context": "https://schema.org",
      "@type": "Person",
      "name": "Haythem Salhi",
      "jobTitle": "Fractional CRO & RevOps Consultant",
      "url": "https://haythemsalhi.com",
      "image": "https://haythemsalhi.com/portrait-haythem.webp",
      "sameAs": [
        "https://www.linkedin.com/in/haythemsalhi/"
      ],
      "worksFor": {
        "@type": "Organization",
        "name": "Haythem Salhi Consulting"
      },
      "description": "Expert Revenue Operations (RevOps) et Fractional CRO aidant les SaaS et Agences à structurer leur croissance.",
      "knowsAbout": ["Revenue Operations", "Sales Strategy", "HubSpot", "Go-To-Market", "Business Scaling"]
    }
    </script>
    
    <!-- Open Graph / Facebook -->
    <meta property="og:type" content="website">
    <meta property="og:url" content="https://haythemsalhi.com/">
    <meta property="og:title" content="Haythem Salhi | Fractional CRO & RevOps Consultant">
    <meta property="og:description" content="Master Predictable Revenue. Stop Guessing. Aligning Sales, Marketing & Operations for SaaS & Agencies.">
    <meta property="og:image" content="https://haythemsalhi.com/portrait-haythem.webp">

    <!-- Twitter -->
    <meta property="twitter:card" content="summary_large_image">
    <meta property="twitter:url" content="https://haythemsalhi.com/">
    <meta property="twitter:title" content="Haythem Salhi | Fractional CRO & RevOps Consultant">
    <meta property="twitter:description" content="Master Predictable Revenue. Stop Guessing. Aligning Sales, Marketing & Operations for SaaS & Agencies.">
    <meta property="twitter:image" content="https://haythemsalhi.com/portrait-haythem.webp">

    <link rel="icon" type="image/png" href="./icon-h.png">

    <script src="https://cdn.tailwindcss.com"></script>
    
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap" rel="stylesheet">
    
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    fontFamily: { sans: ['Inter', 'sans-serif'] },
                    colors: {
                        darkBlue: '#0A192F',
                        electricBlue: '#1E5BF0',
                        paleGray: '#F4F6F8',
                    },
                    animation: {
                        'fade-in-up': 'fadeInUp 0.5s ease-out forwards',
                    },
                    keyframes: {
                        fadeInUp: {
                            '0%': { opacity: '0', transform: 'translateY(20px)' },
                            '100%': { opacity: '1', transform: 'translateY(0)' },
                        }
                    }
                }
            }
        }
    </script>

    <script crossorigin src="https://unpkg.com/react@18/umd/react.production.min.js"></script>
    <script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.production.min.js"></script>
    <script src="https://unpkg.com/@babel/standalone/babel.min.js"></script>

    <style>
        body { font-family: 'Inter', sans-serif; -webkit-font-smoothing: antialiased; scroll-behavior: smooth; }
        .glass-nav { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); }
        .glass-dark { background: rgba(10, 25, 47, 0.95); backdrop-filter: blur(10px); }
        section { scroll-margin-top: 80px; }
        
        /* === CORRECTION HUBSPOT CALENDRIER === */
        .meetings-iframe-container iframe { 
            min-height: 850px !important; 
            width: 100% !important;
            border: none !important;
        }
        /* === CORRECTION HUBSPOT FORM === */
        .hs-form-frame {
            width: 100%;
            min-height: 600px;
        }
    </style>
</head>
<body class="bg-white text-slate-800">

    <div id="root"></div>

    <script type="text/babel">
        const { useState, useEffect, useRef } = React;

        /* --- CONFIGURATION --- */
        const assets = {
            logo: "./logo-header.png", 
            logoFooter: "./logo-footer.png",
            portrait: "./portrait-haythem.webp",
            icon: "./icon-h.png"
        };

        const links = {
            booking: "https://meetings-eu1.hubspot.com/haythem-salhi", 
            linkedin: "https://www.linkedin.com/in/haythemsalhi/",
            cert_revops: "https://app-eu1.hubspot.com/academy/achievements/j6pppgfq/en/1/haythem-salhi/revenue-operations",
            cert_sales: "https://app-eu1.hubspot.com/academy/achievements/qwvp9hrg/en/1/haythem-salhi/sales-management",
            cert_hub_sales: "https://app-eu1.hubspot.com/academy/achievements/h5clh744/en/1/haythem-salhi/hubspot-sales-hub-software",
            cert_inbound: "https://app-eu1.hubspot.com/academy/achievements/3qpp3h6m/en/1/haythem-salhi/inbound"
        };

        // ID GOOGLE ANALYTICS
        const GA_MEASUREMENT_ID = 'G-E2ZRB0KPGL';

        /* --- FONCTION D'ACTIVATION ANALYTICS (RGPD) --- */
        const loadGoogleAnalytics = () => {
            if (window.ga_loaded) return; 
            
            console.log("Consentement validé : Chargement de Google Analytics...");
            
            const script = document.createElement('script');
            script.async = true;
            script.src = `https://www.googletagmanager.com/gtag/js?id=${GA_MEASUREMENT_ID}`;
            document.head.appendChild(script);

            window.dataLayer = window.dataLayer || [];
            function gtag(){dataLayer.push(arguments);}
            gtag('js', new Date());
            gtag('config', GA_MEASUREMENT_ID);
            
            window.ga_loaded = true;
        };

        /* --- ICÔNES --- */
        const IconMenu = ({size=24}) => <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="4" y1="12" x2="20" y2="12"></line><line x1="4" y1="6" x2="20" y2="6"></line><line x1="4" y1="18" x2="20" y2="18"></line></svg>;
        const IconX = ({size=24}) => <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>;
        const IconCheck = ({size=24, className=""}) => <svg className={className} width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="3" strokeLinecap="round" strokeLinejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>;
        const IconArrowRight = ({size=24, className=""}) => <svg className={className} width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>;
        const IconBarChart = ({size=24}) => <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><line x1="12" y1="20" x2="12" y2="10"></line><line x1="18" y1="20" x2="18" y2="4"></line><line x1="6" y1="20" x2="6" y2="16"></line></svg>;
        const IconLayers = ({size=24}) => <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><polygon points="12 2 2 7 12 12 22 7 12 2"></polygon><polyline points="2 17 12 22 22 17"></polyline><polyline points="2 12 12 17 22 12"></polyline></svg>;
        const IconUsers = ({size=24}) => <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"></path><circle cx="9" cy="7" r="4"></circle><path d="M23 21v-2a4 4 0 0 0-3-3.87"></path><path d="M16 3.13a4 4 0 0 1 0 7.75"></path></svg>;
        const IconShield = ({size=24}) => <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"></path></svg>;
        const IconTrendingUp = ({size=24}) => <svg width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline><polyline points="17 6 23 6 23 12"></polyline></svg>;
        const IconExternalLink = ({size=24, className=""}) => <svg className={className} width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path><polyline points="15 3 21 3 21 9"></polyline><line x1="10" y1="14" x2="21" y2="3"></line></svg>;
        const IconGlobe = ({size=24, className=""}) => <svg className={className} width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><circle cx="12" cy="12" r="10"></circle><line x1="2" y1="12" x2="22" y2="12"></line><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"></path></svg>;
        const IconCookie = ({size=24, className=""}) => <svg className={className} width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M12 2a10 10 0 1 0 10 10 4 4 0 0 1-5-5 4 4 0 0 1-5-5"></path><path d="M8.5 8.5v.01"></path><path d="M16 15.5v.01"></path><path d="M12 12v.01"></path><path d="M11 17v.01"></path><path d="M7 14v.01"></path></svg>;
        const IconLinkedin = ({size=24, className=""}) => <svg className={className} width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round"><path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2 2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6z"></path><rect x="2" y="9" width="4" height="12"></rect><circle cx="4" cy="4" r="2"></circle></svg>;
        // AJOUT: Icône Piment "Harissa" - Flat Minimalist & Centré
        const IconChili = ({size=24, className=""}) => (
            <svg className={className} width={size} height={size} viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" strokeLinecap="round" strokeLinejoin="round">
                <path d="M17.5 4.5c-2.5 3-5 5-5 5" /> {/* Stem */}
                <path d="M13 10c-3 3-5 7-5 10 0 0-1 1-2-1s1-6 4-9c2-2 5-3 8-3 0 0 2-1 2 1s-4 0-7 2z" /> {/* Body */}
            </svg>
        );

        const content = {
            fr: {
                nav: { items: [ {label: "Expertise", id: "about"}, {label: "Services", id: "services"}, {label: "Méthode", id: "method"}, {label: "Cas Clients", id: "results"} ], cta: "Réserver mon Growth Scan", contact: "Contact" },
                hero: { 
                    label: "Fractional CRO & RevOps", 
                    h1: "Pilotez une croissance prévisible. Ne la subissez plus.", 
                    h2: "Ancien CEO et expert certifié en RevOps. J'aligne vos ventes, votre marketing et vos opérations pour transformer votre SaaS ou votre Agence en une machine à revenus pilotée par la donnée.", 
                    btn1: "Calculer mon Growth Score (Gratuit)", 
                    btn2: "Réserver mon Growth Scan", 
                    stats: [ 
                        { icon: IconUsers, text: "20 ans d'Expérience (Ex-CEO)" }, 
                        { icon: IconTrendingUp, text: "Croissance +40% / an" }, 
                        { icon: IconLayers, text: "75% Revenu Digital" }, 
                        { icon: IconShield, text: "Expert RevOps & GTM" } 
                    ] 
                },
                about: { 
                    title: "La vision d’un CEO, la précision d’un Architecte.", 
                    mainText: "Avec 20 ans de direction générale, j'ai appris qu'une croissance saine repose sur la robustesse du système. J'ai bâti des écosystèmes digitaux générant 75% du chiffre d'affaires en ligne et maintenu une croissance de +40% par an.", 
                    subText: "Je ne conseille pas seulement ; je construis.", 
                    bullets: [ 
                        { title: "Ex‑Founder & CEO :", desc: "20 ans de pilotage de centres de profit et gestion de P&L." }, 
                        { 
                            title: "Expert RevOps Certifié :", 
                            desc: "Architecture Revenue & Sales Management. Certifié HubSpot.",
                            certifications: [ 
                                { name: "RevOps", url: links.cert_revops },
                                { name: "Sales Hub", url: links.cert_hub_sales },
                                { name: "Sales Mgmt", url: links.cert_sales },
                                { name: "Inbound", url: links.cert_inbound }
                            ]
                        }, 
                        { title: "Gestion de crise :", desc: "+350% de rebond d'activité post-crise grâce à la restructuration stratégique." } 
                    ] 
                },
                services: { 
                    title: "Nos Services", 
                    subtitle: "Une offre globale pour structurer et accélérer votre moteur de revenus.", 
                    cards: [ 
                        { title: "RevOps Blueprint", desc: "Audit complet et Roadmap. Analyse forensique de votre Stack, de vos données et de vos silos pour identifier les fuites de cash.", list: ["Audit Stack & Data", "Alignement Sales/Mkt", "Roadmap Prioritaire"], icon: IconBarChart }, 
                        { title: "Revenue Infrastructure", desc: "Implémentation Sprint. Installation de votre CRM (Source Unique de Vérité), de vos playbooks et automatisations pour scaler sans chaos.", list: ["Setup CRM (SSOT)", "Playbooks Ventes", "Automatisations"], icon: IconLayers }, 
                        { title: "Fractional Partner", desc: "Pilotage et Direction CRO. Accompagnement hebdomadaire pour aligner vos équipes et garantir l'exécution de la stratégie GTM.", list: ["Direction CRO", "Coaching Équipes", "Exécution GTM"], icon: IconGlobe } 
                    ] 
                },
                method: {
                    title: "De la Stratégie à l'Exécution",
                    subtitle: "Une méthodologie structurée pour aligner vos équipes et sécuriser votre croissance.",
                    steps: [
                        { step: "01", title: "Diagnostic", action: "Analyse de votre Pipeline, de votre Stack et des frictions inter-équipes.", outcome: "Identification immédiate des fuites de revenus." },
                        { step: "02", title: "Architecture", action: "Design des processus, nettoyage CRM (SSOT) et alignement Sales/Marketing.", outcome: "Une machine de revenus prête à scaler." },
                        { step: "03", title: "Activation", action: "Coaching des équipes et conduite du changement pour garantir l'adoption.", outcome: "Adoption à 100% et fin des silos." },
                        { step: "04", title: "Scaling", action: "Optimisation continue, Go-To-Market international et pilotage par la donnée.", outcome: "Une croissance prédictible et pilotée par la Data." }
                    ]
                },
                results: { 
                    title: "Résultats Prouvés", 
                    cases: [ 
                        { title: "Croissance Annuelle", value: "+40%", sub: "CAGR moyen maintenu" }, 
                        { title: "Revenu Digital", value: "75%", sub: "du CA total généré via l'écosystème" }, 
                        { title: "Rebond Post-Crise", value: "+350%", sub: "de croissance après restructuration" } 
                    ] 
                },
                quiz: {
                    title: "Votre moteur de revenus est-il prêt pour l'échelle ?",
                    text: "Répondez à 10 questions critiques sur votre infrastructure Data, vos prévisions et votre alignement. Recevez votre score personnalisé et mon diagnostic sous 24h.",
                    btn: "Démarrer le test (2 minutes)"
                },
                cta: {
                    title: "Prêt à sécuriser votre croissance ?",
                    subtitle: "Réservez votre Growth Scan (Audit Gratuit) ci-dessous.",
                    btn: "Réserver mon Growth Scan"
                },
                footer: { contact: "hello@haythemsalhi.com", links: ["Mentions Légales", "Confidentialité"], copy: "© 2025 Haythem Salhi Consulting." },
                cookies: { text: "Ce site utilise des cookies pour améliorer votre expérience.", accept: "Accepter", decline: "Continuer sans accepter" }
            },
            en: {
                nav: { items: [ {label: "Expertise", id: "about"}, {label: "Services", id: "services"}, {label: "Method", id: "method"}, {label: "Stories", id: "results"} ], cta: "Book my Growth Scan", contact: "Contact" },
                hero: { 
                    label: "Fractional CRO & RevOps", 
                    h1: "Master Predictable Revenue. Stop Guessing.", 
                    h2: "Former CEO and certified RevOps Expert. I align Sales, Marketing, and Operations to turn your SaaS or Agency into a data-driven revenue engine built for scale.", 
                    btn1: "Get my Growth Score (Free)", 
                    btn2: "Book my Growth Scan", 
                    stats: [ 
                        { icon: IconUsers, text: "20 Years Executive Exp." }, 
                        { icon: IconTrendingUp, text: "+40% CAGR Growth" }, 
                        { icon: IconLayers, text: "75% Digital Revenue" }, 
                        { icon: IconShield, text: "RevOps & GTM Expert" } 
                    ] 
                },
                about: { 
                    title: "The CEO’s Vision, the Architect’s Precision.", 
                    mainText: "With 20 years of executive leadership, I have learned that sustainable growth is built on systemic robustness. I have architected digital ecosystems generating 75% of total revenue online and maintained a +40% CAGR.", 
                    subText: "I don't just advise; I build.", 
                    bullets: [ 
                        { title: "Former Founder & CEO:", desc: "20 years running profit centers and managing P&Ls." }, 
                        { 
                            title: "Certified RevOps Expert:", 
                            desc: "Revenue Architecture & Sales Management. HubSpot Certified.",
                            certifications: [
                                { name: "RevOps", url: links.cert_revops },
                                { name: "Sales Hub", url: links.cert_hub_sales },
                                { name: "Sales Mgmt", url: links.cert_sales },
                                { name: "Inbound", url: links.cert_inbound }
                            ]
                        }, 
                        { title: "Crisis Management:", desc: "+350% post-crisis activity rebound via strategic restructuring." } 
                    ] 
                },
                services: { 
                    title: "Services", 
                    subtitle: "Three levers to structure and accelerate your revenue engine.", 
                    cards: [ 
                        { title: "RevOps Blueprint", desc: "Comprehensive Audit & Roadmap. A forensic analysis of your tech stack, data, and silos to identify revenue leaks.", list: ["Stack & Data Audit", "Sales/Mkt Alignment", "Revenue Roadmap"], icon: IconBarChart }, 
                        { title: "Revenue Infrastructure", desc: "Sprint Implementation. Building your CRM (Single Source of Truth), sales playbooks, and automations to scale without chaos.", list: ["CRM Setup (SSOT)", "Sales Playbooks", "Automations"], icon: IconLayers }, 
                        { title: "Fractional Partner", desc: "Fractional CRO Leadership. Ongoing weekly partnership to align your teams and ensure the execution of your GTM strategy.", list: ["Fractional CRO", "Team Coaching", "GTM Execution"], icon: IconGlobe } 
                    ] 
                },
                method: {
                    title: "From Strategy to Execution",
                    subtitle: "A structured framework to align your teams and unlock predictable revenue.",
                    steps: [
                        { step: "01", title: "Diagnosis", action: "Analysis of your Pipeline, Tech Stack, and team frictions.", outcome: "Immediate identification of revenue leaks." },
                        { step: "02", title: "Architecture", action: "Process design, CRM cleanup (SSOT), and Sales/Marketing alignment.", outcome: "A revenue engine built for scale." },
                        { step: "03", title: "Activation", action: "Team coaching and change management to ensure adoption.", outcome: "100% adoption and elimination of silos." },
                        { step: "04", title: "Scaling", action: "Continuous optimization, International Go-To-Market, and data-driven steering.", outcome: "Data-driven, predictable growth." }
                    ]
                },
                results: { 
                    title: "Proven Results", 
                    cases: [ 
                        { title: "Annual Growth", value: "+40%", sub: "Average CAGR maintained" }, 
                        { title: "Digital Revenue", value: "75%", sub: "of total revenue generated online" }, 
                        { title: "Post-Crisis", value: "+350%", sub: "activity rebound" } 
                    ] 
                },
                quiz: {
                    title: "Is your revenue engine built for scale?",
                    text: "Answer 10 critical questions regarding your Data infrastructure, forecasting, and alignment. Receive your personalized score and my diagnostic within 24 hours.",
                    btn: "Start the test (2 minutes)"
                },
                cta: {
                    title: "Ready to secure your growth?",
                    subtitle: "Choose a time slot below. The audit is free.",
                    btn: "Book my Growth Scan"
                },
                footer: { contact: "hello@haythemsalhi.com", links: ["Legal Mentions", "Privacy"], copy: "© 2025 Haythem Salhi Consulting." },
                cookies: { text: "We use cookies to enhance your browsing experience.", accept: "Accept", decline: "Decline" }
            }
        };

        /* --- COMPOSANT BANNIÈRE COOKIES --- */
        const CookieBanner = ({ lang, onAccept, onDecline }) => {
            const t = content[lang].cookies;
            return (
                <div className="fixed bottom-0 left-0 w-full p-4 z-50 animate-fade-in-up">
                    <div className="max-w-4xl mx-auto glass-dark border border-white/10 rounded-xl p-4 md:p-6 flex flex-col md:flex-row items-center justify-between gap-4 shadow-2xl">
                        <div className="flex items-center gap-4">
                            <div className="p-2 bg-electricBlue/20 rounded-full text-electricBlue hidden md:block">
                                <IconCookie size={24} />
                            </div>
                            <p className="text-sm text-slate-300">{t.text}</p>
                        </div>
                        <div className="flex gap-3 w-full md:w-auto">
                            <button onClick={onDecline} className="flex-1 md:flex-none px-4 py-2 rounded-lg text-xs font-bold text-slate-400 hover:text-white hover:bg-white/5 transition-colors whitespace-nowrap">
                                {t.decline}
                            </button>
                            <button onClick={onAccept} className="flex-1 md:flex-none px-6 py-2 rounded-lg text-xs font-bold bg-electricBlue text-white hover:bg-blue-600 transition-colors shadow-lg shadow-blue-500/20">
                                {t.accept}
                            </button>
                        </div>
                    </div>
                </div>
            );
        };

        /* --- COMPOSANT HUBSPOT FORM (QUIZ) --- */
        const HubspotForm = ({ region, portalId, formId }) => {
            useEffect(() => {
                // Nettoyage préventif
                const existingScripts = document.querySelectorAll(`script[src*="${portalId}.js"]`);
                existingScripts.forEach(s => s.remove());

                // Injection du script
                const script = document.createElement('script');
                script.src = `https://js-eu1.hsforms.net/forms/embed/${portalId}.js`;
                script.defer = true;
                script.async = true;
                document.body.appendChild(script);

                return () => {
                   // Cleanup si nécessaire
                }
            }, [portalId, formId]); // Re-run si le form ID change (changement de langue)

            return (
                <div className="hs-form-frame animate-fade-in-up" 
                     data-region={region} 
                     data-form-id={formId} 
                     data-portal-id={portalId}>
                </div>
            );
        };

        /* --- COMPOSANT HUBSPOT BOOKING (OPTIMISÉ) --- */
        const HubspotBooking = () => {
            useEffect(() => {
                if (document.querySelector('script[src*="MeetingsEmbedCode.js"]')) return;
                const script = document.createElement("script");
                script.src = "https://static.hsappstatic.net/MeetingsEmbed/ex/MeetingsEmbedCode.js";
                script.async = true;
                document.body.appendChild(script);
            }, []);

            return (
                <div className="w-full bg-white rounded-xl shadow-lg border border-slate-200 relative z-10 p-2 md:p-6 min-h-[600px]">
                    <div className="meetings-iframe-container" data-src="https://meetings-eu1.hubspot.com/haythem1?embed=true"></div>
                </div>
            );
        };

        function App() {
            // === INITIALISATION LANGUE (SEO FRIENDLY) ===
            const [lang, setLang] = useState(() => {
                const params = new URLSearchParams(window.location.search);
                return params.get('lang') === 'fr' ? 'fr' : 'en';
            });
            const [isMenuOpen, setIsMenuOpen] = useState(false);
            const [showCookies, setShowCookies] = useState(false);
            const [showQuiz, setShowQuiz] = useState(false);
            
            // Reference pour le scroll automatique du Quiz
            const quizSectionRef = useRef(null);

            const t = content[lang];

            /* --- CONFIGURATION FORMS HUBSPOT --- */
            const hsConfig = {
                region: "eu1",
                portalId: "147416473",
                formId: lang === 'fr' 
                    ? "055744f6-ad3b-4b99-bcc5-8d51930982b1" // FR
                    : "b2033b27-be4b-4b0b-b792-e9e977b5424b" // EN
            };

            /* --- EFFET DE BORD : SEO (TITRE, URL, CANONICAL) --- */
            useEffect(() => {
                const currentUrl = window.location.href;
                
                // 1. Titre et Description Meta
                if (lang === 'fr') {
                    document.title = "Haythem Salhi | Consultant Fractional CRO & RevOps";
                    const metaDesc = document.querySelector('meta[name="description"]');
                    if(metaDesc) metaDesc.setAttribute("content", "Pilotez une croissance prévisible. Expert Fractional CRO & RevOps alignant Ventes, Marketing & Opérations pour les SaaS et Agences.");
                } else {
                    document.title = "Haythem Salhi | Fractional CRO & RevOps Consultant";
                    const metaDesc = document.querySelector('meta[name="description"]');
                    if(metaDesc) metaDesc.setAttribute("content", "Master Predictable Revenue. Stop Guessing. Fractional CRO & RevOps expert aligning Sales, Marketing & Operations for SMEs globally.");
                }

                // 2. Mise à jour de l'URL sans recharger (PushState)
                // MODIFICATION: Ajout try-catch pour éviter le crash en environnement preview (SecurityError)
                const currentParams = new URLSearchParams(window.location.search);
                try {
                    if (lang === 'fr' && currentParams.get('lang') !== 'fr') {
                        window.history.pushState({}, '', '?lang=fr');
                    } else if (lang === 'en' && currentParams.get('lang')) {
                        // Use a safer default if pathname is problematic in blob context, though try-catch handles it.
                        window.history.pushState({}, '', window.location.pathname || '/');
                    }
                } catch (e) {
                    console.log("Navigation update suppressed in sandbox:", e);
                }

                // 3. GESTION CANONICAL
                let linkCanonical = document.querySelector('link[rel="canonical"]');
                if (!linkCanonical) {
                    linkCanonical = document.createElement('link');
                    linkCanonical.rel = 'canonical';
                    document.head.appendChild(linkCanonical);
                }
                
                if (lang === 'fr') {
                    linkCanonical.href = 'https://haythemsalhi.com/?lang=fr';
                } else {
                    linkCanonical.href = 'https://haythemsalhi.com/';
                }
                
                // Reset Quiz view on lang switch
                setShowQuiz(false);

            }, [lang]);

            /* --- GESTION DES COOKIES --- */
            useEffect(() => {
                const consent = localStorage.getItem('cookieConsent');
                if (!consent) {
                    setTimeout(() => setShowCookies(true), 1000); 
                } else if (consent === 'accepted') {
                    loadGoogleAnalytics();
                }
            }, []);

            const handleCookieChoice = (choice) => {
                localStorage.setItem('cookieConsent', choice);
                setShowCookies(false);
                if (choice === 'accepted') {
                    loadGoogleAnalytics();
                }
            };
            
            // FONCTION DE TRACKING MANUEL
            const trackClick = (label) => {
                if (typeof window.gtag === 'function') {
                    window.gtag('event', 'click', {
                        'event_category': 'CTA',
                        'event_label': label
                    });
                }
            };
            
            const switchLang = (newLang) => {
                setLang(newLang);
                trackClick(`Switch_Lang_${newLang.toUpperCase()}`);
            };

            // Fonction pour gérer l'ouverture du quiz et le scroll
            const handleStartQuiz = () => {
                trackClick('Quiz_Start');
                setShowQuiz(true);
                // Petit délai pour laisser le composant s'afficher avant de scroller
                setTimeout(() => {
                    if (quizSectionRef.current) {
                        const yOffset = -80; // Offset pour la navbar fixe
                        const element = quizSectionRef.current;
                        const y = element.getBoundingClientRect().top + window.pageYOffset + yOffset;
                        window.scrollTo({top: y, behavior: 'smooth'});
                    }
                }, 100);
            };

            return (
                <div className="font-sans bg-white text-slate-800">
                    
                    {/* HEADER FIXE ET STABLE */}
                    <nav className="fixed w-full z-50 glass-nav border-b border-slate-100 shadow-sm transition-all duration-300">
                        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                            <div className="flex items-center h-24">
                                
                                {/* ZONE 1 : LOGO */}
                                <div className="flex-shrink-0 flex items-center gap-3 lg:w-1/4">
                                    <a href="#">
                                        <img 
                                            src={assets.logo} 
                                            alt="Haythem Salhi Consulting" 
                                            className="h-9 sm:h-12 w-auto object-contain"
                                            onError={(e) => {
                                                e.target.style.display = 'none'; 
                                                const span = document.createElement('span');
                                                span.className = "font-bold text-xl tracking-tight text-[#0A192F]";
                                                span.innerHTML = 'HAYTHEM SALHI <span class="text-[#1E5BF0]">CONSULTING</span>';
                                                e.target.parentNode.appendChild(span);
                                            }}
                                        />
                                    </a>
                                </div>
                                
                                {/* ZONE 2 : MENU CENTRAL */}
                                <div className="hidden lg:flex flex-1 justify-center items-center space-x-8">
                                    {t.nav.items.map((item, idx) => (
                                        <a key={idx} href={`#${item.id}`} className="text-sm font-semibold text-slate-600 hover:text-[#1E5BF0] transition-colors uppercase tracking-wide whitespace-nowrap">
                                            {item.label}
                                        </a>
                                    ))}
                                </div>

                                {/* ZONE 3 : ACTIONS DROITE */}
                                <div className="hidden lg:flex lg:w-1/4 justify-end items-center gap-6">
                                    
                                    {/* Sélecteur de langue */}
                                    <div className="flex items-center gap-3 text-xs font-bold tracking-widest">
                                        <a 
                                            href="/"
                                            onClick={(e) => { e.preventDefault(); switchLang('en'); }}
                                            className={`py-1 transition-all duration-300 border-b-2 ${lang === 'en' ? 'text-[#1E5BF0] border-[#1E5BF0]' : 'text-slate-400 border-transparent hover:text-slate-600'}`}
                                        >
                                            EN
                                        </a>
                                        <a 
                                            href="?lang=fr"
                                            onClick={(e) => { e.preventDefault(); switchLang('fr'); }}
                                            className={`py-1 transition-all duration-300 border-b-2 ${lang === 'fr' ? 'text-[#1E5BF0] border-[#1E5BF0]' : 'text-slate-400 border-transparent hover:text-slate-600'}`}
                                        >
                                            FR
                                        </a>
                                    </div>

                                    {/* Bouton CTA */}
                                    <a 
                                        href="#booking"
                                        onClick={() => trackClick('Header_CTA')}
                                        className="bg-electricBlue text-white px-5 py-3 rounded-md text-sm font-bold hover:bg-blue-700 transition-all shadow-lg shadow-blue-500/20 hover:shadow-blue-500/40 transform hover:-translate-y-0.5 whitespace-nowrap"
                                    >
                                        {t.nav.cta}
                                    </a>
                                </div>

                                {/* ZONE MOBILE */}
                                <div className="lg:hidden ml-auto flex items-center gap-4">
                                    <div className="flex items-center gap-3 text-xs font-bold">
                                        <a href="/" onClick={(e) => { e.preventDefault(); switchLang('en'); }} className={`${lang === 'en' ? 'text-[#1E5BF0]' : 'text-slate-400'}`}>EN</a>
                                        <span className="text-slate-300">|</span>
                                        <a href="?lang=fr" onClick={(e) => { e.preventDefault(); switchLang('fr'); }} className={`${lang === 'fr' ? 'text-[#1E5BF0]' : 'text-slate-400'}`}>FR</a>
                                    </div>
                                    <button onClick={() => setIsMenuOpen(!isMenuOpen)} className="text-slate-600 p-2">
                                        {isMenuOpen ? <IconX size={28} /> : <IconMenu size={28} />}
                                    </button>
                                </div>
                            </div>
                        </div>

                        {isMenuOpen && (
                            <div className="lg:hidden bg-white border-b border-slate-100 absolute w-full shadow-xl">
                                <div className="px-4 pt-4 pb-6 space-y-2">
                                    {t.nav.items.map((item, idx) => (
                                        <a key={idx} href={`#${item.id}`} onClick={() => setIsMenuOpen(false)} className="block px-3 py-3 text-lg font-medium text-slate-700 hover:text-[#1E5BF0] hover:bg-slate-50 rounded-lg">
                                            {item.label}
                                        </a>
                                    ))}
                                    <div className="pt-6">
                                        <a 
                                            href="#booking"
                                            onClick={() => {trackClick('Mobile_Menu_CTA'); setIsMenuOpen(false);}}
                                            className="block w-full bg-electricBlue text-white px-5 py-4 rounded-md text-base font-bold text-center shadow-md"
                                        >
                                            {t.nav.cta}
                                        </a>
                                    </div>
                                </div>
                            </div>
                        )}
                    </nav>

                    {/* HERO SECTION */}
                    <section className="bg-darkBlue pt-32 pb-20 lg:pt-48 lg:pb-32 px-4 sm:px-6 lg:px-8 relative overflow-hidden">
                        <div className="absolute top-0 right-0 w-[800px] h-[800px] bg-electricBlue/10 blur-[120px] rounded-full -translate-y-1/4 translate-x-1/4 pointer-events-none"></div>
                        <div className="absolute bottom-0 left-0 w-[600px] h-[600px] bg-electricBlue/5 blur-[100px] rounded-full translate-y-1/4 -translate-x-1/4 pointer-events-none"></div>

                        {/* MODIFICATION: Suppression du graphique 3D à droite et centrage du contenu */}
                        <div className="max-w-4xl mx-auto relative z-10 text-center">
                            
                            <div className="inline-flex items-center px-4 py-1.5 rounded-full bg-slate-800/50 border border-slate-700/50 text-electricBlue text-xs font-bold tracking-widest mb-8 uppercase backdrop-blur-sm">
                                <span className="w-2 h-2 rounded-full bg-electricBlue mr-2 animate-pulse"></span>
                                {t.hero.label}
                            </div>
                            <h1 className="text-4xl md:text-5xl lg:text-6xl xl:text-7xl font-bold text-white leading-[1.1] mb-8 tracking-tight">
                                {t.hero.h1}
                            </h1>
                            <h2 className="text-lg md:text-xl text-slate-300 mb-12 max-w-2xl font-light leading-relaxed mx-auto">
                                {t.hero.h2}
                            </h2>
                            <div className="flex flex-col sm:flex-row gap-5 mb-16 lg:mb-24 justify-center">
                                <a 
                                    href="#quiz" 
                                    onClick={() => trackClick('Hero_Primary_CTA')}
                                    className="bg-electricBlue text-white px-8 py-4 rounded-md text-base font-bold hover:bg-blue-600 transition-all shadow-xl shadow-blue-500/25 hover:shadow-blue-500/40 hover:-translate-y-1 text-center"
                                >
                                    {t.hero.btn1}
                                </a>
                                <a href="#booking" className="bg-white/5 backdrop-blur-sm border border-white/10 text-white px-8 py-4 rounded-md text-base font-bold hover:bg-white/10 transition-colors text-center">
                                    {t.hero.btn2}
                                </a>
                            </div>
                            
                            <div className="grid grid-cols-2 md:grid-cols-4 gap-6 border-t border-white/10 pt-8">
                                {t.hero.stats.map((stat, idx) => (
                                    <div key={idx} className="flex flex-col items-center gap-2">
                                        <div className="text-electricBlue mb-1">
                                            <stat.icon size={24} />
                                        </div>
                                        <span className="text-sm text-slate-400 font-medium leading-tight text-center">{stat.text}</span>
                                    </div>
                                ))}
                            </div>

                        </div>
                    </section>

                    {/* ABOUT SECTION */}
                    <section id="about" className="py-24 bg-white relative">
                        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                            <div className="lg:grid lg:grid-cols-12 gap-16 items-start">
                                
                                <div className="lg:col-span-2 relative mb-12 lg:mb-0">
                                    <div className="relative z-10 rounded-2xl overflow-hidden shadow-2xl shadow-blue-900/10">
                                        <img 
                                            src={assets.portrait} 
                                            alt="Haythem Salhi" 
                                            className="w-full h-auto object-cover hover:scale-105 transition-transform duration-700"
                                            onError={(e) => {
                                                e.target.style.display = 'none';
                                                const div = document.createElement('div');
                                                div.className = "bg-red-50 border border-red-200 h-32 flex flex-col items-center justify-center p-1 text-center";
                                                div.innerHTML = '<span class="text-[10px] text-red-500">Image ?</span>';
                                                e.target.parentNode.appendChild(div);
                                            }}
                                        />
                                        <div className="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-darkBlue to-transparent pt-12 pb-3 px-3">
                                            <p className="text-white font-bold text-xs">Haythem Salhi</p>
                                        </div>
                                    </div>
                                </div>
                                
                                <div className="lg:col-span-10">
                                    <div className="flex items-center gap-3 mb-4">
                                        <span className="h-px w-8 bg-electricBlue"></span>
                                        <span className="text-electricBlue font-bold uppercase tracking-widest text-xs">About</span>
                                    </div>
                                    
                                    <h2 className="text-3xl md:text-4xl font-bold text-darkBlue mb-8">{t.about.title}</h2>
                                    
                                    <div className="prose prose-lg text-slate-600 mb-8 leading-relaxed max-w-4xl">
                                        <p>{t.about.mainText}</p>
                                    </div>
                                    
                                    <div className="bg-slate-50 border-l-4 border-electricBlue p-6 mb-10 rounded-r-lg max-w-4xl">
                                        <p className="text-xl font-medium text-darkBlue italic">
                                            "{t.about.subText}"
                                        </p>
                                    </div>
                                    
                                    <div className="grid md:grid-cols-2 gap-8 max-w-4xl">
                                        {t.about.bullets.map((bullet, idx) => (
                                            <div key={idx} className="flex flex-col group">
                                                <div className="flex">
                                                    <div className="flex-shrink-0 mt-1 h-6 w-6 rounded-full bg-blue-50 flex items-center justify-center group-hover:bg-electricBlue transition-colors">
                                                        <IconCheck size={14} className="text-electricBlue group-hover:text-white transition-colors" />
                                                    </div>
                                                    <div className="ml-4">
                                                        <h4 className="text-base font-bold text-darkBlue">{bullet.title}</h4>
                                                        <p className="text-slate-600 text-sm mt-1">{bullet.desc}</p>
                                                    </div>
                                                </div>
                                                
                                                {bullet.certifications && (
                                                    <div className="ml-10 mt-3 flex flex-wrap gap-2">
                                                        {bullet.certifications.map((cert, cIdx) => (
                                                            <a 
                                                                key={cIdx} 
                                                                href={cert.url} 
                                                                target="_blank" 
                                                                className="inline-flex items-center px-2.5 py-0.5 rounded text-xs font-medium bg-blue-50 text-blue-700 hover:bg-blue-100 transition-colors border border-blue-100"
                                                                title={`Voir la certification ${cert.name}`}
                                                            >
                                                                {cert.name}
                                                                <IconExternalLink size={10} className="ml-1 opacity-60" />
                                                            </a>
                                                        ))}
                                                    </div>
                                                )}
                                            </div>
                                        ))}
                                    </div>
                                </div>
                            </div>
                        </div>
                    </section>

                    {/* SERVICES SECTION */}
                    <section id="services" className="bg-paleGray py-24">
                        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                            <div className="text-center mb-20">
                                <h2 className="text-3xl md:text-4xl font-bold text-darkBlue mb-4">{t.services.title}</h2>
                                <p className="text-lg text-slate-600 max-w-2xl mx-auto">{t.services.subtitle}</p>
                            </div>

                            <div className="grid md:grid-cols-3 gap-8">
                                {t.services.cards.map((card, idx) => (
                                    <div key={idx} className="bg-white p-8 rounded-2xl shadow-sm border border-slate-100 hover:shadow-2xl hover:-translate-y-1 transition-all duration-300 group">
                                        <div className="w-14 h-14 bg-blue-50 rounded-xl flex items-center justify-center text-electricBlue mb-8 group-hover:bg-electricBlue group-hover:text-white transition-colors duration-300 shadow-sm">
                                            <card.icon size={28} />
                                        </div>
                                        <h3 className="text-xl font-bold text-darkBlue mb-4">{card.title}</h3>
                                        <p className="text-slate-600 mb-8 min-h-[72px] leading-relaxed text-sm">{card.desc}</p>
                                        <div className="space-y-4 pt-6 border-t border-slate-50">
                                            {card.list.map((item, i) => (
                                                <div key={i} className="flex items-center text-sm text-slate-600">
                                                    <div className="w-1.5 h-1.5 bg-electricBlue rounded-full mr-3"></div>
                                                    {item}
                                                </div>
                                            ))}
                                        </div>
                                    </div>
                                ))}
                            </div>
                        </div>
                    </section>

                    {/* METHOD SECTION */}
                    <section id="method" className="py-24 bg-white relative overflow-hidden">
                        <div className="absolute top-0 left-0 w-full h-1/2 bg-slate-50 -skew-y-1 transform origin-top-left -z-10"></div>

                        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                            <div className="mb-16 md:text-center max-w-3xl mx-auto">
                                <h2 className="text-3xl md:text-4xl font-bold text-darkBlue mb-6">{t.method.title}</h2>
                                <p className="text-lg text-slate-600">{t.method.subtitle}</p>
                            </div>

                            <div className="grid md:grid-cols-4 gap-6">
                                {t.method.steps.map((step, idx) => (
                                    <div key={idx} className="flex flex-col h-full bg-white rounded-xl border border-slate-200 shadow-sm hover:shadow-xl hover:-translate-y-1 transition-all duration-300 overflow-hidden group">
                                        <div className="p-6 pb-0">
                                            <div className="flex justify-between items-start mb-4">
                                                <span className="text-5xl font-bold text-slate-100 group-hover:text-blue-50 transition-colors duration-300">
                                                    {step.step}
                                                </span>
                                                <div className="w-10 h-1 bg-electricBlue rounded-full"></div>
                                            </div>
                                            <h3 className="text-xl font-bold text-darkBlue mb-2 min-h-[28px] flex items-center">
                                                {step.title}
                                            </h3>
                                        </div>
                                        <div className="px-6 flex-grow">
                                            <p className="text-slate-600 text-sm leading-relaxed">
                                                <span className="font-bold text-slate-900 block mb-1.5">Action :</span> 
                                                {step.action}
                                            </p>
                                        </div>
                                        <div className="mt-6 p-4 bg-slate-50 border-t border-slate-100">
                                            <div className="flex items-start gap-3">
                                                <div className="mt-1 min-w-[16px]">
                                                    <div className="w-2 h-2 rounded-full bg-green-400 shadow-[0_0_8px_rgba(74,222,128,0.5)]"></div>
                                                </div>
                                                <div>
                                                    <span className="text-xs font-bold text-slate-400 uppercase tracking-wider block mb-1">Résultat</span>
                                                    <span className="text-sm font-medium text-darkBlue block leading-snug">
                                                        {step.outcome}
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                ))}
                            </div>
                        </div>
                    </section>

                    {/* RESULTS SECTION */}
                    <section id="results" className="bg-darkBlue py-24 text-white relative overflow-hidden">
                        <div className="absolute inset-0 opacity-5" style={{backgroundImage: 'radial-gradient(#1E5BF0 1px, transparent 1px)', backgroundSize: '40px 40px'}}></div>
                        
                        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
                            <div className="flex flex-col md:flex-row justify-between items-start md:items-end mb-20 border-b border-white/10 pb-8">
                                <h2 className="text-3xl md:text-4xl font-bold">{t.results.title}</h2>
                                <div className="hidden md:block text-right">
                                    <p className="text-slate-400 text-sm">Track Record</p>
                                    <p className="text-electricBlue font-mono">2020 — 2025</p>
                                </div>
                            </div>

                            <div className="grid md:grid-cols-3 gap-12">
                                {t.results.cases.map((item, idx) => (
                                    <div key={idx} className="group">
                                        <h3 className="text-slate-400 font-medium uppercase tracking-widest text-xs mb-6 flex items-center gap-2">
                                            <span className="w-8 h-px bg-slate-600 group-hover:w-12 group-hover:bg-electricBlue transition-all"></span>
                                            {item.title}
                                        </h3>
                                        <div className="text-5xl lg:text-7xl font-bold text-white mb-4 group-hover:text-electricBlue transition-colors duration-300">{item.value}</div>
                                        <p className="text-slate-300 font-medium border-l-2 border-electricBlue pl-4">{item.sub}</p>
                                    </div>
                                ))}
                            </div>
                        </div>
                    </section>

                    {/* NEW QUIZ SECTION */}
                    {/* MODIFICATION: Ajout de la ref pour le scroll automatique */}
                    <section id="quiz" ref={quizSectionRef} className="bg-white py-24 relative border-b border-slate-100">
                        <div className="max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
                            <div className="bg-gradient-to-br from-slate-50 to-white border border-slate-200 p-8 md:p-12 rounded-2xl shadow-lg relative overflow-hidden transition-all duration-500">
                                <div className="absolute top-0 right-0 w-32 h-32 bg-electricBlue/5 rounded-bl-full -z-0"></div>
                                <div className="absolute bottom-0 left-0 w-32 h-32 bg-electricBlue/5 rounded-tr-full -z-0"></div>
                                
                                <div className="relative z-10">
                                    <span className="inline-block py-1 px-3 rounded-full bg-blue-50 text-electricBlue text-xs font-bold uppercase tracking-wider mb-6">
                                        Growth Score
                                    </span>
                                    <h2 className="text-3xl md:text-4xl font-bold text-darkBlue mb-4">{t.quiz.title}</h2>
                                    <p className="text-lg text-slate-600 mb-8 max-w-2xl mx-auto leading-relaxed">{t.quiz.text}</p>
                                    
                                    {!showQuiz ? (
                                        <button 
                                            onClick={handleStartQuiz}
                                            className="bg-electricBlue text-white px-8 py-4 rounded-md text-lg font-bold hover:bg-blue-600 transition-all shadow-lg shadow-blue-500/20 hover:shadow-blue-500/40 transform hover:-translate-y-1"
                                        >
                                            {t.quiz.btn}
                                        </button>
                                    ) : (
                                        <div className="w-full text-left bg-white p-4 rounded-xl border border-slate-100 shadow-inner">
                                            <HubspotForm 
                                                region={hsConfig.region} 
                                                portalId={hsConfig.portalId} 
                                                formId={hsConfig.formId} 
                                            />
                                        </div>
                                    )}
                                </div>
                            </div>
                        </div>
                    </section>

                    {/* BOOKING SECTION (GROWTH SCAN) */}
                    <section id="booking" className="py-24 bg-paleGray relative">
                        <div className="max-w-6xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
                            <div className="mb-12">
                                <h2 className="text-3xl md:text-4xl font-bold text-darkBlue mb-4">{t.cta.title}</h2>
                                <p className="text-lg text-slate-600 max-w-2xl mx-auto">{t.cta.subtitle}</p>
                            </div>
                            
                            {/* Integration du Calendrier */}
                            <div className="mx-auto">
                                <HubspotBooking />
                            </div>
                        </div>
                    </section>

                    {/* FOOTER */}
                    <footer className="bg-darkBlue border-t border-slate-800/50 pt-24 pb-12">
                        <div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
                            <div className="grid md:grid-cols-2 gap-16 mb-20">
                                <div>
                                    <div className="flex-shrink-0 flex items-center gap-3 mb-8">
                                        {/* MODIFICATION: Utilisation de logo-footer.png */}
                                        <img 
                                            src={assets.logoFooter} 
                                            alt="Haythem Salhi Consulting" 
                                            className="h-10 w-auto object-contain brightness-0 invert opacity-90"
                                            onError={(e) => {
                                                // Fallback si logo-footer n'existe pas, on tente logo normal
                                                if (e.target.src.includes('logo-footer')) {
                                                    e.target.src = assets.logo;
                                                } else {
                                                    e.target.style.display = 'none'; 
                                                    const div = document.createElement('div');
                                                    div.className = "font-bold text-2xl tracking-tight text-white";
                                                    div.innerHTML = 'HAYTHEM SALHI <span class="text-[#1E5BF0]">CONSULTING</span>';
                                                    e.target.parentNode.appendChild(div);
                                                }
                                            }}
                                        />
                                    </div>

                                    <p className="text-slate-400 max-w-md mb-8 text-lg leading-relaxed">
                                        {t.hero.h2}
                                    </p>
                                    <div className="flex items-center gap-6">
                                        <a 
                                            href={`mailto:${t.footer.contact}`} 
                                            onClick={() => trackClick('Email_Contact')}
                                            className="text-white hover:text-electricBlue transition-colors font-medium border-b border-white/20 hover:border-electricBlue pb-1"
                                        >
                                            {t.footer.contact}
                                        </a>
                                        <a 
                                            href={links.linkedin} 
                                            target="_blank" 
                                            onClick={() => trackClick('LinkedIn_Profile')}
                                            rel="noopener noreferrer"
                                            className="text-slate-400 hover:text-[#0077b5] transition-colors" 
                                            title="LinkedIn Profile"
                                        >
                                            <IconLinkedin size={24} />
                                        </a>
                                    </div>
                                </div>
                                
                                <div className="md:text-right flex flex-col items-start md:items-end justify-center bg-slate-800/30 p-8 rounded-2xl border border-white/5">
                                    <div className="text-white text-lg font-bold mb-4">Quick Links</div>
                                    <div className="flex flex-col gap-3 md:items-end mb-6">
                                        {t.nav.items.map((item, idx) => (
                                            <a key={idx} href={`#${item.id}`} className="text-slate-400 hover:text-white transition-colors">{item.label}</a>
                                        ))}
                                    </div>
                                    <a 
                                        href="#booking"
                                        onClick={() => trackClick('Footer_CTA')}
                                        className="bg-electricBlue text-white px-6 py-3 rounded-md text-sm font-bold hover:bg-blue-600 transition-all shadow-lg shadow-blue-500/20"
                                    >
                                        {t.nav.cta}
                                    </a>
                                </div>
                            </div>

                            <div className="border-t border-white/10 pt-8 flex flex-col md:flex-row justify-between items-center text-slate-500 text-sm relative">
                                <div className="md:flex-1">
                                    <p>{t.footer.copy}</p>
                                </div>
                                
                                {/* CENTERED EASTER EGG */}
                                <div className="my-4 md:my-0">
                                    <a 
                                        href="harissa-home.html" 
                                        onClick={() => trackClick('Footer_EasterEgg_Harissa')}
                                        className="text-slate-600 hover:text-[#E30613] transition-colors duration-300 transform hover:scale-110 flex items-center justify-center"
                                        title="Switch to Harissa Mode"
                                    >
                                        <IconChili size={20} />
                                    </a>
                                </div>

                                <div className="md:flex-1 flex justify-center md:justify-end space-x-8">
                                    {t.footer.links.map((link, idx) => (
                                        <a key={idx} href="#" className="hover:text-white transition-colors">{link}</a>
                                    ))}
                                </div>
                            </div>
                        </div>
                    </footer>

                    {/* BANNIERE COOKIES */}
                    {showCookies && (
                        <CookieBanner 
                            lang={lang} 
                            onAccept={() => handleCookieChoice('accepted')}
                            onDecline={() => handleCookieChoice('declined')}
                        />
                    )}
                </div>
            );
        }

        const root = ReactDOM.createRoot(document.getElementById('root'));
        root.render(<App />);
    </script>
<script type="text/javascript" id="hs-script-loader" async defer src="//js-eu1.hs-scripts.com/147416473.js"></script>

</body>
</html>