{"id":3141,"date":"2025-12-10T09:29:56","date_gmt":"2025-12-10T07:29:56","guid":{"rendered":"https:\/\/www.homeopathiepascaldumas.com\/?page_id=3141"},"modified":"2025-12-11T14:16:06","modified_gmt":"2025-12-11T12:16:06","slug":"avis-livres","status":"publish","type":"page","link":"https:\/\/homeopathiepascaldumas.com\/accueil-nouveau\/avis-livres\/","title":{"rendered":"Avis Livres"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"3141\" class=\"elementor elementor-3141\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-a956200 e-flex e-con-boxed e-con e-parent\" data-id=\"a956200\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-4e32f2f elementor-widget elementor-widget-text-editor\" data-id=\"4e32f2f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<style>\n\/* === CACHER SIDEBAR ET FOOTER DU TH\u00c8ME === *\/\n#secondary, .sidebar, aside, .widget-area,\n.sidebar-container, #sidebar, .blog-sidebar,\nfooter.site-footer, .site-footer, #footer, .footer-widgets,\n.archive-list, .archives, .categories, .widget_categories,\n.widget_archive, .widget_recent_entries, .widget_meta {\n    display: none !important;\n}\n\n#page, #content, #primary, #main, .site, .site-content, \n.content-area, main, article, .entry-content, .page-content {\n    background: #F8F5EE !important;\n    width: 100% !important;\n    max-width: 100% !important;\n    float: none !important;\n    margin: 0 auto !important;\n}\n\n\/* ============================================================\n   PALETTE BRITISH CLUB - PAGE AVIS LIVRES\n   ============================================================ *\/\n\nhtml, body {\n  background: #F8F5EE !important;\n  margin: 0;\n  padding: 0;\n  font-family: 'Georgia', 'Times New Roman', serif;\n}\n\n.elementor,\n.elementor-section,\n.elementor-top-section,\n.elementor-container,\n.elementor-column,\n.elementor-widget-wrap,\n.elementor-widget-container {\n  background: #F8F5EE !important;\n}\n\n.elementor-template-name,\n.elementor-post-title,\nh1.entry-title {\n  display: none !important;\n}\n\n\/* ============================================================\n   HERO SECTION\n   ============================================================ *\/\n.avis-hero {\n  background: linear-gradient(135deg, #2C5545 0%, #1E3D30 100%);\n  padding: 50px 20px 40px;\n  text-align: center;\n  border-bottom: 5px solid #C49E52;\n  margin-bottom: 40px;\n}\n\n.avis-hero h1 {\n  font-size: 2.4em;\n  color: #F8F5EE;\n  margin-bottom: 15px;\n  font-weight: 600;\n}\n\n.avis-hero p {\n  font-size: 1.2em;\n  color: #EDE8DC;\n  font-style: italic;\n  max-width: 700px;\n  margin: 0 auto;\n}\n\n\/* ============================================================\n   CONTAINER PRINCIPAL\n   ============================================================ *\/\n.avis-container {\n  max-width: 900px;\n  margin: 0 auto 50px;\n  padding: 0 20px;\n}\n\n\/* ============================================================\n   SECTION TITRE\n   ============================================================ *\/\n.section-avis-titre {\n  text-align: center;\n  margin-bottom: 30px;\n}\n\n.section-avis-titre h2 {\n  color: #2C5545;\n  font-size: 1.8em;\n  font-weight: 600;\n  margin-bottom: 10px;\n}\n\n.section-avis-titre p {\n  color: #5D4E37;\n  font-size: 1.1em;\n}\n\n\/* ============================================================\n   FORMULAIRE D'AVIS\n   ============================================================ *\/\n.formulaire-avis {\n  background: linear-gradient(135deg, #FFFFFF 0%, #F8F5EE 100%);\n  padding: 35px;\n  border-radius: 12px;\n  border: 3px solid #C49E52;\n  box-shadow: 0 8px 25px rgba(93, 78, 55, 0.15);\n  margin-bottom: 50px;\n}\n\n.avis-field {\n  margin-bottom: 20px;\n}\n\n.avis-field label {\n  display: block;\n  margin-bottom: 8px;\n  color: #2C5545;\n  font-weight: 600;\n  font-size: 1em;\n}\n\n.avis-field label small {\n  color: #888;\n  font-weight: normal;\n}\n\n.avis-field input[type=\"text\"],\n.avis-field input[type=\"email\"],\n.avis-field select,\n.avis-field textarea {\n  width: 100%;\n  padding: 14px 16px;\n  border: 2px solid #EDE8DC;\n  border-radius: 8px;\n  font-size: 1em;\n  font-family: 'Georgia', serif;\n  color: #5D4E37;\n  background: #FFFFFF;\n  transition: all 0.3s ease;\n  box-sizing: border-box;\n}\n\n.avis-field input:focus,\n.avis-field select:focus,\n.avis-field textarea:focus {\n  outline: none;\n  border-color: #C49E52;\n  box-shadow: 0 0 0 3px rgba(196, 158, 82, 0.2);\n}\n\n.avis-field textarea {\n  resize: vertical;\n  min-height: 120px;\n}\n\n\/* \u00c9toiles interactives *\/\n.avis-stars {\n  display: flex;\n  gap: 8px;\n  margin-top: 5px;\n}\n\n.avis-stars .star {\n  font-size: 2em;\n  color: #DDD;\n  cursor: pointer;\n  transition: all 0.2s ease;\n}\n\n.avis-stars .star:hover,\n.avis-stars .star.active {\n  color: #C49E52;\n  transform: scale(1.15);\n}\n\n\/* Checkbox anonyme *\/\n.avis-checkbox {\n  display: flex;\n  align-items: flex-start;\n  gap: 12px;\n  background: #EDE8DC;\n  padding: 15px;\n  border-radius: 8px;\n}\n\n.avis-checkbox input[type=\"checkbox\"] {\n  width: 20px;\n  height: 20px;\n  margin-top: 2px;\n  cursor: pointer;\n  accent-color: #2C5545;\n}\n\n.avis-checkbox label {\n  margin: 0;\n  font-weight: normal;\n  color: #5D4E37;\n  cursor: pointer;\n}\n\n\/* Bouton envoyer *\/\n.btn-envoyer-avis {\n  display: block;\n  width: 100%;\n  background: linear-gradient(135deg, #2C5545 0%, #1E3D30 100%);\n  color: #F8F5EE !important;\n  padding: 16px 30px;\n  border: 2px solid #C49E52;\n  border-radius: 8px;\n  font-size: 1.15em;\n  font-weight: 600;\n  font-family: 'Georgia', serif;\n  cursor: pointer;\n  transition: all 0.3s ease;\n  box-shadow: 0 4px 15px rgba(44, 85, 69, 0.3);\n}\n\n.btn-envoyer-avis:hover {\n  background: linear-gradient(135deg, #C49E52 0%, #A68542 100%);\n  color: #3D3325 !important;\n  transform: translateY(-2px);\n  box-shadow: 0 6px 20px rgba(196, 158, 82, 0.4);\n}\n\n\/* Messages succ\u00e8s\/erreur *\/\n.avis-message {\n  padding: 15px 20px;\n  border-radius: 8px;\n  margin-bottom: 20px;\n  font-weight: 600;\n}\n\n.avis-success {\n  background: #E8F5E9;\n  color: #2E7D32;\n  border: 2px solid #4CAF50;\n}\n\n.avis-error {\n  background: #FFEBEE;\n  color: #C62828;\n  border: 2px solid #EF5350;\n}\n\n\/* ============================================================\n   LISTE DES AVIS\n   ============================================================ *\/\n.liste-avis {\n  display: flex;\n  flex-direction: column;\n  gap: 25px;\n}\n\n.avis-item {\n  background: #FFFFFF;\n  padding: 25px;\n  border-radius: 12px;\n  border: 2px solid #EDE8DC;\n  box-shadow: 0 4px 15px rgba(93, 78, 55, 0.1);\n  transition: all 0.3s ease;\n}\n\n.avis-item:hover {\n  border-color: #C49E52;\n  transform: translateY(-3px);\n  box-shadow: 0 8px 25px rgba(93, 78, 55, 0.15);\n}\n\n.avis-header {\n  display: flex;\n  justify-content: space-between;\n  align-items: center;\n  margin-bottom: 10px;\n  flex-wrap: wrap;\n  gap: 10px;\n}\n\n.avis-auteur {\n  font-weight: 600;\n  color: #2C5545;\n  font-size: 1.1em;\n}\n\n.avis-etoiles {\n  color: #C49E52;\n  font-size: 1.3em;\n  letter-spacing: 2px;\n}\n\n.avis-livre {\n  font-size: 0.9em;\n  color: #888;\n  margin-bottom: 12px;\n  font-style: italic;\n}\n\n.avis-contenu {\n  color: #5D4E37;\n  line-height: 1.7;\n  font-size: 1.05em;\n  font-style: italic;\n}\n\n.avis-date {\n  margin-top: 15px;\n  font-size: 0.85em;\n  color: #999;\n  text-align: right;\n}\n\n\/* Aucun avis *\/\n.avis-vide {\n  text-align: center;\n  padding: 40px;\n  background: #EDE8DC;\n  border-radius: 12px;\n  color: #5D4E37;\n  font-size: 1.1em;\n}\n\n\/* ============================================================\n   S\u00c9PARATEUR\n   ============================================================ *\/\n.section-divider {\n  height: 3px;\n  background: linear-gradient(90deg, transparent, #C49E52, transparent);\n  margin: 50px auto;\n  max-width: 400px;\n}\n\n\/* ============================================================\n   LIEN RETOUR\n   ============================================================ *\/\n.lien-retour {\n  text-align: center;\n  margin-top: 40px;\n}\n\n.lien-retour a {\n  display: inline-block;\n  color: #2C5545;\n  text-decoration: none;\n  font-size: 1.1em;\n  padding: 12px 25px;\n  border: 2px solid #2C5545;\n  border-radius: 8px;\n  transition: all 0.3s ease;\n}\n\n.lien-retour a:hover {\n  background: #2C5545;\n  color: #F8F5EE;\n}\n\n\/* ============================================================\n   RESPONSIVE\n   ============================================================ *\/\n@media (max-width: 768px) {\n  .avis-hero h1 {\n    font-size: 1.8em;\n  }\n  \n  .formulaire-avis {\n    padding: 25px 20px;\n  }\n  \n  .avis-header {\n    flex-direction: column;\n    align-items: flex-start;\n  }\n  \n  .avis-stars .star {\n    font-size: 1.6em;\n  }\n}\n<\/style>\n\n<!-- ============================================================\n     HERO\n     ============================================================ -->\n<section class=\"avis-hero\">\n  <h1>\u2b50 Avis sur mes Livres<\/h1>\n  <p>D\u00e9couvrez ce que les lecteurs pensent de mes ouvrages et partagez votre propre exp\u00e9rience<\/p>\n<\/section>\n\n<!-- ============================================================\n     CONTAINER\n     ============================================================ -->\n<div class=\"avis-container\">\n\n  <!-- SECTION : D\u00e9poser un avis -->\n  <div class=\"section-avis-titre\">\n    <h2>\ud83d\udcdd D\u00e9poser un avis<\/h2>\n    <p>Vous avez lu un de mes livres ? Votre retour m&#8217;est pr\u00e9cieux !<\/p>\n  <\/div>\n  \n  <form method=\"post\" class=\"formulaire-avis\" id=\"formAvis\"><input type=\"hidden\" id=\"pd_avis_nonce\" name=\"pd_avis_nonce\" value=\"bc436f3eac\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/accueil-nouveau\/wp-json\/wp\/v2\/pages\/3141\" \/><div class=\"avis-field\"><label for=\"livre_id\">\ud83d\udcda S\u00e9lectionnez le livre *<\/label><select name=\"livre_id\" id=\"livre_id\" required><option value=\"\">&#8212; Choisir un livre &#8212;<\/option><option value=\"1\" data-titre=\"Connaissez-vous l&#039;Hom\u00e9opathie Uniciste ?\">Connaissez-vous l&#039;Hom\u00e9opathie Uniciste ?<\/option><option value=\"2\" data-titre=\"Piq\u00fbres &amp; Morsures L&#039;ESSENTIEL\">Piq\u00fbres &amp; Morsures L&#039;ESSENTIEL<\/option><option value=\"3\" data-titre=\"Drainage Organique Hom\u00e9opathique\">Drainage Organique Hom\u00e9opathique<\/option><option value=\"4\" data-titre=\"La Fi\u00e8vre de l&#039;Enfant - Tome 1\">La Fi\u00e8vre de l&#039;Enfant &#8211; Tome 1<\/option><\/select><input type=\"hidden\" name=\"livre_titre\" id=\"livre_titre\" value=\"\"><\/div><div class=\"avis-field\"><label>\u2b50 Votre note *<\/label><div class=\"avis-stars\" id=\"avisStars\"><span class=\"star\" data-value=\"1\">\u2606<\/span><span class=\"star\" data-value=\"2\">\u2606<\/span><span class=\"star\" data-value=\"3\">\u2606<\/span><span class=\"star\" data-value=\"4\">\u2606<\/span><span class=\"star\" data-value=\"5\">\u2606<\/span><\/div><input type=\"hidden\" name=\"avis_note\" id=\"avis_note\" value=\"\" required><\/div><div class=\"avis-field\"><label for=\"avis_prenom\">Pr\u00e9nom *<\/label><input type=\"text\" name=\"avis_prenom\" id=\"avis_prenom\" required placeholder=\"Votre pr\u00e9nom\"><\/div><div class=\"avis-field\"><label for=\"avis_nom\">Nom *<\/label><input type=\"text\" name=\"avis_nom\" id=\"avis_nom\" required placeholder=\"Votre nom\"><\/div><div class=\"avis-field\"><label for=\"avis_email\">Email * <small>(non affich\u00e9 publiquement)<\/small><\/label><input type=\"email\" name=\"avis_email\" id=\"avis_email\" required placeholder=\"votre@email.com\"><\/div><div class=\"avis-field\"><label for=\"avis_texte\">Votre avis *<\/label><textarea name=\"avis_texte\" id=\"avis_texte\" rows=\"5\" required placeholder=\"Partagez votre exp\u00e9rience avec ce livre...\"><\/textarea><\/div><div class=\"avis-field avis-checkbox\"><input type=\"checkbox\" name=\"avis_anonyme\" id=\"avis_anonyme\" value=\"1\"><label for=\"avis_anonyme\">\ud83d\udd12 Afficher uniquement mes initiales (ex: P. D. au lieu de Pascal DUMAS)<\/label><\/div><div class=\"avis-field\"><button type=\"submit\" name=\"pd_avis_submit\" class=\"btn-envoyer-avis\">\ud83d\udce4 Envoyer mon avis<\/button><\/div><\/form>\n  \n  <div class=\"section-divider\"><\/div>\n  \n  <!-- SECTION : Liste des avis -->\n  <div class=\"section-avis-titre\">\n    <h2>\ud83d\udcac Avis des lecteurs<\/h2>\n    <p>Ce que les lecteurs pensent de mes ouvrages<\/p>\n  <\/div>\n  \n  <div class=\"avis-vide\">\ud83d\udcdd Aucun avis pour le moment. Soyez le premier \u00e0 donner votre avis !<\/div>\n  \n  <!-- Lien retour -->\n  <div class=\"lien-retour\">\n    <a href=\"\/livres-nouveau\/\">\ud83d\udcda D\u00e9couvrir mes livres<\/a>\n  <\/div>\n\n<\/div>\n\n<!-- ============================================================\n     JAVASCRIPT POUR LES \u00c9TOILES\n     ============================================================ -->\n<script>\ndocument.addEventListener('DOMContentLoaded', function() {\n  var stars = document.querySelectorAll('.avis-stars .star');\n  var noteInput = document.getElementById('avis_note');\n  \n  if (stars.length > 0 && noteInput) {\n    stars.forEach(function(star) {\n      star.addEventListener('click', function() {\n        var value = this.getAttribute('data-value');\n        noteInput.value = value;\n        \n        stars.forEach(function(s, index) {\n          if (index < value) {\n            s.textContent = '\u2605';\n            s.classList.add('active');\n          } else {\n            s.textContent = '\u2606';\n            s.classList.remove('active');\n          }\n        });\n      });\n      \n      star.addEventListener('mouseenter', function() {\n        var value = this.getAttribute('data-value');\n        stars.forEach(function(s, index) {\n          if (index < value) {\n            s.textContent = '\u2605';\n          }\n        });\n      });\n      \n      star.addEventListener('mouseleave', function() {\n        var currentValue = noteInput.value || 0;\n        stars.forEach(function(s, index) {\n          if (index < currentValue) {\n            s.textContent = '\u2605';\n          } else {\n            s.textContent = '\u2606';\n          }\n        });\n      });\n    });\n  }\n  \n  var livreSelect = document.getElementById('livre_id');\n  var livreHidden = document.getElementById('livre_titre');\n  \n  if (livreSelect &#038;&#038; livreHidden) {\n    livreSelect.addEventListener('change', function() {\n      var selectedOption = this.options[this.selectedIndex];\n      livreHidden.value = selectedOption.getAttribute('data-titre') || '';\n    });\n  }\n  \n  var form = document.getElementById('formAvis');\n  if (form) {\n    form.addEventListener('submit', function(e) {\n      if (!noteInput.value || noteInput.value < 1) {\n        e.preventDefault();\n        alert('Veuillez s\u00e9lectionner une note (\u00e9toiles)');\n        return false;\n      }\n    });\n  }\n});\n<\/script>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>&#x2b50; Avis sur mes Livres D\u00e9couvrez ce que les lecteurs pensent de mes ouvrages et partagez votre propre exp\u00e9rience &#x1f4dd; D\u00e9poser un avis Vous avez lu un de mes livres ? Votre retour m&#8217;est&#46;&#46;&#46;<\/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-3141","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/homeopathiepascaldumas.com\/accueil-nouveau\/wp-json\/wp\/v2\/pages\/3141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/homeopathiepascaldumas.com\/accueil-nouveau\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/homeopathiepascaldumas.com\/accueil-nouveau\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/homeopathiepascaldumas.com\/accueil-nouveau\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/homeopathiepascaldumas.com\/accueil-nouveau\/wp-json\/wp\/v2\/comments?post=3141"}],"version-history":[{"count":9,"href":"https:\/\/homeopathiepascaldumas.com\/accueil-nouveau\/wp-json\/wp\/v2\/pages\/3141\/revisions"}],"predecessor-version":[{"id":3309,"href":"https:\/\/homeopathiepascaldumas.com\/accueil-nouveau\/wp-json\/wp\/v2\/pages\/3141\/revisions\/3309"}],"wp:attachment":[{"href":"https:\/\/homeopathiepascaldumas.com\/accueil-nouveau\/wp-json\/wp\/v2\/media?parent=3141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}