/* ==========================================================================
   Fiche soin — « fond » = contenu WP (prose SEO), « forme » = Vercel
   (hero + points clés/infographie + étapes numérotées + praticiens concernés).
   Données forme depuis inc/soins-data.php. Gate = page descendante d'une catégorie.
   ========================================================================== */
.wd-soin { max-width: 1180px; margin: 0 auto; padding-inline: 24px; }

.wd-soin .crumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ink-60); padding: 28px 0 0; flex-wrap: wrap; }
.wd-soin .crumb a { color: var(--ink-60); text-decoration: none; }
.wd-soin .crumb a:hover { color: var(--ink); }
.wd-soin .crumb .sep { color: var(--ink-20); }
.wd-soin .crumb .cur { color: var(--ink); }

/* hero */
.wd-soin-hero { padding: 28px 0 24px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.wd-soin-hero.no-photo { display: block; padding-bottom: 8px; }
.wd-soin-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 500; letter-spacing: 0.06em; padding: 7px 14px; border-radius: 999px; background: var(--alt-sky); color: var(--accent-cobalt); margin-bottom: 18px; text-decoration: none; }
.wd-soin-hero h1 { font-family: var(--font); font-weight: 400; font-size: clamp(38px, 5vw, 64px); line-height: 1.0; letter-spacing: -0.035em; color: var(--ink); margin: 0 0 18px; }
.wd-soin-hero .lede { font-size: 18px; line-height: 1.6; color: var(--ink-80); margin: 0 0 26px; max-width: 52ch; }
.wd-soin-hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.wd-soin .btn--pill { border-radius: 999px; height: 54px; padding: 0 28px; font-size: 16px; }
.wd-soin-hero-photo { aspect-ratio: 4/4.2; border-radius: var(--alt-radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--ink-05); }
.wd-soin-hero-photo img { width: 100%; height: 100%; object-fit: cover; }

/* points clés / infographie */
.wd-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 16px 0 56px; }
.wd-fact { background: var(--alt-card); border: 1px solid rgba(20,27,77,0.06); border-radius: var(--alt-radius); box-shadow: var(--shadow-card); padding: 24px; }
.wd-fact .ic { width: 38px; height: 38px; border-radius: 11px; background: var(--alt-sky); color: var(--accent-cobalt); display: grid; place-items: center; margin-bottom: 14px; }
.wd-fact .l { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 4px; }
.wd-fact .v { font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }

/* corps : contenu + sidebar */
.wd-soin-main { display: grid; grid-template-columns: 1fr 320px; gap: 56px; padding-bottom: 64px; align-items: start; }
.wd-soin-content > h2 { font-family: var(--font); font-weight: 400; font-size: 30px; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 16px; }
.wd-soin-content > h2:not(:first-child) { margin-top: 44px; }
.wd-soin-content > h3 { font-size: 21px; letter-spacing: -0.01em; color: var(--ink); margin: 32px 0 10px; }
.wd-soin-content p { font-size: 16.5px; line-height: 1.75; color: var(--ink-80); margin: 0 0 18px; }
.wd-soin-content ul, .wd-soin-content ol { margin: 0 0 18px; padding-left: 22px; color: var(--ink-80); font-size: 16.5px; line-height: 1.7; }
.wd-soin-content li { margin-bottom: 8px; }
.wd-soin-content a { color: var(--accent-cobalt); }
.wd-soin-content strong { color: var(--ink); }

/* étapes numérotées */
.wd-steps-h { font-family: var(--font); font-weight: 400; font-size: 26px; letter-spacing: -0.025em; color: var(--ink); margin: 44px 0 16px; }
.wd-steps { display: flex; flex-direction: column; gap: 14px; }
.wd-step { display: flex; gap: 18px; padding: 22px 24px; background: var(--alt-card); border: 1px solid rgba(20,27,77,0.06); border-radius: var(--alt-radius); box-shadow: var(--shadow-card); }
.wd-step .no { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 15px; flex-shrink: 0; }
.wd-step h4 { font-size: 18px; letter-spacing: -0.01em; color: var(--ink); margin: 4px 0 6px; }
.wd-step p { font-size: 14.5px; line-height: 1.55; color: var(--ink-60); margin: 0; }

/* sidebar */
.wd-soin-aside { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.wd-aside-card { background: var(--alt-card); border: 1px solid rgba(20,27,77,0.06); border-radius: var(--alt-radius); box-shadow: var(--shadow-card); padding: 26px; }
.wd-aside-card.dark { background: var(--ink); color: #fff; }
.wd-aside-card h3 { font-size: 18px; letter-spacing: -0.01em; margin: 0 0 6px; }
.wd-aside-card.dark p { font-size: 14px; color: rgba(255,255,255,0.7); margin: 0 0 18px; line-height: 1.55; }
.wd-aside-card .btn { width: 100%; }
.wd-aside-card .btn + .btn { margin-top: 10px; }
.btn--on-ink { background: #fff; color: var(--ink); }
.btn--on-ink:hover { background: var(--alt-lav); }
.btn--ghost-on-ink { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.28); }
.btn--ghost-on-ink:hover { background: rgba(255,255,255,0.08); }
.wd-aside-card .lbl { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-60); margin-bottom: 12px; }
/* praticiens concernés */
.wd-prats { display: flex; flex-direction: column; gap: 2px; }
.wd-prat { display: flex; align-items: center; gap: 12px; padding: 9px 0; text-decoration: none; }
.wd-prat img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; object-position: center 20%; flex-shrink: 0; }
.wd-prat .nm { font-size: 14.5px; color: var(--ink); }
.wd-prat .rl { font-size: 12px; color: var(--ink-60); }
/* liens annexes */
.wd-aside-links { display: flex; flex-direction: column; }
.wd-aside-links a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; font-size: 15px; color: var(--ink-80); text-decoration: none; border-top: 1px solid var(--ink-10); transition: color .18s, padding .18s; }
.wd-aside-links a:first-child { border-top: 0; }
.wd-aside-links a:hover { color: var(--accent-cobalt); padding-left: 4px; }
.wd-aside-links .arr, .wd-related-card .arr { color: var(--ink-40); }

/* related */
.wd-related { padding: 8px 0 80px; }
.wd-related h2 { font-family: var(--font); font-weight: 400; font-size: 28px; letter-spacing: -0.025em; color: var(--ink); margin: 0 0 20px; }
.wd-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.wd-related-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 22px; background: var(--alt-card); border: 1px solid rgba(20,27,77,0.06); border-radius: var(--alt-radius); box-shadow: var(--shadow-card); text-decoration: none; color: var(--ink); font-size: 16px; transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out); }
.wd-related-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.wd-related-card:hover .arr { color: var(--accent-cobalt); }

@media (max-width: 980px) {
  .wd-soin-hero { grid-template-columns: 1fr; }
  .wd-soin-hero-photo { order: -1; aspect-ratio: 16/10; }
  .wd-facts { grid-template-columns: repeat(2, 1fr); }
  .wd-soin-main { grid-template-columns: 1fr; gap: 36px; }
  .wd-soin-aside { position: static; }
  .wd-related-grid { grid-template-columns: 1fr; }
}
