.therapy-page {
  --therapy-ink: #183149;
  --therapy-muted: #516273;
  --therapy-plum: #7a2d5d;
  --therapy-rose: #f8f3ef;
  --therapy-blue: #e8f1f3;
  --therapy-paper: #fbfaf6;
  --therapy-line: #cfbdc7;
  background: var(--therapy-paper);
  color: var(--therapy-ink);
}

/* Socle autonome : si body.dg-editorial saute (cache/ordre CSS), la page reste cadrée. */
.therapy-page,
.therapy-page .dg-page {
  color: var(--therapy-ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  min-width: 0;
  overflow-wrap: anywhere;
}

.therapy-page .container,
.therapy-page .dg-shell {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: 1180px;
  padding-inline: clamp(1.35rem, 4vw, 3rem);
  width: 100%;
}

.therapy-page :where(h1, h2, h3, p, li, summary, dt, dd) {
  color: inherit;
}

.therapy-page :where(h1, h2, h3) {
  color: var(--therapy-ink);
  font-family: var(--font-title);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-block-start: 0;
  text-wrap: balance;
}

.therapy-page h2 {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  line-height: 1.12;
  margin: 0;
  max-width: min(100%, 42rem);
}

.therapy-page h3 {
  font-size: clamp(1.25rem, 1.8vw, 1.48rem);
  line-height: 1.22;
  margin: 0 0 0.85rem;
}

.therapy-page .dg-kicker {
  color: var(--therapy-plum);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.therapy-page .dg-lede {
  color: var(--therapy-ink);
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 2.1vw, 1.6rem);
  line-height: 1.42;
  margin: 1.5rem 0;
  max-width: 65ch;
}

.therapy-page .dg-section-head {
  align-items: start;
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  grid-template-columns: minmax(0, 1fr);
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  max-width: 54rem;
  width: min(100%, 54rem);
}

.therapy-page .dg-section-head > * {
  margin-block: 0;
}

.therapy-page .dg-section-head h2 {
  max-width: 36ch;
}

.therapy-page .dg-section-head .dg-kicker {
  margin-bottom: 0;
}

.therapy-page .dg-section-head .dg-section-lede {
  color: var(--therapy-muted);
  font-size: clamp(1.05rem, 1.35vw, 1.16rem);
  line-height: 1.62;
  margin: 0;
  max-width: 64ch;
}

.therapy-page .dg-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--therapy-line);
  box-shadow: none;
  padding: clamp(1.15rem, 2.5vw, 1.6rem) 0;
}

.therapy-page .dg-card > :last-child,
.therapy-page .therapy-essential > :last-child,
.therapy-page .therapy-grenoble-card > :last-child {
  margin-bottom: 0;
}

