{"id":1614,"date":"2025-12-02T08:46:17","date_gmt":"2025-12-02T08:46:17","guid":{"rendered":"https:\/\/clubvivremieux.com\/?page_id=1614"},"modified":"2025-12-02T08:52:55","modified_gmt":"2025-12-02T08:52:55","slug":"1614-2","status":"publish","type":"page","link":"https:\/\/clubvivremieux.com\/index.php\/1614-2\/","title":{"rendered":"Que ferais-tu si tu gagnais au loto ?"},"content":{"rendered":"<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"256\" height=\"384\" src=\"https:\/\/clubvivremieux.com\/wp-content\/uploads\/2025\/12\/ChatGPT-Image-2-dec.-2025-09_52.png\" alt=\"\" class=\"wp-image-1618\" srcset=\"https:\/\/clubvivremieux.com\/wp-content\/uploads\/2025\/12\/ChatGPT-Image-2-dec.-2025-09_52.png 256w, https:\/\/clubvivremieux.com\/wp-content\/uploads\/2025\/12\/ChatGPT-Image-2-dec.-2025-09_52-200x300.png 200w\" sizes=\"auto, (max-width: 256px) 100vw, 256px\" \/><\/figure><\/div>\n\n\n<div id=\"lotto-quiz\" style=\"font-family:Arial, sans-serif; max-width:700px; margin:auto; padding:20px; background:#f7f7f7; border-radius:10px; box-shadow:0 4px 10px rgba(0,0,0,0.1);\">\n  <h2 style=\"text-align:center; color:#2c3e50;\">Que ferais-tu si tu gagnais au loto ?<\/h2>\n  <div id=\"quiz-container\"><\/div>\n  <div style=\"margin-top:15px;\">\n    <div style=\"background:#ddd; height:20px; border-radius:10px; overflow:hidden;\">\n      <div id=\"quiz-progress\" style=\"height:20px; width:0%; background:#27ae60; transition:width 0.5s;\"><\/div>\n    <\/div>\n  <\/div>\n  <button id=\"submit-quiz\" style=\"margin-top:15px; padding:10px 20px; background:#2980b9; color:white; border:none; border-radius:5px; cursor:pointer; transition:0.3s;\">Voir mes r\u00e9sultats<\/button>\n  <div id=\"quiz-result\" style=\"margin-top:20px; font-weight:bold; text-align:center; font-size:1.2em;\"><\/div>\n<\/div>\n\n<style>\n#quiz-container div {\n  background:white;\n  padding:15px;\n  margin-bottom:10px;\n  border-radius:8px;\n  transition: transform 0.2s, box-shadow 0.2s;\n}\n#quiz-container div:hover {\n  transform: translateY(-3px);\n  box-shadow:0 6px 15px rgba(0,0,0,0.1);\n}\ninput[type=\"radio\"] {\n  margin-right:8px;\n}\nlabel {\n  display:block;\n  margin-bottom:5px;\n  cursor:pointer;\n  transition: color 0.2s;\n}\nlabel:hover {\n  color:#e67e22;\n}\n<\/style>\n\n<script>\nconst quizData = [\n  {q: \"Quelle serait ta premi\u00e8re d\u00e9pense apr\u00e8s avoir gagn\u00e9 ?\", options: [\"Acheter une maison de r\u00eave\", \"Partir en voyage\", \"Investir\", \"Aider ma famille\"]},\n  {q: \"Voudrais-tu continuer \u00e0 travailler ?\", options: [\"Oui, passionn\u00e9 par mon job\", \"Non, profiter de la vie\", \"Seulement \u00e0 temps partiel\", \"Je lancerais mon entreprise\"]},\n  {q: \"Comment partagerais-tu ta fortune ?\", options: [\"Avec ma famille\", \"Avec mes amis\", \"Je ferais des dons\", \"Je garderais pour moi\"]},\n  {q: \"Quel serait ton investissement principal ?\", options: [\"Immobilier\", \"Crypto & actions\", \"Business\", \"\u00c9ducation\"]},\n  {q: \"Quel type de voiture ach\u00e8terais-tu ?\", options: [\"Luxe\", \"Sport\", \"\u00c9cologique\", \"Je garderais ma voiture actuelle\"]},\n  {q: \"Allerais-tu vivre \u00e0 l\u2019\u00e9tranger ?\", options: [\"Oui, pays chaud\", \"Non, rester proche de ma famille\", \"Peut-\u00eatre plusieurs r\u00e9sidences\", \"Je voyagerais juste souvent\"]},\n  {q: \"Changerais-tu ton style de vie ?\", options: [\"Oui totalement\", \"Un peu\", \"Non, je resterais simple\", \"Je ne sais pas\"]},\n  {q: \"Acheterais-tu une \u00eele priv\u00e9e ?\", options: [\"Oui imm\u00e9diatement\", \"Peut-\u00eatre un jour\", \"Non, trop isol\u00e9\", \"Je louerais plut\u00f4t\"]},\n  {q: \"Que ferais-tu pour tes amis ?\", options: [\"Partage financier\", \"Vacances ensemble\", \"Surprises luxueuses\", \"Je resterais discret\"]},\n  {q: \"Quel loisir de luxe te tenterait ?\", options: [\"Yacht\", \"Aviation priv\u00e9e\", \"Spa & bien-\u00eatre\", \"Arts et collection\"]},\n  {q: \"Ferais-tu de la philanthropie ?\", options: [\"Oui beaucoup\", \"Un peu\", \"Non\", \"Je cr\u00e9erais ma fondation\"]},\n  {q: \"Comment g\u00e8rerais-tu la presse ?\", options: [\"Ignorer totalement\", \"Parler ouvertement\", \"Embaucher un PR\", \"Rester anonyme\"]},\n  {q: \"Ferais-tu des changements dans ton entourage ?\", options: [\"Oui radicalement\", \"Quelques ajustements\", \"Non, je garde tout\", \"Je serais plus prudent\"]},\n  {q: \"Investirais-tu dans ton d\u00e9veloppement personnel ?\", options: [\"Oui beaucoup\", \"Un peu\", \"Non\", \"Je prendrais des cours sp\u00e9cifiques\"]},\n  {q: \"Changerais-tu tes habitudes alimentaires ?\", options: [\"Oui, luxe et sant\u00e9\", \"Non, je garde mes habitudes\", \"Un peu\", \"Je ferais un mix\"]},\n  {q: \"Ferais-tu du b\u00e9n\u00e9volat ?\", options: [\"Oui r\u00e9guli\u00e8rement\", \"Occasionnellement\", \"Non\", \"Je pr\u00e9f\u00e9rerais donner de l'argent\"]},\n  {q: \"Quel serait ton impact sur ta communaut\u00e9 ?\", options: [\"Grand impact\", \"Moyen\", \"Petit\", \"Je resterais discret\"]},\n  {q: \"Ferais-tu un business de r\u00eave ?\", options: [\"Oui imm\u00e9diatement\", \"Peut-\u00eatre plus tard\", \"Non, je profite de la vie\", \"J\u2019investirais juste\"]},\n  {q: \"Changerais-tu de maison ?\", options: [\"Oui une villa\", \"Non, j\u2019aime ma maison\", \"Je prendrais une r\u00e9sidence secondaire\", \"Je voyagerais beaucoup\"]},\n  {q: \"Quel serait ton style vestimentaire ?\", options: [\"Luxe total\", \"Simple mais chic\", \"Sportif\", \"Pas de changement\"]}\n];\n\nconst container = document.getElementById(\"quiz-container\");\nquizData.forEach((item, idx) => {\n  const qDiv = document.createElement(\"div\");\n  qDiv.style.opacity = 0;\n  qDiv.style.transform = \"translateY(20px)\";\n  qDiv.innerHTML = `<p><strong>${idx+1}. ${item.q}<\/strong><\/p>`;\n  item.options.forEach((opt, i) => {\n    qDiv.innerHTML += `<label><input type=\"radio\" name=\"q${idx}\" value=\"${i}\"> ${opt}<\/label>`;\n  });\n  container.appendChild(qDiv);\n  setTimeout(()=>{ qDiv.style.transition=\"all 0.5s\"; qDiv.style.opacity=1; qDiv.style.transform=\"translateY(0)\"; }, idx*100);\n});\n\nconst radios = document.querySelectorAll('input[type=\"radio\"]');\nradios.forEach(radio => {\n  radio.addEventListener('change', () => {\n    const answered = document.querySelectorAll('input[type=\"radio\"]:checked').length;\n    const progress = (answered \/ quizData.length) * 100;\n    document.getElementById('quiz-progress').style.width = progress + \"%\";\n  });\n});\n\ndocument.getElementById(\"submit-quiz\").addEventListener(\"click\", () => {\n  let score = 0;\n  quizData.forEach((item, idx) => {\n    const answer = document.querySelector(`input[name=\"q${idx}\"]:checked`);\n    if(answer) score++;\n  });\n  const resultDiv = document.getElementById(\"quiz-result\");\n  let color = \"#e74c3c\";\n  let message = \"\";\n  if(score <= 5) { message = \"Tu serais plut\u00f4t discret avec ta fortune.\"; color=\"#e74c3c\"; }\n  else if(score <= 10) { message = \"Tu profiterais de la vie avec mod\u00e9ration.\"; color=\"#f39c12\"; }\n  else if(score <= 15) { message = \"Tu vivrais une vie luxueuse et g\u00e9n\u00e9reuse.\"; color=\"#27ae60\"; }\n  else { message = \"Tu serais un ma\u00eetre du style et de la g\u00e9n\u00e9rosit\u00e9 !\"; color=\"#2980b9\"; }\n  resultDiv.style.color = color;\n  resultDiv.style.opacity = 0;\n  resultDiv.innerText = `Score: ${score}\/20\\n${message}`;\n  setTimeout(()=>{ resultDiv.style.transition=\"all 0.5s\"; resultDiv.style.opacity=1; }, 100);\n});\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>Que ferais-tu si tu gagnais au loto ? Voir mes r\u00e9sultats<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1614","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/clubvivremieux.com\/index.php\/wp-json\/wp\/v2\/pages\/1614","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/clubvivremieux.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/clubvivremieux.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/clubvivremieux.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/clubvivremieux.com\/index.php\/wp-json\/wp\/v2\/comments?post=1614"}],"version-history":[{"count":3,"href":"https:\/\/clubvivremieux.com\/index.php\/wp-json\/wp\/v2\/pages\/1614\/revisions"}],"predecessor-version":[{"id":1619,"href":"https:\/\/clubvivremieux.com\/index.php\/wp-json\/wp\/v2\/pages\/1614\/revisions\/1619"}],"wp:attachment":[{"href":"https:\/\/clubvivremieux.com\/index.php\/wp-json\/wp\/v2\/media?parent=1614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}