{
  "projectName": "Un Jour Sans Assurance / Seroni",
  "version": "1.0.0",
  "defaultMapId": "map-Q1",
  "mapsRegistryUrl": "STREAMING_ASSETS/json/maps-registry.json",
  "slug" : "ujsa-default",
  
  "defaultFontName": "Lato-Regular SDF",

  "connexionPanel": {
    "panelStyle": "defaultPanel",
    "width": 1000,
    "height": 575,
    "title": "CONNEXION",
    "titleColor": "#78675f",
    "titleFontSize": 54,
    "titleFontWeight": "normal",
    "titleFontName": "Anton-Regular SDF",
    "buttonsBottomMargin": 60,
    "buttonsTopMargin": 410,
    "emailInput": {
      "width": 560,
      "height": 60,
      "backgroundColor": "#ecdfd6",
      "borderWidth": 2,
      "borderColor": "#d9bdae",
      "borderRadius": 12,
      "textColor": "#64477D",
      "placeholderColor": "#64477D",
      "fontSize": 24
    },
    "seroniconnectText" : "Grâce à Seroni-connect, accédez à tous les services avec le même compte :</br></br>News Assurances Pro, Cercle LAB, Annie, Onze Bis Festival.",
    "connexionText": "Je me connecte à un Jour Sans Assurance",
    "connexionTextColor": "#64477D",
    "connexionTextFontSize": 25,
    "connexionTextFontName": "Lato-Bold SDF",
    "connexionTextTopMargin": 190,
    "buttons": {
      "continueButton": {
        "style": "validationDefault",
        "label": "CONTINUER"
      },
      "seroniConnectButton": {
        "style": "validationBeige",
        "label": "SERONI CONNECT ?"
      }
    },
    
    "passwordStep": {
      "title": "MOT DE PASSE",
      "message": "Nous avons retrouvé votre compte !",
      "messageColor": "#49286a",
      "messageFontSize": 26,
      "messageTopMargin": 180,
      "buttonsTopMargin": 410,
      "passwordInput": {
        "width": 500,
        "height": 60,
        "backgroundColor": "#64477D",
        "borderWidth": 2,
        "borderColor": "#d9bdae",
        "borderRadius": 12,
        "textColor": "#333333",
        "placeholderColor": "#999999",
        "placeholderText": "Adresse email",
        "fontSize": 24,
        "showToggleButton": true,
        "toggleButtonColor": "#64477f"
      },
      "buttons": {
        "submitButton": {
          "style": "validationDefault",
          "label": "CONNEXION"
        }
      }
    }
  },
  
  "assetsPaths": {
    "popupVideoPath": "https://ujsa.studioplc.fr/datas/videos/",
    "decoratorImagePath": "https://ujsa.studioplc.fr/datas/images/",
    "videoPath": "https://ujsa.studioplc.fr/datas/videos/",
    "backgroundImagePath": "https://ujsa.studioplc.fr/datas/images/",
    "backgroundVideoPath": "https://ujsa.studioplc.fr/datas/videos/",
    "uiPath": "https://ujsa.studioplc.fr/datas/UI/",
    "crosshairPath": "https://ujsa.studioplc.fr/datas/images/crosshair/",
    "gameAssetsPath": "https://ujsa.studioplc.fr/datas/images/",
    "dialoguePath": "https://ujsa.studioplc.fr/datas/json/dialogues/",
    "questionsPath": "STREAMING_ASSETS/questions/",
    "mapsPath": "STREAMING_ASSETS/json/"
  },

  "defaultAssets": {
    "_comment": "Assets utilisés par défaut si non spécifiés dans les configs individuelles",
    "ledOff": "led_black.png",
    "ledGreen": "led_green.png",
    "ledRed": "led_red.png",
    "impactEffect": "impact_splash.png",
    "defaultCrosshair": "curseur_sucre.png",
    "zoneDecorator": "loupe.png",
    "focusIndicator": "focus.png"
  },
  
  "colorPalette": {
    "_comment": "Palette de couleurs du projet pour cohérence visuelle",
    "primary": "#64477f",
    "secondary": "#cc9442",
    "success": "#539d38",
    "error": "#d13e48",
    "background": "#f5ece5",
    "backgroundDark": "#2A2A2A",
    "text": "#FFFFFF",
    "textDark": "#64477f",
    "transparent": "#00000000",
    "semiTransparent": "#000000EE",
    "overlay": "#2A2A2A99"
  },
  
  "defaultPopupConfig": {
    "_comment": "Configuration par défaut des popups de zones sur la carte",
    "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": "JOUER",
    "buttonBottomMargin": 20,
    "buttonStyle": "validationDefault"
  },
  
  "defaultHeaderConfig": {
    "_comment": "Configuration par défaut du header des cartes",
    "show": true,
    "height": 120,
    "backgroundColor": "#00000000",
    "jaugePhases": {
      "_comment": "URLs des 3 phases de jauge pour la progression dans les quêtes",
      "phase1": "UI_jauge_phase1.png",
      "phase2": "UI_jauge_phase2.png",
      "phase3": "UI_jauge_phase3.png"
    },
    "leftElement": {
      "imageUrl": "fleur_01.png",
      "position": { "x": 50, "y": -60 },
      "size": { "x": 124, "y": 100 },
      "clickable": true,
      "targetAction": "zenitudeInfo"
    },
    "rightElement": {
      "imageUrl": "UI_Icon_setting.png",
      "position": { "x": -50, "y": -60 },
      "size": { "x": 100, "y": 100 },
      "clickable": true,
      "targetAction": "settings"
    }
  },

  "defaultDialogueConfig": {
    "_comment": "Configuration par défaut pour les dialogues",
    "useFrameMode": true,
    "frameWidth": 1230,
    "frameHeight": 340,
    "frameRadius": 40,
    "frameBottomMargin": 40,
    "frameBackgroundColor": "#f5ece5",
    "framePaddingLeft": 40,
    "framePaddingRight": 40,
    "framePaddingTop": 30,
    "framePaddingBottom": 30,
    "textContentPaddingLeft": 60,
    "textContentPaddingRight": 60,
    "textContentPaddingTop": 40,
    "textContentPaddingBottom": 0,
    "speakerTextSize": 36,
    "speakerTextColor": "#a95bfb",
    "speakerTextBold": true,
    "speakerMarginBottom": 10,
    "dialogueTextSize": 36,
    "dialogueTextColor": "#7c6b63",
    "dialogueTextAlignment": "left",
    "backgroundDimming": 0.25,
    "showContinueIndicator": true,
    "continueIndicatorColor": "#64477f",
    "continueIndicatorSize": 36,
    "continueIndicatorBottomMargin": 20,
    "instructionsText": "Cliquez pour continuer",
    "illustrationPosition": {
      "_comment": "Position du centre de l'image en coordonnées 1920x1080",
      "x": 1585,
      "y": 400
    },
    "illustrationDiameter": 160,
    "illustrationBorder": {
      "_comment": "Bordure autour du rond (en pixels)",
      "width": 4,
      "color": "#F4ECE5"
    },
    "illustrationBackgroundColor": "#FF0000",
    "illustrationBackgroundGradient": {
      "_comment": "Dégradé vertical (haut -> bas) pour le fond du rond",
      "startColor": "#888ADE",
      "endColor": "#3C415B"
    }
  },
  
  "defaultFeedbackMessages": {
    "_comment": "Messages de feedback par défaut pour les jeux",
    "feedbackDisplayDelay": 0.2,
    "_commentDelay": "Délai en secondes avant d'afficher le panneau feedback après une réponse (0 = instantané)",
    "correctAnswerMessage": "BONNE RÉPONSE",
    "incorrectAnswerMessage": "MAUVAISE RÉPONSE",
    "showResultMessage": true,
    "resultMessageInBold": true,
    "resultMessageColor": "#7c6b63",
    "incorrectMessageColor": "#7c6b63",
    "resultMessageSize": 50,
    "resultMessageFont": "Anton-Regular SDF",
    "resultMessagePositionY": 80,
    "explanationTextPositionY": 0,
    "_commentExplanation": "Style du texte d'explication",
    "explanationTextSize": 26,
    "explanationTextFont": "Lato-Regular SDF",
    "explanationTextColor": "#7c6b63",
    "explanationTextBold": false,
    "separator": "\n\n",
    "showSeparatorLine": false,
    "changeBackgroundColor": false,
    "useBackgroundImage": false,
    "successBackgroundImageUrl": "background_txt_reponse_success.png",
    "failureBackgroundImageUrl": "background_txt_reponse_fail.png",
    "backgroundImageAlpha": 0.9,
    "stretchToFitPanel": true,
    "useCustomPanelSize": true,
    "panelSize": { "x": 1024, "y": 500 },
    "panelStyle": {
      "_comment": "Style visuel du panneau de feedback - MÊME STYLE que questPreviewPanel",
      "backgroundColor": "#f5ece5",
      "cornerRadius": 40,
      "shadow": {
        "enabled": true,
        "color": "#00000030",
        "offsetX": 0,
        "offsetY": 10,
        "blur": 20
      }
    },
    "picto": {
      "_comment": "Pictos pour indiquer bonne ou mauvaise réponse - positionné sur la bordure supérieure du panel. position.y = 0 met le centre du picto sur la bordure",
      "goodAnswerUrl": "UI_picto_bonne_reponse.png",
      "badAnswerUrl": "UI_picto_mauvaise_reponse.png",
      "size": { "x": 120, "y": 120 },
      "position": { "x": 0, "y": 0 },
      "show": true
    },
    "centerTextInPanel": true,
    "explanationTextPaddingLeft": 60,
    "explanationTextPaddingRight": 60,
    "feedbackNextButtonText": "QUESTION SUIVANTE",
    "feedbackLastButtonText": "FERMER",
    "feedbackButtonStyle": "validationDefault"
  },
  
  "defaultUIConfig": {
    "_comment": "Configuration UI par défaut pour les jeux",
    "hoverTextSize": 36,
    "hoverTextColor": "#ffffff",
    "hoverTextBold": false,
    "hoverPanelSize": { "width": 1920, "height": 80 },
    "hoverBackgroundColor": "#b26cfc",
    "hoverBackgroundAlpha": 0.9,
    "_hoverBackgroundComment": "Couleur (format hex) et opacité (0 = transparent, 1 = opaque) du fond du panneau hover au centre de l'écran",
    "useCustomPosition": false,
    "customPosition": { "x": 0, "y": 15 },
    "useCenteredHoverPanel": true,
    "centeredHoverPaddingX": 40,
    "centeredHoverPaddingY": 40,  
    "centeredHoverAlpha": 0.9,
    "_centeredHoverAlphaComment": "DÉPRÉCIÉ: Utilisez hoverBackgroundAlpha à la place. Conservé pour rétro-compatibilité.",
    "bands": {
      "showBands": true,
      "bandHeight": 120,
      "bandColor": "#f5ece5",
      "bandAlpha": 1,
      "sortingOrder": 5,
      "cornerRadius": 20,
      "gameAreaCornerRadius": 20,
      "shadow": {
        "enabled": true,
        "color": "#dbc3b7",
        "offsetX": 0,
        "offsetY": 8,
        "blur": 16
      }
    },
    "ledConfig": {
      "ledSize": 45,
      "ledSpacing": 55,
      "marginLeft": 35,
      "verticalOffset": 0,
      "useCustomSprites": true,
      "defaultOffColor": {
        "r": 0.5,
        "g": 0.5,
        "b": 0.5,
        "a": 1.0
      },
      "defaultGreenColor": {
        "r": 0.0,
        "g": 1.0,
        "b": 0.0,
        "a": 1.0
      },
      "defaultRedColor": {
        "r": 1.0,
        "g": 0.0,
        "b": 0.0,
        "a": 1.0
      },
      "enableLEDAnimation": false,
      "animationSpeed": 1.0,
      "animationType": "None"
    },
    "questionDisplay": {
      "fontSize": 30,
      "fontColor": "#7c6b63",
      "fontBold": false,
      "alignment": "Center",
      "marginTop": 20,
      "marginLeft": 300,
      "marginRight": 50,
      "sortingOrder": 12,
      "useCustomPosition": false,
      "adaptToScreenSize": false,
      "minFontSize": 24,
      "maxFontSize": 42
    }
  },
  
  "defaultResolution": {
    "_comment": "Résolution par défaut du jeu",
    "width": 1920,
    "height": 1080
  },
  
  "defaultCrosshairConfig": {
    "_comment": "Configuration par défaut du crosshair/curseur",
    "defaultSize": 75.0,
    "minSize": 10.0,
    "maxSize": 150.0,
    "allowPlayerResize": false,
    "alwaysShowCrosshair": true,
    "onTargetSizeMultiplier": 1.0,
    "offTargetSizeMultiplier": 0.75,
    "onTargetAlpha": 1.0,
    "offTargetAlpha": 0.3,
    "sizeTransitionSpeed": 20,
    "alphaTransitionSpeed": 15,
    "smoothTransitions": true
  },
  
  "defaultGunConfig": {
    "_comment": "Configuration par défaut du pistolet",
    "offsetFromCursor": { "x": 200, "y": -300 },
    "size": 900,
    "gunSize": { "x": 900, "y": 466 },
    "flipHorizontally": false,
    "enableRotation": false,
    "rotationOffset": -90,
    "alwaysVisible": true,
    "fadeSpeed": 8,
    "hideDuringFeedback": true,
    "boundary": {
      "enableBoundaryConstraints": true,
      "useAutomaticMargins": true,
      "marginLeft": -200,
      "marginRight": -800,
      "marginTop": 400,
      "marginBottom": -600
    }
  },
  
  "defaultZoneDecorator": {
    "_comment": "Configuration par défaut des décorateurs de zones",
    "imageUrl": "loupe.png",
    "size": { "x": 50, "y": 50 },
    "sortingOrder": 10
  },
  
  "animations": {
    "_comment": "Timings et durées d'animations standards",
    "fadeInDuration": 0.3,
    "fadeOutDuration": 0.3,
    "transitionDuration": 0.5,
    "quickTransition": 0.15,
    "loadingDelay": 0.5
  },
  
  "debug": {
    "showDebugZones": true,
    "enableDebugLogs": true
  },
  
  "ui": {
    "loadingDelay": 0.5,
    "crosshairSortingOrder": 60000,
    "gunSortingOrder": 60000
  },
  
  "gameplay": {
    "enableDirectClick": true,
    "enableCrosshair": true
  },
  
  "buttonStyles": {
    "_comment": "Styles de boutons réutilisables - référencez-les par leur clé dans vos scènes",
    
    "validationDefault": {
      "_comment": "Bouton de validation par défaut avec dégradé violet riche (basé sur validationPurple)",
      "width": 300,
      "height": 80,
      "borderRadius": 35,
      "borderWidth": 4,
      "borderColor": "#ffffff",
      "gradient": {
        "enabled": true,
        "startColor": "#ffffff",
        "endColor": "#9A2DFF",
        "angle": 134
      },
      "shadow": {
        "enabled": true,
        "color": "#00000040",
        "offsetX": 0,
        "offsetY": 6,
        "blur": 12
      },
      "text": {
        "color": "#FFFFFF",
        "fontSize": 28,
        "fontWeight": "normal",
        "fontFamily": "Anton-Regular SDF"
      },
      "hover": {
        "brightnessMultiplier": 1.1,
        "scaleMultiplier": 1.02
      },
      "pressed": {
        "brightnessMultiplier": 0.9,
        "scaleMultiplier": 0.98
      }
    },


    "cancelButtonDefault": {
      "width": 300,
      "height": 80,
      "borderRadius": 35,
      "borderWidth": 4,
      "borderColor": "#00000040",
      "gradient": {
        "enabled": true,
        "startColor": "#E3CCC06B",
        "endColor": "#A674586B",
        "angle": 302.31
      },
      "shadow": {
        "enabled": true,
        "color": "#dbc3b7",
        "offsetX": 0,
        "offsetY": 6,
        "blur": 12
      },
      "text": {
        "color": "#FFFFFF",
        "fontSize": 28,
        "fontWeight": "normal",
        "fontFamily": "Anton-Regular SDF"
      },
      "hover": {
        "brightnessMultiplier": 1.1,
        "scaleMultiplier": 1.02
      },
      "pressed": {
        "brightnessMultiplier": 0.9,
        "scaleMultiplier": 0.98
      }
    },


    
    "validationPurple": {
      "_comment": "Bouton de validation avec dégradé violet et contour beige",
      "width": 300,
      "height": 80,
      "borderRadius": 35,
      "borderWidth": 4,
      "borderColor": "#f5ece5",
      "gradient": {
        "enabled": true,
        "startColor": "#b87aff",
        "endColor": "#7b4fbf",
        "angle": 90
      },
      "shadow": {
        "enabled": true,
        "color": "#00000040",
        "offsetX": 0,
        "offsetY": 6,
        "blur": 12
      },
      "text": {
        "color": "#FFFFFF",
        "fontSize": 28,
        "fontWeight": "normal",
        "fontFamily": "Anton-Regular SDF"
      },
      "hover": {
        "brightnessMultiplier": 1.1,
        "scaleMultiplier": 1.02
      },
      "pressed": {
        "brightnessMultiplier": 0.9,
        "scaleMultiplier": 0.98
      }
    },
    
    "primaryAction": {
      "_comment": "Bouton d'action principal - style vert succès",
      "width": 300,
      "height": 60,
      "borderRadius": 30,
      "borderWidth": 0,
      "borderColor": "#00000000",
      "gradient": {
        "enabled": true,
        "startColor": "#6abf4d",
        "endColor": "#539d38",
        "angle": 90
      },
      "shadow": {
        "enabled": true,
        "color": "#00000030",
        "offsetX": 0,
        "offsetY": 4,
        "blur": 8
      },
      "text": {
        "color": "#FFFFFF",
        "fontSize": 22,
        "fontWeight": "bold",
        "fontFamily": "Anton-Regular SDF"
      }
    },
    
    "secondaryAction": {
      "_comment": "Bouton secondaire - style beige discret",
      "width": 250,
      "height": 50,
      "borderRadius": 25,
      "borderWidth": 2,
      "borderColor": "#cc9442",
      "gradient": {
        "enabled": false,
        "startColor": "#f5ece5",
        "endColor": "#f5ece5",
        "angle": 90
      },
      "shadow": {
        "enabled": false
      },
      "text": {
        "color": "#64477f",
        "fontSize": 20,
        "fontWeight": "normal",
        "fontFamily": "Anton-Regular SDF"
      }
    },
    
    "validationBeige": {
      "_comment": "Bouton de validation par défaut avec dégradé violet riche (basé sur validationPurple)",
      "width": 300,
      "height": 80,
      "borderRadius": 35,
      "borderWidth": 4,
      "borderColor": "#f5ece5",
      "gradient": {
        "enabled": true,
        "startColor": "#E3CCC06B",
        "endColor": "#A674586B",
        "angle": 302.31
      },
      "shadow": {
        "enabled": true,
        "color": "#00000040",
        "offsetX": 0,
        "offsetY": 6,
        "blur": 12
      },
      "text": {
        "color": "#FFFFFF",
        "fontSize": 28,
        "fontWeight": "normal",
        "fontFamily": "Anton-Regular SDF"
      },
      "hover": {
        "brightnessMultiplier": 1.1,
        "scaleMultiplier": 1.02
      },
      "pressed": {
        "brightnessMultiplier": 0.9,
        "scaleMultiplier": 0.98
      }
    }
  },
  
  "panelStyles": {
    "_comment": "Styles de panneaux réutilisables - référencez-les par leur clé dans vos scènes",
    
    "defaultPanel": {
      "_comment": "Panneau par défaut style identification",
      "backgroundColor": "#f5ece5",
      "cornerRadius": 40,
      "header": {
        "enabled": true,
        "height": 140,
        "backgroundColor": "#dbc3b7",
        "cornerRadius": 40
      },
      "shadow": {
        "enabled": true,
        "color": "#dbc3b7",
        "offsetX": 0,
        "offsetY": 8,
        "blur": 16
      },
      "border": {
        "enabled": false,
        "width": 0,
        "color": "#00000000"
      }
    },





    
    "modalDark": {
      "_comment": "Panneau modal sombre",
      "backgroundColor": "#2A2A2A",
      "cornerRadius": 20,
      "header": {
        "enabled": true,
        "height": 50,
        "backgroundColor": "#64477f",
        "cornerRadius": 20
      },
      "shadow": {
        "enabled": true,
        "color": "#00000080",
        "offsetX": 0,
        "offsetY": 10,
        "blur": 20
      },
      "border": {
        "enabled": true,
        "width": 2,
        "color": "#64477f"
      }
    },
    
    "cardBeige": {
      "_comment": "Carte style beige/crème",
      "backgroundColor": "#f5ece5",
      "cornerRadius": 15,
      "header": {
        "enabled": false,
        "height": 0,
        "backgroundColor": "#00000000",
        "cornerRadius": 0
      },
      "shadow": {
        "enabled": true,
        "color": "#00000025",
        "offsetX": 0,
        "offsetY": 4,
        "blur": 8
      },
      "border": {
        "enabled": true,
        "width": 2,
        "color": "#cc9442"
      }
    },
    
    "alertPanel": {
      "_comment": "Panneau d'alerte avec accent violet - utilisé pour les modales de confirmation",
      "width": 800,
      "height": 400,
      "backgroundColor": "#f5ece5",
      "cornerRadius": 40,
      "overlay": {
        "_comment": "Voile sombre derrière la modale qui bloque les interactions",
        "enabled": true,
        "color": "#000000",
        "opacity": 0.75
      },
      "header": {
        "enabled": true,
        "height": 140,
        "backgroundColor": "#dbc3b7",
        "cornerRadius": 40,
        "titleText": "ATTENTION",
        "titleFontSize": 50,
        "titleFontName": "Anton-Regular SDF",
        "titleColor": "#64477f",
        "closeButton": {
          "imageUrl": "UI_fermer.png",
          "size": 70,
          "marginRight": 30
        }
      },
      "content": {
        "fontSize": 22,
        "fontName": "Lato-Regular SDF",
        "textColor": "#64477f"
      },
      "shadow": {
        "enabled": true,
        "color": "#dbc3b7",
        "offsetX": 0,
        "offsetY": 8,
        "blur": 16
      },
      "border": {
        "enabled": false,
        "width": 0,
        "color": "#00000000"
      },
      "buttons": {
        "confirmButtonStyle": "validationDefault",
        "cancelButtonStyle": "validationBeige"
      }
    },

    "informationPanel": {
      "_comment": "Panneau d'alerte avec accent violet - utilisé pour les modales d'information simple",
      "width": 600,
      "height": 300,
      "backgroundColor": "#f5ece5",
      "cornerRadius": 40,
      "overlay": {
        "_comment": "Voile sombre derrière la modale qui bloque les interactions",
        "enabled": true,
        "color": "#000000",
        "opacity": 0.75
      }
      },
      "content": {
        "fontSize": 22,
        "fontName": "Lato-Regular SDF",
        "textColor": "#64477f"
      },
      "shadow": {
        "enabled": true,
        "color": "#dbc3b7",
        "offsetX": 0,
        "offsetY": 8,
        "blur": 16
      },
      "border": {
        "enabled": false,
        "width": 0,
        "color": "#00000000"
      }
    },


  
  
  "questPreviewPanel": {
    "_comment": "Panel de prévisualisation de quête - Positionnement absolu pour contrôle total",
    
    "panelSize": { "x": 1650, "y": 915 },
    "cornerRadius": 40,
    "backgroundColor": "#f5ece5",
    "darkBackgroundColor": "#000000E6",
    
    "header": {
      "height": 140,
      "backgroundColor": "#dbc3b7",
      "cornerRadius": 40,
      "iconSize": 70,
      "iconMarginLeft": 30,
      "title": {
        "fontSize": 48,
        "fontName": "Anton-Regular SDF",
        "fontWeight": "normal",
        "textColor": "#64477f",
        "marginLeft": 15
      },
      "closeButton": {
        "imageUrl": "UI_fermer.png",
        "size": 70,
        "marginRight": 30
      }
    },
    
    "shadow": {
      "enabled": true,
      "color": "#00000030",
      "offsetX": 0,
      "offsetY": 10,
      "blur": 20
    },
    
    "description": {
      "fontSize": 24,
      "fontName": "Lato-Regular SDF",
      "textColor": "#64477d",
      "_comment": "Position depuis le haut du panel (sous le header)",
      "positionY": 170,
      "marginHorizontal": 50,
      "height": 40
    },
    
    "_comment_layout": "Système de positionnement absolu - toutes positions en pixels depuis le coin supérieur gauche du panel",
    
    "videoPlayer": {
      "cornerRadius": 40,
      "_comment": "Position et dimensions de la vidéo",
      "x": 840,
      "y": 250,
      "width": 760,
      "height": 430
    },
    
    "durationDifficultyCard": {
      "_comment": "Carte Durée + Difficulté - Position et dimensions absolues",
      "x": 50,
      "y": 250,
      "width": 750,
      "height": 180,
      "backgroundColor": "#ecdfd6",
      "cornerRadius": 40,
      "shadowColor": "#DBC3B6",
      "shadowOffsetY": 8,
      "padding": 35
    },
    
    "formationsCard": {
      "_comment": "Carte Formations - Position et dimensions absolues",
      "x": 50,
      "y": 460,
      "width": 750,
      "height": 220,
      "backgroundColor": "#ecdfd6",
      "cornerRadius": 40,
      "shadowColor": "#DBC3B6",
      "shadowOffsetY": 8,
      "padding": 35
    },
    
    "infoCards": {
      
      "cardTitle": {
        "fontSize": 26,
        "fontName": "Anton-Regular SDF",
        "textColor": "#64477f"
      },
      
      "cardText": {
        "fontSize": 24,
        "fontName": "Lato-Regular SDF",
        "textColor": "#64477f"
      },
      
      "duration": {
        "label": "DURÉE",
        "defaultValue": "2 H 00",
        "x": 0,
        "y": 40,
        "labelMarginBottom": 15
      },
      
      "difficulty": {
        "label": "NIVEAU DE DIFFICULTÉ",
        "options": ["Débutant", "Intermédiaire", "Expert"],
        "x": 270,
        "y": 40,
        "labelMarginBottom": 15,
        "buttonFontSize": 20
      },
      
      "formations": {
        "label": "LES FORMATIONS ASSOCIÉES",
        "bulletColor": "#a95bfb",
        "fontSize": 24,
        "textColor": "#64477f",
        "linkColor": "#64477f",
        "underlineLinks": true,
        "labelMarginBottom": 15,
        "itemHeight": 35,
        "itemSpacing": 20,
        "items": [
          "Comprendre le régime d'assurance maladie obligatoire",
          "Comprendre l'assurance complémentaire santé"
        ]
      }
    },
    
    "helpLink": {
      "_comment": "Lien d'aide - Position absolue",
      "text": "BESOIN D'AIDE ?",
      "iconUrl": "UI_help_icon.png",
      "iconSize": 24,
      "fontSize": 24,
      "fontName": "Lato-Bold SDF",
      "textColor": "#64477f",
      "x": 325,
      "y": 730,
      "width": 200,
      "height": 30
    },
    
    "buttons": {
      "_comment": "Boutons en bas - Position et dimensions absolues",
      "y": 795,
      
      "skipQuest": {
        "label": "PASSER CETTE QUÊTE",
        "style": "validationBeige",
        "x": 100,
        "width": 725,
        "height": 80
      },
      
      "startQuest": {
        "label": "COMMENCER LA QUÊTE",
        "style": "validationDefault",
        "disabledStyle": "secondaryAction",
        "x": 855,
        "width": 695,
        "height": 80
      }
    },
    
    "sampleQuests": {
      "_comment": "Données de test (seront remplacées par l'API)",
      "quest01": {
        "iconUrl": "UI_quest_icon_dda.png",
        "title": "QUÊTE 01 : LES DENTS DE L'AMER",
        "description": "Les rideaux de fer tombent sur la ville... Découvrez pourquoi les habitants du quartier sont sur les dents !",
        "duration": "2 H 00",
        "videoUrl": "https://ujsa.studioplc.fr/datas/videos/quest01_trailer.mp4",
        "formations": [
          "Comprendre le régime d'assurance maladie obligatoire",
          "Comprendre l'assurance complémentaire santé"
        ]
      }
    }
  },
  
  "settingsPanelConfig": {
    "_comment": "Configuration du panneau des paramètres",
    "panelSize": { "x": 1400, "y": 800 },
    "cornerRadius": 40,
    "backgroundColor": "#f5ece5",
    "darkBackgroundColor": "#000000F2",
    
    "header": {
      "enabled": true,
      "height": 140,
      "backgroundColor": "#dbc3b7",
      "cornerRadius": 40
    },
    
    "shadow": {
      "enabled": true,
      "color": "#dbc3b7",
      "offsetX": 0,
      "offsetY": 8,
      "blur": 16
    },
    
    "border": {
      "enabled": false,
      "width": 0,
      "color": "#00000000"
    },
    
    "closeButton": {
      "imageUrl": "UI_fermer.png",
      "size": 70,
      "marginRight": 30
    },
    
    "tabs": {
      "spacing": 20,
      "marginLeft": 20,
      "marginRight": 80,
      
      "normal": {
        "backgroundColor": "transparent",
        "textColor": "#78675f",
        "fontSize": 42,
        "fontName": "Anton-Regular SDF",
        "fontWeight": "normal"
      },
      
      "selected": {
        "backgroundColor": "#a95bfb",
        "textColor": "#ffffff",
        "fontSize": 42,
        "fontName": "Anton-Regular SDF",
        "fontWeight": "normal",
        "cornerRadius": 32,
        "paddingHorizontal": 20,
        "paddingVertical": 10
      },
      
      "hover": {
        "backgroundColor": "#a95bfb",
        "textColor": "#ffffff"
      }
    },
    
    "content": {
      "padding": 30,
      "backgroundColor": "transparent"
    }
  },
  
  "quetesTabConfig": {
    "_comment": "Configuration de l'onglet QUÊTES dans le panneau des paramètres",
    
    "fonts": {
      "titleFontName": "Anton-Regular SDF",
      "textFontName": "Lato-Regular SDF"
    },
    
    "questListBlock": {
      "_comment": "Bloc de liste des quêtes à gauche",
      "x": 20,
      "y": 0,
      "width": 640,
      "height": 600,
      "cornerRadius": 20,
      "backgroundColor": "#e9d9cf",
      "shadowEnabled": true,
      "shadowColor": "#dbc3b6",
      "shadowOffsetY": 8,
      "padding": 20,
      "itemSpacing": 15,
      
      "itemStyle": {
        "height": 120,
        "normalBackgroundColor": "#dec8ba",
        "hoverBackgroundColor": "#f0e5da",
        "selectedBackgroundColor": "#a95bfb",
        "cornerRadius": 20,
        "paddingHorizontal": 15,
        "paddingVertical": 12,
        "titleFontSize": 24,
        "titleFontName": "Anton-Regular SDF",
        "titleColor": "#64477d",
        "descriptionFontSize": 18,
        "descriptionFontName": "Lato-Regular SDF",
        "descriptionColor": "#64477d",
        
        "lockedStyle": {
          "_comment": "Style pour les quêtes verrouillées (status == locked)",
          "backgroundColor": "#c0c0c0",
          "titleColor": "#808080",
          "descriptionColor": "#a0a0a0",
          "lockIconUrl": "cadenas.png",
          "lockIconSize": 24,
          "lockIconMarginLeft": 10
        }
      }
    },
    
    "detailsTabsMenu": {
      "_comment": "Menu des onglets au-dessus du bloc de détails",
      "x": 680,
      "y": 0,
      "width": 620,
      "height": 80,
      "paddingHorizontal": 20,
      "paddingVertical": 15,
      "tabSpacing": 15,
      
      "tabStyle": {
        "width": 180,
        "height": 50,
        "cornerRadius": 25,
        "fontSize": 20,
        "normalTextColor": "#78675f",
        "selectedTextColor": "#ffffff",
        "selectedBackgroundColor": "#a95bfb"
      }
    },
    
    "detailsBlock": {
      "_comment": "Bloc de détails à droite (sous le menu d'onglets)",
      "x": 680,
      "y": 90,
      "width": 640,
      "height": 440,
      "cornerRadius": 20,
      "backgroundColor": "#e9d9cf",
      "shadowEnabled": true,
      "shadowColor": "#dac1b3",
      "shadowOffsetY": 8,
      
      "playButton": {
        "_comment": "Configuration du bouton JOUER dans le cadre de droite",
        "positionX": 330,
        "positionY": 10
      }
    },
    
    "detailsContent": {
      "_comment": "Zone de contenu des détails",
      "padding": 20,
      
      "resetBadgeButton": {
        "_comment": "Configuration du bouton EFFACER LE BADGE dans les détails de badge",
        "positionX": 0,
        "positionY": 20
      }
    },
    
    "characterMosaic": {
      "_comment": "Mosaïque d'avatars de personnages - 3 visibles à la fois",
      "avatarSize": 120,
      "avatarSpacing": 20,
      "avatarCornerRadius": 20,
      "avatarBorderWidth": 4,
      "avatarBorderColor": "#dcd0c4",
      "selectedBorderColor": "#a95bfb",
      "columns": 3,
      "padding": 15,
      "arrowSize": 40,
      "arrowColor": "#a95bfb"
    },
    
    "characterDetail": {
      "_comment": "Zone de détail du personnage sélectionné",
      "height": 180,
      "backgroundColor": "#ecdfd6",
      "cornerRadius": 25,
      "padding": 15,
      "marginTop": 20,
      "nameLabel": {
        "fontSize": 22,
        "fontName": "Anton-Regular SDF",
        "textColor": "#64477f",
        "backgroundColor": "#a95bfb",
        "paddingHorizontal": 20,
        "paddingVertical": 8,
        "cornerRadius": 15
      },
      "description": {
        "fontSize": 16,
        "fontName": "Lato-Regular SDF",
        "textColor": "#5a4a42",
        "marginTop": 10
      }
    }
  },
  
  "shootingGame": {
    "_comment": "Configuration pour les jeux de type shooting",
    "minCorrectPercentage": 75,
    "usePercentage": true,
    "description": "Il faut obtenir au moins 75% de bonnes réponses pour réussir"
  },
  
  "trousGame": {
    "_comment": "Configuration pour les jeux de type trous",
    "count": 1,
    "description": "Nombre de questions à récupérer depuis l'API pour les jeux de type trous"
  },
  
  "trousGameUI": {
    "_comment": "Configuration UI pour les jeux de type trous - styles des boutons et popups",
    
    "trouButton": {
      "_comment": "Style des boutons 'Choisir' dans le texte - largeur adaptée à la plus longue option",
      "cornerRadius": 22,
      "fontSizeMultiplier": 0.85,
      "emptyText": "CHOISIR",
      "emptyTextInput": "SAISIR",
      "paddingHorizontal": 32,
      "paddingVertical": 10,
      "minWidth": 120,
      "adaptWidthToOptions": true,
      
      "emptyState": {
        "backgroundColor": "#f5ece5",
        "textColor": "#64477f"
      },
      "filledState": {
        "backgroundColor": "#a95bfb",
        "textColor": "#FFFFFF"
      },
      "correctState": {
        "backgroundColor": "#66CC66",
        "textColor": "#FFFFFF"
      },
      "incorrectState": {
        "backgroundColor": "#E66666",
        "textColor": "#FFFFFF"
      }
    },
    
    "selectionPopup": {
      "_comment": "Style de la popup de sélection des réponses",
      
      "overlayColor": "#00000080",
      
      "panel": {
        "width": 480,
        "height": 420,
        "cornerRadius": 40,
        "backgroundColor": "#f5ece5",
        "shadow": {
          "enabled": true,
          "color": "#00000040",
          "offsetX": 0,
          "offsetY": 8
        }
      },
      
      "header": {
        "height": 80,
        "cornerRadius": 40,
        "backgroundColor": "#dbc3b7",
        "title": "Choisissez une réponse",
        "titleTextInput": "Entrez votre réponse",
        "titleFontSize": 28,
        "titleColor": "#49286a",
        "closeButton": {
          "size": 30,
          "marginRight": 15,
          "imageUrl": "UI_fermer.png",
          "useImage": true
        }
      },
      
      "options": {
        "height": 50,
        "cornerRadius": 25,
        "spacing": 12,
        "fontSize": 22,
        "paddingHorizontal": 30,
        "paddingVertical": 30,
        "normalBackgroundColor": "#f5ece5",
        "normalTextColor": "#64477f",
        "hoverBackgroundColor": "#e8dcd4",
        "pressedBackgroundColor": "#a95bfb"
      },
      
      "textInput": {
        "height": 60,
        "cornerRadius": 15,
        "backgroundColor": "#FFFFFF",
        "borderColor": "#cc9442",
        "borderWidth": 2,
        "fontSize": 22,
        "textColor": "#64477f",
        "placeholderText": "Tapez votre réponse...",
        "placeholderColor": "#99999999"
      }
    },
    
    "validationButton": {
      "_comment": "Style du bouton de validation final",
      "buttonStyle": "validationDefault",
      "text": "VALIDER",
      "marginRight": 30,
      "marginBottom": 30,
      "inactiveBackgroundColor": "#99999980",
      "inactiveTextColor": "#CCCCCCB3"
    }
  },


  "badges":{
    "titres": {
      "_comment": "Titre pour chaque badge",
      "Débutant": "Niveau débutant",
      "Intermédiaire": "Niveau intermédiaire",
      "Expert":  "Niveau expert"
    },
    "textes": {
        "_comment": "Texte descriptif pour chaque badge",
        "Débutant": "Les joueurs qui obtiennent ce badge acquièrent les fondamentaux des métiers de l’assurance. Ils comprennent les principes clés, le vocabulaire essentiel et les premières pratiques nécessaires pour évoluer dans leur environnement professionnel.",
        "Intermédiaire": "Les joueurs qui obtiennent ce badge consolident leurs compétences en assurance. Ils savent appliquer les règles et les mécanismes métier à des situations concrètes, analyser les risques et prendre des décisions adaptées dans le cadre de leur activité.",
        "Expert": "Les joueurs qui l'obtiennent démontrent une maîtrise exceptionnelle des stratégies d'assurance, prouvant ainsi leur capacité à protéger leurs ressources et à naviguer dans les défis du jeu avec brio."
    }
  },
  
  "apiUrls": {
    "_comment": "URLs des APIs externes",
    "baseUrl": "https://www.newsassurancespro.com",
    "questionsApi": "/api/ujsa/questions",
    "gameAnswersApi": "/api/ujsa/games/{gameId}/answers",
    "gameAnswersResetApi": "/api/ujsa/games/{gameId}/answers/reset",
    "authPreconnect": "/api/auth/preconnect",
    "authLogin": "/api/auth/login",
    "authVerifyToken": "https://api.newsassurancespro.com/api/auth/verify-token",
    "registrationUrl": "https://www.newsassurancespro.com/ujsa/inscription",
    "forgotPasswordUrl": "https://www.newsassurancespro.com/mot-de-passe-oublie"
  },
  
  "defaultConfigUrls": {
    "_comment": "URLs par défaut pour les configurations de jeux (utilisées comme fallback)",
    "shootingGameConfig": "STREAMING_ASSETS/json/quete02_shooting_zombies.json",
    "calculatorGameConfig": "STREAMING_ASSETS/json/calculator-config.json",
    "levelsConfigUrl": "STREAMING_ASSETS/json/levels-config.json"
  },
  
  "levelsConfig": {
    "_comment": "Configuration pour le LevelManager",
    "urlRootJson": "STREAMING_ASSETS/json/",
    "urlRootThumbnails": "https://ujsa.studioplc.fr/datas/images/thumbnails/"
  }
}