.therapy-hero {
  background: linear-gradient(180deg, #fffdf9 0%, var(--therapy-rose) 100%);
  border-bottom: 1px solid rgba(24, 49, 73, 0.1);
  color: var(--therapy-ink);
  overflow: clip;
  position: relative;
}

.therapy-hero .dg-hero__inner {
  display: grid;
  gap: clamp(2rem, 5vw, 4.75rem);
  grid-template-columns: minmax(0, 1fr);
  max-width: 76rem;
  position: relative;
  z-index: 1;
}

.therapy-hero .dg-hero__copy {
  max-width: 54rem;
}

.therapy-hero h1 {
  max-width: 20ch;
}

.therapy-hero .dg-lede {
  max-width: 64ch;
}

.therapy-hero__note {
  border-left: 3px solid rgba(122, 45, 93, 0.24);
  color: var(--therapy-muted);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  line-height: 1.65;
  margin: 1.25rem 0 0;
  max-width: 58ch;
  padding-left: 1rem;
}

.therapy-hero__figure {
  margin: 0;
  min-width: 0;
  position: relative;
}

.dg-media-frame {
  position: relative;
}

html.js .dg-media-frame::before,
html.js .site-brand--logo-frame::before,
html.js .footer-logo--logo-frame::before {
  background:
    radial-gradient(circle at 22% 18%, rgba(121, 64, 94, 0.12), transparent 30%),
    radial-gradient(circle at 78% 72%, rgba(24, 49, 73, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(244, 237, 229, 0.96));
  border-radius: inherit;
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: absolute;
  transition: opacity 180ms ease;
}

html.js .dg-media-frame.is-loaded::before,
html.js .site-brand--logo-frame.is-loaded::before,
html.js .footer-logo--logo-frame.is-loaded::before {
  opacity: 0;
}

html.js .dg-media-frame.is-failed {
  display: none;
}

html.js .dg-media-frame > img[data-dg-media],
html.js .site-brand--logo-frame > img[data-dg-media],
html.js .footer-logo--logo-frame > img[data-dg-media] {
  display: block;
  opacity: 0;
  transition: opacity 180ms ease;
}

html.js .dg-media-frame.is-loaded > img[data-dg-media],
html.js .site-brand--logo-frame.is-loaded > img[data-dg-media],
html.js .footer-logo--logo-frame.is-loaded > img[data-dg-media] {
  opacity: 1;
}

.site-brand--logo-frame,
.footer-logo--logo-frame {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  overflow: hidden;
}

.site-brand__fallback {
  color: var(--therapy-ink);
  display: none;
  font-family: var(--font-title);
  font-size: 1.06rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  padding: 0.4rem 0.15rem;
  position: relative;
  z-index: 1;
}

.site-brand--logo-frame.is-failed .site-brand__fallback,
.footer-logo--logo-frame.is-failed .site-brand__fallback {
  display: inline-flex;
}

.site-brand--logo-frame.is-failed > img[data-dg-media],
.footer-logo--logo-frame.is-failed > img[data-dg-media] {
  display: none;
}

.therapy-hero__figure img {
  aspect-ratio: 4 / 3;
  border-radius: clamp(1.1rem, 2vw, 1.75rem);
  box-shadow: 0 1.4rem 3.4rem rgba(24, 49, 73, 0.14);
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.therapy-essential {
  align-self: end;
  background: #fffdf8;
  border: 1px solid var(--therapy-line);
  box-shadow: 1.1rem 1.1rem 0 rgba(122, 45, 93, 0.1);
  max-width: 34rem;
}

.therapy-essential__label {
  color: var(--therapy-plum);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.therapy-definition__compare {
  align-items: stretch;
}

.therapy-definition__compare > * {
  padding: clamp(1.35rem, 2.5vw, 2rem);
}

.therapy-definition__limit {
  background: var(--therapy-blue);
  border: 1px solid rgba(24, 49, 73, 0.08);
  border-radius: clamp(0.9rem, 1.8vw, 1.3rem);
}

.therapy-definition__limit h3,
.therapy-definition__limit p,
.therapy-title-note h3,
.therapy-title-note p {
  max-width: 58ch;
}

.therapy-history {
  background: #fffdf8;
}

.therapy-history__track {
  border-left: 1px solid var(--therapy-line);
  display: grid;
  gap: 2.75rem;
  margin-left: 0.45rem;
  padding-left: 2rem;
}

.therapy-history__track > div {
  position: relative;
}

.therapy-history__track > div::before {
  background: var(--therapy-paper);
  border: 3px solid var(--therapy-plum);
  border-radius: 50%;
  content: "";
  height: 0.9rem;
  left: -2.5rem;
  position: absolute;
  top: 0.35rem;
  width: 0.9rem;
}

.therapy-principles-section {
  background: var(--therapy-ink);
  color: #fdfbf7;
}

.therapy-principles-section .dg-kicker {
  color: #f2b9d8;
}

.therapy-principles {
  display: grid;
  gap: 0;
  grid-template-columns: minmax(0, 1fr);
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}

.therapy-principles li {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding: 1.75rem 0;
}

.therapy-principles h3 {
  color: #f7d6e8;
  max-width: 30ch;
}

.therapy-principles p {
  max-width: 58ch;
}

.therapy-page .therapy-principles-section :where(h2, h3, p, li) {
  color: #fdfbf7;
}

.therapy-page .therapy-principles-section .dg-kicker,
.therapy-page .therapy-principles-section .therapy-principles h3 {
  color: #f2b9d8;
}

.therapy-session {
  background: var(--therapy-blue);
}

.therapy-session__flow > * {
  border-top: 1px solid #92a9b0;
  padding-top: 1.5rem;
}

.therapy-qualifications {
  background: #fffdf8;
}

.therapy-title-note {
  background: var(--therapy-rose);
  border-color: var(--therapy-line);
}

.therapy-questions__layout {
  display: grid;
  gap: 2.5rem;
}

.therapy-question-list {
  background: #fffdf8;
  border-block: 1px solid var(--therapy-line);
  list-style: none;
  margin: 0;
  padding: 0;
}

.therapy-question-list li {
  background: transparent;
  border: 0;
  border-radius: 0;
  border-top: 1px solid var(--therapy-line);
  font-weight: 650;
  padding: 1.15rem 0 1.15rem 2rem;
  position: relative;
}

.therapy-question-list li:first-child {
  border-top: 0;
}

.therapy-question-list li::before {
  border: 0;
  border-radius: 0;
  color: var(--therapy-plum);
  content: "?";
  font-size: 1.2rem;
  font-weight: 700;
  left: 0.2rem;
  position: absolute;
  top: 1rem;
  height: auto;
  width: auto;
}

.therapy-limits {
  background: #f3eee6;
}

.therapy-limits__body {
  background: transparent;
  border: 1px solid #b8a997;
}

.therapy-limits__body > p:last-child {
  border-top: 1px solid #b8a997;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
}

.therapy-faq-section {
  background: #fffdf8;
}

.therapy-faq {
  display: grid;
  gap: 0;
}

.therapy-faq details {
  background: transparent;
  border: 0;
  border-top: 1px solid var(--therapy-line);
  border-radius: 0;
  padding: 0;
}

.therapy-faq details:last-child {
  border-bottom: 1px solid var(--therapy-line);
}

.therapy-faq summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 700;
  list-style-position: outside;
  padding: 1.35rem 0;
}

.therapy-faq details p {
  color: var(--therapy-muted);
  margin: 0;
  max-width: 65ch;
  padding: 0 0 1.35rem;
}

.therapy-faq details[open] summary::after {
  content: "−";
}

.therapy-sources {
  background: var(--therapy-blue);
  border-top: 1px solid #b5c6ca;
}

.therapy-sources__layout {
  display: grid;
  gap: 1.75rem;
}

.therapy-page .dg-section {
  padding-block: clamp(2rem, 4vw, 3.4rem);
}

.therapy-sources ul {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.therapy-page a {
  text-decoration-color: var(--therapy-plum);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

@media (min-width: 48rem) {
  .therapy-principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .therapy-principles li {
    padding: 2rem;
  }

  .therapy-principles li:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }

  .therapy-questions__layout,
  .therapy-sources__layout {
    align-items: start;
    grid-template-columns: minmax(14rem, 4fr) minmax(0, 7fr);
  }
}

@media (min-width: 68rem) {
  .therapy-hero .dg-hero__inner {
    align-items: center;
    grid-template-columns: minmax(0, 1.04fr) minmax(21rem, 0.72fr);
  }

  .therapy-hero__figure img {
    aspect-ratio: 4 / 5;
  }

  .therapy-principles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .therapy-principles li:nth-child(3) {
    border-left: 1px solid rgba(255, 255, 255, 0.28);
  }

  .therapy-history__layout {
    align-items: start;
    display: grid;
    gap: 6rem;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }

  .therapy-history__track {
    margin-top: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .therapy-page * {
    scroll-behavior: auto;
  }
}

/* Situations first, qualifications second */
.therapy-page .dg-section {
  padding-block: clamp(2.25rem, 4.5vw, 4rem);
}

.therapy-history-note {
  border-top: 1px solid var(--therapy-line);
  color: var(--therapy-muted);
  margin: 2.5rem 0 0;
  max-width: 72ch;
  padding-top: 1.25rem;
}

.therapy-context-figure {
  background: #fffdf8;
  border: 1px solid rgba(24, 49, 73, 0.1);
  border-radius: clamp(1rem, 2vw, 1.65rem);
  box-shadow: 0 1rem 2.5rem rgba(24, 49, 73, 0.08);
  margin: clamp(1.6rem, 3vw, 2.8rem) auto 0;
  overflow: hidden;
  width: min(100%, 58rem);
}

.therapy-context-figure img {
  aspect-ratio: 16 / 9;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.therapy-context-figure figcaption {
  color: var(--therapy-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  max-width: 54rem;
  padding: 0.85rem 1rem 1rem;
}

.therapy-situations {
  border-block: 1px solid var(--therapy-line);
  margin: 2.5rem 0 0;
}

.therapy-situations > div {
  border-bottom: 1px solid var(--therapy-line);
  display: grid;
  gap: 0.45rem;
  padding-block: 1.15rem;
}

.therapy-situations > div:last-child {
  border-bottom: 0;
}

.therapy-situations dt {
  font-weight: 800;
}

.therapy-situations dd {
  color: var(--therapy-muted);
  margin: 0;
}

.therapy-title-table {
  border-block: 1px solid var(--therapy-line);
  margin-top: 2rem;
}

.therapy-title-table > div {
  border-bottom: 1px solid var(--therapy-line);
  display: grid;
  gap: 0.65rem;
  padding-block: 1.15rem;
}

.therapy-title-table > div h3,
.therapy-title-table > div p {
  margin: 0;
}

.therapy-title-table .therapy-title-note {
  border: 1px solid rgba(122, 45, 93, 0.18);
  border-radius: 1.1rem;
  margin: 0;
  padding: clamp(1.35rem, 2.6vw, 2rem);
}

@media (min-width: 48rem) {
  .therapy-questions__layout > .dg-section-head {
    grid-column: 1 / -1;
    width: min(100%, 56rem);
  }

  .therapy-question-list {
    grid-column: 1 / -1;
  }

  .therapy-situations > div {
    gap: 3rem;
    grid-template-columns: minmax(13rem, 4fr) minmax(0, 7fr);
  }

  .therapy-title-table > div {
    gap: 3rem;
    grid-template-columns: minmax(11rem, 3fr) minmax(0, 8fr);
  }

  .therapy-title-table .therapy-title-note {
    display: grid;
    gap: 3rem;
    grid-template-columns: minmax(11rem, 3fr) minmax(0, 8fr);
  }
}

.therapy-brief {
  background: linear-gradient(180deg, #ead7c8 0%, #fff5ea 100%);
  border-block: 1px solid rgba(24, 49, 73, 0.24);
}

.therapy-brief__layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.therapy-brief .therapy-essential {
  background: #f6decf;
  border: 2px solid rgba(122, 45, 93, 0.55);
  box-shadow: 0.85rem 0.85rem 0 rgba(122, 45, 93, 0.26);
  color: #183149;
  margin: 0;
  max-width: none;
}

.therapy-brief .therapy-essential__label {
  color: #5d173f;
  font-weight: 900;
}

.therapy-brief .therapy-essential h2 {
  color: #183149;
}

.therapy-brief .therapy-essential p {
  color: #24384b;
}

.therapy-brief .therapy-essential h2 {
  font-size: clamp(1.55rem, 2.4vw, 2.05rem);
  max-width: 28ch;
}

.therapy-toc {
  background: #cfe5eb;
  border: 2px solid rgba(24, 49, 73, 0.28);
  border-radius: 1rem;
  box-shadow: 0 0.9rem 1.8rem rgba(24, 49, 73, 0.12);
  color: #183149;
  padding: clamp(1.1rem, 2vw, 1.4rem);
}

.therapy-toc .dg-kicker,
.therapy-toc a {
  color: #183149;
}

.therapy-toc ol {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding-left: 1.25rem;
}

.therapy-toc a {
  font-weight: 750;
}

.therapy-session {
  background: var(--therapy-blue);
}

.therapy-session-steps {
  counter-reset: therapy-session;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  max-width: 78ch;
  padding: 0;
}

.therapy-session-steps li {
  border-top: 1px solid rgba(24, 49, 73, 0.16);
  counter-increment: therapy-session;
  padding: 1.2rem 0 1.2rem 3.3rem;
  position: relative;
}

.therapy-session-steps li::before {
  align-items: center;
  background: var(--therapy-ink);
  border-radius: 999px;
  color: #fffdf8;
  content: counter(therapy-session);
  display: inline-flex;
  font-weight: 800;
  height: 2.1rem;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 1.1rem;
  width: 2.1rem;
}

.therapy-not {
  background: #fff8ef;
}

.therapy-not-list {
  background: #fffdf8;
  border: 1px solid rgba(122, 45, 93, 0.18);
  border-radius: 1.1rem;
  max-width: 78ch;
  padding-inline: clamp(1rem, 2vw, 1.35rem);
}

.therapy-not-list li:first-child {
  border-top: 0;
}

.therapy-grenoble {
  background: linear-gradient(135deg, #fffdf8 0%, #f8f3ef 100%);
}

.therapy-grenoble__layout {
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.therapy-grenoble-card {
  margin: 0;
  max-width: 42rem;
}

.therapy-hero__actions .dg-button--quiet,
.therapy-grenoble-card .dg-button--quiet {
  background: #fffdf8;
}

.therapy-faq summary {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.therapy-faq summary::after {
  background: rgba(122, 45, 93, 0.1);
  border-radius: 999px;
  color: var(--therapy-plum);
  content: "+";
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 900;
  height: 1.8rem;
  line-height: 1.8rem;
  text-align: center;
  width: 1.8rem;
}

@media (min-width: 48rem) {
  .therapy-brief__layout,
  .therapy-grenoble__layout {
    align-items: start;
    grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
  }
}

@media (max-width: 47.99rem) {
  .therapy-page,
  .therapy-page .dg-page {
    font-size: 17px;
    line-height: 1.65;
  }

  .therapy-page .container,
  .therapy-page .dg-shell {
    padding-inline: clamp(1.5rem, 6vw, 2rem);
  }

  .therapy-page h2 {
    font-size: clamp(1.9rem, 9vw, 2.35rem);
    max-width: none;
  }

  .therapy-page h3 {
    font-size: clamp(1.28rem, 6vw, 1.55rem);
  }

  .therapy-page .dg-lede {
    font-size: 1.16rem;
    line-height: 1.38;
  }

  .therapy-page .dg-section-head {
    max-width: none;
    width: 100%;
  }

  .therapy-page .dg-section {
    padding-block: clamp(2.6rem, 8vw, 4rem);
  }

  .therapy-definition__compare > *,
  .therapy-title-table .therapy-title-note,
  .therapy-toc,
  .therapy-not-list,
  .therapy-grenoble-card,
  .therapy-essential {
    padding: clamp(1.35rem, 5vw, 1.65rem);
  }

  .therapy-brief .therapy-essential {
    box-shadow: 0.45rem 0.45rem 0 rgba(122, 45, 93, 0.08);
  }

  .therapy-hero__actions,
  .dg-actions {
    gap: 0.8rem;
  }

  .therapy-page .dg-button {
    min-height: 2.9rem;
  }

  .therapy-faq summary {
    min-height: 3rem;
    padding-block: 1rem;
  }

  .therapy-page .dg-kicker,
  .therapy-essential__label {
    font-size: 1rem;
    letter-spacing: 0.04em;
  }

  .therapy-hero__actions .dg-button,
  .therapy-grenoble-card .dg-button {
    width: 100%;
  }
}

/* Final heading hardening: keep subtitles independent from shared core specificity. */
body.dg-editorial .therapy-page .dg-section-head,
.therapy-page.therapy-page .dg-section-head {
  display: grid;
  gap: clamp(0.75rem, 1.5vw, 1rem);
  margin: 0 auto clamp(1.5rem, 3vw, 2.25rem);
  max-width: 54rem;
  width: min(100%, 54rem);
}

body.dg-editorial .therapy-page .dg-section-head > * + *,
.therapy-page.therapy-page .dg-section-head > * + * {
  margin-top: 0;
}

body.dg-editorial .therapy-page .dg-section-head > *,
.therapy-page.therapy-page .dg-section-head > * {
  margin-block: 0;
}

body.dg-editorial .therapy-page .dg-section-head h2,
.therapy-page.therapy-page .dg-section-head h2 {
  margin: 0;
  max-width: 36ch;
}

body.dg-editorial .therapy-page .dg-section-head .dg-section-lede,
.therapy-page.therapy-page .dg-section-head .dg-section-lede {
  color: var(--therapy-muted);
  line-height: 1.62;
  margin: 0;
  max-width: 64ch;
}
