/* Pages « expertise » — s'appuie sur home.css (palette, boutons, cartes, FAQ, CTA, footer) */
.xp-crumb{padding-top:14px;font-size:13px;color:#7A6250}
.xp-crumb ol{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 8px}
.xp-crumb li+li::before{content:"›";margin-right:8px;opacity:.6}
.xp-crumb a{color:inherit;text-decoration:none}.xp-crumb a:hover{text-decoration:underline}
.xp-crumb [aria-current]{color:#2A1C27;font-weight:600}

.xp-hero{padding:34px 72px 10px;max-width:980px;margin-left:auto;margin-right:auto}
.xp-lab{margin:0 0 10px}
.xp-h1{font-size:52px;margin:0;color:#2A1C27}
.xp-chapo{font-size:20px;line-height:1.55;margin:18px auto 0;color:#4A3B44;max-width:820px}
.xp-ctas{justify-content:flex-start;margin-top:24px}
.xp-meta{font-size:12px;color:#7A6250;margin:18px 0 0}
.xp-offre{margin-top:34px;padding:44px 0 48px}
.xp-offre+.wrap .xp-meta{margin-top:22px}
.xp-presta{list-style:none;padding:0;margin:30px 0 0;display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.xp-presta li{min-width:0}
.xp-pr{display:flex;flex-direction:column;gap:6px;height:100%;padding:18px 16px 16px;border-radius:16px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);color:#fff;text-decoration:none;position:relative;transition:background .15s,transform .15s}
a.xp-pr:hover{background:rgba(255,255,255,.13);transform:translateY(-2px)}
.xp-pr-ico{width:40px;height:40px;border-radius:12px;background:#FEA70B;color:#3B1F5E;display:flex;align-items:center;justify-content:center;margin-bottom:6px}
.xp-pr-num{position:absolute;top:16px;right:16px;font-size:11px;color:#D8C9BE;opacity:.8}
.xp-pr-t{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:17px;line-height:1.2;letter-spacing:-.01em;margin:0;color:#fff}
.xp-pr-x{font-size:13.5px;line-height:1.45;color:#D8C9BE}
.xp-pr-more{margin-top:auto;padding-top:8px;font-size:13px;font-weight:700;color:#FEA70B}
.xp-offre .band-ctas{margin-top:30px}

.xp-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:48px;align-items:start;padding-top:28px;padding-bottom:40px}
.xp-aside{position:sticky;top:20px;display:flex;flex-direction:column;gap:18px}
.xp-toc{background:#FBF3E2;border:1px solid #E2D2AE;border-radius:16px;padding:18px 20px}
.xp-toc .lab{margin:0 0 10px}
.xp-toc ol{margin:0;padding:0 0 0 18px;font-size:14px;line-height:1.4;display:flex;flex-direction:column;gap:8px}
.xp-toc a{color:#2A1C27;text-decoration:none}.xp-toc a:hover{color:#E8641B;text-decoration:underline}
.xp-aside-cta{background:#3B1F5E;color:#fff;border-radius:16px;padding:20px}
.xp-aside-cta .h{font-size:18px;margin:0 0 6px;color:#fff}
.xp-aside-cta .muted{color:#D8C9BE;font-size:14px;margin:0 0 14px}
.xp-aside-cta .btn{width:100%;justify-content:center}

/* texte long */
.prose{max-width:780px;font-size:17px;line-height:1.7;color:#2A1C27}
.prose>*+*{margin-top:1.1em}
.prose h2{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:32px;letter-spacing:-.025em;line-height:1.12;margin:2.2em 0 .6em;scroll-margin-top:24px}
.prose h2:first-child{margin-top:0}
.prose h3{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:22px;letter-spacing:-.015em;line-height:1.25;margin:1.8em 0 .5em}
.prose h4{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:18px;margin:1.4em 0 .4em}
.prose p{margin:0 0 1em}
.prose a{color:#E8641B;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.prose ul,.prose ol{padding-left:1.3em;margin:0 0 1.1em}
.prose li{margin:.35em 0}
.prose li::marker{color:#E8641B;font-weight:700}
.prose strong{color:#2A1C27}
.prose blockquote{margin:1.6em 0;padding:18px 24px;border-left:4px solid #E8641B;background:#FBF3E2;border-radius:0 14px 14px 0;font-size:17px}
.prose blockquote p:last-child{margin:0}
.prose table{width:100%;border-collapse:collapse;font-size:15px;margin:1.4em 0}
.prose th,.prose td{border:1px solid #E2D2AE;padding:10px 12px;text-align:left;vertical-align:top}
.prose th{background:#FBF3E2;font-family:'Bricolage Grotesque',sans-serif;font-weight:700}
.prose figure{margin:1.6em 0}
.prose img{max-width:100%;height:auto;border-radius:14px}
.prose hr{border:0;border-top:1px solid #E2D2AE;margin:2.4em 0}
.prose .wp-block-table{overflow-x:auto}

/* encarts éditoriaux (classes à poser sur un groupe / paragraphe dans l'éditeur) */
.prose .encart,.prose .wp-block-group.encart{background:#FBF3E2;border:1px solid #E2D2AE;border-radius:16px;padding:22px 24px;margin:1.6em 0}
.prose .encart>:first-child{margin-top:0}.prose .encart>:last-child{margin-bottom:0}
.prose .encart .lab{display:block;margin-bottom:8px}
.prose .encart-ink{background:#3B1F5E;color:#fff;border:0}
.prose .encart-ink h3,.prose .encart-ink strong{color:#fff}.prose .encart-ink a{color:#FEA70B}
.prose .encart-ink .btn{margin-top:12px}
.prose .saviez{margin:1.6em 0;border-top:1px solid #E2D2AE;padding-top:14px;font-size:14px;color:#5E4E45}
.prose .saviez b{color:#E8641B}
.prose .chiffres{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:1.6em 0}
.prose .chiffres>div{background:#FBF3E2;border:1px solid #E2D2AE;border-radius:14px;padding:16px 18px}
.prose .chiffres .price{display:block;font-size:30px;line-height:1;color:#E8641B}
.prose .chiffres .lab{display:block;margin:8px 0 10px}
.prose .chiffres p{font-size:15px;line-height:1.5;margin:0}
.prose .etapes{list-style:none;padding:0;margin:1.6em 0;counter-reset:etape}
.prose .etapes li{position:relative;padding:14px 0 14px 56px;border-top:1px solid #E2D2AE;counter-increment:etape;margin:0}
.prose .etapes li:last-child{border-bottom:1px solid #E2D2AE}
.prose .etapes li::before{content:counter(etape,decimal-leading-zero);position:absolute;left:0;top:12px;width:40px;height:40px;border-radius:50%;background:#52364A;color:#fff;font-family:'JetBrains Mono',monospace;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.prose .btn{text-decoration:none}

/* sous-pages */
.xp-enfants{margin-top:30px}
.xp-cards{margin-top:28px}
.xp-card{display:flex;flex-direction:column;color:inherit;text-decoration:none;background:#FBF3E2;border:0}
.xp-card h3{font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:20px;letter-spacing:-.015em;margin:0 0 8px;color:#2A1C27}
.xp-card p{font-size:14.5px;line-height:1.55;color:#5E4E45;margin:0;flex:1}
.xp-card .more{margin-top:14px;font-weight:700;color:#E8641B}
.xp-card.courante{outline:3px solid #FEA70B}
.xp-enfants{margin-top:64px;padding:56px 0 60px;background:#FBF3E2;border-top:1px solid #E2D2AE;border-bottom:1px solid #E2D2AE}
.xp-enfants-h{font-size:36px;text-align:center;margin:10px 0 0}
.xp-fam-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-top:34px}
.xp-fam{background:#fff;border:1px solid #E2D2AE;border-radius:18px;padding:18px 16px 12px;min-width:0}
.xp-fam-h{font-family:'JetBrains Mono',monospace;font-size:11px;letter-spacing:.09em;text-transform:uppercase;color:#E8641B;margin:0 0 10px;padding:0 6px 10px;border-bottom:1px solid #E2D2AE}
.xp-fam ul{list-style:none;margin:0;padding:0}
.xp-fam li+li{border-top:1px dashed #E2D2AE}
.xp-encart{display:flex;align-items:center;gap:12px;padding:12px 6px;color:#2A1C27;text-decoration:none;font-family:'Bricolage Grotesque',sans-serif;font-weight:700;font-size:16.5px;line-height:1.2;border-radius:10px}
.xp-encart-ico{flex:0 0 36px;width:36px;height:36px;border-radius:10px;background:#3B1F5E;color:#FEA70B;display:flex;align-items:center;justify-content:center;transition:background .15s}
.xp-encart-t{flex:1;min-width:0}
.xp-encart-arr{color:#E8641B;transition:transform .15s}
.xp-encart:hover .xp-encart-ico{background:#E8641B;color:#fff}
.xp-encart:hover .xp-encart-arr{transform:translateX(3px)}
.prose .chiffres.un{grid-template-columns:minmax(0,420px)}

@media (max-width:68.75em){
  .xp-hero{padding-left:40px;padding-right:40px}
  .xp-layout{grid-template-columns:220px minmax(0,1fr);gap:32px}
  .xp-h1{font-size:44px}
}
@media (max-width:53.75em){
  .xp-hero{padding-left:24px;padding-right:24px}
  .xp-h1{font-size:34px}
  .xp-chapo{font-size:18px}
  .xp-layout{grid-template-columns:1fr;gap:24px}
  .xp-aside{position:static}
  .xp-aside-cta{display:none}
  .prose{font-size:17px}
  .prose h2{font-size:27px}
  .prose h3{font-size:20px}
  .prose .chiffres{grid-template-columns:1fr 1fr}
  .xp-presta{grid-template-columns:repeat(3,1fr)}
  .xp-fam-grid{grid-template-columns:1fr 1fr}
}
@media (max-width:32.5em){
  .xp-hero{padding-left:16px;padding-right:16px}
  .xp-h1{font-size:clamp(24px,8vw,30px)}
  .xp-ctas .btn{width:100%;justify-content:center}
  .prose .chiffres,.prose .chiffres.un{grid-template-columns:1fr}
  .xp-enfants-h{font-size:26px}
  .xp-fam-grid{grid-template-columns:1fr;gap:12px}
  .xp-presta{grid-template-columns:1fr 1fr;gap:10px}
  .xp-pr{padding:14px 12px 12px}.xp-pr-t{font-size:15px}.xp-pr-x{font-size:13px}.xp-pr-more{font-size:12.5px}
  .prose table{font-size:14px}
}

.xp-enfants+.funnel-band{margin-top:0}

/* hero centré (décision 05/11) */
.xp-hero{text-align:center}
.xp-hero .xp-h1,.xp-hero .xp-chapo{margin-left:auto;margin-right:auto}
.xp-hero .xp-ctas{justify-content:center}
/* mot du fondateur */
.xp-mot{margin-top:56px}
.xp-mot .note{background:#FBF3E2;border-color:#E2D2AE}
@media (max-width:53.75em){
  .xp-mot .note{grid-template-columns:1fr;gap:20px}
  .xp-mot .note-photo{margin:0 auto}
}
/* gabarits génériques (page standard, article, 404) */
.std-hero{padding-bottom:18px}
.std-layout{padding-top:12px}
.std-prose{margin:0 auto;max-width:780px}
.std-figure{margin:8px auto 0;max-width:980px}
.std-figure img{width:100%;height:auto;border-radius:18px;display:block}
.std-tags{margin-top:2em;display:flex;flex-wrap:wrap;gap:8px}
.std-tags .pill{text-decoration:none}
.exm-404 .xp-hero{padding-top:80px;padding-bottom:80px}

.xp-encart.a-venir{opacity:.55;cursor:default}
.xp-encart.a-venir .xp-encart-ico{background:#9E8FA6}
.xp-pr{cursor:default}a.xp-pr{cursor:pointer}

/* sous-page : bloc d'offre à deux cartes */
.xp-duo{list-style:none;padding:0;margin:30px auto 0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:900px}
.xp-duo-c{display:flex;flex-direction:column;gap:8px;padding:24px 24px 22px;border-radius:18px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);color:#fff}
.xp-duo-e{margin:0;font-size:12px;letter-spacing:.09em;text-transform:uppercase;color:#FEA70B}
.xp-duo-t{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:24px;line-height:1.15;letter-spacing:-.02em;margin:0;color:#fff}
.xp-duo-x{font-size:15.5px;line-height:1.55;color:#E6DAD0;margin:0}
.xp-duo-a{margin-top:auto;padding-top:10px;font-weight:700;color:#FEA70B;text-decoration:none}
.xp-duo-a:hover{text-decoration:underline}
.xp-duo-band .band-ctas{justify-content:center}

/* sous-page : autres expertises, encarts simples */
.xp-plat{list-style:none;margin:34px auto 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:980px}
.xp-plat .xp-encart{background:#fff;border:1px solid #E2D2AE;border-radius:14px;padding:12px 14px}
.xp-plat .xp-encart.a-venir{background:#fff}

/* corps : six volets de l'audit */
.prose .volets{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:1.6em 0}
.prose .volet{background:#FBF3E2;border:1px solid #E2D2AE;border-radius:16px;padding:20px 20px 18px;display:flex;flex-direction:column;gap:8px}
.prose .volet-ico{width:40px;height:40px;border-radius:12px;background:#3B1F5E;color:#FEA70B;display:flex;align-items:center;justify-content:center}
.prose .volet h3{margin:4px 0 0;font-size:20px}
.prose .volet p{font-size:15.5px;line-height:1.6;margin:0}
.prose .volet .recu{border-top:1px dashed #E2D2AE;padding-top:10px;margin-top:4px}
.prose .volets .saviez{grid-column:1/-1;margin:.4em 0}

/* corps : schéma du plan à 90 jours */
.prose .plan90{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:1.6em 0 .6em}
.prose .plan90>div{background:#fff;border:1px solid #E2D2AE;border-radius:16px;overflow:hidden}
.prose .plan90 .pj{margin:0;padding:12px 16px;background:#3B1F5E;color:#fff;font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:17px}
.prose .plan90 .pj small{display:block;font-family:'JetBrains Mono',monospace;font-weight:500;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#FEA70B;margin-bottom:2px}
.prose .plan90 ul{list-style:none;margin:0;padding:6px 16px 10px}
.prose .plan90 li{margin:0;padding:10px 0;border-top:1px dashed #E2D2AE;font-size:15px;line-height:1.45}
.prose .plan90 li:first-child{border-top:0}
.prose .plan90 .tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}
.prose .plan90 .tag{font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.04em;text-transform:uppercase;padding:2px 8px;border-radius:999px;background:#FBF3E2;border:1px solid #E2D2AE;color:#5E4E45}
.prose .plan90 .tag.fort{background:#FEA70B;border-color:#FEA70B;color:#3B1F5E;font-weight:700}
.prose .plan90-note{font-size:13px;color:#7A6250;margin:0 0 1.4em}

@media (max-width:53.75em){
  .xp-plat{grid-template-columns:1fr 1fr}
  .prose .plan90{grid-template-columns:1fr}
}
@media (max-width:32.5em){
  .xp-duo{grid-template-columns:1fr}
  .xp-plat{grid-template-columns:1fr}
  .prose .volets{grid-template-columns:1fr}
}

/* Bloc d'offre à trois cartes */
.xp-duo.is-3{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1100px}
/* Maquette de fiche d'établissement (exemple illustratif) */
.prose .fiche-wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:22px;align-items:start;margin:1.6em 0 .6em}
.prose .fiche{margin:0;background:#fff;border:1px solid #E2D2AE;border-radius:18px;padding:18px 18px 16px;box-shadow:0 8px 24px rgba(59,31,94,.08);display:flex;flex-direction:column;gap:10px}
.prose .fiche p{margin:0;font-size:14.5px;line-height:1.4;display:flex;align-items:flex-start;gap:8px}
.prose .fiche .fiche-tag{display:inline-block;align-self:flex-start;font-family:'JetBrains Mono',monospace;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;padding:2px 8px;border-radius:999px;background:#FBF3E2;border:1px solid #E2D2AE;color:#5E4E45}
.prose .fiche .fiche-nom{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:19px;line-height:1.2;color:#3B1F5E;display:block}
.prose .fiche .fiche-nom span{font-family:inherit;font-weight:500;font-size:12.5px;color:#7A6250}
.prose .fiche .etoiles{color:#FEA70B;letter-spacing:1px}
.prose .fiche .fiche-b{gap:8px;padding-top:6px;border-top:1px dashed #E2D2AE}
.prose .fiche .fiche-b span{flex:1;text-align:center;padding:8px 6px;border-radius:999px;background:#3B1F5E;color:#fff;font-size:13px;font-weight:700}
.prose .rep{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#E8641B;color:#fff;font-style:normal;font-weight:700;font-size:12px;margin-right:6px;vertical-align:middle}
.prose .fiche-lege{margin:0;padding-left:1.3em}
.prose .fiche-lege li{margin:0 0 .7em;font-size:15.5px;line-height:1.5}
@media (max-width:53.75em){
  .xp-duo.is-3{grid-template-columns:1fr;max-width:560px}
  .prose .fiche-wrap{grid-template-columns:1fr}
}
