{
    "mapConfig": {
        "background": {
            "type": "image",
            "url": "map_Q2.jpg"
        },
        "zoneDecorator": {
            "imageUrl": "loupe.png",
            "size": {
                "x": 50,
                "y": 50
            },
            "sortingOrder": 10
        },
        "header": {
            "show": true,
            "height": 120,
            "backgroundColor": "#00000000",
            "leftElement": {
                "imageUrl": "UI_jauge_phase1.png",
                "position": {
                    "x": 50,
                    "y": -60
                },
                "size": {
                    "x": 200,
                    "y": 100
                },
                "clickable": false,
                "targetAction": ""
            },
            "rightElement": {
                "imageUrl": "UI_Icon_Setting.png",
                "position": {
                    "x": -50,
                    "y": -60
                },
                "size": {
                    "x": 100,
                    "y": 100
                },
                "clickable": true,
                "targetAction": "settings"
            }
        },
        "popupConfig": {
            "width": 400,
            "height": 400,
            "backgroundColor": "#000000EE",
            "borderColor": "#cc9442",
            "borderWidth": 3,
            "textPosition": "top",
            "textPaddingTop": 10,
            "textPaddingBottom": 10,
            "textPaddingLeft": 20,
            "textPaddingRight": 20,
            "textHeight": 80,
            "textFontSize": 18,
            "textColor": "#FFFFFF",
            "textBackgroundColor": "#2A2A2A99",
            "textPaddingHorizontal": 0,
            "showDelay": 0.3,
            "fadeSpeed": 0.2,
            "buttonText": "N/A",
            "buttonHeight": 40,
            "buttonWidth": 160,
            "buttonFontSize": 18,
            "buttonTextColor": "#FFFFFF",
            "buttonBackgroundColor": "#4CAF50FF",
            "buttonBottomMargin": 20
        },
        "decorativeVideos": [
            {
                "id": "decors_onze",
                "videoUrl": "focus/Q2_focus_onze.mp4",
                "position": {
                    "x": 340,
                    "y": 1290
                },
                "size": {
                    "x": 690,
                    "y": 760
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_parc",
                "videoUrl": "focus/Q2_focus_parc.mp4",
                "position": {
                    "x": 1970,
                    "y": 1315
                },
                "size": {
                    "x": 630,
                    "y": 720
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_cheminee",
                "videoUrl": "focus/Q2_focus_cheminee.mp4",
                "position": {
                    "x": 5495,
                    "y": 2160
                },
                "size": {
                    "x": 527,
                    "y": 650
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_parking",
                "videoUrl": "focus/Q2_focus_parking.mp4",
                "position": {
                    "x": 2060,
                    "y": 450
                },
                "size": {
                    "x": 471,
                    "y": 575
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_voitures",
                "videoUrl": "focus/Q2_focus_voitures.mp4",
                "position": {
                    "x": 3400,
                    "y": 1540
                },
                "size": {
                    "x": 600,
                    "y": 690
                },
                "loop": true,
                "autoPlay": true
            }
        ],
        "steps": [
            {
                "id": "intro",
                "type": "fullscreen_video",
                "videoUrl": "Q20_intro.mp4",
                "skipable": true,
                "autoAdvance": true,
                "nextStepId": "step_smouth"
            },
            {
                "id": "step_smouth",
                "type": "zones",
                "nextStepId": "step_monsieur_houbere",
                "decorativeImages": [
                    {
                        "id": "fleche_direction",
                        "imageUrl": "focus.png",
                        "position": {
                            "x": 2315,
                            "y": 1015
                        },
                        "size": {
                            "x": 150,
                            "y": 150
                        },
                        "sortingOrder": 8
                    }
                ],
                "zones": [
                    {
                        "id": "zone_smouth",
                        "position": {
                            "x": 2315,
                            "y": 815
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q2J1",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q2_focus_smouth.mp4",
                        "popupText": "Je dois rester discret\n et c’est pour cela que je fais\n appel à vous pour sauver la ville !",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/monsieur_smouth.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_monsieur_houbere.png",
                        "position": {
                            "x": 4400,
                            "y": 1175
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q2J2",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q2_focus_monsieur_houbere.mp4",
                        "popupText": "Plus rien ne fonctionne \ndepuis la grande disparition.",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/monsieur_houbere.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_fille_houbere",
                        "position": {
                            "x": 1570,
                            "y": 1700
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q2J3",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q2_focus_fille_houbere.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/fille_houbere.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_mokhtar",
                        "position": {
                            "x": 3600,
                            "y": 1795
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q2J4",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q2_focus_mokhtar.mp4",
                        "popupText": "j’ai vraiment envie \nde remonter sur mon bolide !",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/fille_mokhtar.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_tante_annie",
                        "position": {
                            "x": 815,
                            "y": 300
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q2J5",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q2_focus_tante_annie.mp4",
                        "popupText": "Bonjour mon lapin,\n c’est gentil de passer me voir",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/tante_annie.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_felix_botin",
                        "position": {
                            "x": 3370,
                            "y": 700
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q2J6",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q2_focus_felix_botin.mp4",
                        "popupText": "ça ne peut plus durer...",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/felix_botin.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_pere_fourrure",
                        "position": {
                            "x": 1815,
                            "y": 1800
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q2J7",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q2_focus_pere_fourrure.mp4",
                        "popupText": "Qu’est-ce que tu me veux toi ?",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/pere_fourrure.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_jeff_molette",
                        "position": {
                            "x": 4775,
                            "y": 1100
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q2J8",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q2_focus_jeff_molette.mp4",
                        "popupText": "Bienvenue chez Vroum-Vroum ! ",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/jeff_molette.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_mokhtar_alien",
                        "position": {
                            "x": 4365,
                            "y": 200
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q2J9",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q2_focus_mokhtar_alien.mp4",
                        "popupText": "Hey !",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/mokhtar_alien.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    }
                ]
            },
            {
                "id": "outro",
                "type": "fullscreen_video",
                "videoUrl": "Q20_outro.mp4",
                "skipable": false,
                "autoAdvance": false,
                "nextStepId": null
            }
        ]
    }
}