{"id":1329,"date":"2026-10-17T23:02:54","date_gmt":"2026-10-17T21:02:54","guid":{"rendered":"https:\/\/fayolaservices.com\/?page_id=1329"},"modified":"2026-10-18T00:34:31","modified_gmt":"2026-10-17T22:34:31","slug":"souscription","status":"publish","type":"page","link":"https:\/\/fayolaservices.com\/?page_id=1329","title":{"rendered":"SOUSCRIPTION"},"content":{"rendered":"    <style>\n        @import url('https:\/\/fonts.googleapis.com\/css2?family=Poppins:wght@400;500;600;700&display=swap');\n\n        .fayola-simple {\n            --fayola-navy: #0B1635;\n            --fayola-gold: #8F771C;\n            --fayola-ink: #0B1635;\n            --fayola-muted: #626b7d;\n            --fayola-border: #d7dbe3;\n            --fayola-light: #f6f7f9;\n\n            padding: 30px 14px;\n            background: #f6f7f9;\n            color: var(--fayola-ink);\n            font: 15px\/1.5 'Poppins', sans-serif;\n        }\n\n        .fayola-simple *,\n        .fayola-simple *::before,\n        .fayola-simple *::after {\n            box-sizing: border-box;\n        }\n\n        .fayola-card {\n            width: 100%;\n            max-width: 520px;\n            margin: 0 auto;\n            padding: 20px 25px 18px;\n            border: 1px solid var(--fayola-navy);\n            border-radius: 8px;\n            background: #fff;\n            box-shadow: 0 10px 24px rgba(11, 22, 53, .08);\n        }\n\n        .fayola-heading {\n            margin: 0 0 18px;\n            padding: 12px 15px;\n            border-radius: 5px;\n            background: var(--fayola-navy);\n            color: #fff;\n            text-align: center;\n        }\n\n        .fayola-heading-step {\n            display: block;\n            margin-bottom: 2px;\n            color: #fff;\n            font-size: 12px;\n        }\n\n        .fayola-heading-title {\n            margin: 0;\n            color: #fff;\n            font-size: 18px;\n            font-weight: 700;\n        }\n\n        .fayola-progress {\n            height: 4px;\n            margin: 0 0 20px;\n            overflow: hidden;\n            border-radius: 4px;\n            background: #e8e9ed;\n        }\n\n        .fayola-progress-fill {\n            width: 33.333%;\n            height: 100%;\n            background: var(--fayola-gold);\n            transition: width .25s ease;\n        }\n\n        .fayola-panel {\n            padding-top: 1px;\n        }\n\n        .fayola-js .fayola-panel {\n            display: none;\n        }\n\n        .fayola-js .fayola-panel.is-active {\n            display: block;\n            animation: fayola-appear .2s ease;\n        }\n\n        @keyframes fayola-appear {\n            from {\n                opacity: 0;\n                transform: translateY(4px);\n            }\n\n            to {\n                opacity: 1;\n                transform: translateY(0);\n            }\n        }\n\n        .fayola-field {\n            display: grid;\n            gap: 6px;\n            margin: 0 0 15px;\n            color: var(--fayola-ink);\n            font-size: 14px;\n            font-weight: 400;\n        }\n\n        .fayola-field b,\n        .fayola-consent b {\n            color: var(--fayola-gold);\n        }\n\n        .fayola-field input,\n        .fayola-field select {\n            width: 100%;\n            min-height: 43px;\n            padding: 9px 11px;\n            border: 1px solid var(--fayola-border);\n            border-radius: 5px;\n            background: #fff;\n            color: var(--fayola-ink);\n            font: 14px 'Poppins', sans-serif;\n        }\n\n        .fayola-field input::placeholder {\n            color: #89909d;\n        }\n\n        .fayola-field input:focus,\n        .fayola-field select:focus {\n            border-color: var(--fayola-gold);\n            outline: 2px solid rgba(143, 119, 28, .16);\n        }\n\n        .fayola-field select:disabled {\n            background: #f1f2f4;\n            color: var(--fayola-ink);\n            opacity: 1;\n            cursor: not-allowed;\n        }\n\n        .fayola-field[hidden] {\n            display: none !important;\n        }\n\n        .fayola-intro {\n            margin: 0 0 14px;\n            color: var(--fayola-muted);\n            font-size: 14px;\n        }\n\n        .fayola-summary {\n            margin-bottom: 18px;\n            border: 1px solid #e0e2e7;\n            border-radius: 5px;\n            background: var(--fayola-light);\n        }\n\n        .fayola-summary div {\n            display: flex;\n            justify-content: space-between;\n            gap: 12px;\n            padding: 9px 11px;\n            border-bottom: 1px solid #e5e6ea;\n            font-size: 13px;\n        }\n\n        .fayola-summary div:last-child {\n            border-bottom: 0;\n        }\n\n        .fayola-summary span {\n            color: var(--fayola-muted);\n        }\n\n        .fayola-summary strong {\n            color: var(--fayola-ink);\n            text-align: right;\n            overflow-wrap: anywhere;\n        }\n\n        .fayola-consent {\n            display: flex;\n            align-items: flex-start;\n            gap: 9px;\n            color: var(--fayola-ink);\n            font-size: 13px;\n            line-height: 1.45;\n        }\n\n        .fayola-consent input {\n            flex: 0 0 17px;\n            width: 17px;\n            height: 17px;\n            margin: 2px 0 0;\n            accent-color: var(--fayola-gold);\n        }\n\n        .fayola-legal {\n            margin: 12px 0 0;\n            color: var(--fayola-muted);\n            font-size: 12px;\n            line-height: 1.45;\n        }\n\n        .fayola-buttons {\n            display: flex;\n            justify-content: center;\n            gap: 10px;\n            margin-top: 25px;\n        }\n\n        .fayola-buttons button {\n            min-height: 42px;\n            padding: 9px 18px;\n            border: 1px solid var(--fayola-navy);\n            border-radius: 5px;\n            background: #fff;\n            color: var(--fayola-navy);\n            font: 700 14px 'Poppins', sans-serif;\n            cursor: pointer;\n            transition: background-color .2s ease, color .2s ease, border-color .2s ease;\n        }\n\n        .fayola-buttons .fayola-next,\n        .fayola-buttons .fayola-send {\n            border-color: var(--fayola-navy);\n            background: var(--fayola-navy);\n            color: #fff;\n        }\n\n        .fayola-buttons .fayola-next:hover:not(:disabled),\n        .fayola-buttons .fayola-send:hover:not(:disabled) {\n            border-color: var(--fayola-gold);\n            background: var(--fayola-gold);\n            color: #fff;\n        }\n\n        .fayola-buttons .fayola-back:hover:not(:disabled) {\n            border-color: var(--fayola-gold);\n            color: var(--fayola-gold);\n        }\n\n        .fayola-buttons button:focus-visible {\n            outline: 3px solid rgba(143, 119, 28, .25);\n            outline-offset: 2px;\n        }\n\n        .fayola-buttons button:disabled {\n            opacity: .45;\n            cursor: not-allowed;\n        }\n\n        .fayola-buttons button[hidden] {\n            display: none !important;\n        }\n\n        .fayola-error,\n        .fayola-notice {\n            margin: 0 0 15px;\n            padding: 10px 12px;\n            border-radius: 5px;\n            font-size: 13px;\n            font-family: 'Poppins', sans-serif;\n        }\n\n        .fayola-error,\n        .fayola-notice-invalid,\n        .fayola-notice-mail_error {\n            border: 1px solid #e2caca;\n            background: #faf6f6;\n            color: #7a2929;\n        }\n\n        .fayola-honeypot {\n            position: absolute !important;\n            left: -10000px !important;\n            width: 1px !important;\n            height: 1px !important;\n            overflow: hidden !important;\n        }\n\n        .fayola-contact {\n            margin: 17px 0 0;\n            color: var(--fayola-muted);\n            font-size: 12px;\n            text-align: center;\n        }\n\n        .fayola-contact a {\n            color: var(--fayola-gold);\n            font-weight: 700;\n        }\n\n        @media (max-width: 520px) {\n            .fayola-simple {\n                padding: 18px 9px;\n            }\n\n            .fayola-card {\n                padding: 17px 15px;\n            }\n\n            .fayola-summary div {\n                align-items: flex-start;\n                flex-direction: column;\n                gap: 3px;\n            }\n\n            .fayola-summary strong {\n                text-align: left;\n            }\n        }\n\n        @media (prefers-reduced-motion: reduce) {\n            .fayola-simple *,\n            .fayola-simple *::before,\n            .fayola-simple *::after {\n                animation-duration: .01ms !important;\n                transition-duration: .01ms !important;\n            }\n        }\n    <\/style>\n\n    <div class=\"fayola-simple\">\n        <div class=\"fayola-card\">\n\n            <header class=\"fayola-heading\" aria-live=\"polite\">\n                <span class=\"fayola-heading-step\">\u00c9tape 1 sur 3<\/span>\n                <h2 class=\"fayola-heading-title\">Votre formule<\/h2>\n            <\/header>\n\n            \n            <div class=\"fayola-progress\" aria-hidden=\"true\">\n                <div class=\"fayola-progress-fill\"><\/div>\n            <\/div>\n\n            <form\n                class=\"fayola-form\"\n                method=\"post\"\n                action=\"https:\/\/fayolaservices.com\/wp-admin\/admin-post.php\"\n                novalidate\n            >\n                <input type=\"hidden\" name=\"action\" value=\"fayola_submit\">\n                <input type=\"hidden\" id=\"fayola_nonce\" name=\"fayola_nonce\" value=\"5dba1c3fe8\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/index.php?rest_route=%2Fwp%2Fv2%2Fpages%2F1329\" \/>\n                <div class=\"fayola-honeypot\" aria-hidden=\"true\">\n                    <label>\n                        Ne pas remplir\n                        <input type=\"text\" name=\"fayola_website\" tabindex=\"-1\" autocomplete=\"off\">\n                    <\/label>\n                <\/div>\n\n                <!-- \u00c9tape 1 : formule et couverture -->\n                <section class=\"fayola-panel is-active\" data-title=\"Votre formule\">\n                                            <label class=\"fayola-field\">\n                            <span>Choisissez une formule <b>*<\/b><\/span>\n                            <select name=\"formule\" required>\n                                <option value=\"\">S\u00e9lectionner une formule<\/option>\n                                <option value=\"particuliers\">Formule particuliers<\/option>\n                                <option value=\"eleves-etudiants\">Formule \u00e9l\u00e8ves &amp; \u00e9tudiants<\/option>\n                                <option value=\"famille-entreprise\">Formule Famille &amp; Entreprise<\/option>\n                            <\/select>\n                        <\/label>\n                    \n                    <label class=\"fayola-field\">\n                        <span>Qui souhaitez-vous assurer ? <b>*<\/b><\/span>\n                        <select name=\"couverture\" required>\n                            <option value=\"\">S\u00e9lectionner<\/option>\n                            <option value=\"individuelle\">Une personne<\/option>\n                            <option value=\"familiale\">Une famille<\/option>\n                        <\/select>\n                    <\/label>\n\n                    <label class=\"fayola-field fayola-count-field\" hidden>\n                        <span>Nombre de personnes <b>*<\/b><\/span>\n                        <select name=\"nombre_personnes\">\n                            <option value=\"\">S\u00e9lectionner le nombre<\/option>\n                            <option value=\"2\">2 personnes<\/option>\n                            <option value=\"3\">3 personnes<\/option>\n                            <option value=\"4\">4 personnes<\/option>\n                            <option value=\"5\">5 personnes<\/option>\n                            <option value=\"6\">6 personnes<\/option>\n                            <option value=\"7\">7 personnes<\/option>\n                            <option value=\"8\">8 personnes<\/option>\n                            <option value=\"9\">9 personnes<\/option>\n                            <option value=\"10\">10 personnes ou plus<\/option>\n                        <\/select>\n                    <\/label>\n                <\/section>\n\n                <!-- \u00c9tape 2 : coordonn\u00e9es -->\n                <section class=\"fayola-panel\" data-title=\"Vos coordonn\u00e9es\">\n                    <label class=\"fayola-field\">\n                        <span>Nom complet <b>*<\/b><\/span>\n                        <input\n                            type=\"text\"\n                            name=\"nom_complet\"\n                            maxlength=\"160\"\n                            autocomplete=\"name\"\n                            placeholder=\"Votre nom complet\"\n                            required\n                        >\n                    <\/label>\n\n                    <label class=\"fayola-field\">\n                        <span>Num\u00e9ro de t\u00e9l\u00e9phone <b>*<\/b><\/span>\n                        <input\n                            type=\"tel\"\n                            name=\"telephone\"\n                            maxlength=\"25\"\n                            autocomplete=\"tel\"\n                            placeholder=\"Ex. : +221 77 123 45 67\"\n                            required\n                        >\n                    <\/label>\n\n                    <label class=\"fayola-field\">\n                        <span>Ville <b>*<\/b><\/span>\n                        <input\n                            type=\"text\"\n                            name=\"ville\"\n                            maxlength=\"100\"\n                            autocomplete=\"address-level2\"\n                            placeholder=\"Votre ville\"\n                            required\n                        >\n                    <\/label>\n                <\/section>\n\n                <!-- \u00c9tape 3 : v\u00e9rification -->\n                <section class=\"fayola-panel\" data-title=\"V\u00e9rification\">\n                    <p class=\"fayola-intro\">\n                        V\u00e9rifiez les informations avant d\u2019envoyer votre demande.\n                    <\/p>\n\n                    <div class=\"fayola-summary\">\n                        <div>\n                            <span>Formule<\/span>\n                            <strong data-summary=\"formule\">\u2014<\/strong>\n                        <\/div>\n                        <div>\n                            <span>Couverture<\/span>\n                            <strong data-summary=\"couverture\">\u2014<\/strong>\n                        <\/div>\n                        <div>\n                            <span>Nombre de personnes<\/span>\n                            <strong data-summary=\"nombre\">\u2014<\/strong>\n                        <\/div>\n                        <div>\n                            <span>Nom complet<\/span>\n                            <strong data-summary=\"nom\">\u2014<\/strong>\n                        <\/div>\n                        <div>\n                            <span>T\u00e9l\u00e9phone<\/span>\n                            <strong data-summary=\"telephone\">\u2014<\/strong>\n                        <\/div>\n                        <div>\n                            <span>Ville<\/span>\n                            <strong data-summary=\"ville\">\u2014<\/strong>\n                        <\/div>\n                    <\/div>\n\n                    <label class=\"fayola-consent\">\n                        <input type=\"checkbox\" name=\"consentement\" value=\"yes\" required>\n                        <span>\n                            J\u2019accepte que Fayola Health Services utilise ces renseignements\n                            pour r\u00e9pondre \u00e0 ma demande. <b>*<\/b>\n                        <\/span>\n                    <\/label>\n\n                <\/section>\n\n                <p class=\"fayola-error\" role=\"alert\" hidden><\/p>\n\n                <div class=\"fayola-buttons\">\n                    <button type=\"button\" class=\"fayola-back\" disabled>Retour<\/button>\n                    <button type=\"button\" class=\"fayola-next\">Suivant<\/button>\n                    <button type=\"submit\" class=\"fayola-send\" hidden>Envoyer ma demande<\/button>\n                <\/div>\n            <\/form>\n\n            <p class=\"fayola-contact\">\n                Besoin d\u2019aide ?\n                <a href=\"mailto:bolyhane21@gmail.com\">Contactez-nous<\/a>\n            <\/p>\n        <\/div>\n    <\/div>\n\n    <script>\n    (function () {\n        function initFayolaForm(app) {\n            if (app.dataset.initialized === '1') {\n                return;\n            }\n\n            const form = app.querySelector('.fayola-form');\n\n            if (!form) {\n                return;\n            }\n\n            app.dataset.initialized = '1';\n            app.classList.add('fayola-js');\n\n            const panels = Array.from(app.querySelectorAll('.fayola-panel'));\n            const headingStep = app.querySelector('.fayola-heading-step');\n            const headingTitle = app.querySelector('.fayola-heading-title');\n            const progressFill = app.querySelector('.fayola-progress-fill');\n            const backButton = app.querySelector('.fayola-back');\n            const nextButton = app.querySelector('.fayola-next');\n            const sendButton = app.querySelector('.fayola-send');\n            const errorBox = app.querySelector('.fayola-error');\n            const countField = form.elements.namedItem('nombre_personnes');\n            const countWrapper = app.querySelector('.fayola-count-field');\n\n            let currentStep = 0;\n\n            function getValue(name) {\n                const field = form.elements.namedItem(name);\n\n                if (!field) {\n                    return '';\n                }\n\n                return String(field.value || '').trim();\n            }\n\n            function updateConditionalFields() {\n                const coverage = getValue('couverture');\n\n                if (coverage === 'familiale') {\n                    countWrapper.hidden = false;\n                    countField.required = true;\n                } else {\n                    countField.value = '';\n                    countField.required = false;\n                    countWrapper.hidden = true;\n                }\n            }\n\n            function updateSummary() {\n                updateConditionalFields();\n\n                const formulaLabels = {\n                    particuliers: 'Formule particuliers',\n                    'eleves-etudiants': 'Formule \u00e9l\u00e8ves & \u00e9tudiants',\n                    'famille-entreprise': 'Formule Famille & Entreprise'\n                };\n\n                const coverageLabels = {\n                    individuelle: 'Une personne',\n                    familiale: 'Une famille'\n                };\n\n                const coverage = getValue('couverture');\n                const count = getValue('nombre_personnes');\n\n                let countLabel = '\u2014';\n\n                if (coverage === 'individuelle') {\n                    countLabel = '1 personne';\n                } else if (count === '10') {\n                    countLabel = '10 personnes ou plus';\n                } else if (count !== '') {\n                    countLabel = count + ' personnes';\n                }\n\n                const summary = {\n                    formule: formulaLabels[getValue('formule')] || '\u2014',\n                    couverture: coverageLabels[coverage] || '\u2014',\n                    nombre: countLabel,\n                    nom: getValue('nom_complet') || '\u2014',\n                    telephone: getValue('telephone') || '\u2014',\n                    ville: getValue('ville') || '\u2014'\n                };\n\n                Object.keys(summary).forEach(function (key) {\n                    const target = app.querySelector('[data-summary=\"' + key + '\"]');\n\n                    if (target) {\n                        target.textContent = summary[key];\n                    }\n                });\n            }\n\n            function showError(message, field) {\n                errorBox.textContent = message;\n                errorBox.hidden = false;\n\n                if (field) {\n                    field.focus();\n                }\n            }\n\n            function validateStep(step) {\n                errorBox.hidden = true;\n                updateSummary();\n\n                if (step === 0) {\n                    const formulaField = form.elements.namedItem('formule');\n                    const coverageField = form.elements.namedItem('couverture');\n\n                    if (!getValue('formule')) {\n                        showError('Choisissez votre formule.', formulaField);\n                        return false;\n                    }\n\n                    if (!getValue('couverture')) {\n                        showError('Choisissez qui vous souhaitez assurer.', coverageField);\n                        return false;\n                    }\n\n                    if (\n                        getValue('couverture') === 'familiale' &&\n                        !getValue('nombre_personnes')\n                    ) {\n                        showError(\n                            'Choisissez le nombre de personnes \u00e0 assurer.',\n                            countField\n                        );\n                        return false;\n                    }\n                }\n\n                if (step === 1) {\n                    const nameField = form.elements.namedItem('nom_complet');\n                    const phoneField = form.elements.namedItem('telephone');\n                    const cityField = form.elements.namedItem('ville');\n\n                    if (!getValue('nom_complet')) {\n                        showError('Saisissez votre nom complet.', nameField);\n                        return false;\n                    }\n\n                    if (!getValue('telephone')) {\n                        showError('Saisissez votre num\u00e9ro de t\u00e9l\u00e9phone.', phoneField);\n                        return false;\n                    }\n\n                    const phone = getValue('telephone');\n\n                    if (\n                        !\/^[0-9+\\s().-]{7,25}$\/.test(phone) ||\n                        phone.replace(\/\\D\/g, '').length < 7\n                    ) {\n                        showError('V\u00e9rifiez votre num\u00e9ro de t\u00e9l\u00e9phone.', phoneField);\n                        return false;\n                    }\n\n                    if (!getValue('ville')) {\n                        showError('Saisissez votre ville.', cityField);\n                        return false;\n                    }\n                }\n\n                if (step === 2) {\n                    const consentField = form.elements.namedItem('consentement');\n\n                    if (!consentField.checked) {\n                        showError(\n                            'Veuillez accepter l\u2019utilisation de vos renseignements pour r\u00e9pondre \u00e0 votre demande.',\n                            consentField\n                        );\n                        return false;\n                    }\n                }\n\n                return true;\n            }\n\n            function render() {\n                panels.forEach(function (panel, index) {\n                    panel.classList.toggle('is-active', index === currentStep);\n                });\n\n                const stepNumber = currentStep + 1;\n                const percentage = (stepNumber \/ panels.length) * 100;\n\n                headingStep.textContent = '\u00c9tape ' + stepNumber + ' sur ' + panels.length;\n                headingTitle.textContent = panels[currentStep].dataset.title;\n                progressFill.style.width = percentage + '%';\n\n                backButton.disabled = currentStep === 0;\n                nextButton.hidden = currentStep === panels.length - 1;\n                sendButton.hidden = currentStep !== panels.length - 1;\n                errorBox.hidden = true;\n\n                updateSummary();\n            }\n\n            nextButton.addEventListener('click', function () {\n                if (validateStep(currentStep) && currentStep < panels.length - 1) {\n                    currentStep += 1;\n                    render();\n                }\n            });\n\n            backButton.addEventListener('click', function () {\n                if (currentStep > 0) {\n                    currentStep -= 1;\n                    render();\n                }\n            });\n\n            form.addEventListener('input', updateSummary);\n            form.addEventListener('change', updateSummary);\n\n            form.addEventListener('submit', function (event) {\n                for (let step = 0; step < panels.length; step += 1) {\n                    if (!validateStep(step)) {\n                        event.preventDefault();\n                        currentStep = step;\n                        render();\n                        validateStep(step);\n                        return;\n                    }\n                }\n            });\n\n            render();\n        }\n\n        function initAllFayolaForms() {\n            document.querySelectorAll('.fayola-simple').forEach(initFayolaForm);\n        }\n\n        if (document.readyState === 'loading') {\n            document.addEventListener('DOMContentLoaded', initAllFayolaForms);\n        } else {\n            initAllFayolaForms();\n        }\n    })();\n    <\/script>\n    \n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":""},"class_list":["post-1329","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/fayolaservices.com\/index.php?rest_route=\/wp\/v2\/pages\/1329","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fayolaservices.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/fayolaservices.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/fayolaservices.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fayolaservices.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1329"}],"version-history":[{"count":3,"href":"https:\/\/fayolaservices.com\/index.php?rest_route=\/wp\/v2\/pages\/1329\/revisions"}],"predecessor-version":[{"id":1334,"href":"https:\/\/fayolaservices.com\/index.php?rest_route=\/wp\/v2\/pages\/1329\/revisions\/1334"}],"wp:attachment":[{"href":"https:\/\/fayolaservices.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1329"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}