/*
 Theme Name:   Pleine Santé 67 – Divi enfant
 Theme URI:    https://www.pleinesante67.fr/
 Description:  Thème enfant de Divi pour Pleine Santé 67. Toutes les personnalisations (CSS, PHP) se font ici : elles sont conservées lors des mises à jour de Divi.
 Author:       Studio ED
 Template:     Divi
 Version:      1.5.2
 Requires PHP: 7.4
 Text Domain:  pleinesante-child
*/

/* =====================================================================
   CSS DU SITE
   Ce fichier remplace « Divi > Options du thème > CSS personnalisé » :
   ne colle PAS ce CSS une deuxième fois là-bas.
   ===================================================================== */

/* ---------- Base ---------- */
body { background: #FCF8F4; color: #3B2E2A; font-family: 'Jost', sans-serif; -webkit-font-smoothing: antialiased; }
#page-container { overflow-x: clip; }
.et_pb_text h1 em, .et_pb_text h2 em, .et_pb_text h3 em { font-style: italic; color: #E76F51; }
.et_pb_text strong { font-weight: 600; color: #3B2E2A; }
.et_pb_text p + p { margin-top: .9em; }
.et_pb_text p { padding-bottom: 0; }

/* Libellés avec petit trait */
.ps-label p { display: inline-flex; align-items: center; gap: 10px; }
.ps-label p::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.ps-label-c p::after { content: ''; width: 28px; height: 1px; background: currentColor; }

/* ---------- Boutons HTML (module Code) ---------- */
.ps-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.ps-btns-c { justify-content: center; }
.ps-a {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 50px;
  font: 500 14px/1 'Jost', sans-serif; letter-spacing: 1.2px; text-transform: uppercase;
  border: 1.5px solid #C2502F; transition: background .3s, color .3s, transform .3s, box-shadow .3s;
}
.ps-a::after { content: '→'; transition: transform .3s; }
.ps-a:hover::after { transform: translateX(4px); }
.ps-a-primary { background: #C2502F; color: #fff !important; box-shadow: 0 8px 22px rgba(231,111,81,.30); }
.ps-a-primary:hover { background: #E76F51; border-color: #E76F51; transform: translateY(-2px); }
.ps-a-outline { color: #C2502F !important; }
.ps-a-outline:hover { background: #C2502F; color: #fff !important; }
.ps-btn .et_pb_button:hover { transform: translateY(-2px); }
.ps-btn .et_pb_button { transition: all .3s !important; }

/* ---------- En-tête (Theme Builder) ---------- */
.ps-header-col { display: flex; align-items: center; gap: 24px; }
.ps-header-col .ps-menu { flex: 1; margin-bottom: 0 !important; }
.ps-header-col .ps-btn { margin: 0 !important; flex-shrink: 0; }
/* Soulignement du menu : suit le texte, quelle que soit la hauteur du lien (Divi 4 et Divi 5) */
.ps-menu .et-menu > li > a {
  text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 7px;
  text-decoration-color: transparent; transition: text-decoration-color .3s, color .3s;
}
.ps-menu .et-menu > li > a:hover,
.ps-menu .et-menu > li.current-menu-item > a { text-decoration-color: #E76F51; }
.ps-menu .et_pb_menu__menu { justify-content: flex-end; }

/* ---------- Correctif typographie (pages déjà importées) ----------
   Libellés, fil d'Ariane et boutons en MAJUSCULES sans soulignement,
   témoignages en italique. */
.ps-label, .ps-label *, .ps-crumb, .ps-crumb *, .pa-label, .pa-label *,
.ps-btn, .ps-btn *, .et_pb_contact_submit { text-decoration: none !important; }
.ps-label p, .ps-crumb p, .pa-label p, .ps-btn, a.et_pb_button.ps-btn, .et_pb_contact_submit { text-transform: uppercase !important; }
.ps-testi, .ps-testi * { text-transform: none !important; }
.ps-testi .et_pb_testimonial_description_inner, .ps-testi .et_pb_testimonial_description_inner p { font-style: italic; }
/* Icône seule dans le menu (maison de l'Accueil, Font Awesome 4.7 : fa fa-home) */
.ps-menu .et-menu > li > a .fa { font-size: 17px; line-height: 1; vertical-align: -1px; }

.ps-promo p { font-size: 14px; }
.ps-promo a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 980px) {
  .ps-header-col .ps-btn { display: none; }
}

/* ---------- Hero accueil ---------- */
.ps-hero-col { position: relative; }
.ps-hero-visual { position: absolute; inset: 0; pointer-events: none; }
/* Divi 5 : le module Code qui contient les taches devient le calque de toute la colonne
   (sinon les taches se calent sur ce petit module, en haut de la colonne) */
.ps-hero-col > .et_pb_code:has(.ps-hero-visual) {
  position: absolute !important; inset: 0; margin: 0 !important; padding: 0 !important;
  z-index: 0; pointer-events: none; overflow: visible;
}
.ps-hero-col > .et_pb_code:has(.ps-hero-visual) .et_pb_code_inner { position: static !important; }
.ps-blob {
  position: absolute; width: 78%; aspect-ratio: 1; right: -12%; top: -8%; background: #FBE3D8; z-index: 0;
  border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; animation: ps-blob 14s ease-in-out infinite;
}
.ps-blob-2 { background: #E6EDE2; width: 46%; left: -14%; right: auto; top: auto; bottom: -6%; animation-duration: 18s; animation-direction: reverse; }
.ps-arch { position: relative; z-index: 2; }
.ps-arch .et_pb_image_wrap { border-radius: 300px 300px 24px 24px !important; overflow: hidden; box-shadow: 0 18px 40px rgba(74,58,51,.14); }
.ps-arch img { aspect-ratio: 4/5; object-fit: cover; object-position: 60% center; width: 100%; }
.ps-hero-card {
  position: absolute; z-index: 3; left: -40px; bottom: 60px; background: #fff; border-radius: 16px; padding: 18px 22px;
  box-shadow: 0 18px 40px rgba(74,58,51,.14); display: flex; align-items: center; gap: 14px; max-width: 280px;
  animation: ps-float 6s ease-in-out infinite;
}
.ps-hero-col .et_pb_code:last-child { position: static; }
.ps-hero-card p { font-size: 14px; line-height: 1.4; color: #76655E; padding: 0; }
.ps-hero-card b { display: block; color: #3B2E2A; font-weight: 500; font-size: 15px; }
.ps-ico { width: 44px; height: 44px; border-radius: 50%; background: #FBE3D8; color: #C2502F; display: grid; place-items: center; flex-shrink: 0; }
.ps-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 40px; }
.ps-badges > div { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #76655E; line-height: 1.35; }
.ps-badges b { display: block; color: #3B2E2A; font-weight: 500; font-size: 15px; }
.ps-badges .ps-ico { background: #E6EDE2; color: #7E9A7A; }
@keyframes ps-blob { 0%,100% { border-radius: 42% 58% 63% 37% / 41% 44% 56% 59%; transform: rotate(0); } 50% { border-radius: 58% 42% 38% 62% / 55% 61% 39% 45%; transform: rotate(14deg); } }
@keyframes ps-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@media (max-width: 980px) { .ps-hero-card { left: 0; } .ps-hero-col { max-width: 460px; margin: 0 auto !important; } }

/* ---------- Bandeau défilant ---------- */
.ps-marquee { overflow: hidden; padding: 20px 0; color: #fff; }
.ps-marquee-track { display: flex; width: max-content; animation: ps-marquee 38s linear infinite; }
.ps-marquee span { font: italic 24px 'Playfair Display', serif; padding: 0 28px; white-space: nowrap; display: inline-flex; align-items: center; gap: 56px; }
.ps-marquee span::after { content: '✿'; font-style: normal; font-size: 15px; opacity: .65; }
@keyframes ps-marquee { to { transform: translateX(-50%); } }

/* ---------- Cartes (Blurbs) ---------- */
.ps-card, .ps-symptom { transition: transform .4s, box-shadow .4s !important; position: relative; overflow: hidden; }
.ps-card:hover { transform: translateY(-8px); box-shadow: 0 18px 40px rgba(74,58,51,.14) !important; }
.ps-card::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: #E76F51; transform: scaleX(0); transform-origin: left; transition: transform .45s; }
.ps-card:hover::after { transform: scaleX(1); }
.ps-card .et-pb-icon { transition: background .4s, color .4s, transform .4s !important; }
.ps-card:hover .et-pb-icon { background: #E76F51 !important; color: #fff !important; transform: rotate(-8deg) scale(1.05); }
.ps-card .et_pb_main_blurb_image { margin-bottom: 22px; text-align: left; }
.ps-more { margin-top: 18px; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #C2502F; font-weight: 500; }
.ps-symptom { border: 1px solid #EADFD5; box-shadow: none !important; }
.ps-symptom:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(74,58,51,.08) !important; border-color: transparent; }
.ps-symptom .et_pb_main_blurb_image .et-pb-icon, .ps-info .et-pb-icon { border-radius: 12px !important; }
/* colonnes de même hauteur */
.ps-equal { display: flex; flex-wrap: wrap; }
.ps-equal > .et_pb_column { display: flex; flex-direction: column; }
.ps-equal > .et_pb_column > .et_pb_module { flex: 1; }
@media (max-width: 980px) { .ps-equal > .et_pb_column { width: 100% !important; } }
.ps-vcenter { display: flex; flex-wrap: wrap; align-items: center; }
@media (max-width: 980px) { .ps-vcenter { display: block; } }

/* ---------- Listes ---------- */
.ps-checks { list-style: none !important; padding: 0 !important; margin: 24px 0 30px; display: grid; gap: 14px; }
.ps-checks li { display: flex; gap: 14px; align-items: flex-start; }
.ps-checks li::before {
  content: ''; width: 24px; height: 24px; flex-shrink: 0; margin-top: 3px; border-radius: 50%;
  background: #E6EDE2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237E9A7A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat;
}
.ps-signature { font: italic 26px 'Playfair Display', serif; color: #E76F51 !important; margin-top: 10px; }
.ps-timeline { list-style: none !important; border-left: 1.5px solid #F4A58E; padding: 0 0 0 30px !important; display: grid; gap: 24px; margin-top: 28px; }
.ps-timeline li { position: relative; }
.ps-timeline li::before { content: ''; position: absolute; left: -38px; top: 8px; width: 13px; height: 13px; border-radius: 50%; background: #FCF8F4; border: 2px solid #E76F51; }
.ps-timeline b { font: 500 20px 'Playfair Display', serif; display: block; color: #3B2E2A; }

/* ---------- Images encadrées ---------- */
.ps-frame-img { position: relative; }
.ps-frame-img::before { content: ''; position: absolute; inset: 26px -26px -26px 26px; border: 1.5px solid #F4A58E; border-radius: 18px; z-index: 0; }
.ps-frame-img.ps-sage::before { border-color: #7E9A7A; }
.ps-frame-img .et_pb_image_wrap { position: relative; z-index: 1; box-shadow: 0 18px 40px rgba(74,58,51,.14); overflow: hidden; }
.ps-frame-img img { aspect-ratio: 4/4.6; object-fit: cover; width: 100%; }
.ps-portrait-ph {
  aspect-ratio: 4/4.8; border-radius: 240px 240px 18px 18px; display: grid; place-items: center; text-align: center;
  background: linear-gradient(160deg, #FBE3D8, #E6EDE2); color: #76655E; font-size: 14px; letter-spacing: 1.5px; text-transform: uppercase;
  box-shadow: 0 18px 40px rgba(74,58,51,.14);
}
.ps-diploma .et_pb_image_wrap { background: #fff; padding: 12px; box-shadow: 0 10px 30px rgba(74,58,51,.08); transition: transform .35s; }
.ps-diploma:hover .et_pb_image_wrap { transform: translateY(-5px) rotate(-.6deg); }

/* ---------- Étapes ---------- */
.ps-steps { position: relative; }
.ps-steps::before { content: ''; position: absolute; top: 32px; left: 14%; right: 14%; height: 1px; background: repeating-linear-gradient(90deg, #F4A58E 0 8px, transparent 8px 16px); }
.ps-n { width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: #fff; border: 1.5px solid #F4A58E; display: grid; place-items: center; font: 26px 'Playfair Display', serif; color: #E76F51; position: relative; z-index: 1; transition: background .3s, color .3s; }
.ps-step:hover .ps-n { background: #E76F51; color: #fff; }
.ps-step h4 { padding-bottom: 8px; }
@media (max-width: 980px) { .ps-steps::before { display: none; } }

/* ---------- Compteurs ---------- */
.ps-counter .percent p { font-family: 'Playfair Display', serif; }

/* ---------- Citation ---------- */
.ps-quote blockquote { border: 0; padding: 0; margin: 0 0 20px; }
.ps-quote blockquote p { font: italic clamp(26px, 3.4vw, 42px)/1.4 'Playfair Display', serif; color: #fff; }
.ps-qmark { font: 120px/0.6 'Playfair Display', serif; opacity: .3; margin-bottom: 12px; color: #fff; }
.ps-cite { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; opacity: .8; color: #fff; }

/* ---------- Témoignages ---------- */
.ps-testi { box-shadow: 0 10px 30px rgba(74,58,51,.08); }
.ps-testi .et_pb_testimonial_description_inner::before { content: '★★★★★'; display: block; color: #E76F51; letter-spacing: 3px; margin-bottom: 12px; font-style: normal; }

/* ---------- Bloc CTA ---------- */
.ps-cta-box { position: relative; overflow: hidden; }
.ps-cta-box::before, .ps-cta-box::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255,255,255,.55); }
.ps-cta-box::before { width: 280px; height: 280px; top: -120px; left: -80px; }
.ps-cta-box::after { width: 200px; height: 200px; bottom: -90px; right: -50px; background: #FBE3D8; }
.ps-cta-box > .et_pb_column { position: relative; z-index: 1; }

/* ---------- Offres / tarifs ---------- */
.ps-offer-wrap, .ps-offer-wrap .et_pb_text_inner { height: 100%; }
.ps-offer {
  background: #fff; border-radius: 24px; padding: 42px 34px; box-shadow: 0 10px 30px rgba(74,58,51,.08); border: 1px solid #EADFD5;
  display: flex; flex-direction: column; position: relative; height: 100%; transition: transform .4s, box-shadow .4s;
}
.ps-offer:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(74,58,51,.14); }
.ps-featured { border: 2px solid #E76F51; }
.ps-ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: #E76F51; color: #fff; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 18px; border-radius: 30px; white-space: nowrap; }
.ps-tag { font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: #7E9A7A; font-weight: 500; }
.ps-offer h2, .ps-offer h3 { font: 500 27px 'Playfair Display', serif; color: #3B2E2A; margin: 8px 0 12px; padding: 0; }
.ps-desc { font-size: 15.5px; }
.ps-price { font: 46px/1 'Playfair Display', serif; color: #C2502F; margin: 16px 0 4px; }
.ps-price small { font: 15px 'Jost', sans-serif; color: #76655E; }
.ps-price s { font-size: 22px; color: #76655E; margin-right: 8px; }
.ps-offer ul { list-style: none !important; padding: 0 !important; margin: 18px 0 30px; display: grid; gap: 11px; flex: 1; }
.ps-offer li { font-size: 15.5px; display: flex; gap: 12px; line-height: 1.5; color: #3B2E2A; }
.ps-offer li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #F4A58E; margin-top: 8px; flex-shrink: 0; }
.ps-offer .ps-a { justify-content: center; }
.ps-info { box-shadow: none !important; }

/* ---------- Puces thèmes ---------- */
.ps-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ps-chips-c { justify-content: center; }
.ps-chips span { background: #fff; border: 1px solid #EADFD5; padding: 10px 20px; border-radius: 40px; font-size: 15px; color: #3B2E2A; transition: all .3s; }
.ps-chips span:hover { background: #E76F51; border-color: #E76F51; color: #fff; transform: translateY(-3px); }

/* ---------- FAQ (Toggle) ---------- */
.ps-toggle { transition: box-shadow .3s; }
.ps-toggle.et_pb_toggle_open { box-shadow: 0 10px 30px rgba(74,58,51,.08); border-color: transparent !important; }
.ps-toggle .et_pb_toggle_title:before {
  content: '+' !important; font-family: 'Jost', sans-serif !important; font-size: 22px !important; width: 32px; height: 32px; border-radius: 50%;
  background: #FBE3D8; display: grid; place-items: center; line-height: 1 !important; margin-top: -16px !important; transition: transform .35s, background .3s, color .3s;
}
.ps-toggle.et_pb_toggle_open .et_pb_toggle_title:before { display: grid !important; transform: rotate(45deg); background: #E76F51; color: #fff !important; }
.ps-toggle .et_pb_toggle_content { padding-top: 14px; }
.ps-toggle a { color: #C2502F; text-decoration: underline; }
.ps-hours { width: 100%; border: 0 !important; margin: 4px 0 10px; }
.ps-hours td { padding: 8px 0 !important; border: 0 !important; border-bottom: 1px solid #EADFD5 !important; }
.ps-hours td:last-child { text-align: right; color: #3B2E2A; }

/* ---------- Contact ---------- */
.ps-clist { display: grid; gap: 18px; margin: 10px 0 26px; }
.ps-citem { display: flex; gap: 16px; align-items: center; color: #3B2E2A; }
.ps-citem .ps-ico { width: 52px; height: 52px; transition: background .3s, color .3s; }
.ps-citem:hover .ps-ico { background: #E76F51; color: #fff; }
.ps-citem small { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: #76655E; }
.ps-map { border-radius: 20px; overflow: hidden; height: 260px; box-shadow: 0 10px 30px rgba(74,58,51,.08); }
.ps-map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75) sepia(.12); }
.ps-form .input, .ps-form select { padding: 14px 18px !important; transition: border-color .25s, box-shadow .25s; }
.ps-form .input:focus { border-color: #E76F51 !important; box-shadow: 0 0 0 4px rgba(231,111,81,.12); background: #fff !important; }
.ps-form .et_pb_contact_submit:hover { background: #E76F51 !important; border-color: #E76F51 !important; }

/* ---------- Pied de page ---------- */
.ps-footer { position: relative; overflow: hidden; }
.ps-footer::before { content: ''; position: absolute; width: 420px; height: 420px; right: -140px; top: -160px; border-radius: 50%; background: rgba(231,111,81,.12); }
.ps-fcol h4 { font: 500 12px 'Jost', sans-serif !important; letter-spacing: 3px; text-transform: uppercase; color: #F4A58E !important; margin-bottom: 16px; }
.ps-flist { list-style: none !important; padding: 0 !important; display: grid; gap: 9px; }
.ps-footer a { transition: color .25s; }
.ps-footer a:hover { color: #fff !important; }

/* ---------- Bouton RDV flottant ---------- */
.ps-fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 9990; display: flex; align-items: center; gap: 10px;
  background: #C2502F; color: #fff !important; border-radius: 50px; padding: 14px 22px; box-shadow: 0 12px 30px rgba(194,80,47,.35);
  font: 500 14px 'Jost', sans-serif; letter-spacing: 1px; text-transform: uppercase;
  transform: translateY(120px); opacity: 0; transition: transform .5s, opacity .5s, background .3s;
}
.ps-fab.show { transform: none; opacity: 1; }
.ps-fab:hover { background: #E76F51; }
@media (max-width: 600px) { .ps-fab span { display: none; } .ps-fab { padding: 16px; } }

@media (prefers-reduced-motion: reduce) {
  .ps-blob, .ps-hero-card, .ps-marquee-track { animation: none !important; }
}

.ps-frame { position: relative; }
.ps-frame::before { content: ""; position: absolute; inset: 26px -26px -26px 26px; border: 1.5px solid #F4A58E; border-radius: 240px 240px 18px 18px; z-index: 0; }
.ps-frame .ps-portrait-ph { position: relative; z-index: 1; }

/* ---------- Motifs de fond (profondeur) ---------- */
/* Feuille du logo : section « Pourquoi me faire confiance » (fond vert) — classe ps-pattern ps-pattern-feuille */
/* Cercles entrelacés : section « Mes domaines » — classe ps-pattern ps-pattern-cercles */
.ps-pattern { position: relative; isolation: isolate; }
.ps-pattern::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-repeat: repeat;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(0,0,0,.25) 0%, #000 100%);
          mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(0,0,0,.25) 0%, #000 100%);
}
.ps-pattern-feuille::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22140%22 height=%22140%22 viewBox=%220 0 140 140%22 fill=%22none%22 stroke=%22%237E9A7A%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate(14 12) scale(1.15)%22%3E%3Cpath d=%22M24 42V14%22/%3E%3Cpath d=%22M24 26c-9 0-15-6-15-15 9 0 15 6 15 15z%22/%3E%3Cpath d=%22M24 20c0-8 5-14 14-14 0 9-5 14-14 14z%22/%3E%3C/g%3E%3Cg transform=%22translate(118 66) rotate(150) scale(1.15) translate(-24 -24)%22%3E%3Cpath d=%22M24 42V14%22/%3E%3Cpath d=%22M24 26c-9 0-15-6-15-15 9 0 15 6 15 15z%22/%3E%3Cpath d=%22M24 20c0-8 5-14 14-14 0 9-5 14-14 14z%22/%3E%3C/g%3E%3Cg transform=%22translate(46 108) rotate(-35) scale(.75) translate(-24 -24)%22%3E%3Cpath d=%22M24 42V14%22/%3E%3Cpath d=%22M24 26c-9 0-15-6-15-15 9 0 15 6 15 15z%22/%3E%3Cpath d=%22M24 20c0-8 5-14 14-14 0 9-5 14-14 14z%22/%3E%3C/g%3E%3C/svg%3E"); background-size: 140px; opacity: .32; animation: ps-drift-f 60s linear infinite; }
.ps-pattern-cercles::before { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2248%22 height=%2248%22 viewBox=%220 0 48 48%22 fill=%22none%22 stroke=%22%23E76F51%22 stroke-width=%221.2%22%3E%3Ccircle cx=%220%22 cy=%220%22 r=%2224%22/%3E%3Ccircle cx=%2248%22 cy=%220%22 r=%2224%22/%3E%3Ccircle cx=%220%22 cy=%2248%22 r=%2224%22/%3E%3Ccircle cx=%2248%22 cy=%2248%22 r=%2224%22/%3E%3Ccircle cx=%2224%22 cy=%2224%22 r=%2224%22/%3E%3C/svg%3E"); background-size: 48px; opacity: .16; animation: ps-drift-c 60s linear infinite; }
@keyframes ps-drift-f { to { background-position: 140px 140px; } }
@keyframes ps-drift-c { to { background-position: 48px 48px; } }
@media (prefers-reduced-motion: reduce) { .ps-pattern::before { animation: none !important; } }

/* Chiffres en cartes translucides */
.ps-pillars > .et_pb_column {
  background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.8); border-radius: 22px; padding: 34px 22px 30px !important;
  box-shadow: 0 14px 34px rgba(74,58,51,.07); transition: transform .4s, box-shadow .4s;
}
.ps-pillars > .et_pb_column:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(74,58,51,.12); }
@media (max-width: 980px) { .ps-pillars > .et_pb_column { margin-bottom: 20px !important; } }

/* Pied de page : feuille du logo en signature (terracotta très léger sur le brun) */
.ps-footer { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22140%22 height=%22140%22 viewBox=%220 0 140 140%22 fill=%22none%22 stroke=%22%23F4A58E%22 stroke-opacity=%22.16%22 stroke-width=%221.6%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cg transform=%22translate(14 12) scale(1.15)%22%3E%3Cpath d=%22M24 42V14%22/%3E%3Cpath d=%22M24 26c-9 0-15-6-15-15 9 0 15 6 15 15z%22/%3E%3Cpath d=%22M24 20c0-8 5-14 14-14 0 9-5 14-14 14z%22/%3E%3C/g%3E%3Cg transform=%22translate(118 66) rotate(150) scale(1.15) translate(-24 -24)%22%3E%3Cpath d=%22M24 42V14%22/%3E%3Cpath d=%22M24 26c-9 0-15-6-15-15 9 0 15 6 15 15z%22/%3E%3Cpath d=%22M24 20c0-8 5-14 14-14 0 9-5 14-14 14z%22/%3E%3C/g%3E%3Cg transform=%22translate(46 108) rotate(-35) scale(.75) translate(-24 -24)%22%3E%3Cpath d=%22M24 42V14%22/%3E%3Cpath d=%22M24 26c-9 0-15-6-15-15 9 0 15 6 15 15z%22/%3E%3Cpath d=%22M24 20c0-8 5-14 14-14 0 9-5 14-14 14z%22/%3E%3C/g%3E%3C/svg%3E") !important; background-repeat: repeat !important; background-size: 140px !important; }
.ps-footer > .et_pb_row { position: relative; z-index: 1; }

/* Icônes sur mesure des signaux (images PNG) */
.ps-symptom .et_pb_main_blurb_image { width: 50px; margin-right: 16px; }
.ps-symptom .et_pb_main_blurb_image img { border-radius: 14px; transition: transform .35s; }
.ps-symptom:hover .et_pb_main_blurb_image img { transform: rotate(-6deg) scale(1.06); }

/* ---------- Haut de page photo (Ateliers) ---------- */
.ps-photo-hero { overflow: hidden; }
.ps-photo-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(180deg, rgba(252,248,244,0), #FCF8F4); pointer-events: none; }
.ps-photo-hero > .et_pb_row { position: relative; z-index: 2; }
.ps-glass-chips { display: grid; gap: 16px; justify-items: end; }
.ps-glass-chip {
  display: flex; align-items: center; gap: 14px; min-width: 250px; padding: 16px 22px; border-radius: 18px;
  background: rgba(255,255,255,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.85); box-shadow: 0 16px 36px rgba(74,58,51,.12); font-size: 14px; color: #76655E; line-height: 1.35;
}
.ps-glass-chip b { display: block; font: 500 22px 'Playfair Display', serif; color: #3B2E2A; }
.ps-glass-chip:nth-child(1) { margin-right: 40px; animation: ps-float 7s ease-in-out infinite; }
.ps-glass-chip:nth-child(2) { animation: ps-float 8s ease-in-out infinite .8s; }
.ps-glass-chip:nth-child(3) { margin-right: 60px; animation: ps-float 6.5s ease-in-out infinite 1.6s; }
@media (max-width: 980px) {
  .ps-photo-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(252,248,244,.94), rgba(252,248,244,.78)); }
  .ps-glass-chips { justify-items: stretch; margin-top: 30px; }
  .ps-glass-chip { margin: 0 !important; min-width: 0; }
}

/* ---------- Lightbox Divi (diplômes) : fond brun doux plutôt que noir ---------- */
.mfp-bg { background: #3B2E2A !important; opacity: .85 !important; }
.mfp-image-holder .mfp-close { color: #fff; opacity: .9; }
.mfp-figure figure img.mfp-img { border-radius: 12px; }
.ps-diploma { cursor: zoom-in; }

/* Ancres (#parcours, #themes) : décalage pour l’en-tête fixe */
#parcours, #themes { scroll-margin-top: 110px; }

/* ---------- Pied de page compact ---------- */
.ps-fcol h4 { margin-bottom: 10px !important; padding-bottom: 0 !important; }
.ps-flist { gap: 4px !important; }
.ps-flist li { line-height: 1.6 !important; }
.ps-fnav { grid-template-columns: auto auto; column-gap: 22px; justify-content: start; }
.ps-fdesc p { line-height: 1.6 !important; max-width: 280px; }
.ps-socials { margin-top: 0 !important; }
@media (max-width: 980px) {
  .ps-frow { display: flex !important; flex-wrap: wrap; }
  .ps-frow > .et_pb_column { width: 47% !important; margin: 0 6% 26px 0 !important; }
  .ps-frow > .et_pb_column:nth-child(2n) { margin-right: 0 !important; }
}
@media (max-width: 767px) {
  .ps-frow > .ps-fc-brand, .ps-frow > .ps-fc-nav { width: 100% !important; margin: 0 0 22px !important; }
  .ps-frow > .ps-fc-contact, .ps-frow > .ps-fc-hours { width: 48% !important; margin: 0 4% 0 0 !important; }
  .ps-frow > .ps-fc-hours { margin-right: 0 !important; }
  .ps-fnav { display: flex !important; flex-wrap: wrap; gap: 6px 16px !important; }
  .ps-fdesc p { max-width: none; }
  .ps-flist li { font-size: 13px !important; }
  .ps-flist a[href^="mailto"] { overflow-wrap: anywhere; }
  .ps-footer { padding-bottom: 80px !important; }   /* place pour le bouton RDV flottant */
}

/* ---------- Smartphone : paragraphes 17px (hors surtitres, fil d'Ariane, pied de page) ---------- */
@media (max-width: 767px) {
  .et_pb_section:not(.ps-footer) .et_pb_text:not(.ps-label):not(.ps-crumb) p:not(.ps-cite):not(.ps-qmark):not(.ps-more),
  .et_pb_section:not(.ps-footer) .et_pb_blurb_description p,
  .et_pb_section:not(.ps-footer) .et_pb_toggle_content p,
  .ps-offer .ps-desc { font-size: 17px !important; }
  .et_pb_text h1 { font-size: 30px !important; }
}

/* ---------- Mention Important (contact) ---------- */
.ps-notice { margin: 0 !important; padding: 14px 18px !important; background: #FBE3D8; border-left: 3px solid #E76F51; border-radius: 0 12px 12px 0; font-size: 15px !important; line-height: 1.6 !important; color: #3B2E2A; }
.ps-notice b { color: #C2502F; font-weight: 600; }
@media (max-width: 767px) { .ps-notice { font-size: 16px !important; } }


/* ---------- Diplômes : loupe pour montrer qu'on peut cliquer ---------- */
.ps-diploma a { cursor: zoom-in; position: relative; display: block; }
.ps-diploma a::after {
  content: ''; position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; z-index: 2;
  background: #C2502F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='6'/%3E%3Cpath d='M20 20l-4.5-4.5M11 8.5v5M8.5 11h5'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 6px 16px rgba(74,58,51,.25); transition: transform .3s;
}
.ps-diploma a:hover::after { transform: scale(1.1); }

/* ---------- Professionnels : programme des thèmes (Toggle) ---------- */
.ps-obj { background: #F6EEE6; border-radius: 12px; padding: 12px 16px !important; margin-bottom: 16px !important; color: #3B2E2A; }
.ps-obj b { color: #C2502F; font-weight: 600; }
.ps-prog { list-style: none !important; padding: 0 !important; margin: 0 0 14px !important; display: grid; gap: 12px; }
.ps-prog li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.55; padding: 0 !important; }
.ps-prog b { color: #3B2E2A; font-weight: 500; }
.ps-dur { flex: none; min-width: 64px; text-align: center; font-size: 13px; font-weight: 500; color: #C2502F; background: #FBE3D8; border-radius: 30px; padding: 3px 10px; margin-top: 2px; }
.ps-total { font-size: 14px !important; color: #7E9A7A; font-weight: 500; padding: 0 !important; }

/* ---------- Professionnels : 4 offres sur une ligne ---------- */
@media (min-width: 981px) and (max-width: 1240px) {
  .ps-equal .et_pb_column_1_4 .ps-offer { padding: 36px 22px; }
  .ps-equal .et_pb_column_1_4 .ps-price { font-size: 38px; }
}
.et_pb_column_1_4 .ps-offer h2, .et_pb_column_1_4 .ps-offer h3 { font-size: 23px; }

/* ---------- Pages légales ---------- */
.ps-legal h2 { font: 500 26px/1.3 'Playfair Display', serif; color: #3B2E2A; margin: 38px 0 12px; padding: 0; }
.ps-legal h2:first-child { margin-top: 0; }
.ps-legal p { margin-bottom: 14px; }
.ps-legal ul { list-style: none !important; padding: 0 !important; margin: 0 0 16px; display: grid; gap: 10px; }
.ps-legal li { position: relative; padding-left: 20px !important; line-height: 1.6; }
.ps-legal li::before { content: ''; position: absolute; left: 0; top: 10px; width: 7px; height: 7px; border-radius: 50%; background: #F4A58E; }
.ps-legal a { color: #C2502F; text-decoration: underline; text-underline-offset: 3px; }
.ps-legal .ps-notice { margin: 4px 0 20px !important; }
.ps-maj { margin-top: 40px !important; padding-top: 16px !important; border-top: 1px solid #EADFD5; font-size: 14px !important; color: #76655E; }

/* ---------- Avis Google (extension Trustindex) aux couleurs du site ---------- */
body .ti-widget.ti-goog, body .ti-widget.ti-goog * { font-family: 'Jost', sans-serif !important; }
body .ti-widget.ti-goog .ti-rating-text .ti-rating { font-family: 'Playfair Display', serif !important; font-weight: 500 !important; font-size: 26px !important; letter-spacing: .5px; color: #3B2E2A !important; text-transform: none !important; }
body .ti-widget.ti-goog .ti-rating-text span, body .ti-widget.ti-goog .ti-rating-text strong:not(.ti-rating) { color: #76655E !important; }
body .ti-widget.ti-goog .ti-review-item > .ti-inner { background: #fff !important; border: 1px solid #EADFD5 !important; border-radius: 18px !important; box-shadow: 0 10px 30px rgba(74,58,51,.08) !important; padding: 22px 22px 18px !important; transition: transform .35s, box-shadow .35s; }
body .ti-widget.ti-goog .ti-review-item > .ti-inner:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(74,58,51,.13) !important; }
body .ti-widget.ti-goog .ti-name { color: #3B2E2A !important; font-weight: 500 !important; font-size: 15.5px !important; }
body .ti-widget.ti-goog .ti-date { color: #76655E !important; }
body .ti-widget.ti-goog .ti-review-content, body .ti-widget.ti-goog .ti-review-content * { color: #76655E !important; font-size: 15px !important; line-height: 1.6 !important; }
body .ti-widget.ti-goog .ti-read-more, body .ti-widget.ti-goog .ti-read-more * { color: #C2502F !important; font-weight: 500 !important; }
body .ti-widget.ti-goog img.ti-star { filter: hue-rotate(-38deg) saturate(1.45) brightness(.93); } /* étoiles jaunes -> terracotta */
body .ti-widget.ti-goog .ti-controls .ti-next, body .ti-widget.ti-goog .ti-controls .ti-prev { background-color: #fff !important; border: 1.5px solid #C2502F !important; box-shadow: 0 6px 16px rgba(74,58,51,.12) !important; transition: background-color .3s; }
body .ti-widget.ti-goog .ti-controls .ti-next:hover, body .ti-widget.ti-goog .ti-controls .ti-prev:hover { background-color: #FBE3D8 !important; }
body .ti-widget.ti-goog .ti-controls .ti-next:before, body .ti-widget.ti-goog .ti-controls .ti-prev:before { border-color: #C2502F !important; }
body .ti-widget.ti-goog .ti-controls-line .dot { background: #EADFD5 !important; }
body .ti-widget.ti-goog .ti-controls-line .dot.active { background: #E76F51 !important; }
body .ti-widget.ti-goog .ti-verified-by .ti-inner { background: #E6EDE2 !important; color: #5f7a5b !important; border-radius: 30px !important; }

/* ---------- Cartes (Blurb) entièrement cliquables ----------
   Divi ne rend cliquables que l'icône et le titre du Blurb. Quand une URL est renseignée,
   le lien du titre est étendu à toute la carte (y compris « En savoir plus »). */
.ps-card { position: relative; }
.ps-card:has(.et_pb_module_header a) .et_pb_blurb_content,
.ps-card:has(.et_pb_module_header a) .et_pb_blurb_container { position: static !important; }
.ps-card .et_pb_module_header a::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.ps-card:has(.et_pb_module_header a) { cursor: pointer; }
.ps-card .ps-more { transition: color .3s, letter-spacing .3s; }
.ps-card:has(.et_pb_module_header a):hover .ps-more { color: #E76F51; letter-spacing: 2.4px; }
/* Flèche dans une pastille terracotta, en haut à droite, qui apparaît au survol */
.ps-card:has(.et_pb_module_header a)::before {
  content: ''; position: absolute; top: 22px; right: 22px; width: 44px; height: 44px; border-radius: 50%; z-index: 1;
  background: #E76F51 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M9 7h8v8'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 8px 20px rgba(231,111,81,.35);
  opacity: 0; transform: translate(-10px, 10px) scale(.8); transition: opacity .35s, transform .45s cubic-bezier(.2,.8,.2,1);
}
.ps-card:has(.et_pb_module_header a):hover::before { opacity: 1; transform: translate(0, 0) scale(1); }
@media (hover: none) { .ps-card:has(.et_pb_module_header a)::before { opacity: 1; transform: none; width: 36px; height: 36px; background-size: 16px; } }

/* =====================================================================
   CLASSES UTILITAIRES
   À saisir dans Divi : réglages du module, de la ligne ou de la colonne
   › Avancé › ID et classes CSS › Classe CSS.
   ===================================================================== */

/* ---------- 1. Centrer verticalement ----------
   - Classe « centrer-vertical » sur une LIGNE : les colonnes sont centrées
     verticalement les unes par rapport aux autres (ordinateur uniquement,
     sur mobile les colonnes s'empilent).
   - Classe « centrer-vertical » sur une COLONNE : le contenu de la colonne
     est centré verticalement dans toute sa hauteur. */
@media (min-width: 981px) {
  .et_pb_row.centrer-vertical { display: flex !important; align-items: center !important; }
  .et_pb_row.centrer-vertical > .et_pb_column { float: none; }
}
.et_pb_column.centrer-vertical { display: flex !important; flex-direction: column !important; justify-content: center !important; }
@media (min-width: 981px) {
  .et_pb_row:has(> .et_pb_column.centrer-vertical) { display: flex; align-items: stretch; }
}

/* ---------- 2. Inverser le sens des colonnes sur mobile ----------
   Classe « inverser-mobile » sur une LIGNE : sur tablette et mobile, la
   dernière colonne passe en premier (ex. : texte à gauche / photo à droite
   sur ordinateur -> photo au-dessus du texte sur mobile). */
@media (max-width: 980px) {
  .et_pb_row.inverser-mobile { display: flex !important; flex-direction: column-reverse !important; }
  .et_pb_row.inverser-mobile > .et_pb_column:not(.et_flex_column) { margin-bottom: 30px !important; }
  .et_pb_row.inverser-mobile > .et_pb_column:not(.et_flex_column):first-child { margin-bottom: 0 !important; }
}

/* ---------- 3. Menu mobile pleine largeur + hamburger -> croix ----------
   Automatique (aucune classe à ajouter) : module Menu du Theme Builder
   et en-tête Divi classique. */
@media (max-width: 980px) {
  .et_pb_menu .et_mobile_menu,
  #main-header .et_mobile_menu {
    position: fixed;
    left: 0 !important;
    right: 0;
    width: 100% !important;
    box-sizing: border-box;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 4% 6%;
    border-top: 3px solid #E76F51;
    box-shadow: 0 18px 30px rgba(74, 58, 51, .12);
  }
  .et_mobile_menu li a { padding: 14px 4%; font-size: 17px; }
  .mobile_nav .mobile_menu_bar:before { transition: transform .3s ease; }
  .mobile_nav.opened .mobile_menu_bar:before { content: "\4d"; transform: rotate(90deg); }
}

/* ---------- 4. Champ du résultat du captcha (formulaire de contact) ---------- */
.et_pb_contact_right p input,
.et_pb_contact_form_container .et_pb_contact_captcha {
  max-width: 90px !important;
  width: 90px !important;
  text-align: center;
}

/* ---------- 5. Indices et exposants à la bonne taille ----------
   Ex. : 1<sup>er</sup>, m<sup>2</sup>, CO<sub>2</sub> */
sup, sub {
  font-size: 70%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup { top: -0.5em; }
sub { bottom: -0.25em; }
