{
    "mapConfig": {
        "background": {
            "type": "image",
            "url": "map_Q3.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_01",
                "videoUrl": "focus/Q3_focus_01.mp4",
                "position": {
                    "x": 410,
                    "y": 1200
                },
                "size": {
                    "x": 792,
                    "y": 850
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_02",
                "videoUrl": "focus/Q3_focus_02.mp4",
                "position": {
                    "x": 2516,
                    "y": 1950
                },
                "size": {
                    "x": 612,
                    "y": 700
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_03",
                "videoUrl": "focus/Q3_focus_03.mp4",
                "position": {
                    "x": 3626,
                    "y": 1060
                },
                "size": {
                    "x": 348,
                    "y": 400
                },
                "loop": true,
                "autoPlay": true
            },
            {
                "id": "decors_04",
                "videoUrl": "focus/Q3_focus_04.mp4",
                "position": {
                    "x": 5410,
                    "y": 2035
                },
                "size": {
                    "x": 700,
                    "y": 770
                },
                "loop": true,
                "autoPlay": true
            }
        ],
        "steps": [
            {
                "id": "intro",
                "type": "fullscreen_video",
                "videoUrl": "Q30_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": 1040,
                            "y": 500
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J1",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q3_focus_smouth.mp4",
                        "popupText": " c’est le retour à la\n préhistoire dans ce quartier ! ",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/monsieur_smouth.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_thelma_prehistopng",
                        "position": {
                            "x": 3320,
                            "y": 1500
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J2",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q3_focus_thelma_prehisto.mp4",
                        "popupText": "Plus rien ne fonctionne \ndepuis la grande disparition.",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/thelma_prehisto.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_louise_prehisto.png",
                        "position": {
                            "x": 3520,
                            "y": 1500
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J2",
                        "debugColor": "#00FF0080",
                        "hasPopup": false,
                        "popupVideo": "focus/Q3_focus_louise_prehisto.mp4",
                        "popupText": "Plus rien ne fonctionne \ndepuis la grande disparition.",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/louise_prehisto.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_aigle_qui_danse",
                        "position": {
                            "x": 2340,
                            "y": 1350
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J3",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q3_focus_aigle_qui_danse.mp4",
                        "popupText": "A cette heure-ci la cuisine\nn'est pas encore ouverte.",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/aigle_qui_danse.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_pere_fourrure_prehisto",
                        "position": {
                            "x": 2600,
                            "y": 200
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J4",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q3_focus_pere_fourrure_prehisto.mp4",
                        "popupText": "Moi ? La clé de l’histoire ?",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/pere_fourrure_prehisto.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_marlene_tricot",
                        "position": {
                            "x": 3660,
                            "y": 330
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J5",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q3_focus_marlene_tricot.mp4",
                        "popupText": "Moi ? La clé de l’histoire ?",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/marlene_tricot.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_thomas_moute",
                        "position": {
                            "x": 1850,
                            "y": 1700
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J6",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q3_focus_thomas_moute.mp4",
                        "popupText": "Moi ? La clé de l’histoire ?",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/thomas_moute.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_stephane_pizza",
                        "position": {
                            "x": 4330,
                            "y": 510
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J7",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q3_focus_stephane_pizza.mp4",
                        "popupText": "Bonjour ! \nC’est pour visiter une grotte ?",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/stephane_pizza.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    },
                    {
                        "id": "zone_tante_annie",
                        "position": {
                            "x": 4290,
                            "y": 1850
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J8",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q3_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_assurio_prehisto",
                        "position": {
                            "x": 3075,
                            "y": 1700
                        },
                        "size": {
                            "x": 250,
                            "y": 250
                        },
                        "targetLevelId": "Q3J9",
                        "debugColor": "#00FF0080",
                        "hasPopup": true,
                        "popupVideo": "focus/Q3_focus_assurio_prehisto.mp4",
                        "popupText": "Hey !",
                        "popupClickable": true,
                        "buttonText": "JOUER",
                        "decoratorImageUrl": "personnages/assurio_prehisto.png",
                        "decoratorSize": {
                            "x": 250,
                            "y": 250
                        }
                    }
                ]
            },
            {
                "id": "outro",
                "type": "fullscreen_video",
                "videoUrl": "Q30_outro.mp4",
                "skipable": false,
                "autoAdvance": false,
                "nextStepId": null
            }
        ]
    }
}